autotool.patch 2.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832
  1. older libtool is unecessary checking for c++
  2. * regen autotool infrastruture via
  3. "libtoolize; autoregen -vif; rm -rf automa4te"
  4. * add fstack-protector patch manually
  5. diff -Nur alsa-lib-1.0.22.orig/aclocal.m4 alsa-lib-1.0.22/aclocal.m4
  6. --- alsa-lib-1.0.22.orig/aclocal.m4 2009-12-16 16:27:23.000000000 +0100
  7. +++ alsa-lib-1.0.22/aclocal.m4 2011-02-24 20:33:12.783557049 +0100
  8. @@ -1,7 +1,7 @@
  9. -# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
  10. +# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  11. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  12. -# 2005 Free Software Foundation, Inc.
  13. +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  14. # This file is free software; the Free Software Foundation
  15. # gives unlimited permission to copy and/or distribute it,
  16. # with or without modifications, as long as this notice is preserved.
  17. @@ -11,6384 +11,15 @@
  18. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  19. # PARTICULAR PURPOSE.
  20. -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  21. +m4_ifndef([AC_AUTOCONF_VERSION],
  22. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  23. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
  24. +[m4_warning([this file was generated for autoconf 2.65.
  25. +You have another version of autoconf. It may work, but is not guaranteed to.
  26. +If you have problems, you may need to regenerate the build system entirely.
  27. +To do so, use the procedure documented by the package, typically `autoreconf'.])])
  28. -# serial 48 AC_PROG_LIBTOOL
  29. -
  30. -
  31. -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
  32. -# -----------------------------------------------------------
  33. -# If this macro is not defined by Autoconf, define it here.
  34. -m4_ifdef([AC_PROVIDE_IFELSE],
  35. - [],
  36. - [m4_define([AC_PROVIDE_IFELSE],
  37. - [m4_ifdef([AC_PROVIDE_$1],
  38. - [$2], [$3])])])
  39. -
  40. -
  41. -# AC_PROG_LIBTOOL
  42. -# ---------------
  43. -AC_DEFUN([AC_PROG_LIBTOOL],
  44. -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
  45. -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
  46. -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
  47. - AC_PROVIDE_IFELSE([AC_PROG_CXX],
  48. - [AC_LIBTOOL_CXX],
  49. - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
  50. - ])])
  51. -dnl And a similar setup for Fortran 77 support
  52. - AC_PROVIDE_IFELSE([AC_PROG_F77],
  53. - [AC_LIBTOOL_F77],
  54. - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
  55. -])])
  56. -
  57. -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
  58. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
  59. -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
  60. - AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  61. - [AC_LIBTOOL_GCJ],
  62. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  63. - [AC_LIBTOOL_GCJ],
  64. - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
  65. - [AC_LIBTOOL_GCJ],
  66. - [ifdef([AC_PROG_GCJ],
  67. - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  68. - ifdef([A][M_PROG_GCJ],
  69. - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  70. - ifdef([LT_AC_PROG_GCJ],
  71. - [define([LT_AC_PROG_GCJ],
  72. - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
  73. -])])# AC_PROG_LIBTOOL
  74. -
  75. -
  76. -# _AC_PROG_LIBTOOL
  77. -# ----------------
  78. -AC_DEFUN([_AC_PROG_LIBTOOL],
  79. -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  80. -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
  81. -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
  82. -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
  83. -
  84. -# This can be used to rebuild libtool when needed
  85. -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  86. -
  87. -# Always use our own libtool.
  88. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  89. -AC_SUBST(LIBTOOL)dnl
  90. -
  91. -# Prevent multiple expansion
  92. -define([AC_PROG_LIBTOOL], [])
  93. -])# _AC_PROG_LIBTOOL
  94. -
  95. -
  96. -# AC_LIBTOOL_SETUP
  97. -# ----------------
  98. -AC_DEFUN([AC_LIBTOOL_SETUP],
  99. -[AC_PREREQ(2.50)dnl
  100. -AC_REQUIRE([AC_ENABLE_SHARED])dnl
  101. -AC_REQUIRE([AC_ENABLE_STATIC])dnl
  102. -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  103. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  104. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  105. -AC_REQUIRE([AC_PROG_CC])dnl
  106. -AC_REQUIRE([AC_PROG_LD])dnl
  107. -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
  108. -AC_REQUIRE([AC_PROG_NM])dnl
  109. -
  110. -AC_REQUIRE([AC_PROG_LN_S])dnl
  111. -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
  112. -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  113. -AC_REQUIRE([AC_OBJEXT])dnl
  114. -AC_REQUIRE([AC_EXEEXT])dnl
  115. -dnl
  116. -
  117. -AC_LIBTOOL_SYS_MAX_CMD_LEN
  118. -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  119. -AC_LIBTOOL_OBJDIR
  120. -
  121. -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  122. -_LT_AC_PROG_ECHO_BACKSLASH
  123. -
  124. -case $host_os in
  125. -aix3*)
  126. - # AIX sometimes has problems with the GCC collect2 program. For some
  127. - # reason, if we set the COLLECT_NAMES environment variable, the problems
  128. - # vanish in a puff of smoke.
  129. - if test "X${COLLECT_NAMES+set}" != Xset; then
  130. - COLLECT_NAMES=
  131. - export COLLECT_NAMES
  132. - fi
  133. - ;;
  134. -esac
  135. -
  136. -# Sed substitution that helps us do robust quoting. It backslashifies
  137. -# metacharacters that are still active within double-quoted strings.
  138. -Xsed='sed -e 1s/^X//'
  139. -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
  140. -
  141. -# Same as above, but do not quote variable references.
  142. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
  143. -
  144. -# Sed substitution to delay expansion of an escaped shell variable in a
  145. -# double_quote_subst'ed string.
  146. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  147. -
  148. -# Sed substitution to avoid accidental globbing in evaled expressions
  149. -no_glob_subst='s/\*/\\\*/g'
  150. -
  151. -# Constants:
  152. -rm="rm -f"
  153. -
  154. -# Global variables:
  155. -default_ofile=libtool
  156. -can_build_shared=yes
  157. -
  158. -# All known linkers require a `.a' archive for static linking (except MSVC,
  159. -# which needs '.lib').
  160. -libext=a
  161. -ltmain="$ac_aux_dir/ltmain.sh"
  162. -ofile="$default_ofile"
  163. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  164. -
  165. -AC_CHECK_TOOL(AR, ar, false)
  166. -AC_CHECK_TOOL(RANLIB, ranlib, :)
  167. -AC_CHECK_TOOL(STRIP, strip, :)
  168. -
  169. -old_CC="$CC"
  170. -old_CFLAGS="$CFLAGS"
  171. -
  172. -# Set sane defaults for various variables
  173. -test -z "$AR" && AR=ar
  174. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  175. -test -z "$AS" && AS=as
  176. -test -z "$CC" && CC=cc
  177. -test -z "$LTCC" && LTCC=$CC
  178. -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  179. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  180. -test -z "$LD" && LD=ld
  181. -test -z "$LN_S" && LN_S="ln -s"
  182. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  183. -test -z "$NM" && NM=nm
  184. -test -z "$SED" && SED=sed
  185. -test -z "$OBJDUMP" && OBJDUMP=objdump
  186. -test -z "$RANLIB" && RANLIB=:
  187. -test -z "$STRIP" && STRIP=:
  188. -test -z "$ac_objext" && ac_objext=o
  189. -
  190. -# Determine commands to create old-style static archives.
  191. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  192. -old_postinstall_cmds='chmod 644 $oldlib'
  193. -old_postuninstall_cmds=
  194. -
  195. -if test -n "$RANLIB"; then
  196. - case $host_os in
  197. - openbsd*)
  198. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  199. - ;;
  200. - *)
  201. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  202. - ;;
  203. - esac
  204. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  205. -fi
  206. -
  207. -_LT_CC_BASENAME([$compiler])
  208. -
  209. -# Only perform the check for file, if the check method requires it
  210. -case $deplibs_check_method in
  211. -file_magic*)
  212. - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  213. - AC_PATH_MAGIC
  214. - fi
  215. - ;;
  216. -esac
  217. -
  218. -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
  219. -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
  220. -enable_win32_dll=yes, enable_win32_dll=no)
  221. -
  222. -AC_ARG_ENABLE([libtool-lock],
  223. - [AC_HELP_STRING([--disable-libtool-lock],
  224. - [avoid locking (might break parallel builds)])])
  225. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  226. -
  227. -AC_ARG_WITH([pic],
  228. - [AC_HELP_STRING([--with-pic],
  229. - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  230. - [pic_mode="$withval"],
  231. - [pic_mode=default])
  232. -test -z "$pic_mode" && pic_mode=default
  233. -
  234. -# Use C for the default configuration in the libtool script
  235. -tagname=
  236. -AC_LIBTOOL_LANG_C_CONFIG
  237. -_LT_AC_TAGCONFIG
  238. -])# AC_LIBTOOL_SETUP
  239. -
  240. -
  241. -# _LT_AC_SYS_COMPILER
  242. -# -------------------
  243. -AC_DEFUN([_LT_AC_SYS_COMPILER],
  244. -[AC_REQUIRE([AC_PROG_CC])dnl
  245. -
  246. -# If no C compiler was specified, use CC.
  247. -LTCC=${LTCC-"$CC"}
  248. -
  249. -# If no C compiler flags were specified, use CFLAGS.
  250. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  251. -
  252. -# Allow CC to be a program name with arguments.
  253. -compiler=$CC
  254. -])# _LT_AC_SYS_COMPILER
  255. -
  256. -
  257. -# _LT_CC_BASENAME(CC)
  258. -# -------------------
  259. -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  260. -AC_DEFUN([_LT_CC_BASENAME],
  261. -[for cc_temp in $1""; do
  262. - case $cc_temp in
  263. - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  264. - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  265. - \-*) ;;
  266. - *) break;;
  267. - esac
  268. -done
  269. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  270. -])
  271. -
  272. -
  273. -# _LT_COMPILER_BOILERPLATE
  274. -# ------------------------
  275. -# Check for compiler boilerplate output or warnings with
  276. -# the simple compiler test code.
  277. -AC_DEFUN([_LT_COMPILER_BOILERPLATE],
  278. -[ac_outfile=conftest.$ac_objext
  279. -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  280. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  281. -_lt_compiler_boilerplate=`cat conftest.err`
  282. -$rm conftest*
  283. -])# _LT_COMPILER_BOILERPLATE
  284. -
  285. -
  286. -# _LT_LINKER_BOILERPLATE
  287. -# ----------------------
  288. -# Check for linker boilerplate output or warnings with
  289. -# the simple link test code.
  290. -AC_DEFUN([_LT_LINKER_BOILERPLATE],
  291. -[ac_outfile=conftest.$ac_objext
  292. -printf "$lt_simple_link_test_code" >conftest.$ac_ext
  293. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  294. -_lt_linker_boilerplate=`cat conftest.err`
  295. -$rm conftest*
  296. -])# _LT_LINKER_BOILERPLATE
  297. -
  298. -
  299. -# _LT_AC_SYS_LIBPATH_AIX
  300. -# ----------------------
  301. -# Links a minimal program and checks the executable
  302. -# for the system default hardcoded library path. In most cases,
  303. -# this is /usr/lib:/lib, but when the MPI compilers are used
  304. -# the location of the communication and MPI libs are included too.
  305. -# If we don't find anything, use the default library path according
  306. -# to the aix ld manual.
  307. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
  308. -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  309. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  310. -}'`
  311. -# Check for a 64-bit object if we didn't find anything.
  312. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  313. -}'`; fi],[])
  314. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  315. -])# _LT_AC_SYS_LIBPATH_AIX
  316. -
  317. -
  318. -# _LT_AC_SHELL_INIT(ARG)
  319. -# ----------------------
  320. -AC_DEFUN([_LT_AC_SHELL_INIT],
  321. -[ifdef([AC_DIVERSION_NOTICE],
  322. - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  323. - [AC_DIVERT_PUSH(NOTICE)])
  324. -$1
  325. -AC_DIVERT_POP
  326. -])# _LT_AC_SHELL_INIT
  327. -
  328. -
  329. -# _LT_AC_PROG_ECHO_BACKSLASH
  330. -# --------------------------
  331. -# Add some code to the start of the generated configure script which
  332. -# will find an echo command which doesn't interpret backslashes.
  333. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
  334. -[_LT_AC_SHELL_INIT([
  335. -# Check that we are running under the correct shell.
  336. -SHELL=${CONFIG_SHELL-/bin/sh}
  337. -
  338. -case X$ECHO in
  339. -X*--fallback-echo)
  340. - # Remove one level of quotation (which was required for Make).
  341. - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  342. - ;;
  343. -esac
  344. -
  345. -echo=${ECHO-echo}
  346. -if test "X[$]1" = X--no-reexec; then
  347. - # Discard the --no-reexec flag, and continue.
  348. - shift
  349. -elif test "X[$]1" = X--fallback-echo; then
  350. - # Avoid inline document here, it may be left over
  351. - :
  352. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  353. - # Yippee, $echo works!
  354. - :
  355. -else
  356. - # Restart under the correct shell.
  357. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  358. -fi
  359. -
  360. -if test "X[$]1" = X--fallback-echo; then
  361. - # used as fallback echo
  362. - shift
  363. - cat <<EOF
  364. -[$]*
  365. -EOF
  366. - exit 0
  367. -fi
  368. -
  369. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  370. -# if CDPATH is set.
  371. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  372. -
  373. -if test -z "$ECHO"; then
  374. -if test "X${echo_test_string+set}" != Xset; then
  375. -# find a string as large as possible, as long as the shell can cope with it
  376. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  377. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  378. - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  379. - echo_test_string=`eval $cmd` &&
  380. - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  381. - then
  382. - break
  383. - fi
  384. - done
  385. -fi
  386. -
  387. -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  388. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  389. - test "X$echo_testing_string" = "X$echo_test_string"; then
  390. - :
  391. -else
  392. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  393. - # backslashes. This makes it impossible to quote backslashes using
  394. - # echo "$something" | sed 's/\\/\\\\/g'
  395. - #
  396. - # So, first we look for a working echo in the user's PATH.
  397. -
  398. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  399. - for dir in $PATH /usr/ucb; do
  400. - IFS="$lt_save_ifs"
  401. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  402. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  403. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  404. - test "X$echo_testing_string" = "X$echo_test_string"; then
  405. - echo="$dir/echo"
  406. - break
  407. - fi
  408. - done
  409. - IFS="$lt_save_ifs"
  410. -
  411. - if test "X$echo" = Xecho; then
  412. - # We didn't find a better echo, so look for alternatives.
  413. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  414. - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  415. - test "X$echo_testing_string" = "X$echo_test_string"; then
  416. - # This shell has a builtin print -r that does the trick.
  417. - echo='print -r'
  418. - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  419. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  420. - # If we have ksh, try running configure again with it.
  421. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  422. - export ORIGINAL_CONFIG_SHELL
  423. - CONFIG_SHELL=/bin/ksh
  424. - export CONFIG_SHELL
  425. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  426. - else
  427. - # Try using printf.
  428. - echo='printf %s\n'
  429. - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  430. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  431. - test "X$echo_testing_string" = "X$echo_test_string"; then
  432. - # Cool, printf works
  433. - :
  434. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  435. - test "X$echo_testing_string" = 'X\t' &&
  436. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  437. - test "X$echo_testing_string" = "X$echo_test_string"; then
  438. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  439. - export CONFIG_SHELL
  440. - SHELL="$CONFIG_SHELL"
  441. - export SHELL
  442. - echo="$CONFIG_SHELL [$]0 --fallback-echo"
  443. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  444. - test "X$echo_testing_string" = 'X\t' &&
  445. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  446. - test "X$echo_testing_string" = "X$echo_test_string"; then
  447. - echo="$CONFIG_SHELL [$]0 --fallback-echo"
  448. - else
  449. - # maybe with a smaller string...
  450. - prev=:
  451. -
  452. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  453. - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  454. - then
  455. - break
  456. - fi
  457. - prev="$cmd"
  458. - done
  459. -
  460. - if test "$prev" != 'sed 50q "[$]0"'; then
  461. - echo_test_string=`eval $prev`
  462. - export echo_test_string
  463. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  464. - else
  465. - # Oops. We lost completely, so just stick with echo.
  466. - echo=echo
  467. - fi
  468. - fi
  469. - fi
  470. - fi
  471. -fi
  472. -fi
  473. -
  474. -# Copy echo and quote the copy suitably for passing to libtool from
  475. -# the Makefile, instead of quoting the original, which is used later.
  476. -ECHO=$echo
  477. -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  478. - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  479. -fi
  480. -
  481. -AC_SUBST(ECHO)
  482. -])])# _LT_AC_PROG_ECHO_BACKSLASH
  483. -
  484. -
  485. -# _LT_AC_LOCK
  486. -# -----------
  487. -AC_DEFUN([_LT_AC_LOCK],
  488. -[AC_ARG_ENABLE([libtool-lock],
  489. - [AC_HELP_STRING([--disable-libtool-lock],
  490. - [avoid locking (might break parallel builds)])])
  491. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  492. -
  493. -# Some flags need to be propagated to the compiler or linker for good
  494. -# libtool support.
  495. -case $host in
  496. -ia64-*-hpux*)
  497. - # Find out which ABI we are using.
  498. - echo 'int i;' > conftest.$ac_ext
  499. - if AC_TRY_EVAL(ac_compile); then
  500. - case `/usr/bin/file conftest.$ac_objext` in
  501. - *ELF-32*)
  502. - HPUX_IA64_MODE="32"
  503. - ;;
  504. - *ELF-64*)
  505. - HPUX_IA64_MODE="64"
  506. - ;;
  507. - esac
  508. - fi
  509. - rm -rf conftest*
  510. - ;;
  511. -*-*-irix6*)
  512. - # Find out which ABI we are using.
  513. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  514. - if AC_TRY_EVAL(ac_compile); then
  515. - if test "$lt_cv_prog_gnu_ld" = yes; then
  516. - case `/usr/bin/file conftest.$ac_objext` in
  517. - *32-bit*)
  518. - LD="${LD-ld} -melf32bsmip"
  519. - ;;
  520. - *N32*)
  521. - LD="${LD-ld} -melf32bmipn32"
  522. - ;;
  523. - *64-bit*)
  524. - LD="${LD-ld} -melf64bmip"
  525. - ;;
  526. - esac
  527. - else
  528. - case `/usr/bin/file conftest.$ac_objext` in
  529. - *32-bit*)
  530. - LD="${LD-ld} -32"
  531. - ;;
  532. - *N32*)
  533. - LD="${LD-ld} -n32"
  534. - ;;
  535. - *64-bit*)
  536. - LD="${LD-ld} -64"
  537. - ;;
  538. - esac
  539. - fi
  540. - fi
  541. - rm -rf conftest*
  542. - ;;
  543. -
  544. -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
  545. - # Find out which ABI we are using.
  546. - echo 'int i;' > conftest.$ac_ext
  547. - if AC_TRY_EVAL(ac_compile); then
  548. - case `/usr/bin/file conftest.o` in
  549. - *32-bit*)
  550. - case $host in
  551. - x86_64-*linux*)
  552. - LD="${LD-ld} -m elf_i386"
  553. - ;;
  554. - ppc64-*linux*|powerpc64-*linux*)
  555. - LD="${LD-ld} -m elf32ppclinux"
  556. - ;;
  557. - s390x-*linux*)
  558. - LD="${LD-ld} -m elf_s390"
  559. - ;;
  560. - sparc64-*linux*)
  561. - LD="${LD-ld} -m elf32_sparc"
  562. - ;;
  563. - esac
  564. - ;;
  565. - *64-bit*)
  566. - case $host in
  567. - x86_64-*linux*)
  568. - LD="${LD-ld} -m elf_x86_64"
  569. - ;;
  570. - ppc*-*linux*|powerpc*-*linux*)
  571. - LD="${LD-ld} -m elf64ppc"
  572. - ;;
  573. - s390*-*linux*)
  574. - LD="${LD-ld} -m elf64_s390"
  575. - ;;
  576. - sparc*-*linux*)
  577. - LD="${LD-ld} -m elf64_sparc"
  578. - ;;
  579. - esac
  580. - ;;
  581. - esac
  582. - fi
  583. - rm -rf conftest*
  584. - ;;
  585. -
  586. -*-*-sco3.2v5*)
  587. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  588. - SAVE_CFLAGS="$CFLAGS"
  589. - CFLAGS="$CFLAGS -belf"
  590. - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  591. - [AC_LANG_PUSH(C)
  592. - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  593. - AC_LANG_POP])
  594. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  595. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  596. - CFLAGS="$SAVE_CFLAGS"
  597. - fi
  598. - ;;
  599. -sparc*-*solaris*)
  600. - # Find out which ABI we are using.
  601. - echo 'int i;' > conftest.$ac_ext
  602. - if AC_TRY_EVAL(ac_compile); then
  603. - case `/usr/bin/file conftest.o` in
  604. - *64-bit*)
  605. - case $lt_cv_prog_gnu_ld in
  606. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  607. - *) LD="${LD-ld} -64" ;;
  608. - esac
  609. - ;;
  610. - esac
  611. - fi
  612. - rm -rf conftest*
  613. - ;;
  614. -
  615. -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
  616. -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  617. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  618. - AC_CHECK_TOOL(AS, as, false)
  619. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  620. - ;;
  621. - ])
  622. -esac
  623. -
  624. -need_locks="$enable_libtool_lock"
  625. -
  626. -])# _LT_AC_LOCK
  627. -
  628. -
  629. -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  630. -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  631. -# ----------------------------------------------------------------
  632. -# Check whether the given compiler option works
  633. -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
  634. -[AC_REQUIRE([LT_AC_PROG_SED])
  635. -AC_CACHE_CHECK([$1], [$2],
  636. - [$2=no
  637. - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  638. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  639. - lt_compiler_flag="$3"
  640. - # Insert the option either (1) after the last *FLAGS variable, or
  641. - # (2) before a word containing "conftest.", or (3) at the end.
  642. - # Note that $ac_compile itself does not contain backslashes and begins
  643. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  644. - # The option is referenced via a variable to avoid confusing sed.
  645. - lt_compile=`echo "$ac_compile" | $SED \
  646. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  647. - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  648. - -e 's:$: $lt_compiler_flag:'`
  649. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  650. - (eval "$lt_compile" 2>conftest.err)
  651. - ac_status=$?
  652. - cat conftest.err >&AS_MESSAGE_LOG_FD
  653. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  654. - if (exit $ac_status) && test -s "$ac_outfile"; then
  655. - # The compiler can only warn and ignore the option if not recognized
  656. - # So say no if there are warnings other than the usual output.
  657. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  658. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  659. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  660. - $2=yes
  661. - fi
  662. - fi
  663. - $rm conftest*
  664. -])
  665. -
  666. -if test x"[$]$2" = xyes; then
  667. - ifelse([$5], , :, [$5])
  668. -else
  669. - ifelse([$6], , :, [$6])
  670. -fi
  671. -])# AC_LIBTOOL_COMPILER_OPTION
  672. -
  673. -
  674. -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  675. -# [ACTION-SUCCESS], [ACTION-FAILURE])
  676. -# ------------------------------------------------------------
  677. -# Check whether the given compiler option works
  678. -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
  679. -[AC_CACHE_CHECK([$1], [$2],
  680. - [$2=no
  681. - save_LDFLAGS="$LDFLAGS"
  682. - LDFLAGS="$LDFLAGS $3"
  683. - printf "$lt_simple_link_test_code" > conftest.$ac_ext
  684. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  685. - # The linker can only warn and ignore the option if not recognized
  686. - # So say no if there are warnings
  687. - if test -s conftest.err; then
  688. - # Append any errors to the config.log.
  689. - cat conftest.err 1>&AS_MESSAGE_LOG_FD
  690. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  691. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  692. - if diff conftest.exp conftest.er2 >/dev/null; then
  693. - $2=yes
  694. - fi
  695. - else
  696. - $2=yes
  697. - fi
  698. - fi
  699. - $rm conftest*
  700. - LDFLAGS="$save_LDFLAGS"
  701. -])
  702. -
  703. -if test x"[$]$2" = xyes; then
  704. - ifelse([$4], , :, [$4])
  705. -else
  706. - ifelse([$5], , :, [$5])
  707. -fi
  708. -])# AC_LIBTOOL_LINKER_OPTION
  709. -
  710. -
  711. -# AC_LIBTOOL_SYS_MAX_CMD_LEN
  712. -# --------------------------
  713. -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
  714. -[# find the maximum length of command line arguments
  715. -AC_MSG_CHECKING([the maximum length of command line arguments])
  716. -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  717. - i=0
  718. - teststring="ABCD"
  719. -
  720. - case $build_os in
  721. - msdosdjgpp*)
  722. - # On DJGPP, this test can blow up pretty badly due to problems in libc
  723. - # (any single argument exceeding 2000 bytes causes a buffer overrun
  724. - # during glob expansion). Even if it were fixed, the result of this
  725. - # check would be larger than it should be.
  726. - lt_cv_sys_max_cmd_len=12288; # 12K is about right
  727. - ;;
  728. -
  729. - gnu*)
  730. - # Under GNU Hurd, this test is not required because there is
  731. - # no limit to the length of command line arguments.
  732. - # Libtool will interpret -1 as no limit whatsoever
  733. - lt_cv_sys_max_cmd_len=-1;
  734. - ;;
  735. -
  736. - cygwin* | mingw*)
  737. - # On Win9x/ME, this test blows up -- it succeeds, but takes
  738. - # about 5 minutes as the teststring grows exponentially.
  739. - # Worse, since 9x/ME are not pre-emptively multitasking,
  740. - # you end up with a "frozen" computer, even though with patience
  741. - # the test eventually succeeds (with a max line length of 256k).
  742. - # Instead, let's just punt: use the minimum linelength reported by
  743. - # all of the supported platforms: 8192 (on NT/2K/XP).
  744. - lt_cv_sys_max_cmd_len=8192;
  745. - ;;
  746. -
  747. - amigaos*)
  748. - # On AmigaOS with pdksh, this test takes hours, literally.
  749. - # So we just punt and use a minimum line length of 8192.
  750. - lt_cv_sys_max_cmd_len=8192;
  751. - ;;
  752. -
  753. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  754. - # This has been around since 386BSD, at least. Likely further.
  755. - if test -x /sbin/sysctl; then
  756. - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  757. - elif test -x /usr/sbin/sysctl; then
  758. - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  759. - else
  760. - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  761. - fi
  762. - # And add a safety zone
  763. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  764. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  765. - ;;
  766. -
  767. - interix*)
  768. - # We know the value 262144 and hardcode it with a safety zone (like BSD)
  769. - lt_cv_sys_max_cmd_len=196608
  770. - ;;
  771. -
  772. - osf*)
  773. - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  774. - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  775. - # nice to cause kernel panics so lets avoid the loop below.
  776. - # First set a reasonable default.
  777. - lt_cv_sys_max_cmd_len=16384
  778. - #
  779. - if test -x /sbin/sysconfig; then
  780. - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  781. - *1*) lt_cv_sys_max_cmd_len=-1 ;;
  782. - esac
  783. - fi
  784. - ;;
  785. - sco3.2v5*)
  786. - lt_cv_sys_max_cmd_len=102400
  787. - ;;
  788. - sysv5* | sco5v6* | sysv4.2uw2*)
  789. - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  790. - if test -n "$kargmax"; then
  791. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  792. - else
  793. - lt_cv_sys_max_cmd_len=32768
  794. - fi
  795. - ;;
  796. - *)
  797. - # If test is not a shell built-in, we'll probably end up computing a
  798. - # maximum length that is only half of the actual maximum length, but
  799. - # we can't tell.
  800. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  801. - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
  802. - = "XX$teststring") >/dev/null 2>&1 &&
  803. - new_result=`expr "X$teststring" : ".*" 2>&1` &&
  804. - lt_cv_sys_max_cmd_len=$new_result &&
  805. - test $i != 17 # 1/2 MB should be enough
  806. - do
  807. - i=`expr $i + 1`
  808. - teststring=$teststring$teststring
  809. - done
  810. - teststring=
  811. - # Add a significant safety factor because C++ compilers can tack on massive
  812. - # amounts of additional arguments before passing them to the linker.
  813. - # It appears as though 1/2 is a usable value.
  814. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  815. - ;;
  816. - esac
  817. -])
  818. -if test -n $lt_cv_sys_max_cmd_len ; then
  819. - AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  820. -else
  821. - AC_MSG_RESULT(none)
  822. -fi
  823. -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
  824. -
  825. -
  826. -# _LT_AC_CHECK_DLFCN
  827. -# ------------------
  828. -AC_DEFUN([_LT_AC_CHECK_DLFCN],
  829. -[AC_CHECK_HEADERS(dlfcn.h)dnl
  830. -])# _LT_AC_CHECK_DLFCN
  831. -
  832. -
  833. -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  834. -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  835. -# ---------------------------------------------------------------------
  836. -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
  837. -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  838. -if test "$cross_compiling" = yes; then :
  839. - [$4]
  840. -else
  841. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  842. - lt_status=$lt_dlunknown
  843. - cat > conftest.$ac_ext <<EOF
  844. -[#line __oline__ "configure"
  845. -#include "confdefs.h"
  846. -
  847. -#if HAVE_DLFCN_H
  848. -#include <dlfcn.h>
  849. -#endif
  850. -
  851. -#include <stdio.h>
  852. -
  853. -#ifdef RTLD_GLOBAL
  854. -# define LT_DLGLOBAL RTLD_GLOBAL
  855. -#else
  856. -# ifdef DL_GLOBAL
  857. -# define LT_DLGLOBAL DL_GLOBAL
  858. -# else
  859. -# define LT_DLGLOBAL 0
  860. -# endif
  861. -#endif
  862. -
  863. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  864. - find out it does not work in some platform. */
  865. -#ifndef LT_DLLAZY_OR_NOW
  866. -# ifdef RTLD_LAZY
  867. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  868. -# else
  869. -# ifdef DL_LAZY
  870. -# define LT_DLLAZY_OR_NOW DL_LAZY
  871. -# else
  872. -# ifdef RTLD_NOW
  873. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  874. -# else
  875. -# ifdef DL_NOW
  876. -# define LT_DLLAZY_OR_NOW DL_NOW
  877. -# else
  878. -# define LT_DLLAZY_OR_NOW 0
  879. -# endif
  880. -# endif
  881. -# endif
  882. -# endif
  883. -#endif
  884. -
  885. -#ifdef __cplusplus
  886. -extern "C" void exit (int);
  887. -#endif
  888. -
  889. -void fnord() { int i=42;}
  890. -int main ()
  891. -{
  892. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  893. - int status = $lt_dlunknown;
  894. -
  895. - if (self)
  896. - {
  897. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  898. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  899. - /* dlclose (self); */
  900. - }
  901. - else
  902. - puts (dlerror ());
  903. -
  904. - exit (status);
  905. -}]
  906. -EOF
  907. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  908. - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  909. - lt_status=$?
  910. - case x$lt_status in
  911. - x$lt_dlno_uscore) $1 ;;
  912. - x$lt_dlneed_uscore) $2 ;;
  913. - x$lt_dlunknown|x*) $3 ;;
  914. - esac
  915. - else :
  916. - # compilation failed
  917. - $3
  918. - fi
  919. -fi
  920. -rm -fr conftest*
  921. -])# _LT_AC_TRY_DLOPEN_SELF
  922. -
  923. -
  924. -# AC_LIBTOOL_DLOPEN_SELF
  925. -# ----------------------
  926. -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
  927. -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  928. -if test "x$enable_dlopen" != xyes; then
  929. - enable_dlopen=unknown
  930. - enable_dlopen_self=unknown
  931. - enable_dlopen_self_static=unknown
  932. -else
  933. - lt_cv_dlopen=no
  934. - lt_cv_dlopen_libs=
  935. -
  936. - case $host_os in
  937. - beos*)
  938. - lt_cv_dlopen="load_add_on"
  939. - lt_cv_dlopen_libs=
  940. - lt_cv_dlopen_self=yes
  941. - ;;
  942. -
  943. - mingw* | pw32*)
  944. - lt_cv_dlopen="LoadLibrary"
  945. - lt_cv_dlopen_libs=
  946. - ;;
  947. -
  948. - cygwin*)
  949. - lt_cv_dlopen="dlopen"
  950. - lt_cv_dlopen_libs=
  951. - ;;
  952. -
  953. - darwin*)
  954. - # if libdl is installed we need to link against it
  955. - AC_CHECK_LIB([dl], [dlopen],
  956. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  957. - lt_cv_dlopen="dyld"
  958. - lt_cv_dlopen_libs=
  959. - lt_cv_dlopen_self=yes
  960. - ])
  961. - ;;
  962. -
  963. - *)
  964. - AC_CHECK_FUNC([shl_load],
  965. - [lt_cv_dlopen="shl_load"],
  966. - [AC_CHECK_LIB([dld], [shl_load],
  967. - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
  968. - [AC_CHECK_FUNC([dlopen],
  969. - [lt_cv_dlopen="dlopen"],
  970. - [AC_CHECK_LIB([dl], [dlopen],
  971. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  972. - [AC_CHECK_LIB([svld], [dlopen],
  973. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  974. - [AC_CHECK_LIB([dld], [dld_link],
  975. - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
  976. - ])
  977. - ])
  978. - ])
  979. - ])
  980. - ])
  981. - ;;
  982. - esac
  983. -
  984. - if test "x$lt_cv_dlopen" != xno; then
  985. - enable_dlopen=yes
  986. - else
  987. - enable_dlopen=no
  988. - fi
  989. -
  990. - case $lt_cv_dlopen in
  991. - dlopen)
  992. - save_CPPFLAGS="$CPPFLAGS"
  993. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  994. -
  995. - save_LDFLAGS="$LDFLAGS"
  996. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  997. -
  998. - save_LIBS="$LIBS"
  999. - LIBS="$lt_cv_dlopen_libs $LIBS"
  1000. -
  1001. - AC_CACHE_CHECK([whether a program can dlopen itself],
  1002. - lt_cv_dlopen_self, [dnl
  1003. - _LT_AC_TRY_DLOPEN_SELF(
  1004. - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  1005. - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  1006. - ])
  1007. -
  1008. - if test "x$lt_cv_dlopen_self" = xyes; then
  1009. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  1010. - AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  1011. - lt_cv_dlopen_self_static, [dnl
  1012. - _LT_AC_TRY_DLOPEN_SELF(
  1013. - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  1014. - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  1015. - ])
  1016. - fi
  1017. -
  1018. - CPPFLAGS="$save_CPPFLAGS"
  1019. - LDFLAGS="$save_LDFLAGS"
  1020. - LIBS="$save_LIBS"
  1021. - ;;
  1022. - esac
  1023. -
  1024. - case $lt_cv_dlopen_self in
  1025. - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  1026. - *) enable_dlopen_self=unknown ;;
  1027. - esac
  1028. -
  1029. - case $lt_cv_dlopen_self_static in
  1030. - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  1031. - *) enable_dlopen_self_static=unknown ;;
  1032. - esac
  1033. -fi
  1034. -])# AC_LIBTOOL_DLOPEN_SELF
  1035. -
  1036. -
  1037. -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
  1038. -# ---------------------------------
  1039. -# Check to see if options -c and -o are simultaneously supported by compiler
  1040. -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
  1041. -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  1042. -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  1043. - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  1044. - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  1045. - $rm -r conftest 2>/dev/null
  1046. - mkdir conftest
  1047. - cd conftest
  1048. - mkdir out
  1049. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  1050. -
  1051. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  1052. - # Insert the option either (1) after the last *FLAGS variable, or
  1053. - # (2) before a word containing "conftest.", or (3) at the end.
  1054. - # Note that $ac_compile itself does not contain backslashes and begins
  1055. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  1056. - lt_compile=`echo "$ac_compile" | $SED \
  1057. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1058. - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  1059. - -e 's:$: $lt_compiler_flag:'`
  1060. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  1061. - (eval "$lt_compile" 2>out/conftest.err)
  1062. - ac_status=$?
  1063. - cat out/conftest.err >&AS_MESSAGE_LOG_FD
  1064. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  1065. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1066. - then
  1067. - # The compiler can only warn and ignore the option if not recognized
  1068. - # So say no if there are warnings
  1069. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1070. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1071. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1072. - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  1073. - fi
  1074. - fi
  1075. - chmod u+w . 2>&AS_MESSAGE_LOG_FD
  1076. - $rm conftest*
  1077. - # SGI C++ compiler will create directory out/ii_files/ for
  1078. - # template instantiation
  1079. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  1080. - $rm out/* && rmdir out
  1081. - cd ..
  1082. - rmdir conftest
  1083. - $rm conftest*
  1084. -])
  1085. -])# AC_LIBTOOL_PROG_CC_C_O
  1086. -
  1087. -
  1088. -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
  1089. -# -----------------------------------------
  1090. -# Check to see if we can do hard links to lock some files if needed
  1091. -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
  1092. -[AC_REQUIRE([_LT_AC_LOCK])dnl
  1093. -
  1094. -hard_links="nottested"
  1095. -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  1096. - # do not overwrite the value of need_locks provided by the user
  1097. - AC_MSG_CHECKING([if we can lock with hard links])
  1098. - hard_links=yes
  1099. - $rm conftest*
  1100. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1101. - touch conftest.a
  1102. - ln conftest.a conftest.b 2>&5 || hard_links=no
  1103. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1104. - AC_MSG_RESULT([$hard_links])
  1105. - if test "$hard_links" = no; then
  1106. - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  1107. - need_locks=warn
  1108. - fi
  1109. -else
  1110. - need_locks=no
  1111. -fi
  1112. -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
  1113. -
  1114. -
  1115. -# AC_LIBTOOL_OBJDIR
  1116. -# -----------------
  1117. -AC_DEFUN([AC_LIBTOOL_OBJDIR],
  1118. -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  1119. -[rm -f .libs 2>/dev/null
  1120. -mkdir .libs 2>/dev/null
  1121. -if test -d .libs; then
  1122. - lt_cv_objdir=.libs
  1123. -else
  1124. - # MS-DOS does not allow filenames that begin with a dot.
  1125. - lt_cv_objdir=_libs
  1126. -fi
  1127. -rmdir .libs 2>/dev/null])
  1128. -objdir=$lt_cv_objdir
  1129. -])# AC_LIBTOOL_OBJDIR
  1130. -
  1131. -
  1132. -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
  1133. -# ----------------------------------------------
  1134. -# Check hardcoding attributes.
  1135. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
  1136. -[AC_MSG_CHECKING([how to hardcode library paths into programs])
  1137. -_LT_AC_TAGVAR(hardcode_action, $1)=
  1138. -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
  1139. - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
  1140. - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  1141. -
  1142. - # We can hardcode non-existant directories.
  1143. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
  1144. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  1145. - # have to relink, otherwise we might link with an installed library
  1146. - # when we should be linking with a yet-to-be-installed one
  1147. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  1148. - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
  1149. - # Linking always hardcodes the temporary library directory.
  1150. - _LT_AC_TAGVAR(hardcode_action, $1)=relink
  1151. - else
  1152. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  1153. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate
  1154. - fi
  1155. -else
  1156. - # We cannot hardcode anything, or else we can only hardcode existing
  1157. - # directories.
  1158. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
  1159. -fi
  1160. -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
  1161. -
  1162. -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
  1163. - # Fast installation is not supported
  1164. - enable_fast_install=no
  1165. -elif test "$shlibpath_overrides_runpath" = yes ||
  1166. - test "$enable_shared" = no; then
  1167. - # Fast installation is not necessary
  1168. - enable_fast_install=needless
  1169. -fi
  1170. -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
  1171. -
  1172. -
  1173. -# AC_LIBTOOL_SYS_LIB_STRIP
  1174. -# ------------------------
  1175. -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
  1176. -[striplib=
  1177. -old_striplib=
  1178. -AC_MSG_CHECKING([whether stripping libraries is possible])
  1179. -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  1180. - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  1181. - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  1182. - AC_MSG_RESULT([yes])
  1183. -else
  1184. -# FIXME - insert some real tests, host_os isn't really good enough
  1185. - case $host_os in
  1186. - darwin*)
  1187. - if test -n "$STRIP" ; then
  1188. - striplib="$STRIP -x"
  1189. - AC_MSG_RESULT([yes])
  1190. - else
  1191. - AC_MSG_RESULT([no])
  1192. -fi
  1193. - ;;
  1194. - *)
  1195. - AC_MSG_RESULT([no])
  1196. - ;;
  1197. - esac
  1198. -fi
  1199. -])# AC_LIBTOOL_SYS_LIB_STRIP
  1200. -
  1201. -
  1202. -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  1203. -# -----------------------------
  1204. -# PORTME Fill in your ld.so characteristics
  1205. -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
  1206. -[AC_MSG_CHECKING([dynamic linker characteristics])
  1207. -library_names_spec=
  1208. -libname_spec='lib$name'
  1209. -soname_spec=
  1210. -shrext_cmds=".so"
  1211. -postinstall_cmds=
  1212. -postuninstall_cmds=
  1213. -finish_cmds=
  1214. -finish_eval=
  1215. -shlibpath_var=
  1216. -shlibpath_overrides_runpath=unknown
  1217. -version_type=none
  1218. -dynamic_linker="$host_os ld.so"
  1219. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  1220. -if test "$GCC" = yes; then
  1221. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  1222. - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  1223. - # if the path contains ";" then we assume it to be the separator
  1224. - # otherwise default to the standard path separator (i.e. ":") - it is
  1225. - # assumed that no part of a normal pathname contains ";" but that should
  1226. - # okay in the real world where ";" in dirpaths is itself problematic.
  1227. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  1228. - else
  1229. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  1230. - fi
  1231. -else
  1232. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  1233. -fi
  1234. -need_lib_prefix=unknown
  1235. -hardcode_into_libs=no
  1236. -
  1237. -# when you set need_version to no, make sure it does not cause -set_version
  1238. -# flags to be left without arguments
  1239. -need_version=unknown
  1240. -
  1241. -case $host_os in
  1242. -aix3*)
  1243. - version_type=linux
  1244. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  1245. - shlibpath_var=LIBPATH
  1246. -
  1247. - # AIX 3 has no versioning support, so we append a major version to the name.
  1248. - soname_spec='${libname}${release}${shared_ext}$major'
  1249. - ;;
  1250. -
  1251. -aix4* | aix5*)
  1252. - version_type=linux
  1253. - need_lib_prefix=no
  1254. - need_version=no
  1255. - hardcode_into_libs=yes
  1256. - if test "$host_cpu" = ia64; then
  1257. - # AIX 5 supports IA64
  1258. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  1259. - shlibpath_var=LD_LIBRARY_PATH
  1260. - else
  1261. - # With GCC up to 2.95.x, collect2 would create an import file
  1262. - # for dependence libraries. The import file would start with
  1263. - # the line `#! .'. This would cause the generated library to
  1264. - # depend on `.', always an invalid library. This was fixed in
  1265. - # development snapshots of GCC prior to 3.0.
  1266. - case $host_os in
  1267. - aix4 | aix4.[[01]] | aix4.[[01]].*)
  1268. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  1269. - echo ' yes '
  1270. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  1271. - :
  1272. - else
  1273. - can_build_shared=no
  1274. - fi
  1275. - ;;
  1276. - esac
  1277. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  1278. - # soname into executable. Probably we can add versioning support to
  1279. - # collect2, so additional links can be useful in future.
  1280. - if test "$aix_use_runtimelinking" = yes; then
  1281. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  1282. - # instead of lib<name>.a to let people know that these are not
  1283. - # typical AIX shared libraries.
  1284. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1285. - else
  1286. - # We preserve .a as extension for shared libraries through AIX4.2
  1287. - # and later when we are not doing run time linking.
  1288. - library_names_spec='${libname}${release}.a $libname.a'
  1289. - soname_spec='${libname}${release}${shared_ext}$major'
  1290. - fi
  1291. - shlibpath_var=LIBPATH
  1292. - fi
  1293. - ;;
  1294. -
  1295. -amigaos*)
  1296. - library_names_spec='$libname.ixlibrary $libname.a'
  1297. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  1298. - 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'
  1299. - ;;
  1300. -
  1301. -beos*)
  1302. - library_names_spec='${libname}${shared_ext}'
  1303. - dynamic_linker="$host_os ld.so"
  1304. - shlibpath_var=LIBRARY_PATH
  1305. - ;;
  1306. -
  1307. -bsdi[[45]]*)
  1308. - version_type=linux
  1309. - need_version=no
  1310. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1311. - soname_spec='${libname}${release}${shared_ext}$major'
  1312. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  1313. - shlibpath_var=LD_LIBRARY_PATH
  1314. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  1315. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  1316. - # the default ld.so.conf also contains /usr/contrib/lib and
  1317. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  1318. - # libtool to hard-code these into programs
  1319. - ;;
  1320. -
  1321. -cygwin* | mingw* | pw32*)
  1322. - version_type=windows
  1323. - shrext_cmds=".dll"
  1324. - need_version=no
  1325. - need_lib_prefix=no
  1326. -
  1327. - case $GCC,$host_os in
  1328. - yes,cygwin* | yes,mingw* | yes,pw32*)
  1329. - library_names_spec='$libname.dll.a'
  1330. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  1331. - postinstall_cmds='base_file=`basename \${file}`~
  1332. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  1333. - dldir=$destdir/`dirname \$dlpath`~
  1334. - test -d \$dldir || mkdir -p \$dldir~
  1335. - $install_prog $dir/$dlname \$dldir/$dlname~
  1336. - chmod a+x \$dldir/$dlname'
  1337. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  1338. - dlpath=$dir/\$dldll~
  1339. - $rm \$dlpath'
  1340. - shlibpath_overrides_runpath=yes
  1341. -
  1342. - case $host_os in
  1343. - cygwin*)
  1344. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  1345. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  1346. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  1347. - ;;
  1348. - mingw*)
  1349. - # MinGW DLLs use traditional 'lib' prefix
  1350. - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  1351. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  1352. - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
  1353. - # It is most probably a Windows format PATH printed by
  1354. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  1355. - # path with ; separators, and with drive letters. We can handle the
  1356. - # drive letters (cygwin fileutils understands them), so leave them,
  1357. - # especially as we might pass files found there to a mingw objdump,
  1358. - # which wouldn't understand a cygwinified path. Ahh.
  1359. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  1360. - else
  1361. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  1362. - fi
  1363. - ;;
  1364. - pw32*)
  1365. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  1366. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  1367. - ;;
  1368. - esac
  1369. - ;;
  1370. -
  1371. - *)
  1372. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  1373. - ;;
  1374. - esac
  1375. - dynamic_linker='Win32 ld.exe'
  1376. - # FIXME: first we should search . and the directory the executable is in
  1377. - shlibpath_var=PATH
  1378. - ;;
  1379. -
  1380. -darwin* | rhapsody*)
  1381. - dynamic_linker="$host_os dyld"
  1382. - version_type=darwin
  1383. - need_lib_prefix=no
  1384. - need_version=no
  1385. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  1386. - soname_spec='${libname}${release}${major}$shared_ext'
  1387. - shlibpath_overrides_runpath=yes
  1388. - shlibpath_var=DYLD_LIBRARY_PATH
  1389. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  1390. - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  1391. - if test "$GCC" = yes; then
  1392. - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  1393. - else
  1394. - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  1395. - fi
  1396. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  1397. - ;;
  1398. -
  1399. -dgux*)
  1400. - version_type=linux
  1401. - need_lib_prefix=no
  1402. - need_version=no
  1403. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  1404. - soname_spec='${libname}${release}${shared_ext}$major'
  1405. - shlibpath_var=LD_LIBRARY_PATH
  1406. - ;;
  1407. -
  1408. -freebsd1*)
  1409. - dynamic_linker=no
  1410. - ;;
  1411. -
  1412. -kfreebsd*-gnu)
  1413. - version_type=linux
  1414. - need_lib_prefix=no
  1415. - need_version=no
  1416. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1417. - soname_spec='${libname}${release}${shared_ext}$major'
  1418. - shlibpath_var=LD_LIBRARY_PATH
  1419. - shlibpath_overrides_runpath=no
  1420. - hardcode_into_libs=yes
  1421. - dynamic_linker='GNU ld.so'
  1422. - ;;
  1423. -
  1424. -freebsd* | dragonfly*)
  1425. - # DragonFly does not have aout. When/if they implement a new
  1426. - # versioning mechanism, adjust this.
  1427. - if test -x /usr/bin/objformat; then
  1428. - objformat=`/usr/bin/objformat`
  1429. - else
  1430. - case $host_os in
  1431. - freebsd[[123]]*) objformat=aout ;;
  1432. - *) objformat=elf ;;
  1433. - esac
  1434. - fi
  1435. - version_type=freebsd-$objformat
  1436. - case $version_type in
  1437. - freebsd-elf*)
  1438. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  1439. - need_version=no
  1440. - need_lib_prefix=no
  1441. - ;;
  1442. - freebsd-*)
  1443. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  1444. - need_version=yes
  1445. - ;;
  1446. - esac
  1447. - shlibpath_var=LD_LIBRARY_PATH
  1448. - case $host_os in
  1449. - freebsd2*)
  1450. - shlibpath_overrides_runpath=yes
  1451. - ;;
  1452. - freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  1453. - shlibpath_overrides_runpath=yes
  1454. - hardcode_into_libs=yes
  1455. - ;;
  1456. - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
  1457. - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
  1458. - shlibpath_overrides_runpath=no
  1459. - hardcode_into_libs=yes
  1460. - ;;
  1461. - freebsd*) # from 4.6 on
  1462. - shlibpath_overrides_runpath=yes
  1463. - hardcode_into_libs=yes
  1464. - ;;
  1465. - esac
  1466. - ;;
  1467. -
  1468. -gnu*)
  1469. - version_type=linux
  1470. - need_lib_prefix=no
  1471. - need_version=no
  1472. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  1473. - soname_spec='${libname}${release}${shared_ext}$major'
  1474. - shlibpath_var=LD_LIBRARY_PATH
  1475. - hardcode_into_libs=yes
  1476. - ;;
  1477. -
  1478. -hpux9* | hpux10* | hpux11*)
  1479. - # Give a soname corresponding to the major version so that dld.sl refuses to
  1480. - # link against other versions.
  1481. - version_type=sunos
  1482. - need_lib_prefix=no
  1483. - need_version=no
  1484. - case $host_cpu in
  1485. - ia64*)
  1486. - shrext_cmds='.so'
  1487. - hardcode_into_libs=yes
  1488. - dynamic_linker="$host_os dld.so"
  1489. - shlibpath_var=LD_LIBRARY_PATH
  1490. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  1491. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1492. - soname_spec='${libname}${release}${shared_ext}$major'
  1493. - if test "X$HPUX_IA64_MODE" = X32; then
  1494. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  1495. - else
  1496. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  1497. - fi
  1498. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  1499. - ;;
  1500. - hppa*64*)
  1501. - shrext_cmds='.sl'
  1502. - hardcode_into_libs=yes
  1503. - dynamic_linker="$host_os dld.sl"
  1504. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  1505. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  1506. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1507. - soname_spec='${libname}${release}${shared_ext}$major'
  1508. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  1509. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  1510. - ;;
  1511. - *)
  1512. - shrext_cmds='.sl'
  1513. - dynamic_linker="$host_os dld.sl"
  1514. - shlibpath_var=SHLIB_PATH
  1515. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  1516. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1517. - soname_spec='${libname}${release}${shared_ext}$major'
  1518. - ;;
  1519. - esac
  1520. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  1521. - postinstall_cmds='chmod 555 $lib'
  1522. - ;;
  1523. -
  1524. -interix3*)
  1525. - version_type=linux
  1526. - need_lib_prefix=no
  1527. - need_version=no
  1528. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1529. - soname_spec='${libname}${release}${shared_ext}$major'
  1530. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  1531. - shlibpath_var=LD_LIBRARY_PATH
  1532. - shlibpath_overrides_runpath=no
  1533. - hardcode_into_libs=yes
  1534. - ;;
  1535. -
  1536. -irix5* | irix6* | nonstopux*)
  1537. - case $host_os in
  1538. - nonstopux*) version_type=nonstopux ;;
  1539. - *)
  1540. - if test "$lt_cv_prog_gnu_ld" = yes; then
  1541. - version_type=linux
  1542. - else
  1543. - version_type=irix
  1544. - fi ;;
  1545. - esac
  1546. - need_lib_prefix=no
  1547. - need_version=no
  1548. - soname_spec='${libname}${release}${shared_ext}$major'
  1549. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  1550. - case $host_os in
  1551. - irix5* | nonstopux*)
  1552. - libsuff= shlibsuff=
  1553. - ;;
  1554. - *)
  1555. - case $LD in # libtool.m4 will add one of these switches to LD
  1556. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  1557. - libsuff= shlibsuff= libmagic=32-bit;;
  1558. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  1559. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  1560. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  1561. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  1562. - *) libsuff= shlibsuff= libmagic=never-match;;
  1563. - esac
  1564. - ;;
  1565. - esac
  1566. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  1567. - shlibpath_overrides_runpath=no
  1568. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  1569. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  1570. - hardcode_into_libs=yes
  1571. - ;;
  1572. -
  1573. -# No shared lib support for Linux oldld, aout, or coff.
  1574. -linux*oldld* | linux*aout* | linux*coff*)
  1575. - dynamic_linker=no
  1576. - ;;
  1577. -
  1578. -# This must be Linux ELF.
  1579. -linux*)
  1580. - version_type=linux
  1581. - need_lib_prefix=no
  1582. - need_version=no
  1583. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1584. - soname_spec='${libname}${release}${shared_ext}$major'
  1585. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  1586. - shlibpath_var=LD_LIBRARY_PATH
  1587. - shlibpath_overrides_runpath=no
  1588. - # This implies no fast_install, which is unacceptable.
  1589. - # Some rework will be needed to allow for fast_install
  1590. - # before this can be enabled.
  1591. - hardcode_into_libs=yes
  1592. -
  1593. - # Append ld.so.conf contents to the search path
  1594. - if test -f /etc/ld.so.conf; then
  1595. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  1596. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  1597. - fi
  1598. -
  1599. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  1600. - # powerpc, because MkLinux only supported shared libraries with the
  1601. - # GNU dynamic linker. Since this was broken with cross compilers,
  1602. - # most powerpc-linux boxes support dynamic linking these days and
  1603. - # people can always --disable-shared, the test was removed, and we
  1604. - # assume the GNU/Linux dynamic linker is in use.
  1605. - dynamic_linker='GNU/Linux ld.so'
  1606. - ;;
  1607. -
  1608. -knetbsd*-gnu)
  1609. - version_type=linux
  1610. - need_lib_prefix=no
  1611. - need_version=no
  1612. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1613. - soname_spec='${libname}${release}${shared_ext}$major'
  1614. - shlibpath_var=LD_LIBRARY_PATH
  1615. - shlibpath_overrides_runpath=no
  1616. - hardcode_into_libs=yes
  1617. - dynamic_linker='GNU ld.so'
  1618. - ;;
  1619. -
  1620. -netbsd*)
  1621. - version_type=sunos
  1622. - need_lib_prefix=no
  1623. - need_version=no
  1624. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  1625. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  1626. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  1627. - dynamic_linker='NetBSD (a.out) ld.so'
  1628. - else
  1629. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  1630. - soname_spec='${libname}${release}${shared_ext}$major'
  1631. - dynamic_linker='NetBSD ld.elf_so'
  1632. - fi
  1633. - shlibpath_var=LD_LIBRARY_PATH
  1634. - shlibpath_overrides_runpath=yes
  1635. - hardcode_into_libs=yes
  1636. - ;;
  1637. -
  1638. -newsos6)
  1639. - version_type=linux
  1640. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1641. - shlibpath_var=LD_LIBRARY_PATH
  1642. - shlibpath_overrides_runpath=yes
  1643. - ;;
  1644. -
  1645. -nto-qnx*)
  1646. - version_type=linux
  1647. - need_lib_prefix=no
  1648. - need_version=no
  1649. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1650. - soname_spec='${libname}${release}${shared_ext}$major'
  1651. - shlibpath_var=LD_LIBRARY_PATH
  1652. - shlibpath_overrides_runpath=yes
  1653. - ;;
  1654. -
  1655. -openbsd*)
  1656. - version_type=sunos
  1657. - sys_lib_dlsearch_path_spec="/usr/lib"
  1658. - need_lib_prefix=no
  1659. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  1660. - case $host_os in
  1661. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  1662. - *) need_version=no ;;
  1663. - esac
  1664. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  1665. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  1666. - shlibpath_var=LD_LIBRARY_PATH
  1667. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  1668. - case $host_os in
  1669. - openbsd2.[[89]] | openbsd2.[[89]].*)
  1670. - shlibpath_overrides_runpath=no
  1671. - ;;
  1672. - *)
  1673. - shlibpath_overrides_runpath=yes
  1674. - ;;
  1675. - esac
  1676. - else
  1677. - shlibpath_overrides_runpath=yes
  1678. - fi
  1679. - ;;
  1680. -
  1681. -os2*)
  1682. - libname_spec='$name'
  1683. - shrext_cmds=".dll"
  1684. - need_lib_prefix=no
  1685. - library_names_spec='$libname${shared_ext} $libname.a'
  1686. - dynamic_linker='OS/2 ld.exe'
  1687. - shlibpath_var=LIBPATH
  1688. - ;;
  1689. -
  1690. -osf3* | osf4* | osf5*)
  1691. - version_type=osf
  1692. - need_lib_prefix=no
  1693. - need_version=no
  1694. - soname_spec='${libname}${release}${shared_ext}$major'
  1695. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1696. - shlibpath_var=LD_LIBRARY_PATH
  1697. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  1698. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  1699. - ;;
  1700. -
  1701. -solaris*)
  1702. - version_type=linux
  1703. - need_lib_prefix=no
  1704. - need_version=no
  1705. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1706. - soname_spec='${libname}${release}${shared_ext}$major'
  1707. - shlibpath_var=LD_LIBRARY_PATH
  1708. - shlibpath_overrides_runpath=yes
  1709. - hardcode_into_libs=yes
  1710. - # ldd complains unless libraries are executable
  1711. - postinstall_cmds='chmod +x $lib'
  1712. - ;;
  1713. -
  1714. -sunos4*)
  1715. - version_type=sunos
  1716. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  1717. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  1718. - shlibpath_var=LD_LIBRARY_PATH
  1719. - shlibpath_overrides_runpath=yes
  1720. - if test "$with_gnu_ld" = yes; then
  1721. - need_lib_prefix=no
  1722. - fi
  1723. - need_version=yes
  1724. - ;;
  1725. -
  1726. -sysv4 | sysv4.3*)
  1727. - version_type=linux
  1728. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1729. - soname_spec='${libname}${release}${shared_ext}$major'
  1730. - shlibpath_var=LD_LIBRARY_PATH
  1731. - case $host_vendor in
  1732. - sni)
  1733. - shlibpath_overrides_runpath=no
  1734. - need_lib_prefix=no
  1735. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  1736. - runpath_var=LD_RUN_PATH
  1737. - ;;
  1738. - siemens)
  1739. - need_lib_prefix=no
  1740. - ;;
  1741. - motorola)
  1742. - need_lib_prefix=no
  1743. - need_version=no
  1744. - shlibpath_overrides_runpath=no
  1745. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  1746. - ;;
  1747. - esac
  1748. - ;;
  1749. -
  1750. -sysv4*MP*)
  1751. - if test -d /usr/nec ;then
  1752. - version_type=linux
  1753. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  1754. - soname_spec='$libname${shared_ext}.$major'
  1755. - shlibpath_var=LD_LIBRARY_PATH
  1756. - fi
  1757. - ;;
  1758. -
  1759. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  1760. - version_type=freebsd-elf
  1761. - need_lib_prefix=no
  1762. - need_version=no
  1763. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  1764. - soname_spec='${libname}${release}${shared_ext}$major'
  1765. - shlibpath_var=LD_LIBRARY_PATH
  1766. - hardcode_into_libs=yes
  1767. - if test "$with_gnu_ld" = yes; then
  1768. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  1769. - shlibpath_overrides_runpath=no
  1770. - else
  1771. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  1772. - shlibpath_overrides_runpath=yes
  1773. - case $host_os in
  1774. - sco3.2v5*)
  1775. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  1776. - ;;
  1777. - esac
  1778. - fi
  1779. - sys_lib_dlsearch_path_spec='/usr/lib'
  1780. - ;;
  1781. -
  1782. -uts4*)
  1783. - version_type=linux
  1784. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  1785. - soname_spec='${libname}${release}${shared_ext}$major'
  1786. - shlibpath_var=LD_LIBRARY_PATH
  1787. - ;;
  1788. -
  1789. -*)
  1790. - dynamic_linker=no
  1791. - ;;
  1792. -esac
  1793. -AC_MSG_RESULT([$dynamic_linker])
  1794. -test "$dynamic_linker" = no && can_build_shared=no
  1795. -
  1796. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  1797. -if test "$GCC" = yes; then
  1798. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  1799. -fi
  1800. -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  1801. -
  1802. -
  1803. -# _LT_AC_TAGCONFIG
  1804. -# ----------------
  1805. -AC_DEFUN([_LT_AC_TAGCONFIG],
  1806. -[AC_ARG_WITH([tags],
  1807. - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
  1808. - [include additional configurations @<:@automatic@:>@])],
  1809. - [tagnames="$withval"])
  1810. -
  1811. -if test -f "$ltmain" && test -n "$tagnames"; then
  1812. - if test ! -f "${ofile}"; then
  1813. - AC_MSG_WARN([output file `$ofile' does not exist])
  1814. - fi
  1815. -
  1816. - if test -z "$LTCC"; then
  1817. - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  1818. - if test -z "$LTCC"; then
  1819. - AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
  1820. - else
  1821. - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
  1822. - fi
  1823. - fi
  1824. - if test -z "$LTCFLAGS"; then
  1825. - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
  1826. - fi
  1827. -
  1828. - # Extract list of available tagged configurations in $ofile.
  1829. - # Note that this assumes the entire list is on one line.
  1830. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  1831. -
  1832. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1833. - for tagname in $tagnames; do
  1834. - IFS="$lt_save_ifs"
  1835. - # Check whether tagname contains only valid characters
  1836. - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
  1837. - "") ;;
  1838. - *) AC_MSG_ERROR([invalid tag name: $tagname])
  1839. - ;;
  1840. - esac
  1841. -
  1842. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  1843. - then
  1844. - AC_MSG_ERROR([tag name \"$tagname\" already exists])
  1845. - fi
  1846. -
  1847. - # Update the list of available tags.
  1848. - if test -n "$tagname"; then
  1849. - echo appending configuration tag \"$tagname\" to $ofile
  1850. -
  1851. - case $tagname in
  1852. - CXX)
  1853. - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  1854. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  1855. - (test "X$CXX" != "Xg++"))) ; then
  1856. - AC_LIBTOOL_LANG_CXX_CONFIG
  1857. - else
  1858. - tagname=""
  1859. - fi
  1860. - ;;
  1861. -
  1862. - F77)
  1863. - if test -n "$F77" && test "X$F77" != "Xno"; then
  1864. - AC_LIBTOOL_LANG_F77_CONFIG
  1865. - else
  1866. - tagname=""
  1867. - fi
  1868. - ;;
  1869. -
  1870. - GCJ)
  1871. - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  1872. - AC_LIBTOOL_LANG_GCJ_CONFIG
  1873. - else
  1874. - tagname=""
  1875. - fi
  1876. - ;;
  1877. -
  1878. - RC)
  1879. - AC_LIBTOOL_LANG_RC_CONFIG
  1880. - ;;
  1881. -
  1882. - *)
  1883. - AC_MSG_ERROR([Unsupported tag name: $tagname])
  1884. - ;;
  1885. - esac
  1886. -
  1887. - # Append the new tag name to the list of available tags.
  1888. - if test -n "$tagname" ; then
  1889. - available_tags="$available_tags $tagname"
  1890. - fi
  1891. - fi
  1892. - done
  1893. - IFS="$lt_save_ifs"
  1894. -
  1895. - # Now substitute the updated list of available tags.
  1896. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  1897. - mv "${ofile}T" "$ofile"
  1898. - chmod +x "$ofile"
  1899. - else
  1900. - rm -f "${ofile}T"
  1901. - AC_MSG_ERROR([unable to update list of available tagged configurations.])
  1902. - fi
  1903. -fi
  1904. -])# _LT_AC_TAGCONFIG
  1905. -
  1906. -
  1907. -# AC_LIBTOOL_DLOPEN
  1908. -# -----------------
  1909. -# enable checks for dlopen support
  1910. -AC_DEFUN([AC_LIBTOOL_DLOPEN],
  1911. - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
  1912. -])# AC_LIBTOOL_DLOPEN
  1913. -
  1914. -
  1915. -# AC_LIBTOOL_WIN32_DLL
  1916. -# --------------------
  1917. -# declare package support for building win32 DLLs
  1918. -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
  1919. -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
  1920. -])# AC_LIBTOOL_WIN32_DLL
  1921. -
  1922. -
  1923. -# AC_ENABLE_SHARED([DEFAULT])
  1924. -# ---------------------------
  1925. -# implement the --enable-shared flag
  1926. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  1927. -AC_DEFUN([AC_ENABLE_SHARED],
  1928. -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  1929. -AC_ARG_ENABLE([shared],
  1930. - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  1931. - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
  1932. - [p=${PACKAGE-default}
  1933. - case $enableval in
  1934. - yes) enable_shared=yes ;;
  1935. - no) enable_shared=no ;;
  1936. - *)
  1937. - enable_shared=no
  1938. - # Look at the argument we got. We use all the common list separators.
  1939. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1940. - for pkg in $enableval; do
  1941. - IFS="$lt_save_ifs"
  1942. - if test "X$pkg" = "X$p"; then
  1943. - enable_shared=yes
  1944. - fi
  1945. - done
  1946. - IFS="$lt_save_ifs"
  1947. - ;;
  1948. - esac],
  1949. - [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
  1950. -])# AC_ENABLE_SHARED
  1951. -
  1952. -
  1953. -# AC_DISABLE_SHARED
  1954. -# -----------------
  1955. -# set the default shared flag to --disable-shared
  1956. -AC_DEFUN([AC_DISABLE_SHARED],
  1957. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  1958. -AC_ENABLE_SHARED(no)
  1959. -])# AC_DISABLE_SHARED
  1960. -
  1961. -
  1962. -# AC_ENABLE_STATIC([DEFAULT])
  1963. -# ---------------------------
  1964. -# implement the --enable-static flag
  1965. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  1966. -AC_DEFUN([AC_ENABLE_STATIC],
  1967. -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  1968. -AC_ARG_ENABLE([static],
  1969. - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  1970. - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
  1971. - [p=${PACKAGE-default}
  1972. - case $enableval in
  1973. - yes) enable_static=yes ;;
  1974. - no) enable_static=no ;;
  1975. - *)
  1976. - enable_static=no
  1977. - # Look at the argument we got. We use all the common list separators.
  1978. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1979. - for pkg in $enableval; do
  1980. - IFS="$lt_save_ifs"
  1981. - if test "X$pkg" = "X$p"; then
  1982. - enable_static=yes
  1983. - fi
  1984. - done
  1985. - IFS="$lt_save_ifs"
  1986. - ;;
  1987. - esac],
  1988. - [enable_static=]AC_ENABLE_STATIC_DEFAULT)
  1989. -])# AC_ENABLE_STATIC
  1990. -
  1991. -
  1992. -# AC_DISABLE_STATIC
  1993. -# -----------------
  1994. -# set the default static flag to --disable-static
  1995. -AC_DEFUN([AC_DISABLE_STATIC],
  1996. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  1997. -AC_ENABLE_STATIC(no)
  1998. -])# AC_DISABLE_STATIC
  1999. -
  2000. -
  2001. -# AC_ENABLE_FAST_INSTALL([DEFAULT])
  2002. -# ---------------------------------
  2003. -# implement the --enable-fast-install flag
  2004. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  2005. -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  2006. -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  2007. -AC_ARG_ENABLE([fast-install],
  2008. - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  2009. - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  2010. - [p=${PACKAGE-default}
  2011. - case $enableval in
  2012. - yes) enable_fast_install=yes ;;
  2013. - no) enable_fast_install=no ;;
  2014. - *)
  2015. - enable_fast_install=no
  2016. - # Look at the argument we got. We use all the common list separators.
  2017. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2018. - for pkg in $enableval; do
  2019. - IFS="$lt_save_ifs"
  2020. - if test "X$pkg" = "X$p"; then
  2021. - enable_fast_install=yes
  2022. - fi
  2023. - done
  2024. - IFS="$lt_save_ifs"
  2025. - ;;
  2026. - esac],
  2027. - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
  2028. -])# AC_ENABLE_FAST_INSTALL
  2029. -
  2030. -
  2031. -# AC_DISABLE_FAST_INSTALL
  2032. -# -----------------------
  2033. -# set the default to --disable-fast-install
  2034. -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  2035. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2036. -AC_ENABLE_FAST_INSTALL(no)
  2037. -])# AC_DISABLE_FAST_INSTALL
  2038. -
  2039. -
  2040. -# AC_LIBTOOL_PICMODE([MODE])
  2041. -# --------------------------
  2042. -# implement the --with-pic flag
  2043. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  2044. -AC_DEFUN([AC_LIBTOOL_PICMODE],
  2045. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2046. -pic_mode=ifelse($#,1,$1,default)
  2047. -])# AC_LIBTOOL_PICMODE
  2048. -
  2049. -
  2050. -# AC_PROG_EGREP
  2051. -# -------------
  2052. -# This is predefined starting with Autoconf 2.54, so this conditional
  2053. -# definition can be removed once we require Autoconf 2.54 or later.
  2054. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
  2055. -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
  2056. - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2057. - then ac_cv_prog_egrep='grep -E'
  2058. - else ac_cv_prog_egrep='egrep'
  2059. - fi])
  2060. - EGREP=$ac_cv_prog_egrep
  2061. - AC_SUBST([EGREP])
  2062. -])])
  2063. -
  2064. -
  2065. -# AC_PATH_TOOL_PREFIX
  2066. -# -------------------
  2067. -# find a file program which can recognise shared library
  2068. -AC_DEFUN([AC_PATH_TOOL_PREFIX],
  2069. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2070. -AC_MSG_CHECKING([for $1])
  2071. -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  2072. -[case $MAGIC_CMD in
  2073. -[[\\/*] | ?:[\\/]*])
  2074. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  2075. - ;;
  2076. -*)
  2077. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  2078. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2079. -dnl $ac_dummy forces splitting on constant user-supplied paths.
  2080. -dnl POSIX.2 word splitting is done only on the output of word expansions,
  2081. -dnl not every word. This closes a longstanding sh security hole.
  2082. - ac_dummy="ifelse([$2], , $PATH, [$2])"
  2083. - for ac_dir in $ac_dummy; do
  2084. - IFS="$lt_save_ifs"
  2085. - test -z "$ac_dir" && ac_dir=.
  2086. - if test -f $ac_dir/$1; then
  2087. - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  2088. - if test -n "$file_magic_test_file"; then
  2089. - case $deplibs_check_method in
  2090. - "file_magic "*)
  2091. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  2092. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2093. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  2094. - $EGREP "$file_magic_regex" > /dev/null; then
  2095. - :
  2096. - else
  2097. - cat <<EOF 1>&2
  2098. -
  2099. -*** Warning: the command libtool uses to detect shared libraries,
  2100. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  2101. -*** The result is that libtool may fail to recognize shared libraries
  2102. -*** as such. This will affect the creation of libtool libraries that
  2103. -*** depend on shared libraries, but programs linked with such libtool
  2104. -*** libraries will work regardless of this problem. Nevertheless, you
  2105. -*** may want to report the problem to your system manager and/or to
  2106. -*** bug-libtool@gnu.org
  2107. -
  2108. -EOF
  2109. - fi ;;
  2110. - esac
  2111. - fi
  2112. - break
  2113. - fi
  2114. - done
  2115. - IFS="$lt_save_ifs"
  2116. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  2117. - ;;
  2118. -esac])
  2119. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2120. -if test -n "$MAGIC_CMD"; then
  2121. - AC_MSG_RESULT($MAGIC_CMD)
  2122. -else
  2123. - AC_MSG_RESULT(no)
  2124. -fi
  2125. -])# AC_PATH_TOOL_PREFIX
  2126. -
  2127. -
  2128. -# AC_PATH_MAGIC
  2129. -# -------------
  2130. -# find a file program which can recognise a shared library
  2131. -AC_DEFUN([AC_PATH_MAGIC],
  2132. -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2133. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  2134. - if test -n "$ac_tool_prefix"; then
  2135. - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2136. - else
  2137. - MAGIC_CMD=:
  2138. - fi
  2139. -fi
  2140. -])# AC_PATH_MAGIC
  2141. -
  2142. -
  2143. -# AC_PROG_LD
  2144. -# ----------
  2145. -# find the pathname to the GNU or non-GNU linker
  2146. -AC_DEFUN([AC_PROG_LD],
  2147. -[AC_ARG_WITH([gnu-ld],
  2148. - [AC_HELP_STRING([--with-gnu-ld],
  2149. - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2150. - [test "$withval" = no || with_gnu_ld=yes],
  2151. - [with_gnu_ld=no])
  2152. -AC_REQUIRE([LT_AC_PROG_SED])dnl
  2153. -AC_REQUIRE([AC_PROG_CC])dnl
  2154. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2155. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2156. -ac_prog=ld
  2157. -if test "$GCC" = yes; then
  2158. - # Check if gcc -print-prog-name=ld gives a path.
  2159. - AC_MSG_CHECKING([for ld used by $CC])
  2160. - case $host in
  2161. - *-*-mingw*)
  2162. - # gcc leaves a trailing carriage return which upsets mingw
  2163. - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  2164. - *)
  2165. - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  2166. - esac
  2167. - case $ac_prog in
  2168. - # Accept absolute paths.
  2169. - [[\\/]]* | ?:[[\\/]]*)
  2170. - re_direlt='/[[^/]][[^/]]*/\.\./'
  2171. - # Canonicalize the pathname of ld
  2172. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  2173. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  2174. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  2175. - done
  2176. - test -z "$LD" && LD="$ac_prog"
  2177. - ;;
  2178. - "")
  2179. - # If it fails, then pretend we aren't using GCC.
  2180. - ac_prog=ld
  2181. - ;;
  2182. - *)
  2183. - # If it is relative, then search for the first ld in PATH.
  2184. - with_gnu_ld=unknown
  2185. - ;;
  2186. - esac
  2187. -elif test "$with_gnu_ld" = yes; then
  2188. - AC_MSG_CHECKING([for GNU ld])
  2189. -else
  2190. - AC_MSG_CHECKING([for non-GNU ld])
  2191. -fi
  2192. -AC_CACHE_VAL(lt_cv_path_LD,
  2193. -[if test -z "$LD"; then
  2194. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2195. - for ac_dir in $PATH; do
  2196. - IFS="$lt_save_ifs"
  2197. - test -z "$ac_dir" && ac_dir=.
  2198. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  2199. - lt_cv_path_LD="$ac_dir/$ac_prog"
  2200. - # Check to see if the program is GNU ld. I'd rather use --version,
  2201. - # but apparently some variants of GNU ld only accept -v.
  2202. - # Break only if it was the GNU/non-GNU ld that we prefer.
  2203. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  2204. - *GNU* | *'with BFD'*)
  2205. - test "$with_gnu_ld" != no && break
  2206. - ;;
  2207. - *)
  2208. - test "$with_gnu_ld" != yes && break
  2209. - ;;
  2210. - esac
  2211. - fi
  2212. - done
  2213. - IFS="$lt_save_ifs"
  2214. -else
  2215. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  2216. -fi])
  2217. -LD="$lt_cv_path_LD"
  2218. -if test -n "$LD"; then
  2219. - AC_MSG_RESULT($LD)
  2220. -else
  2221. - AC_MSG_RESULT(no)
  2222. -fi
  2223. -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2224. -AC_PROG_LD_GNU
  2225. -])# AC_PROG_LD
  2226. -
  2227. -
  2228. -# AC_PROG_LD_GNU
  2229. -# --------------
  2230. -AC_DEFUN([AC_PROG_LD_GNU],
  2231. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2232. -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2233. -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  2234. -case `$LD -v 2>&1 </dev/null` in
  2235. -*GNU* | *'with BFD'*)
  2236. - lt_cv_prog_gnu_ld=yes
  2237. - ;;
  2238. -*)
  2239. - lt_cv_prog_gnu_ld=no
  2240. - ;;
  2241. -esac])
  2242. -with_gnu_ld=$lt_cv_prog_gnu_ld
  2243. -])# AC_PROG_LD_GNU
  2244. -
  2245. -
  2246. -# AC_PROG_LD_RELOAD_FLAG
  2247. -# ----------------------
  2248. -# find reload flag for linker
  2249. -# -- PORTME Some linkers may need a different reload flag.
  2250. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  2251. -[AC_CACHE_CHECK([for $LD option to reload object files],
  2252. - lt_cv_ld_reload_flag,
  2253. - [lt_cv_ld_reload_flag='-r'])
  2254. -reload_flag=$lt_cv_ld_reload_flag
  2255. -case $reload_flag in
  2256. -"" | " "*) ;;
  2257. -*) reload_flag=" $reload_flag" ;;
  2258. -esac
  2259. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2260. -case $host_os in
  2261. - darwin*)
  2262. - if test "$GCC" = yes; then
  2263. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  2264. - else
  2265. - reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2266. - fi
  2267. - ;;
  2268. -esac
  2269. -])# AC_PROG_LD_RELOAD_FLAG
  2270. -
  2271. -
  2272. -# AC_DEPLIBS_CHECK_METHOD
  2273. -# -----------------------
  2274. -# how to check for library dependencies
  2275. -# -- PORTME fill in with the dynamic library characteristics
  2276. -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  2277. -[AC_CACHE_CHECK([how to recognise dependent libraries],
  2278. -lt_cv_deplibs_check_method,
  2279. -[lt_cv_file_magic_cmd='$MAGIC_CMD'
  2280. -lt_cv_file_magic_test_file=
  2281. -lt_cv_deplibs_check_method='unknown'
  2282. -# Need to set the preceding variable on all platforms that support
  2283. -# interlibrary dependencies.
  2284. -# 'none' -- dependencies not supported.
  2285. -# `unknown' -- same as none, but documents that we really don't know.
  2286. -# 'pass_all' -- all dependencies passed with no checks.
  2287. -# 'test_compile' -- check by making test program.
  2288. -# 'file_magic [[regex]]' -- check by looking for files in library path
  2289. -# which responds to the $file_magic_cmd with a given extended regex.
  2290. -# If you have `file' or equivalent on your system and you're not sure
  2291. -# whether `pass_all' will *always* work, you probably want this one.
  2292. -
  2293. -case $host_os in
  2294. -aix4* | aix5*)
  2295. - lt_cv_deplibs_check_method=pass_all
  2296. - ;;
  2297. -
  2298. -beos*)
  2299. - lt_cv_deplibs_check_method=pass_all
  2300. - ;;
  2301. -
  2302. -bsdi[[45]]*)
  2303. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  2304. - lt_cv_file_magic_cmd='/usr/bin/file -L'
  2305. - lt_cv_file_magic_test_file=/shlib/libc.so
  2306. - ;;
  2307. -
  2308. -cygwin*)
  2309. - # func_win32_libid is a shell function defined in ltmain.sh
  2310. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  2311. - lt_cv_file_magic_cmd='func_win32_libid'
  2312. - ;;
  2313. -
  2314. -mingw* | pw32*)
  2315. - # Base MSYS/MinGW do not provide the 'file' command needed by
  2316. - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
  2317. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  2318. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  2319. - ;;
  2320. -
  2321. -darwin* | rhapsody*)
  2322. - lt_cv_deplibs_check_method=pass_all
  2323. - ;;
  2324. -
  2325. -freebsd* | kfreebsd*-gnu | dragonfly*)
  2326. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  2327. - case $host_cpu in
  2328. - i*86 )
  2329. - # Not sure whether the presence of OpenBSD here was a mistake.
  2330. - # Let's accept both of them until this is cleared up.
  2331. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  2332. - lt_cv_file_magic_cmd=/usr/bin/file
  2333. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  2334. - ;;
  2335. - esac
  2336. - else
  2337. - lt_cv_deplibs_check_method=pass_all
  2338. - fi
  2339. - ;;
  2340. -
  2341. -gnu*)
  2342. - lt_cv_deplibs_check_method=pass_all
  2343. - ;;
  2344. -
  2345. -hpux10.20* | hpux11*)
  2346. - lt_cv_file_magic_cmd=/usr/bin/file
  2347. - case $host_cpu in
  2348. - ia64*)
  2349. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  2350. - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  2351. - ;;
  2352. - hppa*64*)
  2353. - [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]']
  2354. - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  2355. - ;;
  2356. - *)
  2357. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  2358. - lt_cv_file_magic_test_file=/usr/lib/libc.sl
  2359. - ;;
  2360. - esac
  2361. - ;;
  2362. -
  2363. -interix3*)
  2364. - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  2365. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  2366. - ;;
  2367. -
  2368. -irix5* | irix6* | nonstopux*)
  2369. - case $LD in
  2370. - *-32|*"-32 ") libmagic=32-bit;;
  2371. - *-n32|*"-n32 ") libmagic=N32;;
  2372. - *-64|*"-64 ") libmagic=64-bit;;
  2373. - *) libmagic=never-match;;
  2374. - esac
  2375. - lt_cv_deplibs_check_method=pass_all
  2376. - ;;
  2377. -
  2378. -# This must be Linux ELF.
  2379. -linux*)
  2380. - lt_cv_deplibs_check_method=pass_all
  2381. - ;;
  2382. -
  2383. -netbsd*)
  2384. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  2385. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  2386. - else
  2387. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  2388. - fi
  2389. - ;;
  2390. -
  2391. -newos6*)
  2392. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  2393. - lt_cv_file_magic_cmd=/usr/bin/file
  2394. - lt_cv_file_magic_test_file=/usr/lib/libnls.so
  2395. - ;;
  2396. -
  2397. -nto-qnx*)
  2398. - lt_cv_deplibs_check_method=unknown
  2399. - ;;
  2400. -
  2401. -openbsd*)
  2402. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2403. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  2404. - else
  2405. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  2406. - fi
  2407. - ;;
  2408. -
  2409. -osf3* | osf4* | osf5*)
  2410. - lt_cv_deplibs_check_method=pass_all
  2411. - ;;
  2412. -
  2413. -solaris*)
  2414. - lt_cv_deplibs_check_method=pass_all
  2415. - ;;
  2416. -
  2417. -sysv4 | sysv4.3*)
  2418. - case $host_vendor in
  2419. - motorola)
  2420. - 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]]'
  2421. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  2422. - ;;
  2423. - ncr)
  2424. - lt_cv_deplibs_check_method=pass_all
  2425. - ;;
  2426. - sequent)
  2427. - lt_cv_file_magic_cmd='/bin/file'
  2428. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  2429. - ;;
  2430. - sni)
  2431. - lt_cv_file_magic_cmd='/bin/file'
  2432. - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  2433. - lt_cv_file_magic_test_file=/lib/libc.so
  2434. - ;;
  2435. - siemens)
  2436. - lt_cv_deplibs_check_method=pass_all
  2437. - ;;
  2438. - pc)
  2439. - lt_cv_deplibs_check_method=pass_all
  2440. - ;;
  2441. - esac
  2442. - ;;
  2443. -
  2444. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  2445. - lt_cv_deplibs_check_method=pass_all
  2446. - ;;
  2447. -esac
  2448. -])
  2449. -file_magic_cmd=$lt_cv_file_magic_cmd
  2450. -deplibs_check_method=$lt_cv_deplibs_check_method
  2451. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  2452. -])# AC_DEPLIBS_CHECK_METHOD
  2453. -
  2454. -
  2455. -# AC_PROG_NM
  2456. -# ----------
  2457. -# find the pathname to a BSD-compatible name lister
  2458. -AC_DEFUN([AC_PROG_NM],
  2459. -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
  2460. -[if test -n "$NM"; then
  2461. - # Let the user override the test.
  2462. - lt_cv_path_NM="$NM"
  2463. -else
  2464. - lt_nm_to_check="${ac_tool_prefix}nm"
  2465. - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  2466. - lt_nm_to_check="$lt_nm_to_check nm"
  2467. - fi
  2468. - for lt_tmp_nm in $lt_nm_to_check; do
  2469. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2470. - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  2471. - IFS="$lt_save_ifs"
  2472. - test -z "$ac_dir" && ac_dir=.
  2473. - tmp_nm="$ac_dir/$lt_tmp_nm"
  2474. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  2475. - # Check to see if the nm accepts a BSD-compat flag.
  2476. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  2477. - # nm: unknown option "B" ignored
  2478. - # Tru64's nm complains that /dev/null is an invalid object file
  2479. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  2480. - */dev/null* | *'Invalid file or object type'*)
  2481. - lt_cv_path_NM="$tmp_nm -B"
  2482. - break
  2483. - ;;
  2484. - *)
  2485. - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  2486. - */dev/null*)
  2487. - lt_cv_path_NM="$tmp_nm -p"
  2488. - break
  2489. - ;;
  2490. - *)
  2491. - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  2492. - continue # so that we can try to find one that supports BSD flags
  2493. - ;;
  2494. - esac
  2495. - ;;
  2496. - esac
  2497. - fi
  2498. - done
  2499. - IFS="$lt_save_ifs"
  2500. - done
  2501. - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  2502. -fi])
  2503. -NM="$lt_cv_path_NM"
  2504. -])# AC_PROG_NM
  2505. -
  2506. -
  2507. -# AC_CHECK_LIBM
  2508. -# -------------
  2509. -# check for math library
  2510. -AC_DEFUN([AC_CHECK_LIBM],
  2511. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2512. -LIBM=
  2513. -case $host in
  2514. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  2515. - # These system don't have libm, or don't need it
  2516. - ;;
  2517. -*-ncr-sysv4.3*)
  2518. - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  2519. - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  2520. - ;;
  2521. -*)
  2522. - AC_CHECK_LIB(m, cos, LIBM="-lm")
  2523. - ;;
  2524. -esac
  2525. -])# AC_CHECK_LIBM
  2526. -
  2527. -
  2528. -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
  2529. -# -----------------------------------
  2530. -# sets LIBLTDL to the link flags for the libltdl convenience library and
  2531. -# LTDLINCL to the include flags for the libltdl header and adds
  2532. -# --enable-ltdl-convenience to the configure arguments. Note that
  2533. -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
  2534. -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
  2535. -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
  2536. -# (note the single quotes!). If your package is not flat and you're not
  2537. -# using automake, define top_builddir and top_srcdir appropriately in
  2538. -# the Makefiles.
  2539. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  2540. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2541. - case $enable_ltdl_convenience in
  2542. - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  2543. - "") enable_ltdl_convenience=yes
  2544. - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  2545. - esac
  2546. - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  2547. - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  2548. - # For backwards non-gettext consistent compatibility...
  2549. - INCLTDL="$LTDLINCL"
  2550. -])# AC_LIBLTDL_CONVENIENCE
  2551. -
  2552. -
  2553. -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
  2554. -# -----------------------------------
  2555. -# sets LIBLTDL to the link flags for the libltdl installable library and
  2556. -# LTDLINCL to the include flags for the libltdl header and adds
  2557. -# --enable-ltdl-install to the configure arguments. Note that
  2558. -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
  2559. -# and an installed libltdl is not found, it is assumed to be `libltdl'.
  2560. -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
  2561. -# '${top_srcdir}/' (note the single quotes!). If your package is not
  2562. -# flat and you're not using automake, define top_builddir and top_srcdir
  2563. -# appropriately in the Makefiles.
  2564. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  2565. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  2566. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2567. - AC_CHECK_LIB(ltdl, lt_dlinit,
  2568. - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  2569. - [if test x"$enable_ltdl_install" = xno; then
  2570. - AC_MSG_WARN([libltdl not installed, but installation disabled])
  2571. - else
  2572. - enable_ltdl_install=yes
  2573. - fi
  2574. - ])
  2575. - if test x"$enable_ltdl_install" = x"yes"; then
  2576. - ac_configure_args="$ac_configure_args --enable-ltdl-install"
  2577. - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  2578. - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  2579. - else
  2580. - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  2581. - LIBLTDL="-lltdl"
  2582. - LTDLINCL=
  2583. - fi
  2584. - # For backwards non-gettext consistent compatibility...
  2585. - INCLTDL="$LTDLINCL"
  2586. -])# AC_LIBLTDL_INSTALLABLE
  2587. -
  2588. -
  2589. -# AC_LIBTOOL_CXX
  2590. -# --------------
  2591. -# enable support for C++ libraries
  2592. -AC_DEFUN([AC_LIBTOOL_CXX],
  2593. -[AC_REQUIRE([_LT_AC_LANG_CXX])
  2594. -])# AC_LIBTOOL_CXX
  2595. -
  2596. -
  2597. -# _LT_AC_LANG_CXX
  2598. -# ---------------
  2599. -AC_DEFUN([_LT_AC_LANG_CXX],
  2600. -[AC_REQUIRE([AC_PROG_CXX])
  2601. -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  2602. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
  2603. -])# _LT_AC_LANG_CXX
  2604. -
  2605. -# _LT_AC_PROG_CXXCPP
  2606. -# ------------------
  2607. -AC_DEFUN([_LT_AC_PROG_CXXCPP],
  2608. -[
  2609. -AC_REQUIRE([AC_PROG_CXX])
  2610. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  2611. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  2612. - (test "X$CXX" != "Xg++"))) ; then
  2613. - AC_PROG_CXXCPP
  2614. -fi
  2615. -])# _LT_AC_PROG_CXXCPP
  2616. -
  2617. -# AC_LIBTOOL_F77
  2618. -# --------------
  2619. -# enable support for Fortran 77 libraries
  2620. -AC_DEFUN([AC_LIBTOOL_F77],
  2621. -[AC_REQUIRE([_LT_AC_LANG_F77])
  2622. -])# AC_LIBTOOL_F77
  2623. -
  2624. -
  2625. -# _LT_AC_LANG_F77
  2626. -# ---------------
  2627. -AC_DEFUN([_LT_AC_LANG_F77],
  2628. -[AC_REQUIRE([AC_PROG_F77])
  2629. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
  2630. -])# _LT_AC_LANG_F77
  2631. -
  2632. -
  2633. -# AC_LIBTOOL_GCJ
  2634. -# --------------
  2635. -# enable support for GCJ libraries
  2636. -AC_DEFUN([AC_LIBTOOL_GCJ],
  2637. -[AC_REQUIRE([_LT_AC_LANG_GCJ])
  2638. -])# AC_LIBTOOL_GCJ
  2639. -
  2640. -
  2641. -# _LT_AC_LANG_GCJ
  2642. -# ---------------
  2643. -AC_DEFUN([_LT_AC_LANG_GCJ],
  2644. -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
  2645. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
  2646. - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
  2647. - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
  2648. - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
  2649. - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
  2650. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
  2651. -])# _LT_AC_LANG_GCJ
  2652. -
  2653. -
  2654. -# AC_LIBTOOL_RC
  2655. -# -------------
  2656. -# enable support for Windows resource files
  2657. -AC_DEFUN([AC_LIBTOOL_RC],
  2658. -[AC_REQUIRE([LT_AC_PROG_RC])
  2659. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
  2660. -])# AC_LIBTOOL_RC
  2661. -
  2662. -
  2663. -# AC_LIBTOOL_LANG_C_CONFIG
  2664. -# ------------------------
  2665. -# Ensure that the configuration vars for the C compiler are
  2666. -# suitably defined. Those variables are subsequently used by
  2667. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  2668. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
  2669. -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
  2670. -[lt_save_CC="$CC"
  2671. -AC_LANG_PUSH(C)
  2672. -
  2673. -# Source file extension for C test sources.
  2674. -ac_ext=c
  2675. -
  2676. -# Object file extension for compiled C test sources.
  2677. -objext=o
  2678. -_LT_AC_TAGVAR(objext, $1)=$objext
  2679. -
  2680. -# Code to be used in simple compile tests
  2681. -lt_simple_compile_test_code="int some_variable = 0;\n"
  2682. -
  2683. -# Code to be used in simple link tests
  2684. -lt_simple_link_test_code='int main(){return(0);}\n'
  2685. -
  2686. -_LT_AC_SYS_COMPILER
  2687. -
  2688. -# save warnings/boilerplate of simple test code
  2689. -_LT_COMPILER_BOILERPLATE
  2690. -_LT_LINKER_BOILERPLATE
  2691. -
  2692. -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  2693. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  2694. -AC_LIBTOOL_PROG_CC_C_O($1)
  2695. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  2696. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  2697. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  2698. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  2699. -AC_LIBTOOL_SYS_LIB_STRIP
  2700. -AC_LIBTOOL_DLOPEN_SELF
  2701. -
  2702. -# Report which library types will actually be built
  2703. -AC_MSG_CHECKING([if libtool supports shared libraries])
  2704. -AC_MSG_RESULT([$can_build_shared])
  2705. -
  2706. -AC_MSG_CHECKING([whether to build shared libraries])
  2707. -test "$can_build_shared" = "no" && enable_shared=no
  2708. -
  2709. -# On AIX, shared libraries and static libraries use the same namespace, and
  2710. -# are all built from PIC.
  2711. -case $host_os in
  2712. -aix3*)
  2713. - test "$enable_shared" = yes && enable_static=no
  2714. - if test -n "$RANLIB"; then
  2715. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  2716. - postinstall_cmds='$RANLIB $lib'
  2717. - fi
  2718. - ;;
  2719. -
  2720. -aix4* | aix5*)
  2721. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  2722. - test "$enable_shared" = yes && enable_static=no
  2723. - fi
  2724. - ;;
  2725. -esac
  2726. -AC_MSG_RESULT([$enable_shared])
  2727. -
  2728. -AC_MSG_CHECKING([whether to build static libraries])
  2729. -# Make sure either enable_shared or enable_static is yes.
  2730. -test "$enable_shared" = yes || enable_static=yes
  2731. -AC_MSG_RESULT([$enable_static])
  2732. -
  2733. -AC_LIBTOOL_CONFIG($1)
  2734. -
  2735. -AC_LANG_POP
  2736. -CC="$lt_save_CC"
  2737. -])# AC_LIBTOOL_LANG_C_CONFIG
  2738. -
  2739. -
  2740. -# AC_LIBTOOL_LANG_CXX_CONFIG
  2741. -# --------------------------
  2742. -# Ensure that the configuration vars for the C compiler are
  2743. -# suitably defined. Those variables are subsequently used by
  2744. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  2745. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
  2746. -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
  2747. -[AC_LANG_PUSH(C++)
  2748. -AC_REQUIRE([AC_PROG_CXX])
  2749. -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  2750. -
  2751. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  2752. -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  2753. -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  2754. -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  2755. -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  2756. -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  2757. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  2758. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  2759. -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  2760. -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  2761. -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  2762. -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  2763. -_LT_AC_TAGVAR(module_cmds, $1)=
  2764. -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  2765. -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  2766. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  2767. -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  2768. -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2769. -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  2770. -
  2771. -# Dependencies to place before and after the object being linked:
  2772. -_LT_AC_TAGVAR(predep_objects, $1)=
  2773. -_LT_AC_TAGVAR(postdep_objects, $1)=
  2774. -_LT_AC_TAGVAR(predeps, $1)=
  2775. -_LT_AC_TAGVAR(postdeps, $1)=
  2776. -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
  2777. -
  2778. -# Source file extension for C++ test sources.
  2779. -ac_ext=cpp
  2780. -
  2781. -# Object file extension for compiled C++ test sources.
  2782. -objext=o
  2783. -_LT_AC_TAGVAR(objext, $1)=$objext
  2784. -
  2785. -# Code to be used in simple compile tests
  2786. -lt_simple_compile_test_code="int some_variable = 0;\n"
  2787. -
  2788. -# Code to be used in simple link tests
  2789. -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
  2790. -
  2791. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  2792. -_LT_AC_SYS_COMPILER
  2793. -
  2794. -# save warnings/boilerplate of simple test code
  2795. -_LT_COMPILER_BOILERPLATE
  2796. -_LT_LINKER_BOILERPLATE
  2797. -
  2798. -# Allow CC to be a program name with arguments.
  2799. -lt_save_CC=$CC
  2800. -lt_save_LD=$LD
  2801. -lt_save_GCC=$GCC
  2802. -GCC=$GXX
  2803. -lt_save_with_gnu_ld=$with_gnu_ld
  2804. -lt_save_path_LD=$lt_cv_path_LD
  2805. -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  2806. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  2807. -else
  2808. - $as_unset lt_cv_prog_gnu_ld
  2809. -fi
  2810. -if test -n "${lt_cv_path_LDCXX+set}"; then
  2811. - lt_cv_path_LD=$lt_cv_path_LDCXX
  2812. -else
  2813. - $as_unset lt_cv_path_LD
  2814. -fi
  2815. -test -z "${LDCXX+set}" || LD=$LDCXX
  2816. -CC=${CXX-"c++"}
  2817. -compiler=$CC
  2818. -_LT_AC_TAGVAR(compiler, $1)=$CC
  2819. -_LT_CC_BASENAME([$compiler])
  2820. -
  2821. -# We don't want -fno-exception wen compiling C++ code, so set the
  2822. -# no_builtin_flag separately
  2823. -if test "$GXX" = yes; then
  2824. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  2825. -else
  2826. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  2827. -fi
  2828. -
  2829. -if test "$GXX" = yes; then
  2830. - # Set up default GNU C++ configuration
  2831. -
  2832. - AC_PROG_LD
  2833. -
  2834. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  2835. - # archiving commands below assume that GNU ld is being used.
  2836. - if test "$with_gnu_ld" = yes; then
  2837. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  2838. - _LT_AC_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'
  2839. -
  2840. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  2841. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  2842. -
  2843. - # If archive_cmds runs LD, not CC, wlarc should be empty
  2844. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  2845. - # investigate it a little bit more. (MM)
  2846. - wlarc='${wl}'
  2847. -
  2848. - # ancient GNU ld didn't support --whole-archive et. al.
  2849. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  2850. - grep 'no-whole-archive' > /dev/null; then
  2851. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  2852. - else
  2853. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  2854. - fi
  2855. - else
  2856. - with_gnu_ld=no
  2857. - wlarc=
  2858. -
  2859. - # A generic and very simple default shared library creation
  2860. - # command for GNU C++ for the case where it uses the native
  2861. - # linker, instead of GNU ld. If possible, this setting should
  2862. - # overridden to take advantage of the native linker features on
  2863. - # the platform it is being used on.
  2864. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  2865. - fi
  2866. -
  2867. - # Commands to make compiler produce verbose output that lists
  2868. - # what "hidden" libraries, object files and flags are used when
  2869. - # linking a shared library.
  2870. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  2871. -
  2872. -else
  2873. - GXX=no
  2874. - with_gnu_ld=no
  2875. - wlarc=
  2876. -fi
  2877. -
  2878. -# PORTME: fill in a description of your system's C++ link characteristics
  2879. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  2880. -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
  2881. -case $host_os in
  2882. - aix3*)
  2883. - # FIXME: insert proper C++ library support
  2884. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  2885. - ;;
  2886. - aix4* | aix5*)
  2887. - if test "$host_cpu" = ia64; then
  2888. - # On IA64, the linker does run time linking by default, so we don't
  2889. - # have to do anything special.
  2890. - aix_use_runtimelinking=no
  2891. - exp_sym_flag='-Bexport'
  2892. - no_entry_flag=""
  2893. - else
  2894. - aix_use_runtimelinking=no
  2895. -
  2896. - # Test if we are trying to use run time linking or normal
  2897. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  2898. - # need to do runtime linking.
  2899. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  2900. - for ld_flag in $LDFLAGS; do
  2901. - case $ld_flag in
  2902. - *-brtl*)
  2903. - aix_use_runtimelinking=yes
  2904. - break
  2905. - ;;
  2906. - esac
  2907. - done
  2908. - ;;
  2909. - esac
  2910. -
  2911. - exp_sym_flag='-bexport'
  2912. - no_entry_flag='-bnoentry'
  2913. - fi
  2914. -
  2915. - # When large executables or shared objects are built, AIX ld can
  2916. - # have problems creating the table of contents. If linking a library
  2917. - # or program results in "error TOC overflow" add -mminimal-toc to
  2918. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  2919. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  2920. -
  2921. - _LT_AC_TAGVAR(archive_cmds, $1)=''
  2922. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2923. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  2924. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  2925. -
  2926. - if test "$GXX" = yes; then
  2927. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  2928. - # We only want to do this on AIX 4.2 and lower, the check
  2929. - # below for broken collect2 doesn't work under 4.3+
  2930. - collect2name=`${CC} -print-prog-name=collect2`
  2931. - if test -f "$collect2name" && \
  2932. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  2933. - then
  2934. - # We have reworked collect2
  2935. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  2936. - else
  2937. - # We have old collect2
  2938. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  2939. - # It fails to find uninstalled libraries when the uninstalled
  2940. - # path is not listed in the libpath. Setting hardcode_minus_L
  2941. - # to unsupported forces relinking
  2942. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  2943. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  2944. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  2945. - fi
  2946. - ;;
  2947. - esac
  2948. - shared_flag='-shared'
  2949. - if test "$aix_use_runtimelinking" = yes; then
  2950. - shared_flag="$shared_flag "'${wl}-G'
  2951. - fi
  2952. - else
  2953. - # not using gcc
  2954. - if test "$host_cpu" = ia64; then
  2955. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  2956. - # chokes on -Wl,-G. The following line is correct:
  2957. - shared_flag='-G'
  2958. - else
  2959. - if test "$aix_use_runtimelinking" = yes; then
  2960. - shared_flag='${wl}-G'
  2961. - else
  2962. - shared_flag='${wl}-bM:SRE'
  2963. - fi
  2964. - fi
  2965. - fi
  2966. -
  2967. - # It seems that -bexpall does not export symbols beginning with
  2968. - # underscore (_), so it is better to generate a list of symbols to export.
  2969. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  2970. - if test "$aix_use_runtimelinking" = yes; then
  2971. - # Warning - without using the other runtime loading flags (-brtl),
  2972. - # -berok will link without error, but may produce a broken library.
  2973. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  2974. - # Determine the default libpath from the value encoded in an empty executable.
  2975. - _LT_AC_SYS_LIBPATH_AIX
  2976. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2977. -
  2978. - _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  2979. - else
  2980. - if test "$host_cpu" = ia64; then
  2981. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  2982. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  2983. - _LT_AC_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"
  2984. - else
  2985. - # Determine the default libpath from the value encoded in an empty executable.
  2986. - _LT_AC_SYS_LIBPATH_AIX
  2987. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  2988. - # Warning - without using the other run time loading flags,
  2989. - # -berok will link without error, but may produce a broken library.
  2990. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  2991. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  2992. - # Exported symbols can be pulled into shared objects from archives
  2993. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  2994. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  2995. - # This is similar to how AIX traditionally builds its shared libraries.
  2996. - _LT_AC_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'
  2997. - fi
  2998. - fi
  2999. - ;;
  3000. -
  3001. - beos*)
  3002. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  3003. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3004. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  3005. - # support --undefined. This deserves some investigation. FIXME
  3006. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3007. - else
  3008. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3009. - fi
  3010. - ;;
  3011. -
  3012. - chorus*)
  3013. - case $cc_basename in
  3014. - *)
  3015. - # FIXME: insert proper C++ library support
  3016. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3017. - ;;
  3018. - esac
  3019. - ;;
  3020. -
  3021. - cygwin* | mingw* | pw32*)
  3022. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  3023. - # as there is no search path for DLLs.
  3024. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3025. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3026. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  3027. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  3028. -
  3029. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  3030. - _LT_AC_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'
  3031. - # If the export-symbols file already is a .def file (1st line
  3032. - # is EXPORTS), use it as is; otherwise, prepend...
  3033. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  3034. - cp $export_symbols $output_objdir/$soname.def;
  3035. - else
  3036. - echo EXPORTS > $output_objdir/$soname.def;
  3037. - cat $export_symbols >> $output_objdir/$soname.def;
  3038. - fi~
  3039. - $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'
  3040. - else
  3041. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3042. - fi
  3043. - ;;
  3044. - darwin* | rhapsody*)
  3045. - case $host_os in
  3046. - rhapsody* | darwin1.[[012]])
  3047. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
  3048. - ;;
  3049. - *) # Darwin 1.3 on
  3050. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  3051. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  3052. - else
  3053. - case ${MACOSX_DEPLOYMENT_TARGET} in
  3054. - 10.[[012]])
  3055. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  3056. - ;;
  3057. - 10.*)
  3058. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
  3059. - ;;
  3060. - esac
  3061. - fi
  3062. - ;;
  3063. - esac
  3064. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3065. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3066. - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  3067. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3068. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  3069. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3070. -
  3071. - if test "$GXX" = yes ; then
  3072. - lt_int_apple_cc_single_mod=no
  3073. - output_verbose_link_cmd='echo'
  3074. - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
  3075. - lt_int_apple_cc_single_mod=yes
  3076. - fi
  3077. - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  3078. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  3079. - else
  3080. - _LT_AC_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'
  3081. - fi
  3082. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  3083. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  3084. - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  3085. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3086. - else
  3087. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3088. - fi
  3089. - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3090. - else
  3091. - case $cc_basename in
  3092. - xlc*)
  3093. - output_verbose_link_cmd='echo'
  3094. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  3095. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  3096. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  3097. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3098. - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3099. - ;;
  3100. - *)
  3101. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3102. - ;;
  3103. - esac
  3104. - fi
  3105. - ;;
  3106. -
  3107. - dgux*)
  3108. - case $cc_basename in
  3109. - ec++*)
  3110. - # FIXME: insert proper C++ library support
  3111. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3112. - ;;
  3113. - ghcx*)
  3114. - # Green Hills C++ Compiler
  3115. - # FIXME: insert proper C++ library support
  3116. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3117. - ;;
  3118. - *)
  3119. - # FIXME: insert proper C++ library support
  3120. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3121. - ;;
  3122. - esac
  3123. - ;;
  3124. - freebsd[[12]]*)
  3125. - # C++ shared libraries reported to be fairly broken before switch to ELF
  3126. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3127. - ;;
  3128. - freebsd-elf*)
  3129. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3130. - ;;
  3131. - freebsd* | kfreebsd*-gnu | dragonfly*)
  3132. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  3133. - # conventions
  3134. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  3135. - ;;
  3136. - gnu*)
  3137. - ;;
  3138. - hpux9*)
  3139. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3140. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3141. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3142. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3143. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  3144. - # but as the default
  3145. - # location of the library.
  3146. -
  3147. - case $cc_basename in
  3148. - CC*)
  3149. - # FIXME: insert proper C++ library support
  3150. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3151. - ;;
  3152. - aCC*)
  3153. - _LT_AC_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'
  3154. - # Commands to make compiler produce verbose output that lists
  3155. - # what "hidden" libraries, object files and flags are used when
  3156. - # linking a shared library.
  3157. - #
  3158. - # There doesn't appear to be a way to prevent this compiler from
  3159. - # explicitly linking system object files so we need to strip them
  3160. - # from the output so that they don't get included in the library
  3161. - # dependencies.
  3162. - 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 $list'
  3163. - ;;
  3164. - *)
  3165. - if test "$GXX" = yes; then
  3166. - _LT_AC_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'
  3167. - else
  3168. - # FIXME: insert proper C++ library support
  3169. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3170. - fi
  3171. - ;;
  3172. - esac
  3173. - ;;
  3174. - hpux10*|hpux11*)
  3175. - if test $with_gnu_ld = no; then
  3176. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  3177. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3178. -
  3179. - case $host_cpu in
  3180. - hppa*64*|ia64*)
  3181. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  3182. - ;;
  3183. - *)
  3184. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3185. - ;;
  3186. - esac
  3187. - fi
  3188. - case $host_cpu in
  3189. - hppa*64*|ia64*)
  3190. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3191. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3192. - ;;
  3193. - *)
  3194. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3195. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  3196. - # but as the default
  3197. - # location of the library.
  3198. - ;;
  3199. - esac
  3200. -
  3201. - case $cc_basename in
  3202. - CC*)
  3203. - # FIXME: insert proper C++ library support
  3204. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3205. - ;;
  3206. - aCC*)
  3207. - case $host_cpu in
  3208. - hppa*64*)
  3209. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3210. - ;;
  3211. - ia64*)
  3212. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3213. - ;;
  3214. - *)
  3215. - _LT_AC_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'
  3216. - ;;
  3217. - esac
  3218. - # Commands to make compiler produce verbose output that lists
  3219. - # what "hidden" libraries, object files and flags are used when
  3220. - # linking a shared library.
  3221. - #
  3222. - # There doesn't appear to be a way to prevent this compiler from
  3223. - # explicitly linking system object files so we need to strip them
  3224. - # from the output so that they don't get included in the library
  3225. - # dependencies.
  3226. - 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 $list'
  3227. - ;;
  3228. - *)
  3229. - if test "$GXX" = yes; then
  3230. - if test $with_gnu_ld = no; then
  3231. - case $host_cpu in
  3232. - hppa*64*)
  3233. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3234. - ;;
  3235. - ia64*)
  3236. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3237. - ;;
  3238. - *)
  3239. - _LT_AC_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'
  3240. - ;;
  3241. - esac
  3242. - fi
  3243. - else
  3244. - # FIXME: insert proper C++ library support
  3245. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3246. - fi
  3247. - ;;
  3248. - esac
  3249. - ;;
  3250. - interix3*)
  3251. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3252. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3253. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3254. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3255. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  3256. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  3257. - # default) and relocated if they conflict, which is a slow very memory
  3258. - # consuming and fragmenting process. To avoid this, we pick a random,
  3259. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  3260. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  3261. - _LT_AC_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'
  3262. - _LT_AC_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'
  3263. - ;;
  3264. - irix5* | irix6*)
  3265. - case $cc_basename in
  3266. - CC*)
  3267. - # SGI C++
  3268. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  3269. -
  3270. - # Archives containing C++ object files must be created using
  3271. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  3272. - # necessary to make sure instantiated templates are included
  3273. - # in the archive.
  3274. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  3275. - ;;
  3276. - *)
  3277. - if test "$GXX" = yes; then
  3278. - if test "$with_gnu_ld" = no; then
  3279. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  3280. - else
  3281. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
  3282. - fi
  3283. - fi
  3284. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3285. - ;;
  3286. - esac
  3287. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3288. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3289. - ;;
  3290. - linux*)
  3291. - case $cc_basename in
  3292. - KCC*)
  3293. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  3294. -
  3295. - # KCC will only create a shared library if the output file
  3296. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  3297. - # to its proper name (with version) after linking.
  3298. - _LT_AC_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'
  3299. - _LT_AC_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'
  3300. - # Commands to make compiler produce verbose output that lists
  3301. - # what "hidden" libraries, object files and flags are used when
  3302. - # linking a shared library.
  3303. - #
  3304. - # There doesn't appear to be a way to prevent this compiler from
  3305. - # explicitly linking system object files so we need to strip them
  3306. - # from the output so that they don't get included in the library
  3307. - # dependencies.
  3308. - 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 $list'
  3309. -
  3310. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
  3311. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3312. -
  3313. - # Archives containing C++ object files must be created using
  3314. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  3315. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  3316. - ;;
  3317. - icpc*)
  3318. - # Intel C++
  3319. - with_gnu_ld=yes
  3320. - # version 8.0 and above of icpc choke on multiply defined symbols
  3321. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  3322. - # earlier do not add the objects themselves.
  3323. - case `$CC -V 2>&1` in
  3324. - *"Version 7."*)
  3325. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3326. - _LT_AC_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'
  3327. - ;;
  3328. - *) # Version 8.0 or newer
  3329. - tmp_idyn=
  3330. - case $host_cpu in
  3331. - ia64*) tmp_idyn=' -i_dynamic';;
  3332. - esac
  3333. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3334. - _LT_AC_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'
  3335. - ;;
  3336. - esac
  3337. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3338. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3339. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3340. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  3341. - ;;
  3342. - pgCC*)
  3343. - # Portland Group C++ compiler
  3344. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  3345. - _LT_AC_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'
  3346. -
  3347. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  3348. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3349. - _LT_AC_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'
  3350. - ;;
  3351. - cxx*)
  3352. - # Compaq C++
  3353. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3354. - _LT_AC_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'
  3355. -
  3356. - runpath_var=LD_RUN_PATH
  3357. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  3358. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3359. -
  3360. - # Commands to make compiler produce verbose output that lists
  3361. - # what "hidden" libraries, object files and flags are used when
  3362. - # linking a shared library.
  3363. - #
  3364. - # There doesn't appear to be a way to prevent this compiler from
  3365. - # explicitly linking system object files so we need to strip them
  3366. - # from the output so that they don't get included in the library
  3367. - # dependencies.
  3368. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
  3369. - ;;
  3370. - esac
  3371. - ;;
  3372. - lynxos*)
  3373. - # FIXME: insert proper C++ library support
  3374. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3375. - ;;
  3376. - m88k*)
  3377. - # FIXME: insert proper C++ library support
  3378. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3379. - ;;
  3380. - mvs*)
  3381. - case $cc_basename in
  3382. - cxx*)
  3383. - # FIXME: insert proper C++ library support
  3384. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3385. - ;;
  3386. - *)
  3387. - # FIXME: insert proper C++ library support
  3388. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3389. - ;;
  3390. - esac
  3391. - ;;
  3392. - netbsd*)
  3393. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  3394. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  3395. - wlarc=
  3396. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3397. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3398. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3399. - fi
  3400. - # Workaround some broken pre-1.5 toolchains
  3401. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  3402. - ;;
  3403. - openbsd2*)
  3404. - # C++ shared libraries are fairly broken
  3405. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3406. - ;;
  3407. - openbsd*)
  3408. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3409. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3410. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  3411. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3412. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3413. - _LT_AC_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'
  3414. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  3415. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  3416. - fi
  3417. - output_verbose_link_cmd='echo'
  3418. - ;;
  3419. - osf3*)
  3420. - case $cc_basename in
  3421. - KCC*)
  3422. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  3423. -
  3424. - # KCC will only create a shared library if the output file
  3425. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  3426. - # to its proper name (with version) after linking.
  3427. - _LT_AC_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'
  3428. -
  3429. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3430. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3431. -
  3432. - # Archives containing C++ object files must be created using
  3433. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  3434. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  3435. -
  3436. - ;;
  3437. - RCC*)
  3438. - # Rational C++ 2.4.1
  3439. - # FIXME: insert proper C++ library support
  3440. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3441. - ;;
  3442. - cxx*)
  3443. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3444. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  3445. -
  3446. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3447. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3448. -
  3449. - # Commands to make compiler produce verbose output that lists
  3450. - # what "hidden" libraries, object files and flags are used when
  3451. - # linking a shared library.
  3452. - #
  3453. - # There doesn't appear to be a way to prevent this compiler from
  3454. - # explicitly linking system object files so we need to strip them
  3455. - # from the output so that they don't get included in the library
  3456. - # dependencies.
  3457. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
  3458. - ;;
  3459. - *)
  3460. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  3461. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3462. - _LT_AC_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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  3463. -
  3464. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3465. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3466. -
  3467. - # Commands to make compiler produce verbose output that lists
  3468. - # what "hidden" libraries, object files and flags are used when
  3469. - # linking a shared library.
  3470. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  3471. -
  3472. - else
  3473. - # FIXME: insert proper C++ library support
  3474. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3475. - fi
  3476. - ;;
  3477. - esac
  3478. - ;;
  3479. - osf4* | osf5*)
  3480. - case $cc_basename in
  3481. - KCC*)
  3482. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  3483. -
  3484. - # KCC will only create a shared library if the output file
  3485. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  3486. - # to its proper name (with version) after linking.
  3487. - _LT_AC_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'
  3488. -
  3489. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  3490. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3491. -
  3492. - # Archives containing C++ object files must be created using
  3493. - # the KAI C++ compiler.
  3494. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
  3495. - ;;
  3496. - RCC*)
  3497. - # Rational C++ 2.4.1
  3498. - # FIXME: insert proper C++ library support
  3499. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3500. - ;;
  3501. - cxx*)
  3502. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  3503. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  3504. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  3505. - echo "-hidden">> $lib.exp~
  3506. - $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~
  3507. - $rm $lib.exp'
  3508. -
  3509. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  3510. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3511. -
  3512. - # Commands to make compiler produce verbose output that lists
  3513. - # what "hidden" libraries, object files and flags are used when
  3514. - # linking a shared library.
  3515. - #
  3516. - # There doesn't appear to be a way to prevent this compiler from
  3517. - # explicitly linking system object files so we need to strip them
  3518. - # from the output so that they don't get included in the library
  3519. - # dependencies.
  3520. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
  3521. - ;;
  3522. - *)
  3523. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  3524. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  3525. - _LT_AC_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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  3526. -
  3527. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  3528. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  3529. -
  3530. - # Commands to make compiler produce verbose output that lists
  3531. - # what "hidden" libraries, object files and flags are used when
  3532. - # linking a shared library.
  3533. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  3534. -
  3535. - else
  3536. - # FIXME: insert proper C++ library support
  3537. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3538. - fi
  3539. - ;;
  3540. - esac
  3541. - ;;
  3542. - psos*)
  3543. - # FIXME: insert proper C++ library support
  3544. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3545. - ;;
  3546. - sunos4*)
  3547. - case $cc_basename in
  3548. - CC*)
  3549. - # Sun C++ 4.x
  3550. - # FIXME: insert proper C++ library support
  3551. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3552. - ;;
  3553. - lcc*)
  3554. - # Lucid
  3555. - # FIXME: insert proper C++ library support
  3556. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3557. - ;;
  3558. - *)
  3559. - # FIXME: insert proper C++ library support
  3560. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3561. - ;;
  3562. - esac
  3563. - ;;
  3564. - solaris*)
  3565. - case $cc_basename in
  3566. - CC*)
  3567. - # Sun C++ 4.2, 5.x and Centerline C++
  3568. - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
  3569. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  3570. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  3571. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3572. - $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'
  3573. -
  3574. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  3575. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3576. - case $host_os in
  3577. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  3578. - *)
  3579. - # The C++ compiler is used as linker so we must use $wl
  3580. - # flag to pass the commands to the underlying system
  3581. - # linker. We must also pass each convience library through
  3582. - # to the system linker between allextract/defaultextract.
  3583. - # The C++ compiler will combine linker options so we
  3584. - # cannot just pass the convience library names through
  3585. - # without $wl.
  3586. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  3587. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
  3588. - ;;
  3589. - esac
  3590. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3591. -
  3592. - output_verbose_link_cmd='echo'
  3593. -
  3594. - # Archives containing C++ object files must be created using
  3595. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  3596. - # necessary to make sure instantiated templates are included
  3597. - # in the archive.
  3598. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  3599. - ;;
  3600. - gcx*)
  3601. - # Green Hills C++ Compiler
  3602. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  3603. -
  3604. - # The C++ compiler must be used to create the archive.
  3605. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  3606. - ;;
  3607. - *)
  3608. - # GNU C++ compiler with Solaris linker
  3609. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  3610. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  3611. - if $CC --version | grep -v '^2\.7' > /dev/null; then
  3612. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  3613. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3614. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  3615. -
  3616. - # Commands to make compiler produce verbose output that lists
  3617. - # what "hidden" libraries, object files and flags are used when
  3618. - # linking a shared library.
  3619. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  3620. - else
  3621. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  3622. - # platform.
  3623. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  3624. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  3625. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  3626. -
  3627. - # Commands to make compiler produce verbose output that lists
  3628. - # what "hidden" libraries, object files and flags are used when
  3629. - # linking a shared library.
  3630. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  3631. - fi
  3632. -
  3633. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  3634. - fi
  3635. - ;;
  3636. - esac
  3637. - ;;
  3638. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  3639. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  3640. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3641. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3642. - runpath_var='LD_RUN_PATH'
  3643. -
  3644. - case $cc_basename in
  3645. - CC*)
  3646. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  3647. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  3648. - ;;
  3649. - *)
  3650. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  3651. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  3652. - ;;
  3653. - esac
  3654. - ;;
  3655. - sysv5* | sco3.2v5* | sco5v6*)
  3656. - # Note: We can NOT use -z defs as we might desire, because we do not
  3657. - # link with -lc, and that would cause any symbols used from libc to
  3658. - # always be unresolved, which means just about no library would
  3659. - # ever link correctly. If we're not using GNU ld we use -z text
  3660. - # though, which does catch some bad symbols but isn't as heavy-handed
  3661. - # as -z defs.
  3662. - # For security reasons, it is highly recommended that you always
  3663. - # use absolute paths for naming shared libraries, and exclude the
  3664. - # DT_RUNPATH tag from executables and libraries. But doing so
  3665. - # requires that you compile everything twice, which is a pain.
  3666. - # So that behaviour is only enabled if SCOABSPATH is set to a
  3667. - # non-empty value in the environment. Most likely only useful for
  3668. - # creating official distributions of packages.
  3669. - # This is a hack until libtool officially supports absolute path
  3670. - # names for shared libraries.
  3671. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  3672. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  3673. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3674. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  3675. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  3676. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  3677. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3678. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  3679. - runpath_var='LD_RUN_PATH'
  3680. -
  3681. - case $cc_basename in
  3682. - CC*)
  3683. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3684. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3685. - ;;
  3686. - *)
  3687. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3688. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  3689. - ;;
  3690. - esac
  3691. - ;;
  3692. - tandem*)
  3693. - case $cc_basename in
  3694. - NCC*)
  3695. - # NonStop-UX NCC 3.20
  3696. - # FIXME: insert proper C++ library support
  3697. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3698. - ;;
  3699. - *)
  3700. - # FIXME: insert proper C++ library support
  3701. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3702. - ;;
  3703. - esac
  3704. - ;;
  3705. - vxworks*)
  3706. - # FIXME: insert proper C++ library support
  3707. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3708. - ;;
  3709. - *)
  3710. - # FIXME: insert proper C++ library support
  3711. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3712. - ;;
  3713. -esac
  3714. -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  3715. -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  3716. -
  3717. -_LT_AC_TAGVAR(GCC, $1)="$GXX"
  3718. -_LT_AC_TAGVAR(LD, $1)="$LD"
  3719. -
  3720. -AC_LIBTOOL_POSTDEP_PREDEP($1)
  3721. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3722. -AC_LIBTOOL_PROG_CC_C_O($1)
  3723. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3724. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3725. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3726. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3727. -
  3728. -AC_LIBTOOL_CONFIG($1)
  3729. -
  3730. -AC_LANG_POP
  3731. -CC=$lt_save_CC
  3732. -LDCXX=$LD
  3733. -LD=$lt_save_LD
  3734. -GCC=$lt_save_GCC
  3735. -with_gnu_ldcxx=$with_gnu_ld
  3736. -with_gnu_ld=$lt_save_with_gnu_ld
  3737. -lt_cv_path_LDCXX=$lt_cv_path_LD
  3738. -lt_cv_path_LD=$lt_save_path_LD
  3739. -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  3740. -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  3741. -])# AC_LIBTOOL_LANG_CXX_CONFIG
  3742. -
  3743. -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
  3744. -# ------------------------------------
  3745. -# Figure out "hidden" library dependencies from verbose
  3746. -# compiler output when linking a shared library.
  3747. -# Parse the compiler output and extract the necessary
  3748. -# objects, libraries and library flags.
  3749. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
  3750. -dnl we can't use the lt_simple_compile_test_code here,
  3751. -dnl because it contains code intended for an executable,
  3752. -dnl not a library. It's possible we should let each
  3753. -dnl tag define a new lt_????_link_test_code variable,
  3754. -dnl but it's only used here...
  3755. -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
  3756. -int a;
  3757. -void foo (void) { a = 0; }
  3758. -EOF
  3759. -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
  3760. -class Foo
  3761. -{
  3762. -public:
  3763. - Foo (void) { a = 0; }
  3764. -private:
  3765. - int a;
  3766. -};
  3767. -EOF
  3768. -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
  3769. - subroutine foo
  3770. - implicit none
  3771. - integer*4 a
  3772. - a=0
  3773. - return
  3774. - end
  3775. -EOF
  3776. -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
  3777. -public class foo {
  3778. - private int a;
  3779. - public void bar (void) {
  3780. - a = 0;
  3781. - }
  3782. -};
  3783. -EOF
  3784. -])
  3785. -dnl Parse the compiler output and extract the necessary
  3786. -dnl objects, libraries and library flags.
  3787. -if AC_TRY_EVAL(ac_compile); then
  3788. - # Parse the compiler output and extract the necessary
  3789. - # objects, libraries and library flags.
  3790. -
  3791. - # Sentinel used to keep track of whether or not we are before
  3792. - # the conftest object file.
  3793. - pre_test_object_deps_done=no
  3794. -
  3795. - # The `*' in the case matches for architectures that use `case' in
  3796. - # $output_verbose_cmd can trigger glob expansion during the loop
  3797. - # eval without this substitution.
  3798. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
  3799. -
  3800. - for p in `eval $output_verbose_link_cmd`; do
  3801. - case $p in
  3802. -
  3803. - -L* | -R* | -l*)
  3804. - # Some compilers place space between "-{L,R}" and the path.
  3805. - # Remove the space.
  3806. - if test $p = "-L" \
  3807. - || test $p = "-R"; then
  3808. - prev=$p
  3809. - continue
  3810. - else
  3811. - prev=
  3812. - fi
  3813. -
  3814. - if test "$pre_test_object_deps_done" = no; then
  3815. - case $p in
  3816. - -L* | -R*)
  3817. - # Internal compiler library paths should come after those
  3818. - # provided the user. The postdeps already come after the
  3819. - # user supplied libs so there is no need to process them.
  3820. - if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
  3821. - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  3822. - else
  3823. - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  3824. - fi
  3825. - ;;
  3826. - # The "-l" case would never come before the object being
  3827. - # linked, so don't bother handling this case.
  3828. - esac
  3829. - else
  3830. - if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
  3831. - _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
  3832. - else
  3833. - _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
  3834. - fi
  3835. - fi
  3836. - ;;
  3837. -
  3838. - *.$objext)
  3839. - # This assumes that the test object file only shows up
  3840. - # once in the compiler output.
  3841. - if test "$p" = "conftest.$objext"; then
  3842. - pre_test_object_deps_done=yes
  3843. - continue
  3844. - fi
  3845. -
  3846. - if test "$pre_test_object_deps_done" = no; then
  3847. - if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
  3848. - _LT_AC_TAGVAR(predep_objects, $1)="$p"
  3849. - else
  3850. - _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
  3851. - fi
  3852. - else
  3853. - if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
  3854. - _LT_AC_TAGVAR(postdep_objects, $1)="$p"
  3855. - else
  3856. - _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
  3857. - fi
  3858. - fi
  3859. - ;;
  3860. -
  3861. - *) ;; # Ignore the rest.
  3862. -
  3863. - esac
  3864. - done
  3865. -
  3866. - # Clean up.
  3867. - rm -f a.out a.exe
  3868. -else
  3869. - echo "libtool.m4: error: problem compiling $1 test program"
  3870. -fi
  3871. -
  3872. -$rm -f confest.$objext
  3873. -
  3874. -# PORTME: override above test on systems where it is broken
  3875. -ifelse([$1],[CXX],
  3876. -[case $host_os in
  3877. -interix3*)
  3878. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  3879. - # hack all around it, let's just trust "g++" to DTRT.
  3880. - _LT_AC_TAGVAR(predep_objects,$1)=
  3881. - _LT_AC_TAGVAR(postdep_objects,$1)=
  3882. - _LT_AC_TAGVAR(postdeps,$1)=
  3883. - ;;
  3884. -
  3885. -solaris*)
  3886. - case $cc_basename in
  3887. - CC*)
  3888. - # Adding this requires a known-good setup of shared libraries for
  3889. - # Sun compiler versions before 5.6, else PIC objects from an old
  3890. - # archive will be linked into the output, leading to subtle bugs.
  3891. - _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
  3892. - ;;
  3893. - esac
  3894. - ;;
  3895. -esac
  3896. -])
  3897. -
  3898. -case " $_LT_AC_TAGVAR(postdeps, $1) " in
  3899. -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  3900. -esac
  3901. -])# AC_LIBTOOL_POSTDEP_PREDEP
  3902. -
  3903. -# AC_LIBTOOL_LANG_F77_CONFIG
  3904. -# --------------------------
  3905. -# Ensure that the configuration vars for the C compiler are
  3906. -# suitably defined. Those variables are subsequently used by
  3907. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3908. -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
  3909. -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
  3910. -[AC_REQUIRE([AC_PROG_F77])
  3911. -AC_LANG_PUSH(Fortran 77)
  3912. -
  3913. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3914. -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  3915. -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  3916. -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  3917. -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  3918. -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  3919. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  3920. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  3921. -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3922. -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  3923. -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  3924. -_LT_AC_TAGVAR(module_cmds, $1)=
  3925. -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  3926. -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  3927. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  3928. -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  3929. -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3930. -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  3931. -
  3932. -# Source file extension for f77 test sources.
  3933. -ac_ext=f
  3934. -
  3935. -# Object file extension for compiled f77 test sources.
  3936. -objext=o
  3937. -_LT_AC_TAGVAR(objext, $1)=$objext
  3938. -
  3939. -# Code to be used in simple compile tests
  3940. -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
  3941. -
  3942. -# Code to be used in simple link tests
  3943. -lt_simple_link_test_code=" program t\n end\n"
  3944. -
  3945. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  3946. -_LT_AC_SYS_COMPILER
  3947. -
  3948. -# save warnings/boilerplate of simple test code
  3949. -_LT_COMPILER_BOILERPLATE
  3950. -_LT_LINKER_BOILERPLATE
  3951. -
  3952. -# Allow CC to be a program name with arguments.
  3953. -lt_save_CC="$CC"
  3954. -CC=${F77-"f77"}
  3955. -compiler=$CC
  3956. -_LT_AC_TAGVAR(compiler, $1)=$CC
  3957. -_LT_CC_BASENAME([$compiler])
  3958. -
  3959. -AC_MSG_CHECKING([if libtool supports shared libraries])
  3960. -AC_MSG_RESULT([$can_build_shared])
  3961. -
  3962. -AC_MSG_CHECKING([whether to build shared libraries])
  3963. -test "$can_build_shared" = "no" && enable_shared=no
  3964. -
  3965. -# On AIX, shared libraries and static libraries use the same namespace, and
  3966. -# are all built from PIC.
  3967. -case $host_os in
  3968. -aix3*)
  3969. - test "$enable_shared" = yes && enable_static=no
  3970. - if test -n "$RANLIB"; then
  3971. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  3972. - postinstall_cmds='$RANLIB $lib'
  3973. - fi
  3974. - ;;
  3975. -aix4* | aix5*)
  3976. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  3977. - test "$enable_shared" = yes && enable_static=no
  3978. - fi
  3979. - ;;
  3980. -esac
  3981. -AC_MSG_RESULT([$enable_shared])
  3982. -
  3983. -AC_MSG_CHECKING([whether to build static libraries])
  3984. -# Make sure either enable_shared or enable_static is yes.
  3985. -test "$enable_shared" = yes || enable_static=yes
  3986. -AC_MSG_RESULT([$enable_static])
  3987. -
  3988. -_LT_AC_TAGVAR(GCC, $1)="$G77"
  3989. -_LT_AC_TAGVAR(LD, $1)="$LD"
  3990. -
  3991. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3992. -AC_LIBTOOL_PROG_CC_C_O($1)
  3993. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3994. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3995. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3996. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3997. -
  3998. -AC_LIBTOOL_CONFIG($1)
  3999. -
  4000. -AC_LANG_POP
  4001. -CC="$lt_save_CC"
  4002. -])# AC_LIBTOOL_LANG_F77_CONFIG
  4003. -
  4004. -
  4005. -# AC_LIBTOOL_LANG_GCJ_CONFIG
  4006. -# --------------------------
  4007. -# Ensure that the configuration vars for the C compiler are
  4008. -# suitably defined. Those variables are subsequently used by
  4009. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  4010. -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
  4011. -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
  4012. -[AC_LANG_SAVE
  4013. -
  4014. -# Source file extension for Java test sources.
  4015. -ac_ext=java
  4016. -
  4017. -# Object file extension for compiled Java test sources.
  4018. -objext=o
  4019. -_LT_AC_TAGVAR(objext, $1)=$objext
  4020. -
  4021. -# Code to be used in simple compile tests
  4022. -lt_simple_compile_test_code="class foo {}\n"
  4023. -
  4024. -# Code to be used in simple link tests
  4025. -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
  4026. -
  4027. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  4028. -_LT_AC_SYS_COMPILER
  4029. -
  4030. -# save warnings/boilerplate of simple test code
  4031. -_LT_COMPILER_BOILERPLATE
  4032. -_LT_LINKER_BOILERPLATE
  4033. -
  4034. -# Allow CC to be a program name with arguments.
  4035. -lt_save_CC="$CC"
  4036. -CC=${GCJ-"gcj"}
  4037. -compiler=$CC
  4038. -_LT_AC_TAGVAR(compiler, $1)=$CC
  4039. -_LT_CC_BASENAME([$compiler])
  4040. -
  4041. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  4042. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4043. -
  4044. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  4045. -
  4046. -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  4047. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  4048. -AC_LIBTOOL_PROG_CC_C_O($1)
  4049. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  4050. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  4051. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  4052. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  4053. -
  4054. -AC_LIBTOOL_CONFIG($1)
  4055. -
  4056. -AC_LANG_RESTORE
  4057. -CC="$lt_save_CC"
  4058. -])# AC_LIBTOOL_LANG_GCJ_CONFIG
  4059. -
  4060. -
  4061. -# AC_LIBTOOL_LANG_RC_CONFIG
  4062. -# -------------------------
  4063. -# Ensure that the configuration vars for the Windows resource compiler are
  4064. -# suitably defined. Those variables are subsequently used by
  4065. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  4066. -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
  4067. -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
  4068. -[AC_LANG_SAVE
  4069. -
  4070. -# Source file extension for RC test sources.
  4071. -ac_ext=rc
  4072. -
  4073. -# Object file extension for compiled RC test sources.
  4074. -objext=o
  4075. -_LT_AC_TAGVAR(objext, $1)=$objext
  4076. -
  4077. -# Code to be used in simple compile tests
  4078. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
  4079. -
  4080. -# Code to be used in simple link tests
  4081. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  4082. -
  4083. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  4084. -_LT_AC_SYS_COMPILER
  4085. -
  4086. -# save warnings/boilerplate of simple test code
  4087. -_LT_COMPILER_BOILERPLATE
  4088. -_LT_LINKER_BOILERPLATE
  4089. -
  4090. -# Allow CC to be a program name with arguments.
  4091. -lt_save_CC="$CC"
  4092. -CC=${RC-"windres"}
  4093. -compiler=$CC
  4094. -_LT_AC_TAGVAR(compiler, $1)=$CC
  4095. -_LT_CC_BASENAME([$compiler])
  4096. -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  4097. -
  4098. -AC_LIBTOOL_CONFIG($1)
  4099. -
  4100. -AC_LANG_RESTORE
  4101. -CC="$lt_save_CC"
  4102. -])# AC_LIBTOOL_LANG_RC_CONFIG
  4103. -
  4104. -
  4105. -# AC_LIBTOOL_CONFIG([TAGNAME])
  4106. -# ----------------------------
  4107. -# If TAGNAME is not passed, then create an initial libtool script
  4108. -# with a default configuration from the untagged config vars. Otherwise
  4109. -# add code to config.status for appending the configuration named by
  4110. -# TAGNAME from the matching tagged config vars.
  4111. -AC_DEFUN([AC_LIBTOOL_CONFIG],
  4112. -[# The else clause should only fire when bootstrapping the
  4113. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  4114. -# with your package, and you will get complaints that there are
  4115. -# no rules to generate ltmain.sh.
  4116. -if test -f "$ltmain"; then
  4117. - # See if we are running on zsh, and set the options which allow our commands through
  4118. - # without removal of \ escapes.
  4119. - if test -n "${ZSH_VERSION+set}" ; then
  4120. - setopt NO_GLOB_SUBST
  4121. - fi
  4122. - # Now quote all the things that may contain metacharacters while being
  4123. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  4124. - # variables and quote the copies for generation of the libtool script.
  4125. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  4126. - SED SHELL STRIP \
  4127. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  4128. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  4129. - deplibs_check_method reload_flag reload_cmds need_locks \
  4130. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  4131. - lt_cv_sys_global_symbol_to_c_name_address \
  4132. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  4133. - old_postinstall_cmds old_postuninstall_cmds \
  4134. - _LT_AC_TAGVAR(compiler, $1) \
  4135. - _LT_AC_TAGVAR(CC, $1) \
  4136. - _LT_AC_TAGVAR(LD, $1) \
  4137. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
  4138. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
  4139. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
  4140. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
  4141. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
  4142. - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
  4143. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
  4144. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
  4145. - _LT_AC_TAGVAR(old_archive_cmds, $1) \
  4146. - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
  4147. - _LT_AC_TAGVAR(predep_objects, $1) \
  4148. - _LT_AC_TAGVAR(postdep_objects, $1) \
  4149. - _LT_AC_TAGVAR(predeps, $1) \
  4150. - _LT_AC_TAGVAR(postdeps, $1) \
  4151. - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
  4152. - _LT_AC_TAGVAR(archive_cmds, $1) \
  4153. - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
  4154. - _LT_AC_TAGVAR(postinstall_cmds, $1) \
  4155. - _LT_AC_TAGVAR(postuninstall_cmds, $1) \
  4156. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
  4157. - _LT_AC_TAGVAR(allow_undefined_flag, $1) \
  4158. - _LT_AC_TAGVAR(no_undefined_flag, $1) \
  4159. - _LT_AC_TAGVAR(export_symbols_cmds, $1) \
  4160. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
  4161. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
  4162. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
  4163. - _LT_AC_TAGVAR(hardcode_automatic, $1) \
  4164. - _LT_AC_TAGVAR(module_cmds, $1) \
  4165. - _LT_AC_TAGVAR(module_expsym_cmds, $1) \
  4166. - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
  4167. - _LT_AC_TAGVAR(exclude_expsyms, $1) \
  4168. - _LT_AC_TAGVAR(include_expsyms, $1); do
  4169. -
  4170. - case $var in
  4171. - _LT_AC_TAGVAR(old_archive_cmds, $1) | \
  4172. - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
  4173. - _LT_AC_TAGVAR(archive_cmds, $1) | \
  4174. - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
  4175. - _LT_AC_TAGVAR(module_cmds, $1) | \
  4176. - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
  4177. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
  4178. - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
  4179. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  4180. - postinstall_cmds | postuninstall_cmds | \
  4181. - old_postinstall_cmds | old_postuninstall_cmds | \
  4182. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  4183. - # Double-quote double-evaled strings.
  4184. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  4185. - ;;
  4186. - *)
  4187. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  4188. - ;;
  4189. - esac
  4190. - done
  4191. -
  4192. - case $lt_echo in
  4193. - *'\[$]0 --fallback-echo"')
  4194. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
  4195. - ;;
  4196. - esac
  4197. -
  4198. -ifelse([$1], [],
  4199. - [cfgfile="${ofile}T"
  4200. - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  4201. - $rm -f "$cfgfile"
  4202. - AC_MSG_NOTICE([creating $ofile])],
  4203. - [cfgfile="$ofile"])
  4204. -
  4205. - cat <<__EOF__ >> "$cfgfile"
  4206. -ifelse([$1], [],
  4207. -[#! $SHELL
  4208. -
  4209. -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  4210. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  4211. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  4212. -#
  4213. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  4214. -# Free Software Foundation, Inc.
  4215. -#
  4216. -# This file is part of GNU Libtool:
  4217. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  4218. -#
  4219. -# This program is free software; you can redistribute it and/or modify
  4220. -# it under the terms of the GNU General Public License as published by
  4221. -# the Free Software Foundation; either version 2 of the License, or
  4222. -# (at your option) any later version.
  4223. -#
  4224. -# This program is distributed in the hope that it will be useful, but
  4225. -# WITHOUT ANY WARRANTY; without even the implied warranty of
  4226. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  4227. -# General Public License for more details.
  4228. -#
  4229. -# You should have received a copy of the GNU General Public License
  4230. -# along with this program; if not, write to the Free Software
  4231. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  4232. -#
  4233. -# As a special exception to the GNU General Public License, if you
  4234. -# distribute this file as part of a program that contains a
  4235. -# configuration script generated by Autoconf, you may include it under
  4236. -# the same distribution terms that you use for the rest of that program.
  4237. -
  4238. -# A sed program that does not truncate output.
  4239. -SED=$lt_SED
  4240. -
  4241. -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  4242. -Xsed="$SED -e 1s/^X//"
  4243. -
  4244. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  4245. -# if CDPATH is set.
  4246. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4247. -
  4248. -# The names of the tagged configurations supported by this script.
  4249. -available_tags=
  4250. -
  4251. -# ### BEGIN LIBTOOL CONFIG],
  4252. -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
  4253. -
  4254. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  4255. -
  4256. -# Shell to use when invoking shell scripts.
  4257. -SHELL=$lt_SHELL
  4258. -
  4259. -# Whether or not to build shared libraries.
  4260. -build_libtool_libs=$enable_shared
  4261. -
  4262. -# Whether or not to build static libraries.
  4263. -build_old_libs=$enable_static
  4264. -
  4265. -# Whether or not to add -lc for building shared libraries.
  4266. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
  4267. -
  4268. -# Whether or not to disallow shared libs when runtime libs are static
  4269. -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
  4270. -
  4271. -# Whether or not to optimize for fast installation.
  4272. -fast_install=$enable_fast_install
  4273. -
  4274. -# The host system.
  4275. -host_alias=$host_alias
  4276. -host=$host
  4277. -host_os=$host_os
  4278. -
  4279. -# The build system.
  4280. -build_alias=$build_alias
  4281. -build=$build
  4282. -build_os=$build_os
  4283. -
  4284. -# An echo program that does not interpret backslashes.
  4285. -echo=$lt_echo
  4286. -
  4287. -# The archiver.
  4288. -AR=$lt_AR
  4289. -AR_FLAGS=$lt_AR_FLAGS
  4290. -
  4291. -# A C compiler.
  4292. -LTCC=$lt_LTCC
  4293. -
  4294. -# LTCC compiler flags.
  4295. -LTCFLAGS=$lt_LTCFLAGS
  4296. -
  4297. -# A language-specific compiler.
  4298. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
  4299. -
  4300. -# Is the compiler the GNU C compiler?
  4301. -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
  4302. -
  4303. -# An ERE matcher.
  4304. -EGREP=$lt_EGREP
  4305. -
  4306. -# The linker used to build libraries.
  4307. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
  4308. -
  4309. -# Whether we need hard or soft links.
  4310. -LN_S=$lt_LN_S
  4311. -
  4312. -# A BSD-compatible nm program.
  4313. -NM=$lt_NM
  4314. -
  4315. -# A symbol stripping program
  4316. -STRIP=$lt_STRIP
  4317. -
  4318. -# Used to examine libraries when file_magic_cmd begins "file"
  4319. -MAGIC_CMD=$MAGIC_CMD
  4320. -
  4321. -# Used on cygwin: DLL creation program.
  4322. -DLLTOOL="$DLLTOOL"
  4323. -
  4324. -# Used on cygwin: object dumper.
  4325. -OBJDUMP="$OBJDUMP"
  4326. -
  4327. -# Used on cygwin: assembler.
  4328. -AS="$AS"
  4329. -
  4330. -# The name of the directory that contains temporary libtool files.
  4331. -objdir=$objdir
  4332. -
  4333. -# How to create reloadable object files.
  4334. -reload_flag=$lt_reload_flag
  4335. -reload_cmds=$lt_reload_cmds
  4336. -
  4337. -# How to pass a linker flag through the compiler.
  4338. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  4339. -
  4340. -# Object file suffix (normally "o").
  4341. -objext="$ac_objext"
  4342. -
  4343. -# Old archive suffix (normally "a").
  4344. -libext="$libext"
  4345. -
  4346. -# Shared library suffix (normally ".so").
  4347. -shrext_cmds='$shrext_cmds'
  4348. -
  4349. -# Executable file suffix (normally "").
  4350. -exeext="$exeext"
  4351. -
  4352. -# Additional compiler flags for building library objects.
  4353. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  4354. -pic_mode=$pic_mode
  4355. -
  4356. -# What is the maximum length of a command?
  4357. -max_cmd_len=$lt_cv_sys_max_cmd_len
  4358. -
  4359. -# Does compiler simultaneously support -c and -o options?
  4360. -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
  4361. -
  4362. -# Must we lock files when doing compilation?
  4363. -need_locks=$lt_need_locks
  4364. -
  4365. -# Do we need the lib prefix for modules?
  4366. -need_lib_prefix=$need_lib_prefix
  4367. -
  4368. -# Do we need a version for libraries?
  4369. -need_version=$need_version
  4370. -
  4371. -# Whether dlopen is supported.
  4372. -dlopen_support=$enable_dlopen
  4373. -
  4374. -# Whether dlopen of programs is supported.
  4375. -dlopen_self=$enable_dlopen_self
  4376. -
  4377. -# Whether dlopen of statically linked programs is supported.
  4378. -dlopen_self_static=$enable_dlopen_self_static
  4379. -
  4380. -# Compiler flag to prevent dynamic linking.
  4381. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
  4382. -
  4383. -# Compiler flag to turn off builtin functions.
  4384. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
  4385. -
  4386. -# Compiler flag to allow reflexive dlopens.
  4387. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
  4388. -
  4389. -# Compiler flag to generate shared objects directly from archives.
  4390. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
  4391. -
  4392. -# Compiler flag to generate thread-safe objects.
  4393. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
  4394. -
  4395. -# Library versioning type.
  4396. -version_type=$version_type
  4397. -
  4398. -# Format of library name prefix.
  4399. -libname_spec=$lt_libname_spec
  4400. -
  4401. -# List of archive names. First name is the real one, the rest are links.
  4402. -# The last name is the one that the linker finds with -lNAME.
  4403. -library_names_spec=$lt_library_names_spec
  4404. -
  4405. -# The coded name of the library, if different from the real name.
  4406. -soname_spec=$lt_soname_spec
  4407. -
  4408. -# Commands used to build and install an old-style archive.
  4409. -RANLIB=$lt_RANLIB
  4410. -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
  4411. -old_postinstall_cmds=$lt_old_postinstall_cmds
  4412. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  4413. -
  4414. -# Create an old-style archive from a shared archive.
  4415. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
  4416. -
  4417. -# Create a temporary old-style archive to link instead of a shared archive.
  4418. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
  4419. -
  4420. -# Commands used to build and install a shared archive.
  4421. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
  4422. -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
  4423. -postinstall_cmds=$lt_postinstall_cmds
  4424. -postuninstall_cmds=$lt_postuninstall_cmds
  4425. -
  4426. -# Commands used to build a loadable module (assumed same as above if empty)
  4427. -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
  4428. -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
  4429. -
  4430. -# Commands to strip libraries.
  4431. -old_striplib=$lt_old_striplib
  4432. -striplib=$lt_striplib
  4433. -
  4434. -# Dependencies to place before the objects being linked to create a
  4435. -# shared library.
  4436. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
  4437. -
  4438. -# Dependencies to place after the objects being linked to create a
  4439. -# shared library.
  4440. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
  4441. -
  4442. -# Dependencies to place before the objects being linked to create a
  4443. -# shared library.
  4444. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
  4445. -
  4446. -# Dependencies to place after the objects being linked to create a
  4447. -# shared library.
  4448. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
  4449. -
  4450. -# The library search path used internally by the compiler when linking
  4451. -# a shared library.
  4452. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
  4453. -
  4454. -# Method to check whether dependent libraries are shared objects.
  4455. -deplibs_check_method=$lt_deplibs_check_method
  4456. -
  4457. -# Command to use when deplibs_check_method == file_magic.
  4458. -file_magic_cmd=$lt_file_magic_cmd
  4459. -
  4460. -# Flag that allows shared libraries with undefined symbols to be built.
  4461. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
  4462. -
  4463. -# Flag that forces no undefined symbols.
  4464. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
  4465. -
  4466. -# Commands used to finish a libtool library installation in a directory.
  4467. -finish_cmds=$lt_finish_cmds
  4468. -
  4469. -# Same as above, but a single script fragment to be evaled but not shown.
  4470. -finish_eval=$lt_finish_eval
  4471. -
  4472. -# Take the output of nm and produce a listing of raw symbols and C names.
  4473. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  4474. -
  4475. -# Transform the output of nm in a proper C declaration
  4476. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  4477. -
  4478. -# Transform the output of nm in a C name address pair
  4479. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  4480. -
  4481. -# This is the shared library runtime path variable.
  4482. -runpath_var=$runpath_var
  4483. -
  4484. -# This is the shared library path variable.
  4485. -shlibpath_var=$shlibpath_var
  4486. -
  4487. -# Is shlibpath searched before the hard-coded library search path?
  4488. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  4489. -
  4490. -# How to hardcode a shared library path into an executable.
  4491. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
  4492. -
  4493. -# Whether we should hardcode library paths into libraries.
  4494. -hardcode_into_libs=$hardcode_into_libs
  4495. -
  4496. -# Flag to hardcode \$libdir into a binary during linking.
  4497. -# This must work even if \$libdir does not exist.
  4498. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  4499. -
  4500. -# If ld is used when linking, flag to hardcode \$libdir into
  4501. -# a binary during linking. This must work even if \$libdir does
  4502. -# not exist.
  4503. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
  4504. -
  4505. -# Whether we need a single -rpath flag with a separated argument.
  4506. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
  4507. -
  4508. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  4509. -# resulting binary.
  4510. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
  4511. -
  4512. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  4513. -# resulting binary.
  4514. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
  4515. -
  4516. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  4517. -# the resulting binary.
  4518. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
  4519. -
  4520. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  4521. -# and all subsequent libraries and executables linked against it.
  4522. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
  4523. -
  4524. -# Variables whose values should be saved in libtool wrapper scripts and
  4525. -# restored at relink time.
  4526. -variables_saved_for_relink="$variables_saved_for_relink"
  4527. -
  4528. -# Whether libtool must link a program against all its dependency libraries.
  4529. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
  4530. -
  4531. -# Compile-time system search path for libraries
  4532. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  4533. -
  4534. -# Run-time system search path for libraries
  4535. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  4536. -
  4537. -# Fix the shell variable \$srcfile for the compiler.
  4538. -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
  4539. -
  4540. -# Set to yes if exported symbols are required.
  4541. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
  4542. -
  4543. -# The commands to list exported symbols.
  4544. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
  4545. -
  4546. -# The commands to extract the exported symbol list from a shared archive.
  4547. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  4548. -
  4549. -# Symbols that should not be listed in the preloaded symbols.
  4550. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
  4551. -
  4552. -# Symbols that must always be exported.
  4553. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
  4554. -
  4555. -ifelse([$1],[],
  4556. -[# ### END LIBTOOL CONFIG],
  4557. -[# ### END LIBTOOL TAG CONFIG: $tagname])
  4558. -
  4559. -__EOF__
  4560. -
  4561. -ifelse([$1],[], [
  4562. - case $host_os in
  4563. - aix3*)
  4564. - cat <<\EOF >> "$cfgfile"
  4565. -
  4566. -# AIX sometimes has problems with the GCC collect2 program. For some
  4567. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  4568. -# vanish in a puff of smoke.
  4569. -if test "X${COLLECT_NAMES+set}" != Xset; then
  4570. - COLLECT_NAMES=
  4571. - export COLLECT_NAMES
  4572. -fi
  4573. -EOF
  4574. - ;;
  4575. - esac
  4576. -
  4577. - # We use sed instead of cat because bash on DJGPP gets confused if
  4578. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  4579. - # text mode, it properly converts lines to CR/LF. This bash problem
  4580. - # is reportedly fixed, but why not run on old versions too?
  4581. - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  4582. -
  4583. - mv -f "$cfgfile" "$ofile" || \
  4584. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  4585. - chmod +x "$ofile"
  4586. -])
  4587. -else
  4588. - # If there is no Makefile yet, we rely on a make rule to execute
  4589. - # `config.status --recheck' to rerun these tests and create the
  4590. - # libtool script then.
  4591. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  4592. - if test -f "$ltmain_in"; then
  4593. - test -f Makefile && make "$ltmain"
  4594. - fi
  4595. -fi
  4596. -])# AC_LIBTOOL_CONFIG
  4597. -
  4598. -
  4599. -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
  4600. -# -------------------------------------------
  4601. -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
  4602. -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  4603. -
  4604. -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  4605. -
  4606. -if test "$GCC" = yes; then
  4607. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  4608. -
  4609. - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  4610. - lt_cv_prog_compiler_rtti_exceptions,
  4611. - [-fno-rtti -fno-exceptions], [],
  4612. - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  4613. -fi
  4614. -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
  4615. -
  4616. -
  4617. -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  4618. -# ---------------------------------
  4619. -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  4620. -[AC_REQUIRE([AC_CANONICAL_HOST])
  4621. -AC_REQUIRE([AC_PROG_NM])
  4622. -AC_REQUIRE([AC_OBJEXT])
  4623. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  4624. -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  4625. -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  4626. -[
  4627. -# These are sane defaults that work on at least a few old systems.
  4628. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  4629. -
  4630. -# Character class describing NM global symbol codes.
  4631. -symcode='[[BCDEGRST]]'
  4632. -
  4633. -# Regexp to match symbols that can be accessed directly from C.
  4634. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  4635. -
  4636. -# Transform an extracted symbol line into a proper C declaration
  4637. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  4638. -
  4639. -# Transform an extracted symbol line into symbol name and symbol address
  4640. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  4641. -
  4642. -# Define system-specific variables.
  4643. -case $host_os in
  4644. -aix*)
  4645. - symcode='[[BCDT]]'
  4646. - ;;
  4647. -cygwin* | mingw* | pw32*)
  4648. - symcode='[[ABCDGISTW]]'
  4649. - ;;
  4650. -hpux*) # Its linker distinguishes data from code symbols
  4651. - if test "$host_cpu" = ia64; then
  4652. - symcode='[[ABCDEGRST]]'
  4653. - fi
  4654. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  4655. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  4656. - ;;
  4657. -linux*)
  4658. - if test "$host_cpu" = ia64; then
  4659. - symcode='[[ABCDGIRSTW]]'
  4660. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  4661. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  4662. - fi
  4663. - ;;
  4664. -irix* | nonstopux*)
  4665. - symcode='[[BCDEGRST]]'
  4666. - ;;
  4667. -osf*)
  4668. - symcode='[[BCDEGQRST]]'
  4669. - ;;
  4670. -solaris*)
  4671. - symcode='[[BDRT]]'
  4672. - ;;
  4673. -sco3.2v5*)
  4674. - symcode='[[DT]]'
  4675. - ;;
  4676. -sysv4.2uw2*)
  4677. - symcode='[[DT]]'
  4678. - ;;
  4679. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  4680. - symcode='[[ABDT]]'
  4681. - ;;
  4682. -sysv4)
  4683. - symcode='[[DFNSTU]]'
  4684. - ;;
  4685. -esac
  4686. -
  4687. -# Handle CRLF in mingw tool chain
  4688. -opt_cr=
  4689. -case $build_os in
  4690. -mingw*)
  4691. - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  4692. - ;;
  4693. -esac
  4694. -
  4695. -# If we're using GNU nm, then use its standard symbol codes.
  4696. -case `$NM -V 2>&1` in
  4697. -*GNU* | *'with BFD'*)
  4698. - symcode='[[ABCDGIRSTW]]' ;;
  4699. -esac
  4700. -
  4701. -# Try without a prefix undercore, then with it.
  4702. -for ac_symprfx in "" "_"; do
  4703. -
  4704. - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  4705. - symxfrm="\\1 $ac_symprfx\\2 \\2"
  4706. -
  4707. - # Write the raw and C identifiers.
  4708. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  4709. -
  4710. - # Check to see that the pipe works correctly.
  4711. - pipe_works=no
  4712. -
  4713. - rm -f conftest*
  4714. - cat > conftest.$ac_ext <<EOF
  4715. -#ifdef __cplusplus
  4716. -extern "C" {
  4717. -#endif
  4718. -char nm_test_var;
  4719. -void nm_test_func(){}
  4720. -#ifdef __cplusplus
  4721. -}
  4722. -#endif
  4723. -int main(){nm_test_var='a';nm_test_func();return(0);}
  4724. -EOF
  4725. -
  4726. - if AC_TRY_EVAL(ac_compile); then
  4727. - # Now try to grab the symbols.
  4728. - nlist=conftest.nm
  4729. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  4730. - # Try sorting and uniquifying the output.
  4731. - if sort "$nlist" | uniq > "$nlist"T; then
  4732. - mv -f "$nlist"T "$nlist"
  4733. - else
  4734. - rm -f "$nlist"T
  4735. - fi
  4736. -
  4737. - # Make sure that we snagged all the symbols we need.
  4738. - if grep ' nm_test_var$' "$nlist" >/dev/null; then
  4739. - if grep ' nm_test_func$' "$nlist" >/dev/null; then
  4740. - cat <<EOF > conftest.$ac_ext
  4741. -#ifdef __cplusplus
  4742. -extern "C" {
  4743. -#endif
  4744. -
  4745. -EOF
  4746. - # Now generate the symbol file.
  4747. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  4748. -
  4749. - cat <<EOF >> conftest.$ac_ext
  4750. -#if defined (__STDC__) && __STDC__
  4751. -# define lt_ptr_t void *
  4752. -#else
  4753. -# define lt_ptr_t char *
  4754. -# define const
  4755. -#endif
  4756. -
  4757. -/* The mapping between symbol names and symbols. */
  4758. -const struct {
  4759. - const char *name;
  4760. - lt_ptr_t address;
  4761. -}
  4762. -lt_preloaded_symbols[[]] =
  4763. -{
  4764. -EOF
  4765. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  4766. - cat <<\EOF >> conftest.$ac_ext
  4767. - {0, (lt_ptr_t) 0}
  4768. -};
  4769. -
  4770. -#ifdef __cplusplus
  4771. -}
  4772. -#endif
  4773. -EOF
  4774. - # Now try linking the two files.
  4775. - mv conftest.$ac_objext conftstm.$ac_objext
  4776. - lt_save_LIBS="$LIBS"
  4777. - lt_save_CFLAGS="$CFLAGS"
  4778. - LIBS="conftstm.$ac_objext"
  4779. - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  4780. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  4781. - pipe_works=yes
  4782. - fi
  4783. - LIBS="$lt_save_LIBS"
  4784. - CFLAGS="$lt_save_CFLAGS"
  4785. - else
  4786. - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  4787. - fi
  4788. - else
  4789. - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  4790. - fi
  4791. - else
  4792. - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  4793. - fi
  4794. - else
  4795. - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  4796. - cat conftest.$ac_ext >&5
  4797. - fi
  4798. - rm -f conftest* conftst*
  4799. -
  4800. - # Do not use the global_symbol_pipe unless it works.
  4801. - if test "$pipe_works" = yes; then
  4802. - break
  4803. - else
  4804. - lt_cv_sys_global_symbol_pipe=
  4805. - fi
  4806. -done
  4807. -])
  4808. -if test -z "$lt_cv_sys_global_symbol_pipe"; then
  4809. - lt_cv_sys_global_symbol_to_cdecl=
  4810. -fi
  4811. -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  4812. - AC_MSG_RESULT(failed)
  4813. -else
  4814. - AC_MSG_RESULT(ok)
  4815. -fi
  4816. -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  4817. -
  4818. -
  4819. -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
  4820. -# ---------------------------------------
  4821. -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
  4822. -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
  4823. -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  4824. -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
  4825. -
  4826. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  4827. - ifelse([$1],[CXX],[
  4828. - # C++ specific cases for pic, static, wl, etc.
  4829. - if test "$GXX" = yes; then
  4830. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4831. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4832. -
  4833. - case $host_os in
  4834. - aix*)
  4835. - # All AIX code is PIC.
  4836. - if test "$host_cpu" = ia64; then
  4837. - # AIX 5 now supports IA64 processor
  4838. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4839. - fi
  4840. - ;;
  4841. - amigaos*)
  4842. - # FIXME: we need at least 68020 code to build shared libraries, but
  4843. - # adding the `-m68020' flag to GCC prevents building anything better,
  4844. - # like `-m68040'.
  4845. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  4846. - ;;
  4847. - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  4848. - # PIC is the default for these OSes.
  4849. - ;;
  4850. - mingw* | os2* | pw32*)
  4851. - # This hack is so that the source file can tell whether it is being
  4852. - # built for inclusion in a dll (and should export symbols for example).
  4853. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  4854. - ;;
  4855. - darwin* | rhapsody*)
  4856. - # PIC is the default on this platform
  4857. - # Common symbols not allowed in MH_DYLIB files
  4858. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  4859. - ;;
  4860. - *djgpp*)
  4861. - # DJGPP does not support shared libraries at all
  4862. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  4863. - ;;
  4864. - interix3*)
  4865. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  4866. - # Instead, we relocate shared libraries at runtime.
  4867. - ;;
  4868. - sysv4*MP*)
  4869. - if test -d /usr/nec; then
  4870. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  4871. - fi
  4872. - ;;
  4873. - hpux*)
  4874. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  4875. - # not for PA HP-UX.
  4876. - case $host_cpu in
  4877. - hppa*64*|ia64*)
  4878. - ;;
  4879. - *)
  4880. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4881. - ;;
  4882. - esac
  4883. - ;;
  4884. - *)
  4885. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4886. - ;;
  4887. - esac
  4888. - else
  4889. - case $host_os in
  4890. - aix4* | aix5*)
  4891. - # All AIX code is PIC.
  4892. - if test "$host_cpu" = ia64; then
  4893. - # AIX 5 now supports IA64 processor
  4894. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4895. - else
  4896. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  4897. - fi
  4898. - ;;
  4899. - chorus*)
  4900. - case $cc_basename in
  4901. - cxch68*)
  4902. - # Green Hills C++ Compiler
  4903. - # _LT_AC_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"
  4904. - ;;
  4905. - esac
  4906. - ;;
  4907. - darwin*)
  4908. - # PIC is the default on this platform
  4909. - # Common symbols not allowed in MH_DYLIB files
  4910. - case $cc_basename in
  4911. - xlc*)
  4912. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  4913. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4914. - ;;
  4915. - esac
  4916. - ;;
  4917. - dgux*)
  4918. - case $cc_basename in
  4919. - ec++*)
  4920. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4921. - ;;
  4922. - ghcx*)
  4923. - # Green Hills C++ Compiler
  4924. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4925. - ;;
  4926. - *)
  4927. - ;;
  4928. - esac
  4929. - ;;
  4930. - freebsd* | kfreebsd*-gnu | dragonfly*)
  4931. - # FreeBSD uses GNU C++
  4932. - ;;
  4933. - hpux9* | hpux10* | hpux11*)
  4934. - case $cc_basename in
  4935. - CC*)
  4936. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4937. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4938. - if test "$host_cpu" != ia64; then
  4939. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4940. - fi
  4941. - ;;
  4942. - aCC*)
  4943. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4944. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4945. - case $host_cpu in
  4946. - hppa*64*|ia64*)
  4947. - # +Z the default
  4948. - ;;
  4949. - *)
  4950. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4951. - ;;
  4952. - esac
  4953. - ;;
  4954. - *)
  4955. - ;;
  4956. - esac
  4957. - ;;
  4958. - interix*)
  4959. - # This is c89, which is MS Visual C++ (no shared libs)
  4960. - # Anyone wants to do a port?
  4961. - ;;
  4962. - irix5* | irix6* | nonstopux*)
  4963. - case $cc_basename in
  4964. - CC*)
  4965. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4966. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4967. - # CC pic flag -KPIC is the default.
  4968. - ;;
  4969. - *)
  4970. - ;;
  4971. - esac
  4972. - ;;
  4973. - linux*)
  4974. - case $cc_basename in
  4975. - KCC*)
  4976. - # KAI C++ Compiler
  4977. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  4978. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4979. - ;;
  4980. - icpc* | ecpc*)
  4981. - # Intel C++
  4982. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4983. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4984. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4985. - ;;
  4986. - pgCC*)
  4987. - # Portland Group C++ compiler.
  4988. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4989. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  4990. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4991. - ;;
  4992. - cxx*)
  4993. - # Compaq C++
  4994. - # Make sure the PIC flag is empty. It appears that all Alpha
  4995. - # Linux and Compaq Tru64 Unix objects are PIC.
  4996. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  4997. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4998. - ;;
  4999. - *)
  5000. - ;;
  5001. - esac
  5002. - ;;
  5003. - lynxos*)
  5004. - ;;
  5005. - m88k*)
  5006. - ;;
  5007. - mvs*)
  5008. - case $cc_basename in
  5009. - cxx*)
  5010. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  5011. - ;;
  5012. - *)
  5013. - ;;
  5014. - esac
  5015. - ;;
  5016. - netbsd*)
  5017. - ;;
  5018. - osf3* | osf4* | osf5*)
  5019. - case $cc_basename in
  5020. - KCC*)
  5021. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  5022. - ;;
  5023. - RCC*)
  5024. - # Rational C++ 2.4.1
  5025. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  5026. - ;;
  5027. - cxx*)
  5028. - # Digital/Compaq C++
  5029. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5030. - # Make sure the PIC flag is empty. It appears that all Alpha
  5031. - # Linux and Compaq Tru64 Unix objects are PIC.
  5032. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  5033. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5034. - ;;
  5035. - *)
  5036. - ;;
  5037. - esac
  5038. - ;;
  5039. - psos*)
  5040. - ;;
  5041. - solaris*)
  5042. - case $cc_basename in
  5043. - CC*)
  5044. - # Sun C++ 4.2, 5.x and Centerline C++
  5045. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5046. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5047. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  5048. - ;;
  5049. - gcx*)
  5050. - # Green Hills C++ Compiler
  5051. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  5052. - ;;
  5053. - *)
  5054. - ;;
  5055. - esac
  5056. - ;;
  5057. - sunos4*)
  5058. - case $cc_basename in
  5059. - CC*)
  5060. - # Sun C++ 4.x
  5061. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  5062. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5063. - ;;
  5064. - lcc*)
  5065. - # Lucid
  5066. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  5067. - ;;
  5068. - *)
  5069. - ;;
  5070. - esac
  5071. - ;;
  5072. - tandem*)
  5073. - case $cc_basename in
  5074. - NCC*)
  5075. - # NonStop-UX NCC 3.20
  5076. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5077. - ;;
  5078. - *)
  5079. - ;;
  5080. - esac
  5081. - ;;
  5082. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  5083. - case $cc_basename in
  5084. - CC*)
  5085. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5086. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5087. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5088. - ;;
  5089. - esac
  5090. - ;;
  5091. - vxworks*)
  5092. - ;;
  5093. - *)
  5094. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5095. - ;;
  5096. - esac
  5097. - fi
  5098. -],
  5099. -[
  5100. - if test "$GCC" = yes; then
  5101. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5102. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  5103. -
  5104. - case $host_os in
  5105. - aix*)
  5106. - # All AIX code is PIC.
  5107. - if test "$host_cpu" = ia64; then
  5108. - # AIX 5 now supports IA64 processor
  5109. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5110. - fi
  5111. - ;;
  5112. -
  5113. - amigaos*)
  5114. - # FIXME: we need at least 68020 code to build shared libraries, but
  5115. - # adding the `-m68020' flag to GCC prevents building anything better,
  5116. - # like `-m68040'.
  5117. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  5118. - ;;
  5119. -
  5120. - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  5121. - # PIC is the default for these OSes.
  5122. - ;;
  5123. -
  5124. - mingw* | pw32* | os2*)
  5125. - # This hack is so that the source file can tell whether it is being
  5126. - # built for inclusion in a dll (and should export symbols for example).
  5127. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  5128. - ;;
  5129. -
  5130. - darwin* | rhapsody*)
  5131. - # PIC is the default on this platform
  5132. - # Common symbols not allowed in MH_DYLIB files
  5133. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  5134. - ;;
  5135. -
  5136. - interix3*)
  5137. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  5138. - # Instead, we relocate shared libraries at runtime.
  5139. - ;;
  5140. -
  5141. - msdosdjgpp*)
  5142. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  5143. - # on systems that don't support them.
  5144. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5145. - enable_shared=no
  5146. - ;;
  5147. -
  5148. - sysv4*MP*)
  5149. - if test -d /usr/nec; then
  5150. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  5151. - fi
  5152. - ;;
  5153. -
  5154. - hpux*)
  5155. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  5156. - # not for PA HP-UX.
  5157. - case $host_cpu in
  5158. - hppa*64*|ia64*)
  5159. - # +Z the default
  5160. - ;;
  5161. - *)
  5162. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5163. - ;;
  5164. - esac
  5165. - ;;
  5166. -
  5167. - *)
  5168. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5169. - ;;
  5170. - esac
  5171. - else
  5172. - # PORTME Check for flag to pass linker flags through the system compiler.
  5173. - case $host_os in
  5174. - aix*)
  5175. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5176. - if test "$host_cpu" = ia64; then
  5177. - # AIX 5 now supports IA64 processor
  5178. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5179. - else
  5180. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  5181. - fi
  5182. - ;;
  5183. - darwin*)
  5184. - # PIC is the default on this platform
  5185. - # Common symbols not allowed in MH_DYLIB files
  5186. - case $cc_basename in
  5187. - xlc*)
  5188. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  5189. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5190. - ;;
  5191. - esac
  5192. - ;;
  5193. -
  5194. - mingw* | pw32* | os2*)
  5195. - # This hack is so that the source file can tell whether it is being
  5196. - # built for inclusion in a dll (and should export symbols for example).
  5197. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
  5198. - ;;
  5199. -
  5200. - hpux9* | hpux10* | hpux11*)
  5201. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5202. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  5203. - # not for PA HP-UX.
  5204. - case $host_cpu in
  5205. - hppa*64*|ia64*)
  5206. - # +Z the default
  5207. - ;;
  5208. - *)
  5209. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  5210. - ;;
  5211. - esac
  5212. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  5213. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  5214. - ;;
  5215. -
  5216. - irix5* | irix6* | nonstopux*)
  5217. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5218. - # PIC (with -KPIC) is the default.
  5219. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5220. - ;;
  5221. -
  5222. - newsos6)
  5223. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5224. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5225. - ;;
  5226. -
  5227. - linux*)
  5228. - case $cc_basename in
  5229. - icc* | ecc*)
  5230. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5231. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5232. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  5233. - ;;
  5234. - pgcc* | pgf77* | pgf90* | pgf95*)
  5235. - # Portland Group compilers (*not* the Pentium gcc compiler,
  5236. - # which looks to be a dead project)
  5237. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5238. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  5239. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5240. - ;;
  5241. - ccc*)
  5242. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5243. - # All Alpha code is PIC.
  5244. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5245. - ;;
  5246. - esac
  5247. - ;;
  5248. -
  5249. - osf3* | osf4* | osf5*)
  5250. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5251. - # All OSF/1 code is PIC.
  5252. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5253. - ;;
  5254. -
  5255. - solaris*)
  5256. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5257. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5258. - case $cc_basename in
  5259. - f77* | f90* | f95*)
  5260. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  5261. - *)
  5262. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  5263. - esac
  5264. - ;;
  5265. -
  5266. - sunos4*)
  5267. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  5268. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  5269. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5270. - ;;
  5271. -
  5272. - sysv4 | sysv4.2uw2* | sysv4.3*)
  5273. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5274. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5275. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5276. - ;;
  5277. -
  5278. - sysv4*MP*)
  5279. - if test -d /usr/nec ;then
  5280. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  5281. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5282. - fi
  5283. - ;;
  5284. -
  5285. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  5286. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5287. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5288. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5289. - ;;
  5290. -
  5291. - unicos*)
  5292. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5293. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5294. - ;;
  5295. -
  5296. - uts4*)
  5297. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  5298. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5299. - ;;
  5300. -
  5301. - *)
  5302. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5303. - ;;
  5304. - esac
  5305. - fi
  5306. -])
  5307. -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
  5308. -
  5309. -#
  5310. -# Check to make sure the PIC flag actually works.
  5311. -#
  5312. -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
  5313. - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
  5314. - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
  5315. - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
  5316. - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
  5317. - "" | " "*) ;;
  5318. - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  5319. - esac],
  5320. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  5321. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  5322. -fi
  5323. -case $host_os in
  5324. - # For platforms which do not support PIC, -DPIC is meaningless:
  5325. - *djgpp*)
  5326. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  5327. - ;;
  5328. - *)
  5329. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
  5330. - ;;
  5331. -esac
  5332. -
  5333. -#
  5334. -# Check to make sure the static flag actually works.
  5335. -#
  5336. -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
  5337. -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  5338. - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
  5339. - $lt_tmp_static_flag,
  5340. - [],
  5341. - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
  5342. -])
  5343. -
  5344. -
  5345. -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
  5346. -# ------------------------------------
  5347. -# See if the linker supports building shared libraries.
  5348. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
  5349. -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  5350. -ifelse([$1],[CXX],[
  5351. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5352. - case $host_os in
  5353. - aix4* | aix5*)
  5354. - # If we're using GNU nm, then we don't want the "-C" option.
  5355. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  5356. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  5357. - _LT_AC_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'
  5358. - else
  5359. - _LT_AC_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'
  5360. - fi
  5361. - ;;
  5362. - pw32*)
  5363. - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  5364. - ;;
  5365. - cygwin* | mingw*)
  5366. - _LT_AC_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'
  5367. - ;;
  5368. - *)
  5369. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5370. - ;;
  5371. - esac
  5372. -],[
  5373. - runpath_var=
  5374. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  5375. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5376. - _LT_AC_TAGVAR(archive_cmds, $1)=
  5377. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  5378. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
  5379. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  5380. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  5381. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  5382. - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
  5383. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5384. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5385. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  5386. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  5387. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  5388. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5389. - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  5390. - _LT_AC_TAGVAR(hardcode_automatic, $1)=no
  5391. - _LT_AC_TAGVAR(module_cmds, $1)=
  5392. - _LT_AC_TAGVAR(module_expsym_cmds, $1)=
  5393. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  5394. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5395. - # include_expsyms should be a list of space-separated symbols to be *always*
  5396. - # included in the symbol list
  5397. - _LT_AC_TAGVAR(include_expsyms, $1)=
  5398. - # exclude_expsyms can be an extended regexp of symbols to exclude
  5399. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  5400. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  5401. - # as well as any symbol that contains `d'.
  5402. - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
  5403. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  5404. - # platforms (ab)use it in PIC code, but their linkers get confused if
  5405. - # the symbol is explicitly referenced. Since portable code cannot
  5406. - # rely on this symbol name, it's probably fine to never include it in
  5407. - # preloaded symbol tables.
  5408. - extract_expsyms_cmds=
  5409. - # Just being paranoid about ensuring that cc_basename is set.
  5410. - _LT_CC_BASENAME([$compiler])
  5411. - case $host_os in
  5412. - cygwin* | mingw* | pw32*)
  5413. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  5414. - # When not using gcc, we currently assume that we are using
  5415. - # Microsoft Visual C++.
  5416. - if test "$GCC" != yes; then
  5417. - with_gnu_ld=no
  5418. - fi
  5419. - ;;
  5420. - interix*)
  5421. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  5422. - with_gnu_ld=yes
  5423. - ;;
  5424. - openbsd*)
  5425. - with_gnu_ld=no
  5426. - ;;
  5427. - esac
  5428. -
  5429. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  5430. - if test "$with_gnu_ld" = yes; then
  5431. - # If archive_cmds runs LD, not CC, wlarc should be empty
  5432. - wlarc='${wl}'
  5433. -
  5434. - # Set some defaults for GNU ld with shared library support. These
  5435. - # are reset later if shared libraries are not supported. Putting them
  5436. - # here allows them to be overridden if necessary.
  5437. - runpath_var=LD_RUN_PATH
  5438. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  5439. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5440. - # ancient GNU ld didn't support --whole-archive et. al.
  5441. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  5442. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  5443. - else
  5444. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  5445. - fi
  5446. - supports_anon_versioning=no
  5447. - case `$LD -v 2>/dev/null` in
  5448. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  5449. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  5450. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  5451. - *\ 2.11.*) ;; # other 2.11 versions
  5452. - *) supports_anon_versioning=yes ;;
  5453. - esac
  5454. -
  5455. - # See if GNU ld supports shared libraries.
  5456. - case $host_os in
  5457. - aix3* | aix4* | aix5*)
  5458. - # On AIX/PPC, the GNU linker is very broken
  5459. - if test "$host_cpu" != ia64; then
  5460. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5461. - cat <<EOF 1>&2
  5462. -
  5463. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  5464. -*** to be unable to reliably create shared libraries on AIX.
  5465. -*** Therefore, libtool is disabling shared libraries support. If you
  5466. -*** really care for shared libraries, you may want to modify your PATH
  5467. -*** so that a non-GNU linker is found, and then restart.
  5468. -
  5469. -EOF
  5470. - fi
  5471. - ;;
  5472. -
  5473. - amigaos*)
  5474. - _LT_AC_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)'
  5475. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5476. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5477. -
  5478. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  5479. - # that the semantics of dynamic libraries on AmigaOS, at least up
  5480. - # to version 4, is to share data among multiple programs linked
  5481. - # with the same dynamic library. Since this doesn't match the
  5482. - # behavior of shared libraries on other platforms, we can't use
  5483. - # them.
  5484. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5485. - ;;
  5486. -
  5487. - beos*)
  5488. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  5489. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  5490. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  5491. - # support --undefined. This deserves some investigation. FIXME
  5492. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5493. - else
  5494. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5495. - fi
  5496. - ;;
  5497. -
  5498. - cygwin* | mingw* | pw32*)
  5499. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  5500. - # as there is no search path for DLLs.
  5501. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5502. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  5503. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  5504. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5505. - _LT_AC_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'
  5506. -
  5507. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  5508. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5509. - # If the export-symbols file already is a .def file (1st line
  5510. - # is EXPORTS), use it as is; otherwise, prepend...
  5511. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  5512. - cp $export_symbols $output_objdir/$soname.def;
  5513. - else
  5514. - echo EXPORTS > $output_objdir/$soname.def;
  5515. - cat $export_symbols >> $output_objdir/$soname.def;
  5516. - fi~
  5517. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5518. - else
  5519. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5520. - fi
  5521. - ;;
  5522. -
  5523. - interix3*)
  5524. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  5525. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  5526. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5527. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5528. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  5529. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  5530. - # default) and relocated if they conflict, which is a slow very memory
  5531. - # consuming and fragmenting process. To avoid this, we pick a random,
  5532. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  5533. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  5534. - _LT_AC_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'
  5535. - _LT_AC_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'
  5536. - ;;
  5537. -
  5538. - linux*)
  5539. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  5540. - tmp_addflag=
  5541. - case $cc_basename,$host_cpu in
  5542. - pgcc*) # Portland Group C compiler
  5543. - _LT_AC_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'
  5544. - tmp_addflag=' $pic_flag'
  5545. - ;;
  5546. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  5547. - _LT_AC_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'
  5548. - tmp_addflag=' $pic_flag -Mnomain' ;;
  5549. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  5550. - tmp_addflag=' -i_dynamic' ;;
  5551. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  5552. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  5553. - ifc* | ifort*) # Intel Fortran compiler
  5554. - tmp_addflag=' -nofor_main' ;;
  5555. - esac
  5556. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5557. -
  5558. - if test $supports_anon_versioning = yes; then
  5559. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
  5560. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  5561. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  5562. - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  5563. - fi
  5564. - else
  5565. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5566. - fi
  5567. - ;;
  5568. -
  5569. - netbsd*)
  5570. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  5571. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  5572. - wlarc=
  5573. - else
  5574. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5575. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5576. - fi
  5577. - ;;
  5578. -
  5579. - solaris*)
  5580. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  5581. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5582. - cat <<EOF 1>&2
  5583. -
  5584. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  5585. -*** create shared libraries on Solaris systems. Therefore, libtool
  5586. -*** is disabling shared libraries support. We urge you to upgrade GNU
  5587. -*** binutils to release 2.9.1 or newer. Another option is to modify
  5588. -*** your PATH or compiler configuration so that the native linker is
  5589. -*** used, and then restart.
  5590. -
  5591. -EOF
  5592. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  5593. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5594. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5595. - else
  5596. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5597. - fi
  5598. - ;;
  5599. -
  5600. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  5601. - case `$LD -v 2>&1` in
  5602. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  5603. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5604. - cat <<_LT_EOF 1>&2
  5605. -
  5606. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  5607. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  5608. -*** is disabling shared libraries support. We urge you to upgrade GNU
  5609. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  5610. -*** your PATH or compiler configuration so that the native linker is
  5611. -*** used, and then restart.
  5612. -
  5613. -_LT_EOF
  5614. - ;;
  5615. - *)
  5616. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  5617. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  5618. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  5619. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  5620. - else
  5621. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5622. - fi
  5623. - ;;
  5624. - esac
  5625. - ;;
  5626. -
  5627. - sunos4*)
  5628. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  5629. - wlarc=
  5630. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5631. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  5632. - ;;
  5633. -
  5634. - *)
  5635. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  5636. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5637. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5638. - else
  5639. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5640. - fi
  5641. - ;;
  5642. - esac
  5643. -
  5644. - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
  5645. - runpath_var=
  5646. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5647. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  5648. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  5649. - fi
  5650. - else
  5651. - # PORTME fill in a description of your system's linker (not GNU ld)
  5652. - case $host_os in
  5653. - aix3*)
  5654. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  5655. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  5656. - _LT_AC_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'
  5657. - # Note: this linker hardcodes the directories in LIBPATH if there
  5658. - # are no directories specified by -L.
  5659. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5660. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  5661. - # Neither direct hardcoding nor static linking is supported with a
  5662. - # broken collect2.
  5663. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  5664. - fi
  5665. - ;;
  5666. -
  5667. - aix4* | aix5*)
  5668. - if test "$host_cpu" = ia64; then
  5669. - # On IA64, the linker does run time linking by default, so we don't
  5670. - # have to do anything special.
  5671. - aix_use_runtimelinking=no
  5672. - exp_sym_flag='-Bexport'
  5673. - no_entry_flag=""
  5674. - else
  5675. - # If we're using GNU nm, then we don't want the "-C" option.
  5676. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  5677. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  5678. - _LT_AC_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'
  5679. - else
  5680. - _LT_AC_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'
  5681. - fi
  5682. - aix_use_runtimelinking=no
  5683. -
  5684. - # Test if we are trying to use run time linking or normal
  5685. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  5686. - # need to do runtime linking.
  5687. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
  5688. - for ld_flag in $LDFLAGS; do
  5689. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  5690. - aix_use_runtimelinking=yes
  5691. - break
  5692. - fi
  5693. - done
  5694. - ;;
  5695. - esac
  5696. -
  5697. - exp_sym_flag='-bexport'
  5698. - no_entry_flag='-bnoentry'
  5699. - fi
  5700. -
  5701. - # When large executables or shared objects are built, AIX ld can
  5702. - # have problems creating the table of contents. If linking a library
  5703. - # or program results in "error TOC overflow" add -mminimal-toc to
  5704. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  5705. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  5706. -
  5707. - _LT_AC_TAGVAR(archive_cmds, $1)=''
  5708. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5709. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  5710. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  5711. -
  5712. - if test "$GCC" = yes; then
  5713. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  5714. - # We only want to do this on AIX 4.2 and lower, the check
  5715. - # below for broken collect2 doesn't work under 4.3+
  5716. - collect2name=`${CC} -print-prog-name=collect2`
  5717. - if test -f "$collect2name" && \
  5718. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  5719. - then
  5720. - # We have reworked collect2
  5721. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5722. - else
  5723. - # We have old collect2
  5724. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  5725. - # It fails to find uninstalled libraries when the uninstalled
  5726. - # path is not listed in the libpath. Setting hardcode_minus_L
  5727. - # to unsupported forces relinking
  5728. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5729. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5730. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  5731. - fi
  5732. - ;;
  5733. - esac
  5734. - shared_flag='-shared'
  5735. - if test "$aix_use_runtimelinking" = yes; then
  5736. - shared_flag="$shared_flag "'${wl}-G'
  5737. - fi
  5738. - else
  5739. - # not using gcc
  5740. - if test "$host_cpu" = ia64; then
  5741. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  5742. - # chokes on -Wl,-G. The following line is correct:
  5743. - shared_flag='-G'
  5744. - else
  5745. - if test "$aix_use_runtimelinking" = yes; then
  5746. - shared_flag='${wl}-G'
  5747. - else
  5748. - shared_flag='${wl}-bM:SRE'
  5749. - fi
  5750. - fi
  5751. - fi
  5752. -
  5753. - # It seems that -bexpall does not export symbols beginning with
  5754. - # underscore (_), so it is better to generate a list of symbols to export.
  5755. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  5756. - if test "$aix_use_runtimelinking" = yes; then
  5757. - # Warning - without using the other runtime loading flags (-brtl),
  5758. - # -berok will link without error, but may produce a broken library.
  5759. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  5760. - # Determine the default libpath from the value encoded in an empty executable.
  5761. - _LT_AC_SYS_LIBPATH_AIX
  5762. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5763. - _LT_AC_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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  5764. - else
  5765. - if test "$host_cpu" = ia64; then
  5766. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  5767. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  5768. - _LT_AC_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"
  5769. - else
  5770. - # Determine the default libpath from the value encoded in an empty executable.
  5771. - _LT_AC_SYS_LIBPATH_AIX
  5772. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5773. - # Warning - without using the other run time loading flags,
  5774. - # -berok will link without error, but may produce a broken library.
  5775. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  5776. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  5777. - # Exported symbols can be pulled into shared objects from archives
  5778. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  5779. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  5780. - # This is similar to how AIX traditionally builds its shared libraries.
  5781. - _LT_AC_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'
  5782. - fi
  5783. - fi
  5784. - ;;
  5785. -
  5786. - amigaos*)
  5787. - _LT_AC_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)'
  5788. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5789. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5790. - # see comment about different semantics on the GNU ld section
  5791. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5792. - ;;
  5793. -
  5794. - bsdi[[45]]*)
  5795. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  5796. - ;;
  5797. -
  5798. - cygwin* | mingw* | pw32*)
  5799. - # When not using gcc, we currently assume that we are using
  5800. - # Microsoft Visual C++.
  5801. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  5802. - # no search path for DLLs.
  5803. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  5804. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  5805. - # Tell ltmain to make .lib files, not .a files.
  5806. - libext=lib
  5807. - # Tell ltmain to make .dll files, not .so files.
  5808. - shrext_cmds=".dll"
  5809. - # FIXME: Setting linknames here is a bad hack.
  5810. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  5811. - # The linker will automatically build a .lib file if we build a DLL.
  5812. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
  5813. - # FIXME: Should let the user specify the lib program.
  5814. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
  5815. - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  5816. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5817. - ;;
  5818. -
  5819. - darwin* | rhapsody*)
  5820. - case $host_os in
  5821. - rhapsody* | darwin1.[[012]])
  5822. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
  5823. - ;;
  5824. - *) # Darwin 1.3 on
  5825. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  5826. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  5827. - else
  5828. - case ${MACOSX_DEPLOYMENT_TARGET} in
  5829. - 10.[[012]])
  5830. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  5831. - ;;
  5832. - 10.*)
  5833. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
  5834. - ;;
  5835. - esac
  5836. - fi
  5837. - ;;
  5838. - esac
  5839. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  5840. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  5841. - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  5842. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5843. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  5844. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  5845. - if test "$GCC" = yes ; then
  5846. - output_verbose_link_cmd='echo'
  5847. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  5848. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  5849. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  5850. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5851. - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5852. - else
  5853. - case $cc_basename in
  5854. - xlc*)
  5855. - output_verbose_link_cmd='echo'
  5856. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  5857. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  5858. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  5859. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5860. - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  5861. - ;;
  5862. - *)
  5863. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5864. - ;;
  5865. - esac
  5866. - fi
  5867. - ;;
  5868. -
  5869. - dgux*)
  5870. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5871. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5872. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  5873. - ;;
  5874. -
  5875. - freebsd1*)
  5876. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  5877. - ;;
  5878. -
  5879. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  5880. - # support. Future versions do this automatically, but an explicit c++rt0.o
  5881. - # does not break anything, and helps significantly (at the cost of a little
  5882. - # extra space).
  5883. - freebsd2.2*)
  5884. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  5885. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  5886. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5887. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  5888. - ;;
  5889. -
  5890. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  5891. - freebsd2*)
  5892. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  5893. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5894. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5895. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  5896. - ;;
  5897. -
  5898. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  5899. - freebsd* | kfreebsd*-gnu | dragonfly*)
  5900. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  5901. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  5902. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5903. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  5904. - ;;
  5905. -
  5906. - hpux9*)
  5907. - if test "$GCC" = yes; then
  5908. - _LT_AC_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'
  5909. - else
  5910. - _LT_AC_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'
  5911. - fi
  5912. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5913. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  5914. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5915. -
  5916. - # hardcode_minus_L: Not really in the search PATH,
  5917. - # but as the default location of the library.
  5918. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5919. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5920. - ;;
  5921. -
  5922. - hpux10*)
  5923. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  5924. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  5925. - else
  5926. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  5927. - fi
  5928. - if test "$with_gnu_ld" = no; then
  5929. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5930. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  5931. -
  5932. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5933. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5934. -
  5935. - # hardcode_minus_L: Not really in the search PATH,
  5936. - # but as the default location of the library.
  5937. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5938. - fi
  5939. - ;;
  5940. -
  5941. - hpux11*)
  5942. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  5943. - case $host_cpu in
  5944. - hppa*64*)
  5945. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  5946. - ;;
  5947. - ia64*)
  5948. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  5949. - ;;
  5950. - *)
  5951. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  5952. - ;;
  5953. - esac
  5954. - else
  5955. - case $host_cpu in
  5956. - hppa*64*)
  5957. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  5958. - ;;
  5959. - ia64*)
  5960. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  5961. - ;;
  5962. - *)
  5963. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  5964. - ;;
  5965. - esac
  5966. - fi
  5967. - if test "$with_gnu_ld" = no; then
  5968. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5969. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  5970. -
  5971. - case $host_cpu in
  5972. - hppa*64*|ia64*)
  5973. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  5974. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  5975. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  5976. - ;;
  5977. - *)
  5978. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  5979. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5980. -
  5981. - # hardcode_minus_L: Not really in the search PATH,
  5982. - # but as the default location of the library.
  5983. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  5984. - ;;
  5985. - esac
  5986. - fi
  5987. - ;;
  5988. -
  5989. - irix5* | irix6* | nonstopux*)
  5990. - if test "$GCC" = yes; then
  5991. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  5992. - else
  5993. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  5994. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  5995. - fi
  5996. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5997. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  5998. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  5999. - ;;
  6000. -
  6001. - netbsd*)
  6002. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  6003. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  6004. - else
  6005. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  6006. - fi
  6007. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6008. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  6009. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6010. - ;;
  6011. -
  6012. - newsos6)
  6013. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6014. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  6015. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6016. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  6017. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6018. - ;;
  6019. -
  6020. - openbsd*)
  6021. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  6022. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6023. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6024. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  6025. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  6026. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6027. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6028. - else
  6029. - case $host_os in
  6030. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  6031. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  6032. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6033. - ;;
  6034. - *)
  6035. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  6036. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6037. - ;;
  6038. - esac
  6039. - fi
  6040. - ;;
  6041. -
  6042. - os2*)
  6043. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6044. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  6045. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  6046. - _LT_AC_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'
  6047. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  6048. - ;;
  6049. -
  6050. - osf3*)
  6051. - if test "$GCC" = yes; then
  6052. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6053. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6054. - else
  6055. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6056. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  6057. - fi
  6058. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6059. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  6060. - ;;
  6061. -
  6062. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  6063. - if test "$GCC" = yes; then
  6064. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6065. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6066. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6067. - else
  6068. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6069. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  6070. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  6071. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  6072. -
  6073. - # Both c and cxx compiler support -rpath directly
  6074. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  6075. - fi
  6076. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  6077. - ;;
  6078. -
  6079. - solaris*)
  6080. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
  6081. - if test "$GCC" = yes; then
  6082. - wlarc='${wl}'
  6083. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6084. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  6085. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  6086. - else
  6087. - wlarc=''
  6088. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6089. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  6090. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  6091. - fi
  6092. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6093. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6094. - case $host_os in
  6095. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6096. - *)
  6097. - # The compiler driver will combine linker options so we
  6098. - # cannot just pass the convience library names through
  6099. - # without $wl, iff we do not link with $LD.
  6100. - # Luckily, gcc supports the same syntax we need for Sun Studio.
  6101. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  6102. - case $wlarc in
  6103. - '')
  6104. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
  6105. - *)
  6106. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
  6107. - esac ;;
  6108. - esac
  6109. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  6110. - ;;
  6111. -
  6112. - sunos4*)
  6113. - if test "x$host_vendor" = xsequent; then
  6114. - # Use $CC to link under sequent, because it throws in some extra .o
  6115. - # files that make .init and .fini sections work.
  6116. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  6117. - else
  6118. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  6119. - fi
  6120. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6121. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  6122. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  6123. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6124. - ;;
  6125. -
  6126. - sysv4)
  6127. - case $host_vendor in
  6128. - sni)
  6129. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6130. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  6131. - ;;
  6132. - siemens)
  6133. - ## LD is ld it makes a PLAMLIB
  6134. - ## CC just makes a GrossModule.
  6135. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  6136. - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  6137. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  6138. - ;;
  6139. - motorola)
  6140. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6141. - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  6142. - ;;
  6143. - esac
  6144. - runpath_var='LD_RUN_PATH'
  6145. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6146. - ;;
  6147. -
  6148. - sysv4.3*)
  6149. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6150. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6151. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  6152. - ;;
  6153. -
  6154. - sysv4*MP*)
  6155. - if test -d /usr/nec; then
  6156. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6157. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6158. - runpath_var=LD_RUN_PATH
  6159. - hardcode_runpath_var=yes
  6160. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  6161. - fi
  6162. - ;;
  6163. -
  6164. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
  6165. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6166. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  6167. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6168. - runpath_var='LD_RUN_PATH'
  6169. -
  6170. - if test "$GCC" = yes; then
  6171. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6172. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6173. - else
  6174. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6175. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6176. - fi
  6177. - ;;
  6178. -
  6179. - sysv5* | sco3.2v5* | sco5v6*)
  6180. - # Note: We can NOT use -z defs as we might desire, because we do not
  6181. - # link with -lc, and that would cause any symbols used from libc to
  6182. - # always be unresolved, which means just about no library would
  6183. - # ever link correctly. If we're not using GNU ld we use -z text
  6184. - # though, which does catch some bad symbols but isn't as heavy-handed
  6185. - # as -z defs.
  6186. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6187. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  6188. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  6189. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6190. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  6191. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  6192. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  6193. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  6194. - runpath_var='LD_RUN_PATH'
  6195. -
  6196. - if test "$GCC" = yes; then
  6197. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6198. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6199. - else
  6200. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6201. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6202. - fi
  6203. - ;;
  6204. -
  6205. - uts4*)
  6206. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6207. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6208. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  6209. - ;;
  6210. -
  6211. - *)
  6212. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  6213. - ;;
  6214. - esac
  6215. - fi
  6216. -])
  6217. -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  6218. -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  6219. -
  6220. -#
  6221. -# Do we need to explicitly link libc?
  6222. -#
  6223. -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
  6224. -x|xyes)
  6225. - # Assume -lc should be added
  6226. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  6227. -
  6228. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  6229. - case $_LT_AC_TAGVAR(archive_cmds, $1) in
  6230. - *'~'*)
  6231. - # FIXME: we may have to deal with multi-command sequences.
  6232. - ;;
  6233. - '$CC '*)
  6234. - # Test whether the compiler implicitly links with -lc since on some
  6235. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  6236. - # to ld, don't add -lc before -lgcc.
  6237. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  6238. - $rm conftest*
  6239. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  6240. -
  6241. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  6242. - soname=conftest
  6243. - lib=conftest
  6244. - libobjs=conftest.$ac_objext
  6245. - deplibs=
  6246. - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  6247. - pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  6248. - compiler_flags=-v
  6249. - linker_flags=-v
  6250. - verstring=
  6251. - output_objdir=.
  6252. - libname=conftest
  6253. - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
  6254. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  6255. - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
  6256. - then
  6257. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  6258. - else
  6259. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  6260. - fi
  6261. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  6262. - else
  6263. - cat conftest.err 1>&5
  6264. - fi
  6265. - $rm conftest*
  6266. - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
  6267. - ;;
  6268. - esac
  6269. - fi
  6270. - ;;
  6271. -esac
  6272. -])# AC_LIBTOOL_PROG_LD_SHLIBS
  6273. -
  6274. -
  6275. -# _LT_AC_FILE_LTDLL_C
  6276. -# -------------------
  6277. -# Be careful that the start marker always follows a newline.
  6278. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
  6279. -# /* ltdll.c starts here */
  6280. -# #define WIN32_LEAN_AND_MEAN
  6281. -# #include <windows.h>
  6282. -# #undef WIN32_LEAN_AND_MEAN
  6283. -# #include <stdio.h>
  6284. -#
  6285. -# #ifndef __CYGWIN__
  6286. -# # ifdef __CYGWIN32__
  6287. -# # define __CYGWIN__ __CYGWIN32__
  6288. -# # endif
  6289. -# #endif
  6290. -#
  6291. -# #ifdef __cplusplus
  6292. -# extern "C" {
  6293. -# #endif
  6294. -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  6295. -# #ifdef __cplusplus
  6296. -# }
  6297. -# #endif
  6298. -#
  6299. -# #ifdef __CYGWIN__
  6300. -# #include <cygwin/cygwin_dll.h>
  6301. -# DECLARE_CYGWIN_DLL( DllMain );
  6302. -# #endif
  6303. -# HINSTANCE __hDllInstance_base;
  6304. -#
  6305. -# BOOL APIENTRY
  6306. -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  6307. -# {
  6308. -# __hDllInstance_base = hInst;
  6309. -# return TRUE;
  6310. -# }
  6311. -# /* ltdll.c ends here */
  6312. -])# _LT_AC_FILE_LTDLL_C
  6313. -
  6314. -
  6315. -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
  6316. -# ---------------------------------
  6317. -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
  6318. -
  6319. -
  6320. -# old names
  6321. -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
  6322. -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  6323. -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  6324. -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  6325. -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  6326. -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
  6327. -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
  6328. -
  6329. -# This is just to silence aclocal about the macro not being used
  6330. -ifelse([AC_DISABLE_FAST_INSTALL])
  6331. -
  6332. -AC_DEFUN([LT_AC_PROG_GCJ],
  6333. -[AC_CHECK_TOOL(GCJ, gcj, no)
  6334. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  6335. - AC_SUBST(GCJFLAGS)
  6336. -])
  6337. -
  6338. -AC_DEFUN([LT_AC_PROG_RC],
  6339. -[AC_CHECK_TOOL(RC, windres, no)
  6340. -])
  6341. -
  6342. -# NOTE: This macro has been submitted for inclusion into #
  6343. -# GNU Autoconf as AC_PROG_SED. When it is available in #
  6344. -# a released version of Autoconf we should remove this #
  6345. -# macro and use it instead. #
  6346. -# LT_AC_PROG_SED
  6347. -# --------------
  6348. -# Check for a fully-functional sed program, that truncates
  6349. -# as few characters as possible. Prefer GNU sed if found.
  6350. -AC_DEFUN([LT_AC_PROG_SED],
  6351. -[AC_MSG_CHECKING([for a sed that does not truncate output])
  6352. -AC_CACHE_VAL(lt_cv_path_SED,
  6353. -[# Loop through the user's path and test for sed and gsed.
  6354. -# Then use that list of sed's as ones to test for truncation.
  6355. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6356. -for as_dir in $PATH
  6357. -do
  6358. - IFS=$as_save_IFS
  6359. - test -z "$as_dir" && as_dir=.
  6360. - for lt_ac_prog in sed gsed; do
  6361. - for ac_exec_ext in '' $ac_executable_extensions; do
  6362. - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  6363. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  6364. - fi
  6365. - done
  6366. - done
  6367. -done
  6368. -lt_ac_max=0
  6369. -lt_ac_count=0
  6370. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  6371. -# along with /bin/sed that truncates output.
  6372. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  6373. - test ! -f $lt_ac_sed && continue
  6374. - cat /dev/null > conftest.in
  6375. - lt_ac_count=0
  6376. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  6377. - # Check for GNU sed and select it if it is found.
  6378. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  6379. - lt_cv_path_SED=$lt_ac_sed
  6380. - break
  6381. - fi
  6382. - while true; do
  6383. - cat conftest.in conftest.in >conftest.tmp
  6384. - mv conftest.tmp conftest.in
  6385. - cp conftest.in conftest.nl
  6386. - echo >>conftest.nl
  6387. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  6388. - cmp -s conftest.out conftest.nl || break
  6389. - # 10000 chars as input seems more than enough
  6390. - test $lt_ac_count -gt 10 && break
  6391. - lt_ac_count=`expr $lt_ac_count + 1`
  6392. - if test $lt_ac_count -gt $lt_ac_max; then
  6393. - lt_ac_max=$lt_ac_count
  6394. - lt_cv_path_SED=$lt_ac_sed
  6395. - fi
  6396. - done
  6397. -done
  6398. -])
  6399. -SED=$lt_cv_path_SED
  6400. -AC_MSG_RESULT([$SED])
  6401. -])
  6402. -
  6403. -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
  6404. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  6405. #
  6406. # This file is free software; the Free Software Foundation
  6407. # gives unlimited permission to copy and/or distribute it,
  6408. @@ -6398,14 +29,31 @@
  6409. # ----------------------------
  6410. # Automake X.Y traces this macro to ensure aclocal.m4 has been
  6411. # generated from the m4 files accompanying Automake X.Y.
  6412. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
  6413. +# (This private macro should not be called outside this file.)
  6414. +AC_DEFUN([AM_AUTOMAKE_VERSION],
  6415. +[am__api_version='1.11'
  6416. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  6417. +dnl require some minimum version. Point them to the right macro.
  6418. +m4_if([$1], [1.11.1], [],
  6419. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  6420. +])
  6421. +
  6422. +# _AM_AUTOCONF_VERSION(VERSION)
  6423. +# -----------------------------
  6424. +# aclocal traces this macro to find the Autoconf version.
  6425. +# This is a private macro too. Using m4_define simplifies
  6426. +# the logic in aclocal, which can simply ignore this definition.
  6427. +m4_define([_AM_AUTOCONF_VERSION], [])
  6428. # AM_SET_CURRENT_AUTOMAKE_VERSION
  6429. # -------------------------------
  6430. -# Call AM_AUTOMAKE_VERSION so it can be traced.
  6431. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  6432. +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  6433. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  6434. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  6435. - [AM_AUTOMAKE_VERSION([1.9.6])])
  6436. +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  6437. +m4_ifndef([AC_AUTOCONF_VERSION],
  6438. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  6439. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  6440. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  6441. @@ -6462,14 +110,14 @@
  6442. # AM_CONDITIONAL -*- Autoconf -*-
  6443. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
  6444. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  6445. # Free Software Foundation, Inc.
  6446. #
  6447. # This file is free software; the Free Software Foundation
  6448. # gives unlimited permission to copy and/or distribute it,
  6449. # with or without modifications, as long as this notice is preserved.
  6450. -# serial 7
  6451. +# serial 9
  6452. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  6453. # -------------------------------------
  6454. @@ -6478,8 +126,11 @@
  6455. [AC_PREREQ(2.52)dnl
  6456. ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  6457. [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  6458. -AC_SUBST([$1_TRUE])
  6459. -AC_SUBST([$1_FALSE])
  6460. +AC_SUBST([$1_TRUE])dnl
  6461. +AC_SUBST([$1_FALSE])dnl
  6462. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  6463. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  6464. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  6465. if $2; then
  6466. $1_TRUE=
  6467. $1_FALSE='#'
  6468. @@ -6493,15 +144,14 @@
  6469. Usually this means the macro was only invoked conditionally.]])
  6470. fi])])
  6471. -
  6472. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  6473. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  6474. # Free Software Foundation, Inc.
  6475. #
  6476. # This file is free software; the Free Software Foundation
  6477. # gives unlimited permission to copy and/or distribute it,
  6478. # with or without modifications, as long as this notice is preserved.
  6479. -# serial 8
  6480. +# serial 10
  6481. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  6482. # written in clear, in which case automake, when reading aclocal.m4,
  6483. @@ -6529,6 +179,7 @@
  6484. ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  6485. [$1], CXX, [depcc="$CXX" am_compiler_list=],
  6486. [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  6487. + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  6488. [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  6489. [depcc="$$1" am_compiler_list=])
  6490. @@ -6557,6 +208,16 @@
  6491. if test "$am_compiler_list" = ""; then
  6492. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  6493. fi
  6494. + am__universal=false
  6495. + m4_case([$1], [CC],
  6496. + [case " $depcc " in #(
  6497. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  6498. + esac],
  6499. + [CXX],
  6500. + [case " $depcc " in #(
  6501. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  6502. + esac])
  6503. +
  6504. for depmode in $am_compiler_list; do
  6505. # Setup a source with many dependencies, because some compilers
  6506. # like to wrap large dependency lists on column 80 (with \), and
  6507. @@ -6574,7 +235,17 @@
  6508. done
  6509. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6510. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6511. + # mode. It turns out that the SunPro C++ compiler does not properly
  6512. + # handle `-M -o', and we need to detect this. Also, some Intel
  6513. + # versions had trouble with output in subdirs
  6514. + am__obj=sub/conftest.${OBJEXT-o}
  6515. + am__minus_obj="-o $am__obj"
  6516. case $depmode in
  6517. + gcc)
  6518. + # This depmode causes a compiler race in universal mode.
  6519. + test "$am__universal" = false || continue
  6520. + ;;
  6521. nosideeffect)
  6522. # after this tag, mechanisms are not by side-effect, so they'll
  6523. # only be used when explicitly requested
  6524. @@ -6584,18 +255,23 @@
  6525. break
  6526. fi
  6527. ;;
  6528. + msvisualcpp | msvcmsys)
  6529. + # This compiler won't grok `-c -o', but also, the minuso test has
  6530. + # not run yet. These depmodes are late enough in the game, and
  6531. + # so weak that their functioning should not be impacted.
  6532. + am__obj=conftest.${OBJEXT-o}
  6533. + am__minus_obj=
  6534. + ;;
  6535. none) break ;;
  6536. esac
  6537. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6538. - # mode. It turns out that the SunPro C++ compiler does not properly
  6539. - # handle `-M -o', and we need to detect this.
  6540. if depmode=$depmode \
  6541. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  6542. + source=sub/conftest.c object=$am__obj \
  6543. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  6544. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  6545. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  6546. >/dev/null 2>conftest.err &&
  6547. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  6548. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  6549. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  6550. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  6551. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  6552. # icc doesn't choke on unknown options, it will just issue warnings
  6553. # or remarks (even with -Werror). So we grep stderr for any message
  6554. @@ -6646,61 +322,74 @@
  6555. AMDEPBACKSLASH='\'
  6556. fi
  6557. AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  6558. -AC_SUBST([AMDEPBACKSLASH])
  6559. +AC_SUBST([AMDEPBACKSLASH])dnl
  6560. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  6561. ])
  6562. # Generate code to set up dependency tracking. -*- Autoconf -*-
  6563. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  6564. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  6565. # Free Software Foundation, Inc.
  6566. #
  6567. # This file is free software; the Free Software Foundation
  6568. # gives unlimited permission to copy and/or distribute it,
  6569. # with or without modifications, as long as this notice is preserved.
  6570. -#serial 3
  6571. +#serial 5
  6572. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  6573. # ------------------------------
  6574. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  6575. -[for mf in $CONFIG_FILES; do
  6576. - # Strip MF so we end up with the name of the file.
  6577. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  6578. - # Check whether this is an Automake generated Makefile or not.
  6579. - # We used to match only the files named `Makefile.in', but
  6580. - # some people rename them; so instead we look at the file content.
  6581. - # Grep'ing the first line is not enough: some people post-process
  6582. - # each Makefile.in and add a new line on top of each file to say so.
  6583. - # So let's grep whole file.
  6584. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  6585. - dirpart=`AS_DIRNAME("$mf")`
  6586. - else
  6587. - continue
  6588. - fi
  6589. - # Extract the definition of DEPDIR, am__include, and am__quote
  6590. - # from the Makefile without running `make'.
  6591. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  6592. - test -z "$DEPDIR" && continue
  6593. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  6594. - test -z "am__include" && continue
  6595. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  6596. - # When using ansi2knr, U may be empty or an underscore; expand it
  6597. - U=`sed -n 's/^U = //p' < "$mf"`
  6598. - # Find all dependency output files, they are included files with
  6599. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  6600. - # simplest approach to changing $(DEPDIR) to its actual value in the
  6601. - # expansion.
  6602. - for file in `sed -n "
  6603. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  6604. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  6605. - # Make sure the directory exists.
  6606. - test -f "$dirpart/$file" && continue
  6607. - fdir=`AS_DIRNAME(["$file"])`
  6608. - AS_MKDIR_P([$dirpart/$fdir])
  6609. - # echo "creating $dirpart/$file"
  6610. - echo '# dummy' > "$dirpart/$file"
  6611. +[{
  6612. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  6613. + # are listed without --file. Let's play safe and only enable the eval
  6614. + # if we detect the quoting.
  6615. + case $CONFIG_FILES in
  6616. + *\'*) eval set x "$CONFIG_FILES" ;;
  6617. + *) set x $CONFIG_FILES ;;
  6618. + esac
  6619. + shift
  6620. + for mf
  6621. + do
  6622. + # Strip MF so we end up with the name of the file.
  6623. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  6624. + # Check whether this is an Automake generated Makefile or not.
  6625. + # We used to match only the files named `Makefile.in', but
  6626. + # some people rename them; so instead we look at the file content.
  6627. + # Grep'ing the first line is not enough: some people post-process
  6628. + # each Makefile.in and add a new line on top of each file to say so.
  6629. + # Grep'ing the whole file is not good either: AIX grep has a line
  6630. + # limit of 2048, but all sed's we know have understand at least 4000.
  6631. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  6632. + dirpart=`AS_DIRNAME("$mf")`
  6633. + else
  6634. + continue
  6635. + fi
  6636. + # Extract the definition of DEPDIR, am__include, and am__quote
  6637. + # from the Makefile without running `make'.
  6638. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  6639. + test -z "$DEPDIR" && continue
  6640. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  6641. + test -z "am__include" && continue
  6642. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  6643. + # When using ansi2knr, U may be empty or an underscore; expand it
  6644. + U=`sed -n 's/^U = //p' < "$mf"`
  6645. + # Find all dependency output files, they are included files with
  6646. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  6647. + # simplest approach to changing $(DEPDIR) to its actual value in the
  6648. + # expansion.
  6649. + for file in `sed -n "
  6650. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  6651. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  6652. + # Make sure the directory exists.
  6653. + test -f "$dirpart/$file" && continue
  6654. + fdir=`AS_DIRNAME(["$file"])`
  6655. + AS_MKDIR_P([$dirpart/$fdir])
  6656. + # echo "creating $dirpart/$file"
  6657. + echo '# dummy' > "$dirpart/$file"
  6658. + done
  6659. done
  6660. -done
  6661. +}
  6662. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  6663. @@ -6731,14 +420,14 @@
  6664. # Do all the work for Automake. -*- Autoconf -*-
  6665. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  6666. -# Free Software Foundation, Inc.
  6667. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  6668. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  6669. #
  6670. # This file is free software; the Free Software Foundation
  6671. # gives unlimited permission to copy and/or distribute it,
  6672. # with or without modifications, as long as this notice is preserved.
  6673. -# serial 12
  6674. +# serial 16
  6675. # This macro actually does too much. Some checks are only needed if
  6676. # your package does certain things. But this isn't really a big deal.
  6677. @@ -6755,16 +444,20 @@
  6678. # arguments mandatory, and then we can depend on a new Autoconf
  6679. # release and drop the old call support.
  6680. AC_DEFUN([AM_INIT_AUTOMAKE],
  6681. -[AC_PREREQ([2.58])dnl
  6682. +[AC_PREREQ([2.62])dnl
  6683. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  6684. dnl the ones we care about.
  6685. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  6686. AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  6687. AC_REQUIRE([AC_PROG_INSTALL])dnl
  6688. -# test to see if srcdir already configured
  6689. -if test "`cd $srcdir && pwd`" != "`pwd`" &&
  6690. - test -f $srcdir/config.status; then
  6691. - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  6692. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  6693. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  6694. + # is not polluted with repeated "-I."
  6695. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  6696. + # test to see if srcdir already configured
  6697. + if test -f $srcdir/config.status; then
  6698. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  6699. + fi
  6700. fi
  6701. # test whether we have cygpath
  6702. @@ -6784,6 +477,9 @@
  6703. AC_SUBST([PACKAGE], [$1])dnl
  6704. AC_SUBST([VERSION], [$2])],
  6705. [_AM_SET_OPTIONS([$1])dnl
  6706. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  6707. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  6708. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  6709. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  6710. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  6711. @@ -6799,8 +495,8 @@
  6712. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  6713. AM_MISSING_PROG(AUTOHEADER, autoheader)
  6714. AM_MISSING_PROG(MAKEINFO, makeinfo)
  6715. -AM_PROG_INSTALL_SH
  6716. -AM_PROG_INSTALL_STRIP
  6717. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  6718. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  6719. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  6720. # We need awk for the "check" target. The system "awk" is bad on
  6721. # some platforms.
  6722. @@ -6808,19 +504,36 @@
  6723. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  6724. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  6725. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  6726. - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  6727. - [_AM_PROG_TAR([v7])])])
  6728. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  6729. + [_AM_PROG_TAR([v7])])])
  6730. _AM_IF_OPTION([no-dependencies],,
  6731. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  6732. - [_AM_DEPENDENCIES(CC)],
  6733. - [define([AC_PROG_CC],
  6734. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  6735. + [_AM_DEPENDENCIES(CC)],
  6736. + [define([AC_PROG_CC],
  6737. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  6738. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  6739. - [_AM_DEPENDENCIES(CXX)],
  6740. - [define([AC_PROG_CXX],
  6741. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  6742. -])
  6743. -])
  6744. + [_AM_DEPENDENCIES(CXX)],
  6745. + [define([AC_PROG_CXX],
  6746. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  6747. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  6748. + [_AM_DEPENDENCIES(OBJC)],
  6749. + [define([AC_PROG_OBJC],
  6750. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  6751. +])
  6752. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  6753. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  6754. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  6755. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  6756. +AC_CONFIG_COMMANDS_PRE(dnl
  6757. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  6758. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  6759. +])
  6760. +
  6761. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  6762. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  6763. +dnl mangled by Autoconf and run in a shell conditional statement.
  6764. +m4_define([_AC_COMPILER_EXEEXT],
  6765. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  6766. # When config.status generates a header, we must update the stamp-h file.
  6767. @@ -6832,18 +545,19 @@
  6768. # our stamp files there.
  6769. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  6770. [# Compute $1's index in $config_headers.
  6771. +_am_arg=$1
  6772. _am_stamp_count=1
  6773. for _am_header in $config_headers :; do
  6774. case $_am_header in
  6775. - $1 | $1:* )
  6776. + $_am_arg | $_am_arg:* )
  6777. break ;;
  6778. * )
  6779. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  6780. esac
  6781. done
  6782. -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
  6783. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  6784. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  6785. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  6786. #
  6787. # This file is free software; the Free Software Foundation
  6788. # gives unlimited permission to copy and/or distribute it,
  6789. @@ -6854,7 +568,14 @@
  6790. # Define $install_sh.
  6791. AC_DEFUN([AM_PROG_INSTALL_SH],
  6792. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  6793. -install_sh=${install_sh-"$am_aux_dir/install-sh"}
  6794. +if test x"${install_sh}" != xset; then
  6795. + case $am_aux_dir in
  6796. + *\ * | *\ *)
  6797. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  6798. + *)
  6799. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  6800. + esac
  6801. +fi
  6802. AC_SUBST(install_sh)])
  6803. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  6804. @@ -6880,13 +601,13 @@
  6805. # Check to see how 'make' treats includes. -*- Autoconf -*-
  6806. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  6807. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  6808. #
  6809. # This file is free software; the Free Software Foundation
  6810. # gives unlimited permission to copy and/or distribute it,
  6811. # with or without modifications, as long as this notice is preserved.
  6812. -# serial 3
  6813. +# serial 4
  6814. # AM_MAKE_INCLUDE()
  6815. # -----------------
  6816. @@ -6895,7 +616,7 @@
  6817. [am_make=${MAKE-make}
  6818. cat > confinc << 'END'
  6819. am__doit:
  6820. - @echo done
  6821. + @echo this is the am__doit target
  6822. .PHONY: am__doit
  6823. END
  6824. # If we don't find an include directive, just comment out the code.
  6825. @@ -6905,24 +626,24 @@
  6826. _am_result=none
  6827. # First try GNU make style include.
  6828. echo "include confinc" > confmf
  6829. -# We grep out `Entering directory' and `Leaving directory'
  6830. -# messages which can occur if `w' ends up in MAKEFLAGS.
  6831. -# In particular we don't look at `^make:' because GNU make might
  6832. -# be invoked under some other name (usually "gmake"), in which
  6833. -# case it prints its new name instead of `make'.
  6834. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  6835. - am__include=include
  6836. - am__quote=
  6837. - _am_result=GNU
  6838. -fi
  6839. +# Ignore all kinds of additional output from `make'.
  6840. +case `$am_make -s -f confmf 2> /dev/null` in #(
  6841. +*the\ am__doit\ target*)
  6842. + am__include=include
  6843. + am__quote=
  6844. + _am_result=GNU
  6845. + ;;
  6846. +esac
  6847. # Now try BSD make style include.
  6848. if test "$am__include" = "#"; then
  6849. echo '.include "confinc"' > confmf
  6850. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  6851. - am__include=.include
  6852. - am__quote="\""
  6853. - _am_result=BSD
  6854. - fi
  6855. + case `$am_make -s -f confmf 2> /dev/null` in #(
  6856. + *the\ am__doit\ target*)
  6857. + am__include=.include
  6858. + am__quote="\""
  6859. + _am_result=BSD
  6860. + ;;
  6861. + esac
  6862. fi
  6863. AC_SUBST([am__include])
  6864. AC_SUBST([am__quote])
  6865. @@ -6932,14 +653,14 @@
  6866. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  6867. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
  6868. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  6869. # Free Software Foundation, Inc.
  6870. #
  6871. # This file is free software; the Free Software Foundation
  6872. # gives unlimited permission to copy and/or distribute it,
  6873. # with or without modifications, as long as this notice is preserved.
  6874. -# serial 4
  6875. +# serial 6
  6876. # AM_MISSING_PROG(NAME, PROGRAM)
  6877. # ------------------------------
  6878. @@ -6955,7 +676,15 @@
  6879. # If it does, set am_missing_run to use it, otherwise, to nothing.
  6880. AC_DEFUN([AM_MISSING_HAS_RUN],
  6881. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  6882. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  6883. +AC_REQUIRE_AUX_FILE([missing])dnl
  6884. +if test x"${MISSING+set}" != xset; then
  6885. + case $am_aux_dir in
  6886. + *\ * | *\ *)
  6887. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  6888. + *)
  6889. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  6890. + esac
  6891. +fi
  6892. # Use eval to expand $SHELL
  6893. if eval "$MISSING --run true"; then
  6894. am_missing_run="$MISSING --run "
  6895. @@ -6965,7 +694,7 @@
  6896. fi
  6897. ])
  6898. -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
  6899. +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  6900. #
  6901. # This file is free software; the Free Software Foundation
  6902. # gives unlimited permission to copy and/or distribute it,
  6903. @@ -6973,70 +702,33 @@
  6904. # AM_PROG_MKDIR_P
  6905. # ---------------
  6906. -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
  6907. -#
  6908. -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
  6909. -# created by `make install' are always world readable, even if the
  6910. -# installer happens to have an overly restrictive umask (e.g. 077).
  6911. -# This was a mistake. There are at least two reasons why we must not
  6912. -# use `-m 0755':
  6913. -# - it causes special bits like SGID to be ignored,
  6914. -# - it may be too restrictive (some setups expect 775 directories).
  6915. -#
  6916. -# Do not use -m 0755 and let people choose whatever they expect by
  6917. -# setting umask.
  6918. -#
  6919. -# We cannot accept any implementation of `mkdir' that recognizes `-p'.
  6920. -# Some implementations (such as Solaris 8's) are not thread-safe: if a
  6921. -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
  6922. -# concurrently, both version can detect that a/ is missing, but only
  6923. -# one can create it and the other will error out. Consequently we
  6924. -# restrict ourselves to GNU make (using the --version option ensures
  6925. -# this.)
  6926. +# Check for `mkdir -p'.
  6927. AC_DEFUN([AM_PROG_MKDIR_P],
  6928. -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  6929. - # We used to keeping the `.' as first argument, in order to
  6930. - # allow $(mkdir_p) to be used without argument. As in
  6931. - # $(mkdir_p) $(somedir)
  6932. - # where $(somedir) is conditionally defined. However this is wrong
  6933. - # for two reasons:
  6934. - # 1. if the package is installed by a user who cannot write `.'
  6935. - # make install will fail,
  6936. - # 2. the above comment should most certainly read
  6937. - # $(mkdir_p) $(DESTDIR)$(somedir)
  6938. - # so it does not work when $(somedir) is undefined and
  6939. - # $(DESTDIR) is not.
  6940. - # To support the latter case, we have to write
  6941. - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  6942. - # so the `.' trick is pointless.
  6943. - mkdir_p='mkdir -p --'
  6944. -else
  6945. - # On NextStep and OpenStep, the `mkdir' command does not
  6946. - # recognize any option. It will interpret all options as
  6947. - # directories to create, and then abort because `.' already
  6948. - # exists.
  6949. - for d in ./-p ./--version;
  6950. - do
  6951. - test -d $d && rmdir $d
  6952. - done
  6953. - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  6954. - if test -f "$ac_aux_dir/mkinstalldirs"; then
  6955. - mkdir_p='$(mkinstalldirs)'
  6956. - else
  6957. - mkdir_p='$(install_sh) -d'
  6958. - fi
  6959. -fi
  6960. -AC_SUBST([mkdir_p])])
  6961. +[AC_PREREQ([2.60])dnl
  6962. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  6963. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  6964. +dnl while keeping a definition of mkdir_p for backward compatibility.
  6965. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  6966. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  6967. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  6968. +dnl adjustment using top_builddir (which is defined more often than
  6969. +dnl MKDIR_P).
  6970. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  6971. +case $mkdir_p in
  6972. + [[\\/$]]* | ?:[[\\/]]*) ;;
  6973. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  6974. +esac
  6975. +])
  6976. # Helper functions for option handling. -*- Autoconf -*-
  6977. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  6978. +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  6979. #
  6980. # This file is free software; the Free Software Foundation
  6981. # gives unlimited permission to copy and/or distribute it,
  6982. # with or without modifications, as long as this notice is preserved.
  6983. -# serial 3
  6984. +# serial 4
  6985. # _AM_MANGLE_OPTION(NAME)
  6986. # -----------------------
  6987. @@ -7053,7 +745,7 @@
  6988. # ----------------------------------
  6989. # OPTIONS is a space-separated list of Automake options.
  6990. AC_DEFUN([_AM_SET_OPTIONS],
  6991. -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  6992. +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  6993. # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  6994. # -------------------------------------------
  6995. @@ -7063,14 +755,14 @@
  6996. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  6997. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  6998. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  6999. # Free Software Foundation, Inc.
  7000. #
  7001. # This file is free software; the Free Software Foundation
  7002. # gives unlimited permission to copy and/or distribute it,
  7003. # with or without modifications, as long as this notice is preserved.
  7004. -# serial 4
  7005. +# serial 5
  7006. # AM_SANITY_CHECK
  7007. # ---------------
  7008. @@ -7079,16 +771,29 @@
  7009. # Just in case
  7010. sleep 1
  7011. echo timestamp > conftest.file
  7012. +# Reject unsafe characters in $srcdir or the absolute working directory
  7013. +# name. Accept space and tab only in the latter.
  7014. +am_lf='
  7015. +'
  7016. +case `pwd` in
  7017. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  7018. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  7019. +esac
  7020. +case $srcdir in
  7021. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  7022. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  7023. +esac
  7024. +
  7025. # Do `set' in a subshell so we don't clobber the current shell's
  7026. # arguments. Must try -L first in case configure is actually a
  7027. # symlink; some systems play weird games with the mod time of symlinks
  7028. # (eg FreeBSD returns the mod time of the symlink's containing
  7029. # directory).
  7030. if (
  7031. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  7032. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  7033. if test "$[*]" = "X"; then
  7034. # -L didn't work.
  7035. - set X `ls -t $srcdir/configure conftest.file`
  7036. + set X `ls -t "$srcdir/configure" conftest.file`
  7037. fi
  7038. rm -f conftest.file
  7039. if test "$[*]" != "X $srcdir/configure conftest.file" \
  7040. @@ -7113,6 +818,33 @@
  7041. fi
  7042. AC_MSG_RESULT(yes)])
  7043. +# Copyright (C) 2009 Free Software Foundation, Inc.
  7044. +#
  7045. +# This file is free software; the Free Software Foundation
  7046. +# gives unlimited permission to copy and/or distribute it,
  7047. +# with or without modifications, as long as this notice is preserved.
  7048. +
  7049. +# serial 1
  7050. +
  7051. +# AM_SILENT_RULES([DEFAULT])
  7052. +# --------------------------
  7053. +# Enable less verbose build rules; with the default set to DEFAULT
  7054. +# (`yes' being less verbose, `no' or empty being verbose).
  7055. +AC_DEFUN([AM_SILENT_RULES],
  7056. +[AC_ARG_ENABLE([silent-rules],
  7057. +[ --enable-silent-rules less verbose build output (undo: `make V=1')
  7058. + --disable-silent-rules verbose build output (undo: `make V=0')])
  7059. +case $enable_silent_rules in
  7060. +yes) AM_DEFAULT_VERBOSITY=0;;
  7061. +no) AM_DEFAULT_VERBOSITY=1;;
  7062. +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  7063. +esac
  7064. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  7065. +AM_BACKSLASH='\'
  7066. +AC_SUBST([AM_BACKSLASH])dnl
  7067. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  7068. +])
  7069. +
  7070. # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  7071. #
  7072. # This file is free software; the Free Software Foundation
  7073. @@ -7138,9 +870,28 @@
  7074. if test "$cross_compiling" != no; then
  7075. AC_CHECK_TOOL([STRIP], [strip], :)
  7076. fi
  7077. -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  7078. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  7079. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  7080. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  7081. +#
  7082. +# This file is free software; the Free Software Foundation
  7083. +# gives unlimited permission to copy and/or distribute it,
  7084. +# with or without modifications, as long as this notice is preserved.
  7085. +
  7086. +# serial 2
  7087. +
  7088. +# _AM_SUBST_NOTMAKE(VARIABLE)
  7089. +# ---------------------------
  7090. +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  7091. +# This macro is traced by Automake.
  7092. +AC_DEFUN([_AM_SUBST_NOTMAKE])
  7093. +
  7094. +# AM_SUBST_NOTMAKE(VARIABLE)
  7095. +# ---------------------------
  7096. +# Public sister of _AM_SUBST_NOTMAKE.
  7097. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  7098. +
  7099. # Check how to create a tarball. -*- Autoconf -*-
  7100. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  7101. @@ -7237,4 +988,10 @@
  7102. AC_SUBST([am__untar])
  7103. ]) # _AM_PROG_TAR
  7104. +m4_include([m4/attributes.m4])
  7105. +m4_include([m4/libtool.m4])
  7106. +m4_include([m4/ltoptions.m4])
  7107. +m4_include([m4/ltsugar.m4])
  7108. +m4_include([m4/ltversion.m4])
  7109. +m4_include([m4/lt~obsolete.m4])
  7110. m4_include([acinclude.m4])
  7111. diff -Nur alsa-lib-1.0.22.orig/alsalisp/Makefile.in alsa-lib-1.0.22/alsalisp/Makefile.in
  7112. --- alsa-lib-1.0.22.orig/alsalisp/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  7113. +++ alsa-lib-1.0.22/alsalisp/Makefile.in 2011-02-24 20:33:14.763558494 +0100
  7114. @@ -1,8 +1,9 @@
  7115. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  7116. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  7117. # @configure_input@
  7118. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  7119. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  7120. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  7121. +# Inc.
  7122. # This Makefile.in is free software; the Free Software Foundation
  7123. # gives unlimited permission to copy and/or distribute it,
  7124. # with or without modifications, as long as this notice is preserved.
  7125. @@ -14,15 +15,12 @@
  7126. @SET_MAKE@
  7127. -srcdir = @srcdir@
  7128. -top_srcdir = @top_srcdir@
  7129. VPATH = @srcdir@
  7130. pkgdatadir = $(datadir)/@PACKAGE@
  7131. -pkglibdir = $(libdir)/@PACKAGE@
  7132. pkgincludedir = $(includedir)/@PACKAGE@
  7133. -top_builddir = ..
  7134. +pkglibdir = $(libdir)/@PACKAGE@
  7135. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  7136. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  7137. -INSTALL = @INSTALL@
  7138. install_sh_DATA = $(install_sh) -c -m 644
  7139. install_sh_PROGRAM = $(install_sh) -c
  7140. install_sh_SCRIPT = $(install_sh) -c
  7141. @@ -40,28 +38,50 @@
  7142. subdir = alsalisp
  7143. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  7144. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  7145. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  7146. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  7147. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  7148. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  7149. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  7150. $(top_srcdir)/configure.in
  7151. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  7152. $(ACLOCAL_M4)
  7153. mkinstalldirs = $(install_sh) -d
  7154. CONFIG_HEADER = $(top_builddir)/include/config.h
  7155. CONFIG_CLEAN_FILES =
  7156. +CONFIG_CLEAN_VPATH_FILES =
  7157. PROGRAMS = $(noinst_PROGRAMS)
  7158. am_alsalisp_OBJECTS = alsalisp.$(OBJEXT)
  7159. alsalisp_OBJECTS = $(am_alsalisp_OBJECTS)
  7160. alsalisp_DEPENDENCIES = ../src/libasound.la
  7161. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  7162. +AM_V_lt = $(am__v_lt_$(V))
  7163. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  7164. +am__v_lt_0 = --silent
  7165. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  7166. depcomp = $(SHELL) $(top_srcdir)/depcomp
  7167. am__depfiles_maybe = depfiles
  7168. +am__mv = mv -f
  7169. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  7170. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  7171. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  7172. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  7173. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  7174. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  7175. $(AM_CFLAGS) $(CFLAGS)
  7176. +AM_V_CC = $(am__v_CC_$(V))
  7177. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  7178. +am__v_CC_0 = @echo " CC " $@;
  7179. +AM_V_at = $(am__v_at_$(V))
  7180. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  7181. +am__v_at_0 = @
  7182. CCLD = $(CC)
  7183. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  7184. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  7185. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  7186. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  7187. +AM_V_CCLD = $(am__v_CCLD_$(V))
  7188. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  7189. +am__v_CCLD_0 = @echo " CCLD " $@;
  7190. +AM_V_GEN = $(am__v_GEN_$(V))
  7191. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  7192. +am__v_GEN_0 = @echo " GEN " $@;
  7193. SOURCES = $(alsalisp_SOURCES)
  7194. DIST_SOURCES = $(alsalisp_SOURCES)
  7195. ETAGS = etags
  7196. @@ -70,143 +90,66 @@
  7197. ACLOCAL = @ACLOCAL@
  7198. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  7199. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  7200. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  7201. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  7202. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  7203. -AMDEP_FALSE = @AMDEP_FALSE@
  7204. -AMDEP_TRUE = @AMDEP_TRUE@
  7205. AMTAR = @AMTAR@
  7206. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  7207. AR = @AR@
  7208. AUTOCONF = @AUTOCONF@
  7209. AUTOHEADER = @AUTOHEADER@
  7210. AUTOMAKE = @AUTOMAKE@
  7211. AWK = @AWK@
  7212. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  7213. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  7214. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  7215. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  7216. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  7217. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  7218. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  7219. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  7220. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  7221. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  7222. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  7223. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  7224. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  7225. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  7226. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  7227. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  7228. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  7229. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  7230. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  7231. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  7232. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  7233. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  7234. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  7235. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  7236. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  7237. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  7238. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  7239. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  7240. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  7241. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  7242. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  7243. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  7244. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  7245. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  7246. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  7247. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  7248. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  7249. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  7250. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  7251. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  7252. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  7253. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  7254. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  7255. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  7256. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  7257. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  7258. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  7259. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  7260. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  7261. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  7262. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  7263. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  7264. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  7265. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  7266. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  7267. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  7268. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  7269. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  7270. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  7271. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  7272. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  7273. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  7274. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  7275. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  7276. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  7277. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  7278. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  7279. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  7280. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  7281. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  7282. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  7283. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  7284. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  7285. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  7286. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  7287. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  7288. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  7289. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  7290. CC = @CC@
  7291. CCDEPMODE = @CCDEPMODE@
  7292. CFLAGS = @CFLAGS@
  7293. CPP = @CPP@
  7294. CPPFLAGS = @CPPFLAGS@
  7295. -CXX = @CXX@
  7296. -CXXCPP = @CXXCPP@
  7297. -CXXDEPMODE = @CXXDEPMODE@
  7298. -CXXFLAGS = @CXXFLAGS@
  7299. CYGPATH_W = @CYGPATH_W@
  7300. DEFS = @DEFS@
  7301. DEPDIR = @DEPDIR@
  7302. -ECHO = @ECHO@
  7303. +DSYMUTIL = @DSYMUTIL@
  7304. +DUMPBIN = @DUMPBIN@
  7305. ECHO_C = @ECHO_C@
  7306. ECHO_N = @ECHO_N@
  7307. ECHO_T = @ECHO_T@
  7308. EGREP = @EGREP@
  7309. EXEEXT = @EXEEXT@
  7310. -F77 = @F77@
  7311. -FFLAGS = @FFLAGS@
  7312. +FGREP = @FGREP@
  7313. GREP = @GREP@
  7314. +INSTALL = @INSTALL@
  7315. INSTALL_DATA = @INSTALL_DATA@
  7316. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  7317. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  7318. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  7319. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  7320. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  7321. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  7322. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  7323. +LD = @LD@
  7324. LDFLAGS = @LDFLAGS@
  7325. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  7326. LIBOBJS = @LIBOBJS@
  7327. LIBS = @LIBS@
  7328. LIBTOOL = @LIBTOOL@
  7329. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  7330. +LIPO = @LIPO@
  7331. LN_S = @LN_S@
  7332. LTLIBOBJS = @LTLIBOBJS@
  7333. MAKEINFO = @MAKEINFO@
  7334. +MKDIR_P = @MKDIR_P@
  7335. +NM = @NM@
  7336. +NMEDIT = @NMEDIT@
  7337. +OBJDUMP = @OBJDUMP@
  7338. OBJEXT = @OBJEXT@
  7339. +OTOOL = @OTOOL@
  7340. +OTOOL64 = @OTOOL64@
  7341. PACKAGE = @PACKAGE@
  7342. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  7343. PACKAGE_NAME = @PACKAGE_NAME@
  7344. PACKAGE_STRING = @PACKAGE_STRING@
  7345. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  7346. +PACKAGE_URL = @PACKAGE_URL@
  7347. PACKAGE_VERSION = @PACKAGE_VERSION@
  7348. PATH_SEPARATOR = @PATH_SEPARATOR@
  7349. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  7350. PYTHON_LIBS = @PYTHON_LIBS@
  7351. RANLIB = @RANLIB@
  7352. +SED = @SED@
  7353. SET_MAKE = @SET_MAKE@
  7354. SHELL = @SHELL@
  7355. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  7356. @@ -215,19 +158,14 @@
  7357. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  7358. SND_LIB_VERSION = @SND_LIB_VERSION@
  7359. STRIP = @STRIP@
  7360. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  7361. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  7362. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  7363. VERSION = @VERSION@
  7364. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  7365. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  7366. +abs_builddir = @abs_builddir@
  7367. +abs_srcdir = @abs_srcdir@
  7368. +abs_top_builddir = @abs_top_builddir@
  7369. +abs_top_srcdir = @abs_top_srcdir@
  7370. ac_ct_CC = @ac_ct_CC@
  7371. -ac_ct_CXX = @ac_ct_CXX@
  7372. -ac_ct_F77 = @ac_ct_F77@
  7373. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  7374. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  7375. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  7376. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  7377. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  7378. am__include = @am__include@
  7379. am__leading_dot = @am__leading_dot@
  7380. am__quote = @am__quote@
  7381. @@ -239,6 +177,7 @@
  7382. build_cpu = @build_cpu@
  7383. build_os = @build_os@
  7384. build_vendor = @build_vendor@
  7385. +builddir = @builddir@
  7386. datadir = @datadir@
  7387. datarootdir = @datarootdir@
  7388. docdir = @docdir@
  7389. @@ -257,6 +196,7 @@
  7390. libexecdir = @libexecdir@
  7391. localedir = @localedir@
  7392. localstatedir = @localstatedir@
  7393. +lt_ECHO = @lt_ECHO@
  7394. mandir = @mandir@
  7395. mkdir_p = @mkdir_p@
  7396. oldincludedir = @oldincludedir@
  7397. @@ -266,8 +206,12 @@
  7398. psdir = @psdir@
  7399. sbindir = @sbindir@
  7400. sharedstatedir = @sharedstatedir@
  7401. +srcdir = @srcdir@
  7402. sysconfdir = @sysconfdir@
  7403. target_alias = @target_alias@
  7404. +top_build_prefix = @top_build_prefix@
  7405. +top_builddir = @top_builddir@
  7406. +top_srcdir = @top_srcdir@
  7407. alsalisp_SOURCES = alsalisp.c
  7408. alsalisp_LDADD = ../src/libasound.la
  7409. INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/alisp
  7410. @@ -279,14 +223,14 @@
  7411. @for dep in $?; do \
  7412. case '$(am__configure_deps)' in \
  7413. *$$dep*) \
  7414. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  7415. - && exit 0; \
  7416. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  7417. + && { if test -f $@; then exit 0; else break; fi; }; \
  7418. exit 1;; \
  7419. esac; \
  7420. done; \
  7421. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign alsalisp/Makefile'; \
  7422. - cd $(top_srcdir) && \
  7423. - $(AUTOMAKE) --foreign alsalisp/Makefile
  7424. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu alsalisp/Makefile'; \
  7425. + $(am__cd) $(top_srcdir) && \
  7426. + $(AUTOMAKE) --gnu alsalisp/Makefile
  7427. .PRECIOUS: Makefile
  7428. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  7429. @case '$?' in \
  7430. @@ -304,16 +248,19 @@
  7431. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  7432. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  7433. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  7434. +$(am__aclocal_m4_deps):
  7435. clean-noinstPROGRAMS:
  7436. - @list='$(noinst_PROGRAMS)'; for p in $$list; do \
  7437. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  7438. - echo " rm -f $$p $$f"; \
  7439. - rm -f $$p $$f ; \
  7440. - done
  7441. + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
  7442. + echo " rm -f" $$list; \
  7443. + rm -f $$list || exit $$?; \
  7444. + test -n "$(EXEEXT)" || exit 0; \
  7445. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  7446. + echo " rm -f" $$list; \
  7447. + rm -f $$list
  7448. alsalisp$(EXEEXT): $(alsalisp_OBJECTS) $(alsalisp_DEPENDENCIES)
  7449. @rm -f alsalisp$(EXEEXT)
  7450. - $(LINK) $(alsalisp_LDFLAGS) $(alsalisp_OBJECTS) $(alsalisp_LDADD) $(LIBS)
  7451. + $(AM_V_CCLD)$(LINK) $(alsalisp_OBJECTS) $(alsalisp_LDADD) $(LIBS)
  7452. mostlyclean-compile:
  7453. -rm -f *.$(OBJEXT)
  7454. @@ -324,22 +271,25 @@
  7455. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alsalisp.Po@am__quote@
  7456. .c.o:
  7457. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  7458. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  7459. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  7460. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  7461. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  7462. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  7463. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  7464. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  7465. .c.obj:
  7466. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  7467. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  7468. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  7469. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  7470. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  7471. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  7472. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  7473. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  7474. .c.lo:
  7475. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  7476. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  7477. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  7478. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  7479. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  7480. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  7481. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  7482. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  7483. @@ -350,82 +300,85 @@
  7484. clean-libtool:
  7485. -rm -rf .libs _libs
  7486. -distclean-libtool:
  7487. - -rm -f libtool
  7488. -uninstall-info-am:
  7489. -
  7490. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  7491. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  7492. unique=`for i in $$list; do \
  7493. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  7494. done | \
  7495. - $(AWK) ' { files[$$0] = 1; } \
  7496. - END { for (i in files) print i; }'`; \
  7497. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  7498. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  7499. mkid -fID $$unique
  7500. tags: TAGS
  7501. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  7502. $(TAGS_FILES) $(LISP)
  7503. - tags=; \
  7504. + set x; \
  7505. here=`pwd`; \
  7506. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  7507. unique=`for i in $$list; do \
  7508. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  7509. done | \
  7510. - $(AWK) ' { files[$$0] = 1; } \
  7511. - END { for (i in files) print i; }'`; \
  7512. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  7513. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  7514. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  7515. + shift; \
  7516. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  7517. test -n "$$unique" || unique=$$empty_fix; \
  7518. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  7519. - $$tags $$unique; \
  7520. + if test $$# -gt 0; then \
  7521. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  7522. + "$$@" $$unique; \
  7523. + else \
  7524. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  7525. + $$unique; \
  7526. + fi; \
  7527. fi
  7528. ctags: CTAGS
  7529. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  7530. $(TAGS_FILES) $(LISP)
  7531. - tags=; \
  7532. - here=`pwd`; \
  7533. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  7534. unique=`for i in $$list; do \
  7535. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  7536. done | \
  7537. - $(AWK) ' { files[$$0] = 1; } \
  7538. - END { for (i in files) print i; }'`; \
  7539. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  7540. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  7541. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  7542. + test -z "$(CTAGS_ARGS)$$unique" \
  7543. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  7544. - $$tags $$unique
  7545. + $$unique
  7546. GTAGS:
  7547. here=`$(am__cd) $(top_builddir) && pwd` \
  7548. - && cd $(top_srcdir) \
  7549. - && gtags -i $(GTAGS_ARGS) $$here
  7550. + && $(am__cd) $(top_srcdir) \
  7551. + && gtags -i $(GTAGS_ARGS) "$$here"
  7552. distclean-tags:
  7553. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  7554. distdir: $(DISTFILES)
  7555. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  7556. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  7557. - list='$(DISTFILES)'; for file in $$list; do \
  7558. - case $$file in \
  7559. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  7560. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  7561. - esac; \
  7562. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  7563. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  7564. + list='$(DISTFILES)'; \
  7565. + dist_files=`for file in $$list; do echo $$file; done | \
  7566. + sed -e "s|^$$srcdirstrip/||;t" \
  7567. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  7568. + case $$dist_files in \
  7569. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  7570. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  7571. + sort -u` ;; \
  7572. + esac; \
  7573. + for file in $$dist_files; do \
  7574. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  7575. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  7576. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  7577. - dir="/$$dir"; \
  7578. - $(mkdir_p) "$(distdir)$$dir"; \
  7579. - else \
  7580. - dir=''; \
  7581. - fi; \
  7582. if test -d $$d/$$file; then \
  7583. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  7584. + if test -d "$(distdir)/$$file"; then \
  7585. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  7586. + fi; \
  7587. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  7588. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  7589. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  7590. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  7591. fi; \
  7592. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  7593. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  7594. else \
  7595. - test -f $(distdir)/$$file \
  7596. - || cp -p $$d/$$file $(distdir)/$$file \
  7597. + test -f "$(distdir)/$$file" \
  7598. + || cp -p $$d/$$file "$(distdir)/$$file" \
  7599. || exit 1; \
  7600. fi; \
  7601. done
  7602. @@ -453,6 +406,7 @@
  7603. distclean-generic:
  7604. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  7605. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  7606. maintainer-clean-generic:
  7607. @echo "This command is intended for maintainers to use"
  7608. @@ -466,7 +420,7 @@
  7609. -rm -rf ./$(DEPDIR)
  7610. -rm -f Makefile
  7611. distclean-am: clean-am distclean-compile distclean-generic \
  7612. - distclean-libtool distclean-tags
  7613. + distclean-tags
  7614. dvi: dvi-am
  7615. @@ -474,18 +428,38 @@
  7616. html: html-am
  7617. +html-am:
  7618. +
  7619. info: info-am
  7620. info-am:
  7621. install-data-am:
  7622. +install-dvi: install-dvi-am
  7623. +
  7624. +install-dvi-am:
  7625. +
  7626. install-exec-am:
  7627. +install-html: install-html-am
  7628. +
  7629. +install-html-am:
  7630. +
  7631. install-info: install-info-am
  7632. +install-info-am:
  7633. +
  7634. install-man:
  7635. +install-pdf: install-pdf-am
  7636. +
  7637. +install-pdf-am:
  7638. +
  7639. +install-ps: install-ps-am
  7640. +
  7641. +install-ps-am:
  7642. +
  7643. installcheck-am:
  7644. maintainer-clean: maintainer-clean-am
  7645. @@ -506,22 +480,26 @@
  7646. ps-am:
  7647. -uninstall-am: uninstall-info-am
  7648. +uninstall-am:
  7649. +
  7650. +.MAKE: install-am install-strip
  7651. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  7652. clean-libtool clean-noinstPROGRAMS ctags distclean \
  7653. distclean-compile distclean-generic distclean-libtool \
  7654. distclean-tags distdir dvi dvi-am html html-am info info-am \
  7655. - install install-am install-data install-data-am install-exec \
  7656. - install-exec-am install-info install-info-am install-man \
  7657. + install install-am install-data install-data-am install-dvi \
  7658. + install-dvi-am install-exec install-exec-am install-html \
  7659. + install-html-am install-info install-info-am install-man \
  7660. + install-pdf install-pdf-am install-ps install-ps-am \
  7661. install-strip installcheck installcheck-am installdirs \
  7662. maintainer-clean maintainer-clean-generic mostlyclean \
  7663. mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  7664. - pdf pdf-am ps ps-am tags uninstall uninstall-am \
  7665. - uninstall-info-am
  7666. + pdf pdf-am ps ps-am tags uninstall uninstall-am
  7667. all: alsalisp
  7668. +
  7669. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  7670. # Otherwise a system limit (for SysV at least) may be exceeded.
  7671. .NOEXPORT:
  7672. diff -Nur alsa-lib-1.0.22.orig/aserver/Makefile.in alsa-lib-1.0.22/aserver/Makefile.in
  7673. --- alsa-lib-1.0.22.orig/aserver/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  7674. +++ alsa-lib-1.0.22/aserver/Makefile.in 2011-02-24 20:33:14.813552569 +0100
  7675. @@ -1,8 +1,9 @@
  7676. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  7677. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  7678. # @configure_input@
  7679. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  7680. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  7681. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  7682. +# Inc.
  7683. # This Makefile.in is free software; the Free Software Foundation
  7684. # gives unlimited permission to copy and/or distribute it,
  7685. # with or without modifications, as long as this notice is preserved.
  7686. @@ -14,15 +15,12 @@
  7687. @SET_MAKE@
  7688. -srcdir = @srcdir@
  7689. -top_srcdir = @top_srcdir@
  7690. VPATH = @srcdir@
  7691. pkgdatadir = $(datadir)/@PACKAGE@
  7692. -pkglibdir = $(libdir)/@PACKAGE@
  7693. pkgincludedir = $(includedir)/@PACKAGE@
  7694. -top_builddir = ..
  7695. +pkglibdir = $(libdir)/@PACKAGE@
  7696. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  7697. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  7698. -INSTALL = @INSTALL@
  7699. install_sh_DATA = $(install_sh) -c -m 644
  7700. install_sh_PROGRAM = $(install_sh) -c
  7701. install_sh_SCRIPT = $(install_sh) -c
  7702. @@ -40,30 +38,51 @@
  7703. subdir = aserver
  7704. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in COPYING
  7705. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  7706. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  7707. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  7708. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  7709. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  7710. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  7711. $(top_srcdir)/configure.in
  7712. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  7713. $(ACLOCAL_M4)
  7714. mkinstalldirs = $(install_sh) -d
  7715. CONFIG_HEADER = $(top_builddir)/include/config.h
  7716. CONFIG_CLEAN_FILES =
  7717. +CONFIG_CLEAN_VPATH_FILES =
  7718. am__installdirs = "$(DESTDIR)$(bindir)"
  7719. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  7720. PROGRAMS = $(bin_PROGRAMS)
  7721. am_aserver_OBJECTS = aserver.$(OBJEXT)
  7722. aserver_OBJECTS = $(am_aserver_OBJECTS)
  7723. aserver_DEPENDENCIES = ../src/libasound.la
  7724. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  7725. +AM_V_lt = $(am__v_lt_$(V))
  7726. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  7727. +am__v_lt_0 = --silent
  7728. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  7729. depcomp = $(SHELL) $(top_srcdir)/depcomp
  7730. am__depfiles_maybe = depfiles
  7731. +am__mv = mv -f
  7732. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  7733. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  7734. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  7735. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  7736. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  7737. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  7738. $(AM_CFLAGS) $(CFLAGS)
  7739. +AM_V_CC = $(am__v_CC_$(V))
  7740. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  7741. +am__v_CC_0 = @echo " CC " $@;
  7742. +AM_V_at = $(am__v_at_$(V))
  7743. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  7744. +am__v_at_0 = @
  7745. CCLD = $(CC)
  7746. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  7747. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  7748. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  7749. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  7750. +AM_V_CCLD = $(am__v_CCLD_$(V))
  7751. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  7752. +am__v_CCLD_0 = @echo " CCLD " $@;
  7753. +AM_V_GEN = $(am__v_GEN_$(V))
  7754. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  7755. +am__v_GEN_0 = @echo " GEN " $@;
  7756. SOURCES = $(aserver_SOURCES)
  7757. DIST_SOURCES = $(aserver_SOURCES)
  7758. ETAGS = etags
  7759. @@ -72,143 +91,66 @@
  7760. ACLOCAL = @ACLOCAL@
  7761. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  7762. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  7763. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  7764. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  7765. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  7766. -AMDEP_FALSE = @AMDEP_FALSE@
  7767. -AMDEP_TRUE = @AMDEP_TRUE@
  7768. AMTAR = @AMTAR@
  7769. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  7770. AR = @AR@
  7771. AUTOCONF = @AUTOCONF@
  7772. AUTOHEADER = @AUTOHEADER@
  7773. AUTOMAKE = @AUTOMAKE@
  7774. AWK = @AWK@
  7775. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  7776. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  7777. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  7778. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  7779. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  7780. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  7781. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  7782. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  7783. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  7784. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  7785. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  7786. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  7787. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  7788. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  7789. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  7790. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  7791. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  7792. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  7793. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  7794. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  7795. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  7796. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  7797. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  7798. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  7799. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  7800. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  7801. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  7802. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  7803. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  7804. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  7805. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  7806. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  7807. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  7808. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  7809. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  7810. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  7811. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  7812. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  7813. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  7814. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  7815. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  7816. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  7817. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  7818. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  7819. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  7820. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  7821. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  7822. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  7823. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  7824. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  7825. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  7826. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  7827. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  7828. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  7829. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  7830. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  7831. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  7832. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  7833. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  7834. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  7835. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  7836. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  7837. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  7838. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  7839. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  7840. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  7841. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  7842. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  7843. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  7844. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  7845. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  7846. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  7847. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  7848. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  7849. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  7850. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  7851. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  7852. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  7853. CC = @CC@
  7854. CCDEPMODE = @CCDEPMODE@
  7855. CFLAGS = @CFLAGS@
  7856. CPP = @CPP@
  7857. CPPFLAGS = @CPPFLAGS@
  7858. -CXX = @CXX@
  7859. -CXXCPP = @CXXCPP@
  7860. -CXXDEPMODE = @CXXDEPMODE@
  7861. -CXXFLAGS = @CXXFLAGS@
  7862. CYGPATH_W = @CYGPATH_W@
  7863. DEFS = @DEFS@
  7864. DEPDIR = @DEPDIR@
  7865. -ECHO = @ECHO@
  7866. +DSYMUTIL = @DSYMUTIL@
  7867. +DUMPBIN = @DUMPBIN@
  7868. ECHO_C = @ECHO_C@
  7869. ECHO_N = @ECHO_N@
  7870. ECHO_T = @ECHO_T@
  7871. EGREP = @EGREP@
  7872. EXEEXT = @EXEEXT@
  7873. -F77 = @F77@
  7874. -FFLAGS = @FFLAGS@
  7875. +FGREP = @FGREP@
  7876. GREP = @GREP@
  7877. +INSTALL = @INSTALL@
  7878. INSTALL_DATA = @INSTALL_DATA@
  7879. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  7880. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  7881. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  7882. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  7883. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  7884. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  7885. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  7886. +LD = @LD@
  7887. LDFLAGS = @LDFLAGS@
  7888. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  7889. LIBOBJS = @LIBOBJS@
  7890. LIBS = @LIBS@
  7891. LIBTOOL = @LIBTOOL@
  7892. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  7893. +LIPO = @LIPO@
  7894. LN_S = @LN_S@
  7895. LTLIBOBJS = @LTLIBOBJS@
  7896. MAKEINFO = @MAKEINFO@
  7897. +MKDIR_P = @MKDIR_P@
  7898. +NM = @NM@
  7899. +NMEDIT = @NMEDIT@
  7900. +OBJDUMP = @OBJDUMP@
  7901. OBJEXT = @OBJEXT@
  7902. +OTOOL = @OTOOL@
  7903. +OTOOL64 = @OTOOL64@
  7904. PACKAGE = @PACKAGE@
  7905. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  7906. PACKAGE_NAME = @PACKAGE_NAME@
  7907. PACKAGE_STRING = @PACKAGE_STRING@
  7908. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  7909. +PACKAGE_URL = @PACKAGE_URL@
  7910. PACKAGE_VERSION = @PACKAGE_VERSION@
  7911. PATH_SEPARATOR = @PATH_SEPARATOR@
  7912. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  7913. PYTHON_LIBS = @PYTHON_LIBS@
  7914. RANLIB = @RANLIB@
  7915. +SED = @SED@
  7916. SET_MAKE = @SET_MAKE@
  7917. SHELL = @SHELL@
  7918. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  7919. @@ -217,19 +159,14 @@
  7920. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  7921. SND_LIB_VERSION = @SND_LIB_VERSION@
  7922. STRIP = @STRIP@
  7923. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  7924. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  7925. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  7926. VERSION = @VERSION@
  7927. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  7928. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  7929. +abs_builddir = @abs_builddir@
  7930. +abs_srcdir = @abs_srcdir@
  7931. +abs_top_builddir = @abs_top_builddir@
  7932. +abs_top_srcdir = @abs_top_srcdir@
  7933. ac_ct_CC = @ac_ct_CC@
  7934. -ac_ct_CXX = @ac_ct_CXX@
  7935. -ac_ct_F77 = @ac_ct_F77@
  7936. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  7937. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  7938. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  7939. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  7940. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  7941. am__include = @am__include@
  7942. am__leading_dot = @am__leading_dot@
  7943. am__quote = @am__quote@
  7944. @@ -241,6 +178,7 @@
  7945. build_cpu = @build_cpu@
  7946. build_os = @build_os@
  7947. build_vendor = @build_vendor@
  7948. +builddir = @builddir@
  7949. datadir = @datadir@
  7950. datarootdir = @datarootdir@
  7951. docdir = @docdir@
  7952. @@ -259,6 +197,7 @@
  7953. libexecdir = @libexecdir@
  7954. localedir = @localedir@
  7955. localstatedir = @localstatedir@
  7956. +lt_ECHO = @lt_ECHO@
  7957. mandir = @mandir@
  7958. mkdir_p = @mkdir_p@
  7959. oldincludedir = @oldincludedir@
  7960. @@ -268,8 +207,12 @@
  7961. psdir = @psdir@
  7962. sbindir = @sbindir@
  7963. sharedstatedir = @sharedstatedir@
  7964. +srcdir = @srcdir@
  7965. sysconfdir = @sysconfdir@
  7966. target_alias = @target_alias@
  7967. +top_build_prefix = @top_build_prefix@
  7968. +top_builddir = @top_builddir@
  7969. +top_srcdir = @top_srcdir@
  7970. aserver_SOURCES = aserver.c
  7971. # aserver_LDADD = -lasound
  7972. aserver_LDADD = ../src/libasound.la
  7973. @@ -282,14 +225,14 @@
  7974. @for dep in $?; do \
  7975. case '$(am__configure_deps)' in \
  7976. *$$dep*) \
  7977. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  7978. - && exit 0; \
  7979. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  7980. + && { if test -f $@; then exit 0; else break; fi; }; \
  7981. exit 1;; \
  7982. esac; \
  7983. done; \
  7984. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign aserver/Makefile'; \
  7985. - cd $(top_srcdir) && \
  7986. - $(AUTOMAKE) --foreign aserver/Makefile
  7987. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu aserver/Makefile'; \
  7988. + $(am__cd) $(top_srcdir) && \
  7989. + $(AUTOMAKE) --gnu aserver/Makefile
  7990. .PRECIOUS: Makefile
  7991. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  7992. @case '$?' in \
  7993. @@ -307,37 +250,53 @@
  7994. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  7995. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  7996. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  7997. +$(am__aclocal_m4_deps):
  7998. install-binPROGRAMS: $(bin_PROGRAMS)
  7999. @$(NORMAL_INSTALL)
  8000. - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
  8001. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  8002. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  8003. - if test -f $$p \
  8004. - || test -f $$p1 \
  8005. - ; then \
  8006. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  8007. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  8008. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  8009. - else :; fi; \
  8010. - done
  8011. + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  8012. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  8013. + for p in $$list; do echo "$$p $$p"; done | \
  8014. + sed 's/$(EXEEXT)$$//' | \
  8015. + while read p p1; do if test -f $$p || test -f $$p1; \
  8016. + then echo "$$p"; echo "$$p"; else :; fi; \
  8017. + done | \
  8018. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  8019. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  8020. + sed 'N;N;N;s,\n, ,g' | \
  8021. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  8022. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  8023. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  8024. + else { print "f", $$3 "/" $$4, $$1; } } \
  8025. + END { for (d in files) print "f", d, files[d] }' | \
  8026. + while read type dir files; do \
  8027. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  8028. + test -z "$$files" || { \
  8029. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  8030. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  8031. + } \
  8032. + ; done
  8033. uninstall-binPROGRAMS:
  8034. @$(NORMAL_UNINSTALL)
  8035. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  8036. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  8037. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  8038. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  8039. - done
  8040. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  8041. + files=`for p in $$list; do echo "$$p"; done | \
  8042. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  8043. + -e 's/$$/$(EXEEXT)/' `; \
  8044. + test -n "$$list" || exit 0; \
  8045. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  8046. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  8047. clean-binPROGRAMS:
  8048. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  8049. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  8050. - echo " rm -f $$p $$f"; \
  8051. - rm -f $$p $$f ; \
  8052. - done
  8053. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  8054. + echo " rm -f" $$list; \
  8055. + rm -f $$list || exit $$?; \
  8056. + test -n "$(EXEEXT)" || exit 0; \
  8057. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  8058. + echo " rm -f" $$list; \
  8059. + rm -f $$list
  8060. aserver$(EXEEXT): $(aserver_OBJECTS) $(aserver_DEPENDENCIES)
  8061. @rm -f aserver$(EXEEXT)
  8062. - $(LINK) $(aserver_LDFLAGS) $(aserver_OBJECTS) $(aserver_LDADD) $(LIBS)
  8063. + $(AM_V_CCLD)$(LINK) $(aserver_OBJECTS) $(aserver_LDADD) $(LIBS)
  8064. mostlyclean-compile:
  8065. -rm -f *.$(OBJEXT)
  8066. @@ -348,22 +307,25 @@
  8067. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aserver.Po@am__quote@
  8068. .c.o:
  8069. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  8070. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  8071. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  8072. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  8073. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  8074. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  8075. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  8076. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  8077. .c.obj:
  8078. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  8079. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  8080. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  8081. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  8082. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  8083. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  8084. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  8085. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  8086. .c.lo:
  8087. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  8088. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  8089. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  8090. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  8091. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  8092. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  8093. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  8094. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  8095. @@ -374,82 +336,85 @@
  8096. clean-libtool:
  8097. -rm -rf .libs _libs
  8098. -distclean-libtool:
  8099. - -rm -f libtool
  8100. -uninstall-info-am:
  8101. -
  8102. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  8103. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  8104. unique=`for i in $$list; do \
  8105. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  8106. done | \
  8107. - $(AWK) ' { files[$$0] = 1; } \
  8108. - END { for (i in files) print i; }'`; \
  8109. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  8110. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  8111. mkid -fID $$unique
  8112. tags: TAGS
  8113. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  8114. $(TAGS_FILES) $(LISP)
  8115. - tags=; \
  8116. + set x; \
  8117. here=`pwd`; \
  8118. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  8119. unique=`for i in $$list; do \
  8120. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  8121. done | \
  8122. - $(AWK) ' { files[$$0] = 1; } \
  8123. - END { for (i in files) print i; }'`; \
  8124. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  8125. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  8126. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  8127. + shift; \
  8128. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  8129. test -n "$$unique" || unique=$$empty_fix; \
  8130. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  8131. - $$tags $$unique; \
  8132. + if test $$# -gt 0; then \
  8133. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  8134. + "$$@" $$unique; \
  8135. + else \
  8136. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  8137. + $$unique; \
  8138. + fi; \
  8139. fi
  8140. ctags: CTAGS
  8141. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  8142. $(TAGS_FILES) $(LISP)
  8143. - tags=; \
  8144. - here=`pwd`; \
  8145. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  8146. unique=`for i in $$list; do \
  8147. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  8148. done | \
  8149. - $(AWK) ' { files[$$0] = 1; } \
  8150. - END { for (i in files) print i; }'`; \
  8151. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  8152. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  8153. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  8154. + test -z "$(CTAGS_ARGS)$$unique" \
  8155. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  8156. - $$tags $$unique
  8157. + $$unique
  8158. GTAGS:
  8159. here=`$(am__cd) $(top_builddir) && pwd` \
  8160. - && cd $(top_srcdir) \
  8161. - && gtags -i $(GTAGS_ARGS) $$here
  8162. + && $(am__cd) $(top_srcdir) \
  8163. + && gtags -i $(GTAGS_ARGS) "$$here"
  8164. distclean-tags:
  8165. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  8166. distdir: $(DISTFILES)
  8167. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  8168. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  8169. - list='$(DISTFILES)'; for file in $$list; do \
  8170. - case $$file in \
  8171. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  8172. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  8173. - esac; \
  8174. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  8175. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  8176. + list='$(DISTFILES)'; \
  8177. + dist_files=`for file in $$list; do echo $$file; done | \
  8178. + sed -e "s|^$$srcdirstrip/||;t" \
  8179. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  8180. + case $$dist_files in \
  8181. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  8182. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  8183. + sort -u` ;; \
  8184. + esac; \
  8185. + for file in $$dist_files; do \
  8186. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  8187. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  8188. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  8189. - dir="/$$dir"; \
  8190. - $(mkdir_p) "$(distdir)$$dir"; \
  8191. - else \
  8192. - dir=''; \
  8193. - fi; \
  8194. if test -d $$d/$$file; then \
  8195. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  8196. + if test -d "$(distdir)/$$file"; then \
  8197. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  8198. + fi; \
  8199. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  8200. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  8201. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  8202. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  8203. fi; \
  8204. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  8205. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  8206. else \
  8207. - test -f $(distdir)/$$file \
  8208. - || cp -p $$d/$$file $(distdir)/$$file \
  8209. + test -f "$(distdir)/$$file" \
  8210. + || cp -p $$d/$$file "$(distdir)/$$file" \
  8211. || exit 1; \
  8212. fi; \
  8213. done
  8214. @@ -458,7 +423,7 @@
  8215. all-am: Makefile $(PROGRAMS)
  8216. installdirs:
  8217. for dir in "$(DESTDIR)$(bindir)"; do \
  8218. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  8219. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  8220. done
  8221. install: install-am
  8222. install-exec: install-exec-am
  8223. @@ -480,6 +445,7 @@
  8224. distclean-generic:
  8225. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  8226. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  8227. maintainer-clean-generic:
  8228. @echo "This command is intended for maintainers to use"
  8229. @@ -492,7 +458,7 @@
  8230. -rm -rf ./$(DEPDIR)
  8231. -rm -f Makefile
  8232. distclean-am: clean-am distclean-compile distclean-generic \
  8233. - distclean-libtool distclean-tags
  8234. + distclean-tags
  8235. dvi: dvi-am
  8236. @@ -500,18 +466,38 @@
  8237. html: html-am
  8238. +html-am:
  8239. +
  8240. info: info-am
  8241. info-am:
  8242. install-data-am:
  8243. +install-dvi: install-dvi-am
  8244. +
  8245. +install-dvi-am:
  8246. +
  8247. install-exec-am: install-binPROGRAMS
  8248. +install-html: install-html-am
  8249. +
  8250. +install-html-am:
  8251. +
  8252. install-info: install-info-am
  8253. +install-info-am:
  8254. +
  8255. install-man:
  8256. +install-pdf: install-pdf-am
  8257. +
  8258. +install-pdf-am:
  8259. +
  8260. +install-ps: install-ps-am
  8261. +
  8262. +install-ps-am:
  8263. +
  8264. installcheck-am:
  8265. maintainer-clean: maintainer-clean-am
  8266. @@ -532,25 +518,30 @@
  8267. ps-am:
  8268. -uninstall-am: uninstall-binPROGRAMS uninstall-info-am
  8269. +uninstall-am: uninstall-binPROGRAMS
  8270. +
  8271. +.MAKE: install-am install-strip
  8272. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
  8273. clean-generic clean-libtool ctags distclean distclean-compile \
  8274. distclean-generic distclean-libtool distclean-tags distdir dvi \
  8275. dvi-am html html-am info info-am install install-am \
  8276. - install-binPROGRAMS install-data install-data-am install-exec \
  8277. - install-exec-am install-info install-info-am install-man \
  8278. + install-binPROGRAMS install-data install-data-am install-dvi \
  8279. + install-dvi-am install-exec install-exec-am install-html \
  8280. + install-html-am install-info install-info-am install-man \
  8281. + install-pdf install-pdf-am install-ps install-ps-am \
  8282. install-strip installcheck installcheck-am installdirs \
  8283. maintainer-clean maintainer-clean-generic mostlyclean \
  8284. mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  8285. pdf pdf-am ps ps-am tags uninstall uninstall-am \
  8286. - uninstall-binPROGRAMS uninstall-info-am
  8287. + uninstall-binPROGRAMS
  8288. all: aserver
  8289. ../src/libasound.la:
  8290. $(MAKE) -C ../src libasound.la
  8291. +
  8292. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  8293. # Otherwise a system limit (for SysV at least) may be exceeded.
  8294. .NOEXPORT:
  8295. diff -Nur alsa-lib-1.0.22.orig/config.guess alsa-lib-1.0.22/config.guess
  8296. --- alsa-lib-1.0.22.orig/config.guess 2006-11-25 12:04:27.000000000 +0100
  8297. +++ alsa-lib-1.0.22/config.guess 2011-02-24 20:33:14.663554226 +0100
  8298. @@ -1,10 +1,10 @@
  8299. #! /bin/sh
  8300. # Attempt to guess a canonical system name.
  8301. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  8302. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
  8303. -# Inc.
  8304. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  8305. +# Free Software Foundation, Inc.
  8306. -timestamp='2006-05-13'
  8307. +timestamp='2009-06-10'
  8308. # This file is free software; you can redistribute it and/or modify it
  8309. # under the terms of the GNU General Public License as published by
  8310. @@ -56,8 +56,8 @@
  8311. GNU config.guess ($timestamp)
  8312. Originally written by Per Bothner.
  8313. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  8314. -Free Software Foundation, Inc.
  8315. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  8316. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  8317. This is free software; see the source for copying conditions. There is NO
  8318. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  8319. @@ -139,16 +139,6 @@
  8320. UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
  8321. UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  8322. -case "${UNAME_MACHINE}" in
  8323. - i?86)
  8324. - test -z "$VENDOR" && VENDOR=pc
  8325. - ;;
  8326. - *)
  8327. - test -z "$VENDOR" && VENDOR=unknown
  8328. - ;;
  8329. -esac
  8330. -test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse
  8331. -
  8332. # Note: order is significant - the case branches are not exclusive.
  8333. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  8334. @@ -171,6 +161,7 @@
  8335. arm*) machine=arm-unknown ;;
  8336. sh3el) machine=shl-unknown ;;
  8337. sh3eb) machine=sh-unknown ;;
  8338. + sh5el) machine=sh5le-unknown ;;
  8339. *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  8340. esac
  8341. # The Operating System including object format, if it has switched
  8342. @@ -179,7 +170,7 @@
  8343. arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  8344. eval $set_cc_for_build
  8345. if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  8346. - | grep __ELF__ >/dev/null
  8347. + | grep -q __ELF__
  8348. then
  8349. # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  8350. # Return netbsd for either. FIX?
  8351. @@ -221,7 +212,7 @@
  8352. echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
  8353. exit ;;
  8354. macppc:MirBSD:*:*)
  8355. - echo powerppc-unknown-mirbsd${UNAME_RELEASE}
  8356. + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
  8357. exit ;;
  8358. *:MirBSD:*:*)
  8359. echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
  8360. @@ -333,14 +324,30 @@
  8361. case `/usr/bin/uname -p` in
  8362. sparc) echo sparc-icl-nx7; exit ;;
  8363. esac ;;
  8364. + s390x:SunOS:*:*)
  8365. + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  8366. + exit ;;
  8367. sun4H:SunOS:5.*:*)
  8368. echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  8369. exit ;;
  8370. sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  8371. echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  8372. exit ;;
  8373. - i86pc:SunOS:5.*:*)
  8374. - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  8375. + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  8376. + eval $set_cc_for_build
  8377. + SUN_ARCH="i386"
  8378. + # If there is a compiler, see if it is configured for 64-bit objects.
  8379. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  8380. + # This test works for both compilers.
  8381. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  8382. + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  8383. + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  8384. + grep IS_64BIT_ARCH >/dev/null
  8385. + then
  8386. + SUN_ARCH="x86_64"
  8387. + fi
  8388. + fi
  8389. + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  8390. exit ;;
  8391. sun4*:SunOS:6*:*)
  8392. # According to config.sub, this is the proper way to canonicalize
  8393. @@ -541,7 +548,7 @@
  8394. echo rs6000-ibm-aix3.2
  8395. fi
  8396. exit ;;
  8397. - *:AIX:*:[45])
  8398. + *:AIX:*:[456])
  8399. IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  8400. if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  8401. IBM_ARCH=rs6000
  8402. @@ -649,7 +656,7 @@
  8403. # => hppa64-hp-hpux11.23
  8404. if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  8405. - grep __LP64__ >/dev/null
  8406. + grep -q __LP64__
  8407. then
  8408. HP_ARCH="hppa2.0w"
  8409. else
  8410. @@ -790,7 +797,7 @@
  8411. i*:CYGWIN*:*)
  8412. echo ${UNAME_MACHINE}-pc-cygwin
  8413. exit ;;
  8414. - i*:MINGW*:*)
  8415. + *:MINGW*:*)
  8416. echo ${UNAME_MACHINE}-pc-mingw32
  8417. exit ;;
  8418. i*:windows32*:*)
  8419. @@ -800,15 +807,24 @@
  8420. i*:PW*:*)
  8421. echo ${UNAME_MACHINE}-pc-pw32
  8422. exit ;;
  8423. - x86:Interix*:[345]*)
  8424. - echo i586-pc-interix${UNAME_RELEASE}
  8425. - exit ;;
  8426. - EM64T:Interix*:[345]*)
  8427. - echo x86_64-unknown-interix${UNAME_RELEASE}
  8428. - exit ;;
  8429. + *:Interix*:[3456]*)
  8430. + case ${UNAME_MACHINE} in
  8431. + x86)
  8432. + echo i586-pc-interix${UNAME_RELEASE}
  8433. + exit ;;
  8434. + EM64T | authenticamd | genuineintel)
  8435. + echo x86_64-unknown-interix${UNAME_RELEASE}
  8436. + exit ;;
  8437. + IA64)
  8438. + echo ia64-unknown-interix${UNAME_RELEASE}
  8439. + exit ;;
  8440. + esac ;;
  8441. [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  8442. echo i${UNAME_MACHINE}-pc-mks
  8443. exit ;;
  8444. + 8664:Windows_NT:*)
  8445. + echo x86_64-pc-mks
  8446. + exit ;;
  8447. i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  8448. # How do we know it's Interix rather than the generic POSIX subsystem?
  8449. # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  8450. @@ -839,7 +855,17 @@
  8451. echo ${UNAME_MACHINE}-pc-minix
  8452. exit ;;
  8453. arm*:Linux:*:*)
  8454. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
  8455. + eval $set_cc_for_build
  8456. + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
  8457. + | grep -q __ARM_EABI__
  8458. + then
  8459. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8460. + else
  8461. + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
  8462. + fi
  8463. + exit ;;
  8464. + avr32*:Linux:*:*)
  8465. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8466. exit ;;
  8467. cris:Linux:*:*)
  8468. echo cris-axis-linux-gnu
  8469. @@ -848,28 +874,28 @@
  8470. echo crisv32-axis-linux-gnu
  8471. exit ;;
  8472. frv:Linux:*:*)
  8473. - echo frv-${VENDOR}-linux-gnu
  8474. + echo frv-unknown-linux-gnu
  8475. exit ;;
  8476. ia64:Linux:*:*)
  8477. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
  8478. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8479. exit ;;
  8480. m32r*:Linux:*:*)
  8481. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
  8482. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8483. exit ;;
  8484. m68*:Linux:*:*)
  8485. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
  8486. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8487. exit ;;
  8488. - mips:Linux:*:*)
  8489. + mips:Linux:*:* | mips64:Linux:*:*)
  8490. eval $set_cc_for_build
  8491. sed 's/^ //' << EOF >$dummy.c
  8492. #undef CPU
  8493. - #undef mips
  8494. - #undef mipsel
  8495. + #undef ${UNAME_MACHINE}
  8496. + #undef ${UNAME_MACHINE}el
  8497. #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  8498. - CPU=mipsel
  8499. + CPU=${UNAME_MACHINE}el
  8500. #else
  8501. #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  8502. - CPU=mips
  8503. + CPU=${UNAME_MACHINE}
  8504. #else
  8505. CPU=
  8506. #endif
  8507. @@ -880,39 +906,16 @@
  8508. s: ::g
  8509. p
  8510. }'`"
  8511. - test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
  8512. - ;;
  8513. - mips64:Linux:*:*)
  8514. - eval $set_cc_for_build
  8515. - sed 's/^ //' << EOF >$dummy.c
  8516. - #undef CPU
  8517. - #undef mips64
  8518. - #undef mips64el
  8519. - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  8520. - CPU=mips64el
  8521. - #else
  8522. - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  8523. - CPU=mips64
  8524. - #else
  8525. - CPU=
  8526. - #endif
  8527. - #endif
  8528. -EOF
  8529. - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  8530. - /^CPU/{
  8531. - s: ::g
  8532. - p
  8533. - }'`"
  8534. - test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; }
  8535. + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  8536. ;;
  8537. or32:Linux:*:*)
  8538. - echo or32-${VENDOR}-linux-gnu
  8539. + echo or32-unknown-linux-gnu
  8540. exit ;;
  8541. ppc:Linux:*:*)
  8542. - echo powerpc-${VENDOR}-linux-gnu
  8543. + echo powerpc-unknown-linux-gnu
  8544. exit ;;
  8545. ppc64:Linux:*:*)
  8546. - echo powerpc64-${VENDOR}-linux-gnu
  8547. + echo powerpc64-unknown-linux-gnu
  8548. exit ;;
  8549. alpha:Linux:*:*)
  8550. case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
  8551. @@ -924,38 +927,44 @@
  8552. EV67) UNAME_MACHINE=alphaev67 ;;
  8553. EV68*) UNAME_MACHINE=alphaev68 ;;
  8554. esac
  8555. - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  8556. + objdump --private-headers /bin/sh | grep -q ld.so.1
  8557. if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  8558. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC}
  8559. + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  8560. + exit ;;
  8561. + padre:Linux:*:*)
  8562. + echo sparc-unknown-linux-gnu
  8563. exit ;;
  8564. parisc:Linux:*:* | hppa:Linux:*:*)
  8565. # Look for CPU level
  8566. case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  8567. - PA7*) echo hppa1.1-${VENDOR}-linux-gnu ;;
  8568. - PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;;
  8569. - *) echo hppa-${VENDOR}-linux-gnu ;;
  8570. + PA7*) echo hppa1.1-unknown-linux-gnu ;;
  8571. + PA8*) echo hppa2.0-unknown-linux-gnu ;;
  8572. + *) echo hppa-unknown-linux-gnu ;;
  8573. esac
  8574. exit ;;
  8575. parisc64:Linux:*:* | hppa64:Linux:*:*)
  8576. - echo hppa64-${VENDOR}-linux-gnu
  8577. + echo hppa64-unknown-linux-gnu
  8578. exit ;;
  8579. s390:Linux:*:* | s390x:Linux:*:*)
  8580. echo ${UNAME_MACHINE}-ibm-linux
  8581. exit ;;
  8582. sh64*:Linux:*:*)
  8583. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
  8584. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8585. exit ;;
  8586. sh*:Linux:*:*)
  8587. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
  8588. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8589. exit ;;
  8590. sparc:Linux:*:* | sparc64:Linux:*:*)
  8591. - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu
  8592. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8593. exit ;;
  8594. vax:Linux:*:*)
  8595. echo ${UNAME_MACHINE}-dec-linux-gnu
  8596. exit ;;
  8597. x86_64:Linux:*:*)
  8598. - echo x86_64-${VENDOR}-linux-gnu
  8599. + echo x86_64-unknown-linux-gnu
  8600. + exit ;;
  8601. + xtensa*:Linux:*:*)
  8602. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  8603. exit ;;
  8604. i*86:Linux:*:*)
  8605. # The BFD linker knows what the default object file format is, so
  8606. @@ -970,19 +979,8 @@
  8607. p'`
  8608. case "$ld_supported_targets" in
  8609. elf32-i386)
  8610. - TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux-gnu"
  8611. + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
  8612. ;;
  8613. - a.out-i386-linux)
  8614. - echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuaout"
  8615. - exit ;;
  8616. - coff-i386)
  8617. - echo "${UNAME_MACHINE}-${VENDOR}-linux-gnucoff"
  8618. - exit ;;
  8619. - "")
  8620. - # Either a pre-BFD a.out linker (linux-gnuoldld) or
  8621. - # one that does not give us useful --help.
  8622. - echo "${UNAME_MACHINE}-${VENDOR}-linux-gnuoldld"
  8623. - exit ;;
  8624. esac
  8625. # Determine whether the default compiler is a.out or elf
  8626. eval $set_cc_for_build
  8627. @@ -1015,7 +1013,7 @@
  8628. p
  8629. }'`"
  8630. test x"${LIBC}" != x && {
  8631. - echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}"
  8632. + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
  8633. exit
  8634. }
  8635. test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
  8636. @@ -1048,7 +1046,7 @@
  8637. i*86:syllable:*:*)
  8638. echo ${UNAME_MACHINE}-pc-syllable
  8639. exit ;;
  8640. - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
  8641. + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
  8642. echo i386-unknown-lynxos${UNAME_RELEASE}
  8643. exit ;;
  8644. i*86:*DOS:*:*)
  8645. @@ -1092,8 +1090,11 @@
  8646. pc:*:*:*)
  8647. # Left here for compatibility:
  8648. # uname -m prints for DJGPP always 'pc', but it prints nothing about
  8649. - # the processor, so we play safe by assuming i386.
  8650. - echo i386-pc-msdosdjgpp
  8651. + # the processor, so we play safe by assuming i586.
  8652. + # Note: whatever this is, it MUST be the same as what config.sub
  8653. + # prints for the "djgpp" host, or else GDB configury will decide that
  8654. + # this is a cross-build.
  8655. + echo i586-pc-msdosdjgpp
  8656. exit ;;
  8657. Intel:Mach:3*:*)
  8658. echo i386-pc-mach3
  8659. @@ -1131,6 +1132,16 @@
  8660. 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  8661. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  8662. && { echo i486-ncr-sysv4; exit; } ;;
  8663. + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
  8664. + OS_REL='.3'
  8665. + test -r /etc/.relid \
  8666. + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  8667. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  8668. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  8669. + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  8670. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
  8671. + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
  8672. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  8673. m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
  8674. echo m68k-unknown-lynxos${UNAME_RELEASE}
  8675. exit ;;
  8676. @@ -1143,7 +1154,7 @@
  8677. rs6000:LynxOS:2.*:*)
  8678. echo rs6000-unknown-lynxos${UNAME_RELEASE}
  8679. exit ;;
  8680. - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
  8681. + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
  8682. echo powerpc-unknown-lynxos${UNAME_RELEASE}
  8683. exit ;;
  8684. SM[BE]S:UNIX_SV:*:*)
  8685. @@ -1206,6 +1217,9 @@
  8686. BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
  8687. echo i586-pc-beos
  8688. exit ;;
  8689. + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
  8690. + echo i586-pc-haiku
  8691. + exit ;;
  8692. SX-4:SUPER-UX:*:*)
  8693. echo sx4-nec-superux${UNAME_RELEASE}
  8694. exit ;;
  8695. @@ -1215,6 +1229,15 @@
  8696. SX-6:SUPER-UX:*:*)
  8697. echo sx6-nec-superux${UNAME_RELEASE}
  8698. exit ;;
  8699. + SX-7:SUPER-UX:*:*)
  8700. + echo sx7-nec-superux${UNAME_RELEASE}
  8701. + exit ;;
  8702. + SX-8:SUPER-UX:*:*)
  8703. + echo sx8-nec-superux${UNAME_RELEASE}
  8704. + exit ;;
  8705. + SX-8R:SUPER-UX:*:*)
  8706. + echo sx8r-nec-superux${UNAME_RELEASE}
  8707. + exit ;;
  8708. Power*:Rhapsody:*:*)
  8709. echo powerpc-apple-rhapsody${UNAME_RELEASE}
  8710. exit ;;
  8711. @@ -1305,6 +1328,9 @@
  8712. i*86:rdos:*:*)
  8713. echo ${UNAME_MACHINE}-pc-rdos
  8714. exit ;;
  8715. + i*86:AROS:*:*)
  8716. + echo ${UNAME_MACHINE}-pc-aros
  8717. + exit ;;
  8718. esac
  8719. #echo '(No uname command or uname output not recognized.)' 1>&2
  8720. @@ -1465,9 +1491,9 @@
  8721. the operating system you are using. It is advised that you
  8722. download the most up to date version of the config scripts from
  8723. - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
  8724. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
  8725. and
  8726. - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
  8727. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  8728. If the version you run ($0) is already up to date, please
  8729. send the following data and any information you think might be
  8730. diff -Nur alsa-lib-1.0.22.orig/config.sub alsa-lib-1.0.22/config.sub
  8731. --- alsa-lib-1.0.22.orig/config.sub 2006-11-25 12:04:27.000000000 +0100
  8732. +++ alsa-lib-1.0.22/config.sub 2011-02-24 20:33:14.663554226 +0100
  8733. @@ -1,10 +1,10 @@
  8734. #! /bin/sh
  8735. # Configuration validation subroutine script.
  8736. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  8737. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
  8738. -# Inc.
  8739. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  8740. +# Free Software Foundation, Inc.
  8741. -timestamp='2006-05-13'
  8742. +timestamp='2009-06-11'
  8743. # This file is (in principle) common to ALL GNU software.
  8744. # The presence of a machine in this file suggests that SOME GNU software
  8745. @@ -72,8 +72,8 @@
  8746. version="\
  8747. GNU config.sub ($timestamp)
  8748. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  8749. -Free Software Foundation, Inc.
  8750. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  8751. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  8752. This is free software; see the source for copying conditions. There is NO
  8753. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  8754. @@ -122,6 +122,7 @@
  8755. case $maybe_os in
  8756. nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  8757. uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  8758. + kopensolaris*-gnu* | \
  8759. storm-chaos* | os2-emx* | rtmk-nova*)
  8760. os=-$maybe_os
  8761. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  8762. @@ -152,6 +153,9 @@
  8763. os=
  8764. basic_machine=$1
  8765. ;;
  8766. + -bluegene*)
  8767. + os=-cnk
  8768. + ;;
  8769. -sim | -cisco | -oki | -wec | -winbond)
  8770. os=
  8771. basic_machine=$1
  8772. @@ -241,21 +245,24 @@
  8773. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  8774. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  8775. | am33_2.0 \
  8776. - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
  8777. + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  8778. | bfin \
  8779. | c4x | clipper \
  8780. | d10v | d30v | dlx | dsp16xx \
  8781. - | fr30 | frv \
  8782. + | fido | fr30 | frv \
  8783. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  8784. | i370 | i860 | i960 | ia64 \
  8785. | ip2k | iq2000 \
  8786. + | lm32 \
  8787. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  8788. - | maxq | mb | microblaze | mcore \
  8789. + | maxq | mb | microblaze | mcore | mep | metag \
  8790. | mips | mipsbe | mipseb | mipsel | mipsle \
  8791. | mips16 \
  8792. | mips64 | mips64el \
  8793. - | mips64vr | mips64vrel \
  8794. + | mips64octeon | mips64octeonel \
  8795. | mips64orion | mips64orionel \
  8796. + | mips64r5900 | mips64r5900el \
  8797. + | mips64vr | mips64vrel \
  8798. | mips64vr4100 | mips64vr4100el \
  8799. | mips64vr4300 | mips64vr4300el \
  8800. | mips64vr5000 | mips64vr5000el \
  8801. @@ -268,6 +275,7 @@
  8802. | mipsisa64sr71k | mipsisa64sr71kel \
  8803. | mipstx39 | mipstx39el \
  8804. | mn10200 | mn10300 \
  8805. + | moxie \
  8806. | mt \
  8807. | msp430 \
  8808. | nios | nios2 \
  8809. @@ -276,7 +284,8 @@
  8810. | pdp10 | pdp11 | pj | pjl \
  8811. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  8812. | pyramid \
  8813. - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  8814. + | score \
  8815. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  8816. | sh64 | sh64le \
  8817. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  8818. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  8819. @@ -284,8 +293,8 @@
  8820. | tahoe | thumb | tic4x | tic80 | tron \
  8821. | v850 | v850e \
  8822. | we32k \
  8823. - | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
  8824. - | z8k)
  8825. + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  8826. + | z8k | z80)
  8827. basic_machine=$basic_machine-unknown
  8828. ;;
  8829. m6811 | m68hc11 | m6812 | m68hc12)
  8830. @@ -317,25 +326,28 @@
  8831. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  8832. | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  8833. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  8834. - | avr-* \
  8835. + | avr-* | avr32-* \
  8836. | bfin-* | bs2000-* \
  8837. | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
  8838. | clipper-* | craynv-* | cydra-* \
  8839. | d10v-* | d30v-* | dlx-* \
  8840. | elxsi-* \
  8841. - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  8842. + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  8843. | h8300-* | h8500-* \
  8844. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  8845. | i*86-* | i860-* | i960-* | ia64-* \
  8846. | ip2k-* | iq2000-* \
  8847. + | lm32-* \
  8848. | m32c-* | m32r-* | m32rle-* \
  8849. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  8850. - | m88110-* | m88k-* | maxq-* | mcore-* \
  8851. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  8852. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  8853. | mips16-* \
  8854. | mips64-* | mips64el-* \
  8855. - | mips64vr-* | mips64vrel-* \
  8856. + | mips64octeon-* | mips64octeonel-* \
  8857. | mips64orion-* | mips64orionel-* \
  8858. + | mips64r5900-* | mips64r5900el-* \
  8859. + | mips64vr-* | mips64vrel-* \
  8860. | mips64vr4100-* | mips64vr4100el-* \
  8861. | mips64vr4300-* | mips64vr4300el-* \
  8862. | mips64vr5000-* | mips64vr5000el-* \
  8863. @@ -357,20 +369,24 @@
  8864. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  8865. | pyramid-* \
  8866. | romp-* | rs6000-* \
  8867. - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  8868. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  8869. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  8870. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  8871. | sparclite-* \
  8872. | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  8873. | tahoe-* | thumb-* \
  8874. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  8875. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  8876. | tron-* \
  8877. | v850-* | v850e-* | vax-* \
  8878. | we32k-* \
  8879. - | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
  8880. - | xstormy16-* | xtensa-* \
  8881. + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  8882. + | xstormy16-* | xtensa*-* \
  8883. | ymp-* \
  8884. - | z8k-*)
  8885. + | z8k-* | z80-*)
  8886. + ;;
  8887. + # Recognize the basic CPU types without company name, with glob match.
  8888. + xtensa*)
  8889. + basic_machine=$basic_machine-unknown
  8890. ;;
  8891. # Recognize the various machine names and aliases which stand
  8892. # for a CPU type and a company and sometimes even an OS.
  8893. @@ -434,6 +450,10 @@
  8894. basic_machine=m68k-apollo
  8895. os=-bsd
  8896. ;;
  8897. + aros)
  8898. + basic_machine=i386-pc
  8899. + os=-aros
  8900. + ;;
  8901. aux)
  8902. basic_machine=m68k-apple
  8903. os=-aux
  8904. @@ -442,10 +462,26 @@
  8905. basic_machine=ns32k-sequent
  8906. os=-dynix
  8907. ;;
  8908. + blackfin)
  8909. + basic_machine=bfin-unknown
  8910. + os=-linux
  8911. + ;;
  8912. + blackfin-*)
  8913. + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  8914. + os=-linux
  8915. + ;;
  8916. + bluegene*)
  8917. + basic_machine=powerpc-ibm
  8918. + os=-cnk
  8919. + ;;
  8920. c90)
  8921. basic_machine=c90-cray
  8922. os=-unicos
  8923. ;;
  8924. + cegcc)
  8925. + basic_machine=arm-unknown
  8926. + os=-cegcc
  8927. + ;;
  8928. convex-c1)
  8929. basic_machine=c1-convex
  8930. os=-bsd
  8931. @@ -474,8 +510,8 @@
  8932. basic_machine=craynv-cray
  8933. os=-unicosmp
  8934. ;;
  8935. - cr16c)
  8936. - basic_machine=cr16c-unknown
  8937. + cr16)
  8938. + basic_machine=cr16-unknown
  8939. os=-elf
  8940. ;;
  8941. crds | unos)
  8942. @@ -513,6 +549,10 @@
  8943. basic_machine=m88k-motorola
  8944. os=-sysv3
  8945. ;;
  8946. + dicos)
  8947. + basic_machine=i686-pc
  8948. + os=-dicos
  8949. + ;;
  8950. djgpp)
  8951. basic_machine=i586-pc
  8952. os=-msdosdjgpp
  8953. @@ -667,6 +707,14 @@
  8954. basic_machine=m68k-isi
  8955. os=-sysv
  8956. ;;
  8957. + m68knommu)
  8958. + basic_machine=m68k-unknown
  8959. + os=-linux
  8960. + ;;
  8961. + m68knommu-*)
  8962. + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
  8963. + os=-linux
  8964. + ;;
  8965. m88k-omron*)
  8966. basic_machine=m88k-omron
  8967. ;;
  8968. @@ -682,6 +730,10 @@
  8969. basic_machine=i386-pc
  8970. os=-mingw32
  8971. ;;
  8972. + mingw32ce)
  8973. + basic_machine=arm-unknown
  8974. + os=-mingw32ce
  8975. + ;;
  8976. miniframe)
  8977. basic_machine=m68000-convergent
  8978. ;;
  8979. @@ -808,6 +860,14 @@
  8980. basic_machine=i860-intel
  8981. os=-osf
  8982. ;;
  8983. + parisc)
  8984. + basic_machine=hppa-unknown
  8985. + os=-linux
  8986. + ;;
  8987. + parisc-*)
  8988. + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
  8989. + os=-linux
  8990. + ;;
  8991. pbd)
  8992. basic_machine=sparc-tti
  8993. ;;
  8994. @@ -909,6 +969,10 @@
  8995. sb1el)
  8996. basic_machine=mipsisa64sb1el-unknown
  8997. ;;
  8998. + sde)
  8999. + basic_machine=mipsisa32-sde
  9000. + os=-elf
  9001. + ;;
  9002. sei)
  9003. basic_machine=mips-sei
  9004. os=-seiux
  9005. @@ -920,6 +984,9 @@
  9006. basic_machine=sh-hitachi
  9007. os=-hms
  9008. ;;
  9009. + sh5el)
  9010. + basic_machine=sh5le-unknown
  9011. + ;;
  9012. sh64)
  9013. basic_machine=sh64-unknown
  9014. ;;
  9015. @@ -1009,6 +1076,10 @@
  9016. basic_machine=tic6x-unknown
  9017. os=-coff
  9018. ;;
  9019. + tile*)
  9020. + basic_machine=tile-unknown
  9021. + os=-linux-gnu
  9022. + ;;
  9023. tx39)
  9024. basic_machine=mipstx39-unknown
  9025. ;;
  9026. @@ -1084,6 +1155,10 @@
  9027. basic_machine=z8k-unknown
  9028. os=-sim
  9029. ;;
  9030. + z80-*-coff)
  9031. + basic_machine=z80-unknown
  9032. + os=-sim
  9033. + ;;
  9034. none)
  9035. basic_machine=none-none
  9036. os=-none
  9037. @@ -1122,7 +1197,7 @@
  9038. we32k)
  9039. basic_machine=we32k-att
  9040. ;;
  9041. - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  9042. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  9043. basic_machine=sh-unknown
  9044. ;;
  9045. sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  9046. @@ -1192,10 +1267,11 @@
  9047. # Each alternative MUST END IN A *, to match a version number.
  9048. # -sysv* is not here because it comes later, after sysvr4.
  9049. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  9050. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  9051. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  9052. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  9053. + | -kopensolaris* \
  9054. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  9055. - | -aos* \
  9056. + | -aos* | -aros* \
  9057. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  9058. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  9059. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  9060. @@ -1204,7 +1280,7 @@
  9061. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  9062. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  9063. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  9064. - | -chorusos* | -chorusrdb* \
  9065. + | -chorusos* | -chorusrdb* | -cegcc* \
  9066. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  9067. | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  9068. | -uxpv* | -beos* | -mpeix* | -udk* \
  9069. @@ -1214,7 +1290,7 @@
  9070. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  9071. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  9072. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  9073. - | -skyos* | -haiku* | -rdos*)
  9074. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  9075. # Remember, each alternative MUST END IN *, to match a version number.
  9076. ;;
  9077. -qnx*)
  9078. @@ -1344,6 +1420,9 @@
  9079. -zvmoe)
  9080. os=-zvmoe
  9081. ;;
  9082. + -dicos*)
  9083. + os=-dicos
  9084. + ;;
  9085. -none)
  9086. ;;
  9087. *)
  9088. @@ -1366,6 +1445,9 @@
  9089. # system, and we'll never get to this point.
  9090. case $basic_machine in
  9091. + score-*)
  9092. + os=-elf
  9093. + ;;
  9094. spu-*)
  9095. os=-elf
  9096. ;;
  9097. @@ -1406,6 +1488,9 @@
  9098. m68*-cisco)
  9099. os=-aout
  9100. ;;
  9101. + mep-*)
  9102. + os=-elf
  9103. + ;;
  9104. mips*-cisco)
  9105. os=-elf
  9106. ;;
  9107. @@ -1535,7 +1620,7 @@
  9108. -sunos*)
  9109. vendor=sun
  9110. ;;
  9111. - -aix*)
  9112. + -cnk*|-aix*)
  9113. vendor=ibm
  9114. ;;
  9115. -beos*)
  9116. diff -Nur alsa-lib-1.0.22.orig/configure alsa-lib-1.0.22/configure
  9117. --- alsa-lib-1.0.22.orig/configure 2009-12-16 16:27:29.000000000 +0100
  9118. +++ alsa-lib-1.0.22/configure 2011-02-24 20:33:13.443554357 +0100
  9119. @@ -1,56 +1,83 @@
  9120. #! /bin/sh
  9121. # Guess values for system-dependent variables and create Makefiles.
  9122. -# Generated by GNU Autoconf 2.60.
  9123. +# Generated by GNU Autoconf 2.65.
  9124. +#
  9125. #
  9126. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  9127. -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  9128. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  9129. +# Inc.
  9130. +#
  9131. +#
  9132. # This configure script is free software; the Free Software Foundation
  9133. # gives unlimited permission to copy, distribute and modify it.
  9134. -## --------------------- ##
  9135. -## M4sh Initialization. ##
  9136. -## --------------------- ##
  9137. +## -------------------- ##
  9138. +## M4sh Initialization. ##
  9139. +## -------------------- ##
  9140. -# Be Bourne compatible
  9141. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  9142. +# Be more Bourne compatible
  9143. +DUALCASE=1; export DUALCASE # for MKS sh
  9144. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  9145. emulate sh
  9146. NULLCMD=:
  9147. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  9148. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  9149. # is contrary to our usage. Disable this feature.
  9150. alias -g '${1+"$@"}'='"$@"'
  9151. setopt NO_GLOB_SUBST
  9152. else
  9153. - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  9154. + case `(set -o) 2>/dev/null` in #(
  9155. + *posix*) :
  9156. + set -o posix ;; #(
  9157. + *) :
  9158. + ;;
  9159. +esac
  9160. fi
  9161. -BIN_SH=xpg4; export BIN_SH # for Tru64
  9162. -DUALCASE=1; export DUALCASE # for MKS sh
  9163. -
  9164. -# PATH needs CR
  9165. -# Avoid depending upon Character Ranges.
  9166. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9167. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9168. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9169. -as_cr_digits='0123456789'
  9170. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  9171. -# The user is always right.
  9172. -if test "${PATH_SEPARATOR+set}" != set; then
  9173. - echo "#! /bin/sh" >conf$$.sh
  9174. - echo "exit 0" >>conf$$.sh
  9175. - chmod +x conf$$.sh
  9176. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  9177. - PATH_SEPARATOR=';'
  9178. - else
  9179. - PATH_SEPARATOR=:
  9180. +as_nl='
  9181. +'
  9182. +export as_nl
  9183. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  9184. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  9185. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  9186. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  9187. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  9188. +# but without wasting forks for bash or zsh.
  9189. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  9190. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  9191. + as_echo='print -r --'
  9192. + as_echo_n='print -rn --'
  9193. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  9194. + as_echo='printf %s\n'
  9195. + as_echo_n='printf %s'
  9196. +else
  9197. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  9198. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  9199. + as_echo_n='/usr/ucb/echo -n'
  9200. + else
  9201. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  9202. + as_echo_n_body='eval
  9203. + arg=$1;
  9204. + case $arg in #(
  9205. + *"$as_nl"*)
  9206. + expr "X$arg" : "X\\(.*\\)$as_nl";
  9207. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  9208. + esac;
  9209. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  9210. + '
  9211. + export as_echo_n_body
  9212. + as_echo_n='sh -c $as_echo_n_body as_echo'
  9213. fi
  9214. - rm -f conf$$.sh
  9215. + export as_echo_body
  9216. + as_echo='sh -c $as_echo_body as_echo'
  9217. fi
  9218. -# Support unset when possible.
  9219. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  9220. - as_unset=unset
  9221. -else
  9222. - as_unset=false
  9223. +# The user is always right.
  9224. +if test "${PATH_SEPARATOR+set}" != set; then
  9225. + PATH_SEPARATOR=:
  9226. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  9227. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  9228. + PATH_SEPARATOR=';'
  9229. + }
  9230. fi
  9231. @@ -59,20 +86,18 @@
  9232. # there to prevent editors from complaining about space-tab.
  9233. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  9234. # splitting by setting IFS to empty value.)
  9235. -as_nl='
  9236. -'
  9237. IFS=" "" $as_nl"
  9238. # Find who we are. Look in the path if we contain no directory separator.
  9239. -case $0 in
  9240. +case $0 in #((
  9241. *[\\/]* ) as_myself=$0 ;;
  9242. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9243. for as_dir in $PATH
  9244. do
  9245. IFS=$as_save_IFS
  9246. test -z "$as_dir" && as_dir=.
  9247. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9248. -done
  9249. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9250. + done
  9251. IFS=$as_save_IFS
  9252. ;;
  9253. @@ -83,352 +108,321 @@
  9254. as_myself=$0
  9255. fi
  9256. if test ! -f "$as_myself"; then
  9257. - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9258. - { (exit 1); exit 1; }
  9259. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9260. + exit 1
  9261. fi
  9262. -# Work around bugs in pre-3.0 UWIN ksh.
  9263. -for as_var in ENV MAIL MAILPATH
  9264. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  9265. +# Unset variables that we do not need and which cause bugs (e.g. in
  9266. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  9267. +# suppresses any "Segmentation fault" message there. '((' could
  9268. +# trigger a bug in pdksh 5.2.14.
  9269. +for as_var in BASH_ENV ENV MAIL MAILPATH
  9270. +do eval test x\${$as_var+set} = xset \
  9271. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  9272. done
  9273. PS1='$ '
  9274. PS2='> '
  9275. PS4='+ '
  9276. # NLS nuisances.
  9277. -for as_var in \
  9278. - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  9279. - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  9280. - LC_TELEPHONE LC_TIME
  9281. -do
  9282. - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  9283. - eval $as_var=C; export $as_var
  9284. - else
  9285. - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  9286. - fi
  9287. -done
  9288. -
  9289. -# Required to use basename.
  9290. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  9291. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9292. - as_expr=expr
  9293. -else
  9294. - as_expr=false
  9295. -fi
  9296. -
  9297. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9298. - as_basename=basename
  9299. -else
  9300. - as_basename=false
  9301. -fi
  9302. -
  9303. -
  9304. -# Name of the executable.
  9305. -as_me=`$as_basename -- "$0" ||
  9306. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9307. - X"$0" : 'X\(//\)$' \| \
  9308. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9309. -echo X/"$0" |
  9310. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  9311. - s//\1/
  9312. - q
  9313. - }
  9314. - /^X\/\(\/\/\)$/{
  9315. - s//\1/
  9316. - q
  9317. - }
  9318. - /^X\/\(\/\).*/{
  9319. - s//\1/
  9320. - q
  9321. - }
  9322. - s/.*/./; q'`
  9323. +LC_ALL=C
  9324. +export LC_ALL
  9325. +LANGUAGE=C
  9326. +export LANGUAGE
  9327. # CDPATH.
  9328. -$as_unset CDPATH
  9329. -
  9330. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9331. if test "x$CONFIG_SHELL" = x; then
  9332. - if (eval ":") 2>/dev/null; then
  9333. - as_have_required=yes
  9334. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  9335. + emulate sh
  9336. + NULLCMD=:
  9337. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  9338. + # is contrary to our usage. Disable this feature.
  9339. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  9340. + setopt NO_GLOB_SUBST
  9341. else
  9342. - as_have_required=no
  9343. + case \`(set -o) 2>/dev/null\` in #(
  9344. + *posix*) :
  9345. + set -o posix ;; #(
  9346. + *) :
  9347. + ;;
  9348. +esac
  9349. fi
  9350. -
  9351. - if test $as_have_required = yes && (eval ":
  9352. -(as_func_return () {
  9353. - (exit \$1)
  9354. -}
  9355. -as_func_success () {
  9356. - as_func_return 0
  9357. -}
  9358. -as_func_failure () {
  9359. - as_func_return 1
  9360. -}
  9361. -as_func_ret_success () {
  9362. - return 0
  9363. -}
  9364. -as_func_ret_failure () {
  9365. - return 1
  9366. -}
  9367. +"
  9368. + as_required="as_fn_return () { (exit \$1); }
  9369. +as_fn_success () { as_fn_return 0; }
  9370. +as_fn_failure () { as_fn_return 1; }
  9371. +as_fn_ret_success () { return 0; }
  9372. +as_fn_ret_failure () { return 1; }
  9373. exitcode=0
  9374. -if as_func_success; then
  9375. - :
  9376. -else
  9377. - exitcode=1
  9378. - echo as_func_success failed.
  9379. -fi
  9380. -
  9381. -if as_func_failure; then
  9382. - exitcode=1
  9383. - echo as_func_failure succeeded.
  9384. -fi
  9385. -
  9386. -if as_func_ret_success; then
  9387. - :
  9388. -else
  9389. - exitcode=1
  9390. - echo as_func_ret_success failed.
  9391. -fi
  9392. -
  9393. -if as_func_ret_failure; then
  9394. - exitcode=1
  9395. - echo as_func_ret_failure succeeded.
  9396. -fi
  9397. -
  9398. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  9399. - :
  9400. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  9401. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  9402. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  9403. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  9404. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  9405. +
  9406. +else
  9407. + exitcode=1; echo positional parameters were not saved.
  9408. +fi
  9409. +test x\$exitcode = x0 || exit 1"
  9410. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  9411. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  9412. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  9413. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  9414. +test \$(( 1 + 1 )) = 2 || exit 1"
  9415. + if (eval "$as_required") 2>/dev/null; then :
  9416. + as_have_required=yes
  9417. else
  9418. - exitcode=1
  9419. - echo positional parameters were not saved.
  9420. + as_have_required=no
  9421. fi
  9422. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  9423. -test \$exitcode = 0) || { (exit 1); exit 1; }
  9424. -
  9425. -(
  9426. - as_lineno_1=\$LINENO
  9427. - as_lineno_2=\$LINENO
  9428. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  9429. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  9430. -") 2> /dev/null; then
  9431. - :
  9432. else
  9433. - as_candidate_shells=
  9434. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9435. -for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  9436. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9437. +as_found=false
  9438. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  9439. do
  9440. IFS=$as_save_IFS
  9441. test -z "$as_dir" && as_dir=.
  9442. - case $as_dir in
  9443. + as_found=:
  9444. + case $as_dir in #(
  9445. /*)
  9446. for as_base in sh bash ksh sh5; do
  9447. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  9448. + # Try only shells that exist, to save several forks.
  9449. + as_shell=$as_dir/$as_base
  9450. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  9451. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9452. + CONFIG_SHELL=$as_shell as_have_required=yes
  9453. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9454. + break 2
  9455. +fi
  9456. +fi
  9457. done;;
  9458. esac
  9459. + as_found=false
  9460. done
  9461. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  9462. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  9463. + CONFIG_SHELL=$SHELL as_have_required=yes
  9464. +fi; }
  9465. IFS=$as_save_IFS
  9466. - for as_shell in $as_candidate_shells $SHELL; do
  9467. - # Try only shells that exist, to save several forks.
  9468. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  9469. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  9470. -# Be Bourne compatible
  9471. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  9472. - emulate sh
  9473. - NULLCMD=:
  9474. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  9475. - # is contrary to our usage. Disable this feature.
  9476. - alias -g '${1+"$@"}'='"$@"'
  9477. - setopt NO_GLOB_SUBST
  9478. -else
  9479. - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  9480. -fi
  9481. -BIN_SH=xpg4; export BIN_SH # for Tru64
  9482. -DUALCASE=1; export DUALCASE # for MKS sh
  9483. -
  9484. -:
  9485. -_ASEOF
  9486. -}; then
  9487. - CONFIG_SHELL=$as_shell
  9488. - as_have_required=yes
  9489. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  9490. -# Be Bourne compatible
  9491. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  9492. - emulate sh
  9493. - NULLCMD=:
  9494. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  9495. - # is contrary to our usage. Disable this feature.
  9496. - alias -g '${1+"$@"}'='"$@"'
  9497. - setopt NO_GLOB_SUBST
  9498. -else
  9499. - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  9500. -fi
  9501. -BIN_SH=xpg4; export BIN_SH # for Tru64
  9502. -DUALCASE=1; export DUALCASE # for MKS sh
  9503. -
  9504. -:
  9505. -(as_func_return () {
  9506. - (exit $1)
  9507. -}
  9508. -as_func_success () {
  9509. - as_func_return 0
  9510. -}
  9511. -as_func_failure () {
  9512. - as_func_return 1
  9513. -}
  9514. -as_func_ret_success () {
  9515. - return 0
  9516. -}
  9517. -as_func_ret_failure () {
  9518. - return 1
  9519. -}
  9520. -
  9521. -exitcode=0
  9522. -if as_func_success; then
  9523. - :
  9524. -else
  9525. - exitcode=1
  9526. - echo as_func_success failed.
  9527. -fi
  9528. -
  9529. -if as_func_failure; then
  9530. - exitcode=1
  9531. - echo as_func_failure succeeded.
  9532. -fi
  9533. -
  9534. -if as_func_ret_success; then
  9535. - :
  9536. -else
  9537. - exitcode=1
  9538. - echo as_func_ret_success failed.
  9539. -fi
  9540. -
  9541. -if as_func_ret_failure; then
  9542. - exitcode=1
  9543. - echo as_func_ret_failure succeeded.
  9544. -fi
  9545. -
  9546. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  9547. - :
  9548. -else
  9549. - exitcode=1
  9550. - echo positional parameters were not saved.
  9551. + if test "x$CONFIG_SHELL" != x; then :
  9552. + # We cannot yet assume a decent shell, so we have to provide a
  9553. + # neutralization value for shells without unset; and this also
  9554. + # works around shells that cannot unset nonexistent variables.
  9555. + BASH_ENV=/dev/null
  9556. + ENV=/dev/null
  9557. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  9558. + export CONFIG_SHELL
  9559. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  9560. fi
  9561. -test $exitcode = 0) || { (exit 1); exit 1; }
  9562. -
  9563. -(
  9564. - as_lineno_1=$LINENO
  9565. - as_lineno_2=$LINENO
  9566. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  9567. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  9568. -
  9569. -_ASEOF
  9570. -}; then
  9571. - break
  9572. + if test x$as_have_required = xno; then :
  9573. + $as_echo "$0: This script requires a shell more modern than all"
  9574. + $as_echo "$0: the shells that I found on your system."
  9575. + if test x${ZSH_VERSION+set} = xset ; then
  9576. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  9577. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  9578. + else
  9579. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  9580. +$0: including any error possibly output before this
  9581. +$0: message. Then install a modern shell, or manually run
  9582. +$0: the script under such a shell if you do have one."
  9583. + fi
  9584. + exit 1
  9585. fi
  9586. -
  9587. fi
  9588. -
  9589. - done
  9590. -
  9591. - if test "x$CONFIG_SHELL" != x; then
  9592. - for as_var in BASH_ENV ENV
  9593. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  9594. - done
  9595. - export CONFIG_SHELL
  9596. - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  9597. fi
  9598. +SHELL=${CONFIG_SHELL-/bin/sh}
  9599. +export SHELL
  9600. +# Unset more variables known to interfere with behavior of common tools.
  9601. +CLICOLOR_FORCE= GREP_OPTIONS=
  9602. +unset CLICOLOR_FORCE GREP_OPTIONS
  9603. +## --------------------- ##
  9604. +## M4sh Shell Functions. ##
  9605. +## --------------------- ##
  9606. +# as_fn_unset VAR
  9607. +# ---------------
  9608. +# Portably unset VAR.
  9609. +as_fn_unset ()
  9610. +{
  9611. + { eval $1=; unset $1;}
  9612. +}
  9613. +as_unset=as_fn_unset
  9614. +
  9615. +# as_fn_set_status STATUS
  9616. +# -----------------------
  9617. +# Set $? to STATUS, without forking.
  9618. +as_fn_set_status ()
  9619. +{
  9620. + return $1
  9621. +} # as_fn_set_status
  9622. +
  9623. +# as_fn_exit STATUS
  9624. +# -----------------
  9625. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  9626. +as_fn_exit ()
  9627. +{
  9628. + set +e
  9629. + as_fn_set_status $1
  9630. + exit $1
  9631. +} # as_fn_exit
  9632. +
  9633. +# as_fn_mkdir_p
  9634. +# -------------
  9635. +# Create "$as_dir" as a directory, including parents if necessary.
  9636. +as_fn_mkdir_p ()
  9637. +{
  9638. - if test $as_have_required = no; then
  9639. - echo This script requires a shell more modern than all the
  9640. - echo shells that I found on your system. Please install a
  9641. - echo modern shell, or manually run the script under such a
  9642. - echo shell if you do have one.
  9643. - { (exit 1); exit 1; }
  9644. -fi
  9645. -
  9646. + case $as_dir in #(
  9647. + -*) as_dir=./$as_dir;;
  9648. + esac
  9649. + test -d "$as_dir" || eval $as_mkdir_p || {
  9650. + as_dirs=
  9651. + while :; do
  9652. + case $as_dir in #(
  9653. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  9654. + *) as_qdir=$as_dir;;
  9655. + esac
  9656. + as_dirs="'$as_qdir' $as_dirs"
  9657. + as_dir=`$as_dirname -- "$as_dir" ||
  9658. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9659. + X"$as_dir" : 'X\(//\)[^/]' \| \
  9660. + X"$as_dir" : 'X\(//\)$' \| \
  9661. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9662. +$as_echo X"$as_dir" |
  9663. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9664. + s//\1/
  9665. + q
  9666. + }
  9667. + /^X\(\/\/\)[^/].*/{
  9668. + s//\1/
  9669. + q
  9670. + }
  9671. + /^X\(\/\/\)$/{
  9672. + s//\1/
  9673. + q
  9674. + }
  9675. + /^X\(\/\).*/{
  9676. + s//\1/
  9677. + q
  9678. + }
  9679. + s/.*/./; q'`
  9680. + test -d "$as_dir" && break
  9681. + done
  9682. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  9683. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  9684. -fi
  9685. -fi
  9686. +} # as_fn_mkdir_p
  9687. +# as_fn_append VAR VALUE
  9688. +# ----------------------
  9689. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  9690. +# advantage of any shell optimizations that allow amortized linear growth over
  9691. +# repeated appends, instead of the typical quadratic growth present in naive
  9692. +# implementations.
  9693. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  9694. + eval 'as_fn_append ()
  9695. + {
  9696. + eval $1+=\$2
  9697. + }'
  9698. +else
  9699. + as_fn_append ()
  9700. + {
  9701. + eval $1=\$$1\$2
  9702. + }
  9703. +fi # as_fn_append
  9704. +# as_fn_arith ARG...
  9705. +# ------------------
  9706. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  9707. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  9708. +# must be portable across $(()) and expr.
  9709. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  9710. + eval 'as_fn_arith ()
  9711. + {
  9712. + as_val=$(( $* ))
  9713. + }'
  9714. +else
  9715. + as_fn_arith ()
  9716. + {
  9717. + as_val=`expr "$@" || test $? -eq 1`
  9718. + }
  9719. +fi # as_fn_arith
  9720. -(eval "as_func_return () {
  9721. - (exit \$1)
  9722. -}
  9723. -as_func_success () {
  9724. - as_func_return 0
  9725. -}
  9726. -as_func_failure () {
  9727. - as_func_return 1
  9728. -}
  9729. -as_func_ret_success () {
  9730. - return 0
  9731. -}
  9732. -as_func_ret_failure () {
  9733. - return 1
  9734. -}
  9735. +# as_fn_error ERROR [LINENO LOG_FD]
  9736. +# ---------------------------------
  9737. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  9738. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  9739. +# script with status $?, using 1 if that was 0.
  9740. +as_fn_error ()
  9741. +{
  9742. + as_status=$?; test $as_status -eq 0 && as_status=1
  9743. + if test "$3"; then
  9744. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9745. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  9746. + fi
  9747. + $as_echo "$as_me: error: $1" >&2
  9748. + as_fn_exit $as_status
  9749. +} # as_fn_error
  9750. -exitcode=0
  9751. -if as_func_success; then
  9752. - :
  9753. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  9754. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9755. + as_expr=expr
  9756. else
  9757. - exitcode=1
  9758. - echo as_func_success failed.
  9759. -fi
  9760. -
  9761. -if as_func_failure; then
  9762. - exitcode=1
  9763. - echo as_func_failure succeeded.
  9764. + as_expr=false
  9765. fi
  9766. -if as_func_ret_success; then
  9767. - :
  9768. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9769. + as_basename=basename
  9770. else
  9771. - exitcode=1
  9772. - echo as_func_ret_success failed.
  9773. -fi
  9774. -
  9775. -if as_func_ret_failure; then
  9776. - exitcode=1
  9777. - echo as_func_ret_failure succeeded.
  9778. + as_basename=false
  9779. fi
  9780. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  9781. - :
  9782. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9783. + as_dirname=dirname
  9784. else
  9785. - exitcode=1
  9786. - echo positional parameters were not saved.
  9787. + as_dirname=false
  9788. fi
  9789. -test \$exitcode = 0") || {
  9790. - echo No shell found that supports shell functions.
  9791. - echo Please tell autoconf@gnu.org about your system,
  9792. - echo including any error possibly output before this
  9793. - echo message
  9794. -}
  9795. +as_me=`$as_basename -- "$0" ||
  9796. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9797. + X"$0" : 'X\(//\)$' \| \
  9798. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9799. +$as_echo X/"$0" |
  9800. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  9801. + s//\1/
  9802. + q
  9803. + }
  9804. + /^X\/\(\/\/\)$/{
  9805. + s//\1/
  9806. + q
  9807. + }
  9808. + /^X\/\(\/\).*/{
  9809. + s//\1/
  9810. + q
  9811. + }
  9812. + s/.*/./; q'`
  9813. +# Avoid depending upon Character Ranges.
  9814. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9815. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9816. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9817. +as_cr_digits='0123456789'
  9818. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  9819. - as_lineno_1=$LINENO
  9820. - as_lineno_2=$LINENO
  9821. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  9822. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  9823. -
  9824. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  9825. - # uniformly replaced by the line number. The first 'sed' inserts a
  9826. - # line-number line after each line using $LINENO; the second 'sed'
  9827. - # does the real work. The second script uses 'N' to pair each
  9828. - # line-number line with the line containing $LINENO, and appends
  9829. - # trailing '-' during substitution so that $LINENO is not a special
  9830. - # case at line end.
  9831. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  9832. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  9833. - # E. McMahon (1931-1989) for sed's syntax. :-)
  9834. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  9835. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  9836. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  9837. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  9838. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  9839. sed -n '
  9840. p
  9841. /[$]LINENO/=
  9842. @@ -445,8 +439,7 @@
  9843. s/-\n.*//
  9844. ' >$as_me.lineno &&
  9845. chmod +x "$as_me.lineno" ||
  9846. - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  9847. - { (exit 1); exit 1; }; }
  9848. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  9849. # Don't try to exec as it changes $[0], causing all sort of problems
  9850. # (the dirname of $[0] is not the place where we might find the
  9851. @@ -456,49 +449,40 @@
  9852. exit
  9853. }
  9854. -
  9855. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9856. - as_dirname=dirname
  9857. -else
  9858. - as_dirname=false
  9859. -fi
  9860. -
  9861. ECHO_C= ECHO_N= ECHO_T=
  9862. -case `echo -n x` in
  9863. +case `echo -n x` in #(((((
  9864. -n*)
  9865. - case `echo 'x\c'` in
  9866. + case `echo 'xy\c'` in
  9867. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  9868. - *) ECHO_C='\c';;
  9869. + xy) ECHO_C='\c';;
  9870. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  9871. + ECHO_T=' ';;
  9872. esac;;
  9873. *)
  9874. ECHO_N='-n';;
  9875. esac
  9876. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  9877. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9878. - as_expr=expr
  9879. -else
  9880. - as_expr=false
  9881. -fi
  9882. -
  9883. rm -f conf$$ conf$$.exe conf$$.file
  9884. if test -d conf$$.dir; then
  9885. rm -f conf$$.dir/conf$$.file
  9886. else
  9887. rm -f conf$$.dir
  9888. - mkdir conf$$.dir
  9889. + mkdir conf$$.dir 2>/dev/null
  9890. fi
  9891. -echo >conf$$.file
  9892. -if ln -s conf$$.file conf$$ 2>/dev/null; then
  9893. - as_ln_s='ln -s'
  9894. - # ... but there are two gotchas:
  9895. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9896. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9897. - # In both cases, we have to default to `cp -p'.
  9898. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9899. +if (echo >conf$$.file) 2>/dev/null; then
  9900. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  9901. + as_ln_s='ln -s'
  9902. + # ... but there are two gotchas:
  9903. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9904. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9905. + # In both cases, we have to default to `cp -p'.
  9906. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9907. + as_ln_s='cp -p'
  9908. + elif ln conf$$.file conf$$ 2>/dev/null; then
  9909. + as_ln_s=ln
  9910. + else
  9911. as_ln_s='cp -p'
  9912. -elif ln conf$$.file conf$$ 2>/dev/null; then
  9913. - as_ln_s=ln
  9914. + fi
  9915. else
  9916. as_ln_s='cp -p'
  9917. fi
  9918. @@ -506,25 +490,34 @@
  9919. rmdir conf$$.dir 2>/dev/null
  9920. if mkdir -p . 2>/dev/null; then
  9921. - as_mkdir_p=:
  9922. + as_mkdir_p='mkdir -p "$as_dir"'
  9923. else
  9924. test -d ./-p && rmdir ./-p
  9925. as_mkdir_p=false
  9926. fi
  9927. -# Find out whether ``test -x'' works. Don't use a zero-byte file, as
  9928. -# systems may use methods other than mode bits to determine executability.
  9929. -cat >conf$$.file <<_ASEOF
  9930. -#! /bin/sh
  9931. -exit 0
  9932. -_ASEOF
  9933. -chmod +x conf$$.file
  9934. -if test -x conf$$.file >/dev/null 2>&1; then
  9935. - as_executable_p="test -x"
  9936. +if test -x / >/dev/null 2>&1; then
  9937. + as_test_x='test -x'
  9938. else
  9939. - as_executable_p=:
  9940. + if ls -dL / >/dev/null 2>&1; then
  9941. + as_ls_L_option=L
  9942. + else
  9943. + as_ls_L_option=
  9944. + fi
  9945. + as_test_x='
  9946. + eval sh -c '\''
  9947. + if test -d "$1"; then
  9948. + test -d "$1/.";
  9949. + else
  9950. + case $1 in #(
  9951. + -*)set "./$1";;
  9952. + esac;
  9953. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  9954. + ???[sx]*):;;*)false;;esac;fi
  9955. + '\'' sh
  9956. + '
  9957. fi
  9958. -rm -f conf$$.file
  9959. +as_executable_p=$as_test_x
  9960. # Sed expression to map a string onto a valid CPP name.
  9961. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9962. @@ -534,26 +527,25 @@
  9963. -
  9964. # Check that we are running under the correct shell.
  9965. SHELL=${CONFIG_SHELL-/bin/sh}
  9966. -case X$ECHO in
  9967. +case X$lt_ECHO in
  9968. X*--fallback-echo)
  9969. # Remove one level of quotation (which was required for Make).
  9970. - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  9971. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  9972. ;;
  9973. esac
  9974. -echo=${ECHO-echo}
  9975. +ECHO=${lt_ECHO-echo}
  9976. if test "X$1" = X--no-reexec; then
  9977. # Discard the --no-reexec flag, and continue.
  9978. shift
  9979. elif test "X$1" = X--fallback-echo; then
  9980. # Avoid inline document here, it may be left over
  9981. :
  9982. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  9983. - # Yippee, $echo works!
  9984. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  9985. + # Yippee, $ECHO works!
  9986. :
  9987. else
  9988. # Restart under the correct shell.
  9989. @@ -563,9 +555,9 @@
  9990. if test "X$1" = X--fallback-echo; then
  9991. # used as fallback echo
  9992. shift
  9993. - cat <<EOF
  9994. + cat <<_LT_EOF
  9995. $*
  9996. -EOF
  9997. +_LT_EOF
  9998. exit 0
  9999. fi
  10000. @@ -573,122 +565,118 @@
  10001. # if CDPATH is set.
  10002. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  10003. -if test -z "$ECHO"; then
  10004. -if test "X${echo_test_string+set}" != Xset; then
  10005. -# find a string as large as possible, as long as the shell can cope with it
  10006. - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  10007. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  10008. - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  10009. - echo_test_string=`eval $cmd` &&
  10010. - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  10011. - then
  10012. - break
  10013. - fi
  10014. - done
  10015. -fi
  10016. +if test -z "$lt_ECHO"; then
  10017. + if test "X${echo_test_string+set}" != Xset; then
  10018. + # find a string as large as possible, as long as the shell can cope with it
  10019. + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  10020. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  10021. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  10022. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  10023. + then
  10024. + break
  10025. + fi
  10026. + done
  10027. + fi
  10028. -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  10029. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  10030. - test "X$echo_testing_string" = "X$echo_test_string"; then
  10031. - :
  10032. -else
  10033. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  10034. - # backslashes. This makes it impossible to quote backslashes using
  10035. - # echo "$something" | sed 's/\\/\\\\/g'
  10036. - #
  10037. - # So, first we look for a working echo in the user's PATH.
  10038. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  10039. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  10040. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10041. + :
  10042. + else
  10043. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  10044. + # backslashes. This makes it impossible to quote backslashes using
  10045. + # echo "$something" | sed 's/\\/\\\\/g'
  10046. + #
  10047. + # So, first we look for a working echo in the user's PATH.
  10048. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10049. - for dir in $PATH /usr/ucb; do
  10050. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10051. + for dir in $PATH /usr/ucb; do
  10052. + IFS="$lt_save_ifs"
  10053. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  10054. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  10055. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  10056. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10057. + ECHO="$dir/echo"
  10058. + break
  10059. + fi
  10060. + done
  10061. IFS="$lt_save_ifs"
  10062. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  10063. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  10064. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  10065. - test "X$echo_testing_string" = "X$echo_test_string"; then
  10066. - echo="$dir/echo"
  10067. - break
  10068. - fi
  10069. - done
  10070. - IFS="$lt_save_ifs"
  10071. - if test "X$echo" = Xecho; then
  10072. - # We didn't find a better echo, so look for alternatives.
  10073. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  10074. - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  10075. - test "X$echo_testing_string" = "X$echo_test_string"; then
  10076. - # This shell has a builtin print -r that does the trick.
  10077. - echo='print -r'
  10078. - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  10079. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  10080. - # If we have ksh, try running configure again with it.
  10081. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  10082. - export ORIGINAL_CONFIG_SHELL
  10083. - CONFIG_SHELL=/bin/ksh
  10084. - export CONFIG_SHELL
  10085. - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  10086. - else
  10087. - # Try using printf.
  10088. - echo='printf %s\n'
  10089. - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  10090. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  10091. - test "X$echo_testing_string" = "X$echo_test_string"; then
  10092. - # Cool, printf works
  10093. - :
  10094. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  10095. - test "X$echo_testing_string" = 'X\t' &&
  10096. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  10097. - test "X$echo_testing_string" = "X$echo_test_string"; then
  10098. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  10099. - export CONFIG_SHELL
  10100. - SHELL="$CONFIG_SHELL"
  10101. - export SHELL
  10102. - echo="$CONFIG_SHELL $0 --fallback-echo"
  10103. - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  10104. - test "X$echo_testing_string" = 'X\t' &&
  10105. - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  10106. - test "X$echo_testing_string" = "X$echo_test_string"; then
  10107. - echo="$CONFIG_SHELL $0 --fallback-echo"
  10108. + if test "X$ECHO" = Xecho; then
  10109. + # We didn't find a better echo, so look for alternatives.
  10110. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  10111. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  10112. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10113. + # This shell has a builtin print -r that does the trick.
  10114. + ECHO='print -r'
  10115. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  10116. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  10117. + # If we have ksh, try running configure again with it.
  10118. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  10119. + export ORIGINAL_CONFIG_SHELL
  10120. + CONFIG_SHELL=/bin/ksh
  10121. + export CONFIG_SHELL
  10122. + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  10123. else
  10124. - # maybe with a smaller string...
  10125. - prev=:
  10126. + # Try using printf.
  10127. + ECHO='printf %s\n'
  10128. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  10129. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  10130. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10131. + # Cool, printf works
  10132. + :
  10133. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  10134. + test "X$echo_testing_string" = 'X\t' &&
  10135. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  10136. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10137. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  10138. + export CONFIG_SHELL
  10139. + SHELL="$CONFIG_SHELL"
  10140. + export SHELL
  10141. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  10142. + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  10143. + test "X$echo_testing_string" = 'X\t' &&
  10144. + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  10145. + test "X$echo_testing_string" = "X$echo_test_string"; then
  10146. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  10147. + else
  10148. + # maybe with a smaller string...
  10149. + prev=:
  10150. - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  10151. - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  10152. - then
  10153. - break
  10154. - fi
  10155. - prev="$cmd"
  10156. - done
  10157. + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  10158. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  10159. + then
  10160. + break
  10161. + fi
  10162. + prev="$cmd"
  10163. + done
  10164. - if test "$prev" != 'sed 50q "$0"'; then
  10165. - echo_test_string=`eval $prev`
  10166. - export echo_test_string
  10167. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  10168. - else
  10169. - # Oops. We lost completely, so just stick with echo.
  10170. - echo=echo
  10171. - fi
  10172. + if test "$prev" != 'sed 50q "$0"'; then
  10173. + echo_test_string=`eval $prev`
  10174. + export echo_test_string
  10175. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  10176. + else
  10177. + # Oops. We lost completely, so just stick with echo.
  10178. + ECHO=echo
  10179. + fi
  10180. + fi
  10181. fi
  10182. fi
  10183. fi
  10184. fi
  10185. -fi
  10186. # Copy echo and quote the copy suitably for passing to libtool from
  10187. # the Makefile, instead of quoting the original, which is used later.
  10188. -ECHO=$echo
  10189. -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  10190. - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  10191. +lt_ECHO=$ECHO
  10192. +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  10193. + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  10194. fi
  10195. -tagnames=${tagnames+${tagnames},}CXX
  10196. -
  10197. -tagnames=${tagnames+${tagnames},}F77
  10198. -
  10199. -exec 7<&0 </dev/null 6>&1
  10200. +test -n "$DJDIR" || exec 7<&0 </dev/null
  10201. +exec 6>&1
  10202. # Name of the host.
  10203. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  10204. @@ -706,7 +694,6 @@
  10205. subdirs=
  10206. MFLAGS=
  10207. MAKEFLAGS=
  10208. -SHELL=${CONFIG_SHELL-/bin/sh}
  10209. # Identity of this package.
  10210. PACKAGE_NAME=
  10211. @@ -714,267 +701,313 @@
  10212. PACKAGE_VERSION=
  10213. PACKAGE_STRING=
  10214. PACKAGE_BUGREPORT=
  10215. +PACKAGE_URL=
  10216. ac_unique_file="src/control/control.c"
  10217. ac_default_prefix=/usr
  10218. # Factoring default headers for most tests.
  10219. ac_includes_default="\
  10220. #include <stdio.h>
  10221. -#if HAVE_SYS_TYPES_H
  10222. +#ifdef HAVE_SYS_TYPES_H
  10223. # include <sys/types.h>
  10224. #endif
  10225. -#if HAVE_SYS_STAT_H
  10226. +#ifdef HAVE_SYS_STAT_H
  10227. # include <sys/stat.h>
  10228. #endif
  10229. -#if STDC_HEADERS
  10230. +#ifdef STDC_HEADERS
  10231. # include <stdlib.h>
  10232. # include <stddef.h>
  10233. #else
  10234. -# if HAVE_STDLIB_H
  10235. +# ifdef HAVE_STDLIB_H
  10236. # include <stdlib.h>
  10237. # endif
  10238. #endif
  10239. -#if HAVE_STRING_H
  10240. -# if !STDC_HEADERS && HAVE_MEMORY_H
  10241. +#ifdef HAVE_STRING_H
  10242. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10243. # include <memory.h>
  10244. # endif
  10245. # include <string.h>
  10246. #endif
  10247. -#if HAVE_STRINGS_H
  10248. +#ifdef HAVE_STRINGS_H
  10249. # include <strings.h>
  10250. #endif
  10251. -#if HAVE_INTTYPES_H
  10252. +#ifdef HAVE_INTTYPES_H
  10253. # include <inttypes.h>
  10254. #endif
  10255. -#if HAVE_STDINT_H
  10256. +#ifdef HAVE_STDINT_H
  10257. # include <stdint.h>
  10258. #endif
  10259. -#if HAVE_UNISTD_H
  10260. +#ifdef HAVE_UNISTD_H
  10261. # include <unistd.h>
  10262. #endif"
  10263. -ac_subst_vars='SHELL
  10264. -PATH_SEPARATOR
  10265. -PACKAGE_NAME
  10266. -PACKAGE_TARNAME
  10267. -PACKAGE_VERSION
  10268. -PACKAGE_STRING
  10269. -PACKAGE_BUGREPORT
  10270. -exec_prefix
  10271. -prefix
  10272. -program_transform_name
  10273. -bindir
  10274. -sbindir
  10275. -libexecdir
  10276. -datarootdir
  10277. -datadir
  10278. -sysconfdir
  10279. -sharedstatedir
  10280. -localstatedir
  10281. -includedir
  10282. -oldincludedir
  10283. -docdir
  10284. -infodir
  10285. -htmldir
  10286. -dvidir
  10287. -pdfdir
  10288. -psdir
  10289. -libdir
  10290. -localedir
  10291. -mandir
  10292. -DEFS
  10293. -ECHO_C
  10294. -ECHO_N
  10295. -ECHO_T
  10296. -LIBS
  10297. -build_alias
  10298. -host_alias
  10299. -target_alias
  10300. -build
  10301. -build_cpu
  10302. -build_vendor
  10303. -build_os
  10304. -host
  10305. -host_cpu
  10306. -host_vendor
  10307. -host_os
  10308. -INSTALL_PROGRAM
  10309. -INSTALL_SCRIPT
  10310. -INSTALL_DATA
  10311. -CYGPATH_W
  10312. -PACKAGE
  10313. -VERSION
  10314. -ACLOCAL
  10315. -AUTOCONF
  10316. -AUTOMAKE
  10317. -AUTOHEADER
  10318. -MAKEINFO
  10319. -install_sh
  10320. -STRIP
  10321. -INSTALL_STRIP_PROGRAM
  10322. -mkdir_p
  10323. -AWK
  10324. -SET_MAKE
  10325. -am__leading_dot
  10326. -AMTAR
  10327. -am__tar
  10328. -am__untar
  10329. -INSTALL_M4_TRUE
  10330. -INSTALL_M4_FALSE
  10331. -CC
  10332. -CFLAGS
  10333. -LDFLAGS
  10334. -CPPFLAGS
  10335. -ac_ct_CC
  10336. -EXEEXT
  10337. -OBJEXT
  10338. -DEPDIR
  10339. -am__include
  10340. -am__quote
  10341. -AMDEP_TRUE
  10342. -AMDEP_FALSE
  10343. -AMDEPBACKSLASH
  10344. -CCDEPMODE
  10345. -am__fastdepCC_TRUE
  10346. -am__fastdepCC_FALSE
  10347. -CPP
  10348. -LN_S
  10349. -GREP
  10350. -EGREP
  10351. -ECHO
  10352. -AR
  10353. -RANLIB
  10354. -CXX
  10355. -CXXFLAGS
  10356. -ac_ct_CXX
  10357. -CXXDEPMODE
  10358. -am__fastdepCXX_TRUE
  10359. -am__fastdepCXX_FALSE
  10360. -CXXCPP
  10361. -F77
  10362. -FFLAGS
  10363. -ac_ct_F77
  10364. -LIBTOOL
  10365. -ALSA_HSEARCH_R_TRUE
  10366. -ALSA_HSEARCH_R_FALSE
  10367. -SND_LIB_VERSION
  10368. -SND_LIB_MAJOR
  10369. -SND_LIB_MINOR
  10370. -SND_LIB_SUBMINOR
  10371. -SND_LIB_EXTRAVER
  10372. -LIBTOOL_VERSION_INFO
  10373. -ALSA_CONFIG_DIR
  10374. -ALSA_PLUGIN_DIR
  10375. -VERSIONED_SYMBOLS_TRUE
  10376. -VERSIONED_SYMBOLS_FALSE
  10377. -SYMBOLIC_FUNCTIONS_TRUE
  10378. -SYMBOLIC_FUNCTIONS_FALSE
  10379. -SYMBOL_PREFIX
  10380. -BUILD_MODULES_TRUE
  10381. -BUILD_MODULES_FALSE
  10382. -ALSA_DEPLIBS
  10383. -KEEP_OLD_SYMBOLS_TRUE
  10384. -KEEP_OLD_SYMBOLS_FALSE
  10385. -PYTHON_LIBS
  10386. -PYTHON_INCLUDES
  10387. -BUILD_MIXER_TRUE
  10388. -BUILD_MIXER_FALSE
  10389. -BUILD_PCM_TRUE
  10390. -BUILD_PCM_FALSE
  10391. -BUILD_RAWMIDI_TRUE
  10392. -BUILD_RAWMIDI_FALSE
  10393. -BUILD_HWDEP_TRUE
  10394. -BUILD_HWDEP_FALSE
  10395. -BUILD_SEQ_TRUE
  10396. -BUILD_SEQ_FALSE
  10397. -BUILD_ALISP_TRUE
  10398. -BUILD_ALISP_FALSE
  10399. -BUILD_PYTHON_TRUE
  10400. -BUILD_PYTHON_FALSE
  10401. -BUILD_PCM_PLUGIN_TRUE
  10402. -BUILD_PCM_PLUGIN_FALSE
  10403. -BUILD_PCM_PLUGIN_COPY_TRUE
  10404. -BUILD_PCM_PLUGIN_COPY_FALSE
  10405. -BUILD_PCM_PLUGIN_LINEAR_TRUE
  10406. -BUILD_PCM_PLUGIN_LINEAR_FALSE
  10407. -BUILD_PCM_PLUGIN_ROUTE_TRUE
  10408. -BUILD_PCM_PLUGIN_ROUTE_FALSE
  10409. -BUILD_PCM_PLUGIN_MULAW_TRUE
  10410. -BUILD_PCM_PLUGIN_MULAW_FALSE
  10411. -BUILD_PCM_PLUGIN_ALAW_TRUE
  10412. -BUILD_PCM_PLUGIN_ALAW_FALSE
  10413. -BUILD_PCM_PLUGIN_ADPCM_TRUE
  10414. -BUILD_PCM_PLUGIN_ADPCM_FALSE
  10415. -BUILD_PCM_PLUGIN_RATE_TRUE
  10416. -BUILD_PCM_PLUGIN_RATE_FALSE
  10417. -BUILD_PCM_PLUGIN_PLUG_TRUE
  10418. -BUILD_PCM_PLUGIN_PLUG_FALSE
  10419. -BUILD_PCM_PLUGIN_MULTI_TRUE
  10420. -BUILD_PCM_PLUGIN_MULTI_FALSE
  10421. -BUILD_PCM_PLUGIN_SHM_TRUE
  10422. -BUILD_PCM_PLUGIN_SHM_FALSE
  10423. -BUILD_PCM_PLUGIN_FILE_TRUE
  10424. -BUILD_PCM_PLUGIN_FILE_FALSE
  10425. -BUILD_PCM_PLUGIN_NULL_TRUE
  10426. -BUILD_PCM_PLUGIN_NULL_FALSE
  10427. -BUILD_PCM_PLUGIN_EMPTY_TRUE
  10428. -BUILD_PCM_PLUGIN_EMPTY_FALSE
  10429. -BUILD_PCM_PLUGIN_SHARE_TRUE
  10430. -BUILD_PCM_PLUGIN_SHARE_FALSE
  10431. -BUILD_PCM_PLUGIN_METER_TRUE
  10432. -BUILD_PCM_PLUGIN_METER_FALSE
  10433. -BUILD_PCM_PLUGIN_HOOKS_TRUE
  10434. -BUILD_PCM_PLUGIN_HOOKS_FALSE
  10435. -BUILD_PCM_PLUGIN_LFLOAT_TRUE
  10436. -BUILD_PCM_PLUGIN_LFLOAT_FALSE
  10437. -BUILD_PCM_PLUGIN_LADSPA_TRUE
  10438. -BUILD_PCM_PLUGIN_LADSPA_FALSE
  10439. -BUILD_PCM_PLUGIN_DMIX_TRUE
  10440. -BUILD_PCM_PLUGIN_DMIX_FALSE
  10441. -BUILD_PCM_PLUGIN_DSHARE_TRUE
  10442. -BUILD_PCM_PLUGIN_DSHARE_FALSE
  10443. -BUILD_PCM_PLUGIN_DSNOOP_TRUE
  10444. -BUILD_PCM_PLUGIN_DSNOOP_FALSE
  10445. -BUILD_PCM_PLUGIN_ASYM_TRUE
  10446. -BUILD_PCM_PLUGIN_ASYM_FALSE
  10447. -BUILD_PCM_PLUGIN_IEC958_TRUE
  10448. -BUILD_PCM_PLUGIN_IEC958_FALSE
  10449. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE
  10450. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE
  10451. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE
  10452. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE
  10453. -BUILD_PCM_PLUGIN_IOPLUG_TRUE
  10454. -BUILD_PCM_PLUGIN_IOPLUG_FALSE
  10455. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE
  10456. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE
  10457. -BUILD_CTL_PLUGIN_TRUE
  10458. -BUILD_CTL_PLUGIN_FALSE
  10459. -BUILD_CTL_PLUGIN_SHM_TRUE
  10460. -BUILD_CTL_PLUGIN_SHM_FALSE
  10461. -BUILD_CTL_PLUGIN_EXT_TRUE
  10462. -BUILD_CTL_PLUGIN_EXT_FALSE
  10463. +ac_subst_vars='am__EXEEXT_FALSE
  10464. +am__EXEEXT_TRUE
  10465. +LTLIBOBJS
  10466. LIBOBJS
  10467. -LTLIBOBJS'
  10468. +BUILD_CTL_PLUGIN_EXT_FALSE
  10469. +BUILD_CTL_PLUGIN_EXT_TRUE
  10470. +BUILD_CTL_PLUGIN_SHM_FALSE
  10471. +BUILD_CTL_PLUGIN_SHM_TRUE
  10472. +BUILD_CTL_PLUGIN_FALSE
  10473. +BUILD_CTL_PLUGIN_TRUE
  10474. +BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE
  10475. +BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE
  10476. +BUILD_PCM_PLUGIN_IOPLUG_FALSE
  10477. +BUILD_PCM_PLUGIN_IOPLUG_TRUE
  10478. +BUILD_PCM_PLUGIN_EXTPLUG_FALSE
  10479. +BUILD_PCM_PLUGIN_EXTPLUG_TRUE
  10480. +BUILD_PCM_PLUGIN_SOFTVOL_FALSE
  10481. +BUILD_PCM_PLUGIN_SOFTVOL_TRUE
  10482. +BUILD_PCM_PLUGIN_IEC958_FALSE
  10483. +BUILD_PCM_PLUGIN_IEC958_TRUE
  10484. +BUILD_PCM_PLUGIN_ASYM_FALSE
  10485. +BUILD_PCM_PLUGIN_ASYM_TRUE
  10486. +BUILD_PCM_PLUGIN_DSNOOP_FALSE
  10487. +BUILD_PCM_PLUGIN_DSNOOP_TRUE
  10488. +BUILD_PCM_PLUGIN_DSHARE_FALSE
  10489. +BUILD_PCM_PLUGIN_DSHARE_TRUE
  10490. +BUILD_PCM_PLUGIN_DMIX_FALSE
  10491. +BUILD_PCM_PLUGIN_DMIX_TRUE
  10492. +BUILD_PCM_PLUGIN_LADSPA_FALSE
  10493. +BUILD_PCM_PLUGIN_LADSPA_TRUE
  10494. +BUILD_PCM_PLUGIN_LFLOAT_FALSE
  10495. +BUILD_PCM_PLUGIN_LFLOAT_TRUE
  10496. +BUILD_PCM_PLUGIN_HOOKS_FALSE
  10497. +BUILD_PCM_PLUGIN_HOOKS_TRUE
  10498. +BUILD_PCM_PLUGIN_METER_FALSE
  10499. +BUILD_PCM_PLUGIN_METER_TRUE
  10500. +BUILD_PCM_PLUGIN_SHARE_FALSE
  10501. +BUILD_PCM_PLUGIN_SHARE_TRUE
  10502. +BUILD_PCM_PLUGIN_EMPTY_FALSE
  10503. +BUILD_PCM_PLUGIN_EMPTY_TRUE
  10504. +BUILD_PCM_PLUGIN_NULL_FALSE
  10505. +BUILD_PCM_PLUGIN_NULL_TRUE
  10506. +BUILD_PCM_PLUGIN_FILE_FALSE
  10507. +BUILD_PCM_PLUGIN_FILE_TRUE
  10508. +BUILD_PCM_PLUGIN_SHM_FALSE
  10509. +BUILD_PCM_PLUGIN_SHM_TRUE
  10510. +BUILD_PCM_PLUGIN_MULTI_FALSE
  10511. +BUILD_PCM_PLUGIN_MULTI_TRUE
  10512. +BUILD_PCM_PLUGIN_PLUG_FALSE
  10513. +BUILD_PCM_PLUGIN_PLUG_TRUE
  10514. +BUILD_PCM_PLUGIN_RATE_FALSE
  10515. +BUILD_PCM_PLUGIN_RATE_TRUE
  10516. +BUILD_PCM_PLUGIN_ADPCM_FALSE
  10517. +BUILD_PCM_PLUGIN_ADPCM_TRUE
  10518. +BUILD_PCM_PLUGIN_ALAW_FALSE
  10519. +BUILD_PCM_PLUGIN_ALAW_TRUE
  10520. +BUILD_PCM_PLUGIN_MULAW_FALSE
  10521. +BUILD_PCM_PLUGIN_MULAW_TRUE
  10522. +BUILD_PCM_PLUGIN_ROUTE_FALSE
  10523. +BUILD_PCM_PLUGIN_ROUTE_TRUE
  10524. +BUILD_PCM_PLUGIN_LINEAR_FALSE
  10525. +BUILD_PCM_PLUGIN_LINEAR_TRUE
  10526. +BUILD_PCM_PLUGIN_COPY_FALSE
  10527. +BUILD_PCM_PLUGIN_COPY_TRUE
  10528. +BUILD_PCM_PLUGIN_FALSE
  10529. +BUILD_PCM_PLUGIN_TRUE
  10530. +BUILD_PYTHON_FALSE
  10531. +BUILD_PYTHON_TRUE
  10532. +BUILD_ALISP_FALSE
  10533. +BUILD_ALISP_TRUE
  10534. +BUILD_SEQ_FALSE
  10535. +BUILD_SEQ_TRUE
  10536. +BUILD_HWDEP_FALSE
  10537. +BUILD_HWDEP_TRUE
  10538. +BUILD_RAWMIDI_FALSE
  10539. +BUILD_RAWMIDI_TRUE
  10540. +BUILD_PCM_FALSE
  10541. +BUILD_PCM_TRUE
  10542. +BUILD_MIXER_FALSE
  10543. +BUILD_MIXER_TRUE
  10544. +PYTHON_INCLUDES
  10545. +PYTHON_LIBS
  10546. +KEEP_OLD_SYMBOLS_FALSE
  10547. +KEEP_OLD_SYMBOLS_TRUE
  10548. +ALSA_DEPLIBS
  10549. +BUILD_MODULES_FALSE
  10550. +BUILD_MODULES_TRUE
  10551. +SYMBOL_PREFIX
  10552. +SYMBOLIC_FUNCTIONS_FALSE
  10553. +SYMBOLIC_FUNCTIONS_TRUE
  10554. +VERSIONED_SYMBOLS_FALSE
  10555. +VERSIONED_SYMBOLS_TRUE
  10556. +ALSA_PLUGIN_DIR
  10557. +ALSA_CONFIG_DIR
  10558. +LIBTOOL_VERSION_INFO
  10559. +SND_LIB_EXTRAVER
  10560. +SND_LIB_SUBMINOR
  10561. +SND_LIB_MINOR
  10562. +SND_LIB_MAJOR
  10563. +SND_LIB_VERSION
  10564. +ALSA_HSEARCH_R_FALSE
  10565. +ALSA_HSEARCH_R_TRUE
  10566. +LDFLAGS_NOUNDEFINED
  10567. +OTOOL64
  10568. +OTOOL
  10569. +LIPO
  10570. +NMEDIT
  10571. +DSYMUTIL
  10572. +lt_ECHO
  10573. +RANLIB
  10574. +AR
  10575. +OBJDUMP
  10576. +NM
  10577. +ac_ct_DUMPBIN
  10578. +DUMPBIN
  10579. +LD
  10580. +FGREP
  10581. +EGREP
  10582. +GREP
  10583. +SED
  10584. +LIBTOOL
  10585. +LN_S
  10586. +CPP
  10587. +am__fastdepCC_FALSE
  10588. +am__fastdepCC_TRUE
  10589. +CCDEPMODE
  10590. +AMDEPBACKSLASH
  10591. +AMDEP_FALSE
  10592. +AMDEP_TRUE
  10593. +am__quote
  10594. +am__include
  10595. +DEPDIR
  10596. +OBJEXT
  10597. +EXEEXT
  10598. +ac_ct_CC
  10599. +CPPFLAGS
  10600. +LDFLAGS
  10601. +CFLAGS
  10602. +CC
  10603. +AM_BACKSLASH
  10604. +AM_DEFAULT_VERBOSITY
  10605. +INSTALL_M4_FALSE
  10606. +INSTALL_M4_TRUE
  10607. +am__untar
  10608. +am__tar
  10609. +AMTAR
  10610. +am__leading_dot
  10611. +SET_MAKE
  10612. +AWK
  10613. +mkdir_p
  10614. +MKDIR_P
  10615. +INSTALL_STRIP_PROGRAM
  10616. +STRIP
  10617. +install_sh
  10618. +MAKEINFO
  10619. +AUTOHEADER
  10620. +AUTOMAKE
  10621. +AUTOCONF
  10622. +ACLOCAL
  10623. +VERSION
  10624. +PACKAGE
  10625. +CYGPATH_W
  10626. +am__isrc
  10627. +INSTALL_DATA
  10628. +INSTALL_SCRIPT
  10629. +INSTALL_PROGRAM
  10630. +host_os
  10631. +host_vendor
  10632. +host_cpu
  10633. +host
  10634. +build_os
  10635. +build_vendor
  10636. +build_cpu
  10637. +build
  10638. +target_alias
  10639. +host_alias
  10640. +build_alias
  10641. +LIBS
  10642. +ECHO_T
  10643. +ECHO_N
  10644. +ECHO_C
  10645. +DEFS
  10646. +mandir
  10647. +localedir
  10648. +libdir
  10649. +psdir
  10650. +pdfdir
  10651. +dvidir
  10652. +htmldir
  10653. +infodir
  10654. +docdir
  10655. +oldincludedir
  10656. +includedir
  10657. +localstatedir
  10658. +sharedstatedir
  10659. +sysconfdir
  10660. +datadir
  10661. +datarootdir
  10662. +libexecdir
  10663. +sbindir
  10664. +bindir
  10665. +program_transform_name
  10666. +prefix
  10667. +exec_prefix
  10668. +PACKAGE_URL
  10669. +PACKAGE_BUGREPORT
  10670. +PACKAGE_STRING
  10671. +PACKAGE_VERSION
  10672. +PACKAGE_TARNAME
  10673. +PACKAGE_NAME
  10674. +PATH_SEPARATOR
  10675. +SHELL'
  10676. ac_subst_files=''
  10677. +ac_user_opts='
  10678. +enable_option_checking
  10679. +enable_silent_rules
  10680. +enable_dependency_tracking
  10681. +enable_static
  10682. +enable_shared
  10683. +with_pic
  10684. +enable_fast_install
  10685. +with_gnu_ld
  10686. +enable_libtool_lock
  10687. +with_configdir
  10688. +with_plugindir
  10689. +with_versioned
  10690. +enable_symbolic_functions
  10691. +with_debug
  10692. +enable_debug_assert
  10693. +with_tmpdir
  10694. +with_softfloat
  10695. +with_libdl
  10696. +with_pthread
  10697. +with_librt
  10698. +enable_resmgr
  10699. +enable_aload
  10700. +with_alsa_devdir
  10701. +with_aload_devdir
  10702. +enable_mixer
  10703. +enable_pcm
  10704. +enable_rawmidi
  10705. +enable_hwdep
  10706. +enable_seq
  10707. +enable_alisp
  10708. +enable_old_symbols
  10709. +enable_python
  10710. +with_pythonlibs
  10711. +with_pythonincludes
  10712. +with_pcm_plugins
  10713. +with_ctl_plugins
  10714. +'
  10715. ac_precious_vars='build_alias
  10716. host_alias
  10717. target_alias
  10718. CC
  10719. CFLAGS
  10720. LDFLAGS
  10721. +LIBS
  10722. CPPFLAGS
  10723. -CPP
  10724. -CXX
  10725. -CXXFLAGS
  10726. -CCC
  10727. -CXXCPP
  10728. -F77
  10729. -FFLAGS'
  10730. +CPP'
  10731. # Initialize some variables set by options.
  10732. ac_init_help=
  10733. ac_init_version=false
  10734. +ac_unrecognized_opts=
  10735. +ac_unrecognized_sep=
  10736. # The variables have the same names as the options, with
  10737. # dashes changed to underlines.
  10738. cache_file=/dev/null
  10739. @@ -1073,13 +1106,20 @@
  10740. datarootdir=$ac_optarg ;;
  10741. -disable-* | --disable-*)
  10742. - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  10743. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  10744. # Reject names that are not valid shell variable names.
  10745. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  10746. - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  10747. - { (exit 1); exit 1; }; }
  10748. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  10749. - eval enable_$ac_feature=no ;;
  10750. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10751. + as_fn_error "invalid feature name: $ac_useropt"
  10752. + ac_useropt_orig=$ac_useropt
  10753. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10754. + case $ac_user_opts in
  10755. + *"
  10756. +"enable_$ac_useropt"
  10757. +"*) ;;
  10758. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  10759. + ac_unrecognized_sep=', ';;
  10760. + esac
  10761. + eval enable_$ac_useropt=no ;;
  10762. -docdir | --docdir | --docdi | --doc | --do)
  10763. ac_prev=docdir ;;
  10764. @@ -1092,13 +1132,20 @@
  10765. dvidir=$ac_optarg ;;
  10766. -enable-* | --enable-*)
  10767. - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  10768. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  10769. # Reject names that are not valid shell variable names.
  10770. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  10771. - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  10772. - { (exit 1); exit 1; }; }
  10773. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  10774. - eval enable_$ac_feature=\$ac_optarg ;;
  10775. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10776. + as_fn_error "invalid feature name: $ac_useropt"
  10777. + ac_useropt_orig=$ac_useropt
  10778. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10779. + case $ac_user_opts in
  10780. + *"
  10781. +"enable_$ac_useropt"
  10782. +"*) ;;
  10783. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  10784. + ac_unrecognized_sep=', ';;
  10785. + esac
  10786. + eval enable_$ac_useropt=\$ac_optarg ;;
  10787. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  10788. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  10789. @@ -1289,22 +1336,36 @@
  10790. ac_init_version=: ;;
  10791. -with-* | --with-*)
  10792. - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  10793. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  10794. # Reject names that are not valid shell variable names.
  10795. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  10796. - { echo "$as_me: error: invalid package name: $ac_package" >&2
  10797. - { (exit 1); exit 1; }; }
  10798. - ac_package=`echo $ac_package| sed 's/-/_/g'`
  10799. - eval with_$ac_package=\$ac_optarg ;;
  10800. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10801. + as_fn_error "invalid package name: $ac_useropt"
  10802. + ac_useropt_orig=$ac_useropt
  10803. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10804. + case $ac_user_opts in
  10805. + *"
  10806. +"with_$ac_useropt"
  10807. +"*) ;;
  10808. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  10809. + ac_unrecognized_sep=', ';;
  10810. + esac
  10811. + eval with_$ac_useropt=\$ac_optarg ;;
  10812. -without-* | --without-*)
  10813. - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  10814. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  10815. # Reject names that are not valid shell variable names.
  10816. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  10817. - { echo "$as_me: error: invalid package name: $ac_package" >&2
  10818. - { (exit 1); exit 1; }; }
  10819. - ac_package=`echo $ac_package | sed 's/-/_/g'`
  10820. - eval with_$ac_package=no ;;
  10821. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10822. + as_fn_error "invalid package name: $ac_useropt"
  10823. + ac_useropt_orig=$ac_useropt
  10824. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10825. + case $ac_user_opts in
  10826. + *"
  10827. +"with_$ac_useropt"
  10828. +"*) ;;
  10829. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  10830. + ac_unrecognized_sep=', ';;
  10831. + esac
  10832. + eval with_$ac_useropt=no ;;
  10833. --x)
  10834. # Obsolete; use --with-x.
  10835. @@ -1324,25 +1385,25 @@
  10836. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  10837. x_libraries=$ac_optarg ;;
  10838. - -*) { echo "$as_me: error: unrecognized option: $ac_option
  10839. -Try \`$0 --help' for more information." >&2
  10840. - { (exit 1); exit 1; }; }
  10841. + -*) as_fn_error "unrecognized option: \`$ac_option'
  10842. +Try \`$0 --help' for more information."
  10843. ;;
  10844. *=*)
  10845. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  10846. # Reject names that are not valid shell variable names.
  10847. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  10848. - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  10849. - { (exit 1); exit 1; }; }
  10850. + case $ac_envvar in #(
  10851. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  10852. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  10853. + esac
  10854. eval $ac_envvar=\$ac_optarg
  10855. export $ac_envvar ;;
  10856. *)
  10857. # FIXME: should be removed in autoconf 3.0.
  10858. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  10859. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  10860. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  10861. - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  10862. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  10863. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  10864. ;;
  10865. @@ -1351,23 +1412,36 @@
  10866. if test -n "$ac_prev"; then
  10867. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  10868. - { echo "$as_me: error: missing argument to $ac_option" >&2
  10869. - { (exit 1); exit 1; }; }
  10870. + as_fn_error "missing argument to $ac_option"
  10871. fi
  10872. -# Be sure to have absolute directory names.
  10873. +if test -n "$ac_unrecognized_opts"; then
  10874. + case $enable_option_checking in
  10875. + no) ;;
  10876. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  10877. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  10878. + esac
  10879. +fi
  10880. +
  10881. +# Check all directory arguments for consistency.
  10882. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  10883. datadir sysconfdir sharedstatedir localstatedir includedir \
  10884. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  10885. libdir localedir mandir
  10886. do
  10887. eval ac_val=\$$ac_var
  10888. + # Remove trailing slashes.
  10889. + case $ac_val in
  10890. + */ )
  10891. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  10892. + eval $ac_var=\$ac_val;;
  10893. + esac
  10894. + # Be sure to have absolute directory names.
  10895. case $ac_val in
  10896. [\\/$]* | ?:[\\/]* ) continue;;
  10897. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  10898. esac
  10899. - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  10900. - { (exit 1); exit 1; }; }
  10901. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  10902. done
  10903. # There might be people who depend on the old broken behavior: `$host'
  10904. @@ -1381,7 +1455,7 @@
  10905. if test "x$host_alias" != x; then
  10906. if test "x$build_alias" = x; then
  10907. cross_compiling=maybe
  10908. - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  10909. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  10910. If a cross compiler is detected then cross compile mode will be used." >&2
  10911. elif test "x$build_alias" != "x$host_alias"; then
  10912. cross_compiling=yes
  10913. @@ -1397,23 +1471,21 @@
  10914. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  10915. ac_ls_di=`ls -di .` &&
  10916. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  10917. - { echo "$as_me: error: Working directory cannot be determined" >&2
  10918. - { (exit 1); exit 1; }; }
  10919. + as_fn_error "working directory cannot be determined"
  10920. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  10921. - { echo "$as_me: error: pwd does not report name of working directory" >&2
  10922. - { (exit 1); exit 1; }; }
  10923. + as_fn_error "pwd does not report name of working directory"
  10924. # Find the source files, if location was not specified.
  10925. if test -z "$srcdir"; then
  10926. ac_srcdir_defaulted=yes
  10927. # Try the directory containing this script, then the parent directory.
  10928. - ac_confdir=`$as_dirname -- "$0" ||
  10929. -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10930. - X"$0" : 'X\(//\)[^/]' \| \
  10931. - X"$0" : 'X\(//\)$' \| \
  10932. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  10933. -echo X"$0" |
  10934. + ac_confdir=`$as_dirname -- "$as_myself" ||
  10935. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10936. + X"$as_myself" : 'X\(//\)[^/]' \| \
  10937. + X"$as_myself" : 'X\(//\)$' \| \
  10938. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  10939. +$as_echo X"$as_myself" |
  10940. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10941. s//\1/
  10942. q
  10943. @@ -1440,13 +1512,11 @@
  10944. fi
  10945. if test ! -r "$srcdir/$ac_unique_file"; then
  10946. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  10947. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  10948. - { (exit 1); exit 1; }; }
  10949. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  10950. fi
  10951. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  10952. ac_abs_confdir=`(
  10953. - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  10954. - { (exit 1); exit 1; }; }
  10955. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  10956. pwd)`
  10957. # When building in place, set srcdir=.
  10958. if test "$ac_abs_confdir" = "$ac_pwd"; then
  10959. @@ -1494,9 +1564,9 @@
  10960. Installation directories:
  10961. --prefix=PREFIX install architecture-independent files in PREFIX
  10962. - [$ac_default_prefix]
  10963. + [$ac_default_prefix]
  10964. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  10965. - [PREFIX]
  10966. + [PREFIX]
  10967. By default, \`make install' will install all the files in
  10968. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  10969. @@ -1506,25 +1576,25 @@
  10970. For better control, use the options below.
  10971. Fine tuning of the installation directories:
  10972. - --bindir=DIR user executables [EPREFIX/bin]
  10973. - --sbindir=DIR system admin executables [EPREFIX/sbin]
  10974. - --libexecdir=DIR program executables [EPREFIX/libexec]
  10975. - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  10976. - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  10977. - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  10978. - --libdir=DIR object code libraries [EPREFIX/lib]
  10979. - --includedir=DIR C header files [PREFIX/include]
  10980. - --oldincludedir=DIR C header files for non-gcc [/usr/include]
  10981. - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  10982. - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  10983. - --infodir=DIR info documentation [DATAROOTDIR/info]
  10984. - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  10985. - --mandir=DIR man documentation [DATAROOTDIR/man]
  10986. - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  10987. - --htmldir=DIR html documentation [DOCDIR]
  10988. - --dvidir=DIR dvi documentation [DOCDIR]
  10989. - --pdfdir=DIR pdf documentation [DOCDIR]
  10990. - --psdir=DIR ps documentation [DOCDIR]
  10991. + --bindir=DIR user executables [EPREFIX/bin]
  10992. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  10993. + --libexecdir=DIR program executables [EPREFIX/libexec]
  10994. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  10995. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  10996. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  10997. + --libdir=DIR object code libraries [EPREFIX/lib]
  10998. + --includedir=DIR C header files [PREFIX/include]
  10999. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  11000. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  11001. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  11002. + --infodir=DIR info documentation [DATAROOTDIR/info]
  11003. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  11004. + --mandir=DIR man documentation [DATAROOTDIR/man]
  11005. + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  11006. + --htmldir=DIR html documentation [DOCDIR]
  11007. + --dvidir=DIR dvi documentation [DOCDIR]
  11008. + --pdfdir=DIR pdf documentation [DOCDIR]
  11009. + --psdir=DIR ps documentation [DOCDIR]
  11010. _ACEOF
  11011. cat <<\_ACEOF
  11012. @@ -1545,8 +1615,11 @@
  11013. cat <<\_ACEOF
  11014. Optional Features:
  11015. + --disable-option-checking ignore unrecognized --enable/--with options
  11016. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  11017. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  11018. + --enable-silent-rules less verbose build output (undo: `make V=1')
  11019. + --disable-silent-rules verbose build output (undo: `make V=0')
  11020. --disable-dependency-tracking speeds up one-time build
  11021. --enable-dependency-tracking do not reject slow dependency extractors
  11022. --enable-static[=PKGS] build static libraries [default=no]
  11023. @@ -1573,10 +1646,9 @@
  11024. Optional Packages:
  11025. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  11026. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  11027. - --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  11028. --with-pic try to use only PIC/non-PIC objects [default=use
  11029. both]
  11030. - --with-tags[=TAGS] include additional configurations [automatic]
  11031. + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  11032. --with-configdir=dir path where ALSA config files are stored
  11033. --with-plugindir=dir path where ALSA plugin files are stored
  11034. --with-versioned shared library will be compiled with versioned
  11035. @@ -1607,18 +1679,15 @@
  11036. CFLAGS C compiler flags
  11037. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  11038. nonstandard directory <lib dir>
  11039. - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  11040. + LIBS libraries to pass to the linker, e.g. -l<library>
  11041. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  11042. you have headers in a nonstandard directory <include dir>
  11043. CPP C preprocessor
  11044. - CXX C++ compiler command
  11045. - CXXFLAGS C++ compiler flags
  11046. - CXXCPP C++ preprocessor
  11047. - F77 Fortran 77 compiler command
  11048. - FFLAGS Fortran 77 compiler flags
  11049. Use these variables to override the choices made by `configure' or to help
  11050. it to find libraries and programs with nonstandard names/locations.
  11051. +Report bugs to the package provider.
  11052. _ACEOF
  11053. ac_status=$?
  11054. fi
  11055. @@ -1626,15 +1695,17 @@
  11056. if test "$ac_init_help" = "recursive"; then
  11057. # If there are subdirs, report their specific --help.
  11058. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  11059. - test -d "$ac_dir" || continue
  11060. + test -d "$ac_dir" ||
  11061. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  11062. + continue
  11063. ac_builddir=.
  11064. case "$ac_dir" in
  11065. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  11066. *)
  11067. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  11068. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  11069. # A ".." for each directory in $ac_dir_suffix.
  11070. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  11071. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  11072. case $ac_top_builddir_sub in
  11073. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  11074. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  11075. @@ -1670,7 +1741,7 @@
  11076. echo &&
  11077. $SHELL "$ac_srcdir/configure" --help=recursive
  11078. else
  11079. - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  11080. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  11081. fi || ac_status=$?
  11082. cd "$ac_pwd" || { ac_status=$?; break; }
  11083. done
  11084. @@ -1680,58 +1751,409 @@
  11085. if $ac_init_version; then
  11086. cat <<\_ACEOF
  11087. configure
  11088. -generated by GNU Autoconf 2.60
  11089. +generated by GNU Autoconf 2.65
  11090. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  11091. -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  11092. +Copyright (C) 2009 Free Software Foundation, Inc.
  11093. This configure script is free software; the Free Software Foundation
  11094. gives unlimited permission to copy, distribute and modify it.
  11095. _ACEOF
  11096. exit
  11097. fi
  11098. -cat >config.log <<_ACEOF
  11099. -This file contains any messages produced by compilers while
  11100. -running configure, to aid debugging if configure makes a mistake.
  11101. -It was created by $as_me, which was
  11102. -generated by GNU Autoconf 2.60. Invocation command line was
  11103. -
  11104. - $ $0 $@
  11105. -
  11106. -_ACEOF
  11107. -exec 5>>config.log
  11108. +## ------------------------ ##
  11109. +## Autoconf initialization. ##
  11110. +## ------------------------ ##
  11111. +
  11112. +# ac_fn_c_try_compile LINENO
  11113. +# --------------------------
  11114. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  11115. +ac_fn_c_try_compile ()
  11116. {
  11117. -cat <<_ASUNAME
  11118. -## --------- ##
  11119. -## Platform. ##
  11120. -## --------- ##
  11121. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11122. + rm -f conftest.$ac_objext
  11123. + if { { ac_try="$ac_compile"
  11124. +case "(($ac_try" in
  11125. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11126. + *) ac_try_echo=$ac_try;;
  11127. +esac
  11128. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11129. +$as_echo "$ac_try_echo"; } >&5
  11130. + (eval "$ac_compile") 2>conftest.err
  11131. + ac_status=$?
  11132. + if test -s conftest.err; then
  11133. + grep -v '^ *+' conftest.err >conftest.er1
  11134. + cat conftest.er1 >&5
  11135. + mv -f conftest.er1 conftest.err
  11136. + fi
  11137. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11138. + test $ac_status = 0; } && {
  11139. + test -z "$ac_c_werror_flag" ||
  11140. + test ! -s conftest.err
  11141. + } && test -s conftest.$ac_objext; then :
  11142. + ac_retval=0
  11143. +else
  11144. + $as_echo "$as_me: failed program was:" >&5
  11145. +sed 's/^/| /' conftest.$ac_ext >&5
  11146. -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  11147. -uname -m = `(uname -m) 2>/dev/null || echo unknown`
  11148. -uname -r = `(uname -r) 2>/dev/null || echo unknown`
  11149. -uname -s = `(uname -s) 2>/dev/null || echo unknown`
  11150. -uname -v = `(uname -v) 2>/dev/null || echo unknown`
  11151. + ac_retval=1
  11152. +fi
  11153. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  11154. + as_fn_set_status $ac_retval
  11155. -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  11156. -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  11157. +} # ac_fn_c_try_compile
  11158. -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  11159. -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  11160. -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  11161. -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  11162. -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  11163. -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  11164. -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  11165. +# ac_fn_c_try_cpp LINENO
  11166. +# ----------------------
  11167. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  11168. +ac_fn_c_try_cpp ()
  11169. +{
  11170. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11171. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  11172. +case "(($ac_try" in
  11173. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11174. + *) ac_try_echo=$ac_try;;
  11175. +esac
  11176. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11177. +$as_echo "$ac_try_echo"; } >&5
  11178. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  11179. + ac_status=$?
  11180. + if test -s conftest.err; then
  11181. + grep -v '^ *+' conftest.err >conftest.er1
  11182. + cat conftest.er1 >&5
  11183. + mv -f conftest.er1 conftest.err
  11184. + fi
  11185. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11186. + test $ac_status = 0; } >/dev/null && {
  11187. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11188. + test ! -s conftest.err
  11189. + }; then :
  11190. + ac_retval=0
  11191. +else
  11192. + $as_echo "$as_me: failed program was:" >&5
  11193. +sed 's/^/| /' conftest.$ac_ext >&5
  11194. -_ASUNAME
  11195. + ac_retval=1
  11196. +fi
  11197. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  11198. + as_fn_set_status $ac_retval
  11199. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11200. +} # ac_fn_c_try_cpp
  11201. +
  11202. +# ac_fn_c_try_link LINENO
  11203. +# -----------------------
  11204. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  11205. +ac_fn_c_try_link ()
  11206. +{
  11207. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11208. + rm -f conftest.$ac_objext conftest$ac_exeext
  11209. + if { { ac_try="$ac_link"
  11210. +case "(($ac_try" in
  11211. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11212. + *) ac_try_echo=$ac_try;;
  11213. +esac
  11214. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11215. +$as_echo "$ac_try_echo"; } >&5
  11216. + (eval "$ac_link") 2>conftest.err
  11217. + ac_status=$?
  11218. + if test -s conftest.err; then
  11219. + grep -v '^ *+' conftest.err >conftest.er1
  11220. + cat conftest.er1 >&5
  11221. + mv -f conftest.er1 conftest.err
  11222. + fi
  11223. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11224. + test $ac_status = 0; } && {
  11225. + test -z "$ac_c_werror_flag" ||
  11226. + test ! -s conftest.err
  11227. + } && test -s conftest$ac_exeext && {
  11228. + test "$cross_compiling" = yes ||
  11229. + $as_test_x conftest$ac_exeext
  11230. + }; then :
  11231. + ac_retval=0
  11232. +else
  11233. + $as_echo "$as_me: failed program was:" >&5
  11234. +sed 's/^/| /' conftest.$ac_ext >&5
  11235. +
  11236. + ac_retval=1
  11237. +fi
  11238. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  11239. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  11240. + # interfere with the next link command; also delete a directory that is
  11241. + # left behind by Apple's compiler. We do this before executing the actions.
  11242. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  11243. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  11244. + as_fn_set_status $ac_retval
  11245. +
  11246. +} # ac_fn_c_try_link
  11247. +
  11248. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  11249. +# -------------------------------------------------------
  11250. +# Tests whether HEADER exists and can be compiled using the include files in
  11251. +# INCLUDES, setting the cache variable VAR accordingly.
  11252. +ac_fn_c_check_header_compile ()
  11253. +{
  11254. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11255. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11256. +$as_echo_n "checking for $2... " >&6; }
  11257. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  11258. + $as_echo_n "(cached) " >&6
  11259. +else
  11260. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11261. +/* end confdefs.h. */
  11262. +$4
  11263. +#include <$2>
  11264. +_ACEOF
  11265. +if ac_fn_c_try_compile "$LINENO"; then :
  11266. + eval "$3=yes"
  11267. +else
  11268. + eval "$3=no"
  11269. +fi
  11270. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11271. +fi
  11272. +eval ac_res=\$$3
  11273. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11274. +$as_echo "$ac_res" >&6; }
  11275. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  11276. +
  11277. +} # ac_fn_c_check_header_compile
  11278. +
  11279. +# ac_fn_c_try_run LINENO
  11280. +# ----------------------
  11281. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  11282. +# that executables *can* be run.
  11283. +ac_fn_c_try_run ()
  11284. +{
  11285. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11286. + if { { ac_try="$ac_link"
  11287. +case "(($ac_try" in
  11288. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11289. + *) ac_try_echo=$ac_try;;
  11290. +esac
  11291. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11292. +$as_echo "$ac_try_echo"; } >&5
  11293. + (eval "$ac_link") 2>&5
  11294. + ac_status=$?
  11295. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11296. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  11297. + { { case "(($ac_try" in
  11298. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11299. + *) ac_try_echo=$ac_try;;
  11300. +esac
  11301. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11302. +$as_echo "$ac_try_echo"; } >&5
  11303. + (eval "$ac_try") 2>&5
  11304. + ac_status=$?
  11305. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11306. + test $ac_status = 0; }; }; then :
  11307. + ac_retval=0
  11308. +else
  11309. + $as_echo "$as_me: program exited with status $ac_status" >&5
  11310. + $as_echo "$as_me: failed program was:" >&5
  11311. +sed 's/^/| /' conftest.$ac_ext >&5
  11312. +
  11313. + ac_retval=$ac_status
  11314. +fi
  11315. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  11316. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  11317. + as_fn_set_status $ac_retval
  11318. +
  11319. +} # ac_fn_c_try_run
  11320. +
  11321. +# ac_fn_c_check_func LINENO FUNC VAR
  11322. +# ----------------------------------
  11323. +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  11324. +ac_fn_c_check_func ()
  11325. +{
  11326. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11327. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11328. +$as_echo_n "checking for $2... " >&6; }
  11329. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  11330. + $as_echo_n "(cached) " >&6
  11331. +else
  11332. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11333. +/* end confdefs.h. */
  11334. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  11335. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  11336. +#define $2 innocuous_$2
  11337. +
  11338. +/* System header to define __stub macros and hopefully few prototypes,
  11339. + which can conflict with char $2 (); below.
  11340. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11341. + <limits.h> exists even on freestanding compilers. */
  11342. +
  11343. +#ifdef __STDC__
  11344. +# include <limits.h>
  11345. +#else
  11346. +# include <assert.h>
  11347. +#endif
  11348. +
  11349. +#undef $2
  11350. +
  11351. +/* Override any GCC internal prototype to avoid an error.
  11352. + Use char because int might match the return type of a GCC
  11353. + builtin and then its argument prototype would still apply. */
  11354. +#ifdef __cplusplus
  11355. +extern "C"
  11356. +#endif
  11357. +char $2 ();
  11358. +/* The GNU C library defines this for functions which it implements
  11359. + to always fail with ENOSYS. Some functions are actually named
  11360. + something starting with __ and the normal name is an alias. */
  11361. +#if defined __stub_$2 || defined __stub___$2
  11362. +choke me
  11363. +#endif
  11364. +
  11365. +int
  11366. +main ()
  11367. +{
  11368. +return $2 ();
  11369. + ;
  11370. + return 0;
  11371. +}
  11372. +_ACEOF
  11373. +if ac_fn_c_try_link "$LINENO"; then :
  11374. + eval "$3=yes"
  11375. +else
  11376. + eval "$3=no"
  11377. +fi
  11378. +rm -f core conftest.err conftest.$ac_objext \
  11379. + conftest$ac_exeext conftest.$ac_ext
  11380. +fi
  11381. +eval ac_res=\$$3
  11382. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11383. +$as_echo "$ac_res" >&6; }
  11384. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  11385. +
  11386. +} # ac_fn_c_check_func
  11387. +
  11388. +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  11389. +# -------------------------------------------------------
  11390. +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  11391. +# the include files in INCLUDES and setting the cache variable VAR
  11392. +# accordingly.
  11393. +ac_fn_c_check_header_mongrel ()
  11394. +{
  11395. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11396. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  11397. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11398. +$as_echo_n "checking for $2... " >&6; }
  11399. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  11400. + $as_echo_n "(cached) " >&6
  11401. +fi
  11402. +eval ac_res=\$$3
  11403. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11404. +$as_echo "$ac_res" >&6; }
  11405. +else
  11406. + # Is the header compilable?
  11407. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  11408. +$as_echo_n "checking $2 usability... " >&6; }
  11409. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11410. +/* end confdefs.h. */
  11411. +$4
  11412. +#include <$2>
  11413. +_ACEOF
  11414. +if ac_fn_c_try_compile "$LINENO"; then :
  11415. + ac_header_compiler=yes
  11416. +else
  11417. + ac_header_compiler=no
  11418. +fi
  11419. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11420. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  11421. +$as_echo "$ac_header_compiler" >&6; }
  11422. +
  11423. +# Is the header present?
  11424. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  11425. +$as_echo_n "checking $2 presence... " >&6; }
  11426. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11427. +/* end confdefs.h. */
  11428. +#include <$2>
  11429. +_ACEOF
  11430. +if ac_fn_c_try_cpp "$LINENO"; then :
  11431. + ac_header_preproc=yes
  11432. +else
  11433. + ac_header_preproc=no
  11434. +fi
  11435. +rm -f conftest.err conftest.$ac_ext
  11436. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  11437. +$as_echo "$ac_header_preproc" >&6; }
  11438. +
  11439. +# So? What about this header?
  11440. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  11441. + yes:no: )
  11442. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  11443. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11444. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11445. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11446. + ;;
  11447. + no:yes:* )
  11448. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  11449. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  11450. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  11451. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  11452. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  11453. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  11454. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  11455. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  11456. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11457. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11458. + ;;
  11459. +esac
  11460. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11461. +$as_echo_n "checking for $2... " >&6; }
  11462. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  11463. + $as_echo_n "(cached) " >&6
  11464. +else
  11465. + eval "$3=\$ac_header_compiler"
  11466. +fi
  11467. +eval ac_res=\$$3
  11468. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11469. +$as_echo "$ac_res" >&6; }
  11470. +fi
  11471. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  11472. +
  11473. +} # ac_fn_c_check_header_mongrel
  11474. +cat >config.log <<_ACEOF
  11475. +This file contains any messages produced by compilers while
  11476. +running configure, to aid debugging if configure makes a mistake.
  11477. +
  11478. +It was created by $as_me, which was
  11479. +generated by GNU Autoconf 2.65. Invocation command line was
  11480. +
  11481. + $ $0 $@
  11482. +
  11483. +_ACEOF
  11484. +exec 5>>config.log
  11485. +{
  11486. +cat <<_ASUNAME
  11487. +## --------- ##
  11488. +## Platform. ##
  11489. +## --------- ##
  11490. +
  11491. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  11492. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  11493. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  11494. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  11495. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  11496. +
  11497. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  11498. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  11499. +
  11500. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  11501. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  11502. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  11503. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  11504. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  11505. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  11506. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  11507. +
  11508. +_ASUNAME
  11509. +
  11510. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11511. for as_dir in $PATH
  11512. do
  11513. IFS=$as_save_IFS
  11514. test -z "$as_dir" && as_dir=.
  11515. - echo "PATH: $as_dir"
  11516. -done
  11517. + $as_echo "PATH: $as_dir"
  11518. + done
  11519. IFS=$as_save_IFS
  11520. } >&5
  11521. @@ -1765,12 +2187,12 @@
  11522. | -silent | --silent | --silen | --sile | --sil)
  11523. continue ;;
  11524. *\'*)
  11525. - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11526. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11527. esac
  11528. case $ac_pass in
  11529. - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  11530. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  11531. 2)
  11532. - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  11533. + as_fn_append ac_configure_args1 " '$ac_arg'"
  11534. if test $ac_must_keep_next = true; then
  11535. ac_must_keep_next=false # Got value, back to normal.
  11536. else
  11537. @@ -1786,13 +2208,13 @@
  11538. -* ) ac_must_keep_next=true ;;
  11539. esac
  11540. fi
  11541. - ac_configure_args="$ac_configure_args '$ac_arg'"
  11542. + as_fn_append ac_configure_args " '$ac_arg'"
  11543. ;;
  11544. esac
  11545. done
  11546. done
  11547. -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  11548. -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  11549. +{ ac_configure_args0=; unset ac_configure_args0;}
  11550. +{ ac_configure_args1=; unset ac_configure_args1;}
  11551. # When interrupted or exit'd, cleanup temporary files, and complete
  11552. # config.log. We remove comments because anyway the quotes in there
  11553. @@ -1817,12 +2239,13 @@
  11554. case $ac_val in #(
  11555. *${as_nl}*)
  11556. case $ac_var in #(
  11557. - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  11558. -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  11559. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11560. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11561. esac
  11562. case $ac_var in #(
  11563. _ | IFS | as_nl) ;; #(
  11564. - *) $as_unset $ac_var ;;
  11565. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11566. + *) { eval $ac_var=; unset $ac_var;} ;;
  11567. esac ;;
  11568. esac
  11569. done
  11570. @@ -1851,9 +2274,9 @@
  11571. do
  11572. eval ac_val=\$$ac_var
  11573. case $ac_val in
  11574. - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11575. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11576. esac
  11577. - echo "$ac_var='\''$ac_val'\''"
  11578. + $as_echo "$ac_var='\''$ac_val'\''"
  11579. done | sort
  11580. echo
  11581. @@ -1868,9 +2291,9 @@
  11582. do
  11583. eval ac_val=\$$ac_var
  11584. case $ac_val in
  11585. - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11586. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11587. esac
  11588. - echo "$ac_var='\''$ac_val'\''"
  11589. + $as_echo "$ac_var='\''$ac_val'\''"
  11590. done | sort
  11591. echo
  11592. fi
  11593. @@ -1886,83 +2309,88 @@
  11594. echo
  11595. fi
  11596. test "$ac_signal" != 0 &&
  11597. - echo "$as_me: caught signal $ac_signal"
  11598. - echo "$as_me: exit $exit_status"
  11599. + $as_echo "$as_me: caught signal $ac_signal"
  11600. + $as_echo "$as_me: exit $exit_status"
  11601. } >&5
  11602. rm -f core *.core core.conftest.* &&
  11603. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  11604. exit $exit_status
  11605. ' 0
  11606. for ac_signal in 1 2 13 15; do
  11607. - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  11608. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  11609. done
  11610. ac_signal=0
  11611. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  11612. rm -f -r conftest* confdefs.h
  11613. +$as_echo "/* confdefs.h */" > confdefs.h
  11614. +
  11615. # Predefined preprocessor variables.
  11616. cat >>confdefs.h <<_ACEOF
  11617. #define PACKAGE_NAME "$PACKAGE_NAME"
  11618. _ACEOF
  11619. -
  11620. cat >>confdefs.h <<_ACEOF
  11621. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  11622. _ACEOF
  11623. -
  11624. cat >>confdefs.h <<_ACEOF
  11625. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  11626. _ACEOF
  11627. -
  11628. cat >>confdefs.h <<_ACEOF
  11629. #define PACKAGE_STRING "$PACKAGE_STRING"
  11630. _ACEOF
  11631. -
  11632. cat >>confdefs.h <<_ACEOF
  11633. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  11634. _ACEOF
  11635. +cat >>confdefs.h <<_ACEOF
  11636. +#define PACKAGE_URL "$PACKAGE_URL"
  11637. +_ACEOF
  11638. +
  11639. # Let the site file select an alternate cache file if it wants to.
  11640. -# Prefer explicitly selected file to automatically selected ones.
  11641. +# Prefer an explicitly selected file to automatically selected ones.
  11642. +ac_site_file1=NONE
  11643. +ac_site_file2=NONE
  11644. if test -n "$CONFIG_SITE"; then
  11645. - set x "$CONFIG_SITE"
  11646. + ac_site_file1=$CONFIG_SITE
  11647. elif test "x$prefix" != xNONE; then
  11648. - set x "$prefix/share/config.site" "$prefix/etc/config.site"
  11649. + ac_site_file1=$prefix/share/config.site
  11650. + ac_site_file2=$prefix/etc/config.site
  11651. else
  11652. - set x "$ac_default_prefix/share/config.site" \
  11653. - "$ac_default_prefix/etc/config.site"
  11654. + ac_site_file1=$ac_default_prefix/share/config.site
  11655. + ac_site_file2=$ac_default_prefix/etc/config.site
  11656. fi
  11657. -shift
  11658. -for ac_site_file
  11659. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  11660. do
  11661. - if test -r "$ac_site_file"; then
  11662. - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  11663. -echo "$as_me: loading site script $ac_site_file" >&6;}
  11664. + test "x$ac_site_file" = xNONE && continue
  11665. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  11666. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  11667. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  11668. sed 's/^/| /' "$ac_site_file" >&5
  11669. . "$ac_site_file"
  11670. fi
  11671. done
  11672. if test -r "$cache_file"; then
  11673. - # Some versions of bash will fail to source /dev/null (special
  11674. - # files actually), so we avoid doing that.
  11675. - if test -f "$cache_file"; then
  11676. - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  11677. -echo "$as_me: loading cache $cache_file" >&6;}
  11678. + # Some versions of bash will fail to source /dev/null (special files
  11679. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  11680. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  11681. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  11682. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  11683. case $cache_file in
  11684. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  11685. *) . "./$cache_file";;
  11686. esac
  11687. fi
  11688. else
  11689. - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  11690. -echo "$as_me: creating cache $cache_file" >&6;}
  11691. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  11692. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  11693. >$cache_file
  11694. fi
  11695. @@ -1976,60 +2404,56 @@
  11696. eval ac_new_val=\$ac_env_${ac_var}_value
  11697. case $ac_old_set,$ac_new_set in
  11698. set,)
  11699. - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  11700. -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  11701. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  11702. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  11703. ac_cache_corrupted=: ;;
  11704. ,set)
  11705. - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  11706. -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  11707. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  11708. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  11709. ac_cache_corrupted=: ;;
  11710. ,);;
  11711. *)
  11712. if test "x$ac_old_val" != "x$ac_new_val"; then
  11713. - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  11714. -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  11715. - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  11716. -echo "$as_me: former value: $ac_old_val" >&2;}
  11717. - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  11718. -echo "$as_me: current value: $ac_new_val" >&2;}
  11719. - ac_cache_corrupted=:
  11720. + # differences in whitespace do not lead to failure.
  11721. + ac_old_val_w=`echo x $ac_old_val`
  11722. + ac_new_val_w=`echo x $ac_new_val`
  11723. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  11724. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  11725. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  11726. + ac_cache_corrupted=:
  11727. + else
  11728. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  11729. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  11730. + eval $ac_var=\$ac_old_val
  11731. + fi
  11732. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  11733. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  11734. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  11735. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  11736. fi;;
  11737. esac
  11738. # Pass precious variables to config.status.
  11739. if test "$ac_new_set" = set; then
  11740. case $ac_new_val in
  11741. - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  11742. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  11743. *) ac_arg=$ac_var=$ac_new_val ;;
  11744. esac
  11745. case " $ac_configure_args " in
  11746. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  11747. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  11748. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  11749. esac
  11750. fi
  11751. done
  11752. if $ac_cache_corrupted; then
  11753. - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  11754. -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  11755. - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  11756. -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  11757. - { (exit 1); exit 1; }; }
  11758. -fi
  11759. -
  11760. -
  11761. -
  11762. -
  11763. -
  11764. -
  11765. -
  11766. -
  11767. -
  11768. -
  11769. -
  11770. -
  11771. -
  11772. -
  11773. -
  11774. -
  11775. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11776. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11777. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  11778. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  11779. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  11780. +fi
  11781. +## -------------------- ##
  11782. +## Main body of script. ##
  11783. +## -------------------- ##
  11784. ac_ext=c
  11785. ac_cpp='$CPP $CPPFLAGS'
  11786. @@ -2039,36 +2463,20 @@
  11787. -case m4 in
  11788. - [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
  11789. - *) ac_macro_dir=$srcdir/m4 ;;
  11790. -esac
  11791. -test -d "$ac_macro_dir" ||
  11792. - { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
  11793. -echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
  11794. - { (exit 1); exit 1; }; }
  11795. ac_aux_dir=
  11796. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  11797. - if test -f "$ac_dir/install-sh"; then
  11798. - ac_aux_dir=$ac_dir
  11799. - ac_install_sh="$ac_aux_dir/install-sh -c"
  11800. - break
  11801. - elif test -f "$ac_dir/install.sh"; then
  11802. - ac_aux_dir=$ac_dir
  11803. - ac_install_sh="$ac_aux_dir/install.sh -c"
  11804. - break
  11805. - elif test -f "$ac_dir/shtool"; then
  11806. - ac_aux_dir=$ac_dir
  11807. - ac_install_sh="$ac_aux_dir/shtool install -c"
  11808. - break
  11809. - fi
  11810. + for ac_t in install-sh install.sh shtool; do
  11811. + if test -f "$ac_dir/$ac_t"; then
  11812. + ac_aux_dir=$ac_dir
  11813. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  11814. + break 2
  11815. + fi
  11816. + done
  11817. done
  11818. if test -z "$ac_aux_dir"; then
  11819. - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  11820. -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  11821. - { (exit 1); exit 1; }; }
  11822. + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  11823. fi
  11824. # These three variables are undocumented and unsupported,
  11825. @@ -2082,35 +2490,27 @@
  11826. # Make sure we can run config.sub.
  11827. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  11828. - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  11829. -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  11830. - { (exit 1); exit 1; }; }
  11831. -
  11832. -{ echo "$as_me:$LINENO: checking build system type" >&5
  11833. -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  11834. -if test "${ac_cv_build+set}" = set; then
  11835. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11836. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  11837. +
  11838. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  11839. +$as_echo_n "checking build system type... " >&6; }
  11840. +if test "${ac_cv_build+set}" = set; then :
  11841. + $as_echo_n "(cached) " >&6
  11842. else
  11843. ac_build_alias=$build_alias
  11844. test "x$ac_build_alias" = x &&
  11845. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  11846. test "x$ac_build_alias" = x &&
  11847. - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  11848. -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  11849. - { (exit 1); exit 1; }; }
  11850. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  11851. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  11852. - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  11853. -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  11854. - { (exit 1); exit 1; }; }
  11855. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  11856. fi
  11857. -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  11858. -echo "${ECHO_T}$ac_cv_build" >&6; }
  11859. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  11860. +$as_echo "$ac_cv_build" >&6; }
  11861. case $ac_cv_build in
  11862. *-*-*) ;;
  11863. -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  11864. -echo "$as_me: error: invalid value of canonical build" >&2;}
  11865. - { (exit 1); exit 1; }; };;
  11866. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  11867. esac
  11868. build=$ac_cv_build
  11869. ac_save_IFS=$IFS; IFS='-'
  11870. @@ -2126,28 +2526,24 @@
  11871. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  11872. -{ echo "$as_me:$LINENO: checking host system type" >&5
  11873. -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  11874. -if test "${ac_cv_host+set}" = set; then
  11875. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11876. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  11877. +$as_echo_n "checking host system type... " >&6; }
  11878. +if test "${ac_cv_host+set}" = set; then :
  11879. + $as_echo_n "(cached) " >&6
  11880. else
  11881. if test "x$host_alias" = x; then
  11882. ac_cv_host=$ac_cv_build
  11883. else
  11884. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  11885. - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  11886. -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  11887. - { (exit 1); exit 1; }; }
  11888. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  11889. fi
  11890. fi
  11891. -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  11892. -echo "${ECHO_T}$ac_cv_host" >&6; }
  11893. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  11894. +$as_echo "$ac_cv_host" >&6; }
  11895. case $ac_cv_host in
  11896. *-*-*) ;;
  11897. -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  11898. -echo "$as_me: error: invalid value of canonical host" >&2;}
  11899. - { (exit 1); exit 1; }; };;
  11900. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  11901. esac
  11902. host=$ac_cv_host
  11903. ac_save_IFS=$IFS; IFS='-'
  11904. @@ -2163,7 +2559,8 @@
  11905. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  11906. -am__api_version="1.9"
  11907. +am__api_version='1.11'
  11908. +
  11909. # Find a good install program. We prefer a C program (faster),
  11910. # so one script is as good as another. But avoid the broken or
  11911. # incompatible versions:
  11912. @@ -2177,22 +2574,23 @@
  11913. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  11914. # OS/2's system install, which has a completely different semantic
  11915. # ./install, which can be erroneously created by make from ./install.sh.
  11916. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  11917. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  11918. +# Reject install programs that cannot install multiple files.
  11919. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  11920. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  11921. if test -z "$INSTALL"; then
  11922. -if test "${ac_cv_path_install+set}" = set; then
  11923. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11924. +if test "${ac_cv_path_install+set}" = set; then :
  11925. + $as_echo_n "(cached) " >&6
  11926. else
  11927. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11928. for as_dir in $PATH
  11929. do
  11930. IFS=$as_save_IFS
  11931. test -z "$as_dir" && as_dir=.
  11932. - # Account for people who put trailing slashes in PATH elements.
  11933. -case $as_dir/ in
  11934. - ./ | .// | /cC/* | \
  11935. + # Account for people who put trailing slashes in PATH elements.
  11936. +case $as_dir/ in #((
  11937. + ./ | .// | /[cC]/* | \
  11938. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  11939. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  11940. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  11941. /usr/ucb/* ) ;;
  11942. *)
  11943. # OSF1 and SCO ODT 3.0 have their own names for install.
  11944. @@ -2200,7 +2598,7 @@
  11945. # by default.
  11946. for ac_prog in ginstall scoinst install; do
  11947. for ac_exec_ext in '' $ac_executable_extensions; do
  11948. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
  11949. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  11950. if test $ac_prog = install &&
  11951. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  11952. # AIX install. It has an incompatible calling convention.
  11953. @@ -2210,17 +2608,29 @@
  11954. # program-specific install script used by HP pwplus--don't use.
  11955. :
  11956. else
  11957. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  11958. - break 3
  11959. + rm -rf conftest.one conftest.two conftest.dir
  11960. + echo one > conftest.one
  11961. + echo two > conftest.two
  11962. + mkdir conftest.dir
  11963. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  11964. + test -s conftest.one && test -s conftest.two &&
  11965. + test -s conftest.dir/conftest.one &&
  11966. + test -s conftest.dir/conftest.two
  11967. + then
  11968. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  11969. + break 3
  11970. + fi
  11971. fi
  11972. fi
  11973. done
  11974. done
  11975. ;;
  11976. esac
  11977. -done
  11978. +
  11979. + done
  11980. IFS=$as_save_IFS
  11981. +rm -rf conftest.one conftest.two conftest.dir
  11982. fi
  11983. if test "${ac_cv_path_install+set}" = set; then
  11984. @@ -2233,8 +2643,8 @@
  11985. INSTALL=$ac_install_sh
  11986. fi
  11987. fi
  11988. -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  11989. -echo "${ECHO_T}$INSTALL" >&6; }
  11990. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  11991. +$as_echo "$INSTALL" >&6; }
  11992. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  11993. # It thinks the first close brace ends the variable substitution.
  11994. @@ -2244,21 +2654,34 @@
  11995. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  11996. -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  11997. -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  11998. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  11999. +$as_echo_n "checking whether build environment is sane... " >&6; }
  12000. # Just in case
  12001. sleep 1
  12002. echo timestamp > conftest.file
  12003. +# Reject unsafe characters in $srcdir or the absolute working directory
  12004. +# name. Accept space and tab only in the latter.
  12005. +am_lf='
  12006. +'
  12007. +case `pwd` in
  12008. + *[\\\"\#\$\&\'\`$am_lf]*)
  12009. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  12010. +esac
  12011. +case $srcdir in
  12012. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  12013. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  12014. +esac
  12015. +
  12016. # Do `set' in a subshell so we don't clobber the current shell's
  12017. # arguments. Must try -L first in case configure is actually a
  12018. # symlink; some systems play weird games with the mod time of symlinks
  12019. # (eg FreeBSD returns the mod time of the symlink's containing
  12020. # directory).
  12021. if (
  12022. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  12023. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  12024. if test "$*" = "X"; then
  12025. # -L didn't work.
  12026. - set X `ls -t $srcdir/configure conftest.file`
  12027. + set X `ls -t "$srcdir/configure" conftest.file`
  12028. fi
  12029. rm -f conftest.file
  12030. if test "$*" != "X $srcdir/configure conftest.file" \
  12031. @@ -2268,11 +2691,8 @@
  12032. # if, for instance, CONFIG_SHELL is bash and it inherits a
  12033. # broken ls alias from the environment. This has actually
  12034. # happened. Such a system could not be considered "sane".
  12035. - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  12036. -alias in your environment" >&5
  12037. -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  12038. -alias in your environment" >&2;}
  12039. - { (exit 1); exit 1; }; }
  12040. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  12041. +alias in your environment" "$LINENO" 5
  12042. fi
  12043. test "$2" = conftest.file
  12044. @@ -2281,145 +2701,271 @@
  12045. # Ok.
  12046. :
  12047. else
  12048. - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  12049. -Check your system clock" >&5
  12050. -echo "$as_me: error: newly created file is older than distributed files!
  12051. -Check your system clock" >&2;}
  12052. - { (exit 1); exit 1; }; }
  12053. + as_fn_error "newly created file is older than distributed files!
  12054. +Check your system clock" "$LINENO" 5
  12055. fi
  12056. -{ echo "$as_me:$LINENO: result: yes" >&5
  12057. -echo "${ECHO_T}yes" >&6; }
  12058. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12059. +$as_echo "yes" >&6; }
  12060. test "$program_prefix" != NONE &&
  12061. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  12062. # Use a double $ so make ignores it.
  12063. test "$program_suffix" != NONE &&
  12064. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  12065. -# Double any \ or $. echo might interpret backslashes.
  12066. +# Double any \ or $.
  12067. # By default was `s,x,x', remove it if useless.
  12068. -cat <<\_ACEOF >conftest.sed
  12069. -s/[\\$]/&&/g;s/;s,x,x,$//
  12070. -_ACEOF
  12071. -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  12072. -rm -f conftest.sed
  12073. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  12074. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  12075. # expand $ac_aux_dir to an absolute path
  12076. am_aux_dir=`cd $ac_aux_dir && pwd`
  12077. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  12078. +if test x"${MISSING+set}" != xset; then
  12079. + case $am_aux_dir in
  12080. + *\ * | *\ *)
  12081. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  12082. + *)
  12083. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  12084. + esac
  12085. +fi
  12086. # Use eval to expand $SHELL
  12087. if eval "$MISSING --run true"; then
  12088. am_missing_run="$MISSING --run "
  12089. else
  12090. am_missing_run=
  12091. - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  12092. -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  12093. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  12094. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  12095. fi
  12096. -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  12097. - # We used to keeping the `.' as first argument, in order to
  12098. - # allow $(mkdir_p) to be used without argument. As in
  12099. - # $(mkdir_p) $(somedir)
  12100. - # where $(somedir) is conditionally defined. However this is wrong
  12101. - # for two reasons:
  12102. - # 1. if the package is installed by a user who cannot write `.'
  12103. - # make install will fail,
  12104. - # 2. the above comment should most certainly read
  12105. - # $(mkdir_p) $(DESTDIR)$(somedir)
  12106. - # so it does not work when $(somedir) is undefined and
  12107. - # $(DESTDIR) is not.
  12108. - # To support the latter case, we have to write
  12109. - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  12110. - # so the `.' trick is pointless.
  12111. - mkdir_p='mkdir -p --'
  12112. -else
  12113. - # On NextStep and OpenStep, the `mkdir' command does not
  12114. - # recognize any option. It will interpret all options as
  12115. - # directories to create, and then abort because `.' already
  12116. - # exists.
  12117. - for d in ./-p ./--version;
  12118. - do
  12119. - test -d $d && rmdir $d
  12120. - done
  12121. - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  12122. - if test -f "$ac_aux_dir/mkinstalldirs"; then
  12123. - mkdir_p='$(mkinstalldirs)'
  12124. - else
  12125. - mkdir_p='$(install_sh) -d'
  12126. - fi
  12127. +if test x"${install_sh}" != xset; then
  12128. + case $am_aux_dir in
  12129. + *\ * | *\ *)
  12130. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  12131. + *)
  12132. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  12133. + esac
  12134. fi
  12135. -for ac_prog in gawk mawk nawk awk
  12136. -do
  12137. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  12138. -set dummy $ac_prog; ac_word=$2
  12139. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12140. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12141. -if test "${ac_cv_prog_AWK+set}" = set; then
  12142. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12143. +# Installed binaries are usually stripped using `strip' when the user
  12144. +# run `make install-strip'. However `strip' might not be the right
  12145. +# tool to use in cross-compilation environments, therefore Automake
  12146. +# will honor the `STRIP' environment variable to overrule this program.
  12147. +if test "$cross_compiling" != no; then
  12148. + if test -n "$ac_tool_prefix"; then
  12149. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  12150. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  12151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12152. +$as_echo_n "checking for $ac_word... " >&6; }
  12153. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  12154. + $as_echo_n "(cached) " >&6
  12155. else
  12156. - if test -n "$AWK"; then
  12157. - ac_cv_prog_AWK="$AWK" # Let the user override the test.
  12158. + if test -n "$STRIP"; then
  12159. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  12160. else
  12161. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12162. for as_dir in $PATH
  12163. do
  12164. IFS=$as_save_IFS
  12165. test -z "$as_dir" && as_dir=.
  12166. - for ac_exec_ext in '' $ac_executable_extensions; do
  12167. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12168. - ac_cv_prog_AWK="$ac_prog"
  12169. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12170. + for ac_exec_ext in '' $ac_executable_extensions; do
  12171. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12172. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  12173. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12174. break 2
  12175. fi
  12176. done
  12177. -done
  12178. + done
  12179. IFS=$as_save_IFS
  12180. fi
  12181. fi
  12182. -AWK=$ac_cv_prog_AWK
  12183. -if test -n "$AWK"; then
  12184. - { echo "$as_me:$LINENO: result: $AWK" >&5
  12185. -echo "${ECHO_T}$AWK" >&6; }
  12186. +STRIP=$ac_cv_prog_STRIP
  12187. +if test -n "$STRIP"; then
  12188. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  12189. +$as_echo "$STRIP" >&6; }
  12190. else
  12191. - { echo "$as_me:$LINENO: result: no" >&5
  12192. -echo "${ECHO_T}no" >&6; }
  12193. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12194. +$as_echo "no" >&6; }
  12195. fi
  12196. - test -n "$AWK" && break
  12197. +fi
  12198. +if test -z "$ac_cv_prog_STRIP"; then
  12199. + ac_ct_STRIP=$STRIP
  12200. + # Extract the first word of "strip", so it can be a program name with args.
  12201. +set dummy strip; ac_word=$2
  12202. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12203. +$as_echo_n "checking for $ac_word... " >&6; }
  12204. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  12205. + $as_echo_n "(cached) " >&6
  12206. +else
  12207. + if test -n "$ac_ct_STRIP"; then
  12208. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  12209. +else
  12210. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12211. +for as_dir in $PATH
  12212. +do
  12213. + IFS=$as_save_IFS
  12214. + test -z "$as_dir" && as_dir=.
  12215. + for ac_exec_ext in '' $ac_executable_extensions; do
  12216. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12217. + ac_cv_prog_ac_ct_STRIP="strip"
  12218. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12219. + break 2
  12220. + fi
  12221. done
  12222. + done
  12223. +IFS=$as_save_IFS
  12224. -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12225. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  12226. -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  12227. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  12228. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12229. -else
  12230. - cat >conftest.make <<\_ACEOF
  12231. -SHELL = /bin/sh
  12232. -all:
  12233. - @echo '@@@%%%=$(MAKE)=@@@%%%'
  12234. -_ACEOF
  12235. -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  12236. -case `${MAKE-make} -f conftest.make 2>/dev/null` in
  12237. - *@@@%%%=?*=@@@%%%*)
  12238. - eval ac_cv_prog_make_${ac_make}_set=yes;;
  12239. - *)
  12240. - eval ac_cv_prog_make_${ac_make}_set=no;;
  12241. -esac
  12242. -rm -f conftest.make
  12243. fi
  12244. -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  12245. - { echo "$as_me:$LINENO: result: yes" >&5
  12246. -echo "${ECHO_T}yes" >&6; }
  12247. - SET_MAKE=
  12248. -else
  12249. - { echo "$as_me:$LINENO: result: no" >&5
  12250. -echo "${ECHO_T}no" >&6; }
  12251. - SET_MAKE="MAKE=${MAKE-make}"
  12252. fi
  12253. -
  12254. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  12255. +if test -n "$ac_ct_STRIP"; then
  12256. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  12257. +$as_echo "$ac_ct_STRIP" >&6; }
  12258. +else
  12259. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12260. +$as_echo "no" >&6; }
  12261. +fi
  12262. +
  12263. + if test "x$ac_ct_STRIP" = x; then
  12264. + STRIP=":"
  12265. + else
  12266. + case $cross_compiling:$ac_tool_warned in
  12267. +yes:)
  12268. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12269. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12270. +ac_tool_warned=yes ;;
  12271. +esac
  12272. + STRIP=$ac_ct_STRIP
  12273. + fi
  12274. +else
  12275. + STRIP="$ac_cv_prog_STRIP"
  12276. +fi
  12277. +
  12278. +fi
  12279. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  12280. +
  12281. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  12282. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  12283. +if test -z "$MKDIR_P"; then
  12284. + if test "${ac_cv_path_mkdir+set}" = set; then :
  12285. + $as_echo_n "(cached) " >&6
  12286. +else
  12287. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12288. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  12289. +do
  12290. + IFS=$as_save_IFS
  12291. + test -z "$as_dir" && as_dir=.
  12292. + for ac_prog in mkdir gmkdir; do
  12293. + for ac_exec_ext in '' $ac_executable_extensions; do
  12294. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  12295. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  12296. + 'mkdir (GNU coreutils) '* | \
  12297. + 'mkdir (coreutils) '* | \
  12298. + 'mkdir (fileutils) '4.1*)
  12299. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  12300. + break 3;;
  12301. + esac
  12302. + done
  12303. + done
  12304. + done
  12305. +IFS=$as_save_IFS
  12306. +
  12307. +fi
  12308. +
  12309. + test -d ./--version && rmdir ./--version
  12310. + if test "${ac_cv_path_mkdir+set}" = set; then
  12311. + MKDIR_P="$ac_cv_path_mkdir -p"
  12312. + else
  12313. + # As a last resort, use the slow shell script. Don't cache a
  12314. + # value for MKDIR_P within a source directory, because that will
  12315. + # break other packages using the cache if that directory is
  12316. + # removed, or if the value is a relative name.
  12317. + MKDIR_P="$ac_install_sh -d"
  12318. + fi
  12319. +fi
  12320. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  12321. +$as_echo "$MKDIR_P" >&6; }
  12322. +
  12323. +mkdir_p="$MKDIR_P"
  12324. +case $mkdir_p in
  12325. + [\\/$]* | ?:[\\/]*) ;;
  12326. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  12327. +esac
  12328. +
  12329. +for ac_prog in gawk mawk nawk awk
  12330. +do
  12331. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  12332. +set dummy $ac_prog; ac_word=$2
  12333. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12334. +$as_echo_n "checking for $ac_word... " >&6; }
  12335. +if test "${ac_cv_prog_AWK+set}" = set; then :
  12336. + $as_echo_n "(cached) " >&6
  12337. +else
  12338. + if test -n "$AWK"; then
  12339. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  12340. +else
  12341. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12342. +for as_dir in $PATH
  12343. +do
  12344. + IFS=$as_save_IFS
  12345. + test -z "$as_dir" && as_dir=.
  12346. + for ac_exec_ext in '' $ac_executable_extensions; do
  12347. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12348. + ac_cv_prog_AWK="$ac_prog"
  12349. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12350. + break 2
  12351. + fi
  12352. +done
  12353. + done
  12354. +IFS=$as_save_IFS
  12355. +
  12356. +fi
  12357. +fi
  12358. +AWK=$ac_cv_prog_AWK
  12359. +if test -n "$AWK"; then
  12360. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  12361. +$as_echo "$AWK" >&6; }
  12362. +else
  12363. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12364. +$as_echo "no" >&6; }
  12365. +fi
  12366. +
  12367. +
  12368. + test -n "$AWK" && break
  12369. +done
  12370. +
  12371. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12372. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  12373. +set x ${MAKE-make}
  12374. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  12375. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  12376. + $as_echo_n "(cached) " >&6
  12377. +else
  12378. + cat >conftest.make <<\_ACEOF
  12379. +SHELL = /bin/sh
  12380. +all:
  12381. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  12382. +_ACEOF
  12383. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  12384. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  12385. + *@@@%%%=?*=@@@%%%*)
  12386. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  12387. + *)
  12388. + eval ac_cv_prog_make_${ac_make}_set=no;;
  12389. +esac
  12390. +rm -f conftest.make
  12391. +fi
  12392. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  12393. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12394. +$as_echo "yes" >&6; }
  12395. + SET_MAKE=
  12396. +else
  12397. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12398. +$as_echo "no" >&6; }
  12399. + SET_MAKE="MAKE=${MAKE-make}"
  12400. +fi
  12401. +
  12402. rm -rf .tst 2>/dev/null
  12403. mkdir .tst 2>/dev/null
  12404. if test -d .tst; then
  12405. @@ -2429,12 +2975,14 @@
  12406. fi
  12407. rmdir .tst 2>/dev/null
  12408. -# test to see if srcdir already configured
  12409. -if test "`cd $srcdir && pwd`" != "`pwd`" &&
  12410. - test -f $srcdir/config.status; then
  12411. - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  12412. -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  12413. - { (exit 1); exit 1; }; }
  12414. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  12415. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  12416. + # is not polluted with repeated "-I."
  12417. + am__isrc=' -I$(srcdir)'
  12418. + # test to see if srcdir already configured
  12419. + if test -f $srcdir/config.status; then
  12420. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  12421. + fi
  12422. fi
  12423. # test whether we have cygpath
  12424. @@ -2477,112 +3025,6 @@
  12425. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  12426. -install_sh=${install_sh-"$am_aux_dir/install-sh"}
  12427. -
  12428. -# Installed binaries are usually stripped using `strip' when the user
  12429. -# run `make install-strip'. However `strip' might not be the right
  12430. -# tool to use in cross-compilation environments, therefore Automake
  12431. -# will honor the `STRIP' environment variable to overrule this program.
  12432. -if test "$cross_compiling" != no; then
  12433. - if test -n "$ac_tool_prefix"; then
  12434. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  12435. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  12436. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12437. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12438. -if test "${ac_cv_prog_STRIP+set}" = set; then
  12439. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12440. -else
  12441. - if test -n "$STRIP"; then
  12442. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  12443. -else
  12444. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12445. -for as_dir in $PATH
  12446. -do
  12447. - IFS=$as_save_IFS
  12448. - test -z "$as_dir" && as_dir=.
  12449. - for ac_exec_ext in '' $ac_executable_extensions; do
  12450. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12451. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  12452. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12453. - break 2
  12454. - fi
  12455. -done
  12456. -done
  12457. -IFS=$as_save_IFS
  12458. -
  12459. -fi
  12460. -fi
  12461. -STRIP=$ac_cv_prog_STRIP
  12462. -if test -n "$STRIP"; then
  12463. - { echo "$as_me:$LINENO: result: $STRIP" >&5
  12464. -echo "${ECHO_T}$STRIP" >&6; }
  12465. -else
  12466. - { echo "$as_me:$LINENO: result: no" >&5
  12467. -echo "${ECHO_T}no" >&6; }
  12468. -fi
  12469. -
  12470. -
  12471. -fi
  12472. -if test -z "$ac_cv_prog_STRIP"; then
  12473. - ac_ct_STRIP=$STRIP
  12474. - # Extract the first word of "strip", so it can be a program name with args.
  12475. -set dummy strip; ac_word=$2
  12476. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12477. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12478. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  12479. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12480. -else
  12481. - if test -n "$ac_ct_STRIP"; then
  12482. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  12483. -else
  12484. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12485. -for as_dir in $PATH
  12486. -do
  12487. - IFS=$as_save_IFS
  12488. - test -z "$as_dir" && as_dir=.
  12489. - for ac_exec_ext in '' $ac_executable_extensions; do
  12490. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12491. - ac_cv_prog_ac_ct_STRIP="strip"
  12492. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12493. - break 2
  12494. - fi
  12495. -done
  12496. -done
  12497. -IFS=$as_save_IFS
  12498. -
  12499. -fi
  12500. -fi
  12501. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  12502. -if test -n "$ac_ct_STRIP"; then
  12503. - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  12504. -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  12505. -else
  12506. - { echo "$as_me:$LINENO: result: no" >&5
  12507. -echo "${ECHO_T}no" >&6; }
  12508. -fi
  12509. -
  12510. - if test "x$ac_ct_STRIP" = x; then
  12511. - STRIP=":"
  12512. - else
  12513. - case $cross_compiling:$ac_tool_warned in
  12514. -yes:)
  12515. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  12516. -whose name does not start with the host triplet. If you think this
  12517. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  12518. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  12519. -whose name does not start with the host triplet. If you think this
  12520. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  12521. -ac_tool_warned=yes ;;
  12522. -esac
  12523. - STRIP=$ac_ct_STRIP
  12524. - fi
  12525. -else
  12526. - STRIP="$ac_cv_prog_STRIP"
  12527. -fi
  12528. -
  12529. -fi
  12530. -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  12531. -
  12532. # We need awk for the "check" target. The system "awk" is bad on
  12533. # some platforms.
  12534. # Always define AMTAR for backward compatibility.
  12535. @@ -2596,9 +3038,7 @@
  12536. eval LIBTOOL_VERSION_INFO="2:0:0"
  12537. -
  12538. -
  12539. -if test -n "${ACLOCAL}"; then
  12540. + if test -n "${ACLOCAL}"; then
  12541. INSTALL_M4_TRUE=
  12542. INSTALL_M4_FALSE='#'
  12543. else
  12544. @@ -2608,6 +3048,17 @@
  12545. # Test for new silent rules and enable only if they are available
  12546. +# Check whether --enable-silent-rules was given.
  12547. +if test "${enable_silent_rules+set}" = set; then :
  12548. + enableval=$enable_silent_rules;
  12549. +fi
  12550. +
  12551. +case $enable_silent_rules in
  12552. +yes) AM_DEFAULT_VERBOSITY=0;;
  12553. +no) AM_DEFAULT_VERBOSITY=1;;
  12554. +*) AM_DEFAULT_VERBOSITY=0;;
  12555. +esac
  12556. +AM_BACKSLASH='\'
  12557. @@ -2615,8 +3066,8 @@
  12558. if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
  12559. then
  12560. - { echo "$as_me:$LINENO: checking for cross-compiler" >&5
  12561. -echo $ECHO_N "checking for cross-compiler... $ECHO_C" >&6; }
  12562. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cross-compiler" >&5
  12563. +$as_echo_n "checking for cross-compiler... " >&6; }
  12564. which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
  12565. which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
  12566. @@ -2624,8 +3075,8 @@
  12567. which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
  12568. && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
  12569. - { echo "$as_me:$LINENO: result: $CC" >&5
  12570. -echo "${ECHO_T}$CC" >&6; }
  12571. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12572. +$as_echo "$CC" >&6; }
  12573. fi
  12574. CFLAGS="$CFLAGS -D_GNU_SOURCE"
  12575. @@ -2639,10 +3090,10 @@
  12576. if test -n "$ac_tool_prefix"; then
  12577. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  12578. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  12579. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12580. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12581. -if test "${ac_cv_prog_CC+set}" = set; then
  12582. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12583. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12584. +$as_echo_n "checking for $ac_word... " >&6; }
  12585. +if test "${ac_cv_prog_CC+set}" = set; then :
  12586. + $as_echo_n "(cached) " >&6
  12587. else
  12588. if test -n "$CC"; then
  12589. ac_cv_prog_CC="$CC" # Let the user override the test.
  12590. @@ -2652,25 +3103,25 @@
  12591. do
  12592. IFS=$as_save_IFS
  12593. test -z "$as_dir" && as_dir=.
  12594. - for ac_exec_ext in '' $ac_executable_extensions; do
  12595. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12596. + for ac_exec_ext in '' $ac_executable_extensions; do
  12597. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12598. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  12599. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12600. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12601. break 2
  12602. fi
  12603. done
  12604. -done
  12605. + done
  12606. IFS=$as_save_IFS
  12607. fi
  12608. fi
  12609. CC=$ac_cv_prog_CC
  12610. if test -n "$CC"; then
  12611. - { echo "$as_me:$LINENO: result: $CC" >&5
  12612. -echo "${ECHO_T}$CC" >&6; }
  12613. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12614. +$as_echo "$CC" >&6; }
  12615. else
  12616. - { echo "$as_me:$LINENO: result: no" >&5
  12617. -echo "${ECHO_T}no" >&6; }
  12618. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12619. +$as_echo "no" >&6; }
  12620. fi
  12621. @@ -2679,10 +3130,10 @@
  12622. ac_ct_CC=$CC
  12623. # Extract the first word of "gcc", so it can be a program name with args.
  12624. set dummy gcc; ac_word=$2
  12625. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12626. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12627. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  12628. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12629. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12630. +$as_echo_n "checking for $ac_word... " >&6; }
  12631. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  12632. + $as_echo_n "(cached) " >&6
  12633. else
  12634. if test -n "$ac_ct_CC"; then
  12635. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12636. @@ -2692,25 +3143,25 @@
  12637. do
  12638. IFS=$as_save_IFS
  12639. test -z "$as_dir" && as_dir=.
  12640. - for ac_exec_ext in '' $ac_executable_extensions; do
  12641. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12642. + for ac_exec_ext in '' $ac_executable_extensions; do
  12643. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12644. ac_cv_prog_ac_ct_CC="gcc"
  12645. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12646. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12647. break 2
  12648. fi
  12649. done
  12650. -done
  12651. + done
  12652. IFS=$as_save_IFS
  12653. fi
  12654. fi
  12655. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12656. if test -n "$ac_ct_CC"; then
  12657. - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  12658. -echo "${ECHO_T}$ac_ct_CC" >&6; }
  12659. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12660. +$as_echo "$ac_ct_CC" >&6; }
  12661. else
  12662. - { echo "$as_me:$LINENO: result: no" >&5
  12663. -echo "${ECHO_T}no" >&6; }
  12664. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12665. +$as_echo "no" >&6; }
  12666. fi
  12667. if test "x$ac_ct_CC" = x; then
  12668. @@ -2718,12 +3169,8 @@
  12669. else
  12670. case $cross_compiling:$ac_tool_warned in
  12671. yes:)
  12672. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  12673. -whose name does not start with the host triplet. If you think this
  12674. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  12675. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  12676. -whose name does not start with the host triplet. If you think this
  12677. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  12678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12679. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12680. ac_tool_warned=yes ;;
  12681. esac
  12682. CC=$ac_ct_CC
  12683. @@ -2736,10 +3183,10 @@
  12684. if test -n "$ac_tool_prefix"; then
  12685. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  12686. set dummy ${ac_tool_prefix}cc; ac_word=$2
  12687. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12688. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12689. -if test "${ac_cv_prog_CC+set}" = set; then
  12690. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12691. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12692. +$as_echo_n "checking for $ac_word... " >&6; }
  12693. +if test "${ac_cv_prog_CC+set}" = set; then :
  12694. + $as_echo_n "(cached) " >&6
  12695. else
  12696. if test -n "$CC"; then
  12697. ac_cv_prog_CC="$CC" # Let the user override the test.
  12698. @@ -2749,25 +3196,25 @@
  12699. do
  12700. IFS=$as_save_IFS
  12701. test -z "$as_dir" && as_dir=.
  12702. - for ac_exec_ext in '' $ac_executable_extensions; do
  12703. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12704. + for ac_exec_ext in '' $ac_executable_extensions; do
  12705. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12706. ac_cv_prog_CC="${ac_tool_prefix}cc"
  12707. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12708. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12709. break 2
  12710. fi
  12711. done
  12712. -done
  12713. + done
  12714. IFS=$as_save_IFS
  12715. fi
  12716. fi
  12717. CC=$ac_cv_prog_CC
  12718. if test -n "$CC"; then
  12719. - { echo "$as_me:$LINENO: result: $CC" >&5
  12720. -echo "${ECHO_T}$CC" >&6; }
  12721. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12722. +$as_echo "$CC" >&6; }
  12723. else
  12724. - { echo "$as_me:$LINENO: result: no" >&5
  12725. -echo "${ECHO_T}no" >&6; }
  12726. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12727. +$as_echo "no" >&6; }
  12728. fi
  12729. @@ -2776,10 +3223,10 @@
  12730. if test -z "$CC"; then
  12731. # Extract the first word of "cc", so it can be a program name with args.
  12732. set dummy cc; ac_word=$2
  12733. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12734. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12735. -if test "${ac_cv_prog_CC+set}" = set; then
  12736. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12737. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12738. +$as_echo_n "checking for $ac_word... " >&6; }
  12739. +if test "${ac_cv_prog_CC+set}" = set; then :
  12740. + $as_echo_n "(cached) " >&6
  12741. else
  12742. if test -n "$CC"; then
  12743. ac_cv_prog_CC="$CC" # Let the user override the test.
  12744. @@ -2790,18 +3237,18 @@
  12745. do
  12746. IFS=$as_save_IFS
  12747. test -z "$as_dir" && as_dir=.
  12748. - for ac_exec_ext in '' $ac_executable_extensions; do
  12749. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12750. + for ac_exec_ext in '' $ac_executable_extensions; do
  12751. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12752. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  12753. ac_prog_rejected=yes
  12754. continue
  12755. fi
  12756. ac_cv_prog_CC="cc"
  12757. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12758. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12759. break 2
  12760. fi
  12761. done
  12762. -done
  12763. + done
  12764. IFS=$as_save_IFS
  12765. if test $ac_prog_rejected = yes; then
  12766. @@ -2820,11 +3267,11 @@
  12767. fi
  12768. CC=$ac_cv_prog_CC
  12769. if test -n "$CC"; then
  12770. - { echo "$as_me:$LINENO: result: $CC" >&5
  12771. -echo "${ECHO_T}$CC" >&6; }
  12772. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12773. +$as_echo "$CC" >&6; }
  12774. else
  12775. - { echo "$as_me:$LINENO: result: no" >&5
  12776. -echo "${ECHO_T}no" >&6; }
  12777. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12778. +$as_echo "no" >&6; }
  12779. fi
  12780. @@ -2835,10 +3282,10 @@
  12781. do
  12782. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  12783. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  12784. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12785. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12786. -if test "${ac_cv_prog_CC+set}" = set; then
  12787. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12788. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12789. +$as_echo_n "checking for $ac_word... " >&6; }
  12790. +if test "${ac_cv_prog_CC+set}" = set; then :
  12791. + $as_echo_n "(cached) " >&6
  12792. else
  12793. if test -n "$CC"; then
  12794. ac_cv_prog_CC="$CC" # Let the user override the test.
  12795. @@ -2848,25 +3295,25 @@
  12796. do
  12797. IFS=$as_save_IFS
  12798. test -z "$as_dir" && as_dir=.
  12799. - for ac_exec_ext in '' $ac_executable_extensions; do
  12800. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12801. + for ac_exec_ext in '' $ac_executable_extensions; do
  12802. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12803. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  12804. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12805. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12806. break 2
  12807. fi
  12808. done
  12809. -done
  12810. + done
  12811. IFS=$as_save_IFS
  12812. fi
  12813. fi
  12814. CC=$ac_cv_prog_CC
  12815. if test -n "$CC"; then
  12816. - { echo "$as_me:$LINENO: result: $CC" >&5
  12817. -echo "${ECHO_T}$CC" >&6; }
  12818. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12819. +$as_echo "$CC" >&6; }
  12820. else
  12821. - { echo "$as_me:$LINENO: result: no" >&5
  12822. -echo "${ECHO_T}no" >&6; }
  12823. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12824. +$as_echo "no" >&6; }
  12825. fi
  12826. @@ -2879,10 +3326,10 @@
  12827. do
  12828. # Extract the first word of "$ac_prog", so it can be a program name with args.
  12829. set dummy $ac_prog; ac_word=$2
  12830. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  12831. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  12832. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  12833. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12834. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12835. +$as_echo_n "checking for $ac_word... " >&6; }
  12836. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  12837. + $as_echo_n "(cached) " >&6
  12838. else
  12839. if test -n "$ac_ct_CC"; then
  12840. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12841. @@ -2892,25 +3339,25 @@
  12842. do
  12843. IFS=$as_save_IFS
  12844. test -z "$as_dir" && as_dir=.
  12845. - for ac_exec_ext in '' $ac_executable_extensions; do
  12846. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  12847. + for ac_exec_ext in '' $ac_executable_extensions; do
  12848. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12849. ac_cv_prog_ac_ct_CC="$ac_prog"
  12850. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12851. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12852. break 2
  12853. fi
  12854. done
  12855. -done
  12856. + done
  12857. IFS=$as_save_IFS
  12858. fi
  12859. fi
  12860. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12861. if test -n "$ac_ct_CC"; then
  12862. - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  12863. -echo "${ECHO_T}$ac_ct_CC" >&6; }
  12864. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12865. +$as_echo "$ac_ct_CC" >&6; }
  12866. else
  12867. - { echo "$as_me:$LINENO: result: no" >&5
  12868. -echo "${ECHO_T}no" >&6; }
  12869. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12870. +$as_echo "no" >&6; }
  12871. fi
  12872. @@ -2922,12 +3369,8 @@
  12873. else
  12874. case $cross_compiling:$ac_tool_warned in
  12875. yes:)
  12876. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  12877. -whose name does not start with the host triplet. If you think this
  12878. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  12879. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  12880. -whose name does not start with the host triplet. If you think this
  12881. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  12882. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12883. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12884. ac_tool_warned=yes ;;
  12885. esac
  12886. CC=$ac_ct_CC
  12887. @@ -2937,51 +3380,37 @@
  12888. fi
  12889. -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  12890. -See \`config.log' for more details." >&5
  12891. -echo "$as_me: error: no acceptable C compiler found in \$PATH
  12892. -See \`config.log' for more details." >&2;}
  12893. - { (exit 1); exit 1; }; }
  12894. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12895. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12896. +as_fn_error "no acceptable C compiler found in \$PATH
  12897. +See \`config.log' for more details." "$LINENO" 5; }
  12898. # Provide some information about the compiler.
  12899. -echo "$as_me:$LINENO: checking for C compiler version" >&5
  12900. -ac_compiler=`set X $ac_compile; echo $2`
  12901. -{ (ac_try="$ac_compiler --version >&5"
  12902. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  12903. +set X $ac_compile
  12904. +ac_compiler=$2
  12905. +for ac_option in --version -v -V -qversion; do
  12906. + { { ac_try="$ac_compiler $ac_option >&5"
  12907. case "(($ac_try" in
  12908. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12909. *) ac_try_echo=$ac_try;;
  12910. esac
  12911. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12912. - (eval "$ac_compiler --version >&5") 2>&5
  12913. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12914. +$as_echo "$ac_try_echo"; } >&5
  12915. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  12916. ac_status=$?
  12917. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12918. - (exit $ac_status); }
  12919. -{ (ac_try="$ac_compiler -v >&5"
  12920. -case "(($ac_try" in
  12921. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12922. - *) ac_try_echo=$ac_try;;
  12923. -esac
  12924. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12925. - (eval "$ac_compiler -v >&5") 2>&5
  12926. - ac_status=$?
  12927. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12928. - (exit $ac_status); }
  12929. -{ (ac_try="$ac_compiler -V >&5"
  12930. -case "(($ac_try" in
  12931. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12932. - *) ac_try_echo=$ac_try;;
  12933. -esac
  12934. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12935. - (eval "$ac_compiler -V >&5") 2>&5
  12936. - ac_status=$?
  12937. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12938. - (exit $ac_status); }
  12939. + if test -s conftest.err; then
  12940. + sed '10a\
  12941. +... rest of stderr output deleted ...
  12942. + 10q' conftest.err >conftest.er1
  12943. + cat conftest.er1 >&5
  12944. + fi
  12945. + rm -f conftest.er1 conftest.err
  12946. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12947. + test $ac_status = 0; }
  12948. +done
  12949. -cat >conftest.$ac_ext <<_ACEOF
  12950. -/* confdefs.h. */
  12951. -_ACEOF
  12952. -cat confdefs.h >>conftest.$ac_ext
  12953. -cat >>conftest.$ac_ext <<_ACEOF
  12954. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12955. /* end confdefs.h. */
  12956. int
  12957. @@ -2993,59 +3422,55 @@
  12958. }
  12959. _ACEOF
  12960. ac_clean_files_save=$ac_clean_files
  12961. -ac_clean_files="$ac_clean_files a.out a.exe b.out"
  12962. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  12963. # Try to create an executable without -o first, disregard a.out.
  12964. # It will help us diagnose broken compilers, and finding out an intuition
  12965. # of exeext.
  12966. -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  12967. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  12968. -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  12969. -#
  12970. -# List of possible output files, starting from the most likely.
  12971. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  12972. -# only as a last resort. b.out is created by i960 compilers.
  12973. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  12974. -#
  12975. -# The IRIX 6 linker writes into existing files which may not be
  12976. -# executable, retaining their permissions. Remove them first so a
  12977. -# subsequent execution test works.
  12978. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  12979. +$as_echo_n "checking whether the C compiler works... " >&6; }
  12980. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  12981. +
  12982. +# The possible output files:
  12983. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  12984. +
  12985. ac_rmfiles=
  12986. for ac_file in $ac_files
  12987. do
  12988. case $ac_file in
  12989. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  12990. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  12991. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  12992. esac
  12993. done
  12994. rm -f $ac_rmfiles
  12995. -if { (ac_try="$ac_link_default"
  12996. +if { { ac_try="$ac_link_default"
  12997. case "(($ac_try" in
  12998. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12999. *) ac_try_echo=$ac_try;;
  13000. esac
  13001. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13002. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13003. +$as_echo "$ac_try_echo"; } >&5
  13004. (eval "$ac_link_default") 2>&5
  13005. ac_status=$?
  13006. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13007. - (exit $ac_status); }; then
  13008. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13009. + test $ac_status = 0; }; then :
  13010. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  13011. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  13012. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  13013. # so that the user can short-circuit this test for compilers unknown to
  13014. # Autoconf.
  13015. -for ac_file in $ac_files
  13016. +for ac_file in $ac_files ''
  13017. do
  13018. test -f "$ac_file" || continue
  13019. case $ac_file in
  13020. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  13021. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  13022. ;;
  13023. [ab].out )
  13024. # We found the default executable, but exeext='' is most
  13025. # certainly right.
  13026. break;;
  13027. *.* )
  13028. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  13029. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  13030. then :; else
  13031. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13032. fi
  13033. @@ -3062,76 +3487,44 @@
  13034. test "$ac_cv_exeext" = no && ac_cv_exeext=
  13035. else
  13036. - echo "$as_me: failed program was:" >&5
  13037. -sed 's/^/| /' conftest.$ac_ext >&5
  13038. -
  13039. -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  13040. -See \`config.log' for more details." >&5
  13041. -echo "$as_me: error: C compiler cannot create executables
  13042. -See \`config.log' for more details." >&2;}
  13043. - { (exit 77); exit 77; }; }
  13044. + ac_file=''
  13045. fi
  13046. -
  13047. +if test -z "$ac_file"; then :
  13048. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13049. +$as_echo "no" >&6; }
  13050. +$as_echo "$as_me: failed program was:" >&5
  13051. +sed 's/^/| /' conftest.$ac_ext >&5
  13052. +
  13053. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13054. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13055. +{ as_fn_set_status 77
  13056. +as_fn_error "C compiler cannot create executables
  13057. +See \`config.log' for more details." "$LINENO" 5; }; }
  13058. +else
  13059. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13060. +$as_echo "yes" >&6; }
  13061. +fi
  13062. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  13063. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  13064. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  13065. +$as_echo "$ac_file" >&6; }
  13066. ac_exeext=$ac_cv_exeext
  13067. -{ echo "$as_me:$LINENO: result: $ac_file" >&5
  13068. -echo "${ECHO_T}$ac_file" >&6; }
  13069. -
  13070. -# Check that the compiler produces executables we can run. If not, either
  13071. -# the compiler is broken, or we cross compile.
  13072. -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  13073. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  13074. -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  13075. -# If not cross compiling, check that we can run a simple program.
  13076. -if test "$cross_compiling" != yes; then
  13077. - if { ac_try='./$ac_file'
  13078. - { (case "(($ac_try" in
  13079. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13080. - *) ac_try_echo=$ac_try;;
  13081. -esac
  13082. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13083. - (eval "$ac_try") 2>&5
  13084. - ac_status=$?
  13085. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13086. - (exit $ac_status); }; }; then
  13087. - cross_compiling=no
  13088. - else
  13089. - if test "$cross_compiling" = maybe; then
  13090. - cross_compiling=yes
  13091. - else
  13092. - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  13093. -If you meant to cross compile, use \`--host'.
  13094. -See \`config.log' for more details." >&5
  13095. -echo "$as_me: error: cannot run C compiled programs.
  13096. -If you meant to cross compile, use \`--host'.
  13097. -See \`config.log' for more details." >&2;}
  13098. - { (exit 1); exit 1; }; }
  13099. - fi
  13100. - fi
  13101. -fi
  13102. -{ echo "$as_me:$LINENO: result: yes" >&5
  13103. -echo "${ECHO_T}yes" >&6; }
  13104. -rm -f a.out a.exe conftest$ac_cv_exeext b.out
  13105. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  13106. ac_clean_files=$ac_clean_files_save
  13107. -# Check that the compiler produces executables we can run. If not, either
  13108. -# the compiler is broken, or we cross compile.
  13109. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  13110. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  13111. -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  13112. -echo "${ECHO_T}$cross_compiling" >&6; }
  13113. -
  13114. -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  13115. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  13116. -if { (ac_try="$ac_link"
  13117. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  13118. +$as_echo_n "checking for suffix of executables... " >&6; }
  13119. +if { { ac_try="$ac_link"
  13120. case "(($ac_try" in
  13121. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13122. *) ac_try_echo=$ac_try;;
  13123. esac
  13124. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13125. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13126. +$as_echo "$ac_try_echo"; } >&5
  13127. (eval "$ac_link") 2>&5
  13128. ac_status=$?
  13129. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13130. - (exit $ac_status); }; then
  13131. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13132. + test $ac_status = 0; }; then :
  13133. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  13134. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  13135. # work properly (i.e., refer to `conftest.exe'), while it won't with
  13136. @@ -3139,171 +3532,182 @@
  13137. for ac_file in conftest.exe conftest conftest.*; do
  13138. test -f "$ac_file" || continue
  13139. case $ac_file in
  13140. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  13141. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  13142. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13143. break;;
  13144. * ) break;;
  13145. esac
  13146. done
  13147. else
  13148. - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  13149. -See \`config.log' for more details." >&5
  13150. -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  13151. -See \`config.log' for more details." >&2;}
  13152. - { (exit 1); exit 1; }; }
  13153. -fi
  13154. -
  13155. -rm -f conftest$ac_cv_exeext
  13156. -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  13157. -echo "${ECHO_T}$ac_cv_exeext" >&6; }
  13158. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13159. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13160. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  13161. +See \`config.log' for more details." "$LINENO" 5; }
  13162. +fi
  13163. +rm -f conftest conftest$ac_cv_exeext
  13164. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  13165. +$as_echo "$ac_cv_exeext" >&6; }
  13166. rm -f conftest.$ac_ext
  13167. EXEEXT=$ac_cv_exeext
  13168. ac_exeext=$EXEEXT
  13169. -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  13170. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  13171. -if test "${ac_cv_objext+set}" = set; then
  13172. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13173. -else
  13174. - cat >conftest.$ac_ext <<_ACEOF
  13175. -/* confdefs.h. */
  13176. -_ACEOF
  13177. -cat confdefs.h >>conftest.$ac_ext
  13178. -cat >>conftest.$ac_ext <<_ACEOF
  13179. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13180. /* end confdefs.h. */
  13181. -
  13182. +#include <stdio.h>
  13183. int
  13184. main ()
  13185. {
  13186. +FILE *f = fopen ("conftest.out", "w");
  13187. + return ferror (f) || fclose (f) != 0;
  13188. ;
  13189. return 0;
  13190. }
  13191. _ACEOF
  13192. -rm -f conftest.o conftest.obj
  13193. -if { (ac_try="$ac_compile"
  13194. +ac_clean_files="$ac_clean_files conftest.out"
  13195. +# Check that the compiler produces executables we can run. If not, either
  13196. +# the compiler is broken, or we cross compile.
  13197. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  13198. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  13199. +if test "$cross_compiling" != yes; then
  13200. + { { ac_try="$ac_link"
  13201. case "(($ac_try" in
  13202. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13203. *) ac_try_echo=$ac_try;;
  13204. esac
  13205. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13206. - (eval "$ac_compile") 2>&5
  13207. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13208. +$as_echo "$ac_try_echo"; } >&5
  13209. + (eval "$ac_link") 2>&5
  13210. ac_status=$?
  13211. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13212. - (exit $ac_status); }; then
  13213. - for ac_file in conftest.o conftest.obj conftest.*; do
  13214. - test -f "$ac_file" || continue;
  13215. - case $ac_file in
  13216. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  13217. - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  13218. - break;;
  13219. - esac
  13220. -done
  13221. -else
  13222. - echo "$as_me: failed program was:" >&5
  13223. -sed 's/^/| /' conftest.$ac_ext >&5
  13224. -
  13225. -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  13226. -See \`config.log' for more details." >&5
  13227. -echo "$as_me: error: cannot compute suffix of object files: cannot compile
  13228. -See \`config.log' for more details." >&2;}
  13229. - { (exit 1); exit 1; }; }
  13230. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13231. + test $ac_status = 0; }
  13232. + if { ac_try='./conftest$ac_cv_exeext'
  13233. + { { case "(($ac_try" in
  13234. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13235. + *) ac_try_echo=$ac_try;;
  13236. +esac
  13237. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13238. +$as_echo "$ac_try_echo"; } >&5
  13239. + (eval "$ac_try") 2>&5
  13240. + ac_status=$?
  13241. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13242. + test $ac_status = 0; }; }; then
  13243. + cross_compiling=no
  13244. + else
  13245. + if test "$cross_compiling" = maybe; then
  13246. + cross_compiling=yes
  13247. + else
  13248. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13249. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13250. +as_fn_error "cannot run C compiled programs.
  13251. +If you meant to cross compile, use \`--host'.
  13252. +See \`config.log' for more details." "$LINENO" 5; }
  13253. + fi
  13254. + fi
  13255. fi
  13256. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  13257. +$as_echo "$cross_compiling" >&6; }
  13258. -rm -f conftest.$ac_cv_objext conftest.$ac_ext
  13259. -fi
  13260. -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  13261. -echo "${ECHO_T}$ac_cv_objext" >&6; }
  13262. -OBJEXT=$ac_cv_objext
  13263. -ac_objext=$OBJEXT
  13264. -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  13265. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  13266. -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  13267. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13268. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  13269. +ac_clean_files=$ac_clean_files_save
  13270. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  13271. +$as_echo_n "checking for suffix of object files... " >&6; }
  13272. +if test "${ac_cv_objext+set}" = set; then :
  13273. + $as_echo_n "(cached) " >&6
  13274. else
  13275. - cat >conftest.$ac_ext <<_ACEOF
  13276. -/* confdefs.h. */
  13277. -_ACEOF
  13278. -cat confdefs.h >>conftest.$ac_ext
  13279. -cat >>conftest.$ac_ext <<_ACEOF
  13280. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13281. /* end confdefs.h. */
  13282. int
  13283. main ()
  13284. {
  13285. -#ifndef __GNUC__
  13286. - choke me
  13287. -#endif
  13288. ;
  13289. return 0;
  13290. }
  13291. _ACEOF
  13292. -rm -f conftest.$ac_objext
  13293. -if { (ac_try="$ac_compile"
  13294. +rm -f conftest.o conftest.obj
  13295. +if { { ac_try="$ac_compile"
  13296. case "(($ac_try" in
  13297. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13298. *) ac_try_echo=$ac_try;;
  13299. esac
  13300. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13301. - (eval "$ac_compile") 2>conftest.er1
  13302. - ac_status=$?
  13303. - grep -v '^ *+' conftest.er1 >conftest.err
  13304. - rm -f conftest.er1
  13305. - cat conftest.err >&5
  13306. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13307. - (exit $ac_status); } &&
  13308. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  13309. - { (case "(($ac_try" in
  13310. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13311. - *) ac_try_echo=$ac_try;;
  13312. -esac
  13313. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13314. - (eval "$ac_try") 2>&5
  13315. - ac_status=$?
  13316. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13317. - (exit $ac_status); }; } &&
  13318. - { ac_try='test -s conftest.$ac_objext'
  13319. - { (case "(($ac_try" in
  13320. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13321. - *) ac_try_echo=$ac_try;;
  13322. -esac
  13323. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13324. - (eval "$ac_try") 2>&5
  13325. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13326. +$as_echo "$ac_try_echo"; } >&5
  13327. + (eval "$ac_compile") 2>&5
  13328. ac_status=$?
  13329. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13330. - (exit $ac_status); }; }; then
  13331. - ac_compiler_gnu=yes
  13332. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13333. + test $ac_status = 0; }; then :
  13334. + for ac_file in conftest.o conftest.obj conftest.*; do
  13335. + test -f "$ac_file" || continue;
  13336. + case $ac_file in
  13337. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  13338. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  13339. + break;;
  13340. + esac
  13341. +done
  13342. else
  13343. - echo "$as_me: failed program was:" >&5
  13344. + $as_echo "$as_me: failed program was:" >&5
  13345. sed 's/^/| /' conftest.$ac_ext >&5
  13346. - ac_compiler_gnu=no
  13347. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13348. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13349. +as_fn_error "cannot compute suffix of object files: cannot compile
  13350. +See \`config.log' for more details." "$LINENO" 5; }
  13351. fi
  13352. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  13353. +fi
  13354. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  13355. +$as_echo "$ac_cv_objext" >&6; }
  13356. +OBJEXT=$ac_cv_objext
  13357. +ac_objext=$OBJEXT
  13358. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  13359. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  13360. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  13361. + $as_echo_n "(cached) " >&6
  13362. +else
  13363. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13364. +/* end confdefs.h. */
  13365. +
  13366. +int
  13367. +main ()
  13368. +{
  13369. +#ifndef __GNUC__
  13370. + choke me
  13371. +#endif
  13372. + ;
  13373. + return 0;
  13374. +}
  13375. +_ACEOF
  13376. +if ac_fn_c_try_compile "$LINENO"; then :
  13377. + ac_compiler_gnu=yes
  13378. +else
  13379. + ac_compiler_gnu=no
  13380. +fi
  13381. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13382. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  13383. fi
  13384. -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  13385. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  13386. -GCC=`test $ac_compiler_gnu = yes && echo yes`
  13387. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  13388. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  13389. +if test $ac_compiler_gnu = yes; then
  13390. + GCC=yes
  13391. +else
  13392. + GCC=
  13393. +fi
  13394. ac_test_CFLAGS=${CFLAGS+set}
  13395. ac_save_CFLAGS=$CFLAGS
  13396. -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  13397. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  13398. -if test "${ac_cv_prog_cc_g+set}" = set; then
  13399. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13400. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  13401. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  13402. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  13403. + $as_echo_n "(cached) " >&6
  13404. else
  13405. ac_save_c_werror_flag=$ac_c_werror_flag
  13406. ac_c_werror_flag=yes
  13407. ac_cv_prog_cc_g=no
  13408. CFLAGS="-g"
  13409. - cat >conftest.$ac_ext <<_ACEOF
  13410. -/* confdefs.h. */
  13411. -_ACEOF
  13412. -cat confdefs.h >>conftest.$ac_ext
  13413. -cat >>conftest.$ac_ext <<_ACEOF
  13414. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13415. /* end confdefs.h. */
  13416. int
  13417. @@ -3314,51 +3718,11 @@
  13418. return 0;
  13419. }
  13420. _ACEOF
  13421. -rm -f conftest.$ac_objext
  13422. -if { (ac_try="$ac_compile"
  13423. -case "(($ac_try" in
  13424. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13425. - *) ac_try_echo=$ac_try;;
  13426. -esac
  13427. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13428. - (eval "$ac_compile") 2>conftest.er1
  13429. - ac_status=$?
  13430. - grep -v '^ *+' conftest.er1 >conftest.err
  13431. - rm -f conftest.er1
  13432. - cat conftest.err >&5
  13433. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13434. - (exit $ac_status); } &&
  13435. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  13436. - { (case "(($ac_try" in
  13437. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13438. - *) ac_try_echo=$ac_try;;
  13439. -esac
  13440. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13441. - (eval "$ac_try") 2>&5
  13442. - ac_status=$?
  13443. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13444. - (exit $ac_status); }; } &&
  13445. - { ac_try='test -s conftest.$ac_objext'
  13446. - { (case "(($ac_try" in
  13447. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13448. - *) ac_try_echo=$ac_try;;
  13449. -esac
  13450. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13451. - (eval "$ac_try") 2>&5
  13452. - ac_status=$?
  13453. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13454. - (exit $ac_status); }; }; then
  13455. +if ac_fn_c_try_compile "$LINENO"; then :
  13456. ac_cv_prog_cc_g=yes
  13457. else
  13458. - echo "$as_me: failed program was:" >&5
  13459. -sed 's/^/| /' conftest.$ac_ext >&5
  13460. -
  13461. - CFLAGS=""
  13462. - cat >conftest.$ac_ext <<_ACEOF
  13463. -/* confdefs.h. */
  13464. -_ACEOF
  13465. -cat confdefs.h >>conftest.$ac_ext
  13466. -cat >>conftest.$ac_ext <<_ACEOF
  13467. + CFLAGS=""
  13468. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13469. /* end confdefs.h. */
  13470. int
  13471. @@ -3369,52 +3733,12 @@
  13472. return 0;
  13473. }
  13474. _ACEOF
  13475. -rm -f conftest.$ac_objext
  13476. -if { (ac_try="$ac_compile"
  13477. -case "(($ac_try" in
  13478. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13479. - *) ac_try_echo=$ac_try;;
  13480. -esac
  13481. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13482. - (eval "$ac_compile") 2>conftest.er1
  13483. - ac_status=$?
  13484. - grep -v '^ *+' conftest.er1 >conftest.err
  13485. - rm -f conftest.er1
  13486. - cat conftest.err >&5
  13487. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13488. - (exit $ac_status); } &&
  13489. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  13490. - { (case "(($ac_try" in
  13491. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13492. - *) ac_try_echo=$ac_try;;
  13493. -esac
  13494. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13495. - (eval "$ac_try") 2>&5
  13496. - ac_status=$?
  13497. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13498. - (exit $ac_status); }; } &&
  13499. - { ac_try='test -s conftest.$ac_objext'
  13500. - { (case "(($ac_try" in
  13501. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13502. - *) ac_try_echo=$ac_try;;
  13503. -esac
  13504. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13505. - (eval "$ac_try") 2>&5
  13506. - ac_status=$?
  13507. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13508. - (exit $ac_status); }; }; then
  13509. - :
  13510. -else
  13511. - echo "$as_me: failed program was:" >&5
  13512. -sed 's/^/| /' conftest.$ac_ext >&5
  13513. +if ac_fn_c_try_compile "$LINENO"; then :
  13514. - ac_c_werror_flag=$ac_save_c_werror_flag
  13515. +else
  13516. + ac_c_werror_flag=$ac_save_c_werror_flag
  13517. CFLAGS="-g"
  13518. - cat >conftest.$ac_ext <<_ACEOF
  13519. -/* confdefs.h. */
  13520. -_ACEOF
  13521. -cat confdefs.h >>conftest.$ac_ext
  13522. -cat >>conftest.$ac_ext <<_ACEOF
  13523. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13524. /* end confdefs.h. */
  13525. int
  13526. @@ -3425,59 +3749,18 @@
  13527. return 0;
  13528. }
  13529. _ACEOF
  13530. -rm -f conftest.$ac_objext
  13531. -if { (ac_try="$ac_compile"
  13532. -case "(($ac_try" in
  13533. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13534. - *) ac_try_echo=$ac_try;;
  13535. -esac
  13536. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13537. - (eval "$ac_compile") 2>conftest.er1
  13538. - ac_status=$?
  13539. - grep -v '^ *+' conftest.er1 >conftest.err
  13540. - rm -f conftest.er1
  13541. - cat conftest.err >&5
  13542. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13543. - (exit $ac_status); } &&
  13544. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  13545. - { (case "(($ac_try" in
  13546. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13547. - *) ac_try_echo=$ac_try;;
  13548. -esac
  13549. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13550. - (eval "$ac_try") 2>&5
  13551. - ac_status=$?
  13552. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13553. - (exit $ac_status); }; } &&
  13554. - { ac_try='test -s conftest.$ac_objext'
  13555. - { (case "(($ac_try" in
  13556. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13557. - *) ac_try_echo=$ac_try;;
  13558. -esac
  13559. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13560. - (eval "$ac_try") 2>&5
  13561. - ac_status=$?
  13562. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13563. - (exit $ac_status); }; }; then
  13564. +if ac_fn_c_try_compile "$LINENO"; then :
  13565. ac_cv_prog_cc_g=yes
  13566. -else
  13567. - echo "$as_me: failed program was:" >&5
  13568. -sed 's/^/| /' conftest.$ac_ext >&5
  13569. -
  13570. -
  13571. fi
  13572. -
  13573. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13574. fi
  13575. -
  13576. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13577. fi
  13578. -
  13579. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13580. ac_c_werror_flag=$ac_save_c_werror_flag
  13581. fi
  13582. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  13583. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  13584. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  13585. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  13586. if test "$ac_test_CFLAGS" = set; then
  13587. CFLAGS=$ac_save_CFLAGS
  13588. elif test $ac_cv_prog_cc_g = yes; then
  13589. @@ -3493,18 +3776,14 @@
  13590. CFLAGS=
  13591. fi
  13592. fi
  13593. -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  13594. -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  13595. -if test "${ac_cv_prog_cc_c89+set}" = set; then
  13596. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13597. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  13598. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  13599. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  13600. + $as_echo_n "(cached) " >&6
  13601. else
  13602. ac_cv_prog_cc_c89=no
  13603. ac_save_CC=$CC
  13604. -cat >conftest.$ac_ext <<_ACEOF
  13605. -/* confdefs.h. */
  13606. -_ACEOF
  13607. -cat confdefs.h >>conftest.$ac_ext
  13608. -cat >>conftest.$ac_ext <<_ACEOF
  13609. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13610. /* end confdefs.h. */
  13611. #include <stdarg.h>
  13612. #include <stdio.h>
  13613. @@ -3561,48 +3840,9 @@
  13614. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  13615. do
  13616. CC="$ac_save_CC $ac_arg"
  13617. - rm -f conftest.$ac_objext
  13618. -if { (ac_try="$ac_compile"
  13619. -case "(($ac_try" in
  13620. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13621. - *) ac_try_echo=$ac_try;;
  13622. -esac
  13623. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13624. - (eval "$ac_compile") 2>conftest.er1
  13625. - ac_status=$?
  13626. - grep -v '^ *+' conftest.er1 >conftest.err
  13627. - rm -f conftest.er1
  13628. - cat conftest.err >&5
  13629. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13630. - (exit $ac_status); } &&
  13631. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  13632. - { (case "(($ac_try" in
  13633. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13634. - *) ac_try_echo=$ac_try;;
  13635. -esac
  13636. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13637. - (eval "$ac_try") 2>&5
  13638. - ac_status=$?
  13639. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13640. - (exit $ac_status); }; } &&
  13641. - { ac_try='test -s conftest.$ac_objext'
  13642. - { (case "(($ac_try" in
  13643. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13644. - *) ac_try_echo=$ac_try;;
  13645. -esac
  13646. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13647. - (eval "$ac_try") 2>&5
  13648. - ac_status=$?
  13649. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13650. - (exit $ac_status); }; }; then
  13651. + if ac_fn_c_try_compile "$LINENO"; then :
  13652. ac_cv_prog_cc_c89=$ac_arg
  13653. -else
  13654. - echo "$as_me: failed program was:" >&5
  13655. -sed 's/^/| /' conftest.$ac_ext >&5
  13656. -
  13657. -
  13658. fi
  13659. -
  13660. rm -f core conftest.err conftest.$ac_objext
  13661. test "x$ac_cv_prog_cc_c89" != "xno" && break
  13662. done
  13663. @@ -3613,17 +3853,19 @@
  13664. # AC_CACHE_VAL
  13665. case "x$ac_cv_prog_cc_c89" in
  13666. x)
  13667. - { echo "$as_me:$LINENO: result: none needed" >&5
  13668. -echo "${ECHO_T}none needed" >&6; } ;;
  13669. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13670. +$as_echo "none needed" >&6; } ;;
  13671. xno)
  13672. - { echo "$as_me:$LINENO: result: unsupported" >&5
  13673. -echo "${ECHO_T}unsupported" >&6; } ;;
  13674. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13675. +$as_echo "unsupported" >&6; } ;;
  13676. *)
  13677. CC="$CC $ac_cv_prog_cc_c89"
  13678. - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  13679. -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  13680. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  13681. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  13682. esac
  13683. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  13684. +fi
  13685. ac_ext=c
  13686. ac_cpp='$CPP $CPPFLAGS'
  13687. @@ -3638,44 +3880,44 @@
  13688. am_make=${MAKE-make}
  13689. cat > confinc << 'END'
  13690. am__doit:
  13691. - @echo done
  13692. + @echo this is the am__doit target
  13693. .PHONY: am__doit
  13694. END
  13695. # If we don't find an include directive, just comment out the code.
  13696. -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  13697. -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  13698. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  13699. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  13700. am__include="#"
  13701. am__quote=
  13702. _am_result=none
  13703. # First try GNU make style include.
  13704. echo "include confinc" > confmf
  13705. -# We grep out `Entering directory' and `Leaving directory'
  13706. -# messages which can occur if `w' ends up in MAKEFLAGS.
  13707. -# In particular we don't look at `^make:' because GNU make might
  13708. -# be invoked under some other name (usually "gmake"), in which
  13709. -# case it prints its new name instead of `make'.
  13710. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  13711. - am__include=include
  13712. - am__quote=
  13713. - _am_result=GNU
  13714. -fi
  13715. +# Ignore all kinds of additional output from `make'.
  13716. +case `$am_make -s -f confmf 2> /dev/null` in #(
  13717. +*the\ am__doit\ target*)
  13718. + am__include=include
  13719. + am__quote=
  13720. + _am_result=GNU
  13721. + ;;
  13722. +esac
  13723. # Now try BSD make style include.
  13724. if test "$am__include" = "#"; then
  13725. echo '.include "confinc"' > confmf
  13726. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  13727. - am__include=.include
  13728. - am__quote="\""
  13729. - _am_result=BSD
  13730. - fi
  13731. + case `$am_make -s -f confmf 2> /dev/null` in #(
  13732. + *the\ am__doit\ target*)
  13733. + am__include=.include
  13734. + am__quote="\""
  13735. + _am_result=BSD
  13736. + ;;
  13737. + esac
  13738. fi
  13739. -{ echo "$as_me:$LINENO: result: $_am_result" >&5
  13740. -echo "${ECHO_T}$_am_result" >&6; }
  13741. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  13742. +$as_echo "$_am_result" >&6; }
  13743. rm -f confinc confmf
  13744. # Check whether --enable-dependency-tracking was given.
  13745. -if test "${enable_dependency_tracking+set}" = set; then
  13746. +if test "${enable_dependency_tracking+set}" = set; then :
  13747. enableval=$enable_dependency_tracking;
  13748. fi
  13749. @@ -3683,9 +3925,7 @@
  13750. am_depcomp="$ac_aux_dir/depcomp"
  13751. AMDEPBACKSLASH='\'
  13752. fi
  13753. -
  13754. -
  13755. -if test "x$enable_dependency_tracking" != xno; then
  13756. + if test "x$enable_dependency_tracking" != xno; then
  13757. AMDEP_TRUE=
  13758. AMDEP_FALSE='#'
  13759. else
  13760. @@ -3695,13 +3935,12 @@
  13761. -
  13762. depcc="$CC" am_compiler_list=
  13763. -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  13764. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  13765. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  13766. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13767. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  13768. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  13769. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  13770. + $as_echo_n "(cached) " >&6
  13771. else
  13772. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  13773. # We make a subdir and do the tests there. Otherwise we can end up
  13774. @@ -3726,6 +3965,11 @@
  13775. if test "$am_compiler_list" = ""; then
  13776. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  13777. fi
  13778. + am__universal=false
  13779. + case " $depcc " in #(
  13780. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  13781. + esac
  13782. +
  13783. for depmode in $am_compiler_list; do
  13784. # Setup a source with many dependencies, because some compilers
  13785. # like to wrap large dependency lists on column 80 (with \), and
  13786. @@ -3743,7 +3987,17 @@
  13787. done
  13788. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  13789. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  13790. + # mode. It turns out that the SunPro C++ compiler does not properly
  13791. + # handle `-M -o', and we need to detect this. Also, some Intel
  13792. + # versions had trouble with output in subdirs
  13793. + am__obj=sub/conftest.${OBJEXT-o}
  13794. + am__minus_obj="-o $am__obj"
  13795. case $depmode in
  13796. + gcc)
  13797. + # This depmode causes a compiler race in universal mode.
  13798. + test "$am__universal" = false || continue
  13799. + ;;
  13800. nosideeffect)
  13801. # after this tag, mechanisms are not by side-effect, so they'll
  13802. # only be used when explicitly requested
  13803. @@ -3753,18 +4007,23 @@
  13804. break
  13805. fi
  13806. ;;
  13807. + msvisualcpp | msvcmsys)
  13808. + # This compiler won't grok `-c -o', but also, the minuso test has
  13809. + # not run yet. These depmodes are late enough in the game, and
  13810. + # so weak that their functioning should not be impacted.
  13811. + am__obj=conftest.${OBJEXT-o}
  13812. + am__minus_obj=
  13813. + ;;
  13814. none) break ;;
  13815. esac
  13816. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  13817. - # mode. It turns out that the SunPro C++ compiler does not properly
  13818. - # handle `-M -o', and we need to detect this.
  13819. if depmode=$depmode \
  13820. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  13821. + source=sub/conftest.c object=$am__obj \
  13822. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  13823. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  13824. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  13825. >/dev/null 2>conftest.err &&
  13826. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  13827. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  13828. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  13829. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  13830. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  13831. # icc doesn't choke on unknown options, it will just issue warnings
  13832. # or remarks (even with -Werror). So we grep stderr for any message
  13833. @@ -3788,13 +4047,11 @@
  13834. fi
  13835. fi
  13836. -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  13837. -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  13838. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  13839. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  13840. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  13841. -
  13842. -
  13843. -if
  13844. + if
  13845. test "x$enable_dependency_tracking" != xno \
  13846. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  13847. am__fastdepCC_TRUE=
  13848. @@ -3810,15 +4067,15 @@
  13849. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13850. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13851. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13852. -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  13853. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  13854. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  13855. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  13856. # On Suns, sometimes $CPP names a directory.
  13857. if test -n "$CPP" && test -d "$CPP"; then
  13858. CPP=
  13859. fi
  13860. if test -z "$CPP"; then
  13861. - if test "${ac_cv_prog_CPP+set}" = set; then
  13862. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13863. + if test "${ac_cv_prog_CPP+set}" = set; then :
  13864. + $as_echo_n "(cached) " >&6
  13865. else
  13866. # Double quotes because CPP needs to be expanded
  13867. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  13868. @@ -3832,11 +4089,7 @@
  13869. # <limits.h> exists even on freestanding compilers.
  13870. # On the NeXT, cc -E runs the code through the compiler's parser,
  13871. # not just through cpp. "Syntax error" is here to catch this case.
  13872. - cat >conftest.$ac_ext <<_ACEOF
  13873. -/* confdefs.h. */
  13874. -_ACEOF
  13875. -cat confdefs.h >>conftest.$ac_ext
  13876. -cat >>conftest.$ac_ext <<_ACEOF
  13877. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13878. /* end confdefs.h. */
  13879. #ifdef __STDC__
  13880. # include <limits.h>
  13881. @@ -3845,90 +4098,34 @@
  13882. #endif
  13883. Syntax error
  13884. _ACEOF
  13885. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  13886. -case "(($ac_try" in
  13887. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13888. - *) ac_try_echo=$ac_try;;
  13889. -esac
  13890. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13891. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13892. - ac_status=$?
  13893. - grep -v '^ *+' conftest.er1 >conftest.err
  13894. - rm -f conftest.er1
  13895. - cat conftest.err >&5
  13896. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13897. - (exit $ac_status); } >/dev/null; then
  13898. - if test -s conftest.err; then
  13899. - ac_cpp_err=$ac_c_preproc_warn_flag
  13900. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  13901. - else
  13902. - ac_cpp_err=
  13903. - fi
  13904. -else
  13905. - ac_cpp_err=yes
  13906. -fi
  13907. -if test -z "$ac_cpp_err"; then
  13908. - :
  13909. -else
  13910. - echo "$as_me: failed program was:" >&5
  13911. -sed 's/^/| /' conftest.$ac_ext >&5
  13912. +if ac_fn_c_try_cpp "$LINENO"; then :
  13913. +else
  13914. # Broken: fails on valid input.
  13915. continue
  13916. fi
  13917. -
  13918. rm -f conftest.err conftest.$ac_ext
  13919. # OK, works on sane cases. Now check whether nonexistent headers
  13920. # can be detected and how.
  13921. - cat >conftest.$ac_ext <<_ACEOF
  13922. -/* confdefs.h. */
  13923. -_ACEOF
  13924. -cat confdefs.h >>conftest.$ac_ext
  13925. -cat >>conftest.$ac_ext <<_ACEOF
  13926. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13927. /* end confdefs.h. */
  13928. #include <ac_nonexistent.h>
  13929. _ACEOF
  13930. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  13931. -case "(($ac_try" in
  13932. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13933. - *) ac_try_echo=$ac_try;;
  13934. -esac
  13935. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  13936. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13937. - ac_status=$?
  13938. - grep -v '^ *+' conftest.er1 >conftest.err
  13939. - rm -f conftest.er1
  13940. - cat conftest.err >&5
  13941. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13942. - (exit $ac_status); } >/dev/null; then
  13943. - if test -s conftest.err; then
  13944. - ac_cpp_err=$ac_c_preproc_warn_flag
  13945. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  13946. - else
  13947. - ac_cpp_err=
  13948. - fi
  13949. -else
  13950. - ac_cpp_err=yes
  13951. -fi
  13952. -if test -z "$ac_cpp_err"; then
  13953. +if ac_fn_c_try_cpp "$LINENO"; then :
  13954. # Broken: success on invalid input.
  13955. continue
  13956. else
  13957. - echo "$as_me: failed program was:" >&5
  13958. -sed 's/^/| /' conftest.$ac_ext >&5
  13959. -
  13960. # Passes both tests.
  13961. ac_preproc_ok=:
  13962. break
  13963. fi
  13964. -
  13965. rm -f conftest.err conftest.$ac_ext
  13966. done
  13967. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  13968. rm -f conftest.err conftest.$ac_ext
  13969. -if $ac_preproc_ok; then
  13970. +if $ac_preproc_ok; then :
  13971. break
  13972. fi
  13973. @@ -3940,8 +4137,8 @@
  13974. else
  13975. ac_cv_prog_CPP=$CPP
  13976. fi
  13977. -{ echo "$as_me:$LINENO: result: $CPP" >&5
  13978. -echo "${ECHO_T}$CPP" >&6; }
  13979. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  13980. +$as_echo "$CPP" >&6; }
  13981. ac_preproc_ok=false
  13982. for ac_c_preproc_warn_flag in '' yes
  13983. do
  13984. @@ -3951,11 +4148,7 @@
  13985. # <limits.h> exists even on freestanding compilers.
  13986. # On the NeXT, cc -E runs the code through the compiler's parser,
  13987. # not just through cpp. "Syntax error" is here to catch this case.
  13988. - cat >conftest.$ac_ext <<_ACEOF
  13989. -/* confdefs.h. */
  13990. -_ACEOF
  13991. -cat confdefs.h >>conftest.$ac_ext
  13992. -cat >>conftest.$ac_ext <<_ACEOF
  13993. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13994. /* end confdefs.h. */
  13995. #ifdef __STDC__
  13996. # include <limits.h>
  13997. @@ -3964,97 +4157,40 @@
  13998. #endif
  13999. Syntax error
  14000. _ACEOF
  14001. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  14002. -case "(($ac_try" in
  14003. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14004. - *) ac_try_echo=$ac_try;;
  14005. -esac
  14006. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14007. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14008. - ac_status=$?
  14009. - grep -v '^ *+' conftest.er1 >conftest.err
  14010. - rm -f conftest.er1
  14011. - cat conftest.err >&5
  14012. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14013. - (exit $ac_status); } >/dev/null; then
  14014. - if test -s conftest.err; then
  14015. - ac_cpp_err=$ac_c_preproc_warn_flag
  14016. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  14017. - else
  14018. - ac_cpp_err=
  14019. - fi
  14020. -else
  14021. - ac_cpp_err=yes
  14022. -fi
  14023. -if test -z "$ac_cpp_err"; then
  14024. - :
  14025. -else
  14026. - echo "$as_me: failed program was:" >&5
  14027. -sed 's/^/| /' conftest.$ac_ext >&5
  14028. +if ac_fn_c_try_cpp "$LINENO"; then :
  14029. +else
  14030. # Broken: fails on valid input.
  14031. continue
  14032. fi
  14033. -
  14034. rm -f conftest.err conftest.$ac_ext
  14035. # OK, works on sane cases. Now check whether nonexistent headers
  14036. # can be detected and how.
  14037. - cat >conftest.$ac_ext <<_ACEOF
  14038. -/* confdefs.h. */
  14039. -_ACEOF
  14040. -cat confdefs.h >>conftest.$ac_ext
  14041. -cat >>conftest.$ac_ext <<_ACEOF
  14042. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14043. /* end confdefs.h. */
  14044. #include <ac_nonexistent.h>
  14045. _ACEOF
  14046. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  14047. -case "(($ac_try" in
  14048. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14049. - *) ac_try_echo=$ac_try;;
  14050. -esac
  14051. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14052. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14053. - ac_status=$?
  14054. - grep -v '^ *+' conftest.er1 >conftest.err
  14055. - rm -f conftest.er1
  14056. - cat conftest.err >&5
  14057. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14058. - (exit $ac_status); } >/dev/null; then
  14059. - if test -s conftest.err; then
  14060. - ac_cpp_err=$ac_c_preproc_warn_flag
  14061. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  14062. - else
  14063. - ac_cpp_err=
  14064. - fi
  14065. -else
  14066. - ac_cpp_err=yes
  14067. -fi
  14068. -if test -z "$ac_cpp_err"; then
  14069. +if ac_fn_c_try_cpp "$LINENO"; then :
  14070. # Broken: success on invalid input.
  14071. continue
  14072. else
  14073. - echo "$as_me: failed program was:" >&5
  14074. -sed 's/^/| /' conftest.$ac_ext >&5
  14075. -
  14076. # Passes both tests.
  14077. ac_preproc_ok=:
  14078. break
  14079. fi
  14080. -
  14081. rm -f conftest.err conftest.$ac_ext
  14082. done
  14083. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  14084. rm -f conftest.err conftest.$ac_ext
  14085. -if $ac_preproc_ok; then
  14086. - :
  14087. +if $ac_preproc_ok; then :
  14088. +
  14089. else
  14090. - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  14091. -See \`config.log' for more details." >&5
  14092. -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  14093. -See \`config.log' for more details." >&2;}
  14094. - { (exit 1); exit 1; }; }
  14095. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14096. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14097. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  14098. +See \`config.log' for more details." "$LINENO" 5; }
  14099. fi
  14100. ac_ext=c
  14101. @@ -4063,99 +4199,20 @@
  14102. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14103. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14104. -# Find a good install program. We prefer a C program (faster),
  14105. -# so one script is as good as another. But avoid the broken or
  14106. -# incompatible versions:
  14107. -# SysV /etc/install, /usr/sbin/install
  14108. -# SunOS /usr/etc/install
  14109. -# IRIX /sbin/install
  14110. -# AIX /bin/install
  14111. -# AmigaOS /C/install, which installs bootblocks on floppy discs
  14112. -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  14113. -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  14114. -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  14115. -# OS/2's system install, which has a completely different semantic
  14116. -# ./install, which can be erroneously created by make from ./install.sh.
  14117. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  14118. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  14119. -if test -z "$INSTALL"; then
  14120. -if test "${ac_cv_path_install+set}" = set; then
  14121. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14122. -else
  14123. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14124. -for as_dir in $PATH
  14125. -do
  14126. - IFS=$as_save_IFS
  14127. - test -z "$as_dir" && as_dir=.
  14128. - # Account for people who put trailing slashes in PATH elements.
  14129. -case $as_dir/ in
  14130. - ./ | .// | /cC/* | \
  14131. - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  14132. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  14133. - /usr/ucb/* ) ;;
  14134. - *)
  14135. - # OSF1 and SCO ODT 3.0 have their own names for install.
  14136. - # Don't use installbsd from OSF since it installs stuff as root
  14137. - # by default.
  14138. - for ac_prog in ginstall scoinst install; do
  14139. - for ac_exec_ext in '' $ac_executable_extensions; do
  14140. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
  14141. - if test $ac_prog = install &&
  14142. - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  14143. - # AIX install. It has an incompatible calling convention.
  14144. - :
  14145. - elif test $ac_prog = install &&
  14146. - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  14147. - # program-specific install script used by HP pwplus--don't use.
  14148. - :
  14149. - else
  14150. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  14151. - break 3
  14152. - fi
  14153. - fi
  14154. - done
  14155. - done
  14156. - ;;
  14157. -esac
  14158. -done
  14159. -IFS=$as_save_IFS
  14160. -
  14161. -
  14162. -fi
  14163. - if test "${ac_cv_path_install+set}" = set; then
  14164. - INSTALL=$ac_cv_path_install
  14165. - else
  14166. - # As a last resort, use the slow shell script. Don't cache a
  14167. - # value for INSTALL within a source directory, because that will
  14168. - # break other packages using the cache if that directory is
  14169. - # removed, or if the value is a relative name.
  14170. - INSTALL=$ac_install_sh
  14171. - fi
  14172. -fi
  14173. -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  14174. -echo "${ECHO_T}$INSTALL" >&6; }
  14175. -
  14176. -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  14177. -# It thinks the first close brace ends the variable substitution.
  14178. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  14179. -
  14180. -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  14181. -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  14182. -
  14183. -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
  14184. -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  14185. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  14186. +$as_echo_n "checking whether ln -s works... " >&6; }
  14187. LN_S=$as_ln_s
  14188. if test "$LN_S" = "ln -s"; then
  14189. - { echo "$as_me:$LINENO: result: yes" >&5
  14190. -echo "${ECHO_T}yes" >&6; }
  14191. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14192. +$as_echo "yes" >&6; }
  14193. else
  14194. - { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  14195. -echo "${ECHO_T}no, using $LN_S" >&6; }
  14196. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  14197. +$as_echo "no, using $LN_S" >&6; }
  14198. fi
  14199. # Check whether --enable-static was given.
  14200. -if test "${enable_static+set}" = set; then
  14201. +if test "${enable_static+set}" = set; then :
  14202. enableval=$enable_static; p=${PACKAGE-default}
  14203. case $enableval in
  14204. yes) enable_static=yes ;;
  14205. @@ -4181,150 +4238,155 @@
  14206. -# Check whether --enable-shared was given.
  14207. -if test "${enable_shared+set}" = set; then
  14208. - enableval=$enable_shared; p=${PACKAGE-default}
  14209. - case $enableval in
  14210. - yes) enable_shared=yes ;;
  14211. - no) enable_shared=no ;;
  14212. - *)
  14213. - enable_shared=no
  14214. - # Look at the argument we got. We use all the common list separators.
  14215. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  14216. - for pkg in $enableval; do
  14217. - IFS="$lt_save_ifs"
  14218. - if test "X$pkg" = "X$p"; then
  14219. - enable_shared=yes
  14220. - fi
  14221. - done
  14222. - IFS="$lt_save_ifs"
  14223. - ;;
  14224. - esac
  14225. -else
  14226. - enable_shared=yes
  14227. -fi
  14228. -# Check whether --enable-fast-install was given.
  14229. -if test "${enable_fast_install+set}" = set; then
  14230. - enableval=$enable_fast_install; p=${PACKAGE-default}
  14231. - case $enableval in
  14232. - yes) enable_fast_install=yes ;;
  14233. - no) enable_fast_install=no ;;
  14234. - *)
  14235. - enable_fast_install=no
  14236. - # Look at the argument we got. We use all the common list separators.
  14237. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  14238. - for pkg in $enableval; do
  14239. - IFS="$lt_save_ifs"
  14240. - if test "X$pkg" = "X$p"; then
  14241. - enable_fast_install=yes
  14242. - fi
  14243. - done
  14244. - IFS="$lt_save_ifs"
  14245. - ;;
  14246. - esac
  14247. -else
  14248. - enable_fast_install=yes
  14249. -fi
  14250. -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  14251. -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  14252. -if test "${lt_cv_path_SED+set}" = set; then
  14253. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14254. -else
  14255. - # Loop through the user's path and test for sed and gsed.
  14256. -# Then use that list of sed's as ones to test for truncation.
  14257. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14258. +enable_dlopen=yes
  14259. +
  14260. +
  14261. +
  14262. +case `pwd` in
  14263. + *\ * | *\ *)
  14264. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  14265. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  14266. +esac
  14267. +
  14268. +
  14269. +
  14270. +macro_version='2.2.6b'
  14271. +macro_revision='1.3017'
  14272. +
  14273. +
  14274. +
  14275. +
  14276. +
  14277. +
  14278. +
  14279. +
  14280. +
  14281. +
  14282. +
  14283. +
  14284. +
  14285. +ltmain="$ac_aux_dir/ltmain.sh"
  14286. +
  14287. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  14288. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  14289. +if test "${ac_cv_path_SED+set}" = set; then :
  14290. + $as_echo_n "(cached) " >&6
  14291. +else
  14292. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  14293. + for ac_i in 1 2 3 4 5 6 7; do
  14294. + ac_script="$ac_script$as_nl$ac_script"
  14295. + done
  14296. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  14297. + { ac_script=; unset ac_script;}
  14298. + if test -z "$SED"; then
  14299. + ac_path_SED_found=false
  14300. + # Loop through the user's path and test for each of PROGNAME-LIST
  14301. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14302. for as_dir in $PATH
  14303. do
  14304. IFS=$as_save_IFS
  14305. test -z "$as_dir" && as_dir=.
  14306. - for lt_ac_prog in sed gsed; do
  14307. + for ac_prog in sed gsed; do
  14308. for ac_exec_ext in '' $ac_executable_extensions; do
  14309. - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  14310. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  14311. - fi
  14312. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  14313. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  14314. +# Check for GNU ac_path_SED and select it if it is found.
  14315. + # Check for GNU $ac_path_SED
  14316. +case `"$ac_path_SED" --version 2>&1` in
  14317. +*GNU*)
  14318. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  14319. +*)
  14320. + ac_count=0
  14321. + $as_echo_n 0123456789 >"conftest.in"
  14322. + while :
  14323. + do
  14324. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  14325. + mv "conftest.tmp" "conftest.in"
  14326. + cp "conftest.in" "conftest.nl"
  14327. + $as_echo '' >> "conftest.nl"
  14328. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  14329. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  14330. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  14331. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  14332. + # Best one so far, save it but keep looking for a better one
  14333. + ac_cv_path_SED="$ac_path_SED"
  14334. + ac_path_SED_max=$ac_count
  14335. + fi
  14336. + # 10*(2^10) chars as input seems more than enough
  14337. + test $ac_count -gt 10 && break
  14338. + done
  14339. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  14340. +esac
  14341. +
  14342. + $ac_path_SED_found && break 3
  14343. done
  14344. done
  14345. -done
  14346. -lt_ac_max=0
  14347. -lt_ac_count=0
  14348. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  14349. -# along with /bin/sed that truncates output.
  14350. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  14351. - test ! -f $lt_ac_sed && continue
  14352. - cat /dev/null > conftest.in
  14353. - lt_ac_count=0
  14354. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  14355. - # Check for GNU sed and select it if it is found.
  14356. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  14357. - lt_cv_path_SED=$lt_ac_sed
  14358. - break
  14359. - fi
  14360. - while true; do
  14361. - cat conftest.in conftest.in >conftest.tmp
  14362. - mv conftest.tmp conftest.in
  14363. - cp conftest.in conftest.nl
  14364. - echo >>conftest.nl
  14365. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  14366. - cmp -s conftest.out conftest.nl || break
  14367. - # 10000 chars as input seems more than enough
  14368. - test $lt_ac_count -gt 10 && break
  14369. - lt_ac_count=`expr $lt_ac_count + 1`
  14370. - if test $lt_ac_count -gt $lt_ac_max; then
  14371. - lt_ac_max=$lt_ac_count
  14372. - lt_cv_path_SED=$lt_ac_sed
  14373. - fi
  14374. done
  14375. -done
  14376. +IFS=$as_save_IFS
  14377. + if test -z "$ac_cv_path_SED"; then
  14378. + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  14379. + fi
  14380. +else
  14381. + ac_cv_path_SED=$SED
  14382. +fi
  14383. fi
  14384. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  14385. +$as_echo "$ac_cv_path_SED" >&6; }
  14386. + SED="$ac_cv_path_SED"
  14387. + rm -f conftest.sed
  14388. +
  14389. +test -z "$SED" && SED=sed
  14390. +Xsed="$SED -e 1s/^X//"
  14391. +
  14392. +
  14393. +
  14394. +
  14395. +
  14396. +
  14397. -SED=$lt_cv_path_SED
  14398. -{ echo "$as_me:$LINENO: result: $SED" >&5
  14399. -echo "${ECHO_T}$SED" >&6; }
  14400. -
  14401. -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  14402. -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  14403. -if test "${ac_cv_path_GREP+set}" = set; then
  14404. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14405. -else
  14406. - # Extract the first word of "grep ggrep" to use in msg output
  14407. -if test -z "$GREP"; then
  14408. -set dummy grep ggrep; ac_prog_name=$2
  14409. -if test "${ac_cv_path_GREP+set}" = set; then
  14410. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14411. +
  14412. +
  14413. +
  14414. +
  14415. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  14416. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  14417. +if test "${ac_cv_path_GREP+set}" = set; then :
  14418. + $as_echo_n "(cached) " >&6
  14419. else
  14420. + if test -z "$GREP"; then
  14421. ac_path_GREP_found=false
  14422. -# Loop through the user's path and test for each of PROGNAME-LIST
  14423. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14424. + # Loop through the user's path and test for each of PROGNAME-LIST
  14425. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14426. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  14427. do
  14428. IFS=$as_save_IFS
  14429. test -z "$as_dir" && as_dir=.
  14430. - for ac_prog in grep ggrep; do
  14431. - for ac_exec_ext in '' $ac_executable_extensions; do
  14432. - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  14433. - { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
  14434. - # Check for GNU ac_path_GREP and select it if it is found.
  14435. + for ac_prog in grep ggrep; do
  14436. + for ac_exec_ext in '' $ac_executable_extensions; do
  14437. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  14438. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  14439. +# Check for GNU ac_path_GREP and select it if it is found.
  14440. # Check for GNU $ac_path_GREP
  14441. case `"$ac_path_GREP" --version 2>&1` in
  14442. *GNU*)
  14443. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  14444. *)
  14445. ac_count=0
  14446. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  14447. + $as_echo_n 0123456789 >"conftest.in"
  14448. while :
  14449. do
  14450. cat "conftest.in" "conftest.in" >"conftest.tmp"
  14451. mv "conftest.tmp" "conftest.in"
  14452. cp "conftest.in" "conftest.nl"
  14453. - echo 'GREP' >> "conftest.nl"
  14454. + $as_echo 'GREP' >> "conftest.nl"
  14455. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  14456. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  14457. - ac_count=`expr $ac_count + 1`
  14458. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  14459. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  14460. # Best one so far, save it but keep looking for a better one
  14461. ac_cv_path_GREP="$ac_path_GREP"
  14462. @@ -4336,77 +4398,61 @@
  14463. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  14464. esac
  14465. -
  14466. - $ac_path_GREP_found && break 3
  14467. + $ac_path_GREP_found && break 3
  14468. + done
  14469. + done
  14470. done
  14471. -done
  14472. -
  14473. -done
  14474. IFS=$as_save_IFS
  14475. -
  14476. -
  14477. -fi
  14478. -
  14479. -GREP="$ac_cv_path_GREP"
  14480. -if test -z "$GREP"; then
  14481. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  14482. -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  14483. - { (exit 1); exit 1; }; }
  14484. -fi
  14485. -
  14486. + if test -z "$ac_cv_path_GREP"; then
  14487. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  14488. + fi
  14489. else
  14490. ac_cv_path_GREP=$GREP
  14491. fi
  14492. -
  14493. fi
  14494. -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  14495. -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  14496. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  14497. +$as_echo "$ac_cv_path_GREP" >&6; }
  14498. GREP="$ac_cv_path_GREP"
  14499. -{ echo "$as_me:$LINENO: checking for egrep" >&5
  14500. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  14501. -if test "${ac_cv_path_EGREP+set}" = set; then
  14502. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14503. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  14504. +$as_echo_n "checking for egrep... " >&6; }
  14505. +if test "${ac_cv_path_EGREP+set}" = set; then :
  14506. + $as_echo_n "(cached) " >&6
  14507. else
  14508. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  14509. then ac_cv_path_EGREP="$GREP -E"
  14510. else
  14511. - # Extract the first word of "egrep" to use in msg output
  14512. -if test -z "$EGREP"; then
  14513. -set dummy egrep; ac_prog_name=$2
  14514. -if test "${ac_cv_path_EGREP+set}" = set; then
  14515. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14516. -else
  14517. + if test -z "$EGREP"; then
  14518. ac_path_EGREP_found=false
  14519. -# Loop through the user's path and test for each of PROGNAME-LIST
  14520. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14521. + # Loop through the user's path and test for each of PROGNAME-LIST
  14522. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14523. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  14524. do
  14525. IFS=$as_save_IFS
  14526. test -z "$as_dir" && as_dir=.
  14527. - for ac_prog in egrep; do
  14528. - for ac_exec_ext in '' $ac_executable_extensions; do
  14529. - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  14530. - { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
  14531. - # Check for GNU ac_path_EGREP and select it if it is found.
  14532. + for ac_prog in egrep; do
  14533. + for ac_exec_ext in '' $ac_executable_extensions; do
  14534. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  14535. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  14536. +# Check for GNU ac_path_EGREP and select it if it is found.
  14537. # Check for GNU $ac_path_EGREP
  14538. case `"$ac_path_EGREP" --version 2>&1` in
  14539. *GNU*)
  14540. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  14541. *)
  14542. ac_count=0
  14543. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  14544. + $as_echo_n 0123456789 >"conftest.in"
  14545. while :
  14546. do
  14547. cat "conftest.in" "conftest.in" >"conftest.tmp"
  14548. mv "conftest.tmp" "conftest.in"
  14549. cp "conftest.in" "conftest.nl"
  14550. - echo 'EGREP' >> "conftest.nl"
  14551. + $as_echo 'EGREP' >> "conftest.nl"
  14552. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  14553. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  14554. - ac_count=`expr $ac_count + 1`
  14555. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  14556. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  14557. # Best one so far, save it but keep looking for a better one
  14558. ac_cv_path_EGREP="$ac_path_EGREP"
  14559. @@ -4418,39 +4464,114 @@
  14560. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  14561. esac
  14562. -
  14563. - $ac_path_EGREP_found && break 3
  14564. + $ac_path_EGREP_found && break 3
  14565. + done
  14566. + done
  14567. done
  14568. -done
  14569. -
  14570. -done
  14571. IFS=$as_save_IFS
  14572. -
  14573. -
  14574. + if test -z "$ac_cv_path_EGREP"; then
  14575. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  14576. + fi
  14577. +else
  14578. + ac_cv_path_EGREP=$EGREP
  14579. fi
  14580. -EGREP="$ac_cv_path_EGREP"
  14581. -if test -z "$EGREP"; then
  14582. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  14583. -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  14584. - { (exit 1); exit 1; }; }
  14585. + fi
  14586. fi
  14587. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  14588. +$as_echo "$ac_cv_path_EGREP" >&6; }
  14589. + EGREP="$ac_cv_path_EGREP"
  14590. +
  14591. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  14592. +$as_echo_n "checking for fgrep... " >&6; }
  14593. +if test "${ac_cv_path_FGREP+set}" = set; then :
  14594. + $as_echo_n "(cached) " >&6
  14595. else
  14596. - ac_cv_path_EGREP=$EGREP
  14597. -fi
  14598. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  14599. + then ac_cv_path_FGREP="$GREP -F"
  14600. + else
  14601. + if test -z "$FGREP"; then
  14602. + ac_path_FGREP_found=false
  14603. + # Loop through the user's path and test for each of PROGNAME-LIST
  14604. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14605. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  14606. +do
  14607. + IFS=$as_save_IFS
  14608. + test -z "$as_dir" && as_dir=.
  14609. + for ac_prog in fgrep; do
  14610. + for ac_exec_ext in '' $ac_executable_extensions; do
  14611. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  14612. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  14613. +# Check for GNU ac_path_FGREP and select it if it is found.
  14614. + # Check for GNU $ac_path_FGREP
  14615. +case `"$ac_path_FGREP" --version 2>&1` in
  14616. +*GNU*)
  14617. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  14618. +*)
  14619. + ac_count=0
  14620. + $as_echo_n 0123456789 >"conftest.in"
  14621. + while :
  14622. + do
  14623. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  14624. + mv "conftest.tmp" "conftest.in"
  14625. + cp "conftest.in" "conftest.nl"
  14626. + $as_echo 'FGREP' >> "conftest.nl"
  14627. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  14628. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  14629. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  14630. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  14631. + # Best one so far, save it but keep looking for a better one
  14632. + ac_cv_path_FGREP="$ac_path_FGREP"
  14633. + ac_path_FGREP_max=$ac_count
  14634. + fi
  14635. + # 10*(2^10) chars as input seems more than enough
  14636. + test $ac_count -gt 10 && break
  14637. + done
  14638. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  14639. +esac
  14640. + $ac_path_FGREP_found && break 3
  14641. + done
  14642. + done
  14643. + done
  14644. +IFS=$as_save_IFS
  14645. + if test -z "$ac_cv_path_FGREP"; then
  14646. + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  14647. + fi
  14648. +else
  14649. + ac_cv_path_FGREP=$FGREP
  14650. +fi
  14651. fi
  14652. fi
  14653. -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  14654. -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  14655. - EGREP="$ac_cv_path_EGREP"
  14656. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  14657. +$as_echo "$ac_cv_path_FGREP" >&6; }
  14658. + FGREP="$ac_cv_path_FGREP"
  14659. +
  14660. +
  14661. +test -z "$GREP" && GREP=grep
  14662. +
  14663. +
  14664. +
  14665. +
  14666. +
  14667. +
  14668. +
  14669. +
  14670. +
  14671. +
  14672. +
  14673. +
  14674. +
  14675. +
  14676. +
  14677. +
  14678. # Check whether --with-gnu-ld was given.
  14679. -if test "${with_gnu_ld+set}" = set; then
  14680. +if test "${with_gnu_ld+set}" = set; then :
  14681. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  14682. else
  14683. with_gnu_ld=no
  14684. @@ -4459,8 +4580,8 @@
  14685. ac_prog=ld
  14686. if test "$GCC" = yes; then
  14687. # Check if gcc -print-prog-name=ld gives a path.
  14688. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  14689. -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  14690. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  14691. +$as_echo_n "checking for ld used by $CC... " >&6; }
  14692. case $host in
  14693. *-*-mingw*)
  14694. # gcc leaves a trailing carriage return which upsets mingw
  14695. @@ -4473,9 +4594,9 @@
  14696. [\\/]* | ?:[\\/]*)
  14697. re_direlt='/[^/][^/]*/\.\./'
  14698. # Canonicalize the pathname of ld
  14699. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  14700. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  14701. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  14702. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  14703. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  14704. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  14705. done
  14706. test -z "$LD" && LD="$ac_prog"
  14707. ;;
  14708. @@ -4489,14 +4610,14 @@
  14709. ;;
  14710. esac
  14711. elif test "$with_gnu_ld" = yes; then
  14712. - { echo "$as_me:$LINENO: checking for GNU ld" >&5
  14713. -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  14714. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  14715. +$as_echo_n "checking for GNU ld... " >&6; }
  14716. else
  14717. - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  14718. -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  14719. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  14720. +$as_echo_n "checking for non-GNU ld... " >&6; }
  14721. fi
  14722. -if test "${lt_cv_path_LD+set}" = set; then
  14723. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14724. +if test "${lt_cv_path_LD+set}" = set; then :
  14725. + $as_echo_n "(cached) " >&6
  14726. else
  14727. if test -z "$LD"; then
  14728. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  14729. @@ -4526,19 +4647,17 @@
  14730. LD="$lt_cv_path_LD"
  14731. if test -n "$LD"; then
  14732. - { echo "$as_me:$LINENO: result: $LD" >&5
  14733. -echo "${ECHO_T}$LD" >&6; }
  14734. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  14735. +$as_echo "$LD" >&6; }
  14736. else
  14737. - { echo "$as_me:$LINENO: result: no" >&5
  14738. -echo "${ECHO_T}no" >&6; }
  14739. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14740. +$as_echo "no" >&6; }
  14741. fi
  14742. -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  14743. -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  14744. - { (exit 1); exit 1; }; }
  14745. -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  14746. -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  14747. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  14748. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14749. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  14750. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  14751. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  14752. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  14753. + $as_echo_n "(cached) " >&6
  14754. else
  14755. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  14756. case `$LD -v 2>&1 </dev/null` in
  14757. @@ -4550,40 +4669,22 @@
  14758. ;;
  14759. esac
  14760. fi
  14761. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  14762. -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  14763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  14764. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  14765. with_gnu_ld=$lt_cv_prog_gnu_ld
  14766. -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  14767. -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  14768. -if test "${lt_cv_ld_reload_flag+set}" = set; then
  14769. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14770. -else
  14771. - lt_cv_ld_reload_flag='-r'
  14772. -fi
  14773. -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  14774. -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  14775. -reload_flag=$lt_cv_ld_reload_flag
  14776. -case $reload_flag in
  14777. -"" | " "*) ;;
  14778. -*) reload_flag=" $reload_flag" ;;
  14779. -esac
  14780. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  14781. -case $host_os in
  14782. - darwin*)
  14783. - if test "$GCC" = yes; then
  14784. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  14785. - else
  14786. - reload_cmds='$LD$reload_flag -o $output$reload_objs'
  14787. - fi
  14788. - ;;
  14789. -esac
  14790. -
  14791. -{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  14792. -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
  14793. -if test "${lt_cv_path_NM+set}" = set; then
  14794. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14795. +
  14796. +
  14797. +
  14798. +
  14799. +
  14800. +
  14801. +
  14802. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  14803. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  14804. +if test "${lt_cv_path_NM+set}" = set; then :
  14805. + $as_echo_n "(cached) " >&6
  14806. else
  14807. if test -n "$NM"; then
  14808. # Let the user override the test.
  14809. @@ -4626,2140 +4727,1082 @@
  14810. done
  14811. IFS="$lt_save_ifs"
  14812. done
  14813. - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  14814. + : ${lt_cv_path_NM=no}
  14815. fi
  14816. fi
  14817. -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  14818. -echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  14819. -NM="$lt_cv_path_NM"
  14820. -
  14821. -{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
  14822. -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
  14823. -if test "${lt_cv_deplibs_check_method+set}" = set; then
  14824. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  14826. +$as_echo "$lt_cv_path_NM" >&6; }
  14827. +if test "$lt_cv_path_NM" != "no"; then
  14828. + NM="$lt_cv_path_NM"
  14829. else
  14830. - lt_cv_file_magic_cmd='$MAGIC_CMD'
  14831. -lt_cv_file_magic_test_file=
  14832. -lt_cv_deplibs_check_method='unknown'
  14833. -# Need to set the preceding variable on all platforms that support
  14834. -# interlibrary dependencies.
  14835. -# 'none' -- dependencies not supported.
  14836. -# `unknown' -- same as none, but documents that we really don't know.
  14837. -# 'pass_all' -- all dependencies passed with no checks.
  14838. -# 'test_compile' -- check by making test program.
  14839. -# 'file_magic [[regex]]' -- check by looking for files in library path
  14840. -# which responds to the $file_magic_cmd with a given extended regex.
  14841. -# If you have `file' or equivalent on your system and you're not sure
  14842. -# whether `pass_all' will *always* work, you probably want this one.
  14843. + # Didn't find any BSD compatible name lister, look for dumpbin.
  14844. + if test -n "$ac_tool_prefix"; then
  14845. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  14846. + do
  14847. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  14848. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  14849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14850. +$as_echo_n "checking for $ac_word... " >&6; }
  14851. +if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  14852. + $as_echo_n "(cached) " >&6
  14853. +else
  14854. + if test -n "$DUMPBIN"; then
  14855. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  14856. +else
  14857. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14858. +for as_dir in $PATH
  14859. +do
  14860. + IFS=$as_save_IFS
  14861. + test -z "$as_dir" && as_dir=.
  14862. + for ac_exec_ext in '' $ac_executable_extensions; do
  14863. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14864. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  14865. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14866. + break 2
  14867. + fi
  14868. +done
  14869. + done
  14870. +IFS=$as_save_IFS
  14871. -case $host_os in
  14872. -aix4* | aix5*)
  14873. - lt_cv_deplibs_check_method=pass_all
  14874. - ;;
  14875. +fi
  14876. +fi
  14877. +DUMPBIN=$ac_cv_prog_DUMPBIN
  14878. +if test -n "$DUMPBIN"; then
  14879. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  14880. +$as_echo "$DUMPBIN" >&6; }
  14881. +else
  14882. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14883. +$as_echo "no" >&6; }
  14884. +fi
  14885. -beos*)
  14886. - lt_cv_deplibs_check_method=pass_all
  14887. - ;;
  14888. -bsdi[45]*)
  14889. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  14890. - lt_cv_file_magic_cmd='/usr/bin/file -L'
  14891. - lt_cv_file_magic_test_file=/shlib/libc.so
  14892. - ;;
  14893. + test -n "$DUMPBIN" && break
  14894. + done
  14895. +fi
  14896. +if test -z "$DUMPBIN"; then
  14897. + ac_ct_DUMPBIN=$DUMPBIN
  14898. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  14899. +do
  14900. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  14901. +set dummy $ac_prog; ac_word=$2
  14902. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14903. +$as_echo_n "checking for $ac_word... " >&6; }
  14904. +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  14905. + $as_echo_n "(cached) " >&6
  14906. +else
  14907. + if test -n "$ac_ct_DUMPBIN"; then
  14908. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  14909. +else
  14910. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14911. +for as_dir in $PATH
  14912. +do
  14913. + IFS=$as_save_IFS
  14914. + test -z "$as_dir" && as_dir=.
  14915. + for ac_exec_ext in '' $ac_executable_extensions; do
  14916. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14917. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  14918. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14919. + break 2
  14920. + fi
  14921. +done
  14922. + done
  14923. +IFS=$as_save_IFS
  14924. -cygwin*)
  14925. - # func_win32_libid is a shell function defined in ltmain.sh
  14926. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  14927. - lt_cv_file_magic_cmd='func_win32_libid'
  14928. - ;;
  14929. +fi
  14930. +fi
  14931. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  14932. +if test -n "$ac_ct_DUMPBIN"; then
  14933. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  14934. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  14935. +else
  14936. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14937. +$as_echo "no" >&6; }
  14938. +fi
  14939. -mingw* | pw32*)
  14940. - # Base MSYS/MinGW do not provide the 'file' command needed by
  14941. - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
  14942. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  14943. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  14944. - ;;
  14945. -darwin* | rhapsody*)
  14946. - lt_cv_deplibs_check_method=pass_all
  14947. - ;;
  14948. + test -n "$ac_ct_DUMPBIN" && break
  14949. +done
  14950. -freebsd* | kfreebsd*-gnu | dragonfly*)
  14951. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  14952. - case $host_cpu in
  14953. - i*86 )
  14954. - # Not sure whether the presence of OpenBSD here was a mistake.
  14955. - # Let's accept both of them until this is cleared up.
  14956. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  14957. - lt_cv_file_magic_cmd=/usr/bin/file
  14958. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  14959. - ;;
  14960. - esac
  14961. + if test "x$ac_ct_DUMPBIN" = x; then
  14962. + DUMPBIN=":"
  14963. else
  14964. - lt_cv_deplibs_check_method=pass_all
  14965. + case $cross_compiling:$ac_tool_warned in
  14966. +yes:)
  14967. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14968. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14969. +ac_tool_warned=yes ;;
  14970. +esac
  14971. + DUMPBIN=$ac_ct_DUMPBIN
  14972. fi
  14973. - ;;
  14974. -
  14975. -gnu*)
  14976. - lt_cv_deplibs_check_method=pass_all
  14977. - ;;
  14978. +fi
  14979. -hpux10.20* | hpux11*)
  14980. - lt_cv_file_magic_cmd=/usr/bin/file
  14981. - case $host_cpu in
  14982. - ia64*)
  14983. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  14984. - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  14985. - ;;
  14986. - hppa*64*)
  14987. - 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]'
  14988. - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  14989. - ;;
  14990. - *)
  14991. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  14992. - lt_cv_file_magic_test_file=/usr/lib/libc.sl
  14993. - ;;
  14994. - esac
  14995. - ;;
  14996. -interix3*)
  14997. - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  14998. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  14999. - ;;
  15000. + if test "$DUMPBIN" != ":"; then
  15001. + NM="$DUMPBIN"
  15002. + fi
  15003. +fi
  15004. +test -z "$NM" && NM=nm
  15005. -irix5* | irix6* | nonstopux*)
  15006. - case $LD in
  15007. - *-32|*"-32 ") libmagic=32-bit;;
  15008. - *-n32|*"-n32 ") libmagic=N32;;
  15009. - *-64|*"-64 ") libmagic=64-bit;;
  15010. - *) libmagic=never-match;;
  15011. - esac
  15012. - lt_cv_deplibs_check_method=pass_all
  15013. - ;;
  15014. -# This must be Linux ELF.
  15015. -linux*)
  15016. - lt_cv_deplibs_check_method=pass_all
  15017. - ;;
  15018. -netbsd*)
  15019. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  15020. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  15021. - else
  15022. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  15023. - fi
  15024. - ;;
  15025. -newos6*)
  15026. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  15027. - lt_cv_file_magic_cmd=/usr/bin/file
  15028. - lt_cv_file_magic_test_file=/usr/lib/libnls.so
  15029. - ;;
  15030. -nto-qnx*)
  15031. - lt_cv_deplibs_check_method=unknown
  15032. - ;;
  15033. -openbsd*)
  15034. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  15035. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  15036. - else
  15037. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  15038. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  15039. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  15040. +if test "${lt_cv_nm_interface+set}" = set; then :
  15041. + $as_echo_n "(cached) " >&6
  15042. +else
  15043. + lt_cv_nm_interface="BSD nm"
  15044. + echo "int some_variable = 0;" > conftest.$ac_ext
  15045. + (eval echo "\"\$as_me:4858: $ac_compile\"" >&5)
  15046. + (eval "$ac_compile" 2>conftest.err)
  15047. + cat conftest.err >&5
  15048. + (eval echo "\"\$as_me:4861: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  15049. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  15050. + cat conftest.err >&5
  15051. + (eval echo "\"\$as_me:4864: output\"" >&5)
  15052. + cat conftest.out >&5
  15053. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  15054. + lt_cv_nm_interface="MS dumpbin"
  15055. fi
  15056. - ;;
  15057. -
  15058. -osf3* | osf4* | osf5*)
  15059. - lt_cv_deplibs_check_method=pass_all
  15060. - ;;
  15061. + rm -f conftest*
  15062. +fi
  15063. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  15064. +$as_echo "$lt_cv_nm_interface" >&6; }
  15065. -solaris*)
  15066. - lt_cv_deplibs_check_method=pass_all
  15067. - ;;
  15068. +# find the maximum length of command line arguments
  15069. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  15070. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  15071. +if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  15072. + $as_echo_n "(cached) " >&6
  15073. +else
  15074. + i=0
  15075. + teststring="ABCD"
  15076. -sysv4 | sysv4.3*)
  15077. - case $host_vendor in
  15078. - motorola)
  15079. - 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]'
  15080. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  15081. - ;;
  15082. - ncr)
  15083. - lt_cv_deplibs_check_method=pass_all
  15084. - ;;
  15085. - sequent)
  15086. - lt_cv_file_magic_cmd='/bin/file'
  15087. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  15088. - ;;
  15089. - sni)
  15090. - lt_cv_file_magic_cmd='/bin/file'
  15091. - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  15092. - lt_cv_file_magic_test_file=/lib/libc.so
  15093. - ;;
  15094. - siemens)
  15095. - lt_cv_deplibs_check_method=pass_all
  15096. - ;;
  15097. - pc)
  15098. - lt_cv_deplibs_check_method=pass_all
  15099. + case $build_os in
  15100. + msdosdjgpp*)
  15101. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  15102. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  15103. + # during glob expansion). Even if it were fixed, the result of this
  15104. + # check would be larger than it should be.
  15105. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  15106. ;;
  15107. - esac
  15108. - ;;
  15109. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  15110. - lt_cv_deplibs_check_method=pass_all
  15111. - ;;
  15112. -esac
  15113. + gnu*)
  15114. + # Under GNU Hurd, this test is not required because there is
  15115. + # no limit to the length of command line arguments.
  15116. + # Libtool will interpret -1 as no limit whatsoever
  15117. + lt_cv_sys_max_cmd_len=-1;
  15118. + ;;
  15119. -fi
  15120. -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  15121. -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  15122. -file_magic_cmd=$lt_cv_file_magic_cmd
  15123. -deplibs_check_method=$lt_cv_deplibs_check_method
  15124. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  15125. + cygwin* | mingw* | cegcc*)
  15126. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  15127. + # about 5 minutes as the teststring grows exponentially.
  15128. + # Worse, since 9x/ME are not pre-emptively multitasking,
  15129. + # you end up with a "frozen" computer, even though with patience
  15130. + # the test eventually succeeds (with a max line length of 256k).
  15131. + # Instead, let's just punt: use the minimum linelength reported by
  15132. + # all of the supported platforms: 8192 (on NT/2K/XP).
  15133. + lt_cv_sys_max_cmd_len=8192;
  15134. + ;;
  15135. + amigaos*)
  15136. + # On AmigaOS with pdksh, this test takes hours, literally.
  15137. + # So we just punt and use a minimum line length of 8192.
  15138. + lt_cv_sys_max_cmd_len=8192;
  15139. + ;;
  15140. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  15141. + # This has been around since 386BSD, at least. Likely further.
  15142. + if test -x /sbin/sysctl; then
  15143. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  15144. + elif test -x /usr/sbin/sysctl; then
  15145. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  15146. + else
  15147. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  15148. + fi
  15149. + # And add a safety zone
  15150. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  15151. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  15152. + ;;
  15153. + interix*)
  15154. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  15155. + lt_cv_sys_max_cmd_len=196608
  15156. + ;;
  15157. -# If no C compiler was specified, use CC.
  15158. -LTCC=${LTCC-"$CC"}
  15159. -
  15160. -# If no C compiler flags were specified, use CFLAGS.
  15161. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  15162. -
  15163. -# Allow CC to be a program name with arguments.
  15164. -compiler=$CC
  15165. + osf*)
  15166. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  15167. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  15168. + # nice to cause kernel panics so lets avoid the loop below.
  15169. + # First set a reasonable default.
  15170. + lt_cv_sys_max_cmd_len=16384
  15171. + #
  15172. + if test -x /sbin/sysconfig; then
  15173. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  15174. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  15175. + esac
  15176. + fi
  15177. + ;;
  15178. + sco3.2v5*)
  15179. + lt_cv_sys_max_cmd_len=102400
  15180. + ;;
  15181. + sysv5* | sco5v6* | sysv4.2uw2*)
  15182. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  15183. + if test -n "$kargmax"; then
  15184. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  15185. + else
  15186. + lt_cv_sys_max_cmd_len=32768
  15187. + fi
  15188. + ;;
  15189. + *)
  15190. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  15191. + if test -n "$lt_cv_sys_max_cmd_len"; then
  15192. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  15193. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  15194. + else
  15195. + # Make teststring a little bigger before we do anything with it.
  15196. + # a 1K string should be a reasonable start.
  15197. + for i in 1 2 3 4 5 6 7 8 ; do
  15198. + teststring=$teststring$teststring
  15199. + done
  15200. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  15201. + # If test is not a shell built-in, we'll probably end up computing a
  15202. + # maximum length that is only half of the actual maximum length, but
  15203. + # we can't tell.
  15204. + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  15205. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  15206. + test $i != 17 # 1/2 MB should be enough
  15207. + do
  15208. + i=`expr $i + 1`
  15209. + teststring=$teststring$teststring
  15210. + done
  15211. + # Only check the string length outside the loop.
  15212. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  15213. + teststring=
  15214. + # Add a significant safety factor because C++ compilers can tack on
  15215. + # massive amounts of additional arguments before passing them to the
  15216. + # linker. It appears as though 1/2 is a usable value.
  15217. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  15218. + fi
  15219. + ;;
  15220. + esac
  15221. +fi
  15222. -# Check whether --enable-libtool-lock was given.
  15223. -if test "${enable_libtool_lock+set}" = set; then
  15224. - enableval=$enable_libtool_lock;
  15225. +if test -n $lt_cv_sys_max_cmd_len ; then
  15226. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  15227. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  15228. +else
  15229. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  15230. +$as_echo "none" >&6; }
  15231. fi
  15232. +max_cmd_len=$lt_cv_sys_max_cmd_len
  15233. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  15234. -# Some flags need to be propagated to the compiler or linker for good
  15235. -# libtool support.
  15236. -case $host in
  15237. -ia64-*-hpux*)
  15238. - # Find out which ABI we are using.
  15239. - echo 'int i;' > conftest.$ac_ext
  15240. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15241. - (eval $ac_compile) 2>&5
  15242. - ac_status=$?
  15243. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15244. - (exit $ac_status); }; then
  15245. - case `/usr/bin/file conftest.$ac_objext` in
  15246. - *ELF-32*)
  15247. - HPUX_IA64_MODE="32"
  15248. - ;;
  15249. - *ELF-64*)
  15250. - HPUX_IA64_MODE="64"
  15251. - ;;
  15252. - esac
  15253. - fi
  15254. - rm -rf conftest*
  15255. - ;;
  15256. -*-*-irix6*)
  15257. - # Find out which ABI we are using.
  15258. - echo '#line 4862 "configure"' > conftest.$ac_ext
  15259. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15260. - (eval $ac_compile) 2>&5
  15261. - ac_status=$?
  15262. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15263. - (exit $ac_status); }; then
  15264. - if test "$lt_cv_prog_gnu_ld" = yes; then
  15265. - case `/usr/bin/file conftest.$ac_objext` in
  15266. - *32-bit*)
  15267. - LD="${LD-ld} -melf32bsmip"
  15268. - ;;
  15269. - *N32*)
  15270. - LD="${LD-ld} -melf32bmipn32"
  15271. - ;;
  15272. - *64-bit*)
  15273. - LD="${LD-ld} -melf64bmip"
  15274. - ;;
  15275. - esac
  15276. - else
  15277. - case `/usr/bin/file conftest.$ac_objext` in
  15278. - *32-bit*)
  15279. - LD="${LD-ld} -32"
  15280. - ;;
  15281. - *N32*)
  15282. - LD="${LD-ld} -n32"
  15283. - ;;
  15284. - *64-bit*)
  15285. - LD="${LD-ld} -64"
  15286. - ;;
  15287. - esac
  15288. - fi
  15289. - fi
  15290. - rm -rf conftest*
  15291. - ;;
  15292. -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
  15293. - # Find out which ABI we are using.
  15294. - echo 'int i;' > conftest.$ac_ext
  15295. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15296. - (eval $ac_compile) 2>&5
  15297. - ac_status=$?
  15298. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15299. - (exit $ac_status); }; then
  15300. - case `/usr/bin/file conftest.o` in
  15301. - *32-bit*)
  15302. - case $host in
  15303. - x86_64-*linux*)
  15304. - LD="${LD-ld} -m elf_i386"
  15305. - ;;
  15306. - ppc64-*linux*|powerpc64-*linux*)
  15307. - LD="${LD-ld} -m elf32ppclinux"
  15308. - ;;
  15309. - s390x-*linux*)
  15310. - LD="${LD-ld} -m elf_s390"
  15311. - ;;
  15312. - sparc64-*linux*)
  15313. - LD="${LD-ld} -m elf32_sparc"
  15314. - ;;
  15315. - esac
  15316. - ;;
  15317. - *64-bit*)
  15318. - case $host in
  15319. - x86_64-*linux*)
  15320. - LD="${LD-ld} -m elf_x86_64"
  15321. - ;;
  15322. - ppc*-*linux*|powerpc*-*linux*)
  15323. - LD="${LD-ld} -m elf64ppc"
  15324. - ;;
  15325. - s390*-*linux*)
  15326. - LD="${LD-ld} -m elf64_s390"
  15327. - ;;
  15328. - sparc*-*linux*)
  15329. - LD="${LD-ld} -m elf64_sparc"
  15330. - ;;
  15331. - esac
  15332. - ;;
  15333. - esac
  15334. - fi
  15335. - rm -rf conftest*
  15336. - ;;
  15337. -*-*-sco3.2v5*)
  15338. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  15339. - SAVE_CFLAGS="$CFLAGS"
  15340. - CFLAGS="$CFLAGS -belf"
  15341. - { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  15342. -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  15343. -if test "${lt_cv_cc_needs_belf+set}" = set; then
  15344. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15345. -else
  15346. - ac_ext=c
  15347. -ac_cpp='$CPP $CPPFLAGS'
  15348. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15349. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15350. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15351. - cat >conftest.$ac_ext <<_ACEOF
  15352. -/* confdefs.h. */
  15353. -_ACEOF
  15354. -cat confdefs.h >>conftest.$ac_ext
  15355. -cat >>conftest.$ac_ext <<_ACEOF
  15356. -/* end confdefs.h. */
  15357. -int
  15358. -main ()
  15359. -{
  15360. +: ${CP="cp -f"}
  15361. +: ${MV="mv -f"}
  15362. +: ${RM="rm -f"}
  15363. +
  15364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  15365. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  15366. +# Try some XSI features
  15367. +xsi_shell=no
  15368. +( _lt_dummy="a/b/c"
  15369. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  15370. + = c,a/b,, \
  15371. + && eval 'test $(( 1 + 1 )) -eq 2 \
  15372. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  15373. + && xsi_shell=yes
  15374. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  15375. +$as_echo "$xsi_shell" >&6; }
  15376. +
  15377. +
  15378. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  15379. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  15380. +lt_shell_append=no
  15381. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  15382. + >/dev/null 2>&1 \
  15383. + && lt_shell_append=yes
  15384. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  15385. +$as_echo "$lt_shell_append" >&6; }
  15386. - ;
  15387. - return 0;
  15388. -}
  15389. -_ACEOF
  15390. -rm -f conftest.$ac_objext conftest$ac_exeext
  15391. -if { (ac_try="$ac_link"
  15392. -case "(($ac_try" in
  15393. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15394. - *) ac_try_echo=$ac_try;;
  15395. -esac
  15396. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15397. - (eval "$ac_link") 2>conftest.er1
  15398. - ac_status=$?
  15399. - grep -v '^ *+' conftest.er1 >conftest.err
  15400. - rm -f conftest.er1
  15401. - cat conftest.err >&5
  15402. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15403. - (exit $ac_status); } &&
  15404. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  15405. - { (case "(($ac_try" in
  15406. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15407. - *) ac_try_echo=$ac_try;;
  15408. -esac
  15409. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15410. - (eval "$ac_try") 2>&5
  15411. - ac_status=$?
  15412. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15413. - (exit $ac_status); }; } &&
  15414. - { ac_try='test -s conftest$ac_exeext'
  15415. - { (case "(($ac_try" in
  15416. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15417. - *) ac_try_echo=$ac_try;;
  15418. -esac
  15419. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15420. - (eval "$ac_try") 2>&5
  15421. - ac_status=$?
  15422. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15423. - (exit $ac_status); }; }; then
  15424. - lt_cv_cc_needs_belf=yes
  15425. -else
  15426. - echo "$as_me: failed program was:" >&5
  15427. -sed 's/^/| /' conftest.$ac_ext >&5
  15428. - lt_cv_cc_needs_belf=no
  15429. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  15430. + lt_unset=unset
  15431. +else
  15432. + lt_unset=false
  15433. fi
  15434. -rm -f core conftest.err conftest.$ac_objext \
  15435. - conftest$ac_exeext conftest.$ac_ext
  15436. - ac_ext=c
  15437. -ac_cpp='$CPP $CPPFLAGS'
  15438. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15439. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15440. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15441. -fi
  15442. -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  15443. -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  15444. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  15445. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  15446. - CFLAGS="$SAVE_CFLAGS"
  15447. - fi
  15448. +
  15449. +
  15450. +
  15451. +# test EBCDIC or ASCII
  15452. +case `echo X|tr X '\101'` in
  15453. + A) # ASCII based system
  15454. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  15455. + lt_SP2NL='tr \040 \012'
  15456. + lt_NL2SP='tr \015\012 \040\040'
  15457. ;;
  15458. -sparc*-*solaris*)
  15459. - # Find out which ABI we are using.
  15460. - echo 'int i;' > conftest.$ac_ext
  15461. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  15462. - (eval $ac_compile) 2>&5
  15463. - ac_status=$?
  15464. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15465. - (exit $ac_status); }; then
  15466. - case `/usr/bin/file conftest.o` in
  15467. - *64-bit*)
  15468. - case $lt_cv_prog_gnu_ld in
  15469. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  15470. - *) LD="${LD-ld} -64" ;;
  15471. - esac
  15472. - ;;
  15473. - esac
  15474. - fi
  15475. - rm -rf conftest*
  15476. + *) # EBCDIC based system
  15477. + lt_SP2NL='tr \100 \n'
  15478. + lt_NL2SP='tr \r\n \100\100'
  15479. ;;
  15480. +esac
  15481. -esac
  15482. -need_locks="$enable_libtool_lock"
  15483. -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  15484. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  15485. -if test "${ac_cv_header_stdc+set}" = set; then
  15486. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15487. -else
  15488. - cat >conftest.$ac_ext <<_ACEOF
  15489. -/* confdefs.h. */
  15490. -_ACEOF
  15491. -cat confdefs.h >>conftest.$ac_ext
  15492. -cat >>conftest.$ac_ext <<_ACEOF
  15493. -/* end confdefs.h. */
  15494. -#include <stdlib.h>
  15495. -#include <stdarg.h>
  15496. -#include <string.h>
  15497. -#include <float.h>
  15498. -int
  15499. -main ()
  15500. -{
  15501. - ;
  15502. - return 0;
  15503. -}
  15504. -_ACEOF
  15505. -rm -f conftest.$ac_objext
  15506. -if { (ac_try="$ac_compile"
  15507. -case "(($ac_try" in
  15508. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15509. - *) ac_try_echo=$ac_try;;
  15510. -esac
  15511. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15512. - (eval "$ac_compile") 2>conftest.er1
  15513. - ac_status=$?
  15514. - grep -v '^ *+' conftest.er1 >conftest.err
  15515. - rm -f conftest.er1
  15516. - cat conftest.err >&5
  15517. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15518. - (exit $ac_status); } &&
  15519. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  15520. - { (case "(($ac_try" in
  15521. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15522. - *) ac_try_echo=$ac_try;;
  15523. +
  15524. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  15525. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  15526. +if test "${lt_cv_ld_reload_flag+set}" = set; then :
  15527. + $as_echo_n "(cached) " >&6
  15528. +else
  15529. + lt_cv_ld_reload_flag='-r'
  15530. +fi
  15531. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  15532. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  15533. +reload_flag=$lt_cv_ld_reload_flag
  15534. +case $reload_flag in
  15535. +"" | " "*) ;;
  15536. +*) reload_flag=" $reload_flag" ;;
  15537. esac
  15538. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15539. - (eval "$ac_try") 2>&5
  15540. - ac_status=$?
  15541. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15542. - (exit $ac_status); }; } &&
  15543. - { ac_try='test -s conftest.$ac_objext'
  15544. - { (case "(($ac_try" in
  15545. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15546. - *) ac_try_echo=$ac_try;;
  15547. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  15548. +case $host_os in
  15549. + darwin*)
  15550. + if test "$GCC" = yes; then
  15551. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  15552. + else
  15553. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  15554. + fi
  15555. + ;;
  15556. esac
  15557. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15558. - (eval "$ac_try") 2>&5
  15559. - ac_status=$?
  15560. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15561. - (exit $ac_status); }; }; then
  15562. - ac_cv_header_stdc=yes
  15563. -else
  15564. - echo "$as_me: failed program was:" >&5
  15565. -sed 's/^/| /' conftest.$ac_ext >&5
  15566. - ac_cv_header_stdc=no
  15567. -fi
  15568. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15569. -if test $ac_cv_header_stdc = yes; then
  15570. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  15571. - cat >conftest.$ac_ext <<_ACEOF
  15572. -/* confdefs.h. */
  15573. -_ACEOF
  15574. -cat confdefs.h >>conftest.$ac_ext
  15575. -cat >>conftest.$ac_ext <<_ACEOF
  15576. -/* end confdefs.h. */
  15577. -#include <string.h>
  15578. -_ACEOF
  15579. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15580. - $EGREP "memchr" >/dev/null 2>&1; then
  15581. - :
  15582. -else
  15583. - ac_cv_header_stdc=no
  15584. -fi
  15585. -rm -f conftest*
  15586. -fi
  15587. -if test $ac_cv_header_stdc = yes; then
  15588. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  15589. - cat >conftest.$ac_ext <<_ACEOF
  15590. -/* confdefs.h. */
  15591. -_ACEOF
  15592. -cat confdefs.h >>conftest.$ac_ext
  15593. -cat >>conftest.$ac_ext <<_ACEOF
  15594. -/* end confdefs.h. */
  15595. -#include <stdlib.h>
  15596. -_ACEOF
  15597. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15598. - $EGREP "free" >/dev/null 2>&1; then
  15599. - :
  15600. -else
  15601. - ac_cv_header_stdc=no
  15602. -fi
  15603. -rm -f conftest*
  15604. -fi
  15605. -if test $ac_cv_header_stdc = yes; then
  15606. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  15607. - if test "$cross_compiling" = yes; then
  15608. - :
  15609. +if test -n "$ac_tool_prefix"; then
  15610. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  15611. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  15612. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15613. +$as_echo_n "checking for $ac_word... " >&6; }
  15614. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  15615. + $as_echo_n "(cached) " >&6
  15616. else
  15617. - cat >conftest.$ac_ext <<_ACEOF
  15618. -/* confdefs.h. */
  15619. -_ACEOF
  15620. -cat confdefs.h >>conftest.$ac_ext
  15621. -cat >>conftest.$ac_ext <<_ACEOF
  15622. -/* end confdefs.h. */
  15623. -#include <ctype.h>
  15624. -#include <stdlib.h>
  15625. -#if ((' ' & 0x0FF) == 0x020)
  15626. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  15627. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  15628. -#else
  15629. -# define ISLOWER(c) \
  15630. - (('a' <= (c) && (c) <= 'i') \
  15631. - || ('j' <= (c) && (c) <= 'r') \
  15632. - || ('s' <= (c) && (c) <= 'z'))
  15633. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  15634. -#endif
  15635. -
  15636. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  15637. -int
  15638. -main ()
  15639. -{
  15640. - int i;
  15641. - for (i = 0; i < 256; i++)
  15642. - if (XOR (islower (i), ISLOWER (i))
  15643. - || toupper (i) != TOUPPER (i))
  15644. - return 2;
  15645. - return 0;
  15646. -}
  15647. -_ACEOF
  15648. -rm -f conftest$ac_exeext
  15649. -if { (ac_try="$ac_link"
  15650. -case "(($ac_try" in
  15651. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15652. - *) ac_try_echo=$ac_try;;
  15653. -esac
  15654. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15655. - (eval "$ac_link") 2>&5
  15656. - ac_status=$?
  15657. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15658. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  15659. - { (case "(($ac_try" in
  15660. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15661. - *) ac_try_echo=$ac_try;;
  15662. -esac
  15663. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15664. - (eval "$ac_try") 2>&5
  15665. - ac_status=$?
  15666. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15667. - (exit $ac_status); }; }; then
  15668. - :
  15669. -else
  15670. - echo "$as_me: program exited with status $ac_status" >&5
  15671. -echo "$as_me: failed program was:" >&5
  15672. -sed 's/^/| /' conftest.$ac_ext >&5
  15673. -
  15674. -( exit $ac_status )
  15675. -ac_cv_header_stdc=no
  15676. -fi
  15677. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15678. -fi
  15679. -
  15680. -
  15681. -fi
  15682. -fi
  15683. -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  15684. -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  15685. -if test $ac_cv_header_stdc = yes; then
  15686. -
  15687. -cat >>confdefs.h <<\_ACEOF
  15688. -#define STDC_HEADERS 1
  15689. -_ACEOF
  15690. -
  15691. -fi
  15692. -
  15693. -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  15694. -
  15695. -
  15696. -
  15697. -
  15698. -
  15699. -
  15700. -
  15701. -
  15702. -
  15703. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  15704. - inttypes.h stdint.h unistd.h
  15705. -do
  15706. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15707. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  15708. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  15709. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15710. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15711. -else
  15712. - cat >conftest.$ac_ext <<_ACEOF
  15713. -/* confdefs.h. */
  15714. -_ACEOF
  15715. -cat confdefs.h >>conftest.$ac_ext
  15716. -cat >>conftest.$ac_ext <<_ACEOF
  15717. -/* end confdefs.h. */
  15718. -$ac_includes_default
  15719. -
  15720. -#include <$ac_header>
  15721. -_ACEOF
  15722. -rm -f conftest.$ac_objext
  15723. -if { (ac_try="$ac_compile"
  15724. -case "(($ac_try" in
  15725. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15726. - *) ac_try_echo=$ac_try;;
  15727. -esac
  15728. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15729. - (eval "$ac_compile") 2>conftest.er1
  15730. - ac_status=$?
  15731. - grep -v '^ *+' conftest.er1 >conftest.err
  15732. - rm -f conftest.er1
  15733. - cat conftest.err >&5
  15734. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15735. - (exit $ac_status); } &&
  15736. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  15737. - { (case "(($ac_try" in
  15738. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15739. - *) ac_try_echo=$ac_try;;
  15740. -esac
  15741. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15742. - (eval "$ac_try") 2>&5
  15743. - ac_status=$?
  15744. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15745. - (exit $ac_status); }; } &&
  15746. - { ac_try='test -s conftest.$ac_objext'
  15747. - { (case "(($ac_try" in
  15748. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15749. - *) ac_try_echo=$ac_try;;
  15750. -esac
  15751. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15752. - (eval "$ac_try") 2>&5
  15753. - ac_status=$?
  15754. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15755. - (exit $ac_status); }; }; then
  15756. - eval "$as_ac_Header=yes"
  15757. -else
  15758. - echo "$as_me: failed program was:" >&5
  15759. -sed 's/^/| /' conftest.$ac_ext >&5
  15760. -
  15761. - eval "$as_ac_Header=no"
  15762. -fi
  15763. -
  15764. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15765. -fi
  15766. -ac_res=`eval echo '${'$as_ac_Header'}'`
  15767. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  15768. -echo "${ECHO_T}$ac_res" >&6; }
  15769. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  15770. - cat >>confdefs.h <<_ACEOF
  15771. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15772. -_ACEOF
  15773. -
  15774. -fi
  15775. -
  15776. -done
  15777. -
  15778. -
  15779. -
  15780. -for ac_header in dlfcn.h
  15781. -do
  15782. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15783. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15784. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  15785. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  15786. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15787. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15788. -fi
  15789. -ac_res=`eval echo '${'$as_ac_Header'}'`
  15790. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  15791. -echo "${ECHO_T}$ac_res" >&6; }
  15792. -else
  15793. - # Is the header compilable?
  15794. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  15795. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  15796. -cat >conftest.$ac_ext <<_ACEOF
  15797. -/* confdefs.h. */
  15798. -_ACEOF
  15799. -cat confdefs.h >>conftest.$ac_ext
  15800. -cat >>conftest.$ac_ext <<_ACEOF
  15801. -/* end confdefs.h. */
  15802. -$ac_includes_default
  15803. -#include <$ac_header>
  15804. -_ACEOF
  15805. -rm -f conftest.$ac_objext
  15806. -if { (ac_try="$ac_compile"
  15807. -case "(($ac_try" in
  15808. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15809. - *) ac_try_echo=$ac_try;;
  15810. -esac
  15811. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15812. - (eval "$ac_compile") 2>conftest.er1
  15813. - ac_status=$?
  15814. - grep -v '^ *+' conftest.er1 >conftest.err
  15815. - rm -f conftest.er1
  15816. - cat conftest.err >&5
  15817. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15818. - (exit $ac_status); } &&
  15819. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  15820. - { (case "(($ac_try" in
  15821. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15822. - *) ac_try_echo=$ac_try;;
  15823. -esac
  15824. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15825. - (eval "$ac_try") 2>&5
  15826. - ac_status=$?
  15827. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15828. - (exit $ac_status); }; } &&
  15829. - { ac_try='test -s conftest.$ac_objext'
  15830. - { (case "(($ac_try" in
  15831. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15832. - *) ac_try_echo=$ac_try;;
  15833. -esac
  15834. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15835. - (eval "$ac_try") 2>&5
  15836. - ac_status=$?
  15837. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15838. - (exit $ac_status); }; }; then
  15839. - ac_header_compiler=yes
  15840. -else
  15841. - echo "$as_me: failed program was:" >&5
  15842. -sed 's/^/| /' conftest.$ac_ext >&5
  15843. -
  15844. - ac_header_compiler=no
  15845. -fi
  15846. -
  15847. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15848. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15849. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  15850. -
  15851. -# Is the header present?
  15852. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  15853. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  15854. -cat >conftest.$ac_ext <<_ACEOF
  15855. -/* confdefs.h. */
  15856. -_ACEOF
  15857. -cat confdefs.h >>conftest.$ac_ext
  15858. -cat >>conftest.$ac_ext <<_ACEOF
  15859. -/* end confdefs.h. */
  15860. -#include <$ac_header>
  15861. -_ACEOF
  15862. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  15863. -case "(($ac_try" in
  15864. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15865. - *) ac_try_echo=$ac_try;;
  15866. -esac
  15867. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15868. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15869. - ac_status=$?
  15870. - grep -v '^ *+' conftest.er1 >conftest.err
  15871. - rm -f conftest.er1
  15872. - cat conftest.err >&5
  15873. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15874. - (exit $ac_status); } >/dev/null; then
  15875. - if test -s conftest.err; then
  15876. - ac_cpp_err=$ac_c_preproc_warn_flag
  15877. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  15878. - else
  15879. - ac_cpp_err=
  15880. - fi
  15881. -else
  15882. - ac_cpp_err=yes
  15883. -fi
  15884. -if test -z "$ac_cpp_err"; then
  15885. - ac_header_preproc=yes
  15886. -else
  15887. - echo "$as_me: failed program was:" >&5
  15888. -sed 's/^/| /' conftest.$ac_ext >&5
  15889. -
  15890. - ac_header_preproc=no
  15891. -fi
  15892. -
  15893. -rm -f conftest.err conftest.$ac_ext
  15894. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15895. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  15896. -
  15897. -# So? What about this header?
  15898. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15899. - yes:no: )
  15900. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15901. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15902. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15903. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15904. - ac_header_preproc=yes
  15905. - ;;
  15906. - no:yes:* )
  15907. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15908. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15909. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15910. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15911. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15912. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15913. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15914. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15915. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15916. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15917. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15918. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15919. -
  15920. - ;;
  15921. -esac
  15922. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  15923. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  15924. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15925. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15926. -else
  15927. - eval "$as_ac_Header=\$ac_header_preproc"
  15928. -fi
  15929. -ac_res=`eval echo '${'$as_ac_Header'}'`
  15930. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  15931. -echo "${ECHO_T}$ac_res" >&6; }
  15932. -
  15933. -fi
  15934. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  15935. - cat >>confdefs.h <<_ACEOF
  15936. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15937. -_ACEOF
  15938. -
  15939. -fi
  15940. -
  15941. -done
  15942. -
  15943. -ac_ext=cpp
  15944. -ac_cpp='$CXXCPP $CPPFLAGS'
  15945. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15946. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15947. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15948. -if test -z "$CXX"; then
  15949. - if test -n "$CCC"; then
  15950. - CXX=$CCC
  15951. - else
  15952. - if test -n "$ac_tool_prefix"; then
  15953. - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  15954. - do
  15955. - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  15956. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  15957. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  15958. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  15959. -if test "${ac_cv_prog_CXX+set}" = set; then
  15960. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15961. -else
  15962. - if test -n "$CXX"; then
  15963. - ac_cv_prog_CXX="$CXX" # Let the user override the test.
  15964. + if test -n "$OBJDUMP"; then
  15965. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  15966. else
  15967. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15968. for as_dir in $PATH
  15969. do
  15970. IFS=$as_save_IFS
  15971. test -z "$as_dir" && as_dir=.
  15972. - for ac_exec_ext in '' $ac_executable_extensions; do
  15973. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  15974. - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  15975. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15976. + for ac_exec_ext in '' $ac_executable_extensions; do
  15977. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15978. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  15979. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15980. break 2
  15981. fi
  15982. done
  15983. -done
  15984. + done
  15985. IFS=$as_save_IFS
  15986. fi
  15987. fi
  15988. -CXX=$ac_cv_prog_CXX
  15989. -if test -n "$CXX"; then
  15990. - { echo "$as_me:$LINENO: result: $CXX" >&5
  15991. -echo "${ECHO_T}$CXX" >&6; }
  15992. +OBJDUMP=$ac_cv_prog_OBJDUMP
  15993. +if test -n "$OBJDUMP"; then
  15994. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  15995. +$as_echo "$OBJDUMP" >&6; }
  15996. else
  15997. - { echo "$as_me:$LINENO: result: no" >&5
  15998. -echo "${ECHO_T}no" >&6; }
  15999. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16000. +$as_echo "no" >&6; }
  16001. fi
  16002. - test -n "$CXX" && break
  16003. - done
  16004. fi
  16005. -if test -z "$CXX"; then
  16006. - ac_ct_CXX=$CXX
  16007. - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  16008. -do
  16009. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  16010. -set dummy $ac_prog; ac_word=$2
  16011. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  16012. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  16013. -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  16014. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16015. +if test -z "$ac_cv_prog_OBJDUMP"; then
  16016. + ac_ct_OBJDUMP=$OBJDUMP
  16017. + # Extract the first word of "objdump", so it can be a program name with args.
  16018. +set dummy objdump; ac_word=$2
  16019. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16020. +$as_echo_n "checking for $ac_word... " >&6; }
  16021. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  16022. + $as_echo_n "(cached) " >&6
  16023. else
  16024. - if test -n "$ac_ct_CXX"; then
  16025. - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  16026. + if test -n "$ac_ct_OBJDUMP"; then
  16027. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  16028. else
  16029. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16030. for as_dir in $PATH
  16031. do
  16032. IFS=$as_save_IFS
  16033. test -z "$as_dir" && as_dir=.
  16034. - for ac_exec_ext in '' $ac_executable_extensions; do
  16035. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  16036. - ac_cv_prog_ac_ct_CXX="$ac_prog"
  16037. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  16038. + for ac_exec_ext in '' $ac_executable_extensions; do
  16039. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16040. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  16041. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16042. break 2
  16043. fi
  16044. done
  16045. -done
  16046. + done
  16047. IFS=$as_save_IFS
  16048. fi
  16049. fi
  16050. -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  16051. -if test -n "$ac_ct_CXX"; then
  16052. - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  16053. -echo "${ECHO_T}$ac_ct_CXX" >&6; }
  16054. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  16055. +if test -n "$ac_ct_OBJDUMP"; then
  16056. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  16057. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  16058. else
  16059. - { echo "$as_me:$LINENO: result: no" >&5
  16060. -echo "${ECHO_T}no" >&6; }
  16061. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16062. +$as_echo "no" >&6; }
  16063. fi
  16064. -
  16065. - test -n "$ac_ct_CXX" && break
  16066. -done
  16067. -
  16068. - if test "x$ac_ct_CXX" = x; then
  16069. - CXX="g++"
  16070. + if test "x$ac_ct_OBJDUMP" = x; then
  16071. + OBJDUMP="false"
  16072. else
  16073. case $cross_compiling:$ac_tool_warned in
  16074. yes:)
  16075. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  16076. -whose name does not start with the host triplet. If you think this
  16077. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  16078. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  16079. -whose name does not start with the host triplet. If you think this
  16080. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  16081. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  16082. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  16083. ac_tool_warned=yes ;;
  16084. esac
  16085. - CXX=$ac_ct_CXX
  16086. + OBJDUMP=$ac_ct_OBJDUMP
  16087. fi
  16088. +else
  16089. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  16090. fi
  16091. - fi
  16092. -fi
  16093. -# Provide some information about the compiler.
  16094. -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  16095. -ac_compiler=`set X $ac_compile; echo $2`
  16096. -{ (ac_try="$ac_compiler --version >&5"
  16097. -case "(($ac_try" in
  16098. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16099. - *) ac_try_echo=$ac_try;;
  16100. -esac
  16101. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16102. - (eval "$ac_compiler --version >&5") 2>&5
  16103. - ac_status=$?
  16104. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16105. - (exit $ac_status); }
  16106. -{ (ac_try="$ac_compiler -v >&5"
  16107. -case "(($ac_try" in
  16108. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16109. - *) ac_try_echo=$ac_try;;
  16110. -esac
  16111. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16112. - (eval "$ac_compiler -v >&5") 2>&5
  16113. - ac_status=$?
  16114. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16115. - (exit $ac_status); }
  16116. -{ (ac_try="$ac_compiler -V >&5"
  16117. -case "(($ac_try" in
  16118. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16119. - *) ac_try_echo=$ac_try;;
  16120. -esac
  16121. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16122. - (eval "$ac_compiler -V >&5") 2>&5
  16123. - ac_status=$?
  16124. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16125. - (exit $ac_status); }
  16126. +test -z "$OBJDUMP" && OBJDUMP=objdump
  16127. -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  16128. -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
  16129. -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  16130. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16131. -else
  16132. - cat >conftest.$ac_ext <<_ACEOF
  16133. -/* confdefs.h. */
  16134. -_ACEOF
  16135. -cat confdefs.h >>conftest.$ac_ext
  16136. -cat >>conftest.$ac_ext <<_ACEOF
  16137. -/* end confdefs.h. */
  16138. -int
  16139. -main ()
  16140. -{
  16141. -#ifndef __GNUC__
  16142. - choke me
  16143. -#endif
  16144. - ;
  16145. - return 0;
  16146. -}
  16147. -_ACEOF
  16148. -rm -f conftest.$ac_objext
  16149. -if { (ac_try="$ac_compile"
  16150. -case "(($ac_try" in
  16151. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16152. - *) ac_try_echo=$ac_try;;
  16153. -esac
  16154. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16155. - (eval "$ac_compile") 2>conftest.er1
  16156. - ac_status=$?
  16157. - grep -v '^ *+' conftest.er1 >conftest.err
  16158. - rm -f conftest.er1
  16159. - cat conftest.err >&5
  16160. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16161. - (exit $ac_status); } &&
  16162. - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  16163. - { (case "(($ac_try" in
  16164. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16165. - *) ac_try_echo=$ac_try;;
  16166. -esac
  16167. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16168. - (eval "$ac_try") 2>&5
  16169. - ac_status=$?
  16170. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16171. - (exit $ac_status); }; } &&
  16172. - { ac_try='test -s conftest.$ac_objext'
  16173. - { (case "(($ac_try" in
  16174. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16175. - *) ac_try_echo=$ac_try;;
  16176. -esac
  16177. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16178. - (eval "$ac_try") 2>&5
  16179. - ac_status=$?
  16180. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16181. - (exit $ac_status); }; }; then
  16182. - ac_compiler_gnu=yes
  16183. -else
  16184. - echo "$as_me: failed program was:" >&5
  16185. -sed 's/^/| /' conftest.$ac_ext >&5
  16186. - ac_compiler_gnu=no
  16187. -fi
  16188. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16189. -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  16190. -fi
  16191. -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  16192. -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
  16193. -GXX=`test $ac_compiler_gnu = yes && echo yes`
  16194. -ac_test_CXXFLAGS=${CXXFLAGS+set}
  16195. -ac_save_CXXFLAGS=$CXXFLAGS
  16196. -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  16197. -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
  16198. -if test "${ac_cv_prog_cxx_g+set}" = set; then
  16199. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16200. -else
  16201. - ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  16202. - ac_cxx_werror_flag=yes
  16203. - ac_cv_prog_cxx_g=no
  16204. - CXXFLAGS="-g"
  16205. - cat >conftest.$ac_ext <<_ACEOF
  16206. -/* confdefs.h. */
  16207. -_ACEOF
  16208. -cat confdefs.h >>conftest.$ac_ext
  16209. -cat >>conftest.$ac_ext <<_ACEOF
  16210. -/* end confdefs.h. */
  16211. -int
  16212. -main ()
  16213. -{
  16214. - ;
  16215. - return 0;
  16216. -}
  16217. -_ACEOF
  16218. -rm -f conftest.$ac_objext
  16219. -if { (ac_try="$ac_compile"
  16220. -case "(($ac_try" in
  16221. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16222. - *) ac_try_echo=$ac_try;;
  16223. -esac
  16224. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16225. - (eval "$ac_compile") 2>conftest.er1
  16226. - ac_status=$?
  16227. - grep -v '^ *+' conftest.er1 >conftest.err
  16228. - rm -f conftest.er1
  16229. - cat conftest.err >&5
  16230. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16231. - (exit $ac_status); } &&
  16232. - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  16233. - { (case "(($ac_try" in
  16234. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16235. - *) ac_try_echo=$ac_try;;
  16236. -esac
  16237. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16238. - (eval "$ac_try") 2>&5
  16239. - ac_status=$?
  16240. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16241. - (exit $ac_status); }; } &&
  16242. - { ac_try='test -s conftest.$ac_objext'
  16243. - { (case "(($ac_try" in
  16244. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16245. - *) ac_try_echo=$ac_try;;
  16246. -esac
  16247. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16248. - (eval "$ac_try") 2>&5
  16249. - ac_status=$?
  16250. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16251. - (exit $ac_status); }; }; then
  16252. - ac_cv_prog_cxx_g=yes
  16253. -else
  16254. - echo "$as_me: failed program was:" >&5
  16255. -sed 's/^/| /' conftest.$ac_ext >&5
  16256. -
  16257. - CXXFLAGS=""
  16258. - cat >conftest.$ac_ext <<_ACEOF
  16259. -/* confdefs.h. */
  16260. -_ACEOF
  16261. -cat confdefs.h >>conftest.$ac_ext
  16262. -cat >>conftest.$ac_ext <<_ACEOF
  16263. -/* end confdefs.h. */
  16264. -
  16265. -int
  16266. -main ()
  16267. -{
  16268. -
  16269. - ;
  16270. - return 0;
  16271. -}
  16272. -_ACEOF
  16273. -rm -f conftest.$ac_objext
  16274. -if { (ac_try="$ac_compile"
  16275. -case "(($ac_try" in
  16276. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16277. - *) ac_try_echo=$ac_try;;
  16278. -esac
  16279. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16280. - (eval "$ac_compile") 2>conftest.er1
  16281. - ac_status=$?
  16282. - grep -v '^ *+' conftest.er1 >conftest.err
  16283. - rm -f conftest.er1
  16284. - cat conftest.err >&5
  16285. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16286. - (exit $ac_status); } &&
  16287. - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  16288. - { (case "(($ac_try" in
  16289. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16290. - *) ac_try_echo=$ac_try;;
  16291. -esac
  16292. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16293. - (eval "$ac_try") 2>&5
  16294. - ac_status=$?
  16295. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16296. - (exit $ac_status); }; } &&
  16297. - { ac_try='test -s conftest.$ac_objext'
  16298. - { (case "(($ac_try" in
  16299. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16300. - *) ac_try_echo=$ac_try;;
  16301. -esac
  16302. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16303. - (eval "$ac_try") 2>&5
  16304. - ac_status=$?
  16305. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16306. - (exit $ac_status); }; }; then
  16307. - :
  16308. -else
  16309. - echo "$as_me: failed program was:" >&5
  16310. -sed 's/^/| /' conftest.$ac_ext >&5
  16311. -
  16312. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  16313. - CXXFLAGS="-g"
  16314. - cat >conftest.$ac_ext <<_ACEOF
  16315. -/* confdefs.h. */
  16316. -_ACEOF
  16317. -cat confdefs.h >>conftest.$ac_ext
  16318. -cat >>conftest.$ac_ext <<_ACEOF
  16319. -/* end confdefs.h. */
  16320. -int
  16321. -main ()
  16322. -{
  16323. -
  16324. - ;
  16325. - return 0;
  16326. -}
  16327. -_ACEOF
  16328. -rm -f conftest.$ac_objext
  16329. -if { (ac_try="$ac_compile"
  16330. -case "(($ac_try" in
  16331. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16332. - *) ac_try_echo=$ac_try;;
  16333. -esac
  16334. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16335. - (eval "$ac_compile") 2>conftest.er1
  16336. - ac_status=$?
  16337. - grep -v '^ *+' conftest.er1 >conftest.err
  16338. - rm -f conftest.er1
  16339. - cat conftest.err >&5
  16340. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16341. - (exit $ac_status); } &&
  16342. - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  16343. - { (case "(($ac_try" in
  16344. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16345. - *) ac_try_echo=$ac_try;;
  16346. -esac
  16347. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16348. - (eval "$ac_try") 2>&5
  16349. - ac_status=$?
  16350. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16351. - (exit $ac_status); }; } &&
  16352. - { ac_try='test -s conftest.$ac_objext'
  16353. - { (case "(($ac_try" in
  16354. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16355. - *) ac_try_echo=$ac_try;;
  16356. -esac
  16357. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16358. - (eval "$ac_try") 2>&5
  16359. - ac_status=$?
  16360. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16361. - (exit $ac_status); }; }; then
  16362. - ac_cv_prog_cxx_g=yes
  16363. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  16364. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  16365. +if test "${lt_cv_deplibs_check_method+set}" = set; then :
  16366. + $as_echo_n "(cached) " >&6
  16367. else
  16368. - echo "$as_me: failed program was:" >&5
  16369. -sed 's/^/| /' conftest.$ac_ext >&5
  16370. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  16371. +lt_cv_file_magic_test_file=
  16372. +lt_cv_deplibs_check_method='unknown'
  16373. +# Need to set the preceding variable on all platforms that support
  16374. +# interlibrary dependencies.
  16375. +# 'none' -- dependencies not supported.
  16376. +# `unknown' -- same as none, but documents that we really don't know.
  16377. +# 'pass_all' -- all dependencies passed with no checks.
  16378. +# 'test_compile' -- check by making test program.
  16379. +# 'file_magic [[regex]]' -- check by looking for files in library path
  16380. +# which responds to the $file_magic_cmd with a given extended regex.
  16381. +# If you have `file' or equivalent on your system and you're not sure
  16382. +# whether `pass_all' will *always* work, you probably want this one.
  16383. +case $host_os in
  16384. +aix[4-9]*)
  16385. + lt_cv_deplibs_check_method=pass_all
  16386. + ;;
  16387. -fi
  16388. +beos*)
  16389. + lt_cv_deplibs_check_method=pass_all
  16390. + ;;
  16391. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16392. -fi
  16393. +bsdi[45]*)
  16394. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  16395. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  16396. + lt_cv_file_magic_test_file=/shlib/libc.so
  16397. + ;;
  16398. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16399. -fi
  16400. +cygwin*)
  16401. + # func_win32_libid is a shell function defined in ltmain.sh
  16402. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  16403. + lt_cv_file_magic_cmd='func_win32_libid'
  16404. + ;;
  16405. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16406. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  16407. -fi
  16408. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  16409. -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
  16410. -if test "$ac_test_CXXFLAGS" = set; then
  16411. - CXXFLAGS=$ac_save_CXXFLAGS
  16412. -elif test $ac_cv_prog_cxx_g = yes; then
  16413. - if test "$GXX" = yes; then
  16414. - CXXFLAGS="-g -O2"
  16415. - else
  16416. - CXXFLAGS="-g"
  16417. - fi
  16418. -else
  16419. - if test "$GXX" = yes; then
  16420. - CXXFLAGS="-O2"
  16421. +mingw* | pw32*)
  16422. + # Base MSYS/MinGW do not provide the 'file' command needed by
  16423. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  16424. + # unless we find 'file', for example because we are cross-compiling.
  16425. + if ( file / ) >/dev/null 2>&1; then
  16426. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  16427. + lt_cv_file_magic_cmd='func_win32_libid'
  16428. else
  16429. - CXXFLAGS=
  16430. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  16431. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  16432. fi
  16433. -fi
  16434. -ac_ext=cpp
  16435. -ac_cpp='$CXXCPP $CPPFLAGS'
  16436. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16437. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16438. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  16439. -
  16440. -depcc="$CXX" am_compiler_list=
  16441. + ;;
  16442. -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  16443. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  16444. -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  16445. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16446. -else
  16447. - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  16448. - # We make a subdir and do the tests there. Otherwise we can end up
  16449. - # making bogus files that we don't know about and never remove. For
  16450. - # instance it was reported that on HP-UX the gcc test will end up
  16451. - # making a dummy file named `D' -- because `-MD' means `put the output
  16452. - # in D'.
  16453. - mkdir conftest.dir
  16454. - # Copy depcomp to subdir because otherwise we won't find it if we're
  16455. - # using a relative directory.
  16456. - cp "$am_depcomp" conftest.dir
  16457. - cd conftest.dir
  16458. - # We will build objects and dependencies in a subdirectory because
  16459. - # it helps to detect inapplicable dependency modes. For instance
  16460. - # both Tru64's cc and ICC support -MD to output dependencies as a
  16461. - # side effect of compilation, but ICC will put the dependencies in
  16462. - # the current directory while Tru64 will put them in the object
  16463. - # directory.
  16464. - mkdir sub
  16465. +cegcc)
  16466. + # use the weaker test based on 'objdump'. See mingw*.
  16467. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  16468. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  16469. + ;;
  16470. - am_cv_CXX_dependencies_compiler_type=none
  16471. - if test "$am_compiler_list" = ""; then
  16472. - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  16473. - fi
  16474. - for depmode in $am_compiler_list; do
  16475. - # Setup a source with many dependencies, because some compilers
  16476. - # like to wrap large dependency lists on column 80 (with \), and
  16477. - # we should not choose a depcomp mode which is confused by this.
  16478. - #
  16479. - # We need to recreate these files for each test, as the compiler may
  16480. - # overwrite some of them when testing with obscure command lines.
  16481. - # This happens at least with the AIX C compiler.
  16482. - : > sub/conftest.c
  16483. - for i in 1 2 3 4 5 6; do
  16484. - echo '#include "conftst'$i'.h"' >> sub/conftest.c
  16485. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  16486. - # Solaris 8's {/usr,}/bin/sh.
  16487. - touch sub/conftst$i.h
  16488. - done
  16489. - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  16490. +darwin* | rhapsody*)
  16491. + lt_cv_deplibs_check_method=pass_all
  16492. + ;;
  16493. - case $depmode in
  16494. - nosideeffect)
  16495. - # after this tag, mechanisms are not by side-effect, so they'll
  16496. - # only be used when explicitly requested
  16497. - if test "x$enable_dependency_tracking" = xyes; then
  16498. - continue
  16499. - else
  16500. - break
  16501. - fi
  16502. +freebsd* | dragonfly*)
  16503. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  16504. + case $host_cpu in
  16505. + i*86 )
  16506. + # Not sure whether the presence of OpenBSD here was a mistake.
  16507. + # Let's accept both of them until this is cleared up.
  16508. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  16509. + lt_cv_file_magic_cmd=/usr/bin/file
  16510. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  16511. ;;
  16512. - none) break ;;
  16513. esac
  16514. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  16515. - # mode. It turns out that the SunPro C++ compiler does not properly
  16516. - # handle `-M -o', and we need to detect this.
  16517. - if depmode=$depmode \
  16518. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  16519. - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  16520. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  16521. - >/dev/null 2>conftest.err &&
  16522. - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  16523. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  16524. - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  16525. - # icc doesn't choke on unknown options, it will just issue warnings
  16526. - # or remarks (even with -Werror). So we grep stderr for any message
  16527. - # that says an option was ignored or not supported.
  16528. - # When given -MP, icc 7.0 and 7.1 complain thusly:
  16529. - # icc: Command line warning: ignoring option '-M'; no argument required
  16530. - # The diagnosis changed in icc 8.0:
  16531. - # icc: Command line remark: option '-MP' not supported
  16532. - if (grep 'ignoring option' conftest.err ||
  16533. - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  16534. - am_cv_CXX_dependencies_compiler_type=$depmode
  16535. - break
  16536. - fi
  16537. - fi
  16538. - done
  16539. -
  16540. - cd ..
  16541. - rm -rf conftest.dir
  16542. -else
  16543. - am_cv_CXX_dependencies_compiler_type=none
  16544. -fi
  16545. + else
  16546. + lt_cv_deplibs_check_method=pass_all
  16547. + fi
  16548. + ;;
  16549. -fi
  16550. -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  16551. -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
  16552. -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  16553. +gnu*)
  16554. + lt_cv_deplibs_check_method=pass_all
  16555. + ;;
  16556. +hpux10.20* | hpux11*)
  16557. + lt_cv_file_magic_cmd=/usr/bin/file
  16558. + case $host_cpu in
  16559. + ia64*)
  16560. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  16561. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  16562. + ;;
  16563. + hppa*64*)
  16564. + 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]'
  16565. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  16566. + ;;
  16567. + *)
  16568. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  16569. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  16570. + ;;
  16571. + esac
  16572. + ;;
  16573. +interix[3-9]*)
  16574. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  16575. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  16576. + ;;
  16577. -if
  16578. - test "x$enable_dependency_tracking" != xno \
  16579. - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  16580. - am__fastdepCXX_TRUE=
  16581. - am__fastdepCXX_FALSE='#'
  16582. -else
  16583. - am__fastdepCXX_TRUE='#'
  16584. - am__fastdepCXX_FALSE=
  16585. -fi
  16586. +irix5* | irix6* | nonstopux*)
  16587. + case $LD in
  16588. + *-32|*"-32 ") libmagic=32-bit;;
  16589. + *-n32|*"-n32 ") libmagic=N32;;
  16590. + *-64|*"-64 ") libmagic=64-bit;;
  16591. + *) libmagic=never-match;;
  16592. + esac
  16593. + lt_cv_deplibs_check_method=pass_all
  16594. + ;;
  16595. +# This must be Linux ELF.
  16596. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  16597. + lt_cv_deplibs_check_method=pass_all
  16598. + ;;
  16599. +netbsd* | netbsdelf*-gnu)
  16600. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  16601. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  16602. + else
  16603. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  16604. + fi
  16605. + ;;
  16606. +newos6*)
  16607. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  16608. + lt_cv_file_magic_cmd=/usr/bin/file
  16609. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  16610. + ;;
  16611. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  16612. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  16613. - (test "X$CXX" != "Xg++"))) ; then
  16614. - ac_ext=cpp
  16615. -ac_cpp='$CXXCPP $CPPFLAGS'
  16616. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16617. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16618. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  16619. -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  16620. -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
  16621. -if test -z "$CXXCPP"; then
  16622. - if test "${ac_cv_prog_CXXCPP+set}" = set; then
  16623. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16624. -else
  16625. - # Double quotes because CXXCPP needs to be expanded
  16626. - for CXXCPP in "$CXX -E" "/lib/cpp"
  16627. - do
  16628. - ac_preproc_ok=false
  16629. -for ac_cxx_preproc_warn_flag in '' yes
  16630. -do
  16631. - # Use a header file that comes with gcc, so configuring glibc
  16632. - # with a fresh cross-compiler works.
  16633. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16634. - # <limits.h> exists even on freestanding compilers.
  16635. - # On the NeXT, cc -E runs the code through the compiler's parser,
  16636. - # not just through cpp. "Syntax error" is here to catch this case.
  16637. - cat >conftest.$ac_ext <<_ACEOF
  16638. -/* confdefs.h. */
  16639. -_ACEOF
  16640. -cat confdefs.h >>conftest.$ac_ext
  16641. -cat >>conftest.$ac_ext <<_ACEOF
  16642. -/* end confdefs.h. */
  16643. -#ifdef __STDC__
  16644. -# include <limits.h>
  16645. -#else
  16646. -# include <assert.h>
  16647. -#endif
  16648. - Syntax error
  16649. -_ACEOF
  16650. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  16651. -case "(($ac_try" in
  16652. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16653. - *) ac_try_echo=$ac_try;;
  16654. -esac
  16655. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16656. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  16657. - ac_status=$?
  16658. - grep -v '^ *+' conftest.er1 >conftest.err
  16659. - rm -f conftest.er1
  16660. - cat conftest.err >&5
  16661. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16662. - (exit $ac_status); } >/dev/null; then
  16663. - if test -s conftest.err; then
  16664. - ac_cpp_err=$ac_cxx_preproc_warn_flag
  16665. - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  16666. +*nto* | *qnx*)
  16667. + lt_cv_deplibs_check_method=pass_all
  16668. + ;;
  16669. +
  16670. +openbsd*)
  16671. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  16672. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  16673. else
  16674. - ac_cpp_err=
  16675. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  16676. fi
  16677. -else
  16678. - ac_cpp_err=yes
  16679. -fi
  16680. -if test -z "$ac_cpp_err"; then
  16681. - :
  16682. -else
  16683. - echo "$as_me: failed program was:" >&5
  16684. -sed 's/^/| /' conftest.$ac_ext >&5
  16685. + ;;
  16686. - # Broken: fails on valid input.
  16687. -continue
  16688. -fi
  16689. +osf3* | osf4* | osf5*)
  16690. + lt_cv_deplibs_check_method=pass_all
  16691. + ;;
  16692. -rm -f conftest.err conftest.$ac_ext
  16693. +rdos*)
  16694. + lt_cv_deplibs_check_method=pass_all
  16695. + ;;
  16696. - # OK, works on sane cases. Now check whether nonexistent headers
  16697. - # can be detected and how.
  16698. - cat >conftest.$ac_ext <<_ACEOF
  16699. -/* confdefs.h. */
  16700. -_ACEOF
  16701. -cat confdefs.h >>conftest.$ac_ext
  16702. -cat >>conftest.$ac_ext <<_ACEOF
  16703. -/* end confdefs.h. */
  16704. -#include <ac_nonexistent.h>
  16705. -_ACEOF
  16706. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  16707. -case "(($ac_try" in
  16708. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16709. - *) ac_try_echo=$ac_try;;
  16710. -esac
  16711. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16712. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  16713. - ac_status=$?
  16714. - grep -v '^ *+' conftest.er1 >conftest.err
  16715. - rm -f conftest.er1
  16716. - cat conftest.err >&5
  16717. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16718. - (exit $ac_status); } >/dev/null; then
  16719. - if test -s conftest.err; then
  16720. - ac_cpp_err=$ac_cxx_preproc_warn_flag
  16721. - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  16722. - else
  16723. - ac_cpp_err=
  16724. - fi
  16725. -else
  16726. - ac_cpp_err=yes
  16727. -fi
  16728. -if test -z "$ac_cpp_err"; then
  16729. - # Broken: success on invalid input.
  16730. -continue
  16731. -else
  16732. - echo "$as_me: failed program was:" >&5
  16733. -sed 's/^/| /' conftest.$ac_ext >&5
  16734. +solaris*)
  16735. + lt_cv_deplibs_check_method=pass_all
  16736. + ;;
  16737. - # Passes both tests.
  16738. -ac_preproc_ok=:
  16739. -break
  16740. -fi
  16741. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  16742. + lt_cv_deplibs_check_method=pass_all
  16743. + ;;
  16744. -rm -f conftest.err conftest.$ac_ext
  16745. +sysv4 | sysv4.3*)
  16746. + case $host_vendor in
  16747. + motorola)
  16748. + 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]'
  16749. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  16750. + ;;
  16751. + ncr)
  16752. + lt_cv_deplibs_check_method=pass_all
  16753. + ;;
  16754. + sequent)
  16755. + lt_cv_file_magic_cmd='/bin/file'
  16756. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  16757. + ;;
  16758. + sni)
  16759. + lt_cv_file_magic_cmd='/bin/file'
  16760. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  16761. + lt_cv_file_magic_test_file=/lib/libc.so
  16762. + ;;
  16763. + siemens)
  16764. + lt_cv_deplibs_check_method=pass_all
  16765. + ;;
  16766. + pc)
  16767. + lt_cv_deplibs_check_method=pass_all
  16768. + ;;
  16769. + esac
  16770. + ;;
  16771. +
  16772. +tpf*)
  16773. + lt_cv_deplibs_check_method=pass_all
  16774. + ;;
  16775. +esac
  16776. -done
  16777. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16778. -rm -f conftest.err conftest.$ac_ext
  16779. -if $ac_preproc_ok; then
  16780. - break
  16781. fi
  16782. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  16783. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  16784. +file_magic_cmd=$lt_cv_file_magic_cmd
  16785. +deplibs_check_method=$lt_cv_deplibs_check_method
  16786. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  16787. - done
  16788. - ac_cv_prog_CXXCPP=$CXXCPP
  16789. -fi
  16790. - CXXCPP=$ac_cv_prog_CXXCPP
  16791. -else
  16792. - ac_cv_prog_CXXCPP=$CXXCPP
  16793. -fi
  16794. -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
  16795. -echo "${ECHO_T}$CXXCPP" >&6; }
  16796. -ac_preproc_ok=false
  16797. -for ac_cxx_preproc_warn_flag in '' yes
  16798. -do
  16799. - # Use a header file that comes with gcc, so configuring glibc
  16800. - # with a fresh cross-compiler works.
  16801. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16802. - # <limits.h> exists even on freestanding compilers.
  16803. - # On the NeXT, cc -E runs the code through the compiler's parser,
  16804. - # not just through cpp. "Syntax error" is here to catch this case.
  16805. - cat >conftest.$ac_ext <<_ACEOF
  16806. -/* confdefs.h. */
  16807. -_ACEOF
  16808. -cat confdefs.h >>conftest.$ac_ext
  16809. -cat >>conftest.$ac_ext <<_ACEOF
  16810. -/* end confdefs.h. */
  16811. -#ifdef __STDC__
  16812. -# include <limits.h>
  16813. -#else
  16814. -# include <assert.h>
  16815. -#endif
  16816. - Syntax error
  16817. -_ACEOF
  16818. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  16819. -case "(($ac_try" in
  16820. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16821. - *) ac_try_echo=$ac_try;;
  16822. -esac
  16823. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16824. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  16825. - ac_status=$?
  16826. - grep -v '^ *+' conftest.er1 >conftest.err
  16827. - rm -f conftest.er1
  16828. - cat conftest.err >&5
  16829. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16830. - (exit $ac_status); } >/dev/null; then
  16831. - if test -s conftest.err; then
  16832. - ac_cpp_err=$ac_cxx_preproc_warn_flag
  16833. - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  16834. - else
  16835. - ac_cpp_err=
  16836. - fi
  16837. -else
  16838. - ac_cpp_err=yes
  16839. -fi
  16840. -if test -z "$ac_cpp_err"; then
  16841. - :
  16842. -else
  16843. - echo "$as_me: failed program was:" >&5
  16844. -sed 's/^/| /' conftest.$ac_ext >&5
  16845. - # Broken: fails on valid input.
  16846. -continue
  16847. -fi
  16848. -rm -f conftest.err conftest.$ac_ext
  16849. - # OK, works on sane cases. Now check whether nonexistent headers
  16850. - # can be detected and how.
  16851. - cat >conftest.$ac_ext <<_ACEOF
  16852. -/* confdefs.h. */
  16853. -_ACEOF
  16854. -cat confdefs.h >>conftest.$ac_ext
  16855. -cat >>conftest.$ac_ext <<_ACEOF
  16856. -/* end confdefs.h. */
  16857. -#include <ac_nonexistent.h>
  16858. -_ACEOF
  16859. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  16860. -case "(($ac_try" in
  16861. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16862. - *) ac_try_echo=$ac_try;;
  16863. -esac
  16864. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16865. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  16866. - ac_status=$?
  16867. - grep -v '^ *+' conftest.er1 >conftest.err
  16868. - rm -f conftest.er1
  16869. - cat conftest.err >&5
  16870. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16871. - (exit $ac_status); } >/dev/null; then
  16872. - if test -s conftest.err; then
  16873. - ac_cpp_err=$ac_cxx_preproc_warn_flag
  16874. - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
  16875. - else
  16876. - ac_cpp_err=
  16877. - fi
  16878. -else
  16879. - ac_cpp_err=yes
  16880. -fi
  16881. -if test -z "$ac_cpp_err"; then
  16882. - # Broken: success on invalid input.
  16883. -continue
  16884. -else
  16885. - echo "$as_me: failed program was:" >&5
  16886. -sed 's/^/| /' conftest.$ac_ext >&5
  16887. - # Passes both tests.
  16888. -ac_preproc_ok=:
  16889. -break
  16890. -fi
  16891. -rm -f conftest.err conftest.$ac_ext
  16892. -done
  16893. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  16894. -rm -f conftest.err conftest.$ac_ext
  16895. -if $ac_preproc_ok; then
  16896. - :
  16897. -else
  16898. - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  16899. -See \`config.log' for more details." >&5
  16900. -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  16901. -See \`config.log' for more details." >&2;}
  16902. - { (exit 1); exit 1; }; }
  16903. -fi
  16904. -ac_ext=cpp
  16905. -ac_cpp='$CXXCPP $CPPFLAGS'
  16906. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16907. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16908. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  16909. -fi
  16910. -ac_ext=f
  16911. -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  16912. -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16913. -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  16914. if test -n "$ac_tool_prefix"; then
  16915. - for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
  16916. - do
  16917. - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  16918. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  16919. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  16920. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  16921. -if test "${ac_cv_prog_F77+set}" = set; then
  16922. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16923. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  16924. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  16925. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16926. +$as_echo_n "checking for $ac_word... " >&6; }
  16927. +if test "${ac_cv_prog_AR+set}" = set; then :
  16928. + $as_echo_n "(cached) " >&6
  16929. else
  16930. - if test -n "$F77"; then
  16931. - ac_cv_prog_F77="$F77" # Let the user override the test.
  16932. + if test -n "$AR"; then
  16933. + ac_cv_prog_AR="$AR" # Let the user override the test.
  16934. else
  16935. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16936. for as_dir in $PATH
  16937. do
  16938. IFS=$as_save_IFS
  16939. test -z "$as_dir" && as_dir=.
  16940. - for ac_exec_ext in '' $ac_executable_extensions; do
  16941. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  16942. - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
  16943. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  16944. + for ac_exec_ext in '' $ac_executable_extensions; do
  16945. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16946. + ac_cv_prog_AR="${ac_tool_prefix}ar"
  16947. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16948. break 2
  16949. fi
  16950. done
  16951. -done
  16952. + done
  16953. IFS=$as_save_IFS
  16954. fi
  16955. fi
  16956. -F77=$ac_cv_prog_F77
  16957. -if test -n "$F77"; then
  16958. - { echo "$as_me:$LINENO: result: $F77" >&5
  16959. -echo "${ECHO_T}$F77" >&6; }
  16960. +AR=$ac_cv_prog_AR
  16961. +if test -n "$AR"; then
  16962. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  16963. +$as_echo "$AR" >&6; }
  16964. else
  16965. - { echo "$as_me:$LINENO: result: no" >&5
  16966. -echo "${ECHO_T}no" >&6; }
  16967. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16968. +$as_echo "no" >&6; }
  16969. fi
  16970. - test -n "$F77" && break
  16971. - done
  16972. fi
  16973. -if test -z "$F77"; then
  16974. - ac_ct_F77=$F77
  16975. - for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
  16976. -do
  16977. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  16978. -set dummy $ac_prog; ac_word=$2
  16979. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  16980. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  16981. -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
  16982. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16983. +if test -z "$ac_cv_prog_AR"; then
  16984. + ac_ct_AR=$AR
  16985. + # Extract the first word of "ar", so it can be a program name with args.
  16986. +set dummy ar; ac_word=$2
  16987. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16988. +$as_echo_n "checking for $ac_word... " >&6; }
  16989. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  16990. + $as_echo_n "(cached) " >&6
  16991. else
  16992. - if test -n "$ac_ct_F77"; then
  16993. - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
  16994. + if test -n "$ac_ct_AR"; then
  16995. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  16996. else
  16997. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16998. for as_dir in $PATH
  16999. do
  17000. IFS=$as_save_IFS
  17001. test -z "$as_dir" && as_dir=.
  17002. - for ac_exec_ext in '' $ac_executable_extensions; do
  17003. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  17004. - ac_cv_prog_ac_ct_F77="$ac_prog"
  17005. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17006. + for ac_exec_ext in '' $ac_executable_extensions; do
  17007. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17008. + ac_cv_prog_ac_ct_AR="ar"
  17009. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17010. break 2
  17011. fi
  17012. done
  17013. -done
  17014. + done
  17015. IFS=$as_save_IFS
  17016. fi
  17017. fi
  17018. -ac_ct_F77=$ac_cv_prog_ac_ct_F77
  17019. -if test -n "$ac_ct_F77"; then
  17020. - { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
  17021. -echo "${ECHO_T}$ac_ct_F77" >&6; }
  17022. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  17023. +if test -n "$ac_ct_AR"; then
  17024. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  17025. +$as_echo "$ac_ct_AR" >&6; }
  17026. else
  17027. - { echo "$as_me:$LINENO: result: no" >&5
  17028. -echo "${ECHO_T}no" >&6; }
  17029. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17030. +$as_echo "no" >&6; }
  17031. fi
  17032. -
  17033. - test -n "$ac_ct_F77" && break
  17034. -done
  17035. -
  17036. - if test "x$ac_ct_F77" = x; then
  17037. - F77=""
  17038. + if test "x$ac_ct_AR" = x; then
  17039. + AR="false"
  17040. else
  17041. case $cross_compiling:$ac_tool_warned in
  17042. yes:)
  17043. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  17044. -whose name does not start with the host triplet. If you think this
  17045. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  17046. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  17047. -whose name does not start with the host triplet. If you think this
  17048. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  17049. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17050. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17051. ac_tool_warned=yes ;;
  17052. esac
  17053. - F77=$ac_ct_F77
  17054. + AR=$ac_ct_AR
  17055. fi
  17056. +else
  17057. + AR="$ac_cv_prog_AR"
  17058. fi
  17059. +test -z "$AR" && AR=ar
  17060. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  17061. -# Provide some information about the compiler.
  17062. -echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
  17063. -ac_compiler=`set X $ac_compile; echo $2`
  17064. -{ (ac_try="$ac_compiler --version >&5"
  17065. -case "(($ac_try" in
  17066. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17067. - *) ac_try_echo=$ac_try;;
  17068. -esac
  17069. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17070. - (eval "$ac_compiler --version >&5") 2>&5
  17071. - ac_status=$?
  17072. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17073. - (exit $ac_status); }
  17074. -{ (ac_try="$ac_compiler -v >&5"
  17075. -case "(($ac_try" in
  17076. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17077. - *) ac_try_echo=$ac_try;;
  17078. -esac
  17079. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17080. - (eval "$ac_compiler -v >&5") 2>&5
  17081. - ac_status=$?
  17082. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17083. - (exit $ac_status); }
  17084. -{ (ac_try="$ac_compiler -V >&5"
  17085. -case "(($ac_try" in
  17086. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17087. - *) ac_try_echo=$ac_try;;
  17088. -esac
  17089. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17090. - (eval "$ac_compiler -V >&5") 2>&5
  17091. - ac_status=$?
  17092. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17093. - (exit $ac_status); }
  17094. -rm -f a.out
  17095. -
  17096. -# If we don't use `.F' as extension, the preprocessor is not run on the
  17097. -# input file. (Note that this only needs to work for GNU compilers.)
  17098. -ac_save_ext=$ac_ext
  17099. -ac_ext=F
  17100. -{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  17101. -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
  17102. -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
  17103. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17104. -else
  17105. - cat >conftest.$ac_ext <<_ACEOF
  17106. - program main
  17107. -#ifndef __GNUC__
  17108. - choke me
  17109. -#endif
  17110. - end
  17111. -_ACEOF
  17112. -rm -f conftest.$ac_objext
  17113. -if { (ac_try="$ac_compile"
  17114. -case "(($ac_try" in
  17115. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17116. - *) ac_try_echo=$ac_try;;
  17117. -esac
  17118. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17119. - (eval "$ac_compile") 2>conftest.er1
  17120. - ac_status=$?
  17121. - grep -v '^ *+' conftest.er1 >conftest.err
  17122. - rm -f conftest.er1
  17123. - cat conftest.err >&5
  17124. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17125. - (exit $ac_status); } &&
  17126. - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  17127. - { (case "(($ac_try" in
  17128. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17129. - *) ac_try_echo=$ac_try;;
  17130. -esac
  17131. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17132. - (eval "$ac_try") 2>&5
  17133. - ac_status=$?
  17134. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17135. - (exit $ac_status); }; } &&
  17136. - { ac_try='test -s conftest.$ac_objext'
  17137. - { (case "(($ac_try" in
  17138. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17139. - *) ac_try_echo=$ac_try;;
  17140. -esac
  17141. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17142. - (eval "$ac_try") 2>&5
  17143. - ac_status=$?
  17144. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17145. - (exit $ac_status); }; }; then
  17146. - ac_compiler_gnu=yes
  17147. -else
  17148. - echo "$as_me: failed program was:" >&5
  17149. -sed 's/^/| /' conftest.$ac_ext >&5
  17150. - ac_compiler_gnu=no
  17151. -fi
  17152. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17153. -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  17154. -fi
  17155. -{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  17156. -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
  17157. -ac_ext=$ac_save_ext
  17158. -ac_test_FFLAGS=${FFLAGS+set}
  17159. -ac_save_FFLAGS=$FFLAGS
  17160. -FFLAGS=
  17161. -{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
  17162. -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
  17163. -if test "${ac_cv_prog_f77_g+set}" = set; then
  17164. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17165. -else
  17166. - FFLAGS=-g
  17167. -cat >conftest.$ac_ext <<_ACEOF
  17168. - program main
  17169. - end
  17170. -_ACEOF
  17171. -rm -f conftest.$ac_objext
  17172. -if { (ac_try="$ac_compile"
  17173. -case "(($ac_try" in
  17174. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17175. - *) ac_try_echo=$ac_try;;
  17176. -esac
  17177. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17178. - (eval "$ac_compile") 2>conftest.er1
  17179. - ac_status=$?
  17180. - grep -v '^ *+' conftest.er1 >conftest.err
  17181. - rm -f conftest.er1
  17182. - cat conftest.err >&5
  17183. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17184. - (exit $ac_status); } &&
  17185. - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  17186. - { (case "(($ac_try" in
  17187. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17188. - *) ac_try_echo=$ac_try;;
  17189. -esac
  17190. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17191. - (eval "$ac_try") 2>&5
  17192. - ac_status=$?
  17193. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17194. - (exit $ac_status); }; } &&
  17195. - { ac_try='test -s conftest.$ac_objext'
  17196. - { (case "(($ac_try" in
  17197. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17198. - *) ac_try_echo=$ac_try;;
  17199. -esac
  17200. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17201. - (eval "$ac_try") 2>&5
  17202. - ac_status=$?
  17203. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17204. - (exit $ac_status); }; }; then
  17205. - ac_cv_prog_f77_g=yes
  17206. +
  17207. +
  17208. +
  17209. +
  17210. +
  17211. +if test -n "$ac_tool_prefix"; then
  17212. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  17213. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  17214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17215. +$as_echo_n "checking for $ac_word... " >&6; }
  17216. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  17217. + $as_echo_n "(cached) " >&6
  17218. else
  17219. - echo "$as_me: failed program was:" >&5
  17220. -sed 's/^/| /' conftest.$ac_ext >&5
  17221. + if test -n "$STRIP"; then
  17222. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  17223. +else
  17224. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17225. +for as_dir in $PATH
  17226. +do
  17227. + IFS=$as_save_IFS
  17228. + test -z "$as_dir" && as_dir=.
  17229. + for ac_exec_ext in '' $ac_executable_extensions; do
  17230. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17231. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  17232. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17233. + break 2
  17234. + fi
  17235. +done
  17236. + done
  17237. +IFS=$as_save_IFS
  17238. - ac_cv_prog_f77_g=no
  17239. +fi
  17240. +fi
  17241. +STRIP=$ac_cv_prog_STRIP
  17242. +if test -n "$STRIP"; then
  17243. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  17244. +$as_echo "$STRIP" >&6; }
  17245. +else
  17246. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17247. +$as_echo "no" >&6; }
  17248. fi
  17249. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17250. fi
  17251. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  17252. -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
  17253. -if test "$ac_test_FFLAGS" = set; then
  17254. - FFLAGS=$ac_save_FFLAGS
  17255. -elif test $ac_cv_prog_f77_g = yes; then
  17256. - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  17257. - FFLAGS="-g -O2"
  17258. - else
  17259. - FFLAGS="-g"
  17260. +if test -z "$ac_cv_prog_STRIP"; then
  17261. + ac_ct_STRIP=$STRIP
  17262. + # Extract the first word of "strip", so it can be a program name with args.
  17263. +set dummy strip; ac_word=$2
  17264. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17265. +$as_echo_n "checking for $ac_word... " >&6; }
  17266. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  17267. + $as_echo_n "(cached) " >&6
  17268. +else
  17269. + if test -n "$ac_ct_STRIP"; then
  17270. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  17271. +else
  17272. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17273. +for as_dir in $PATH
  17274. +do
  17275. + IFS=$as_save_IFS
  17276. + test -z "$as_dir" && as_dir=.
  17277. + for ac_exec_ext in '' $ac_executable_extensions; do
  17278. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17279. + ac_cv_prog_ac_ct_STRIP="strip"
  17280. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17281. + break 2
  17282. fi
  17283. +done
  17284. + done
  17285. +IFS=$as_save_IFS
  17286. +
  17287. +fi
  17288. +fi
  17289. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  17290. +if test -n "$ac_ct_STRIP"; then
  17291. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  17292. +$as_echo "$ac_ct_STRIP" >&6; }
  17293. else
  17294. - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  17295. - FFLAGS="-O2"
  17296. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17297. +$as_echo "no" >&6; }
  17298. +fi
  17299. +
  17300. + if test "x$ac_ct_STRIP" = x; then
  17301. + STRIP=":"
  17302. else
  17303. - FFLAGS=
  17304. + case $cross_compiling:$ac_tool_warned in
  17305. +yes:)
  17306. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17307. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17308. +ac_tool_warned=yes ;;
  17309. +esac
  17310. + STRIP=$ac_ct_STRIP
  17311. fi
  17312. +else
  17313. + STRIP="$ac_cv_prog_STRIP"
  17314. fi
  17315. -G77=`test $ac_compiler_gnu = yes && echo yes`
  17316. -ac_ext=c
  17317. -ac_cpp='$CPP $CPPFLAGS'
  17318. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17319. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17320. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  17321. -
  17322. -
  17323. +test -z "$STRIP" && STRIP=:
  17324. -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  17325. -# find the maximum length of command line arguments
  17326. -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  17327. -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  17328. -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  17329. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17330. -else
  17331. - i=0
  17332. - teststring="ABCD"
  17333. - case $build_os in
  17334. - msdosdjgpp*)
  17335. - # On DJGPP, this test can blow up pretty badly due to problems in libc
  17336. - # (any single argument exceeding 2000 bytes causes a buffer overrun
  17337. - # during glob expansion). Even if it were fixed, the result of this
  17338. - # check would be larger than it should be.
  17339. - lt_cv_sys_max_cmd_len=12288; # 12K is about right
  17340. - ;;
  17341. - gnu*)
  17342. - # Under GNU Hurd, this test is not required because there is
  17343. - # no limit to the length of command line arguments.
  17344. - # Libtool will interpret -1 as no limit whatsoever
  17345. - lt_cv_sys_max_cmd_len=-1;
  17346. - ;;
  17347. - cygwin* | mingw*)
  17348. - # On Win9x/ME, this test blows up -- it succeeds, but takes
  17349. - # about 5 minutes as the teststring grows exponentially.
  17350. - # Worse, since 9x/ME are not pre-emptively multitasking,
  17351. - # you end up with a "frozen" computer, even though with patience
  17352. - # the test eventually succeeds (with a max line length of 256k).
  17353. - # Instead, let's just punt: use the minimum linelength reported by
  17354. - # all of the supported platforms: 8192 (on NT/2K/XP).
  17355. - lt_cv_sys_max_cmd_len=8192;
  17356. - ;;
  17357. - amigaos*)
  17358. - # On AmigaOS with pdksh, this test takes hours, literally.
  17359. - # So we just punt and use a minimum line length of 8192.
  17360. - lt_cv_sys_max_cmd_len=8192;
  17361. - ;;
  17362. +if test -n "$ac_tool_prefix"; then
  17363. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  17364. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  17365. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17366. +$as_echo_n "checking for $ac_word... " >&6; }
  17367. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  17368. + $as_echo_n "(cached) " >&6
  17369. +else
  17370. + if test -n "$RANLIB"; then
  17371. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  17372. +else
  17373. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17374. +for as_dir in $PATH
  17375. +do
  17376. + IFS=$as_save_IFS
  17377. + test -z "$as_dir" && as_dir=.
  17378. + for ac_exec_ext in '' $ac_executable_extensions; do
  17379. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17380. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  17381. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17382. + break 2
  17383. + fi
  17384. +done
  17385. + done
  17386. +IFS=$as_save_IFS
  17387. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  17388. - # This has been around since 386BSD, at least. Likely further.
  17389. - if test -x /sbin/sysctl; then
  17390. - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  17391. - elif test -x /usr/sbin/sysctl; then
  17392. - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  17393. - else
  17394. - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  17395. - fi
  17396. - # And add a safety zone
  17397. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  17398. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  17399. - ;;
  17400. +fi
  17401. +fi
  17402. +RANLIB=$ac_cv_prog_RANLIB
  17403. +if test -n "$RANLIB"; then
  17404. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  17405. +$as_echo "$RANLIB" >&6; }
  17406. +else
  17407. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17408. +$as_echo "no" >&6; }
  17409. +fi
  17410. - interix*)
  17411. - # We know the value 262144 and hardcode it with a safety zone (like BSD)
  17412. - lt_cv_sys_max_cmd_len=196608
  17413. - ;;
  17414. - osf*)
  17415. - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  17416. - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  17417. - # nice to cause kernel panics so lets avoid the loop below.
  17418. - # First set a reasonable default.
  17419. - lt_cv_sys_max_cmd_len=16384
  17420. - #
  17421. - if test -x /sbin/sysconfig; then
  17422. - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  17423. - *1*) lt_cv_sys_max_cmd_len=-1 ;;
  17424. - esac
  17425. - fi
  17426. - ;;
  17427. - sco3.2v5*)
  17428. - lt_cv_sys_max_cmd_len=102400
  17429. - ;;
  17430. - sysv5* | sco5v6* | sysv4.2uw2*)
  17431. - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  17432. - if test -n "$kargmax"; then
  17433. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  17434. - else
  17435. - lt_cv_sys_max_cmd_len=32768
  17436. - fi
  17437. - ;;
  17438. - *)
  17439. - # If test is not a shell built-in, we'll probably end up computing a
  17440. - # maximum length that is only half of the actual maximum length, but
  17441. - # we can't tell.
  17442. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  17443. - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  17444. - = "XX$teststring") >/dev/null 2>&1 &&
  17445. - new_result=`expr "X$teststring" : ".*" 2>&1` &&
  17446. - lt_cv_sys_max_cmd_len=$new_result &&
  17447. - test $i != 17 # 1/2 MB should be enough
  17448. - do
  17449. - i=`expr $i + 1`
  17450. - teststring=$teststring$teststring
  17451. - done
  17452. - teststring=
  17453. - # Add a significant safety factor because C++ compilers can tack on massive
  17454. - # amounts of additional arguments before passing them to the linker.
  17455. - # It appears as though 1/2 is a usable value.
  17456. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  17457. - ;;
  17458. - esac
  17459. +fi
  17460. +if test -z "$ac_cv_prog_RANLIB"; then
  17461. + ac_ct_RANLIB=$RANLIB
  17462. + # Extract the first word of "ranlib", so it can be a program name with args.
  17463. +set dummy ranlib; ac_word=$2
  17464. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17465. +$as_echo_n "checking for $ac_word... " >&6; }
  17466. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  17467. + $as_echo_n "(cached) " >&6
  17468. +else
  17469. + if test -n "$ac_ct_RANLIB"; then
  17470. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  17471. +else
  17472. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17473. +for as_dir in $PATH
  17474. +do
  17475. + IFS=$as_save_IFS
  17476. + test -z "$as_dir" && as_dir=.
  17477. + for ac_exec_ext in '' $ac_executable_extensions; do
  17478. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17479. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  17480. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17481. + break 2
  17482. + fi
  17483. +done
  17484. + done
  17485. +IFS=$as_save_IFS
  17486. fi
  17487. +fi
  17488. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  17489. +if test -n "$ac_ct_RANLIB"; then
  17490. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  17491. +$as_echo "$ac_ct_RANLIB" >&6; }
  17492. +else
  17493. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17494. +$as_echo "no" >&6; }
  17495. +fi
  17496. -if test -n $lt_cv_sys_max_cmd_len ; then
  17497. - { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  17498. -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  17499. + if test "x$ac_ct_RANLIB" = x; then
  17500. + RANLIB=":"
  17501. + else
  17502. + case $cross_compiling:$ac_tool_warned in
  17503. +yes:)
  17504. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17505. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17506. +ac_tool_warned=yes ;;
  17507. +esac
  17508. + RANLIB=$ac_ct_RANLIB
  17509. + fi
  17510. else
  17511. - { echo "$as_me:$LINENO: result: none" >&5
  17512. -echo "${ECHO_T}none" >&6; }
  17513. + RANLIB="$ac_cv_prog_RANLIB"
  17514. fi
  17515. +test -z "$RANLIB" && RANLIB=:
  17516. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  17517. -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  17518. -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  17519. -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  17520. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17521. -else
  17522. -# These are sane defaults that work on at least a few old systems.
  17523. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  17524. -# Character class describing NM global symbol codes.
  17525. -symcode='[BCDEGRST]'
  17526. -# Regexp to match symbols that can be accessed directly from C.
  17527. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  17528. +# Determine commands to create old-style static archives.
  17529. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  17530. +old_postinstall_cmds='chmod 644 $oldlib'
  17531. +old_postuninstall_cmds=
  17532. -# Transform an extracted symbol line into a proper C declaration
  17533. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  17534. +if test -n "$RANLIB"; then
  17535. + case $host_os in
  17536. + openbsd*)
  17537. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  17538. + ;;
  17539. + *)
  17540. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  17541. + ;;
  17542. + esac
  17543. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  17544. +fi
  17545. -# Transform an extracted symbol line into symbol name and symbol address
  17546. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  17547. +
  17548. +
  17549. +
  17550. +
  17551. +
  17552. +
  17553. +
  17554. +
  17555. +
  17556. +
  17557. +
  17558. +
  17559. +
  17560. +
  17561. +
  17562. +
  17563. +
  17564. +
  17565. +
  17566. +
  17567. +
  17568. +
  17569. +
  17570. +
  17571. +
  17572. +
  17573. +
  17574. +
  17575. +
  17576. +
  17577. +
  17578. +
  17579. +
  17580. +# If no C compiler was specified, use CC.
  17581. +LTCC=${LTCC-"$CC"}
  17582. +
  17583. +# If no C compiler flags were specified, use CFLAGS.
  17584. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  17585. +
  17586. +# Allow CC to be a program name with arguments.
  17587. +compiler=$CC
  17588. +
  17589. +
  17590. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  17591. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  17592. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  17593. +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  17594. + $as_echo_n "(cached) " >&6
  17595. +else
  17596. +
  17597. +# These are sane defaults that work on at least a few old systems.
  17598. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  17599. +
  17600. +# Character class describing NM global symbol codes.
  17601. +symcode='[BCDEGRST]'
  17602. +
  17603. +# Regexp to match symbols that can be accessed directly from C.
  17604. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  17605. # Define system-specific variables.
  17606. case $host_os in
  17607. aix*)
  17608. symcode='[BCDT]'
  17609. ;;
  17610. -cygwin* | mingw* | pw32*)
  17611. +cygwin* | mingw* | pw32* | cegcc*)
  17612. symcode='[ABCDGISTW]'
  17613. ;;
  17614. -hpux*) # Its linker distinguishes data from code symbols
  17615. +hpux*)
  17616. if test "$host_cpu" = ia64; then
  17617. symcode='[ABCDEGRST]'
  17618. fi
  17619. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  17620. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  17621. - ;;
  17622. -linux*)
  17623. - if test "$host_cpu" = ia64; then
  17624. - symcode='[ABCDGIRSTW]'
  17625. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  17626. - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
  17627. - fi
  17628. ;;
  17629. irix* | nonstopux*)
  17630. symcode='[BCDEGRST]'
  17631. @@ -6784,57 +5827,85 @@
  17632. ;;
  17633. esac
  17634. +# If we're using GNU nm, then use its standard symbol codes.
  17635. +case `$NM -V 2>&1` in
  17636. +*GNU* | *'with BFD'*)
  17637. + symcode='[ABCDGIRSTW]' ;;
  17638. +esac
  17639. +
  17640. +# Transform an extracted symbol line into a proper C declaration.
  17641. +# Some systems (esp. on ia64) link data and code symbols differently,
  17642. +# so use this general approach.
  17643. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  17644. +
  17645. +# Transform an extracted symbol line into symbol name and symbol address
  17646. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  17647. +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'"
  17648. +
  17649. # Handle CRLF in mingw tool chain
  17650. opt_cr=
  17651. case $build_os in
  17652. mingw*)
  17653. - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  17654. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  17655. ;;
  17656. esac
  17657. -# If we're using GNU nm, then use its standard symbol codes.
  17658. -case `$NM -V 2>&1` in
  17659. -*GNU* | *'with BFD'*)
  17660. - symcode='[ABCDGIRSTW]' ;;
  17661. -esac
  17662. -
  17663. -# Try without a prefix undercore, then with it.
  17664. +# Try without a prefix underscore, then with it.
  17665. for ac_symprfx in "" "_"; do
  17666. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  17667. symxfrm="\\1 $ac_symprfx\\2 \\2"
  17668. # Write the raw and C identifiers.
  17669. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  17670. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  17671. + # Fake it for dumpbin and say T for any non-static function
  17672. + # and D for any global variable.
  17673. + # Also find C++ and __fastcall symbols from MSVC++,
  17674. + # which start with @ or ?.
  17675. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  17676. +" {last_section=section; section=\$ 3};"\
  17677. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  17678. +" \$ 0!~/External *\|/{next};"\
  17679. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  17680. +" {if(hide[section]) next};"\
  17681. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  17682. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  17683. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  17684. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  17685. +" ' prfx=^$ac_symprfx"
  17686. + else
  17687. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  17688. + fi
  17689. # Check to see that the pipe works correctly.
  17690. pipe_works=no
  17691. rm -f conftest*
  17692. - cat > conftest.$ac_ext <<EOF
  17693. + cat > conftest.$ac_ext <<_LT_EOF
  17694. #ifdef __cplusplus
  17695. extern "C" {
  17696. #endif
  17697. char nm_test_var;
  17698. -void nm_test_func(){}
  17699. +void nm_test_func(void);
  17700. +void nm_test_func(void){}
  17701. #ifdef __cplusplus
  17702. }
  17703. #endif
  17704. int main(){nm_test_var='a';nm_test_func();return(0);}
  17705. -EOF
  17706. +_LT_EOF
  17707. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  17708. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  17709. (eval $ac_compile) 2>&5
  17710. ac_status=$?
  17711. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17712. - (exit $ac_status); }; then
  17713. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17714. + test $ac_status = 0; }; then
  17715. # Now try to grab the symbols.
  17716. nlist=conftest.nm
  17717. - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  17718. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  17719. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  17720. ac_status=$?
  17721. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17722. - (exit $ac_status); } && test -s "$nlist"; then
  17723. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17724. + test $ac_status = 0; } && test -s "$nlist"; then
  17725. # Try sorting and uniquifying the output.
  17726. if sort "$nlist" | uniq > "$nlist"T; then
  17727. mv -f "$nlist"T "$nlist"
  17728. @@ -6843,53 +5914,55 @@
  17729. fi
  17730. # Make sure that we snagged all the symbols we need.
  17731. - if grep ' nm_test_var$' "$nlist" >/dev/null; then
  17732. - if grep ' nm_test_func$' "$nlist" >/dev/null; then
  17733. - cat <<EOF > conftest.$ac_ext
  17734. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  17735. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  17736. + cat <<_LT_EOF > conftest.$ac_ext
  17737. #ifdef __cplusplus
  17738. extern "C" {
  17739. #endif
  17740. -EOF
  17741. +_LT_EOF
  17742. # Now generate the symbol file.
  17743. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  17744. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  17745. - cat <<EOF >> conftest.$ac_ext
  17746. -#if defined (__STDC__) && __STDC__
  17747. -# define lt_ptr_t void *
  17748. -#else
  17749. -# define lt_ptr_t char *
  17750. -# define const
  17751. -#endif
  17752. + cat <<_LT_EOF >> conftest.$ac_ext
  17753. -/* The mapping between symbol names and symbols. */
  17754. +/* The mapping between symbol names and symbols. */
  17755. const struct {
  17756. const char *name;
  17757. - lt_ptr_t address;
  17758. + void *address;
  17759. }
  17760. -lt_preloaded_symbols[] =
  17761. +lt__PROGRAM__LTX_preloaded_symbols[] =
  17762. {
  17763. -EOF
  17764. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  17765. - cat <<\EOF >> conftest.$ac_ext
  17766. - {0, (lt_ptr_t) 0}
  17767. + { "@PROGRAM@", (void *) 0 },
  17768. +_LT_EOF
  17769. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  17770. + cat <<\_LT_EOF >> conftest.$ac_ext
  17771. + {0, (void *) 0}
  17772. };
  17773. +/* This works around a problem in FreeBSD linker */
  17774. +#ifdef FREEBSD_WORKAROUND
  17775. +static const void *lt_preloaded_setup() {
  17776. + return lt__PROGRAM__LTX_preloaded_symbols;
  17777. +}
  17778. +#endif
  17779. +
  17780. #ifdef __cplusplus
  17781. }
  17782. #endif
  17783. -EOF
  17784. +_LT_EOF
  17785. # Now try linking the two files.
  17786. mv conftest.$ac_objext conftstm.$ac_objext
  17787. lt_save_LIBS="$LIBS"
  17788. lt_save_CFLAGS="$CFLAGS"
  17789. LIBS="conftstm.$ac_objext"
  17790. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  17791. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  17792. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  17793. (eval $ac_link) 2>&5
  17794. ac_status=$?
  17795. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17796. - (exit $ac_status); } && test -s conftest${ac_exeext}; then
  17797. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17798. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  17799. pipe_works=yes
  17800. fi
  17801. LIBS="$lt_save_LIBS"
  17802. @@ -6907,7 +5980,7 @@
  17803. echo "$progname: failed program was:" >&5
  17804. cat conftest.$ac_ext >&5
  17805. fi
  17806. - rm -f conftest* conftst*
  17807. + rm -rf conftest* conftst*
  17808. # Do not use the global_symbol_pipe unless it works.
  17809. if test "$pipe_works" = yes; then
  17810. @@ -6923,9872 +5996,1370 @@
  17811. lt_cv_sys_global_symbol_to_cdecl=
  17812. fi
  17813. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  17814. - { echo "$as_me:$LINENO: result: failed" >&5
  17815. -echo "${ECHO_T}failed" >&6; }
  17816. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  17817. +$as_echo "failed" >&6; }
  17818. else
  17819. - { echo "$as_me:$LINENO: result: ok" >&5
  17820. -echo "${ECHO_T}ok" >&6; }
  17821. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  17822. +$as_echo "ok" >&6; }
  17823. fi
  17824. -{ echo "$as_me:$LINENO: checking for objdir" >&5
  17825. -echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
  17826. -if test "${lt_cv_objdir+set}" = set; then
  17827. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17828. -else
  17829. - rm -f .libs 2>/dev/null
  17830. -mkdir .libs 2>/dev/null
  17831. -if test -d .libs; then
  17832. - lt_cv_objdir=.libs
  17833. -else
  17834. - # MS-DOS does not allow filenames that begin with a dot.
  17835. - lt_cv_objdir=_libs
  17836. -fi
  17837. -rmdir .libs 2>/dev/null
  17838. -fi
  17839. -{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  17840. -echo "${ECHO_T}$lt_cv_objdir" >&6; }
  17841. -objdir=$lt_cv_objdir
  17842. -case $host_os in
  17843. -aix3*)
  17844. - # AIX sometimes has problems with the GCC collect2 program. For some
  17845. - # reason, if we set the COLLECT_NAMES environment variable, the problems
  17846. - # vanish in a puff of smoke.
  17847. - if test "X${COLLECT_NAMES+set}" != Xset; then
  17848. - COLLECT_NAMES=
  17849. - export COLLECT_NAMES
  17850. - fi
  17851. - ;;
  17852. -esac
  17853. -# Sed substitution that helps us do robust quoting. It backslashifies
  17854. -# metacharacters that are still active within double-quoted strings.
  17855. -Xsed='sed -e 1s/^X//'
  17856. -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
  17857. -# Same as above, but do not quote variable references.
  17858. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
  17859. -# Sed substitution to delay expansion of an escaped shell variable in a
  17860. -# double_quote_subst'ed string.
  17861. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  17862. -# Sed substitution to avoid accidental globbing in evaled expressions
  17863. -no_glob_subst='s/\*/\\\*/g'
  17864. -# Constants:
  17865. -rm="rm -f"
  17866. -# Global variables:
  17867. -default_ofile=libtool
  17868. -can_build_shared=yes
  17869. -# All known linkers require a `.a' archive for static linking (except MSVC,
  17870. -# which needs '.lib').
  17871. -libext=a
  17872. -ltmain="$ac_aux_dir/ltmain.sh"
  17873. -ofile="$default_ofile"
  17874. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  17875. -if test -n "$ac_tool_prefix"; then
  17876. - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  17877. -set dummy ${ac_tool_prefix}ar; ac_word=$2
  17878. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17879. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17880. -if test "${ac_cv_prog_AR+set}" = set; then
  17881. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17882. -else
  17883. - if test -n "$AR"; then
  17884. - ac_cv_prog_AR="$AR" # Let the user override the test.
  17885. -else
  17886. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17887. -for as_dir in $PATH
  17888. -do
  17889. - IFS=$as_save_IFS
  17890. - test -z "$as_dir" && as_dir=.
  17891. - for ac_exec_ext in '' $ac_executable_extensions; do
  17892. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  17893. - ac_cv_prog_AR="${ac_tool_prefix}ar"
  17894. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17895. - break 2
  17896. - fi
  17897. -done
  17898. -done
  17899. -IFS=$as_save_IFS
  17900. -fi
  17901. -fi
  17902. -AR=$ac_cv_prog_AR
  17903. -if test -n "$AR"; then
  17904. - { echo "$as_me:$LINENO: result: $AR" >&5
  17905. -echo "${ECHO_T}$AR" >&6; }
  17906. -else
  17907. - { echo "$as_me:$LINENO: result: no" >&5
  17908. -echo "${ECHO_T}no" >&6; }
  17909. -fi
  17910. -fi
  17911. -if test -z "$ac_cv_prog_AR"; then
  17912. - ac_ct_AR=$AR
  17913. - # Extract the first word of "ar", so it can be a program name with args.
  17914. -set dummy ar; ac_word=$2
  17915. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17916. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17917. -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  17918. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17919. -else
  17920. - if test -n "$ac_ct_AR"; then
  17921. - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  17922. -else
  17923. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17924. -for as_dir in $PATH
  17925. -do
  17926. - IFS=$as_save_IFS
  17927. - test -z "$as_dir" && as_dir=.
  17928. - for ac_exec_ext in '' $ac_executable_extensions; do
  17929. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  17930. - ac_cv_prog_ac_ct_AR="ar"
  17931. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17932. - break 2
  17933. - fi
  17934. -done
  17935. -done
  17936. -IFS=$as_save_IFS
  17937. -fi
  17938. -fi
  17939. -ac_ct_AR=$ac_cv_prog_ac_ct_AR
  17940. -if test -n "$ac_ct_AR"; then
  17941. - { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  17942. -echo "${ECHO_T}$ac_ct_AR" >&6; }
  17943. -else
  17944. - { echo "$as_me:$LINENO: result: no" >&5
  17945. -echo "${ECHO_T}no" >&6; }
  17946. -fi
  17947. - if test "x$ac_ct_AR" = x; then
  17948. - AR="false"
  17949. - else
  17950. - case $cross_compiling:$ac_tool_warned in
  17951. -yes:)
  17952. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  17953. -whose name does not start with the host triplet. If you think this
  17954. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  17955. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  17956. -whose name does not start with the host triplet. If you think this
  17957. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  17958. -ac_tool_warned=yes ;;
  17959. -esac
  17960. - AR=$ac_ct_AR
  17961. - fi
  17962. -else
  17963. - AR="$ac_cv_prog_AR"
  17964. -fi
  17965. -if test -n "$ac_tool_prefix"; then
  17966. - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  17967. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  17968. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17969. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17970. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  17971. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17972. -else
  17973. - if test -n "$RANLIB"; then
  17974. - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  17975. -else
  17976. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17977. -for as_dir in $PATH
  17978. -do
  17979. - IFS=$as_save_IFS
  17980. - test -z "$as_dir" && as_dir=.
  17981. - for ac_exec_ext in '' $ac_executable_extensions; do
  17982. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  17983. - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  17984. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17985. - break 2
  17986. - fi
  17987. -done
  17988. -done
  17989. -IFS=$as_save_IFS
  17990. -fi
  17991. -fi
  17992. -RANLIB=$ac_cv_prog_RANLIB
  17993. -if test -n "$RANLIB"; then
  17994. - { echo "$as_me:$LINENO: result: $RANLIB" >&5
  17995. -echo "${ECHO_T}$RANLIB" >&6; }
  17996. -else
  17997. - { echo "$as_me:$LINENO: result: no" >&5
  17998. -echo "${ECHO_T}no" >&6; }
  17999. -fi
  18000. +# Check whether --enable-libtool-lock was given.
  18001. +if test "${enable_libtool_lock+set}" = set; then :
  18002. + enableval=$enable_libtool_lock;
  18003. fi
  18004. -if test -z "$ac_cv_prog_RANLIB"; then
  18005. - ac_ct_RANLIB=$RANLIB
  18006. - # Extract the first word of "ranlib", so it can be a program name with args.
  18007. -set dummy ranlib; ac_word=$2
  18008. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  18009. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  18010. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  18011. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18012. -else
  18013. - if test -n "$ac_ct_RANLIB"; then
  18014. - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  18015. -else
  18016. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18017. -for as_dir in $PATH
  18018. -do
  18019. - IFS=$as_save_IFS
  18020. - test -z "$as_dir" && as_dir=.
  18021. - for ac_exec_ext in '' $ac_executable_extensions; do
  18022. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  18023. - ac_cv_prog_ac_ct_RANLIB="ranlib"
  18024. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  18025. - break 2
  18026. - fi
  18027. -done
  18028. -done
  18029. -IFS=$as_save_IFS
  18030. -fi
  18031. -fi
  18032. -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  18033. -if test -n "$ac_ct_RANLIB"; then
  18034. - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  18035. -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  18036. -else
  18037. - { echo "$as_me:$LINENO: result: no" >&5
  18038. -echo "${ECHO_T}no" >&6; }
  18039. -fi
  18040. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  18041. - if test "x$ac_ct_RANLIB" = x; then
  18042. - RANLIB=":"
  18043. - else
  18044. - case $cross_compiling:$ac_tool_warned in
  18045. -yes:)
  18046. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  18047. -whose name does not start with the host triplet. If you think this
  18048. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  18049. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  18050. -whose name does not start with the host triplet. If you think this
  18051. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  18052. -ac_tool_warned=yes ;;
  18053. -esac
  18054. - RANLIB=$ac_ct_RANLIB
  18055. - fi
  18056. +# Some flags need to be propagated to the compiler or linker for good
  18057. +# libtool support.
  18058. +case $host in
  18059. +ia64-*-hpux*)
  18060. + # Find out which ABI we are using.
  18061. + echo 'int i;' > conftest.$ac_ext
  18062. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18063. + (eval $ac_compile) 2>&5
  18064. + ac_status=$?
  18065. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18066. + test $ac_status = 0; }; then
  18067. + case `/usr/bin/file conftest.$ac_objext` in
  18068. + *ELF-32*)
  18069. + HPUX_IA64_MODE="32"
  18070. + ;;
  18071. + *ELF-64*)
  18072. + HPUX_IA64_MODE="64"
  18073. + ;;
  18074. + esac
  18075. + fi
  18076. + rm -rf conftest*
  18077. + ;;
  18078. +*-*-irix6*)
  18079. + # Find out which ABI we are using.
  18080. + echo '#line 6059 "configure"' > conftest.$ac_ext
  18081. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18082. + (eval $ac_compile) 2>&5
  18083. + ac_status=$?
  18084. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18085. + test $ac_status = 0; }; then
  18086. + if test "$lt_cv_prog_gnu_ld" = yes; then
  18087. + case `/usr/bin/file conftest.$ac_objext` in
  18088. + *32-bit*)
  18089. + LD="${LD-ld} -melf32bsmip"
  18090. + ;;
  18091. + *N32*)
  18092. + LD="${LD-ld} -melf32bmipn32"
  18093. + ;;
  18094. + *64-bit*)
  18095. + LD="${LD-ld} -melf64bmip"
  18096. + ;;
  18097. + esac
  18098. + else
  18099. + case `/usr/bin/file conftest.$ac_objext` in
  18100. + *32-bit*)
  18101. + LD="${LD-ld} -32"
  18102. + ;;
  18103. + *N32*)
  18104. + LD="${LD-ld} -n32"
  18105. + ;;
  18106. + *64-bit*)
  18107. + LD="${LD-ld} -64"
  18108. + ;;
  18109. + esac
  18110. + fi
  18111. + fi
  18112. + rm -rf conftest*
  18113. + ;;
  18114. +
  18115. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  18116. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  18117. + # Find out which ABI we are using.
  18118. + echo 'int i;' > conftest.$ac_ext
  18119. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18120. + (eval $ac_compile) 2>&5
  18121. + ac_status=$?
  18122. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18123. + test $ac_status = 0; }; then
  18124. + case `/usr/bin/file conftest.o` in
  18125. + *32-bit*)
  18126. + case $host in
  18127. + x86_64-*kfreebsd*-gnu)
  18128. + LD="${LD-ld} -m elf_i386_fbsd"
  18129. + ;;
  18130. + x86_64-*linux*)
  18131. + LD="${LD-ld} -m elf_i386"
  18132. + ;;
  18133. + ppc64-*linux*|powerpc64-*linux*)
  18134. + LD="${LD-ld} -m elf32ppclinux"
  18135. + ;;
  18136. + s390x-*linux*)
  18137. + LD="${LD-ld} -m elf_s390"
  18138. + ;;
  18139. + sparc64-*linux*)
  18140. + LD="${LD-ld} -m elf32_sparc"
  18141. + ;;
  18142. + esac
  18143. + ;;
  18144. + *64-bit*)
  18145. + case $host in
  18146. + x86_64-*kfreebsd*-gnu)
  18147. + LD="${LD-ld} -m elf_x86_64_fbsd"
  18148. + ;;
  18149. + x86_64-*linux*)
  18150. + LD="${LD-ld} -m elf_x86_64"
  18151. + ;;
  18152. + ppc*-*linux*|powerpc*-*linux*)
  18153. + LD="${LD-ld} -m elf64ppc"
  18154. + ;;
  18155. + s390*-*linux*|s390*-*tpf*)
  18156. + LD="${LD-ld} -m elf64_s390"
  18157. + ;;
  18158. + sparc*-*linux*)
  18159. + LD="${LD-ld} -m elf64_sparc"
  18160. + ;;
  18161. + esac
  18162. + ;;
  18163. + esac
  18164. + fi
  18165. + rm -rf conftest*
  18166. + ;;
  18167. +
  18168. +*-*-sco3.2v5*)
  18169. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  18170. + SAVE_CFLAGS="$CFLAGS"
  18171. + CFLAGS="$CFLAGS -belf"
  18172. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  18173. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  18174. +if test "${lt_cv_cc_needs_belf+set}" = set; then :
  18175. + $as_echo_n "(cached) " >&6
  18176. else
  18177. - RANLIB="$ac_cv_prog_RANLIB"
  18178. + ac_ext=c
  18179. +ac_cpp='$CPP $CPPFLAGS'
  18180. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18181. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18182. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  18183. +
  18184. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18185. +/* end confdefs.h. */
  18186. +
  18187. +int
  18188. +main ()
  18189. +{
  18190. +
  18191. + ;
  18192. + return 0;
  18193. +}
  18194. +_ACEOF
  18195. +if ac_fn_c_try_link "$LINENO"; then :
  18196. + lt_cv_cc_needs_belf=yes
  18197. +else
  18198. + lt_cv_cc_needs_belf=no
  18199. fi
  18200. +rm -f core conftest.err conftest.$ac_objext \
  18201. + conftest$ac_exeext conftest.$ac_ext
  18202. + ac_ext=c
  18203. +ac_cpp='$CPP $CPPFLAGS'
  18204. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18205. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18206. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  18207. -if test -n "$ac_tool_prefix"; then
  18208. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  18209. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  18210. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  18211. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  18212. -if test "${ac_cv_prog_STRIP+set}" = set; then
  18213. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18214. +fi
  18215. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  18216. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  18217. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  18218. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  18219. + CFLAGS="$SAVE_CFLAGS"
  18220. + fi
  18221. + ;;
  18222. +sparc*-*solaris*)
  18223. + # Find out which ABI we are using.
  18224. + echo 'int i;' > conftest.$ac_ext
  18225. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18226. + (eval $ac_compile) 2>&5
  18227. + ac_status=$?
  18228. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18229. + test $ac_status = 0; }; then
  18230. + case `/usr/bin/file conftest.o` in
  18231. + *64-bit*)
  18232. + case $lt_cv_prog_gnu_ld in
  18233. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  18234. + *)
  18235. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  18236. + LD="${LD-ld} -64"
  18237. + fi
  18238. + ;;
  18239. + esac
  18240. + ;;
  18241. + esac
  18242. + fi
  18243. + rm -rf conftest*
  18244. + ;;
  18245. +esac
  18246. +
  18247. +need_locks="$enable_libtool_lock"
  18248. +
  18249. +
  18250. + case $host_os in
  18251. + rhapsody* | darwin*)
  18252. + if test -n "$ac_tool_prefix"; then
  18253. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  18254. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  18255. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18256. +$as_echo_n "checking for $ac_word... " >&6; }
  18257. +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  18258. + $as_echo_n "(cached) " >&6
  18259. else
  18260. - if test -n "$STRIP"; then
  18261. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  18262. + if test -n "$DSYMUTIL"; then
  18263. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  18264. else
  18265. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18266. for as_dir in $PATH
  18267. do
  18268. IFS=$as_save_IFS
  18269. test -z "$as_dir" && as_dir=.
  18270. - for ac_exec_ext in '' $ac_executable_extensions; do
  18271. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  18272. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  18273. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  18274. + for ac_exec_ext in '' $ac_executable_extensions; do
  18275. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18276. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  18277. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18278. break 2
  18279. fi
  18280. done
  18281. -done
  18282. + done
  18283. IFS=$as_save_IFS
  18284. fi
  18285. fi
  18286. -STRIP=$ac_cv_prog_STRIP
  18287. -if test -n "$STRIP"; then
  18288. - { echo "$as_me:$LINENO: result: $STRIP" >&5
  18289. -echo "${ECHO_T}$STRIP" >&6; }
  18290. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  18291. +if test -n "$DSYMUTIL"; then
  18292. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  18293. +$as_echo "$DSYMUTIL" >&6; }
  18294. else
  18295. - { echo "$as_me:$LINENO: result: no" >&5
  18296. -echo "${ECHO_T}no" >&6; }
  18297. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18298. +$as_echo "no" >&6; }
  18299. fi
  18300. fi
  18301. -if test -z "$ac_cv_prog_STRIP"; then
  18302. - ac_ct_STRIP=$STRIP
  18303. - # Extract the first word of "strip", so it can be a program name with args.
  18304. -set dummy strip; ac_word=$2
  18305. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  18306. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  18307. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  18308. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18309. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  18310. + ac_ct_DSYMUTIL=$DSYMUTIL
  18311. + # Extract the first word of "dsymutil", so it can be a program name with args.
  18312. +set dummy dsymutil; ac_word=$2
  18313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18314. +$as_echo_n "checking for $ac_word... " >&6; }
  18315. +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  18316. + $as_echo_n "(cached) " >&6
  18317. else
  18318. - if test -n "$ac_ct_STRIP"; then
  18319. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  18320. + if test -n "$ac_ct_DSYMUTIL"; then
  18321. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  18322. else
  18323. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18324. for as_dir in $PATH
  18325. do
  18326. IFS=$as_save_IFS
  18327. test -z "$as_dir" && as_dir=.
  18328. - for ac_exec_ext in '' $ac_executable_extensions; do
  18329. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  18330. - ac_cv_prog_ac_ct_STRIP="strip"
  18331. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  18332. + for ac_exec_ext in '' $ac_executable_extensions; do
  18333. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18334. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  18335. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18336. break 2
  18337. fi
  18338. done
  18339. -done
  18340. + done
  18341. IFS=$as_save_IFS
  18342. fi
  18343. fi
  18344. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  18345. -if test -n "$ac_ct_STRIP"; then
  18346. - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  18347. -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  18348. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  18349. +if test -n "$ac_ct_DSYMUTIL"; then
  18350. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  18351. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  18352. else
  18353. - { echo "$as_me:$LINENO: result: no" >&5
  18354. -echo "${ECHO_T}no" >&6; }
  18355. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18356. +$as_echo "no" >&6; }
  18357. fi
  18358. - if test "x$ac_ct_STRIP" = x; then
  18359. - STRIP=":"
  18360. + if test "x$ac_ct_DSYMUTIL" = x; then
  18361. + DSYMUTIL=":"
  18362. else
  18363. case $cross_compiling:$ac_tool_warned in
  18364. yes:)
  18365. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  18366. -whose name does not start with the host triplet. If you think this
  18367. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  18368. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  18369. -whose name does not start with the host triplet. If you think this
  18370. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  18371. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  18372. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  18373. ac_tool_warned=yes ;;
  18374. esac
  18375. - STRIP=$ac_ct_STRIP
  18376. + DSYMUTIL=$ac_ct_DSYMUTIL
  18377. fi
  18378. else
  18379. - STRIP="$ac_cv_prog_STRIP"
  18380. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  18381. fi
  18382. + if test -n "$ac_tool_prefix"; then
  18383. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  18384. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  18385. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18386. +$as_echo_n "checking for $ac_word... " >&6; }
  18387. +if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  18388. + $as_echo_n "(cached) " >&6
  18389. +else
  18390. + if test -n "$NMEDIT"; then
  18391. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  18392. +else
  18393. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18394. +for as_dir in $PATH
  18395. +do
  18396. + IFS=$as_save_IFS
  18397. + test -z "$as_dir" && as_dir=.
  18398. + for ac_exec_ext in '' $ac_executable_extensions; do
  18399. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18400. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  18401. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18402. + break 2
  18403. + fi
  18404. +done
  18405. + done
  18406. +IFS=$as_save_IFS
  18407. -old_CC="$CC"
  18408. -old_CFLAGS="$CFLAGS"
  18409. +fi
  18410. +fi
  18411. +NMEDIT=$ac_cv_prog_NMEDIT
  18412. +if test -n "$NMEDIT"; then
  18413. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  18414. +$as_echo "$NMEDIT" >&6; }
  18415. +else
  18416. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18417. +$as_echo "no" >&6; }
  18418. +fi
  18419. -# Set sane defaults for various variables
  18420. -test -z "$AR" && AR=ar
  18421. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  18422. -test -z "$AS" && AS=as
  18423. -test -z "$CC" && CC=cc
  18424. -test -z "$LTCC" && LTCC=$CC
  18425. -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  18426. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  18427. -test -z "$LD" && LD=ld
  18428. -test -z "$LN_S" && LN_S="ln -s"
  18429. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  18430. -test -z "$NM" && NM=nm
  18431. -test -z "$SED" && SED=sed
  18432. -test -z "$OBJDUMP" && OBJDUMP=objdump
  18433. -test -z "$RANLIB" && RANLIB=:
  18434. -test -z "$STRIP" && STRIP=:
  18435. -test -z "$ac_objext" && ac_objext=o
  18436. -# Determine commands to create old-style static archives.
  18437. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
  18438. -old_postinstall_cmds='chmod 644 $oldlib'
  18439. -old_postuninstall_cmds=
  18440. +fi
  18441. +if test -z "$ac_cv_prog_NMEDIT"; then
  18442. + ac_ct_NMEDIT=$NMEDIT
  18443. + # Extract the first word of "nmedit", so it can be a program name with args.
  18444. +set dummy nmedit; ac_word=$2
  18445. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18446. +$as_echo_n "checking for $ac_word... " >&6; }
  18447. +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  18448. + $as_echo_n "(cached) " >&6
  18449. +else
  18450. + if test -n "$ac_ct_NMEDIT"; then
  18451. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  18452. +else
  18453. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18454. +for as_dir in $PATH
  18455. +do
  18456. + IFS=$as_save_IFS
  18457. + test -z "$as_dir" && as_dir=.
  18458. + for ac_exec_ext in '' $ac_executable_extensions; do
  18459. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18460. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  18461. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18462. + break 2
  18463. + fi
  18464. +done
  18465. + done
  18466. +IFS=$as_save_IFS
  18467. -if test -n "$RANLIB"; then
  18468. - case $host_os in
  18469. - openbsd*)
  18470. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  18471. - ;;
  18472. - *)
  18473. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  18474. - ;;
  18475. - esac
  18476. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  18477. +fi
  18478. +fi
  18479. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  18480. +if test -n "$ac_ct_NMEDIT"; then
  18481. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  18482. +$as_echo "$ac_ct_NMEDIT" >&6; }
  18483. +else
  18484. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18485. +$as_echo "no" >&6; }
  18486. fi
  18487. -for cc_temp in $compiler""; do
  18488. - case $cc_temp in
  18489. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  18490. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  18491. - \-*) ;;
  18492. - *) break;;
  18493. - esac
  18494. + if test "x$ac_ct_NMEDIT" = x; then
  18495. + NMEDIT=":"
  18496. + else
  18497. + case $cross_compiling:$ac_tool_warned in
  18498. +yes:)
  18499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  18500. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  18501. +ac_tool_warned=yes ;;
  18502. +esac
  18503. + NMEDIT=$ac_ct_NMEDIT
  18504. + fi
  18505. +else
  18506. + NMEDIT="$ac_cv_prog_NMEDIT"
  18507. +fi
  18508. +
  18509. + if test -n "$ac_tool_prefix"; then
  18510. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  18511. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  18512. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18513. +$as_echo_n "checking for $ac_word... " >&6; }
  18514. +if test "${ac_cv_prog_LIPO+set}" = set; then :
  18515. + $as_echo_n "(cached) " >&6
  18516. +else
  18517. + if test -n "$LIPO"; then
  18518. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  18519. +else
  18520. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18521. +for as_dir in $PATH
  18522. +do
  18523. + IFS=$as_save_IFS
  18524. + test -z "$as_dir" && as_dir=.
  18525. + for ac_exec_ext in '' $ac_executable_extensions; do
  18526. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18527. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  18528. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18529. + break 2
  18530. + fi
  18531. done
  18532. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  18533. + done
  18534. +IFS=$as_save_IFS
  18535. +
  18536. +fi
  18537. +fi
  18538. +LIPO=$ac_cv_prog_LIPO
  18539. +if test -n "$LIPO"; then
  18540. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  18541. +$as_echo "$LIPO" >&6; }
  18542. +else
  18543. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18544. +$as_echo "no" >&6; }
  18545. +fi
  18546. -# Only perform the check for file, if the check method requires it
  18547. -case $deplibs_check_method in
  18548. -file_magic*)
  18549. - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  18550. - { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  18551. -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
  18552. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  18553. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18554. +fi
  18555. +if test -z "$ac_cv_prog_LIPO"; then
  18556. + ac_ct_LIPO=$LIPO
  18557. + # Extract the first word of "lipo", so it can be a program name with args.
  18558. +set dummy lipo; ac_word=$2
  18559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18560. +$as_echo_n "checking for $ac_word... " >&6; }
  18561. +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  18562. + $as_echo_n "(cached) " >&6
  18563. else
  18564. - case $MAGIC_CMD in
  18565. -[\\/*] | ?:[\\/]*)
  18566. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  18567. - ;;
  18568. -*)
  18569. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  18570. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  18571. - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  18572. - for ac_dir in $ac_dummy; do
  18573. - IFS="$lt_save_ifs"
  18574. - test -z "$ac_dir" && ac_dir=.
  18575. - if test -f $ac_dir/${ac_tool_prefix}file; then
  18576. - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  18577. - if test -n "$file_magic_test_file"; then
  18578. - case $deplibs_check_method in
  18579. - "file_magic "*)
  18580. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  18581. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  18582. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  18583. - $EGREP "$file_magic_regex" > /dev/null; then
  18584. - :
  18585. - else
  18586. - cat <<EOF 1>&2
  18587. + if test -n "$ac_ct_LIPO"; then
  18588. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  18589. +else
  18590. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18591. +for as_dir in $PATH
  18592. +do
  18593. + IFS=$as_save_IFS
  18594. + test -z "$as_dir" && as_dir=.
  18595. + for ac_exec_ext in '' $ac_executable_extensions; do
  18596. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18597. + ac_cv_prog_ac_ct_LIPO="lipo"
  18598. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18599. + break 2
  18600. + fi
  18601. +done
  18602. + done
  18603. +IFS=$as_save_IFS
  18604. -*** Warning: the command libtool uses to detect shared libraries,
  18605. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  18606. -*** The result is that libtool may fail to recognize shared libraries
  18607. -*** as such. This will affect the creation of libtool libraries that
  18608. -*** depend on shared libraries, but programs linked with such libtool
  18609. -*** libraries will work regardless of this problem. Nevertheless, you
  18610. -*** may want to report the problem to your system manager and/or to
  18611. -*** bug-libtool@gnu.org
  18612. +fi
  18613. +fi
  18614. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  18615. +if test -n "$ac_ct_LIPO"; then
  18616. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  18617. +$as_echo "$ac_ct_LIPO" >&6; }
  18618. +else
  18619. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18620. +$as_echo "no" >&6; }
  18621. +fi
  18622. -EOF
  18623. - fi ;;
  18624. - esac
  18625. - fi
  18626. - break
  18627. - fi
  18628. - done
  18629. - IFS="$lt_save_ifs"
  18630. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  18631. - ;;
  18632. + if test "x$ac_ct_LIPO" = x; then
  18633. + LIPO=":"
  18634. + else
  18635. + case $cross_compiling:$ac_tool_warned in
  18636. +yes:)
  18637. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  18638. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  18639. +ac_tool_warned=yes ;;
  18640. esac
  18641. + LIPO=$ac_ct_LIPO
  18642. + fi
  18643. +else
  18644. + LIPO="$ac_cv_prog_LIPO"
  18645. fi
  18646. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  18647. -if test -n "$MAGIC_CMD"; then
  18648. - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  18649. -echo "${ECHO_T}$MAGIC_CMD" >&6; }
  18650. + if test -n "$ac_tool_prefix"; then
  18651. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  18652. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  18653. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18654. +$as_echo_n "checking for $ac_word... " >&6; }
  18655. +if test "${ac_cv_prog_OTOOL+set}" = set; then :
  18656. + $as_echo_n "(cached) " >&6
  18657. else
  18658. - { echo "$as_me:$LINENO: result: no" >&5
  18659. -echo "${ECHO_T}no" >&6; }
  18660. -fi
  18661. + if test -n "$OTOOL"; then
  18662. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  18663. +else
  18664. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18665. +for as_dir in $PATH
  18666. +do
  18667. + IFS=$as_save_IFS
  18668. + test -z "$as_dir" && as_dir=.
  18669. + for ac_exec_ext in '' $ac_executable_extensions; do
  18670. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18671. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  18672. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18673. + break 2
  18674. + fi
  18675. +done
  18676. + done
  18677. +IFS=$as_save_IFS
  18678. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  18679. - if test -n "$ac_tool_prefix"; then
  18680. - { echo "$as_me:$LINENO: checking for file" >&5
  18681. -echo $ECHO_N "checking for file... $ECHO_C" >&6; }
  18682. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  18683. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18684. +fi
  18685. +fi
  18686. +OTOOL=$ac_cv_prog_OTOOL
  18687. +if test -n "$OTOOL"; then
  18688. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  18689. +$as_echo "$OTOOL" >&6; }
  18690. else
  18691. - case $MAGIC_CMD in
  18692. -[\\/*] | ?:[\\/]*)
  18693. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  18694. - ;;
  18695. -*)
  18696. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  18697. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  18698. - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  18699. - for ac_dir in $ac_dummy; do
  18700. - IFS="$lt_save_ifs"
  18701. - test -z "$ac_dir" && ac_dir=.
  18702. - if test -f $ac_dir/file; then
  18703. - lt_cv_path_MAGIC_CMD="$ac_dir/file"
  18704. - if test -n "$file_magic_test_file"; then
  18705. - case $deplibs_check_method in
  18706. - "file_magic "*)
  18707. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  18708. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  18709. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  18710. - $EGREP "$file_magic_regex" > /dev/null; then
  18711. - :
  18712. - else
  18713. - cat <<EOF 1>&2
  18714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18715. +$as_echo "no" >&6; }
  18716. +fi
  18717. -*** Warning: the command libtool uses to detect shared libraries,
  18718. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  18719. -*** The result is that libtool may fail to recognize shared libraries
  18720. -*** as such. This will affect the creation of libtool libraries that
  18721. -*** depend on shared libraries, but programs linked with such libtool
  18722. -*** libraries will work regardless of this problem. Nevertheless, you
  18723. -*** may want to report the problem to your system manager and/or to
  18724. -*** bug-libtool@gnu.org
  18725. -EOF
  18726. - fi ;;
  18727. - esac
  18728. - fi
  18729. - break
  18730. - fi
  18731. - done
  18732. - IFS="$lt_save_ifs"
  18733. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  18734. - ;;
  18735. -esac
  18736. fi
  18737. +if test -z "$ac_cv_prog_OTOOL"; then
  18738. + ac_ct_OTOOL=$OTOOL
  18739. + # Extract the first word of "otool", so it can be a program name with args.
  18740. +set dummy otool; ac_word=$2
  18741. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18742. +$as_echo_n "checking for $ac_word... " >&6; }
  18743. +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  18744. + $as_echo_n "(cached) " >&6
  18745. +else
  18746. + if test -n "$ac_ct_OTOOL"; then
  18747. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  18748. +else
  18749. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18750. +for as_dir in $PATH
  18751. +do
  18752. + IFS=$as_save_IFS
  18753. + test -z "$as_dir" && as_dir=.
  18754. + for ac_exec_ext in '' $ac_executable_extensions; do
  18755. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18756. + ac_cv_prog_ac_ct_OTOOL="otool"
  18757. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18758. + break 2
  18759. + fi
  18760. +done
  18761. + done
  18762. +IFS=$as_save_IFS
  18763. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  18764. -if test -n "$MAGIC_CMD"; then
  18765. - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  18766. -echo "${ECHO_T}$MAGIC_CMD" >&6; }
  18767. +fi
  18768. +fi
  18769. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  18770. +if test -n "$ac_ct_OTOOL"; then
  18771. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  18772. +$as_echo "$ac_ct_OTOOL" >&6; }
  18773. else
  18774. - { echo "$as_me:$LINENO: result: no" >&5
  18775. -echo "${ECHO_T}no" >&6; }
  18776. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18777. +$as_echo "no" >&6; }
  18778. fi
  18779. + if test "x$ac_ct_OTOOL" = x; then
  18780. + OTOOL=":"
  18781. else
  18782. - MAGIC_CMD=:
  18783. + case $cross_compiling:$ac_tool_warned in
  18784. +yes:)
  18785. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  18786. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  18787. +ac_tool_warned=yes ;;
  18788. +esac
  18789. + OTOOL=$ac_ct_OTOOL
  18790. fi
  18791. +else
  18792. + OTOOL="$ac_cv_prog_OTOOL"
  18793. fi
  18794. + if test -n "$ac_tool_prefix"; then
  18795. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  18796. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  18797. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18798. +$as_echo_n "checking for $ac_word... " >&6; }
  18799. +if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  18800. + $as_echo_n "(cached) " >&6
  18801. +else
  18802. + if test -n "$OTOOL64"; then
  18803. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  18804. +else
  18805. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18806. +for as_dir in $PATH
  18807. +do
  18808. + IFS=$as_save_IFS
  18809. + test -z "$as_dir" && as_dir=.
  18810. + for ac_exec_ext in '' $ac_executable_extensions; do
  18811. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18812. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  18813. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18814. + break 2
  18815. fi
  18816. - ;;
  18817. -esac
  18818. -
  18819. -enable_dlopen=yes
  18820. -enable_win32_dll=no
  18821. +done
  18822. + done
  18823. +IFS=$as_save_IFS
  18824. -# Check whether --enable-libtool-lock was given.
  18825. -if test "${enable_libtool_lock+set}" = set; then
  18826. - enableval=$enable_libtool_lock;
  18827. +fi
  18828. +fi
  18829. +OTOOL64=$ac_cv_prog_OTOOL64
  18830. +if test -n "$OTOOL64"; then
  18831. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  18832. +$as_echo "$OTOOL64" >&6; }
  18833. +else
  18834. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18835. +$as_echo "no" >&6; }
  18836. fi
  18837. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  18838. +fi
  18839. +if test -z "$ac_cv_prog_OTOOL64"; then
  18840. + ac_ct_OTOOL64=$OTOOL64
  18841. + # Extract the first word of "otool64", so it can be a program name with args.
  18842. +set dummy otool64; ac_word=$2
  18843. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18844. +$as_echo_n "checking for $ac_word... " >&6; }
  18845. +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  18846. + $as_echo_n "(cached) " >&6
  18847. +else
  18848. + if test -n "$ac_ct_OTOOL64"; then
  18849. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  18850. +else
  18851. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18852. +for as_dir in $PATH
  18853. +do
  18854. + IFS=$as_save_IFS
  18855. + test -z "$as_dir" && as_dir=.
  18856. + for ac_exec_ext in '' $ac_executable_extensions; do
  18857. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18858. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  18859. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18860. + break 2
  18861. + fi
  18862. +done
  18863. + done
  18864. +IFS=$as_save_IFS
  18865. -# Check whether --with-pic was given.
  18866. -if test "${with_pic+set}" = set; then
  18867. - withval=$with_pic; pic_mode="$withval"
  18868. +fi
  18869. +fi
  18870. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  18871. +if test -n "$ac_ct_OTOOL64"; then
  18872. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  18873. +$as_echo "$ac_ct_OTOOL64" >&6; }
  18874. else
  18875. - pic_mode=default
  18876. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18877. +$as_echo "no" >&6; }
  18878. fi
  18879. -test -z "$pic_mode" && pic_mode=default
  18880. + if test "x$ac_ct_OTOOL64" = x; then
  18881. + OTOOL64=":"
  18882. + else
  18883. + case $cross_compiling:$ac_tool_warned in
  18884. +yes:)
  18885. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  18886. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  18887. +ac_tool_warned=yes ;;
  18888. +esac
  18889. + OTOOL64=$ac_ct_OTOOL64
  18890. + fi
  18891. +else
  18892. + OTOOL64="$ac_cv_prog_OTOOL64"
  18893. +fi
  18894. -# Use C for the default configuration in the libtool script
  18895. -tagname=
  18896. -lt_save_CC="$CC"
  18897. -ac_ext=c
  18898. -ac_cpp='$CPP $CPPFLAGS'
  18899. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18900. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18901. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  18902. -# Source file extension for C test sources.
  18903. -ac_ext=c
  18904. -# Object file extension for compiled C test sources.
  18905. -objext=o
  18906. -objext=$objext
  18907. -# Code to be used in simple compile tests
  18908. -lt_simple_compile_test_code="int some_variable = 0;\n"
  18909. -# Code to be used in simple link tests
  18910. -lt_simple_link_test_code='int main(){return(0);}\n'
  18911. -# If no C compiler was specified, use CC.
  18912. -LTCC=${LTCC-"$CC"}
  18913. -# If no C compiler flags were specified, use CFLAGS.
  18914. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  18915. -# Allow CC to be a program name with arguments.
  18916. -compiler=$CC
  18917. -# save warnings/boilerplate of simple test code
  18918. -ac_outfile=conftest.$ac_objext
  18919. -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  18920. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  18921. -_lt_compiler_boilerplate=`cat conftest.err`
  18922. -$rm conftest*
  18923. -ac_outfile=conftest.$ac_objext
  18924. -printf "$lt_simple_link_test_code" >conftest.$ac_ext
  18925. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  18926. -_lt_linker_boilerplate=`cat conftest.err`
  18927. -$rm conftest*
  18928. -lt_prog_compiler_no_builtin_flag=
  18929. -if test "$GCC" = yes; then
  18930. - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  18931. -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  18932. -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  18933. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  18934. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18935. -else
  18936. - lt_cv_prog_compiler_rtti_exceptions=no
  18937. - ac_outfile=conftest.$ac_objext
  18938. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  18939. - lt_compiler_flag="-fno-rtti -fno-exceptions"
  18940. - # Insert the option either (1) after the last *FLAGS variable, or
  18941. - # (2) before a word containing "conftest.", or (3) at the end.
  18942. - # Note that $ac_compile itself does not contain backslashes and begins
  18943. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  18944. - # The option is referenced via a variable to avoid confusing sed.
  18945. - lt_compile=`echo "$ac_compile" | $SED \
  18946. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  18947. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  18948. - -e 's:$: $lt_compiler_flag:'`
  18949. - (eval echo "\"\$as_me:7563: $lt_compile\"" >&5)
  18950. - (eval "$lt_compile" 2>conftest.err)
  18951. - ac_status=$?
  18952. - cat conftest.err >&5
  18953. - echo "$as_me:7567: \$? = $ac_status" >&5
  18954. - if (exit $ac_status) && test -s "$ac_outfile"; then
  18955. - # The compiler can only warn and ignore the option if not recognized
  18956. - # So say no if there are warnings other than the usual output.
  18957. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  18958. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  18959. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  18960. - lt_cv_prog_compiler_rtti_exceptions=yes
  18961. - fi
  18962. - fi
  18963. - $rm conftest*
  18964. -fi
  18965. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  18966. -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  18967. -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  18968. - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  18969. -else
  18970. - :
  18971. -fi
  18972. -fi
  18973. -lt_prog_compiler_wl=
  18974. -lt_prog_compiler_pic=
  18975. -lt_prog_compiler_static=
  18976. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  18977. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  18978. - if test "$GCC" = yes; then
  18979. - lt_prog_compiler_wl='-Wl,'
  18980. - lt_prog_compiler_static='-static'
  18981. - case $host_os in
  18982. - aix*)
  18983. - # All AIX code is PIC.
  18984. - if test "$host_cpu" = ia64; then
  18985. - # AIX 5 now supports IA64 processor
  18986. - lt_prog_compiler_static='-Bstatic'
  18987. +
  18988. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  18989. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  18990. +if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  18991. + $as_echo_n "(cached) " >&6
  18992. +else
  18993. + lt_cv_apple_cc_single_mod=no
  18994. + if test -z "${LT_MULTI_MODULE}"; then
  18995. + # By default we will add the -single_module flag. You can override
  18996. + # by either setting the environment variable LT_MULTI_MODULE
  18997. + # non-empty at configure time, or by adding -multi_module to the
  18998. + # link flags.
  18999. + rm -rf libconftest.dylib*
  19000. + echo "int foo(void){return 1;}" > conftest.c
  19001. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  19002. +-dynamiclib -Wl,-single_module conftest.c" >&5
  19003. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  19004. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  19005. + _lt_result=$?
  19006. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  19007. + lt_cv_apple_cc_single_mod=yes
  19008. + else
  19009. + cat conftest.err >&5
  19010. + fi
  19011. + rm -rf libconftest.dylib*
  19012. + rm -f conftest.*
  19013. fi
  19014. - ;;
  19015. +fi
  19016. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  19017. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  19018. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  19019. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  19020. +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  19021. + $as_echo_n "(cached) " >&6
  19022. +else
  19023. + lt_cv_ld_exported_symbols_list=no
  19024. + save_LDFLAGS=$LDFLAGS
  19025. + echo "_main" > conftest.sym
  19026. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  19027. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19028. +/* end confdefs.h. */
  19029. - amigaos*)
  19030. - # FIXME: we need at least 68020 code to build shared libraries, but
  19031. - # adding the `-m68020' flag to GCC prevents building anything better,
  19032. - # like `-m68040'.
  19033. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  19034. - ;;
  19035. +int
  19036. +main ()
  19037. +{
  19038. - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  19039. - # PIC is the default for these OSes.
  19040. - ;;
  19041. + ;
  19042. + return 0;
  19043. +}
  19044. +_ACEOF
  19045. +if ac_fn_c_try_link "$LINENO"; then :
  19046. + lt_cv_ld_exported_symbols_list=yes
  19047. +else
  19048. + lt_cv_ld_exported_symbols_list=no
  19049. +fi
  19050. +rm -f core conftest.err conftest.$ac_objext \
  19051. + conftest$ac_exeext conftest.$ac_ext
  19052. + LDFLAGS="$save_LDFLAGS"
  19053. - mingw* | pw32* | os2*)
  19054. - # This hack is so that the source file can tell whether it is being
  19055. - # built for inclusion in a dll (and should export symbols for example).
  19056. - lt_prog_compiler_pic='-DDLL_EXPORT'
  19057. - ;;
  19058. +fi
  19059. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  19060. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  19061. + case $host_os in
  19062. + rhapsody* | darwin1.[012])
  19063. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  19064. + darwin1.*)
  19065. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  19066. + darwin*) # darwin 5.x on
  19067. + # if running on 10.5 or later, the deployment target defaults
  19068. + # to the OS version, if on x86, and 10.4, the deployment
  19069. + # target defaults to 10.4. Don't you love it?
  19070. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  19071. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  19072. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  19073. + 10.[012]*)
  19074. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  19075. + 10.*)
  19076. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  19077. + esac
  19078. + ;;
  19079. + esac
  19080. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  19081. + _lt_dar_single_mod='$single_module'
  19082. + fi
  19083. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  19084. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  19085. + else
  19086. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  19087. + fi
  19088. + if test "$DSYMUTIL" != ":"; then
  19089. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  19090. + else
  19091. + _lt_dsymutil=
  19092. + fi
  19093. + ;;
  19094. + esac
  19095. - darwin* | rhapsody*)
  19096. - # PIC is the default on this platform
  19097. - # Common symbols not allowed in MH_DYLIB files
  19098. - lt_prog_compiler_pic='-fno-common'
  19099. - ;;
  19100. - interix3*)
  19101. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  19102. - # Instead, we relocate shared libraries at runtime.
  19103. - ;;
  19104. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  19105. +$as_echo_n "checking for ANSI C header files... " >&6; }
  19106. +if test "${ac_cv_header_stdc+set}" = set; then :
  19107. + $as_echo_n "(cached) " >&6
  19108. +else
  19109. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19110. +/* end confdefs.h. */
  19111. +#include <stdlib.h>
  19112. +#include <stdarg.h>
  19113. +#include <string.h>
  19114. +#include <float.h>
  19115. - msdosdjgpp*)
  19116. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  19117. - # on systems that don't support them.
  19118. - lt_prog_compiler_can_build_shared=no
  19119. - enable_shared=no
  19120. - ;;
  19121. +int
  19122. +main ()
  19123. +{
  19124. - sysv4*MP*)
  19125. - if test -d /usr/nec; then
  19126. - lt_prog_compiler_pic=-Kconform_pic
  19127. - fi
  19128. - ;;
  19129. + ;
  19130. + return 0;
  19131. +}
  19132. +_ACEOF
  19133. +if ac_fn_c_try_compile "$LINENO"; then :
  19134. + ac_cv_header_stdc=yes
  19135. +else
  19136. + ac_cv_header_stdc=no
  19137. +fi
  19138. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19139. - hpux*)
  19140. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  19141. - # not for PA HP-UX.
  19142. - case $host_cpu in
  19143. - hppa*64*|ia64*)
  19144. - # +Z the default
  19145. - ;;
  19146. - *)
  19147. - lt_prog_compiler_pic='-fPIC'
  19148. - ;;
  19149. - esac
  19150. - ;;
  19151. +if test $ac_cv_header_stdc = yes; then
  19152. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  19153. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19154. +/* end confdefs.h. */
  19155. +#include <string.h>
  19156. - *)
  19157. - lt_prog_compiler_pic='-fPIC'
  19158. - ;;
  19159. - esac
  19160. - else
  19161. - # PORTME Check for flag to pass linker flags through the system compiler.
  19162. - case $host_os in
  19163. - aix*)
  19164. - lt_prog_compiler_wl='-Wl,'
  19165. - if test "$host_cpu" = ia64; then
  19166. - # AIX 5 now supports IA64 processor
  19167. - lt_prog_compiler_static='-Bstatic'
  19168. - else
  19169. - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  19170. - fi
  19171. - ;;
  19172. - darwin*)
  19173. - # PIC is the default on this platform
  19174. - # Common symbols not allowed in MH_DYLIB files
  19175. - case $cc_basename in
  19176. - xlc*)
  19177. - lt_prog_compiler_pic='-qnocommon'
  19178. - lt_prog_compiler_wl='-Wl,'
  19179. - ;;
  19180. - esac
  19181. - ;;
  19182. +_ACEOF
  19183. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19184. + $EGREP "memchr" >/dev/null 2>&1; then :
  19185. - mingw* | pw32* | os2*)
  19186. - # This hack is so that the source file can tell whether it is being
  19187. - # built for inclusion in a dll (and should export symbols for example).
  19188. - lt_prog_compiler_pic='-DDLL_EXPORT'
  19189. - ;;
  19190. +else
  19191. + ac_cv_header_stdc=no
  19192. +fi
  19193. +rm -f conftest*
  19194. - hpux9* | hpux10* | hpux11*)
  19195. - lt_prog_compiler_wl='-Wl,'
  19196. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  19197. - # not for PA HP-UX.
  19198. - case $host_cpu in
  19199. - hppa*64*|ia64*)
  19200. - # +Z the default
  19201. - ;;
  19202. - *)
  19203. - lt_prog_compiler_pic='+Z'
  19204. - ;;
  19205. - esac
  19206. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  19207. - lt_prog_compiler_static='${wl}-a ${wl}archive'
  19208. - ;;
  19209. +fi
  19210. - irix5* | irix6* | nonstopux*)
  19211. - lt_prog_compiler_wl='-Wl,'
  19212. - # PIC (with -KPIC) is the default.
  19213. - lt_prog_compiler_static='-non_shared'
  19214. - ;;
  19215. +if test $ac_cv_header_stdc = yes; then
  19216. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  19217. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19218. +/* end confdefs.h. */
  19219. +#include <stdlib.h>
  19220. - newsos6)
  19221. - lt_prog_compiler_pic='-KPIC'
  19222. - lt_prog_compiler_static='-Bstatic'
  19223. - ;;
  19224. +_ACEOF
  19225. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  19226. + $EGREP "free" >/dev/null 2>&1; then :
  19227. - linux*)
  19228. - case $cc_basename in
  19229. - icc* | ecc*)
  19230. - lt_prog_compiler_wl='-Wl,'
  19231. - lt_prog_compiler_pic='-KPIC'
  19232. - lt_prog_compiler_static='-static'
  19233. - ;;
  19234. - pgcc* | pgf77* | pgf90* | pgf95*)
  19235. - # Portland Group compilers (*not* the Pentium gcc compiler,
  19236. - # which looks to be a dead project)
  19237. - lt_prog_compiler_wl='-Wl,'
  19238. - lt_prog_compiler_pic='-fpic'
  19239. - lt_prog_compiler_static='-Bstatic'
  19240. - ;;
  19241. - ccc*)
  19242. - lt_prog_compiler_wl='-Wl,'
  19243. - # All Alpha code is PIC.
  19244. - lt_prog_compiler_static='-non_shared'
  19245. - ;;
  19246. - esac
  19247. - ;;
  19248. +else
  19249. + ac_cv_header_stdc=no
  19250. +fi
  19251. +rm -f conftest*
  19252. - osf3* | osf4* | osf5*)
  19253. - lt_prog_compiler_wl='-Wl,'
  19254. - # All OSF/1 code is PIC.
  19255. - lt_prog_compiler_static='-non_shared'
  19256. - ;;
  19257. +fi
  19258. - solaris*)
  19259. - lt_prog_compiler_pic='-KPIC'
  19260. - lt_prog_compiler_static='-Bstatic'
  19261. - case $cc_basename in
  19262. - f77* | f90* | f95*)
  19263. - lt_prog_compiler_wl='-Qoption ld ';;
  19264. - *)
  19265. - lt_prog_compiler_wl='-Wl,';;
  19266. - esac
  19267. - ;;
  19268. +if test $ac_cv_header_stdc = yes; then
  19269. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  19270. + if test "$cross_compiling" = yes; then :
  19271. + :
  19272. +else
  19273. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19274. +/* end confdefs.h. */
  19275. +#include <ctype.h>
  19276. +#include <stdlib.h>
  19277. +#if ((' ' & 0x0FF) == 0x020)
  19278. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  19279. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  19280. +#else
  19281. +# define ISLOWER(c) \
  19282. + (('a' <= (c) && (c) <= 'i') \
  19283. + || ('j' <= (c) && (c) <= 'r') \
  19284. + || ('s' <= (c) && (c) <= 'z'))
  19285. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  19286. +#endif
  19287. - sunos4*)
  19288. - lt_prog_compiler_wl='-Qoption ld '
  19289. - lt_prog_compiler_pic='-PIC'
  19290. - lt_prog_compiler_static='-Bstatic'
  19291. - ;;
  19292. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  19293. +int
  19294. +main ()
  19295. +{
  19296. + int i;
  19297. + for (i = 0; i < 256; i++)
  19298. + if (XOR (islower (i), ISLOWER (i))
  19299. + || toupper (i) != TOUPPER (i))
  19300. + return 2;
  19301. + return 0;
  19302. +}
  19303. +_ACEOF
  19304. +if ac_fn_c_try_run "$LINENO"; then :
  19305. - sysv4 | sysv4.2uw2* | sysv4.3*)
  19306. - lt_prog_compiler_wl='-Wl,'
  19307. - lt_prog_compiler_pic='-KPIC'
  19308. - lt_prog_compiler_static='-Bstatic'
  19309. - ;;
  19310. +else
  19311. + ac_cv_header_stdc=no
  19312. +fi
  19313. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19314. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  19315. +fi
  19316. - sysv4*MP*)
  19317. - if test -d /usr/nec ;then
  19318. - lt_prog_compiler_pic='-Kconform_pic'
  19319. - lt_prog_compiler_static='-Bstatic'
  19320. - fi
  19321. - ;;
  19322. +fi
  19323. +fi
  19324. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  19325. +$as_echo "$ac_cv_header_stdc" >&6; }
  19326. +if test $ac_cv_header_stdc = yes; then
  19327. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  19328. - lt_prog_compiler_wl='-Wl,'
  19329. - lt_prog_compiler_pic='-KPIC'
  19330. - lt_prog_compiler_static='-Bstatic'
  19331. - ;;
  19332. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  19333. - unicos*)
  19334. - lt_prog_compiler_wl='-Wl,'
  19335. - lt_prog_compiler_can_build_shared=no
  19336. - ;;
  19337. +fi
  19338. - uts4*)
  19339. - lt_prog_compiler_pic='-pic'
  19340. - lt_prog_compiler_static='-Bstatic'
  19341. - ;;
  19342. -
  19343. - *)
  19344. - lt_prog_compiler_can_build_shared=no
  19345. - ;;
  19346. - esac
  19347. - fi
  19348. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  19349. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  19350. + inttypes.h stdint.h unistd.h
  19351. +do :
  19352. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  19353. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  19354. +"
  19355. +eval as_val=\$$as_ac_Header
  19356. + if test "x$as_val" = x""yes; then :
  19357. + cat >>confdefs.h <<_ACEOF
  19358. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  19359. +_ACEOF
  19360. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  19361. -echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
  19362. +fi
  19363. -#
  19364. -# Check to make sure the PIC flag actually works.
  19365. -#
  19366. -if test -n "$lt_prog_compiler_pic"; then
  19367. +done
  19368. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  19369. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
  19370. -if test "${lt_prog_compiler_pic_works+set}" = set; then
  19371. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19372. -else
  19373. - lt_prog_compiler_pic_works=no
  19374. - ac_outfile=conftest.$ac_objext
  19375. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  19376. - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  19377. - # Insert the option either (1) after the last *FLAGS variable, or
  19378. - # (2) before a word containing "conftest.", or (3) at the end.
  19379. - # Note that $ac_compile itself does not contain backslashes and begins
  19380. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  19381. - # The option is referenced via a variable to avoid confusing sed.
  19382. - lt_compile=`echo "$ac_compile" | $SED \
  19383. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  19384. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  19385. - -e 's:$: $lt_compiler_flag:'`
  19386. - (eval echo "\"\$as_me:7831: $lt_compile\"" >&5)
  19387. - (eval "$lt_compile" 2>conftest.err)
  19388. - ac_status=$?
  19389. - cat conftest.err >&5
  19390. - echo "$as_me:7835: \$? = $ac_status" >&5
  19391. - if (exit $ac_status) && test -s "$ac_outfile"; then
  19392. - # The compiler can only warn and ignore the option if not recognized
  19393. - # So say no if there are warnings other than the usual output.
  19394. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  19395. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  19396. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  19397. - lt_prog_compiler_pic_works=yes
  19398. - fi
  19399. - fi
  19400. - $rm conftest*
  19401. -fi
  19402. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
  19403. -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
  19404. +for ac_header in dlfcn.h
  19405. +do :
  19406. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  19407. +"
  19408. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  19409. + cat >>confdefs.h <<_ACEOF
  19410. +#define HAVE_DLFCN_H 1
  19411. +_ACEOF
  19412. -if test x"$lt_prog_compiler_pic_works" = xyes; then
  19413. - case $lt_prog_compiler_pic in
  19414. - "" | " "*) ;;
  19415. - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  19416. - esac
  19417. -else
  19418. - lt_prog_compiler_pic=
  19419. - lt_prog_compiler_can_build_shared=no
  19420. fi
  19421. -fi
  19422. -case $host_os in
  19423. - # For platforms which do not support PIC, -DPIC is meaningless:
  19424. - *djgpp*)
  19425. - lt_prog_compiler_pic=
  19426. - ;;
  19427. - *)
  19428. - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  19429. - ;;
  19430. -esac
  19431. +done
  19432. -#
  19433. -# Check to make sure the static flag actually works.
  19434. -#
  19435. -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  19436. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  19437. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  19438. -if test "${lt_prog_compiler_static_works+set}" = set; then
  19439. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19440. -else
  19441. - lt_prog_compiler_static_works=no
  19442. - save_LDFLAGS="$LDFLAGS"
  19443. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  19444. - printf "$lt_simple_link_test_code" > conftest.$ac_ext
  19445. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  19446. - # The linker can only warn and ignore the option if not recognized
  19447. - # So say no if there are warnings
  19448. - if test -s conftest.err; then
  19449. - # Append any errors to the config.log.
  19450. - cat conftest.err 1>&5
  19451. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  19452. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  19453. - if diff conftest.exp conftest.er2 >/dev/null; then
  19454. - lt_prog_compiler_static_works=yes
  19455. - fi
  19456. - else
  19457. - lt_prog_compiler_static_works=yes
  19458. - fi
  19459. - fi
  19460. - $rm conftest*
  19461. - LDFLAGS="$save_LDFLAGS"
  19462. -fi
  19463. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
  19464. -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
  19465. -if test x"$lt_prog_compiler_static_works" = xyes; then
  19466. - :
  19467. -else
  19468. - lt_prog_compiler_static=
  19469. -fi
  19470. +# Set options
  19471. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  19472. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  19473. -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  19474. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19475. -else
  19476. - lt_cv_prog_compiler_c_o=no
  19477. - $rm -r conftest 2>/dev/null
  19478. - mkdir conftest
  19479. - cd conftest
  19480. - mkdir out
  19481. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  19482. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  19483. - # Insert the option either (1) after the last *FLAGS variable, or
  19484. - # (2) before a word containing "conftest.", or (3) at the end.
  19485. - # Note that $ac_compile itself does not contain backslashes and begins
  19486. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  19487. - lt_compile=`echo "$ac_compile" | $SED \
  19488. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  19489. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  19490. - -e 's:$: $lt_compiler_flag:'`
  19491. - (eval echo "\"\$as_me:7935: $lt_compile\"" >&5)
  19492. - (eval "$lt_compile" 2>out/conftest.err)
  19493. - ac_status=$?
  19494. - cat out/conftest.err >&5
  19495. - echo "$as_me:7939: \$? = $ac_status" >&5
  19496. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  19497. - then
  19498. - # The compiler can only warn and ignore the option if not recognized
  19499. - # So say no if there are warnings
  19500. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  19501. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  19502. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  19503. - lt_cv_prog_compiler_c_o=yes
  19504. - fi
  19505. - fi
  19506. - chmod u+w . 2>&5
  19507. - $rm conftest*
  19508. - # SGI C++ compiler will create directory out/ii_files/ for
  19509. - # template instantiation
  19510. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  19511. - $rm out/* && rmdir out
  19512. - cd ..
  19513. - rmdir conftest
  19514. - $rm conftest*
  19515. -fi
  19516. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  19517. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  19518. + enable_win32_dll=no
  19519. -hard_links="nottested"
  19520. -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  19521. - # do not overwrite the value of need_locks provided by the user
  19522. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  19523. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  19524. - hard_links=yes
  19525. - $rm conftest*
  19526. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  19527. - touch conftest.a
  19528. - ln conftest.a conftest.b 2>&5 || hard_links=no
  19529. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  19530. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  19531. -echo "${ECHO_T}$hard_links" >&6; }
  19532. - if test "$hard_links" = no; then
  19533. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  19534. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  19535. - need_locks=warn
  19536. - fi
  19537. + # Check whether --enable-shared was given.
  19538. +if test "${enable_shared+set}" = set; then :
  19539. + enableval=$enable_shared; p=${PACKAGE-default}
  19540. + case $enableval in
  19541. + yes) enable_shared=yes ;;
  19542. + no) enable_shared=no ;;
  19543. + *)
  19544. + enable_shared=no
  19545. + # Look at the argument we got. We use all the common list separators.
  19546. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  19547. + for pkg in $enableval; do
  19548. + IFS="$lt_save_ifs"
  19549. + if test "X$pkg" = "X$p"; then
  19550. + enable_shared=yes
  19551. + fi
  19552. + done
  19553. + IFS="$lt_save_ifs"
  19554. + ;;
  19555. + esac
  19556. else
  19557. - need_locks=no
  19558. + enable_shared=yes
  19559. fi
  19560. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  19561. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  19562. - runpath_var=
  19563. - allow_undefined_flag=
  19564. - enable_shared_with_static_runtimes=no
  19565. - archive_cmds=
  19566. - archive_expsym_cmds=
  19567. - old_archive_From_new_cmds=
  19568. - old_archive_from_expsyms_cmds=
  19569. - export_dynamic_flag_spec=
  19570. - whole_archive_flag_spec=
  19571. - thread_safe_flag_spec=
  19572. - hardcode_libdir_flag_spec=
  19573. - hardcode_libdir_flag_spec_ld=
  19574. - hardcode_libdir_separator=
  19575. - hardcode_direct=no
  19576. - hardcode_minus_L=no
  19577. - hardcode_shlibpath_var=unsupported
  19578. - link_all_deplibs=unknown
  19579. - hardcode_automatic=no
  19580. - module_cmds=
  19581. - module_expsym_cmds=
  19582. - always_export_symbols=no
  19583. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  19584. - # include_expsyms should be a list of space-separated symbols to be *always*
  19585. - # included in the symbol list
  19586. - include_expsyms=
  19587. - # exclude_expsyms can be an extended regexp of symbols to exclude
  19588. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  19589. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  19590. - # as well as any symbol that contains `d'.
  19591. - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
  19592. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  19593. - # platforms (ab)use it in PIC code, but their linkers get confused if
  19594. - # the symbol is explicitly referenced. Since portable code cannot
  19595. - # rely on this symbol name, it's probably fine to never include it in
  19596. - # preloaded symbol tables.
  19597. - extract_expsyms_cmds=
  19598. - # Just being paranoid about ensuring that cc_basename is set.
  19599. - for cc_temp in $compiler""; do
  19600. - case $cc_temp in
  19601. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  19602. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  19603. - \-*) ;;
  19604. - *) break;;
  19605. - esac
  19606. -done
  19607. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  19608. - case $host_os in
  19609. - cygwin* | mingw* | pw32*)
  19610. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  19611. - # When not using gcc, we currently assume that we are using
  19612. - # Microsoft Visual C++.
  19613. - if test "$GCC" != yes; then
  19614. - with_gnu_ld=no
  19615. - fi
  19616. - ;;
  19617. - interix*)
  19618. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  19619. - with_gnu_ld=yes
  19620. - ;;
  19621. - openbsd*)
  19622. - with_gnu_ld=no
  19623. - ;;
  19624. - esac
  19625. - ld_shlibs=yes
  19626. - if test "$with_gnu_ld" = yes; then
  19627. - # If archive_cmds runs LD, not CC, wlarc should be empty
  19628. - wlarc='${wl}'
  19629. - # Set some defaults for GNU ld with shared library support. These
  19630. - # are reset later if shared libraries are not supported. Putting them
  19631. - # here allows them to be overridden if necessary.
  19632. - runpath_var=LD_RUN_PATH
  19633. - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  19634. - export_dynamic_flag_spec='${wl}--export-dynamic'
  19635. - # ancient GNU ld didn't support --whole-archive et. al.
  19636. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  19637. - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  19638. - else
  19639. - whole_archive_flag_spec=
  19640. - fi
  19641. - supports_anon_versioning=no
  19642. - case `$LD -v 2>/dev/null` in
  19643. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  19644. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  19645. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  19646. - *\ 2.11.*) ;; # other 2.11 versions
  19647. - *) supports_anon_versioning=yes ;;
  19648. - esac
  19649. - # See if GNU ld supports shared libraries.
  19650. - case $host_os in
  19651. - aix3* | aix4* | aix5*)
  19652. - # On AIX/PPC, the GNU linker is very broken
  19653. - if test "$host_cpu" != ia64; then
  19654. - ld_shlibs=no
  19655. - cat <<EOF 1>&2
  19656. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  19657. -*** to be unable to reliably create shared libraries on AIX.
  19658. -*** Therefore, libtool is disabling shared libraries support. If you
  19659. -*** really care for shared libraries, you may want to modify your PATH
  19660. -*** so that a non-GNU linker is found, and then restart.
  19661. -EOF
  19662. - fi
  19663. - ;;
  19664. - amigaos*)
  19665. - archive_cmds='$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)'
  19666. - hardcode_libdir_flag_spec='-L$libdir'
  19667. - hardcode_minus_L=yes
  19668. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  19669. - # that the semantics of dynamic libraries on AmigaOS, at least up
  19670. - # to version 4, is to share data among multiple programs linked
  19671. - # with the same dynamic library. Since this doesn't match the
  19672. - # behavior of shared libraries on other platforms, we can't use
  19673. - # them.
  19674. - ld_shlibs=no
  19675. - ;;
  19676. - beos*)
  19677. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  19678. - allow_undefined_flag=unsupported
  19679. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  19680. - # support --undefined. This deserves some investigation. FIXME
  19681. - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  19682. - else
  19683. - ld_shlibs=no
  19684. - fi
  19685. - ;;
  19686. +# Check whether --with-pic was given.
  19687. +if test "${with_pic+set}" = set; then :
  19688. + withval=$with_pic; pic_mode="$withval"
  19689. +else
  19690. + pic_mode=default
  19691. +fi
  19692. - cygwin* | mingw* | pw32*)
  19693. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  19694. - # as there is no search path for DLLs.
  19695. - hardcode_libdir_flag_spec='-L$libdir'
  19696. - allow_undefined_flag=unsupported
  19697. - always_export_symbols=no
  19698. - enable_shared_with_static_runtimes=yes
  19699. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  19700. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  19701. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  19702. - # If the export-symbols file already is a .def file (1st line
  19703. - # is EXPORTS), use it as is; otherwise, prepend...
  19704. - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  19705. - cp $export_symbols $output_objdir/$soname.def;
  19706. - else
  19707. - echo EXPORTS > $output_objdir/$soname.def;
  19708. - cat $export_symbols >> $output_objdir/$soname.def;
  19709. - fi~
  19710. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  19711. - else
  19712. - ld_shlibs=no
  19713. - fi
  19714. - ;;
  19715. +test -z "$pic_mode" && pic_mode=default
  19716. +
  19717. - interix3*)
  19718. - hardcode_direct=no
  19719. - hardcode_shlibpath_var=no
  19720. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  19721. - export_dynamic_flag_spec='${wl}-E'
  19722. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  19723. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  19724. - # default) and relocated if they conflict, which is a slow very memory
  19725. - # consuming and fragmenting process. To avoid this, we pick a random,
  19726. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  19727. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  19728. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  19729. - 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'
  19730. - ;;
  19731. - linux*)
  19732. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  19733. - tmp_addflag=
  19734. - case $cc_basename,$host_cpu in
  19735. - pgcc*) # Portland Group C compiler
  19736. - 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'
  19737. - tmp_addflag=' $pic_flag'
  19738. - ;;
  19739. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  19740. - 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'
  19741. - tmp_addflag=' $pic_flag -Mnomain' ;;
  19742. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  19743. - tmp_addflag=' -i_dynamic' ;;
  19744. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  19745. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  19746. - ifc* | ifort*) # Intel Fortran compiler
  19747. - tmp_addflag=' -nofor_main' ;;
  19748. - esac
  19749. - archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  19750. - if test $supports_anon_versioning = yes; then
  19751. - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
  19752. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  19753. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  19754. - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  19755. +
  19756. +
  19757. +
  19758. + # Check whether --enable-fast-install was given.
  19759. +if test "${enable_fast_install+set}" = set; then :
  19760. + enableval=$enable_fast_install; p=${PACKAGE-default}
  19761. + case $enableval in
  19762. + yes) enable_fast_install=yes ;;
  19763. + no) enable_fast_install=no ;;
  19764. + *)
  19765. + enable_fast_install=no
  19766. + # Look at the argument we got. We use all the common list separators.
  19767. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  19768. + for pkg in $enableval; do
  19769. + IFS="$lt_save_ifs"
  19770. + if test "X$pkg" = "X$p"; then
  19771. + enable_fast_install=yes
  19772. fi
  19773. - else
  19774. - ld_shlibs=no
  19775. - fi
  19776. + done
  19777. + IFS="$lt_save_ifs"
  19778. ;;
  19779. + esac
  19780. +else
  19781. + enable_fast_install=yes
  19782. +fi
  19783. - netbsd*)
  19784. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  19785. - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  19786. - wlarc=
  19787. - else
  19788. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  19789. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  19790. - fi
  19791. - ;;
  19792. - solaris*)
  19793. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  19794. - ld_shlibs=no
  19795. - cat <<EOF 1>&2
  19796. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  19797. -*** create shared libraries on Solaris systems. Therefore, libtool
  19798. -*** is disabling shared libraries support. We urge you to upgrade GNU
  19799. -*** binutils to release 2.9.1 or newer. Another option is to modify
  19800. -*** your PATH or compiler configuration so that the native linker is
  19801. -*** used, and then restart.
  19802. -EOF
  19803. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  19804. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  19805. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  19806. - else
  19807. - ld_shlibs=no
  19808. - fi
  19809. - ;;
  19810. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  19811. - case `$LD -v 2>&1` in
  19812. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  19813. - ld_shlibs=no
  19814. - cat <<_LT_EOF 1>&2
  19815. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  19816. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  19817. -*** is disabling shared libraries support. We urge you to upgrade GNU
  19818. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  19819. -*** your PATH or compiler configuration so that the native linker is
  19820. -*** used, and then restart.
  19821. -_LT_EOF
  19822. - ;;
  19823. - *)
  19824. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  19825. - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  19826. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  19827. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  19828. - else
  19829. - ld_shlibs=no
  19830. - fi
  19831. - ;;
  19832. - esac
  19833. - ;;
  19834. - sunos4*)
  19835. - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  19836. - wlarc=
  19837. - hardcode_direct=yes
  19838. - hardcode_shlibpath_var=no
  19839. - ;;
  19840. - *)
  19841. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  19842. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  19843. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  19844. - else
  19845. - ld_shlibs=no
  19846. - fi
  19847. - ;;
  19848. - esac
  19849. - if test "$ld_shlibs" = no; then
  19850. - runpath_var=
  19851. - hardcode_libdir_flag_spec=
  19852. - export_dynamic_flag_spec=
  19853. - whole_archive_flag_spec=
  19854. - fi
  19855. - else
  19856. - # PORTME fill in a description of your system's linker (not GNU ld)
  19857. - case $host_os in
  19858. - aix3*)
  19859. - allow_undefined_flag=unsupported
  19860. - always_export_symbols=yes
  19861. - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  19862. - # Note: this linker hardcodes the directories in LIBPATH if there
  19863. - # are no directories specified by -L.
  19864. - hardcode_minus_L=yes
  19865. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  19866. - # Neither direct hardcoding nor static linking is supported with a
  19867. - # broken collect2.
  19868. - hardcode_direct=unsupported
  19869. - fi
  19870. - ;;
  19871. - aix4* | aix5*)
  19872. - if test "$host_cpu" = ia64; then
  19873. - # On IA64, the linker does run time linking by default, so we don't
  19874. - # have to do anything special.
  19875. - aix_use_runtimelinking=no
  19876. - exp_sym_flag='-Bexport'
  19877. - no_entry_flag=""
  19878. - else
  19879. - # If we're using GNU nm, then we don't want the "-C" option.
  19880. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  19881. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  19882. - 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'
  19883. - else
  19884. - 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'
  19885. - fi
  19886. - aix_use_runtimelinking=no
  19887. +# This can be used to rebuild libtool when needed
  19888. +LIBTOOL_DEPS="$ltmain"
  19889. - # Test if we are trying to use run time linking or normal
  19890. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  19891. - # need to do runtime linking.
  19892. - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  19893. - for ld_flag in $LDFLAGS; do
  19894. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  19895. - aix_use_runtimelinking=yes
  19896. - break
  19897. - fi
  19898. - done
  19899. - ;;
  19900. - esac
  19901. +# Always use our own libtool.
  19902. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  19903. - exp_sym_flag='-bexport'
  19904. - no_entry_flag='-bnoentry'
  19905. - fi
  19906. - # When large executables or shared objects are built, AIX ld can
  19907. - # have problems creating the table of contents. If linking a library
  19908. - # or program results in "error TOC overflow" add -mminimal-toc to
  19909. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  19910. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  19911. - archive_cmds=''
  19912. - hardcode_direct=yes
  19913. - hardcode_libdir_separator=':'
  19914. - link_all_deplibs=yes
  19915. - if test "$GCC" = yes; then
  19916. - case $host_os in aix4.[012]|aix4.[012].*)
  19917. - # We only want to do this on AIX 4.2 and lower, the check
  19918. - # below for broken collect2 doesn't work under 4.3+
  19919. - collect2name=`${CC} -print-prog-name=collect2`
  19920. - if test -f "$collect2name" && \
  19921. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  19922. - then
  19923. - # We have reworked collect2
  19924. - hardcode_direct=yes
  19925. - else
  19926. - # We have old collect2
  19927. - hardcode_direct=unsupported
  19928. - # It fails to find uninstalled libraries when the uninstalled
  19929. - # path is not listed in the libpath. Setting hardcode_minus_L
  19930. - # to unsupported forces relinking
  19931. - hardcode_minus_L=yes
  19932. - hardcode_libdir_flag_spec='-L$libdir'
  19933. - hardcode_libdir_separator=
  19934. - fi
  19935. - ;;
  19936. - esac
  19937. - shared_flag='-shared'
  19938. - if test "$aix_use_runtimelinking" = yes; then
  19939. - shared_flag="$shared_flag "'${wl}-G'
  19940. - fi
  19941. - else
  19942. - # not using gcc
  19943. - if test "$host_cpu" = ia64; then
  19944. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  19945. - # chokes on -Wl,-G. The following line is correct:
  19946. - shared_flag='-G'
  19947. - else
  19948. - if test "$aix_use_runtimelinking" = yes; then
  19949. - shared_flag='${wl}-G'
  19950. - else
  19951. - shared_flag='${wl}-bM:SRE'
  19952. - fi
  19953. - fi
  19954. - fi
  19955. - # It seems that -bexpall does not export symbols beginning with
  19956. - # underscore (_), so it is better to generate a list of symbols to export.
  19957. - always_export_symbols=yes
  19958. - if test "$aix_use_runtimelinking" = yes; then
  19959. - # Warning - without using the other runtime loading flags (-brtl),
  19960. - # -berok will link without error, but may produce a broken library.
  19961. - allow_undefined_flag='-berok'
  19962. - # Determine the default libpath from the value encoded in an empty executable.
  19963. - cat >conftest.$ac_ext <<_ACEOF
  19964. -/* confdefs.h. */
  19965. -_ACEOF
  19966. -cat confdefs.h >>conftest.$ac_ext
  19967. -cat >>conftest.$ac_ext <<_ACEOF
  19968. -/* end confdefs.h. */
  19969. -int
  19970. -main ()
  19971. -{
  19972. - ;
  19973. - return 0;
  19974. -}
  19975. -_ACEOF
  19976. -rm -f conftest.$ac_objext conftest$ac_exeext
  19977. -if { (ac_try="$ac_link"
  19978. -case "(($ac_try" in
  19979. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19980. - *) ac_try_echo=$ac_try;;
  19981. -esac
  19982. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19983. - (eval "$ac_link") 2>conftest.er1
  19984. - ac_status=$?
  19985. - grep -v '^ *+' conftest.er1 >conftest.err
  19986. - rm -f conftest.er1
  19987. - cat conftest.err >&5
  19988. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19989. - (exit $ac_status); } &&
  19990. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  19991. - { (case "(($ac_try" in
  19992. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19993. - *) ac_try_echo=$ac_try;;
  19994. -esac
  19995. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19996. - (eval "$ac_try") 2>&5
  19997. - ac_status=$?
  19998. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19999. - (exit $ac_status); }; } &&
  20000. - { ac_try='test -s conftest$ac_exeext'
  20001. - { (case "(($ac_try" in
  20002. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20003. - *) ac_try_echo=$ac_try;;
  20004. -esac
  20005. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20006. - (eval "$ac_try") 2>&5
  20007. - ac_status=$?
  20008. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20009. - (exit $ac_status); }; }; then
  20010. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  20011. -}'`
  20012. -# Check for a 64-bit object if we didn't find anything.
  20013. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  20014. -}'`; fi
  20015. -else
  20016. - echo "$as_me: failed program was:" >&5
  20017. -sed 's/^/| /' conftest.$ac_ext >&5
  20018. -fi
  20019. -rm -f core conftest.err conftest.$ac_objext \
  20020. - conftest$ac_exeext conftest.$ac_ext
  20021. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  20022. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  20023. - 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  20024. - else
  20025. - if test "$host_cpu" = ia64; then
  20026. - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  20027. - allow_undefined_flag="-z nodefs"
  20028. - archive_expsym_cmds="\$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"
  20029. - else
  20030. - # Determine the default libpath from the value encoded in an empty executable.
  20031. - cat >conftest.$ac_ext <<_ACEOF
  20032. -/* confdefs.h. */
  20033. -_ACEOF
  20034. -cat confdefs.h >>conftest.$ac_ext
  20035. -cat >>conftest.$ac_ext <<_ACEOF
  20036. -/* end confdefs.h. */
  20037. -int
  20038. -main ()
  20039. -{
  20040. - ;
  20041. - return 0;
  20042. -}
  20043. -_ACEOF
  20044. -rm -f conftest.$ac_objext conftest$ac_exeext
  20045. -if { (ac_try="$ac_link"
  20046. -case "(($ac_try" in
  20047. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20048. - *) ac_try_echo=$ac_try;;
  20049. -esac
  20050. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20051. - (eval "$ac_link") 2>conftest.er1
  20052. - ac_status=$?
  20053. - grep -v '^ *+' conftest.er1 >conftest.err
  20054. - rm -f conftest.er1
  20055. - cat conftest.err >&5
  20056. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20057. - (exit $ac_status); } &&
  20058. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  20059. - { (case "(($ac_try" in
  20060. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20061. - *) ac_try_echo=$ac_try;;
  20062. -esac
  20063. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20064. - (eval "$ac_try") 2>&5
  20065. - ac_status=$?
  20066. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20067. - (exit $ac_status); }; } &&
  20068. - { ac_try='test -s conftest$ac_exeext'
  20069. - { (case "(($ac_try" in
  20070. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20071. - *) ac_try_echo=$ac_try;;
  20072. -esac
  20073. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20074. - (eval "$ac_try") 2>&5
  20075. - ac_status=$?
  20076. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20077. - (exit $ac_status); }; }; then
  20078. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  20079. -}'`
  20080. -# Check for a 64-bit object if we didn't find anything.
  20081. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  20082. -}'`; fi
  20083. -else
  20084. - echo "$as_me: failed program was:" >&5
  20085. -sed 's/^/| /' conftest.$ac_ext >&5
  20086. -fi
  20087. -rm -f core conftest.err conftest.$ac_objext \
  20088. - conftest$ac_exeext conftest.$ac_ext
  20089. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  20090. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  20091. - # Warning - without using the other run time loading flags,
  20092. - # -berok will link without error, but may produce a broken library.
  20093. - no_undefined_flag=' ${wl}-bernotok'
  20094. - allow_undefined_flag=' ${wl}-berok'
  20095. - # Exported symbols can be pulled into shared objects from archives
  20096. - whole_archive_flag_spec='$convenience'
  20097. - archive_cmds_need_lc=yes
  20098. - # This is similar to how AIX traditionally builds its shared libraries.
  20099. - 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'
  20100. - fi
  20101. - fi
  20102. - ;;
  20103. - amigaos*)
  20104. - archive_cmds='$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)'
  20105. - hardcode_libdir_flag_spec='-L$libdir'
  20106. - hardcode_minus_L=yes
  20107. - # see comment about different semantics on the GNU ld section
  20108. - ld_shlibs=no
  20109. - ;;
  20110. - bsdi[45]*)
  20111. - export_dynamic_flag_spec=-rdynamic
  20112. - ;;
  20113. - cygwin* | mingw* | pw32*)
  20114. - # When not using gcc, we currently assume that we are using
  20115. - # Microsoft Visual C++.
  20116. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  20117. - # no search path for DLLs.
  20118. - hardcode_libdir_flag_spec=' '
  20119. - allow_undefined_flag=unsupported
  20120. - # Tell ltmain to make .lib files, not .a files.
  20121. - libext=lib
  20122. - # Tell ltmain to make .dll files, not .so files.
  20123. - shrext_cmds=".dll"
  20124. - # FIXME: Setting linknames here is a bad hack.
  20125. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  20126. - # The linker will automatically build a .lib file if we build a DLL.
  20127. - old_archive_From_new_cmds='true'
  20128. - # FIXME: Should let the user specify the lib program.
  20129. - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
  20130. - fix_srcfile_path='`cygpath -w "$srcfile"`'
  20131. - enable_shared_with_static_runtimes=yes
  20132. - ;;
  20133. - darwin* | rhapsody*)
  20134. - case $host_os in
  20135. - rhapsody* | darwin1.[012])
  20136. - allow_undefined_flag='${wl}-undefined ${wl}suppress'
  20137. - ;;
  20138. - *) # Darwin 1.3 on
  20139. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  20140. - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  20141. - else
  20142. - case ${MACOSX_DEPLOYMENT_TARGET} in
  20143. - 10.[012])
  20144. - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  20145. - ;;
  20146. - 10.*)
  20147. - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
  20148. - ;;
  20149. - esac
  20150. - fi
  20151. - ;;
  20152. - esac
  20153. - archive_cmds_need_lc=no
  20154. - hardcode_direct=no
  20155. - hardcode_automatic=yes
  20156. - hardcode_shlibpath_var=unsupported
  20157. - whole_archive_flag_spec=''
  20158. - link_all_deplibs=yes
  20159. - if test "$GCC" = yes ; then
  20160. - output_verbose_link_cmd='echo'
  20161. - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  20162. - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  20163. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  20164. - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  20165. - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  20166. - else
  20167. - case $cc_basename in
  20168. - xlc*)
  20169. - output_verbose_link_cmd='echo'
  20170. - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  20171. - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  20172. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  20173. - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  20174. - module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  20175. - ;;
  20176. - *)
  20177. - ld_shlibs=no
  20178. - ;;
  20179. - esac
  20180. - fi
  20181. - ;;
  20182. - dgux*)
  20183. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20184. - hardcode_libdir_flag_spec='-L$libdir'
  20185. - hardcode_shlibpath_var=no
  20186. - ;;
  20187. - freebsd1*)
  20188. - ld_shlibs=no
  20189. - ;;
  20190. +test -z "$LN_S" && LN_S="ln -s"
  20191. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  20192. - # support. Future versions do this automatically, but an explicit c++rt0.o
  20193. - # does not break anything, and helps significantly (at the cost of a little
  20194. - # extra space).
  20195. - freebsd2.2*)
  20196. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  20197. - hardcode_libdir_flag_spec='-R$libdir'
  20198. - hardcode_direct=yes
  20199. - hardcode_shlibpath_var=no
  20200. - ;;
  20201. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  20202. - freebsd2*)
  20203. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  20204. - hardcode_direct=yes
  20205. - hardcode_minus_L=yes
  20206. - hardcode_shlibpath_var=no
  20207. - ;;
  20208. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  20209. - freebsd* | kfreebsd*-gnu | dragonfly*)
  20210. - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  20211. - hardcode_libdir_flag_spec='-R$libdir'
  20212. - hardcode_direct=yes
  20213. - hardcode_shlibpath_var=no
  20214. - ;;
  20215. - hpux9*)
  20216. - if test "$GCC" = yes; then
  20217. - archive_cmds='$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'
  20218. - else
  20219. - archive_cmds='$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'
  20220. - fi
  20221. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  20222. - hardcode_libdir_separator=:
  20223. - hardcode_direct=yes
  20224. - # hardcode_minus_L: Not really in the search PATH,
  20225. - # but as the default location of the library.
  20226. - hardcode_minus_L=yes
  20227. - export_dynamic_flag_spec='${wl}-E'
  20228. - ;;
  20229. - hpux10*)
  20230. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  20231. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  20232. - else
  20233. - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  20234. - fi
  20235. - if test "$with_gnu_ld" = no; then
  20236. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  20237. - hardcode_libdir_separator=:
  20238. - hardcode_direct=yes
  20239. - export_dynamic_flag_spec='${wl}-E'
  20240. - # hardcode_minus_L: Not really in the search PATH,
  20241. - # but as the default location of the library.
  20242. - hardcode_minus_L=yes
  20243. - fi
  20244. - ;;
  20245. - hpux11*)
  20246. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  20247. - case $host_cpu in
  20248. - hppa*64*)
  20249. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  20250. - ;;
  20251. - ia64*)
  20252. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  20253. - ;;
  20254. - *)
  20255. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  20256. - ;;
  20257. - esac
  20258. - else
  20259. - case $host_cpu in
  20260. - hppa*64*)
  20261. - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  20262. - ;;
  20263. - ia64*)
  20264. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  20265. - ;;
  20266. - *)
  20267. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  20268. - ;;
  20269. - esac
  20270. - fi
  20271. - if test "$with_gnu_ld" = no; then
  20272. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  20273. - hardcode_libdir_separator=:
  20274. - case $host_cpu in
  20275. - hppa*64*|ia64*)
  20276. - hardcode_libdir_flag_spec_ld='+b $libdir'
  20277. - hardcode_direct=no
  20278. - hardcode_shlibpath_var=no
  20279. - ;;
  20280. - *)
  20281. - hardcode_direct=yes
  20282. - export_dynamic_flag_spec='${wl}-E'
  20283. - # hardcode_minus_L: Not really in the search PATH,
  20284. - # but as the default location of the library.
  20285. - hardcode_minus_L=yes
  20286. - ;;
  20287. - esac
  20288. - fi
  20289. - ;;
  20290. - irix5* | irix6* | nonstopux*)
  20291. - if test "$GCC" = yes; then
  20292. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  20293. - else
  20294. - archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  20295. - hardcode_libdir_flag_spec_ld='-rpath $libdir'
  20296. - fi
  20297. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  20298. - hardcode_libdir_separator=:
  20299. - link_all_deplibs=yes
  20300. - ;;
  20301. - netbsd*)
  20302. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  20303. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  20304. - else
  20305. - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  20306. - fi
  20307. - hardcode_libdir_flag_spec='-R$libdir'
  20308. - hardcode_direct=yes
  20309. - hardcode_shlibpath_var=no
  20310. - ;;
  20311. - newsos6)
  20312. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20313. - hardcode_direct=yes
  20314. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  20315. - hardcode_libdir_separator=:
  20316. - hardcode_shlibpath_var=no
  20317. - ;;
  20318. +if test -n "${ZSH_VERSION+set}" ; then
  20319. + setopt NO_GLOB_SUBST
  20320. +fi
  20321. - openbsd*)
  20322. - hardcode_direct=yes
  20323. - hardcode_shlibpath_var=no
  20324. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  20325. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  20326. - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  20327. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  20328. - export_dynamic_flag_spec='${wl}-E'
  20329. - else
  20330. - case $host_os in
  20331. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  20332. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  20333. - hardcode_libdir_flag_spec='-R$libdir'
  20334. - ;;
  20335. - *)
  20336. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  20337. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  20338. - ;;
  20339. - esac
  20340. - fi
  20341. - ;;
  20342. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  20343. +$as_echo_n "checking for objdir... " >&6; }
  20344. +if test "${lt_cv_objdir+set}" = set; then :
  20345. + $as_echo_n "(cached) " >&6
  20346. +else
  20347. + rm -f .libs 2>/dev/null
  20348. +mkdir .libs 2>/dev/null
  20349. +if test -d .libs; then
  20350. + lt_cv_objdir=.libs
  20351. +else
  20352. + # MS-DOS does not allow filenames that begin with a dot.
  20353. + lt_cv_objdir=_libs
  20354. +fi
  20355. +rmdir .libs 2>/dev/null
  20356. +fi
  20357. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  20358. +$as_echo "$lt_cv_objdir" >&6; }
  20359. +objdir=$lt_cv_objdir
  20360. - os2*)
  20361. - hardcode_libdir_flag_spec='-L$libdir'
  20362. - hardcode_minus_L=yes
  20363. - allow_undefined_flag=unsupported
  20364. - 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'
  20365. - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  20366. - ;;
  20367. - osf3*)
  20368. - if test "$GCC" = yes; then
  20369. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  20370. - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  20371. - else
  20372. - allow_undefined_flag=' -expect_unresolved \*'
  20373. - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  20374. - fi
  20375. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  20376. - hardcode_libdir_separator=:
  20377. - ;;
  20378. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  20379. - if test "$GCC" = yes; then
  20380. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  20381. - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  20382. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  20383. - else
  20384. - allow_undefined_flag=' -expect_unresolved \*'
  20385. - archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  20386. - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  20387. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  20388. - # Both c and cxx compiler support -rpath directly
  20389. - hardcode_libdir_flag_spec='-rpath $libdir'
  20390. - fi
  20391. - hardcode_libdir_separator=:
  20392. - ;;
  20393. - solaris*)
  20394. - no_undefined_flag=' -z text'
  20395. - if test "$GCC" = yes; then
  20396. - wlarc='${wl}'
  20397. - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  20398. - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  20399. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  20400. - else
  20401. - wlarc=''
  20402. - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20403. - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  20404. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  20405. - fi
  20406. - hardcode_libdir_flag_spec='-R$libdir'
  20407. - hardcode_shlibpath_var=no
  20408. - case $host_os in
  20409. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  20410. - *)
  20411. - # The compiler driver will combine linker options so we
  20412. - # cannot just pass the convience library names through
  20413. - # without $wl, iff we do not link with $LD.
  20414. - # Luckily, gcc supports the same syntax we need for Sun Studio.
  20415. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  20416. - case $wlarc in
  20417. - '')
  20418. - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
  20419. - *)
  20420. - whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
  20421. - esac ;;
  20422. - esac
  20423. - link_all_deplibs=yes
  20424. - ;;
  20425. +cat >>confdefs.h <<_ACEOF
  20426. +#define LT_OBJDIR "$lt_cv_objdir/"
  20427. +_ACEOF
  20428. - sunos4*)
  20429. - if test "x$host_vendor" = xsequent; then
  20430. - # Use $CC to link under sequent, because it throws in some extra .o
  20431. - # files that make .init and .fini sections work.
  20432. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  20433. - else
  20434. - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  20435. - fi
  20436. - hardcode_libdir_flag_spec='-L$libdir'
  20437. - hardcode_direct=yes
  20438. - hardcode_minus_L=yes
  20439. - hardcode_shlibpath_var=no
  20440. - ;;
  20441. - sysv4)
  20442. - case $host_vendor in
  20443. - sni)
  20444. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20445. - hardcode_direct=yes # is this really true???
  20446. - ;;
  20447. - siemens)
  20448. - ## LD is ld it makes a PLAMLIB
  20449. - ## CC just makes a GrossModule.
  20450. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  20451. - reload_cmds='$CC -r -o $output$reload_objs'
  20452. - hardcode_direct=no
  20453. - ;;
  20454. - motorola)
  20455. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20456. - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  20457. - ;;
  20458. - esac
  20459. - runpath_var='LD_RUN_PATH'
  20460. - hardcode_shlibpath_var=no
  20461. - ;;
  20462. - sysv4.3*)
  20463. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20464. - hardcode_shlibpath_var=no
  20465. - export_dynamic_flag_spec='-Bexport'
  20466. - ;;
  20467. - sysv4*MP*)
  20468. - if test -d /usr/nec; then
  20469. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20470. - hardcode_shlibpath_var=no
  20471. - runpath_var=LD_RUN_PATH
  20472. - hardcode_runpath_var=yes
  20473. - ld_shlibs=yes
  20474. - fi
  20475. - ;;
  20476. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
  20477. - no_undefined_flag='${wl}-z,text'
  20478. - archive_cmds_need_lc=no
  20479. - hardcode_shlibpath_var=no
  20480. - runpath_var='LD_RUN_PATH'
  20481. - if test "$GCC" = yes; then
  20482. - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  20483. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  20484. - else
  20485. - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  20486. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  20487. - fi
  20488. - ;;
  20489. - sysv5* | sco3.2v5* | sco5v6*)
  20490. - # Note: We can NOT use -z defs as we might desire, because we do not
  20491. - # link with -lc, and that would cause any symbols used from libc to
  20492. - # always be unresolved, which means just about no library would
  20493. - # ever link correctly. If we're not using GNU ld we use -z text
  20494. - # though, which does catch some bad symbols but isn't as heavy-handed
  20495. - # as -z defs.
  20496. - no_undefined_flag='${wl}-z,text'
  20497. - allow_undefined_flag='${wl}-z,nodefs'
  20498. - archive_cmds_need_lc=no
  20499. - hardcode_shlibpath_var=no
  20500. - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  20501. - hardcode_libdir_separator=':'
  20502. - link_all_deplibs=yes
  20503. - export_dynamic_flag_spec='${wl}-Bexport'
  20504. - runpath_var='LD_RUN_PATH'
  20505. - if test "$GCC" = yes; then
  20506. - archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  20507. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  20508. - else
  20509. - archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  20510. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  20511. - fi
  20512. - ;;
  20513. - uts4*)
  20514. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  20515. - hardcode_libdir_flag_spec='-L$libdir'
  20516. - hardcode_shlibpath_var=no
  20517. - ;;
  20518. - *)
  20519. - ld_shlibs=no
  20520. - ;;
  20521. - esac
  20522. - fi
  20523. -{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  20524. -echo "${ECHO_T}$ld_shlibs" >&6; }
  20525. -test "$ld_shlibs" = no && can_build_shared=no
  20526. -#
  20527. -# Do we need to explicitly link libc?
  20528. -#
  20529. -case "x$archive_cmds_need_lc" in
  20530. -x|xyes)
  20531. - # Assume -lc should be added
  20532. - archive_cmds_need_lc=yes
  20533. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  20534. - case $archive_cmds in
  20535. - *'~'*)
  20536. - # FIXME: we may have to deal with multi-command sequences.
  20537. - ;;
  20538. - '$CC '*)
  20539. - # Test whether the compiler implicitly links with -lc since on some
  20540. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  20541. - # to ld, don't add -lc before -lgcc.
  20542. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  20543. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  20544. - $rm conftest*
  20545. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  20546. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  20547. - (eval $ac_compile) 2>&5
  20548. - ac_status=$?
  20549. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20550. - (exit $ac_status); } 2>conftest.err; then
  20551. - soname=conftest
  20552. - lib=conftest
  20553. - libobjs=conftest.$ac_objext
  20554. - deplibs=
  20555. - wl=$lt_prog_compiler_wl
  20556. - pic_flag=$lt_prog_compiler_pic
  20557. - compiler_flags=-v
  20558. - linker_flags=-v
  20559. - verstring=
  20560. - output_objdir=.
  20561. - libname=conftest
  20562. - lt_save_allow_undefined_flag=$allow_undefined_flag
  20563. - allow_undefined_flag=
  20564. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  20565. - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  20566. - ac_status=$?
  20567. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20568. - (exit $ac_status); }
  20569. - then
  20570. - archive_cmds_need_lc=no
  20571. - else
  20572. - archive_cmds_need_lc=yes
  20573. - fi
  20574. - allow_undefined_flag=$lt_save_allow_undefined_flag
  20575. - else
  20576. - cat conftest.err 1>&5
  20577. - fi
  20578. - $rm conftest*
  20579. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  20580. -echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
  20581. - ;;
  20582. - esac
  20583. - fi
  20584. - ;;
  20585. -esac
  20586. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  20587. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  20588. -library_names_spec=
  20589. -libname_spec='lib$name'
  20590. -soname_spec=
  20591. -shrext_cmds=".so"
  20592. -postinstall_cmds=
  20593. -postuninstall_cmds=
  20594. -finish_cmds=
  20595. -finish_eval=
  20596. -shlibpath_var=
  20597. -shlibpath_overrides_runpath=unknown
  20598. -version_type=none
  20599. -dynamic_linker="$host_os ld.so"
  20600. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  20601. -if test "$GCC" = yes; then
  20602. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  20603. - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  20604. - # if the path contains ";" then we assume it to be the separator
  20605. - # otherwise default to the standard path separator (i.e. ":") - it is
  20606. - # assumed that no part of a normal pathname contains ";" but that should
  20607. - # okay in the real world where ";" in dirpaths is itself problematic.
  20608. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  20609. - else
  20610. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  20611. - fi
  20612. -else
  20613. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  20614. -fi
  20615. -need_lib_prefix=unknown
  20616. -hardcode_into_libs=no
  20617. -# when you set need_version to no, make sure it does not cause -set_version
  20618. -# flags to be left without arguments
  20619. -need_version=unknown
  20620. case $host_os in
  20621. aix3*)
  20622. - version_type=linux
  20623. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  20624. - shlibpath_var=LIBPATH
  20625. -
  20626. - # AIX 3 has no versioning support, so we append a major version to the name.
  20627. - soname_spec='${libname}${release}${shared_ext}$major'
  20628. - ;;
  20629. -
  20630. -aix4* | aix5*)
  20631. - version_type=linux
  20632. - need_lib_prefix=no
  20633. - need_version=no
  20634. - hardcode_into_libs=yes
  20635. - if test "$host_cpu" = ia64; then
  20636. - # AIX 5 supports IA64
  20637. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  20638. - shlibpath_var=LD_LIBRARY_PATH
  20639. - else
  20640. - # With GCC up to 2.95.x, collect2 would create an import file
  20641. - # for dependence libraries. The import file would start with
  20642. - # the line `#! .'. This would cause the generated library to
  20643. - # depend on `.', always an invalid library. This was fixed in
  20644. - # development snapshots of GCC prior to 3.0.
  20645. - case $host_os in
  20646. - aix4 | aix4.[01] | aix4.[01].*)
  20647. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  20648. - echo ' yes '
  20649. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  20650. - :
  20651. - else
  20652. - can_build_shared=no
  20653. - fi
  20654. - ;;
  20655. - esac
  20656. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  20657. - # soname into executable. Probably we can add versioning support to
  20658. - # collect2, so additional links can be useful in future.
  20659. - if test "$aix_use_runtimelinking" = yes; then
  20660. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  20661. - # instead of lib<name>.a to let people know that these are not
  20662. - # typical AIX shared libraries.
  20663. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  20664. - else
  20665. - # We preserve .a as extension for shared libraries through AIX4.2
  20666. - # and later when we are not doing run time linking.
  20667. - library_names_spec='${libname}${release}.a $libname.a'
  20668. - soname_spec='${libname}${release}${shared_ext}$major'
  20669. - fi
  20670. - shlibpath_var=LIBPATH
  20671. + # AIX sometimes has problems with the GCC collect2 program. For some
  20672. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  20673. + # vanish in a puff of smoke.
  20674. + if test "X${COLLECT_NAMES+set}" != Xset; then
  20675. + COLLECT_NAMES=
  20676. + export COLLECT_NAMES
  20677. fi
  20678. ;;
  20679. +esac
  20680. -amigaos*)
  20681. - library_names_spec='$libname.ixlibrary $libname.a'
  20682. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  20683. - 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'
  20684. - ;;
  20685. +# Sed substitution that helps us do robust quoting. It backslashifies
  20686. +# metacharacters that are still active within double-quoted strings.
  20687. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  20688. -beos*)
  20689. - library_names_spec='${libname}${shared_ext}'
  20690. - dynamic_linker="$host_os ld.so"
  20691. - shlibpath_var=LIBRARY_PATH
  20692. - ;;
  20693. +# Same as above, but do not quote variable references.
  20694. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  20695. -bsdi[45]*)
  20696. - version_type=linux
  20697. - need_version=no
  20698. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  20699. - soname_spec='${libname}${release}${shared_ext}$major'
  20700. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  20701. - shlibpath_var=LD_LIBRARY_PATH
  20702. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  20703. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  20704. - # the default ld.so.conf also contains /usr/contrib/lib and
  20705. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  20706. - # libtool to hard-code these into programs
  20707. - ;;
  20708. +# Sed substitution to delay expansion of an escaped shell variable in a
  20709. +# double_quote_subst'ed string.
  20710. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  20711. -cygwin* | mingw* | pw32*)
  20712. - version_type=windows
  20713. - shrext_cmds=".dll"
  20714. - need_version=no
  20715. - need_lib_prefix=no
  20716. +# Sed substitution to delay expansion of an escaped single quote.
  20717. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  20718. - case $GCC,$host_os in
  20719. - yes,cygwin* | yes,mingw* | yes,pw32*)
  20720. - library_names_spec='$libname.dll.a'
  20721. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  20722. - postinstall_cmds='base_file=`basename \${file}`~
  20723. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  20724. - dldir=$destdir/`dirname \$dlpath`~
  20725. - test -d \$dldir || mkdir -p \$dldir~
  20726. - $install_prog $dir/$dlname \$dldir/$dlname~
  20727. - chmod a+x \$dldir/$dlname'
  20728. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  20729. - dlpath=$dir/\$dldll~
  20730. - $rm \$dlpath'
  20731. - shlibpath_overrides_runpath=yes
  20732. -
  20733. - case $host_os in
  20734. - cygwin*)
  20735. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  20736. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  20737. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  20738. - ;;
  20739. - mingw*)
  20740. - # MinGW DLLs use traditional 'lib' prefix
  20741. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  20742. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  20743. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  20744. - # It is most probably a Windows format PATH printed by
  20745. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  20746. - # path with ; separators, and with drive letters. We can handle the
  20747. - # drive letters (cygwin fileutils understands them), so leave them,
  20748. - # especially as we might pass files found there to a mingw objdump,
  20749. - # which wouldn't understand a cygwinified path. Ahh.
  20750. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  20751. - else
  20752. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  20753. - fi
  20754. - ;;
  20755. - pw32*)
  20756. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  20757. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  20758. - ;;
  20759. - esac
  20760. - ;;
  20761. -
  20762. - *)
  20763. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  20764. - ;;
  20765. - esac
  20766. - dynamic_linker='Win32 ld.exe'
  20767. - # FIXME: first we should search . and the directory the executable is in
  20768. - shlibpath_var=PATH
  20769. - ;;
  20770. -
  20771. -darwin* | rhapsody*)
  20772. - dynamic_linker="$host_os dyld"
  20773. - version_type=darwin
  20774. - need_lib_prefix=no
  20775. - need_version=no
  20776. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  20777. - soname_spec='${libname}${release}${major}$shared_ext'
  20778. - shlibpath_overrides_runpath=yes
  20779. - shlibpath_var=DYLD_LIBRARY_PATH
  20780. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  20781. - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  20782. - if test "$GCC" = yes; then
  20783. - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  20784. - else
  20785. - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  20786. - fi
  20787. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  20788. - ;;
  20789. -
  20790. -dgux*)
  20791. - version_type=linux
  20792. - need_lib_prefix=no
  20793. - need_version=no
  20794. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  20795. - soname_spec='${libname}${release}${shared_ext}$major'
  20796. - shlibpath_var=LD_LIBRARY_PATH
  20797. - ;;
  20798. -
  20799. -freebsd1*)
  20800. - dynamic_linker=no
  20801. - ;;
  20802. -
  20803. -kfreebsd*-gnu)
  20804. - version_type=linux
  20805. - need_lib_prefix=no
  20806. - need_version=no
  20807. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  20808. - soname_spec='${libname}${release}${shared_ext}$major'
  20809. - shlibpath_var=LD_LIBRARY_PATH
  20810. - shlibpath_overrides_runpath=no
  20811. - hardcode_into_libs=yes
  20812. - dynamic_linker='GNU ld.so'
  20813. - ;;
  20814. -
  20815. -freebsd* | dragonfly*)
  20816. - # DragonFly does not have aout. When/if they implement a new
  20817. - # versioning mechanism, adjust this.
  20818. - if test -x /usr/bin/objformat; then
  20819. - objformat=`/usr/bin/objformat`
  20820. - else
  20821. - case $host_os in
  20822. - freebsd[123]*) objformat=aout ;;
  20823. - *) objformat=elf ;;
  20824. - esac
  20825. - fi
  20826. - version_type=freebsd-$objformat
  20827. - case $version_type in
  20828. - freebsd-elf*)
  20829. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  20830. - need_version=no
  20831. - need_lib_prefix=no
  20832. - ;;
  20833. - freebsd-*)
  20834. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  20835. - need_version=yes
  20836. - ;;
  20837. - esac
  20838. - shlibpath_var=LD_LIBRARY_PATH
  20839. - case $host_os in
  20840. - freebsd2*)
  20841. - shlibpath_overrides_runpath=yes
  20842. - ;;
  20843. - freebsd3.[01]* | freebsdelf3.[01]*)
  20844. - shlibpath_overrides_runpath=yes
  20845. - hardcode_into_libs=yes
  20846. - ;;
  20847. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  20848. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  20849. - shlibpath_overrides_runpath=no
  20850. - hardcode_into_libs=yes
  20851. - ;;
  20852. - freebsd*) # from 4.6 on
  20853. - shlibpath_overrides_runpath=yes
  20854. - hardcode_into_libs=yes
  20855. - ;;
  20856. - esac
  20857. - ;;
  20858. -
  20859. -gnu*)
  20860. - version_type=linux
  20861. - need_lib_prefix=no
  20862. - need_version=no
  20863. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  20864. - soname_spec='${libname}${release}${shared_ext}$major'
  20865. - shlibpath_var=LD_LIBRARY_PATH
  20866. - hardcode_into_libs=yes
  20867. - ;;
  20868. -
  20869. -hpux9* | hpux10* | hpux11*)
  20870. - # Give a soname corresponding to the major version so that dld.sl refuses to
  20871. - # link against other versions.
  20872. - version_type=sunos
  20873. - need_lib_prefix=no
  20874. - need_version=no
  20875. - case $host_cpu in
  20876. - ia64*)
  20877. - shrext_cmds='.so'
  20878. - hardcode_into_libs=yes
  20879. - dynamic_linker="$host_os dld.so"
  20880. - shlibpath_var=LD_LIBRARY_PATH
  20881. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  20882. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  20883. - soname_spec='${libname}${release}${shared_ext}$major'
  20884. - if test "X$HPUX_IA64_MODE" = X32; then
  20885. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  20886. - else
  20887. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  20888. - fi
  20889. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  20890. - ;;
  20891. - hppa*64*)
  20892. - shrext_cmds='.sl'
  20893. - hardcode_into_libs=yes
  20894. - dynamic_linker="$host_os dld.sl"
  20895. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  20896. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  20897. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  20898. - soname_spec='${libname}${release}${shared_ext}$major'
  20899. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  20900. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  20901. - ;;
  20902. - *)
  20903. - shrext_cmds='.sl'
  20904. - dynamic_linker="$host_os dld.sl"
  20905. - shlibpath_var=SHLIB_PATH
  20906. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  20907. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  20908. - soname_spec='${libname}${release}${shared_ext}$major'
  20909. - ;;
  20910. - esac
  20911. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  20912. - postinstall_cmds='chmod 555 $lib'
  20913. - ;;
  20914. -
  20915. -interix3*)
  20916. - version_type=linux
  20917. - need_lib_prefix=no
  20918. - need_version=no
  20919. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  20920. - soname_spec='${libname}${release}${shared_ext}$major'
  20921. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  20922. - shlibpath_var=LD_LIBRARY_PATH
  20923. - shlibpath_overrides_runpath=no
  20924. - hardcode_into_libs=yes
  20925. - ;;
  20926. -
  20927. -irix5* | irix6* | nonstopux*)
  20928. - case $host_os in
  20929. - nonstopux*) version_type=nonstopux ;;
  20930. - *)
  20931. - if test "$lt_cv_prog_gnu_ld" = yes; then
  20932. - version_type=linux
  20933. - else
  20934. - version_type=irix
  20935. - fi ;;
  20936. - esac
  20937. - need_lib_prefix=no
  20938. - need_version=no
  20939. - soname_spec='${libname}${release}${shared_ext}$major'
  20940. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  20941. - case $host_os in
  20942. - irix5* | nonstopux*)
  20943. - libsuff= shlibsuff=
  20944. - ;;
  20945. - *)
  20946. - case $LD in # libtool.m4 will add one of these switches to LD
  20947. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  20948. - libsuff= shlibsuff= libmagic=32-bit;;
  20949. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  20950. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  20951. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  20952. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  20953. - *) libsuff= shlibsuff= libmagic=never-match;;
  20954. - esac
  20955. - ;;
  20956. - esac
  20957. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  20958. - shlibpath_overrides_runpath=no
  20959. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  20960. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  20961. - hardcode_into_libs=yes
  20962. - ;;
  20963. -
  20964. -# No shared lib support for Linux oldld, aout, or coff.
  20965. -linux*oldld* | linux*aout* | linux*coff*)
  20966. - dynamic_linker=no
  20967. - ;;
  20968. -
  20969. -# This must be Linux ELF.
  20970. -linux*)
  20971. - version_type=linux
  20972. - need_lib_prefix=no
  20973. - need_version=no
  20974. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  20975. - soname_spec='${libname}${release}${shared_ext}$major'
  20976. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  20977. - shlibpath_var=LD_LIBRARY_PATH
  20978. - shlibpath_overrides_runpath=no
  20979. - # This implies no fast_install, which is unacceptable.
  20980. - # Some rework will be needed to allow for fast_install
  20981. - # before this can be enabled.
  20982. - hardcode_into_libs=yes
  20983. -
  20984. - # Append ld.so.conf contents to the search path
  20985. - if test -f /etc/ld.so.conf; then
  20986. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  20987. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  20988. - fi
  20989. -
  20990. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  20991. - # powerpc, because MkLinux only supported shared libraries with the
  20992. - # GNU dynamic linker. Since this was broken with cross compilers,
  20993. - # most powerpc-linux boxes support dynamic linking these days and
  20994. - # people can always --disable-shared, the test was removed, and we
  20995. - # assume the GNU/Linux dynamic linker is in use.
  20996. - dynamic_linker='GNU/Linux ld.so'
  20997. - ;;
  20998. -
  20999. -knetbsd*-gnu)
  21000. - version_type=linux
  21001. - need_lib_prefix=no
  21002. - need_version=no
  21003. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  21004. - soname_spec='${libname}${release}${shared_ext}$major'
  21005. - shlibpath_var=LD_LIBRARY_PATH
  21006. - shlibpath_overrides_runpath=no
  21007. - hardcode_into_libs=yes
  21008. - dynamic_linker='GNU ld.so'
  21009. - ;;
  21010. -
  21011. -netbsd*)
  21012. - version_type=sunos
  21013. - need_lib_prefix=no
  21014. - need_version=no
  21015. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  21016. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  21017. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  21018. - dynamic_linker='NetBSD (a.out) ld.so'
  21019. - else
  21020. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  21021. - soname_spec='${libname}${release}${shared_ext}$major'
  21022. - dynamic_linker='NetBSD ld.elf_so'
  21023. - fi
  21024. - shlibpath_var=LD_LIBRARY_PATH
  21025. - shlibpath_overrides_runpath=yes
  21026. - hardcode_into_libs=yes
  21027. - ;;
  21028. -
  21029. -newsos6)
  21030. - version_type=linux
  21031. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21032. - shlibpath_var=LD_LIBRARY_PATH
  21033. - shlibpath_overrides_runpath=yes
  21034. - ;;
  21035. -
  21036. -nto-qnx*)
  21037. - version_type=linux
  21038. - need_lib_prefix=no
  21039. - need_version=no
  21040. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21041. - soname_spec='${libname}${release}${shared_ext}$major'
  21042. - shlibpath_var=LD_LIBRARY_PATH
  21043. - shlibpath_overrides_runpath=yes
  21044. - ;;
  21045. -
  21046. -openbsd*)
  21047. - version_type=sunos
  21048. - sys_lib_dlsearch_path_spec="/usr/lib"
  21049. - need_lib_prefix=no
  21050. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  21051. - case $host_os in
  21052. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  21053. - *) need_version=no ;;
  21054. - esac
  21055. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  21056. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  21057. - shlibpath_var=LD_LIBRARY_PATH
  21058. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  21059. - case $host_os in
  21060. - openbsd2.[89] | openbsd2.[89].*)
  21061. - shlibpath_overrides_runpath=no
  21062. - ;;
  21063. - *)
  21064. - shlibpath_overrides_runpath=yes
  21065. - ;;
  21066. - esac
  21067. - else
  21068. - shlibpath_overrides_runpath=yes
  21069. - fi
  21070. - ;;
  21071. -
  21072. -os2*)
  21073. - libname_spec='$name'
  21074. - shrext_cmds=".dll"
  21075. - need_lib_prefix=no
  21076. - library_names_spec='$libname${shared_ext} $libname.a'
  21077. - dynamic_linker='OS/2 ld.exe'
  21078. - shlibpath_var=LIBPATH
  21079. - ;;
  21080. -
  21081. -osf3* | osf4* | osf5*)
  21082. - version_type=osf
  21083. - need_lib_prefix=no
  21084. - need_version=no
  21085. - soname_spec='${libname}${release}${shared_ext}$major'
  21086. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21087. - shlibpath_var=LD_LIBRARY_PATH
  21088. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  21089. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  21090. - ;;
  21091. -
  21092. -solaris*)
  21093. - version_type=linux
  21094. - need_lib_prefix=no
  21095. - need_version=no
  21096. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21097. - soname_spec='${libname}${release}${shared_ext}$major'
  21098. - shlibpath_var=LD_LIBRARY_PATH
  21099. - shlibpath_overrides_runpath=yes
  21100. - hardcode_into_libs=yes
  21101. - # ldd complains unless libraries are executable
  21102. - postinstall_cmds='chmod +x $lib'
  21103. - ;;
  21104. -
  21105. -sunos4*)
  21106. - version_type=sunos
  21107. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  21108. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  21109. - shlibpath_var=LD_LIBRARY_PATH
  21110. - shlibpath_overrides_runpath=yes
  21111. - if test "$with_gnu_ld" = yes; then
  21112. - need_lib_prefix=no
  21113. - fi
  21114. - need_version=yes
  21115. - ;;
  21116. -
  21117. -sysv4 | sysv4.3*)
  21118. - version_type=linux
  21119. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21120. - soname_spec='${libname}${release}${shared_ext}$major'
  21121. - shlibpath_var=LD_LIBRARY_PATH
  21122. - case $host_vendor in
  21123. - sni)
  21124. - shlibpath_overrides_runpath=no
  21125. - need_lib_prefix=no
  21126. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  21127. - runpath_var=LD_RUN_PATH
  21128. - ;;
  21129. - siemens)
  21130. - need_lib_prefix=no
  21131. - ;;
  21132. - motorola)
  21133. - need_lib_prefix=no
  21134. - need_version=no
  21135. - shlibpath_overrides_runpath=no
  21136. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  21137. - ;;
  21138. - esac
  21139. - ;;
  21140. -
  21141. -sysv4*MP*)
  21142. - if test -d /usr/nec ;then
  21143. - version_type=linux
  21144. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  21145. - soname_spec='$libname${shared_ext}.$major'
  21146. - shlibpath_var=LD_LIBRARY_PATH
  21147. - fi
  21148. - ;;
  21149. -
  21150. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  21151. - version_type=freebsd-elf
  21152. - need_lib_prefix=no
  21153. - need_version=no
  21154. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  21155. - soname_spec='${libname}${release}${shared_ext}$major'
  21156. - shlibpath_var=LD_LIBRARY_PATH
  21157. - hardcode_into_libs=yes
  21158. - if test "$with_gnu_ld" = yes; then
  21159. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  21160. - shlibpath_overrides_runpath=no
  21161. - else
  21162. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  21163. - shlibpath_overrides_runpath=yes
  21164. - case $host_os in
  21165. - sco3.2v5*)
  21166. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  21167. - ;;
  21168. - esac
  21169. - fi
  21170. - sys_lib_dlsearch_path_spec='/usr/lib'
  21171. - ;;
  21172. -
  21173. -uts4*)
  21174. - version_type=linux
  21175. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21176. - soname_spec='${libname}${release}${shared_ext}$major'
  21177. - shlibpath_var=LD_LIBRARY_PATH
  21178. - ;;
  21179. -
  21180. -*)
  21181. - dynamic_linker=no
  21182. - ;;
  21183. -esac
  21184. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  21185. -echo "${ECHO_T}$dynamic_linker" >&6; }
  21186. -test "$dynamic_linker" = no && can_build_shared=no
  21187. -
  21188. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  21189. -if test "$GCC" = yes; then
  21190. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  21191. -fi
  21192. -
  21193. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  21194. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  21195. -hardcode_action=
  21196. -if test -n "$hardcode_libdir_flag_spec" || \
  21197. - test -n "$runpath_var" || \
  21198. - test "X$hardcode_automatic" = "Xyes" ; then
  21199. -
  21200. - # We can hardcode non-existant directories.
  21201. - if test "$hardcode_direct" != no &&
  21202. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  21203. - # have to relink, otherwise we might link with an installed library
  21204. - # when we should be linking with a yet-to-be-installed one
  21205. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
  21206. - test "$hardcode_minus_L" != no; then
  21207. - # Linking always hardcodes the temporary library directory.
  21208. - hardcode_action=relink
  21209. - else
  21210. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  21211. - hardcode_action=immediate
  21212. - fi
  21213. -else
  21214. - # We cannot hardcode anything, or else we can only hardcode existing
  21215. - # directories.
  21216. - hardcode_action=unsupported
  21217. -fi
  21218. -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
  21219. -echo "${ECHO_T}$hardcode_action" >&6; }
  21220. -
  21221. -if test "$hardcode_action" = relink; then
  21222. - # Fast installation is not supported
  21223. - enable_fast_install=no
  21224. -elif test "$shlibpath_overrides_runpath" = yes ||
  21225. - test "$enable_shared" = no; then
  21226. - # Fast installation is not necessary
  21227. - enable_fast_install=needless
  21228. -fi
  21229. -
  21230. -striplib=
  21231. -old_striplib=
  21232. -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  21233. -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
  21234. -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  21235. - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  21236. - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  21237. - { echo "$as_me:$LINENO: result: yes" >&5
  21238. -echo "${ECHO_T}yes" >&6; }
  21239. -else
  21240. -# FIXME - insert some real tests, host_os isn't really good enough
  21241. - case $host_os in
  21242. - darwin*)
  21243. - if test -n "$STRIP" ; then
  21244. - striplib="$STRIP -x"
  21245. - { echo "$as_me:$LINENO: result: yes" >&5
  21246. -echo "${ECHO_T}yes" >&6; }
  21247. - else
  21248. - { echo "$as_me:$LINENO: result: no" >&5
  21249. -echo "${ECHO_T}no" >&6; }
  21250. -fi
  21251. - ;;
  21252. - *)
  21253. - { echo "$as_me:$LINENO: result: no" >&5
  21254. -echo "${ECHO_T}no" >&6; }
  21255. - ;;
  21256. - esac
  21257. -fi
  21258. -
  21259. -if test "x$enable_dlopen" != xyes; then
  21260. - enable_dlopen=unknown
  21261. - enable_dlopen_self=unknown
  21262. - enable_dlopen_self_static=unknown
  21263. -else
  21264. - lt_cv_dlopen=no
  21265. - lt_cv_dlopen_libs=
  21266. -
  21267. - case $host_os in
  21268. - beos*)
  21269. - lt_cv_dlopen="load_add_on"
  21270. - lt_cv_dlopen_libs=
  21271. - lt_cv_dlopen_self=yes
  21272. - ;;
  21273. -
  21274. - mingw* | pw32*)
  21275. - lt_cv_dlopen="LoadLibrary"
  21276. - lt_cv_dlopen_libs=
  21277. - ;;
  21278. -
  21279. - cygwin*)
  21280. - lt_cv_dlopen="dlopen"
  21281. - lt_cv_dlopen_libs=
  21282. - ;;
  21283. -
  21284. - darwin*)
  21285. - # if libdl is installed we need to link against it
  21286. - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  21287. -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  21288. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  21289. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21290. -else
  21291. - ac_check_lib_save_LIBS=$LIBS
  21292. -LIBS="-ldl $LIBS"
  21293. -cat >conftest.$ac_ext <<_ACEOF
  21294. -/* confdefs.h. */
  21295. -_ACEOF
  21296. -cat confdefs.h >>conftest.$ac_ext
  21297. -cat >>conftest.$ac_ext <<_ACEOF
  21298. -/* end confdefs.h. */
  21299. -
  21300. -/* Override any GCC internal prototype to avoid an error.
  21301. - Use char because int might match the return type of a GCC
  21302. - builtin and then its argument prototype would still apply. */
  21303. -#ifdef __cplusplus
  21304. -extern "C"
  21305. -#endif
  21306. -char dlopen ();
  21307. -int
  21308. -main ()
  21309. -{
  21310. -return dlopen ();
  21311. - ;
  21312. - return 0;
  21313. -}
  21314. -_ACEOF
  21315. -rm -f conftest.$ac_objext conftest$ac_exeext
  21316. -if { (ac_try="$ac_link"
  21317. -case "(($ac_try" in
  21318. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21319. - *) ac_try_echo=$ac_try;;
  21320. -esac
  21321. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21322. - (eval "$ac_link") 2>conftest.er1
  21323. - ac_status=$?
  21324. - grep -v '^ *+' conftest.er1 >conftest.err
  21325. - rm -f conftest.er1
  21326. - cat conftest.err >&5
  21327. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21328. - (exit $ac_status); } &&
  21329. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  21330. - { (case "(($ac_try" in
  21331. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21332. - *) ac_try_echo=$ac_try;;
  21333. -esac
  21334. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21335. - (eval "$ac_try") 2>&5
  21336. - ac_status=$?
  21337. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21338. - (exit $ac_status); }; } &&
  21339. - { ac_try='test -s conftest$ac_exeext'
  21340. - { (case "(($ac_try" in
  21341. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21342. - *) ac_try_echo=$ac_try;;
  21343. -esac
  21344. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21345. - (eval "$ac_try") 2>&5
  21346. - ac_status=$?
  21347. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21348. - (exit $ac_status); }; }; then
  21349. - ac_cv_lib_dl_dlopen=yes
  21350. -else
  21351. - echo "$as_me: failed program was:" >&5
  21352. -sed 's/^/| /' conftest.$ac_ext >&5
  21353. -
  21354. - ac_cv_lib_dl_dlopen=no
  21355. -fi
  21356. -
  21357. -rm -f core conftest.err conftest.$ac_objext \
  21358. - conftest$ac_exeext conftest.$ac_ext
  21359. -LIBS=$ac_check_lib_save_LIBS
  21360. -fi
  21361. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  21362. -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  21363. -if test $ac_cv_lib_dl_dlopen = yes; then
  21364. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  21365. -else
  21366. -
  21367. - lt_cv_dlopen="dyld"
  21368. - lt_cv_dlopen_libs=
  21369. - lt_cv_dlopen_self=yes
  21370. -
  21371. -fi
  21372. -
  21373. - ;;
  21374. -
  21375. - *)
  21376. - { echo "$as_me:$LINENO: checking for shl_load" >&5
  21377. -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
  21378. -if test "${ac_cv_func_shl_load+set}" = set; then
  21379. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21380. -else
  21381. - cat >conftest.$ac_ext <<_ACEOF
  21382. -/* confdefs.h. */
  21383. -_ACEOF
  21384. -cat confdefs.h >>conftest.$ac_ext
  21385. -cat >>conftest.$ac_ext <<_ACEOF
  21386. -/* end confdefs.h. */
  21387. -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  21388. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  21389. -#define shl_load innocuous_shl_load
  21390. -
  21391. -/* System header to define __stub macros and hopefully few prototypes,
  21392. - which can conflict with char shl_load (); below.
  21393. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  21394. - <limits.h> exists even on freestanding compilers. */
  21395. -
  21396. -#ifdef __STDC__
  21397. -# include <limits.h>
  21398. -#else
  21399. -# include <assert.h>
  21400. -#endif
  21401. -
  21402. -#undef shl_load
  21403. -
  21404. -/* Override any GCC internal prototype to avoid an error.
  21405. - Use char because int might match the return type of a GCC
  21406. - builtin and then its argument prototype would still apply. */
  21407. -#ifdef __cplusplus
  21408. -extern "C"
  21409. -#endif
  21410. -char shl_load ();
  21411. -/* The GNU C library defines this for functions which it implements
  21412. - to always fail with ENOSYS. Some functions are actually named
  21413. - something starting with __ and the normal name is an alias. */
  21414. -#if defined __stub_shl_load || defined __stub___shl_load
  21415. -choke me
  21416. -#endif
  21417. -
  21418. -int
  21419. -main ()
  21420. -{
  21421. -return shl_load ();
  21422. - ;
  21423. - return 0;
  21424. -}
  21425. -_ACEOF
  21426. -rm -f conftest.$ac_objext conftest$ac_exeext
  21427. -if { (ac_try="$ac_link"
  21428. -case "(($ac_try" in
  21429. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21430. - *) ac_try_echo=$ac_try;;
  21431. -esac
  21432. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21433. - (eval "$ac_link") 2>conftest.er1
  21434. - ac_status=$?
  21435. - grep -v '^ *+' conftest.er1 >conftest.err
  21436. - rm -f conftest.er1
  21437. - cat conftest.err >&5
  21438. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21439. - (exit $ac_status); } &&
  21440. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  21441. - { (case "(($ac_try" in
  21442. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21443. - *) ac_try_echo=$ac_try;;
  21444. -esac
  21445. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21446. - (eval "$ac_try") 2>&5
  21447. - ac_status=$?
  21448. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21449. - (exit $ac_status); }; } &&
  21450. - { ac_try='test -s conftest$ac_exeext'
  21451. - { (case "(($ac_try" in
  21452. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21453. - *) ac_try_echo=$ac_try;;
  21454. -esac
  21455. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21456. - (eval "$ac_try") 2>&5
  21457. - ac_status=$?
  21458. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21459. - (exit $ac_status); }; }; then
  21460. - ac_cv_func_shl_load=yes
  21461. -else
  21462. - echo "$as_me: failed program was:" >&5
  21463. -sed 's/^/| /' conftest.$ac_ext >&5
  21464. -
  21465. - ac_cv_func_shl_load=no
  21466. -fi
  21467. -
  21468. -rm -f core conftest.err conftest.$ac_objext \
  21469. - conftest$ac_exeext conftest.$ac_ext
  21470. -fi
  21471. -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  21472. -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
  21473. -if test $ac_cv_func_shl_load = yes; then
  21474. - lt_cv_dlopen="shl_load"
  21475. -else
  21476. - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  21477. -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
  21478. -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  21479. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21480. -else
  21481. - ac_check_lib_save_LIBS=$LIBS
  21482. -LIBS="-ldld $LIBS"
  21483. -cat >conftest.$ac_ext <<_ACEOF
  21484. -/* confdefs.h. */
  21485. -_ACEOF
  21486. -cat confdefs.h >>conftest.$ac_ext
  21487. -cat >>conftest.$ac_ext <<_ACEOF
  21488. -/* end confdefs.h. */
  21489. -
  21490. -/* Override any GCC internal prototype to avoid an error.
  21491. - Use char because int might match the return type of a GCC
  21492. - builtin and then its argument prototype would still apply. */
  21493. -#ifdef __cplusplus
  21494. -extern "C"
  21495. -#endif
  21496. -char shl_load ();
  21497. -int
  21498. -main ()
  21499. -{
  21500. -return shl_load ();
  21501. - ;
  21502. - return 0;
  21503. -}
  21504. -_ACEOF
  21505. -rm -f conftest.$ac_objext conftest$ac_exeext
  21506. -if { (ac_try="$ac_link"
  21507. -case "(($ac_try" in
  21508. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21509. - *) ac_try_echo=$ac_try;;
  21510. -esac
  21511. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21512. - (eval "$ac_link") 2>conftest.er1
  21513. - ac_status=$?
  21514. - grep -v '^ *+' conftest.er1 >conftest.err
  21515. - rm -f conftest.er1
  21516. - cat conftest.err >&5
  21517. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21518. - (exit $ac_status); } &&
  21519. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  21520. - { (case "(($ac_try" in
  21521. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21522. - *) ac_try_echo=$ac_try;;
  21523. -esac
  21524. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21525. - (eval "$ac_try") 2>&5
  21526. - ac_status=$?
  21527. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21528. - (exit $ac_status); }; } &&
  21529. - { ac_try='test -s conftest$ac_exeext'
  21530. - { (case "(($ac_try" in
  21531. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21532. - *) ac_try_echo=$ac_try;;
  21533. -esac
  21534. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21535. - (eval "$ac_try") 2>&5
  21536. - ac_status=$?
  21537. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21538. - (exit $ac_status); }; }; then
  21539. - ac_cv_lib_dld_shl_load=yes
  21540. -else
  21541. - echo "$as_me: failed program was:" >&5
  21542. -sed 's/^/| /' conftest.$ac_ext >&5
  21543. -
  21544. - ac_cv_lib_dld_shl_load=no
  21545. -fi
  21546. -
  21547. -rm -f core conftest.err conftest.$ac_objext \
  21548. - conftest$ac_exeext conftest.$ac_ext
  21549. -LIBS=$ac_check_lib_save_LIBS
  21550. -fi
  21551. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  21552. -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
  21553. -if test $ac_cv_lib_dld_shl_load = yes; then
  21554. - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
  21555. -else
  21556. - { echo "$as_me:$LINENO: checking for dlopen" >&5
  21557. -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
  21558. -if test "${ac_cv_func_dlopen+set}" = set; then
  21559. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21560. -else
  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. -/* end confdefs.h. */
  21567. -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  21568. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  21569. -#define dlopen innocuous_dlopen
  21570. -
  21571. -/* System header to define __stub macros and hopefully few prototypes,
  21572. - which can conflict with char dlopen (); below.
  21573. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  21574. - <limits.h> exists even on freestanding compilers. */
  21575. -
  21576. -#ifdef __STDC__
  21577. -# include <limits.h>
  21578. -#else
  21579. -# include <assert.h>
  21580. -#endif
  21581. -
  21582. -#undef dlopen
  21583. -
  21584. -/* Override any GCC internal prototype to avoid an error.
  21585. - Use char because int might match the return type of a GCC
  21586. - builtin and then its argument prototype would still apply. */
  21587. -#ifdef __cplusplus
  21588. -extern "C"
  21589. -#endif
  21590. -char dlopen ();
  21591. -/* The GNU C library defines this for functions which it implements
  21592. - to always fail with ENOSYS. Some functions are actually named
  21593. - something starting with __ and the normal name is an alias. */
  21594. -#if defined __stub_dlopen || defined __stub___dlopen
  21595. -choke me
  21596. -#endif
  21597. -
  21598. -int
  21599. -main ()
  21600. -{
  21601. -return dlopen ();
  21602. - ;
  21603. - return 0;
  21604. -}
  21605. -_ACEOF
  21606. -rm -f conftest.$ac_objext conftest$ac_exeext
  21607. -if { (ac_try="$ac_link"
  21608. -case "(($ac_try" in
  21609. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21610. - *) ac_try_echo=$ac_try;;
  21611. -esac
  21612. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21613. - (eval "$ac_link") 2>conftest.er1
  21614. - ac_status=$?
  21615. - grep -v '^ *+' conftest.er1 >conftest.err
  21616. - rm -f conftest.er1
  21617. - cat conftest.err >&5
  21618. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21619. - (exit $ac_status); } &&
  21620. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  21621. - { (case "(($ac_try" in
  21622. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21623. - *) ac_try_echo=$ac_try;;
  21624. -esac
  21625. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21626. - (eval "$ac_try") 2>&5
  21627. - ac_status=$?
  21628. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21629. - (exit $ac_status); }; } &&
  21630. - { ac_try='test -s conftest$ac_exeext'
  21631. - { (case "(($ac_try" in
  21632. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21633. - *) ac_try_echo=$ac_try;;
  21634. -esac
  21635. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21636. - (eval "$ac_try") 2>&5
  21637. - ac_status=$?
  21638. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21639. - (exit $ac_status); }; }; then
  21640. - ac_cv_func_dlopen=yes
  21641. -else
  21642. - echo "$as_me: failed program was:" >&5
  21643. -sed 's/^/| /' conftest.$ac_ext >&5
  21644. -
  21645. - ac_cv_func_dlopen=no
  21646. -fi
  21647. -
  21648. -rm -f core conftest.err conftest.$ac_objext \
  21649. - conftest$ac_exeext conftest.$ac_ext
  21650. -fi
  21651. -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  21652. -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
  21653. -if test $ac_cv_func_dlopen = yes; then
  21654. - lt_cv_dlopen="dlopen"
  21655. -else
  21656. - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  21657. -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  21658. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  21659. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21660. -else
  21661. - ac_check_lib_save_LIBS=$LIBS
  21662. -LIBS="-ldl $LIBS"
  21663. -cat >conftest.$ac_ext <<_ACEOF
  21664. -/* confdefs.h. */
  21665. -_ACEOF
  21666. -cat confdefs.h >>conftest.$ac_ext
  21667. -cat >>conftest.$ac_ext <<_ACEOF
  21668. -/* end confdefs.h. */
  21669. -
  21670. -/* Override any GCC internal prototype to avoid an error.
  21671. - Use char because int might match the return type of a GCC
  21672. - builtin and then its argument prototype would still apply. */
  21673. -#ifdef __cplusplus
  21674. -extern "C"
  21675. -#endif
  21676. -char dlopen ();
  21677. -int
  21678. -main ()
  21679. -{
  21680. -return dlopen ();
  21681. - ;
  21682. - return 0;
  21683. -}
  21684. -_ACEOF
  21685. -rm -f conftest.$ac_objext conftest$ac_exeext
  21686. -if { (ac_try="$ac_link"
  21687. -case "(($ac_try" in
  21688. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21689. - *) ac_try_echo=$ac_try;;
  21690. -esac
  21691. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21692. - (eval "$ac_link") 2>conftest.er1
  21693. - ac_status=$?
  21694. - grep -v '^ *+' conftest.er1 >conftest.err
  21695. - rm -f conftest.er1
  21696. - cat conftest.err >&5
  21697. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21698. - (exit $ac_status); } &&
  21699. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  21700. - { (case "(($ac_try" in
  21701. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21702. - *) ac_try_echo=$ac_try;;
  21703. -esac
  21704. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21705. - (eval "$ac_try") 2>&5
  21706. - ac_status=$?
  21707. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21708. - (exit $ac_status); }; } &&
  21709. - { ac_try='test -s conftest$ac_exeext'
  21710. - { (case "(($ac_try" in
  21711. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21712. - *) ac_try_echo=$ac_try;;
  21713. -esac
  21714. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21715. - (eval "$ac_try") 2>&5
  21716. - ac_status=$?
  21717. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21718. - (exit $ac_status); }; }; then
  21719. - ac_cv_lib_dl_dlopen=yes
  21720. -else
  21721. - echo "$as_me: failed program was:" >&5
  21722. -sed 's/^/| /' conftest.$ac_ext >&5
  21723. -
  21724. - ac_cv_lib_dl_dlopen=no
  21725. -fi
  21726. -
  21727. -rm -f core conftest.err conftest.$ac_objext \
  21728. - conftest$ac_exeext conftest.$ac_ext
  21729. -LIBS=$ac_check_lib_save_LIBS
  21730. -fi
  21731. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  21732. -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  21733. -if test $ac_cv_lib_dl_dlopen = yes; then
  21734. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  21735. -else
  21736. - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  21737. -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
  21738. -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  21739. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21740. -else
  21741. - ac_check_lib_save_LIBS=$LIBS
  21742. -LIBS="-lsvld $LIBS"
  21743. -cat >conftest.$ac_ext <<_ACEOF
  21744. -/* confdefs.h. */
  21745. -_ACEOF
  21746. -cat confdefs.h >>conftest.$ac_ext
  21747. -cat >>conftest.$ac_ext <<_ACEOF
  21748. -/* end confdefs.h. */
  21749. -
  21750. -/* Override any GCC internal prototype to avoid an error.
  21751. - Use char because int might match the return type of a GCC
  21752. - builtin and then its argument prototype would still apply. */
  21753. -#ifdef __cplusplus
  21754. -extern "C"
  21755. -#endif
  21756. -char dlopen ();
  21757. -int
  21758. -main ()
  21759. -{
  21760. -return dlopen ();
  21761. - ;
  21762. - return 0;
  21763. -}
  21764. -_ACEOF
  21765. -rm -f conftest.$ac_objext conftest$ac_exeext
  21766. -if { (ac_try="$ac_link"
  21767. -case "(($ac_try" in
  21768. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21769. - *) ac_try_echo=$ac_try;;
  21770. -esac
  21771. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21772. - (eval "$ac_link") 2>conftest.er1
  21773. - ac_status=$?
  21774. - grep -v '^ *+' conftest.er1 >conftest.err
  21775. - rm -f conftest.er1
  21776. - cat conftest.err >&5
  21777. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21778. - (exit $ac_status); } &&
  21779. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  21780. - { (case "(($ac_try" in
  21781. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21782. - *) ac_try_echo=$ac_try;;
  21783. -esac
  21784. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21785. - (eval "$ac_try") 2>&5
  21786. - ac_status=$?
  21787. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21788. - (exit $ac_status); }; } &&
  21789. - { ac_try='test -s conftest$ac_exeext'
  21790. - { (case "(($ac_try" in
  21791. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21792. - *) ac_try_echo=$ac_try;;
  21793. -esac
  21794. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21795. - (eval "$ac_try") 2>&5
  21796. - ac_status=$?
  21797. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21798. - (exit $ac_status); }; }; then
  21799. - ac_cv_lib_svld_dlopen=yes
  21800. -else
  21801. - echo "$as_me: failed program was:" >&5
  21802. -sed 's/^/| /' conftest.$ac_ext >&5
  21803. -
  21804. - ac_cv_lib_svld_dlopen=no
  21805. -fi
  21806. -
  21807. -rm -f core conftest.err conftest.$ac_objext \
  21808. - conftest$ac_exeext conftest.$ac_ext
  21809. -LIBS=$ac_check_lib_save_LIBS
  21810. -fi
  21811. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  21812. -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
  21813. -if test $ac_cv_lib_svld_dlopen = yes; then
  21814. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  21815. -else
  21816. - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  21817. -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
  21818. -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  21819. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21820. -else
  21821. - ac_check_lib_save_LIBS=$LIBS
  21822. -LIBS="-ldld $LIBS"
  21823. -cat >conftest.$ac_ext <<_ACEOF
  21824. -/* confdefs.h. */
  21825. -_ACEOF
  21826. -cat confdefs.h >>conftest.$ac_ext
  21827. -cat >>conftest.$ac_ext <<_ACEOF
  21828. -/* end confdefs.h. */
  21829. -
  21830. -/* Override any GCC internal prototype to avoid an error.
  21831. - Use char because int might match the return type of a GCC
  21832. - builtin and then its argument prototype would still apply. */
  21833. -#ifdef __cplusplus
  21834. -extern "C"
  21835. -#endif
  21836. -char dld_link ();
  21837. -int
  21838. -main ()
  21839. -{
  21840. -return dld_link ();
  21841. - ;
  21842. - return 0;
  21843. -}
  21844. -_ACEOF
  21845. -rm -f conftest.$ac_objext conftest$ac_exeext
  21846. -if { (ac_try="$ac_link"
  21847. -case "(($ac_try" in
  21848. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21849. - *) ac_try_echo=$ac_try;;
  21850. -esac
  21851. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21852. - (eval "$ac_link") 2>conftest.er1
  21853. - ac_status=$?
  21854. - grep -v '^ *+' conftest.er1 >conftest.err
  21855. - rm -f conftest.er1
  21856. - cat conftest.err >&5
  21857. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21858. - (exit $ac_status); } &&
  21859. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  21860. - { (case "(($ac_try" in
  21861. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21862. - *) ac_try_echo=$ac_try;;
  21863. -esac
  21864. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21865. - (eval "$ac_try") 2>&5
  21866. - ac_status=$?
  21867. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21868. - (exit $ac_status); }; } &&
  21869. - { ac_try='test -s conftest$ac_exeext'
  21870. - { (case "(($ac_try" in
  21871. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21872. - *) ac_try_echo=$ac_try;;
  21873. -esac
  21874. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21875. - (eval "$ac_try") 2>&5
  21876. - ac_status=$?
  21877. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21878. - (exit $ac_status); }; }; then
  21879. - ac_cv_lib_dld_dld_link=yes
  21880. -else
  21881. - echo "$as_me: failed program was:" >&5
  21882. -sed 's/^/| /' conftest.$ac_ext >&5
  21883. -
  21884. - ac_cv_lib_dld_dld_link=no
  21885. -fi
  21886. -
  21887. -rm -f core conftest.err conftest.$ac_objext \
  21888. - conftest$ac_exeext conftest.$ac_ext
  21889. -LIBS=$ac_check_lib_save_LIBS
  21890. -fi
  21891. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  21892. -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
  21893. -if test $ac_cv_lib_dld_dld_link = yes; then
  21894. - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
  21895. -fi
  21896. -
  21897. -
  21898. -fi
  21899. -
  21900. -
  21901. -fi
  21902. -
  21903. -
  21904. -fi
  21905. -
  21906. -
  21907. -fi
  21908. -
  21909. -
  21910. -fi
  21911. -
  21912. - ;;
  21913. - esac
  21914. -
  21915. - if test "x$lt_cv_dlopen" != xno; then
  21916. - enable_dlopen=yes
  21917. - else
  21918. - enable_dlopen=no
  21919. - fi
  21920. -
  21921. - case $lt_cv_dlopen in
  21922. - dlopen)
  21923. - save_CPPFLAGS="$CPPFLAGS"
  21924. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  21925. -
  21926. - save_LDFLAGS="$LDFLAGS"
  21927. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  21928. -
  21929. - save_LIBS="$LIBS"
  21930. - LIBS="$lt_cv_dlopen_libs $LIBS"
  21931. -
  21932. - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  21933. -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
  21934. -if test "${lt_cv_dlopen_self+set}" = set; then
  21935. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21936. -else
  21937. - if test "$cross_compiling" = yes; then :
  21938. - lt_cv_dlopen_self=cross
  21939. -else
  21940. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  21941. - lt_status=$lt_dlunknown
  21942. - cat > conftest.$ac_ext <<EOF
  21943. -#line 10387 "configure"
  21944. -#include "confdefs.h"
  21945. -
  21946. -#if HAVE_DLFCN_H
  21947. -#include <dlfcn.h>
  21948. -#endif
  21949. -
  21950. -#include <stdio.h>
  21951. -
  21952. -#ifdef RTLD_GLOBAL
  21953. -# define LT_DLGLOBAL RTLD_GLOBAL
  21954. -#else
  21955. -# ifdef DL_GLOBAL
  21956. -# define LT_DLGLOBAL DL_GLOBAL
  21957. -# else
  21958. -# define LT_DLGLOBAL 0
  21959. -# endif
  21960. -#endif
  21961. -
  21962. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  21963. - find out it does not work in some platform. */
  21964. -#ifndef LT_DLLAZY_OR_NOW
  21965. -# ifdef RTLD_LAZY
  21966. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  21967. -# else
  21968. -# ifdef DL_LAZY
  21969. -# define LT_DLLAZY_OR_NOW DL_LAZY
  21970. -# else
  21971. -# ifdef RTLD_NOW
  21972. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  21973. -# else
  21974. -# ifdef DL_NOW
  21975. -# define LT_DLLAZY_OR_NOW DL_NOW
  21976. -# else
  21977. -# define LT_DLLAZY_OR_NOW 0
  21978. -# endif
  21979. -# endif
  21980. -# endif
  21981. -# endif
  21982. -#endif
  21983. -
  21984. -#ifdef __cplusplus
  21985. -extern "C" void exit (int);
  21986. -#endif
  21987. -
  21988. -void fnord() { int i=42;}
  21989. -int main ()
  21990. -{
  21991. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  21992. - int status = $lt_dlunknown;
  21993. -
  21994. - if (self)
  21995. - {
  21996. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  21997. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  21998. - /* dlclose (self); */
  21999. - }
  22000. - else
  22001. - puts (dlerror ());
  22002. -
  22003. - exit (status);
  22004. -}
  22005. -EOF
  22006. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  22007. - (eval $ac_link) 2>&5
  22008. - ac_status=$?
  22009. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22010. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  22011. - (./conftest; exit; ) >&5 2>/dev/null
  22012. - lt_status=$?
  22013. - case x$lt_status in
  22014. - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  22015. - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  22016. - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  22017. - esac
  22018. - else :
  22019. - # compilation failed
  22020. - lt_cv_dlopen_self=no
  22021. - fi
  22022. -fi
  22023. -rm -fr conftest*
  22024. -
  22025. -
  22026. -fi
  22027. -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  22028. -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
  22029. -
  22030. - if test "x$lt_cv_dlopen_self" = xyes; then
  22031. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  22032. - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  22033. -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
  22034. -if test "${lt_cv_dlopen_self_static+set}" = set; then
  22035. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22036. -else
  22037. - if test "$cross_compiling" = yes; then :
  22038. - lt_cv_dlopen_self_static=cross
  22039. -else
  22040. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  22041. - lt_status=$lt_dlunknown
  22042. - cat > conftest.$ac_ext <<EOF
  22043. -#line 10487 "configure"
  22044. -#include "confdefs.h"
  22045. -
  22046. -#if HAVE_DLFCN_H
  22047. -#include <dlfcn.h>
  22048. -#endif
  22049. -
  22050. -#include <stdio.h>
  22051. -
  22052. -#ifdef RTLD_GLOBAL
  22053. -# define LT_DLGLOBAL RTLD_GLOBAL
  22054. -#else
  22055. -# ifdef DL_GLOBAL
  22056. -# define LT_DLGLOBAL DL_GLOBAL
  22057. -# else
  22058. -# define LT_DLGLOBAL 0
  22059. -# endif
  22060. -#endif
  22061. -
  22062. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  22063. - find out it does not work in some platform. */
  22064. -#ifndef LT_DLLAZY_OR_NOW
  22065. -# ifdef RTLD_LAZY
  22066. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  22067. -# else
  22068. -# ifdef DL_LAZY
  22069. -# define LT_DLLAZY_OR_NOW DL_LAZY
  22070. -# else
  22071. -# ifdef RTLD_NOW
  22072. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  22073. -# else
  22074. -# ifdef DL_NOW
  22075. -# define LT_DLLAZY_OR_NOW DL_NOW
  22076. -# else
  22077. -# define LT_DLLAZY_OR_NOW 0
  22078. -# endif
  22079. -# endif
  22080. -# endif
  22081. -# endif
  22082. -#endif
  22083. -
  22084. -#ifdef __cplusplus
  22085. -extern "C" void exit (int);
  22086. -#endif
  22087. -
  22088. -void fnord() { int i=42;}
  22089. -int main ()
  22090. -{
  22091. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  22092. - int status = $lt_dlunknown;
  22093. -
  22094. - if (self)
  22095. - {
  22096. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  22097. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  22098. - /* dlclose (self); */
  22099. - }
  22100. - else
  22101. - puts (dlerror ());
  22102. -
  22103. - exit (status);
  22104. -}
  22105. -EOF
  22106. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  22107. - (eval $ac_link) 2>&5
  22108. - ac_status=$?
  22109. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22110. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  22111. - (./conftest; exit; ) >&5 2>/dev/null
  22112. - lt_status=$?
  22113. - case x$lt_status in
  22114. - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  22115. - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  22116. - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  22117. - esac
  22118. - else :
  22119. - # compilation failed
  22120. - lt_cv_dlopen_self_static=no
  22121. - fi
  22122. -fi
  22123. -rm -fr conftest*
  22124. -
  22125. -
  22126. -fi
  22127. -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  22128. -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
  22129. - fi
  22130. -
  22131. - CPPFLAGS="$save_CPPFLAGS"
  22132. - LDFLAGS="$save_LDFLAGS"
  22133. - LIBS="$save_LIBS"
  22134. - ;;
  22135. - esac
  22136. -
  22137. - case $lt_cv_dlopen_self in
  22138. - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  22139. - *) enable_dlopen_self=unknown ;;
  22140. - esac
  22141. -
  22142. - case $lt_cv_dlopen_self_static in
  22143. - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  22144. - *) enable_dlopen_self_static=unknown ;;
  22145. - esac
  22146. -fi
  22147. -
  22148. -
  22149. -# Report which library types will actually be built
  22150. -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  22151. -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
  22152. -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
  22153. -echo "${ECHO_T}$can_build_shared" >&6; }
  22154. -
  22155. -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  22156. -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
  22157. -test "$can_build_shared" = "no" && enable_shared=no
  22158. -
  22159. -# On AIX, shared libraries and static libraries use the same namespace, and
  22160. -# are all built from PIC.
  22161. -case $host_os in
  22162. -aix3*)
  22163. - test "$enable_shared" = yes && enable_static=no
  22164. - if test -n "$RANLIB"; then
  22165. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  22166. - postinstall_cmds='$RANLIB $lib'
  22167. - fi
  22168. - ;;
  22169. -
  22170. -aix4* | aix5*)
  22171. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  22172. - test "$enable_shared" = yes && enable_static=no
  22173. - fi
  22174. - ;;
  22175. -esac
  22176. -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
  22177. -echo "${ECHO_T}$enable_shared" >&6; }
  22178. -
  22179. -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  22180. -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
  22181. -# Make sure either enable_shared or enable_static is yes.
  22182. -test "$enable_shared" = yes || enable_static=yes
  22183. -{ echo "$as_me:$LINENO: result: $enable_static" >&5
  22184. -echo "${ECHO_T}$enable_static" >&6; }
  22185. -
  22186. -# The else clause should only fire when bootstrapping the
  22187. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  22188. -# with your package, and you will get complaints that there are
  22189. -# no rules to generate ltmain.sh.
  22190. -if test -f "$ltmain"; then
  22191. - # See if we are running on zsh, and set the options which allow our commands through
  22192. - # without removal of \ escapes.
  22193. - if test -n "${ZSH_VERSION+set}" ; then
  22194. - setopt NO_GLOB_SUBST
  22195. - fi
  22196. - # Now quote all the things that may contain metacharacters while being
  22197. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  22198. - # variables and quote the copies for generation of the libtool script.
  22199. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  22200. - SED SHELL STRIP \
  22201. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  22202. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  22203. - deplibs_check_method reload_flag reload_cmds need_locks \
  22204. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  22205. - lt_cv_sys_global_symbol_to_c_name_address \
  22206. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  22207. - old_postinstall_cmds old_postuninstall_cmds \
  22208. - compiler \
  22209. - CC \
  22210. - LD \
  22211. - lt_prog_compiler_wl \
  22212. - lt_prog_compiler_pic \
  22213. - lt_prog_compiler_static \
  22214. - lt_prog_compiler_no_builtin_flag \
  22215. - export_dynamic_flag_spec \
  22216. - thread_safe_flag_spec \
  22217. - whole_archive_flag_spec \
  22218. - enable_shared_with_static_runtimes \
  22219. - old_archive_cmds \
  22220. - old_archive_from_new_cmds \
  22221. - predep_objects \
  22222. - postdep_objects \
  22223. - predeps \
  22224. - postdeps \
  22225. - compiler_lib_search_path \
  22226. - archive_cmds \
  22227. - archive_expsym_cmds \
  22228. - postinstall_cmds \
  22229. - postuninstall_cmds \
  22230. - old_archive_from_expsyms_cmds \
  22231. - allow_undefined_flag \
  22232. - no_undefined_flag \
  22233. - export_symbols_cmds \
  22234. - hardcode_libdir_flag_spec \
  22235. - hardcode_libdir_flag_spec_ld \
  22236. - hardcode_libdir_separator \
  22237. - hardcode_automatic \
  22238. - module_cmds \
  22239. - module_expsym_cmds \
  22240. - lt_cv_prog_compiler_c_o \
  22241. - exclude_expsyms \
  22242. - include_expsyms; do
  22243. -
  22244. - case $var in
  22245. - old_archive_cmds | \
  22246. - old_archive_from_new_cmds | \
  22247. - archive_cmds | \
  22248. - archive_expsym_cmds | \
  22249. - module_cmds | \
  22250. - module_expsym_cmds | \
  22251. - old_archive_from_expsyms_cmds | \
  22252. - export_symbols_cmds | \
  22253. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  22254. - postinstall_cmds | postuninstall_cmds | \
  22255. - old_postinstall_cmds | old_postuninstall_cmds | \
  22256. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  22257. - # Double-quote double-evaled strings.
  22258. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  22259. - ;;
  22260. - *)
  22261. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  22262. - ;;
  22263. - esac
  22264. - done
  22265. -
  22266. - case $lt_echo in
  22267. - *'\$0 --fallback-echo"')
  22268. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  22269. - ;;
  22270. - esac
  22271. -
  22272. -cfgfile="${ofile}T"
  22273. - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  22274. - $rm -f "$cfgfile"
  22275. - { echo "$as_me:$LINENO: creating $ofile" >&5
  22276. -echo "$as_me: creating $ofile" >&6;}
  22277. -
  22278. - cat <<__EOF__ >> "$cfgfile"
  22279. -#! $SHELL
  22280. -
  22281. -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  22282. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  22283. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  22284. -#
  22285. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
  22286. -# Free Software Foundation, Inc.
  22287. -#
  22288. -# This file is part of GNU Libtool:
  22289. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  22290. -#
  22291. -# This program is free software; you can redistribute it and/or modify
  22292. -# it under the terms of the GNU General Public License as published by
  22293. -# the Free Software Foundation; either version 2 of the License, or
  22294. -# (at your option) any later version.
  22295. -#
  22296. -# This program is distributed in the hope that it will be useful, but
  22297. -# WITHOUT ANY WARRANTY; without even the implied warranty of
  22298. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  22299. -# General Public License for more details.
  22300. -#
  22301. -# You should have received a copy of the GNU General Public License
  22302. -# along with this program; if not, write to the Free Software
  22303. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  22304. -#
  22305. -# As a special exception to the GNU General Public License, if you
  22306. -# distribute this file as part of a program that contains a
  22307. -# configuration script generated by Autoconf, you may include it under
  22308. -# the same distribution terms that you use for the rest of that program.
  22309. -
  22310. -# A sed program that does not truncate output.
  22311. -SED=$lt_SED
  22312. -
  22313. -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  22314. -Xsed="$SED -e 1s/^X//"
  22315. -
  22316. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  22317. -# if CDPATH is set.
  22318. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  22319. -
  22320. -# The names of the tagged configurations supported by this script.
  22321. -available_tags=
  22322. -
  22323. -# ### BEGIN LIBTOOL CONFIG
  22324. -
  22325. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  22326. -
  22327. -# Shell to use when invoking shell scripts.
  22328. -SHELL=$lt_SHELL
  22329. -
  22330. -# Whether or not to build shared libraries.
  22331. -build_libtool_libs=$enable_shared
  22332. -
  22333. -# Whether or not to build static libraries.
  22334. -build_old_libs=$enable_static
  22335. -
  22336. -# Whether or not to add -lc for building shared libraries.
  22337. -build_libtool_need_lc=$archive_cmds_need_lc
  22338. -
  22339. -# Whether or not to disallow shared libs when runtime libs are static
  22340. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  22341. -
  22342. -# Whether or not to optimize for fast installation.
  22343. -fast_install=$enable_fast_install
  22344. -
  22345. -# The host system.
  22346. -host_alias=$host_alias
  22347. -host=$host
  22348. -host_os=$host_os
  22349. -
  22350. -# The build system.
  22351. -build_alias=$build_alias
  22352. -build=$build
  22353. -build_os=$build_os
  22354. -
  22355. -# An echo program that does not interpret backslashes.
  22356. -echo=$lt_echo
  22357. -
  22358. -# The archiver.
  22359. -AR=$lt_AR
  22360. -AR_FLAGS=$lt_AR_FLAGS
  22361. -
  22362. -# A C compiler.
  22363. -LTCC=$lt_LTCC
  22364. -
  22365. -# LTCC compiler flags.
  22366. -LTCFLAGS=$lt_LTCFLAGS
  22367. -
  22368. -# A language-specific compiler.
  22369. -CC=$lt_compiler
  22370. -
  22371. -# Is the compiler the GNU C compiler?
  22372. -with_gcc=$GCC
  22373. -
  22374. -# An ERE matcher.
  22375. -EGREP=$lt_EGREP
  22376. -
  22377. -# The linker used to build libraries.
  22378. -LD=$lt_LD
  22379. -
  22380. -# Whether we need hard or soft links.
  22381. -LN_S=$lt_LN_S
  22382. -
  22383. -# A BSD-compatible nm program.
  22384. -NM=$lt_NM
  22385. -
  22386. -# A symbol stripping program
  22387. -STRIP=$lt_STRIP
  22388. -
  22389. -# Used to examine libraries when file_magic_cmd begins "file"
  22390. -MAGIC_CMD=$MAGIC_CMD
  22391. -
  22392. -# Used on cygwin: DLL creation program.
  22393. -DLLTOOL="$DLLTOOL"
  22394. -
  22395. -# Used on cygwin: object dumper.
  22396. -OBJDUMP="$OBJDUMP"
  22397. -
  22398. -# Used on cygwin: assembler.
  22399. -AS="$AS"
  22400. -
  22401. -# The name of the directory that contains temporary libtool files.
  22402. -objdir=$objdir
  22403. -
  22404. -# How to create reloadable object files.
  22405. -reload_flag=$lt_reload_flag
  22406. -reload_cmds=$lt_reload_cmds
  22407. -
  22408. -# How to pass a linker flag through the compiler.
  22409. -wl=$lt_lt_prog_compiler_wl
  22410. -
  22411. -# Object file suffix (normally "o").
  22412. -objext="$ac_objext"
  22413. -
  22414. -# Old archive suffix (normally "a").
  22415. -libext="$libext"
  22416. -
  22417. -# Shared library suffix (normally ".so").
  22418. -shrext_cmds='$shrext_cmds'
  22419. -
  22420. -# Executable file suffix (normally "").
  22421. -exeext="$exeext"
  22422. -
  22423. -# Additional compiler flags for building library objects.
  22424. -pic_flag=$lt_lt_prog_compiler_pic
  22425. -pic_mode=$pic_mode
  22426. -
  22427. -# What is the maximum length of a command?
  22428. -max_cmd_len=$lt_cv_sys_max_cmd_len
  22429. -
  22430. -# Does compiler simultaneously support -c and -o options?
  22431. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  22432. -
  22433. -# Must we lock files when doing compilation?
  22434. -need_locks=$lt_need_locks
  22435. -
  22436. -# Do we need the lib prefix for modules?
  22437. -need_lib_prefix=$need_lib_prefix
  22438. -
  22439. -# Do we need a version for libraries?
  22440. -need_version=$need_version
  22441. -
  22442. -# Whether dlopen is supported.
  22443. -dlopen_support=$enable_dlopen
  22444. -
  22445. -# Whether dlopen of programs is supported.
  22446. -dlopen_self=$enable_dlopen_self
  22447. -
  22448. -# Whether dlopen of statically linked programs is supported.
  22449. -dlopen_self_static=$enable_dlopen_self_static
  22450. -
  22451. -# Compiler flag to prevent dynamic linking.
  22452. -link_static_flag=$lt_lt_prog_compiler_static
  22453. -
  22454. -# Compiler flag to turn off builtin functions.
  22455. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  22456. -
  22457. -# Compiler flag to allow reflexive dlopens.
  22458. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  22459. -
  22460. -# Compiler flag to generate shared objects directly from archives.
  22461. -whole_archive_flag_spec=$lt_whole_archive_flag_spec
  22462. -
  22463. -# Compiler flag to generate thread-safe objects.
  22464. -thread_safe_flag_spec=$lt_thread_safe_flag_spec
  22465. -
  22466. -# Library versioning type.
  22467. -version_type=$version_type
  22468. -
  22469. -# Format of library name prefix.
  22470. -libname_spec=$lt_libname_spec
  22471. -
  22472. -# List of archive names. First name is the real one, the rest are links.
  22473. -# The last name is the one that the linker finds with -lNAME.
  22474. -library_names_spec=$lt_library_names_spec
  22475. -
  22476. -# The coded name of the library, if different from the real name.
  22477. -soname_spec=$lt_soname_spec
  22478. -
  22479. -# Commands used to build and install an old-style archive.
  22480. -RANLIB=$lt_RANLIB
  22481. -old_archive_cmds=$lt_old_archive_cmds
  22482. -old_postinstall_cmds=$lt_old_postinstall_cmds
  22483. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  22484. -
  22485. -# Create an old-style archive from a shared archive.
  22486. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  22487. -
  22488. -# Create a temporary old-style archive to link instead of a shared archive.
  22489. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  22490. -
  22491. -# Commands used to build and install a shared archive.
  22492. -archive_cmds=$lt_archive_cmds
  22493. -archive_expsym_cmds=$lt_archive_expsym_cmds
  22494. -postinstall_cmds=$lt_postinstall_cmds
  22495. -postuninstall_cmds=$lt_postuninstall_cmds
  22496. -
  22497. -# Commands used to build a loadable module (assumed same as above if empty)
  22498. -module_cmds=$lt_module_cmds
  22499. -module_expsym_cmds=$lt_module_expsym_cmds
  22500. -
  22501. -# Commands to strip libraries.
  22502. -old_striplib=$lt_old_striplib
  22503. -striplib=$lt_striplib
  22504. -
  22505. -# Dependencies to place before the objects being linked to create a
  22506. -# shared library.
  22507. -predep_objects=$lt_predep_objects
  22508. -
  22509. -# Dependencies to place after the objects being linked to create a
  22510. -# shared library.
  22511. -postdep_objects=$lt_postdep_objects
  22512. -
  22513. -# Dependencies to place before the objects being linked to create a
  22514. -# shared library.
  22515. -predeps=$lt_predeps
  22516. -
  22517. -# Dependencies to place after the objects being linked to create a
  22518. -# shared library.
  22519. -postdeps=$lt_postdeps
  22520. -
  22521. -# The library search path used internally by the compiler when linking
  22522. -# a shared library.
  22523. -compiler_lib_search_path=$lt_compiler_lib_search_path
  22524. -
  22525. -# Method to check whether dependent libraries are shared objects.
  22526. -deplibs_check_method=$lt_deplibs_check_method
  22527. -
  22528. -# Command to use when deplibs_check_method == file_magic.
  22529. -file_magic_cmd=$lt_file_magic_cmd
  22530. -
  22531. -# Flag that allows shared libraries with undefined symbols to be built.
  22532. -allow_undefined_flag=$lt_allow_undefined_flag
  22533. -
  22534. -# Flag that forces no undefined symbols.
  22535. -no_undefined_flag=$lt_no_undefined_flag
  22536. -
  22537. -# Commands used to finish a libtool library installation in a directory.
  22538. -finish_cmds=$lt_finish_cmds
  22539. -
  22540. -# Same as above, but a single script fragment to be evaled but not shown.
  22541. -finish_eval=$lt_finish_eval
  22542. -
  22543. -# Take the output of nm and produce a listing of raw symbols and C names.
  22544. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  22545. -
  22546. -# Transform the output of nm in a proper C declaration
  22547. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  22548. -
  22549. -# Transform the output of nm in a C name address pair
  22550. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  22551. -
  22552. -# This is the shared library runtime path variable.
  22553. -runpath_var=$runpath_var
  22554. -
  22555. -# This is the shared library path variable.
  22556. -shlibpath_var=$shlibpath_var
  22557. -
  22558. -# Is shlibpath searched before the hard-coded library search path?
  22559. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  22560. -
  22561. -# How to hardcode a shared library path into an executable.
  22562. -hardcode_action=$hardcode_action
  22563. -
  22564. -# Whether we should hardcode library paths into libraries.
  22565. -hardcode_into_libs=$hardcode_into_libs
  22566. -
  22567. -# Flag to hardcode \$libdir into a binary during linking.
  22568. -# This must work even if \$libdir does not exist.
  22569. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  22570. -
  22571. -# If ld is used when linking, flag to hardcode \$libdir into
  22572. -# a binary during linking. This must work even if \$libdir does
  22573. -# not exist.
  22574. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  22575. -
  22576. -# Whether we need a single -rpath flag with a separated argument.
  22577. -hardcode_libdir_separator=$lt_hardcode_libdir_separator
  22578. -
  22579. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  22580. -# resulting binary.
  22581. -hardcode_direct=$hardcode_direct
  22582. -
  22583. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  22584. -# resulting binary.
  22585. -hardcode_minus_L=$hardcode_minus_L
  22586. -
  22587. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  22588. -# the resulting binary.
  22589. -hardcode_shlibpath_var=$hardcode_shlibpath_var
  22590. -
  22591. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  22592. -# and all subsequent libraries and executables linked against it.
  22593. -hardcode_automatic=$hardcode_automatic
  22594. -
  22595. -# Variables whose values should be saved in libtool wrapper scripts and
  22596. -# restored at relink time.
  22597. -variables_saved_for_relink="$variables_saved_for_relink"
  22598. -
  22599. -# Whether libtool must link a program against all its dependency libraries.
  22600. -link_all_deplibs=$link_all_deplibs
  22601. -
  22602. -# Compile-time system search path for libraries
  22603. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  22604. -
  22605. -# Run-time system search path for libraries
  22606. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  22607. -
  22608. -# Fix the shell variable \$srcfile for the compiler.
  22609. -fix_srcfile_path="$fix_srcfile_path"
  22610. -
  22611. -# Set to yes if exported symbols are required.
  22612. -always_export_symbols=$always_export_symbols
  22613. -
  22614. -# The commands to list exported symbols.
  22615. -export_symbols_cmds=$lt_export_symbols_cmds
  22616. -
  22617. -# The commands to extract the exported symbol list from a shared archive.
  22618. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  22619. -
  22620. -# Symbols that should not be listed in the preloaded symbols.
  22621. -exclude_expsyms=$lt_exclude_expsyms
  22622. -
  22623. -# Symbols that must always be exported.
  22624. -include_expsyms=$lt_include_expsyms
  22625. -
  22626. -# ### END LIBTOOL CONFIG
  22627. -
  22628. -__EOF__
  22629. -
  22630. -
  22631. - case $host_os in
  22632. - aix3*)
  22633. - cat <<\EOF >> "$cfgfile"
  22634. -
  22635. -# AIX sometimes has problems with the GCC collect2 program. For some
  22636. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  22637. -# vanish in a puff of smoke.
  22638. -if test "X${COLLECT_NAMES+set}" != Xset; then
  22639. - COLLECT_NAMES=
  22640. - export COLLECT_NAMES
  22641. -fi
  22642. -EOF
  22643. - ;;
  22644. - esac
  22645. -
  22646. - # We use sed instead of cat because bash on DJGPP gets confused if
  22647. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  22648. - # text mode, it properly converts lines to CR/LF. This bash problem
  22649. - # is reportedly fixed, but why not run on old versions too?
  22650. - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  22651. -
  22652. - mv -f "$cfgfile" "$ofile" || \
  22653. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  22654. - chmod +x "$ofile"
  22655. -
  22656. -else
  22657. - # If there is no Makefile yet, we rely on a make rule to execute
  22658. - # `config.status --recheck' to rerun these tests and create the
  22659. - # libtool script then.
  22660. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  22661. - if test -f "$ltmain_in"; then
  22662. - test -f Makefile && make "$ltmain"
  22663. - fi
  22664. -fi
  22665. -
  22666. -
  22667. -ac_ext=c
  22668. -ac_cpp='$CPP $CPPFLAGS'
  22669. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  22670. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  22671. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  22672. -
  22673. -CC="$lt_save_CC"
  22674. -
  22675. -
  22676. -# Check whether --with-tags was given.
  22677. -if test "${with_tags+set}" = set; then
  22678. - withval=$with_tags; tagnames="$withval"
  22679. -fi
  22680. -
  22681. -
  22682. -if test -f "$ltmain" && test -n "$tagnames"; then
  22683. - if test ! -f "${ofile}"; then
  22684. - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
  22685. -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
  22686. - fi
  22687. -
  22688. - if test -z "$LTCC"; then
  22689. - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  22690. - if test -z "$LTCC"; then
  22691. - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
  22692. -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
  22693. - else
  22694. - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
  22695. -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
  22696. - fi
  22697. - fi
  22698. - if test -z "$LTCFLAGS"; then
  22699. - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
  22700. - fi
  22701. -
  22702. - # Extract list of available tagged configurations in $ofile.
  22703. - # Note that this assumes the entire list is on one line.
  22704. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  22705. -
  22706. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  22707. - for tagname in $tagnames; do
  22708. - IFS="$lt_save_ifs"
  22709. - # Check whether tagname contains only valid characters
  22710. - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
  22711. - "") ;;
  22712. - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
  22713. -echo "$as_me: error: invalid tag name: $tagname" >&2;}
  22714. - { (exit 1); exit 1; }; }
  22715. - ;;
  22716. - esac
  22717. -
  22718. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  22719. - then
  22720. - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
  22721. -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
  22722. - { (exit 1); exit 1; }; }
  22723. - fi
  22724. -
  22725. - # Update the list of available tags.
  22726. - if test -n "$tagname"; then
  22727. - echo appending configuration tag \"$tagname\" to $ofile
  22728. -
  22729. - case $tagname in
  22730. - CXX)
  22731. - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  22732. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  22733. - (test "X$CXX" != "Xg++"))) ; then
  22734. - ac_ext=cpp
  22735. -ac_cpp='$CXXCPP $CPPFLAGS'
  22736. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  22737. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  22738. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  22739. -
  22740. -
  22741. -
  22742. -
  22743. -archive_cmds_need_lc_CXX=no
  22744. -allow_undefined_flag_CXX=
  22745. -always_export_symbols_CXX=no
  22746. -archive_expsym_cmds_CXX=
  22747. -export_dynamic_flag_spec_CXX=
  22748. -hardcode_direct_CXX=no
  22749. -hardcode_libdir_flag_spec_CXX=
  22750. -hardcode_libdir_flag_spec_ld_CXX=
  22751. -hardcode_libdir_separator_CXX=
  22752. -hardcode_minus_L_CXX=no
  22753. -hardcode_shlibpath_var_CXX=unsupported
  22754. -hardcode_automatic_CXX=no
  22755. -module_cmds_CXX=
  22756. -module_expsym_cmds_CXX=
  22757. -link_all_deplibs_CXX=unknown
  22758. -old_archive_cmds_CXX=$old_archive_cmds
  22759. -no_undefined_flag_CXX=
  22760. -whole_archive_flag_spec_CXX=
  22761. -enable_shared_with_static_runtimes_CXX=no
  22762. -
  22763. -# Dependencies to place before and after the object being linked:
  22764. -predep_objects_CXX=
  22765. -postdep_objects_CXX=
  22766. -predeps_CXX=
  22767. -postdeps_CXX=
  22768. -compiler_lib_search_path_CXX=
  22769. -
  22770. -# Source file extension for C++ test sources.
  22771. -ac_ext=cpp
  22772. -
  22773. -# Object file extension for compiled C++ test sources.
  22774. -objext=o
  22775. -objext_CXX=$objext
  22776. -
  22777. -# Code to be used in simple compile tests
  22778. -lt_simple_compile_test_code="int some_variable = 0;\n"
  22779. -
  22780. -# Code to be used in simple link tests
  22781. -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
  22782. -
  22783. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  22784. -
  22785. -# If no C compiler was specified, use CC.
  22786. -LTCC=${LTCC-"$CC"}
  22787. -
  22788. -# If no C compiler flags were specified, use CFLAGS.
  22789. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  22790. -
  22791. -# Allow CC to be a program name with arguments.
  22792. -compiler=$CC
  22793. -
  22794. -
  22795. -# save warnings/boilerplate of simple test code
  22796. -ac_outfile=conftest.$ac_objext
  22797. -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  22798. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  22799. -_lt_compiler_boilerplate=`cat conftest.err`
  22800. -$rm conftest*
  22801. -
  22802. -ac_outfile=conftest.$ac_objext
  22803. -printf "$lt_simple_link_test_code" >conftest.$ac_ext
  22804. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  22805. -_lt_linker_boilerplate=`cat conftest.err`
  22806. -$rm conftest*
  22807. -
  22808. -
  22809. -# Allow CC to be a program name with arguments.
  22810. -lt_save_CC=$CC
  22811. -lt_save_LD=$LD
  22812. -lt_save_GCC=$GCC
  22813. -GCC=$GXX
  22814. -lt_save_with_gnu_ld=$with_gnu_ld
  22815. -lt_save_path_LD=$lt_cv_path_LD
  22816. -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  22817. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  22818. -else
  22819. - $as_unset lt_cv_prog_gnu_ld
  22820. -fi
  22821. -if test -n "${lt_cv_path_LDCXX+set}"; then
  22822. - lt_cv_path_LD=$lt_cv_path_LDCXX
  22823. -else
  22824. - $as_unset lt_cv_path_LD
  22825. -fi
  22826. -test -z "${LDCXX+set}" || LD=$LDCXX
  22827. -CC=${CXX-"c++"}
  22828. -compiler=$CC
  22829. -compiler_CXX=$CC
  22830. -for cc_temp in $compiler""; do
  22831. - case $cc_temp in
  22832. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  22833. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  22834. - \-*) ;;
  22835. - *) break;;
  22836. - esac
  22837. -done
  22838. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  22839. -
  22840. -
  22841. -# We don't want -fno-exception wen compiling C++ code, so set the
  22842. -# no_builtin_flag separately
  22843. -if test "$GXX" = yes; then
  22844. - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  22845. -else
  22846. - lt_prog_compiler_no_builtin_flag_CXX=
  22847. -fi
  22848. -
  22849. -if test "$GXX" = yes; then
  22850. - # Set up default GNU C++ configuration
  22851. -
  22852. -
  22853. -# Check whether --with-gnu-ld was given.
  22854. -if test "${with_gnu_ld+set}" = set; then
  22855. - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  22856. -else
  22857. - with_gnu_ld=no
  22858. -fi
  22859. -
  22860. -ac_prog=ld
  22861. -if test "$GCC" = yes; then
  22862. - # Check if gcc -print-prog-name=ld gives a path.
  22863. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  22864. -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  22865. - case $host in
  22866. - *-*-mingw*)
  22867. - # gcc leaves a trailing carriage return which upsets mingw
  22868. - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  22869. - *)
  22870. - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  22871. - esac
  22872. - case $ac_prog in
  22873. - # Accept absolute paths.
  22874. - [\\/]* | ?:[\\/]*)
  22875. - re_direlt='/[^/][^/]*/\.\./'
  22876. - # Canonicalize the pathname of ld
  22877. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  22878. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  22879. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  22880. - done
  22881. - test -z "$LD" && LD="$ac_prog"
  22882. - ;;
  22883. - "")
  22884. - # If it fails, then pretend we aren't using GCC.
  22885. - ac_prog=ld
  22886. - ;;
  22887. - *)
  22888. - # If it is relative, then search for the first ld in PATH.
  22889. - with_gnu_ld=unknown
  22890. - ;;
  22891. - esac
  22892. -elif test "$with_gnu_ld" = yes; then
  22893. - { echo "$as_me:$LINENO: checking for GNU ld" >&5
  22894. -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  22895. -else
  22896. - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  22897. -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  22898. -fi
  22899. -if test "${lt_cv_path_LD+set}" = set; then
  22900. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22901. -else
  22902. - if test -z "$LD"; then
  22903. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  22904. - for ac_dir in $PATH; do
  22905. - IFS="$lt_save_ifs"
  22906. - test -z "$ac_dir" && ac_dir=.
  22907. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  22908. - lt_cv_path_LD="$ac_dir/$ac_prog"
  22909. - # Check to see if the program is GNU ld. I'd rather use --version,
  22910. - # but apparently some variants of GNU ld only accept -v.
  22911. - # Break only if it was the GNU/non-GNU ld that we prefer.
  22912. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  22913. - *GNU* | *'with BFD'*)
  22914. - test "$with_gnu_ld" != no && break
  22915. - ;;
  22916. - *)
  22917. - test "$with_gnu_ld" != yes && break
  22918. - ;;
  22919. - esac
  22920. - fi
  22921. - done
  22922. - IFS="$lt_save_ifs"
  22923. -else
  22924. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  22925. -fi
  22926. -fi
  22927. -
  22928. -LD="$lt_cv_path_LD"
  22929. -if test -n "$LD"; then
  22930. - { echo "$as_me:$LINENO: result: $LD" >&5
  22931. -echo "${ECHO_T}$LD" >&6; }
  22932. -else
  22933. - { echo "$as_me:$LINENO: result: no" >&5
  22934. -echo "${ECHO_T}no" >&6; }
  22935. -fi
  22936. -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  22937. -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  22938. - { (exit 1); exit 1; }; }
  22939. -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  22940. -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  22941. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  22942. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22943. -else
  22944. - # I'd rather use --version here, but apparently some GNU lds only accept -v.
  22945. -case `$LD -v 2>&1 </dev/null` in
  22946. -*GNU* | *'with BFD'*)
  22947. - lt_cv_prog_gnu_ld=yes
  22948. - ;;
  22949. -*)
  22950. - lt_cv_prog_gnu_ld=no
  22951. - ;;
  22952. -esac
  22953. -fi
  22954. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  22955. -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  22956. -with_gnu_ld=$lt_cv_prog_gnu_ld
  22957. -
  22958. -
  22959. -
  22960. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  22961. - # archiving commands below assume that GNU ld is being used.
  22962. - if test "$with_gnu_ld" = yes; then
  22963. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  22964. - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  22965. -
  22966. - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  22967. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  22968. -
  22969. - # If archive_cmds runs LD, not CC, wlarc should be empty
  22970. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  22971. - # investigate it a little bit more. (MM)
  22972. - wlarc='${wl}'
  22973. -
  22974. - # ancient GNU ld didn't support --whole-archive et. al.
  22975. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  22976. - grep 'no-whole-archive' > /dev/null; then
  22977. - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  22978. - else
  22979. - whole_archive_flag_spec_CXX=
  22980. - fi
  22981. - else
  22982. - with_gnu_ld=no
  22983. - wlarc=
  22984. -
  22985. - # A generic and very simple default shared library creation
  22986. - # command for GNU C++ for the case where it uses the native
  22987. - # linker, instead of GNU ld. If possible, this setting should
  22988. - # overridden to take advantage of the native linker features on
  22989. - # the platform it is being used on.
  22990. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  22991. - fi
  22992. -
  22993. - # Commands to make compiler produce verbose output that lists
  22994. - # what "hidden" libraries, object files and flags are used when
  22995. - # linking a shared library.
  22996. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  22997. -
  22998. -else
  22999. - GXX=no
  23000. - with_gnu_ld=no
  23001. - wlarc=
  23002. -fi
  23003. -
  23004. -# PORTME: fill in a description of your system's C++ link characteristics
  23005. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  23006. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  23007. -ld_shlibs_CXX=yes
  23008. -case $host_os in
  23009. - aix3*)
  23010. - # FIXME: insert proper C++ library support
  23011. - ld_shlibs_CXX=no
  23012. - ;;
  23013. - aix4* | aix5*)
  23014. - if test "$host_cpu" = ia64; then
  23015. - # On IA64, the linker does run time linking by default, so we don't
  23016. - # have to do anything special.
  23017. - aix_use_runtimelinking=no
  23018. - exp_sym_flag='-Bexport'
  23019. - no_entry_flag=""
  23020. - else
  23021. - aix_use_runtimelinking=no
  23022. -
  23023. - # Test if we are trying to use run time linking or normal
  23024. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  23025. - # need to do runtime linking.
  23026. - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  23027. - for ld_flag in $LDFLAGS; do
  23028. - case $ld_flag in
  23029. - *-brtl*)
  23030. - aix_use_runtimelinking=yes
  23031. - break
  23032. - ;;
  23033. - esac
  23034. - done
  23035. - ;;
  23036. - esac
  23037. -
  23038. - exp_sym_flag='-bexport'
  23039. - no_entry_flag='-bnoentry'
  23040. - fi
  23041. -
  23042. - # When large executables or shared objects are built, AIX ld can
  23043. - # have problems creating the table of contents. If linking a library
  23044. - # or program results in "error TOC overflow" add -mminimal-toc to
  23045. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  23046. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  23047. -
  23048. - archive_cmds_CXX=''
  23049. - hardcode_direct_CXX=yes
  23050. - hardcode_libdir_separator_CXX=':'
  23051. - link_all_deplibs_CXX=yes
  23052. -
  23053. - if test "$GXX" = yes; then
  23054. - case $host_os in aix4.[012]|aix4.[012].*)
  23055. - # We only want to do this on AIX 4.2 and lower, the check
  23056. - # below for broken collect2 doesn't work under 4.3+
  23057. - collect2name=`${CC} -print-prog-name=collect2`
  23058. - if test -f "$collect2name" && \
  23059. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  23060. - then
  23061. - # We have reworked collect2
  23062. - hardcode_direct_CXX=yes
  23063. - else
  23064. - # We have old collect2
  23065. - hardcode_direct_CXX=unsupported
  23066. - # It fails to find uninstalled libraries when the uninstalled
  23067. - # path is not listed in the libpath. Setting hardcode_minus_L
  23068. - # to unsupported forces relinking
  23069. - hardcode_minus_L_CXX=yes
  23070. - hardcode_libdir_flag_spec_CXX='-L$libdir'
  23071. - hardcode_libdir_separator_CXX=
  23072. - fi
  23073. - ;;
  23074. - esac
  23075. - shared_flag='-shared'
  23076. - if test "$aix_use_runtimelinking" = yes; then
  23077. - shared_flag="$shared_flag "'${wl}-G'
  23078. - fi
  23079. - else
  23080. - # not using gcc
  23081. - if test "$host_cpu" = ia64; then
  23082. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  23083. - # chokes on -Wl,-G. The following line is correct:
  23084. - shared_flag='-G'
  23085. - else
  23086. - if test "$aix_use_runtimelinking" = yes; then
  23087. - shared_flag='${wl}-G'
  23088. - else
  23089. - shared_flag='${wl}-bM:SRE'
  23090. - fi
  23091. - fi
  23092. - fi
  23093. -
  23094. - # It seems that -bexpall does not export symbols beginning with
  23095. - # underscore (_), so it is better to generate a list of symbols to export.
  23096. - always_export_symbols_CXX=yes
  23097. - if test "$aix_use_runtimelinking" = yes; then
  23098. - # Warning - without using the other runtime loading flags (-brtl),
  23099. - # -berok will link without error, but may produce a broken library.
  23100. - allow_undefined_flag_CXX='-berok'
  23101. - # Determine the default libpath from the value encoded in an empty executable.
  23102. - cat >conftest.$ac_ext <<_ACEOF
  23103. -/* confdefs.h. */
  23104. -_ACEOF
  23105. -cat confdefs.h >>conftest.$ac_ext
  23106. -cat >>conftest.$ac_ext <<_ACEOF
  23107. -/* end confdefs.h. */
  23108. -
  23109. -int
  23110. -main ()
  23111. -{
  23112. -
  23113. - ;
  23114. - return 0;
  23115. -}
  23116. -_ACEOF
  23117. -rm -f conftest.$ac_objext conftest$ac_exeext
  23118. -if { (ac_try="$ac_link"
  23119. -case "(($ac_try" in
  23120. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23121. - *) ac_try_echo=$ac_try;;
  23122. -esac
  23123. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23124. - (eval "$ac_link") 2>conftest.er1
  23125. - ac_status=$?
  23126. - grep -v '^ *+' conftest.er1 >conftest.err
  23127. - rm -f conftest.er1
  23128. - cat conftest.err >&5
  23129. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23130. - (exit $ac_status); } &&
  23131. - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  23132. - { (case "(($ac_try" in
  23133. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23134. - *) ac_try_echo=$ac_try;;
  23135. -esac
  23136. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23137. - (eval "$ac_try") 2>&5
  23138. - ac_status=$?
  23139. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23140. - (exit $ac_status); }; } &&
  23141. - { ac_try='test -s conftest$ac_exeext'
  23142. - { (case "(($ac_try" in
  23143. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23144. - *) ac_try_echo=$ac_try;;
  23145. -esac
  23146. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23147. - (eval "$ac_try") 2>&5
  23148. - ac_status=$?
  23149. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23150. - (exit $ac_status); }; }; then
  23151. -
  23152. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  23153. -}'`
  23154. -# Check for a 64-bit object if we didn't find anything.
  23155. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  23156. -}'`; fi
  23157. -else
  23158. - echo "$as_me: failed program was:" >&5
  23159. -sed 's/^/| /' conftest.$ac_ext >&5
  23160. -
  23161. -
  23162. -fi
  23163. -
  23164. -rm -f core conftest.err conftest.$ac_objext \
  23165. - conftest$ac_exeext conftest.$ac_ext
  23166. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  23167. -
  23168. - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  23169. -
  23170. - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  23171. - else
  23172. - if test "$host_cpu" = ia64; then
  23173. - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  23174. - allow_undefined_flag_CXX="-z nodefs"
  23175. - archive_expsym_cmds_CXX="\$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"
  23176. - else
  23177. - # Determine the default libpath from the value encoded in an empty executable.
  23178. - cat >conftest.$ac_ext <<_ACEOF
  23179. -/* confdefs.h. */
  23180. -_ACEOF
  23181. -cat confdefs.h >>conftest.$ac_ext
  23182. -cat >>conftest.$ac_ext <<_ACEOF
  23183. -/* end confdefs.h. */
  23184. -
  23185. -int
  23186. -main ()
  23187. -{
  23188. -
  23189. - ;
  23190. - return 0;
  23191. -}
  23192. -_ACEOF
  23193. -rm -f conftest.$ac_objext conftest$ac_exeext
  23194. -if { (ac_try="$ac_link"
  23195. -case "(($ac_try" in
  23196. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23197. - *) ac_try_echo=$ac_try;;
  23198. -esac
  23199. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23200. - (eval "$ac_link") 2>conftest.er1
  23201. - ac_status=$?
  23202. - grep -v '^ *+' conftest.er1 >conftest.err
  23203. - rm -f conftest.er1
  23204. - cat conftest.err >&5
  23205. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23206. - (exit $ac_status); } &&
  23207. - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
  23208. - { (case "(($ac_try" in
  23209. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23210. - *) ac_try_echo=$ac_try;;
  23211. -esac
  23212. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23213. - (eval "$ac_try") 2>&5
  23214. - ac_status=$?
  23215. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23216. - (exit $ac_status); }; } &&
  23217. - { ac_try='test -s conftest$ac_exeext'
  23218. - { (case "(($ac_try" in
  23219. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23220. - *) ac_try_echo=$ac_try;;
  23221. -esac
  23222. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23223. - (eval "$ac_try") 2>&5
  23224. - ac_status=$?
  23225. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23226. - (exit $ac_status); }; }; then
  23227. -
  23228. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  23229. -}'`
  23230. -# Check for a 64-bit object if we didn't find anything.
  23231. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  23232. -}'`; fi
  23233. -else
  23234. - echo "$as_me: failed program was:" >&5
  23235. -sed 's/^/| /' conftest.$ac_ext >&5
  23236. -
  23237. -
  23238. -fi
  23239. -
  23240. -rm -f core conftest.err conftest.$ac_objext \
  23241. - conftest$ac_exeext conftest.$ac_ext
  23242. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  23243. -
  23244. - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  23245. - # Warning - without using the other run time loading flags,
  23246. - # -berok will link without error, but may produce a broken library.
  23247. - no_undefined_flag_CXX=' ${wl}-bernotok'
  23248. - allow_undefined_flag_CXX=' ${wl}-berok'
  23249. - # Exported symbols can be pulled into shared objects from archives
  23250. - whole_archive_flag_spec_CXX='$convenience'
  23251. - archive_cmds_need_lc_CXX=yes
  23252. - # This is similar to how AIX traditionally builds its shared libraries.
  23253. - archive_expsym_cmds_CXX="\$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'
  23254. - fi
  23255. - fi
  23256. - ;;
  23257. -
  23258. - beos*)
  23259. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  23260. - allow_undefined_flag_CXX=unsupported
  23261. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  23262. - # support --undefined. This deserves some investigation. FIXME
  23263. - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  23264. - else
  23265. - ld_shlibs_CXX=no
  23266. - fi
  23267. - ;;
  23268. -
  23269. - chorus*)
  23270. - case $cc_basename in
  23271. - *)
  23272. - # FIXME: insert proper C++ library support
  23273. - ld_shlibs_CXX=no
  23274. - ;;
  23275. - esac
  23276. - ;;
  23277. -
  23278. - cygwin* | mingw* | pw32*)
  23279. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  23280. - # as there is no search path for DLLs.
  23281. - hardcode_libdir_flag_spec_CXX='-L$libdir'
  23282. - allow_undefined_flag_CXX=unsupported
  23283. - always_export_symbols_CXX=no
  23284. - enable_shared_with_static_runtimes_CXX=yes
  23285. -
  23286. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  23287. - archive_cmds_CXX='$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'
  23288. - # If the export-symbols file already is a .def file (1st line
  23289. - # is EXPORTS), use it as is; otherwise, prepend...
  23290. - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  23291. - cp $export_symbols $output_objdir/$soname.def;
  23292. - else
  23293. - echo EXPORTS > $output_objdir/$soname.def;
  23294. - cat $export_symbols >> $output_objdir/$soname.def;
  23295. - fi~
  23296. - $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'
  23297. - else
  23298. - ld_shlibs_CXX=no
  23299. - fi
  23300. - ;;
  23301. - darwin* | rhapsody*)
  23302. - case $host_os in
  23303. - rhapsody* | darwin1.[012])
  23304. - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
  23305. - ;;
  23306. - *) # Darwin 1.3 on
  23307. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  23308. - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  23309. - else
  23310. - case ${MACOSX_DEPLOYMENT_TARGET} in
  23311. - 10.[012])
  23312. - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  23313. - ;;
  23314. - 10.*)
  23315. - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
  23316. - ;;
  23317. - esac
  23318. - fi
  23319. - ;;
  23320. - esac
  23321. - archive_cmds_need_lc_CXX=no
  23322. - hardcode_direct_CXX=no
  23323. - hardcode_automatic_CXX=yes
  23324. - hardcode_shlibpath_var_CXX=unsupported
  23325. - whole_archive_flag_spec_CXX=''
  23326. - link_all_deplibs_CXX=yes
  23327. -
  23328. - if test "$GXX" = yes ; then
  23329. - lt_int_apple_cc_single_mod=no
  23330. - output_verbose_link_cmd='echo'
  23331. - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
  23332. - lt_int_apple_cc_single_mod=yes
  23333. - fi
  23334. - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  23335. - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  23336. - else
  23337. - archive_cmds_CXX='$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'
  23338. - fi
  23339. - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  23340. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  23341. - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
  23342. - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  23343. - else
  23344. - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  23345. - fi
  23346. - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  23347. - else
  23348. - case $cc_basename in
  23349. - xlc*)
  23350. - output_verbose_link_cmd='echo'
  23351. - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  23352. - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  23353. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  23354. - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  23355. - module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  23356. - ;;
  23357. - *)
  23358. - ld_shlibs_CXX=no
  23359. - ;;
  23360. - esac
  23361. - fi
  23362. - ;;
  23363. -
  23364. - dgux*)
  23365. - case $cc_basename in
  23366. - ec++*)
  23367. - # FIXME: insert proper C++ library support
  23368. - ld_shlibs_CXX=no
  23369. - ;;
  23370. - ghcx*)
  23371. - # Green Hills C++ Compiler
  23372. - # FIXME: insert proper C++ library support
  23373. - ld_shlibs_CXX=no
  23374. - ;;
  23375. - *)
  23376. - # FIXME: insert proper C++ library support
  23377. - ld_shlibs_CXX=no
  23378. - ;;
  23379. - esac
  23380. - ;;
  23381. - freebsd[12]*)
  23382. - # C++ shared libraries reported to be fairly broken before switch to ELF
  23383. - ld_shlibs_CXX=no
  23384. - ;;
  23385. - freebsd-elf*)
  23386. - archive_cmds_need_lc_CXX=no
  23387. - ;;
  23388. - freebsd* | kfreebsd*-gnu | dragonfly*)
  23389. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  23390. - # conventions
  23391. - ld_shlibs_CXX=yes
  23392. - ;;
  23393. - gnu*)
  23394. - ;;
  23395. - hpux9*)
  23396. - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  23397. - hardcode_libdir_separator_CXX=:
  23398. - export_dynamic_flag_spec_CXX='${wl}-E'
  23399. - hardcode_direct_CXX=yes
  23400. - hardcode_minus_L_CXX=yes # Not in the search PATH,
  23401. - # but as the default
  23402. - # location of the library.
  23403. -
  23404. - case $cc_basename in
  23405. - CC*)
  23406. - # FIXME: insert proper C++ library support
  23407. - ld_shlibs_CXX=no
  23408. - ;;
  23409. - aCC*)
  23410. - archive_cmds_CXX='$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'
  23411. - # Commands to make compiler produce verbose output that lists
  23412. - # what "hidden" libraries, object files and flags are used when
  23413. - # linking a shared library.
  23414. - #
  23415. - # There doesn't appear to be a way to prevent this compiler from
  23416. - # explicitly linking system object files so we need to strip them
  23417. - # from the output so that they don't get included in the library
  23418. - # dependencies.
  23419. - 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 $list'
  23420. - ;;
  23421. - *)
  23422. - if test "$GXX" = yes; then
  23423. - archive_cmds_CXX='$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'
  23424. - else
  23425. - # FIXME: insert proper C++ library support
  23426. - ld_shlibs_CXX=no
  23427. - fi
  23428. - ;;
  23429. - esac
  23430. - ;;
  23431. - hpux10*|hpux11*)
  23432. - if test $with_gnu_ld = no; then
  23433. - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  23434. - hardcode_libdir_separator_CXX=:
  23435. -
  23436. - case $host_cpu in
  23437. - hppa*64*|ia64*)
  23438. - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
  23439. - ;;
  23440. - *)
  23441. - export_dynamic_flag_spec_CXX='${wl}-E'
  23442. - ;;
  23443. - esac
  23444. - fi
  23445. - case $host_cpu in
  23446. - hppa*64*|ia64*)
  23447. - hardcode_direct_CXX=no
  23448. - hardcode_shlibpath_var_CXX=no
  23449. - ;;
  23450. - *)
  23451. - hardcode_direct_CXX=yes
  23452. - hardcode_minus_L_CXX=yes # Not in the search PATH,
  23453. - # but as the default
  23454. - # location of the library.
  23455. - ;;
  23456. - esac
  23457. -
  23458. - case $cc_basename in
  23459. - CC*)
  23460. - # FIXME: insert proper C++ library support
  23461. - ld_shlibs_CXX=no
  23462. - ;;
  23463. - aCC*)
  23464. - case $host_cpu in
  23465. - hppa*64*)
  23466. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  23467. - ;;
  23468. - ia64*)
  23469. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  23470. - ;;
  23471. - *)
  23472. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  23473. - ;;
  23474. - esac
  23475. - # Commands to make compiler produce verbose output that lists
  23476. - # what "hidden" libraries, object files and flags are used when
  23477. - # linking a shared library.
  23478. - #
  23479. - # There doesn't appear to be a way to prevent this compiler from
  23480. - # explicitly linking system object files so we need to strip them
  23481. - # from the output so that they don't get included in the library
  23482. - # dependencies.
  23483. - 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 $list'
  23484. - ;;
  23485. - *)
  23486. - if test "$GXX" = yes; then
  23487. - if test $with_gnu_ld = no; then
  23488. - case $host_cpu in
  23489. - hppa*64*)
  23490. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  23491. - ;;
  23492. - ia64*)
  23493. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  23494. - ;;
  23495. - *)
  23496. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  23497. - ;;
  23498. - esac
  23499. - fi
  23500. - else
  23501. - # FIXME: insert proper C++ library support
  23502. - ld_shlibs_CXX=no
  23503. - fi
  23504. - ;;
  23505. - esac
  23506. - ;;
  23507. - interix3*)
  23508. - hardcode_direct_CXX=no
  23509. - hardcode_shlibpath_var_CXX=no
  23510. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  23511. - export_dynamic_flag_spec_CXX='${wl}-E'
  23512. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  23513. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  23514. - # default) and relocated if they conflict, which is a slow very memory
  23515. - # consuming and fragmenting process. To avoid this, we pick a random,
  23516. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  23517. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  23518. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  23519. - archive_expsym_cmds_CXX='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'
  23520. - ;;
  23521. - irix5* | irix6*)
  23522. - case $cc_basename in
  23523. - CC*)
  23524. - # SGI C++
  23525. - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  23526. -
  23527. - # Archives containing C++ object files must be created using
  23528. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  23529. - # necessary to make sure instantiated templates are included
  23530. - # in the archive.
  23531. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  23532. - ;;
  23533. - *)
  23534. - if test "$GXX" = yes; then
  23535. - if test "$with_gnu_ld" = no; then
  23536. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  23537. - else
  23538. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
  23539. - fi
  23540. - fi
  23541. - link_all_deplibs_CXX=yes
  23542. - ;;
  23543. - esac
  23544. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  23545. - hardcode_libdir_separator_CXX=:
  23546. - ;;
  23547. - linux*)
  23548. - case $cc_basename in
  23549. - KCC*)
  23550. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  23551. -
  23552. - # KCC will only create a shared library if the output file
  23553. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  23554. - # to its proper name (with version) after linking.
  23555. - archive_cmds_CXX='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'
  23556. - archive_expsym_cmds_CXX='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'
  23557. - # Commands to make compiler produce verbose output that lists
  23558. - # what "hidden" libraries, object files and flags are used when
  23559. - # linking a shared library.
  23560. - #
  23561. - # There doesn't appear to be a way to prevent this compiler from
  23562. - # explicitly linking system object files so we need to strip them
  23563. - # from the output so that they don't get included in the library
  23564. - # dependencies.
  23565. - 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 $list'
  23566. -
  23567. - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
  23568. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  23569. -
  23570. - # Archives containing C++ object files must be created using
  23571. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  23572. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  23573. - ;;
  23574. - icpc*)
  23575. - # Intel C++
  23576. - with_gnu_ld=yes
  23577. - # version 8.0 and above of icpc choke on multiply defined symbols
  23578. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  23579. - # earlier do not add the objects themselves.
  23580. - case `$CC -V 2>&1` in
  23581. - *"Version 7."*)
  23582. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  23583. - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  23584. - ;;
  23585. - *) # Version 8.0 or newer
  23586. - tmp_idyn=
  23587. - case $host_cpu in
  23588. - ia64*) tmp_idyn=' -i_dynamic';;
  23589. - esac
  23590. - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  23591. - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  23592. - ;;
  23593. - esac
  23594. - archive_cmds_need_lc_CXX=no
  23595. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  23596. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  23597. - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  23598. - ;;
  23599. - pgCC*)
  23600. - # Portland Group C++ compiler
  23601. - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  23602. - archive_expsym_cmds_CXX='$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'
  23603. -
  23604. - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  23605. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  23606. - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  23607. - ;;
  23608. - cxx*)
  23609. - # Compaq C++
  23610. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  23611. - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  23612. -
  23613. - runpath_var=LD_RUN_PATH
  23614. - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  23615. - hardcode_libdir_separator_CXX=:
  23616. -
  23617. - # Commands to make compiler produce verbose output that lists
  23618. - # what "hidden" libraries, object files and flags are used when
  23619. - # linking a shared library.
  23620. - #
  23621. - # There doesn't appear to be a way to prevent this compiler from
  23622. - # explicitly linking system object files so we need to strip them
  23623. - # from the output so that they don't get included in the library
  23624. - # dependencies.
  23625. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
  23626. - ;;
  23627. - esac
  23628. - ;;
  23629. - lynxos*)
  23630. - # FIXME: insert proper C++ library support
  23631. - ld_shlibs_CXX=no
  23632. - ;;
  23633. - m88k*)
  23634. - # FIXME: insert proper C++ library support
  23635. - ld_shlibs_CXX=no
  23636. - ;;
  23637. - mvs*)
  23638. - case $cc_basename in
  23639. - cxx*)
  23640. - # FIXME: insert proper C++ library support
  23641. - ld_shlibs_CXX=no
  23642. - ;;
  23643. - *)
  23644. - # FIXME: insert proper C++ library support
  23645. - ld_shlibs_CXX=no
  23646. - ;;
  23647. - esac
  23648. - ;;
  23649. - netbsd*)
  23650. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  23651. - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  23652. - wlarc=
  23653. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  23654. - hardcode_direct_CXX=yes
  23655. - hardcode_shlibpath_var_CXX=no
  23656. - fi
  23657. - # Workaround some broken pre-1.5 toolchains
  23658. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  23659. - ;;
  23660. - openbsd2*)
  23661. - # C++ shared libraries are fairly broken
  23662. - ld_shlibs_CXX=no
  23663. - ;;
  23664. - openbsd*)
  23665. - hardcode_direct_CXX=yes
  23666. - hardcode_shlibpath_var_CXX=no
  23667. - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  23668. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  23669. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  23670. - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  23671. - export_dynamic_flag_spec_CXX='${wl}-E'
  23672. - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  23673. - fi
  23674. - output_verbose_link_cmd='echo'
  23675. - ;;
  23676. - osf3*)
  23677. - case $cc_basename in
  23678. - KCC*)
  23679. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  23680. -
  23681. - # KCC will only create a shared library if the output file
  23682. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  23683. - # to its proper name (with version) after linking.
  23684. - archive_cmds_CXX='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'
  23685. -
  23686. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  23687. - hardcode_libdir_separator_CXX=:
  23688. -
  23689. - # Archives containing C++ object files must be created using
  23690. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  23691. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  23692. -
  23693. - ;;
  23694. - RCC*)
  23695. - # Rational C++ 2.4.1
  23696. - # FIXME: insert proper C++ library support
  23697. - ld_shlibs_CXX=no
  23698. - ;;
  23699. - cxx*)
  23700. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  23701. - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  23702. -
  23703. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  23704. - hardcode_libdir_separator_CXX=:
  23705. -
  23706. - # Commands to make compiler produce verbose output that lists
  23707. - # what "hidden" libraries, object files and flags are used when
  23708. - # linking a shared library.
  23709. - #
  23710. - # There doesn't appear to be a way to prevent this compiler from
  23711. - # explicitly linking system object files so we need to strip them
  23712. - # from the output so that they don't get included in the library
  23713. - # dependencies.
  23714. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
  23715. - ;;
  23716. - *)
  23717. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  23718. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  23719. - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  23720. -
  23721. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  23722. - hardcode_libdir_separator_CXX=:
  23723. -
  23724. - # Commands to make compiler produce verbose output that lists
  23725. - # what "hidden" libraries, object files and flags are used when
  23726. - # linking a shared library.
  23727. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  23728. -
  23729. - else
  23730. - # FIXME: insert proper C++ library support
  23731. - ld_shlibs_CXX=no
  23732. - fi
  23733. - ;;
  23734. - esac
  23735. - ;;
  23736. - osf4* | osf5*)
  23737. - case $cc_basename in
  23738. - KCC*)
  23739. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  23740. -
  23741. - # KCC will only create a shared library if the output file
  23742. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  23743. - # to its proper name (with version) after linking.
  23744. - archive_cmds_CXX='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'
  23745. -
  23746. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  23747. - hardcode_libdir_separator_CXX=:
  23748. -
  23749. - # Archives containing C++ object files must be created using
  23750. - # the KAI C++ compiler.
  23751. - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
  23752. - ;;
  23753. - RCC*)
  23754. - # Rational C++ 2.4.1
  23755. - # FIXME: insert proper C++ library support
  23756. - ld_shlibs_CXX=no
  23757. - ;;
  23758. - cxx*)
  23759. - allow_undefined_flag_CXX=' -expect_unresolved \*'
  23760. - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  23761. - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  23762. - echo "-hidden">> $lib.exp~
  23763. - $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~
  23764. - $rm $lib.exp'
  23765. -
  23766. - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  23767. - hardcode_libdir_separator_CXX=:
  23768. -
  23769. - # Commands to make compiler produce verbose output that lists
  23770. - # what "hidden" libraries, object files and flags are used when
  23771. - # linking a shared library.
  23772. - #
  23773. - # There doesn't appear to be a way to prevent this compiler from
  23774. - # explicitly linking system object files so we need to strip them
  23775. - # from the output so that they don't get included in the library
  23776. - # dependencies.
  23777. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
  23778. - ;;
  23779. - *)
  23780. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  23781. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  23782. - archive_cmds_CXX='$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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  23783. -
  23784. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  23785. - hardcode_libdir_separator_CXX=:
  23786. -
  23787. - # Commands to make compiler produce verbose output that lists
  23788. - # what "hidden" libraries, object files and flags are used when
  23789. - # linking a shared library.
  23790. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  23791. -
  23792. - else
  23793. - # FIXME: insert proper C++ library support
  23794. - ld_shlibs_CXX=no
  23795. - fi
  23796. - ;;
  23797. - esac
  23798. - ;;
  23799. - psos*)
  23800. - # FIXME: insert proper C++ library support
  23801. - ld_shlibs_CXX=no
  23802. - ;;
  23803. - sunos4*)
  23804. - case $cc_basename in
  23805. - CC*)
  23806. - # Sun C++ 4.x
  23807. - # FIXME: insert proper C++ library support
  23808. - ld_shlibs_CXX=no
  23809. - ;;
  23810. - lcc*)
  23811. - # Lucid
  23812. - # FIXME: insert proper C++ library support
  23813. - ld_shlibs_CXX=no
  23814. - ;;
  23815. - *)
  23816. - # FIXME: insert proper C++ library support
  23817. - ld_shlibs_CXX=no
  23818. - ;;
  23819. - esac
  23820. - ;;
  23821. - solaris*)
  23822. - case $cc_basename in
  23823. - CC*)
  23824. - # Sun C++ 4.2, 5.x and Centerline C++
  23825. - archive_cmds_need_lc_CXX=yes
  23826. - no_undefined_flag_CXX=' -zdefs'
  23827. - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  23828. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  23829. - $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'
  23830. -
  23831. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  23832. - hardcode_shlibpath_var_CXX=no
  23833. - case $host_os in
  23834. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  23835. - *)
  23836. - # The C++ compiler is used as linker so we must use $wl
  23837. - # flag to pass the commands to the underlying system
  23838. - # linker. We must also pass each convience library through
  23839. - # to the system linker between allextract/defaultextract.
  23840. - # The C++ compiler will combine linker options so we
  23841. - # cannot just pass the convience library names through
  23842. - # without $wl.
  23843. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  23844. - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
  23845. - ;;
  23846. - esac
  23847. - link_all_deplibs_CXX=yes
  23848. -
  23849. - output_verbose_link_cmd='echo'
  23850. -
  23851. - # Archives containing C++ object files must be created using
  23852. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  23853. - # necessary to make sure instantiated templates are included
  23854. - # in the archive.
  23855. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  23856. - ;;
  23857. - gcx*)
  23858. - # Green Hills C++ Compiler
  23859. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  23860. -
  23861. - # The C++ compiler must be used to create the archive.
  23862. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  23863. - ;;
  23864. - *)
  23865. - # GNU C++ compiler with Solaris linker
  23866. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  23867. - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  23868. - if $CC --version | grep -v '^2\.7' > /dev/null; then
  23869. - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  23870. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  23871. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  23872. -
  23873. - # Commands to make compiler produce verbose output that lists
  23874. - # what "hidden" libraries, object files and flags are used when
  23875. - # linking a shared library.
  23876. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  23877. - else
  23878. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  23879. - # platform.
  23880. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  23881. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  23882. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  23883. -
  23884. - # Commands to make compiler produce verbose output that lists
  23885. - # what "hidden" libraries, object files and flags are used when
  23886. - # linking a shared library.
  23887. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  23888. - fi
  23889. -
  23890. - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  23891. - fi
  23892. - ;;
  23893. - esac
  23894. - ;;
  23895. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  23896. - no_undefined_flag_CXX='${wl}-z,text'
  23897. - archive_cmds_need_lc_CXX=no
  23898. - hardcode_shlibpath_var_CXX=no
  23899. - runpath_var='LD_RUN_PATH'
  23900. -
  23901. - case $cc_basename in
  23902. - CC*)
  23903. - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  23904. - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  23905. - ;;
  23906. - *)
  23907. - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  23908. - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  23909. - ;;
  23910. - esac
  23911. - ;;
  23912. - sysv5* | sco3.2v5* | sco5v6*)
  23913. - # Note: We can NOT use -z defs as we might desire, because we do not
  23914. - # link with -lc, and that would cause any symbols used from libc to
  23915. - # always be unresolved, which means just about no library would
  23916. - # ever link correctly. If we're not using GNU ld we use -z text
  23917. - # though, which does catch some bad symbols but isn't as heavy-handed
  23918. - # as -z defs.
  23919. - # For security reasons, it is highly recommended that you always
  23920. - # use absolute paths for naming shared libraries, and exclude the
  23921. - # DT_RUNPATH tag from executables and libraries. But doing so
  23922. - # requires that you compile everything twice, which is a pain.
  23923. - # So that behaviour is only enabled if SCOABSPATH is set to a
  23924. - # non-empty value in the environment. Most likely only useful for
  23925. - # creating official distributions of packages.
  23926. - # This is a hack until libtool officially supports absolute path
  23927. - # names for shared libraries.
  23928. - no_undefined_flag_CXX='${wl}-z,text'
  23929. - allow_undefined_flag_CXX='${wl}-z,nodefs'
  23930. - archive_cmds_need_lc_CXX=no
  23931. - hardcode_shlibpath_var_CXX=no
  23932. - hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  23933. - hardcode_libdir_separator_CXX=':'
  23934. - link_all_deplibs_CXX=yes
  23935. - export_dynamic_flag_spec_CXX='${wl}-Bexport'
  23936. - runpath_var='LD_RUN_PATH'
  23937. -
  23938. - case $cc_basename in
  23939. - CC*)
  23940. - archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  23941. - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  23942. - ;;
  23943. - *)
  23944. - archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  23945. - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  23946. - ;;
  23947. - esac
  23948. - ;;
  23949. - tandem*)
  23950. - case $cc_basename in
  23951. - NCC*)
  23952. - # NonStop-UX NCC 3.20
  23953. - # FIXME: insert proper C++ library support
  23954. - ld_shlibs_CXX=no
  23955. - ;;
  23956. - *)
  23957. - # FIXME: insert proper C++ library support
  23958. - ld_shlibs_CXX=no
  23959. - ;;
  23960. - esac
  23961. - ;;
  23962. - vxworks*)
  23963. - # FIXME: insert proper C++ library support
  23964. - ld_shlibs_CXX=no
  23965. - ;;
  23966. - *)
  23967. - # FIXME: insert proper C++ library support
  23968. - ld_shlibs_CXX=no
  23969. - ;;
  23970. -esac
  23971. -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  23972. -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
  23973. -test "$ld_shlibs_CXX" = no && can_build_shared=no
  23974. -
  23975. -GCC_CXX="$GXX"
  23976. -LD_CXX="$LD"
  23977. -
  23978. -
  23979. -cat > conftest.$ac_ext <<EOF
  23980. -class Foo
  23981. -{
  23982. -public:
  23983. - Foo (void) { a = 0; }
  23984. -private:
  23985. - int a;
  23986. -};
  23987. -EOF
  23988. -
  23989. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  23990. - (eval $ac_compile) 2>&5
  23991. - ac_status=$?
  23992. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23993. - (exit $ac_status); }; then
  23994. - # Parse the compiler output and extract the necessary
  23995. - # objects, libraries and library flags.
  23996. -
  23997. - # Sentinel used to keep track of whether or not we are before
  23998. - # the conftest object file.
  23999. - pre_test_object_deps_done=no
  24000. -
  24001. - # The `*' in the case matches for architectures that use `case' in
  24002. - # $output_verbose_cmd can trigger glob expansion during the loop
  24003. - # eval without this substitution.
  24004. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
  24005. -
  24006. - for p in `eval $output_verbose_link_cmd`; do
  24007. - case $p in
  24008. -
  24009. - -L* | -R* | -l*)
  24010. - # Some compilers place space between "-{L,R}" and the path.
  24011. - # Remove the space.
  24012. - if test $p = "-L" \
  24013. - || test $p = "-R"; then
  24014. - prev=$p
  24015. - continue
  24016. - else
  24017. - prev=
  24018. - fi
  24019. -
  24020. - if test "$pre_test_object_deps_done" = no; then
  24021. - case $p in
  24022. - -L* | -R*)
  24023. - # Internal compiler library paths should come after those
  24024. - # provided the user. The postdeps already come after the
  24025. - # user supplied libs so there is no need to process them.
  24026. - if test -z "$compiler_lib_search_path_CXX"; then
  24027. - compiler_lib_search_path_CXX="${prev}${p}"
  24028. - else
  24029. - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  24030. - fi
  24031. - ;;
  24032. - # The "-l" case would never come before the object being
  24033. - # linked, so don't bother handling this case.
  24034. - esac
  24035. - else
  24036. - if test -z "$postdeps_CXX"; then
  24037. - postdeps_CXX="${prev}${p}"
  24038. - else
  24039. - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  24040. - fi
  24041. - fi
  24042. - ;;
  24043. -
  24044. - *.$objext)
  24045. - # This assumes that the test object file only shows up
  24046. - # once in the compiler output.
  24047. - if test "$p" = "conftest.$objext"; then
  24048. - pre_test_object_deps_done=yes
  24049. - continue
  24050. - fi
  24051. -
  24052. - if test "$pre_test_object_deps_done" = no; then
  24053. - if test -z "$predep_objects_CXX"; then
  24054. - predep_objects_CXX="$p"
  24055. - else
  24056. - predep_objects_CXX="$predep_objects_CXX $p"
  24057. - fi
  24058. - else
  24059. - if test -z "$postdep_objects_CXX"; then
  24060. - postdep_objects_CXX="$p"
  24061. - else
  24062. - postdep_objects_CXX="$postdep_objects_CXX $p"
  24063. - fi
  24064. - fi
  24065. - ;;
  24066. -
  24067. - *) ;; # Ignore the rest.
  24068. -
  24069. - esac
  24070. - done
  24071. -
  24072. - # Clean up.
  24073. - rm -f a.out a.exe
  24074. -else
  24075. - echo "libtool.m4: error: problem compiling CXX test program"
  24076. -fi
  24077. -
  24078. -$rm -f confest.$objext
  24079. -
  24080. -# PORTME: override above test on systems where it is broken
  24081. -case $host_os in
  24082. -interix3*)
  24083. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  24084. - # hack all around it, let's just trust "g++" to DTRT.
  24085. - predep_objects_CXX=
  24086. - postdep_objects_CXX=
  24087. - postdeps_CXX=
  24088. - ;;
  24089. -
  24090. -solaris*)
  24091. - case $cc_basename in
  24092. - CC*)
  24093. - # Adding this requires a known-good setup of shared libraries for
  24094. - # Sun compiler versions before 5.6, else PIC objects from an old
  24095. - # archive will be linked into the output, leading to subtle bugs.
  24096. - postdeps_CXX='-lCstd -lCrun'
  24097. - ;;
  24098. - esac
  24099. - ;;
  24100. -esac
  24101. -
  24102. -
  24103. -case " $postdeps_CXX " in
  24104. -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
  24105. -esac
  24106. -
  24107. -lt_prog_compiler_wl_CXX=
  24108. -lt_prog_compiler_pic_CXX=
  24109. -lt_prog_compiler_static_CXX=
  24110. -
  24111. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  24112. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  24113. -
  24114. - # C++ specific cases for pic, static, wl, etc.
  24115. - if test "$GXX" = yes; then
  24116. - lt_prog_compiler_wl_CXX='-Wl,'
  24117. - lt_prog_compiler_static_CXX='-static'
  24118. -
  24119. - case $host_os in
  24120. - aix*)
  24121. - # All AIX code is PIC.
  24122. - if test "$host_cpu" = ia64; then
  24123. - # AIX 5 now supports IA64 processor
  24124. - lt_prog_compiler_static_CXX='-Bstatic'
  24125. - fi
  24126. - ;;
  24127. - amigaos*)
  24128. - # FIXME: we need at least 68020 code to build shared libraries, but
  24129. - # adding the `-m68020' flag to GCC prevents building anything better,
  24130. - # like `-m68040'.
  24131. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  24132. - ;;
  24133. - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  24134. - # PIC is the default for these OSes.
  24135. - ;;
  24136. - mingw* | os2* | pw32*)
  24137. - # This hack is so that the source file can tell whether it is being
  24138. - # built for inclusion in a dll (and should export symbols for example).
  24139. - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  24140. - ;;
  24141. - darwin* | rhapsody*)
  24142. - # PIC is the default on this platform
  24143. - # Common symbols not allowed in MH_DYLIB files
  24144. - lt_prog_compiler_pic_CXX='-fno-common'
  24145. - ;;
  24146. - *djgpp*)
  24147. - # DJGPP does not support shared libraries at all
  24148. - lt_prog_compiler_pic_CXX=
  24149. - ;;
  24150. - interix3*)
  24151. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  24152. - # Instead, we relocate shared libraries at runtime.
  24153. - ;;
  24154. - sysv4*MP*)
  24155. - if test -d /usr/nec; then
  24156. - lt_prog_compiler_pic_CXX=-Kconform_pic
  24157. - fi
  24158. - ;;
  24159. - hpux*)
  24160. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  24161. - # not for PA HP-UX.
  24162. - case $host_cpu in
  24163. - hppa*64*|ia64*)
  24164. - ;;
  24165. - *)
  24166. - lt_prog_compiler_pic_CXX='-fPIC'
  24167. - ;;
  24168. - esac
  24169. - ;;
  24170. - *)
  24171. - lt_prog_compiler_pic_CXX='-fPIC'
  24172. - ;;
  24173. - esac
  24174. - else
  24175. - case $host_os in
  24176. - aix4* | aix5*)
  24177. - # All AIX code is PIC.
  24178. - if test "$host_cpu" = ia64; then
  24179. - # AIX 5 now supports IA64 processor
  24180. - lt_prog_compiler_static_CXX='-Bstatic'
  24181. - else
  24182. - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  24183. - fi
  24184. - ;;
  24185. - chorus*)
  24186. - case $cc_basename in
  24187. - cxch68*)
  24188. - # Green Hills C++ Compiler
  24189. - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--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"
  24190. - ;;
  24191. - esac
  24192. - ;;
  24193. - darwin*)
  24194. - # PIC is the default on this platform
  24195. - # Common symbols not allowed in MH_DYLIB files
  24196. - case $cc_basename in
  24197. - xlc*)
  24198. - lt_prog_compiler_pic_CXX='-qnocommon'
  24199. - lt_prog_compiler_wl_CXX='-Wl,'
  24200. - ;;
  24201. - esac
  24202. - ;;
  24203. - dgux*)
  24204. - case $cc_basename in
  24205. - ec++*)
  24206. - lt_prog_compiler_pic_CXX='-KPIC'
  24207. - ;;
  24208. - ghcx*)
  24209. - # Green Hills C++ Compiler
  24210. - lt_prog_compiler_pic_CXX='-pic'
  24211. - ;;
  24212. - *)
  24213. - ;;
  24214. - esac
  24215. - ;;
  24216. - freebsd* | kfreebsd*-gnu | dragonfly*)
  24217. - # FreeBSD uses GNU C++
  24218. - ;;
  24219. - hpux9* | hpux10* | hpux11*)
  24220. - case $cc_basename in
  24221. - CC*)
  24222. - lt_prog_compiler_wl_CXX='-Wl,'
  24223. - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  24224. - if test "$host_cpu" != ia64; then
  24225. - lt_prog_compiler_pic_CXX='+Z'
  24226. - fi
  24227. - ;;
  24228. - aCC*)
  24229. - lt_prog_compiler_wl_CXX='-Wl,'
  24230. - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  24231. - case $host_cpu in
  24232. - hppa*64*|ia64*)
  24233. - # +Z the default
  24234. - ;;
  24235. - *)
  24236. - lt_prog_compiler_pic_CXX='+Z'
  24237. - ;;
  24238. - esac
  24239. - ;;
  24240. - *)
  24241. - ;;
  24242. - esac
  24243. - ;;
  24244. - interix*)
  24245. - # This is c89, which is MS Visual C++ (no shared libs)
  24246. - # Anyone wants to do a port?
  24247. - ;;
  24248. - irix5* | irix6* | nonstopux*)
  24249. - case $cc_basename in
  24250. - CC*)
  24251. - lt_prog_compiler_wl_CXX='-Wl,'
  24252. - lt_prog_compiler_static_CXX='-non_shared'
  24253. - # CC pic flag -KPIC is the default.
  24254. - ;;
  24255. - *)
  24256. - ;;
  24257. - esac
  24258. - ;;
  24259. - linux*)
  24260. - case $cc_basename in
  24261. - KCC*)
  24262. - # KAI C++ Compiler
  24263. - lt_prog_compiler_wl_CXX='--backend -Wl,'
  24264. - lt_prog_compiler_pic_CXX='-fPIC'
  24265. - ;;
  24266. - icpc* | ecpc*)
  24267. - # Intel C++
  24268. - lt_prog_compiler_wl_CXX='-Wl,'
  24269. - lt_prog_compiler_pic_CXX='-KPIC'
  24270. - lt_prog_compiler_static_CXX='-static'
  24271. - ;;
  24272. - pgCC*)
  24273. - # Portland Group C++ compiler.
  24274. - lt_prog_compiler_wl_CXX='-Wl,'
  24275. - lt_prog_compiler_pic_CXX='-fpic'
  24276. - lt_prog_compiler_static_CXX='-Bstatic'
  24277. - ;;
  24278. - cxx*)
  24279. - # Compaq C++
  24280. - # Make sure the PIC flag is empty. It appears that all Alpha
  24281. - # Linux and Compaq Tru64 Unix objects are PIC.
  24282. - lt_prog_compiler_pic_CXX=
  24283. - lt_prog_compiler_static_CXX='-non_shared'
  24284. - ;;
  24285. - *)
  24286. - ;;
  24287. - esac
  24288. - ;;
  24289. - lynxos*)
  24290. - ;;
  24291. - m88k*)
  24292. - ;;
  24293. - mvs*)
  24294. - case $cc_basename in
  24295. - cxx*)
  24296. - lt_prog_compiler_pic_CXX='-W c,exportall'
  24297. - ;;
  24298. - *)
  24299. - ;;
  24300. - esac
  24301. - ;;
  24302. - netbsd*)
  24303. - ;;
  24304. - osf3* | osf4* | osf5*)
  24305. - case $cc_basename in
  24306. - KCC*)
  24307. - lt_prog_compiler_wl_CXX='--backend -Wl,'
  24308. - ;;
  24309. - RCC*)
  24310. - # Rational C++ 2.4.1
  24311. - lt_prog_compiler_pic_CXX='-pic'
  24312. - ;;
  24313. - cxx*)
  24314. - # Digital/Compaq C++
  24315. - lt_prog_compiler_wl_CXX='-Wl,'
  24316. - # Make sure the PIC flag is empty. It appears that all Alpha
  24317. - # Linux and Compaq Tru64 Unix objects are PIC.
  24318. - lt_prog_compiler_pic_CXX=
  24319. - lt_prog_compiler_static_CXX='-non_shared'
  24320. - ;;
  24321. - *)
  24322. - ;;
  24323. - esac
  24324. - ;;
  24325. - psos*)
  24326. - ;;
  24327. - solaris*)
  24328. - case $cc_basename in
  24329. - CC*)
  24330. - # Sun C++ 4.2, 5.x and Centerline C++
  24331. - lt_prog_compiler_pic_CXX='-KPIC'
  24332. - lt_prog_compiler_static_CXX='-Bstatic'
  24333. - lt_prog_compiler_wl_CXX='-Qoption ld '
  24334. - ;;
  24335. - gcx*)
  24336. - # Green Hills C++ Compiler
  24337. - lt_prog_compiler_pic_CXX='-PIC'
  24338. - ;;
  24339. - *)
  24340. - ;;
  24341. - esac
  24342. - ;;
  24343. - sunos4*)
  24344. - case $cc_basename in
  24345. - CC*)
  24346. - # Sun C++ 4.x
  24347. - lt_prog_compiler_pic_CXX='-pic'
  24348. - lt_prog_compiler_static_CXX='-Bstatic'
  24349. - ;;
  24350. - lcc*)
  24351. - # Lucid
  24352. - lt_prog_compiler_pic_CXX='-pic'
  24353. - ;;
  24354. - *)
  24355. - ;;
  24356. - esac
  24357. - ;;
  24358. - tandem*)
  24359. - case $cc_basename in
  24360. - NCC*)
  24361. - # NonStop-UX NCC 3.20
  24362. - lt_prog_compiler_pic_CXX='-KPIC'
  24363. - ;;
  24364. - *)
  24365. - ;;
  24366. - esac
  24367. - ;;
  24368. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  24369. - case $cc_basename in
  24370. - CC*)
  24371. - lt_prog_compiler_wl_CXX='-Wl,'
  24372. - lt_prog_compiler_pic_CXX='-KPIC'
  24373. - lt_prog_compiler_static_CXX='-Bstatic'
  24374. - ;;
  24375. - esac
  24376. - ;;
  24377. - vxworks*)
  24378. - ;;
  24379. - *)
  24380. - lt_prog_compiler_can_build_shared_CXX=no
  24381. - ;;
  24382. - esac
  24383. - fi
  24384. -
  24385. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
  24386. -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
  24387. -
  24388. -#
  24389. -# Check to make sure the PIC flag actually works.
  24390. -#
  24391. -if test -n "$lt_prog_compiler_pic_CXX"; then
  24392. -
  24393. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  24394. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
  24395. -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
  24396. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24397. -else
  24398. - lt_prog_compiler_pic_works_CXX=no
  24399. - ac_outfile=conftest.$ac_objext
  24400. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  24401. - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  24402. - # Insert the option either (1) after the last *FLAGS variable, or
  24403. - # (2) before a word containing "conftest.", or (3) at the end.
  24404. - # Note that $ac_compile itself does not contain backslashes and begins
  24405. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  24406. - # The option is referenced via a variable to avoid confusing sed.
  24407. - lt_compile=`echo "$ac_compile" | $SED \
  24408. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  24409. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  24410. - -e 's:$: $lt_compiler_flag:'`
  24411. - (eval echo "\"\$as_me:12855: $lt_compile\"" >&5)
  24412. - (eval "$lt_compile" 2>conftest.err)
  24413. - ac_status=$?
  24414. - cat conftest.err >&5
  24415. - echo "$as_me:12859: \$? = $ac_status" >&5
  24416. - if (exit $ac_status) && test -s "$ac_outfile"; then
  24417. - # The compiler can only warn and ignore the option if not recognized
  24418. - # So say no if there are warnings other than the usual output.
  24419. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  24420. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  24421. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  24422. - lt_prog_compiler_pic_works_CXX=yes
  24423. - fi
  24424. - fi
  24425. - $rm conftest*
  24426. -
  24427. -fi
  24428. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
  24429. -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
  24430. -
  24431. -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
  24432. - case $lt_prog_compiler_pic_CXX in
  24433. - "" | " "*) ;;
  24434. - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  24435. - esac
  24436. -else
  24437. - lt_prog_compiler_pic_CXX=
  24438. - lt_prog_compiler_can_build_shared_CXX=no
  24439. -fi
  24440. -
  24441. -fi
  24442. -case $host_os in
  24443. - # For platforms which do not support PIC, -DPIC is meaningless:
  24444. - *djgpp*)
  24445. - lt_prog_compiler_pic_CXX=
  24446. - ;;
  24447. - *)
  24448. - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  24449. - ;;
  24450. -esac
  24451. -
  24452. -#
  24453. -# Check to make sure the static flag actually works.
  24454. -#
  24455. -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  24456. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  24457. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  24458. -if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
  24459. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24460. -else
  24461. - lt_prog_compiler_static_works_CXX=no
  24462. - save_LDFLAGS="$LDFLAGS"
  24463. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  24464. - printf "$lt_simple_link_test_code" > conftest.$ac_ext
  24465. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  24466. - # The linker can only warn and ignore the option if not recognized
  24467. - # So say no if there are warnings
  24468. - if test -s conftest.err; then
  24469. - # Append any errors to the config.log.
  24470. - cat conftest.err 1>&5
  24471. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  24472. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  24473. - if diff conftest.exp conftest.er2 >/dev/null; then
  24474. - lt_prog_compiler_static_works_CXX=yes
  24475. - fi
  24476. - else
  24477. - lt_prog_compiler_static_works_CXX=yes
  24478. - fi
  24479. - fi
  24480. - $rm conftest*
  24481. - LDFLAGS="$save_LDFLAGS"
  24482. -
  24483. -fi
  24484. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
  24485. -echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
  24486. -
  24487. -if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
  24488. - :
  24489. -else
  24490. - lt_prog_compiler_static_CXX=
  24491. -fi
  24492. -
  24493. -
  24494. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  24495. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  24496. -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
  24497. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24498. -else
  24499. - lt_cv_prog_compiler_c_o_CXX=no
  24500. - $rm -r conftest 2>/dev/null
  24501. - mkdir conftest
  24502. - cd conftest
  24503. - mkdir out
  24504. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  24505. -
  24506. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  24507. - # Insert the option either (1) after the last *FLAGS variable, or
  24508. - # (2) before a word containing "conftest.", or (3) at the end.
  24509. - # Note that $ac_compile itself does not contain backslashes and begins
  24510. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  24511. - lt_compile=`echo "$ac_compile" | $SED \
  24512. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  24513. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  24514. - -e 's:$: $lt_compiler_flag:'`
  24515. - (eval echo "\"\$as_me:12959: $lt_compile\"" >&5)
  24516. - (eval "$lt_compile" 2>out/conftest.err)
  24517. - ac_status=$?
  24518. - cat out/conftest.err >&5
  24519. - echo "$as_me:12963: \$? = $ac_status" >&5
  24520. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  24521. - then
  24522. - # The compiler can only warn and ignore the option if not recognized
  24523. - # So say no if there are warnings
  24524. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  24525. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  24526. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  24527. - lt_cv_prog_compiler_c_o_CXX=yes
  24528. - fi
  24529. - fi
  24530. - chmod u+w . 2>&5
  24531. - $rm conftest*
  24532. - # SGI C++ compiler will create directory out/ii_files/ for
  24533. - # template instantiation
  24534. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  24535. - $rm out/* && rmdir out
  24536. - cd ..
  24537. - rmdir conftest
  24538. - $rm conftest*
  24539. -
  24540. -fi
  24541. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  24542. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
  24543. -
  24544. -
  24545. -hard_links="nottested"
  24546. -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  24547. - # do not overwrite the value of need_locks provided by the user
  24548. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  24549. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  24550. - hard_links=yes
  24551. - $rm conftest*
  24552. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  24553. - touch conftest.a
  24554. - ln conftest.a conftest.b 2>&5 || hard_links=no
  24555. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  24556. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  24557. -echo "${ECHO_T}$hard_links" >&6; }
  24558. - if test "$hard_links" = no; then
  24559. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  24560. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  24561. - need_locks=warn
  24562. - fi
  24563. -else
  24564. - need_locks=no
  24565. -fi
  24566. -
  24567. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  24568. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  24569. -
  24570. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  24571. - case $host_os in
  24572. - aix4* | aix5*)
  24573. - # If we're using GNU nm, then we don't want the "-C" option.
  24574. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  24575. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  24576. - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  24577. - else
  24578. - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  24579. - fi
  24580. - ;;
  24581. - pw32*)
  24582. - export_symbols_cmds_CXX="$ltdll_cmds"
  24583. - ;;
  24584. - cygwin* | mingw*)
  24585. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  24586. - ;;
  24587. - *)
  24588. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  24589. - ;;
  24590. - esac
  24591. -
  24592. -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  24593. -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
  24594. -test "$ld_shlibs_CXX" = no && can_build_shared=no
  24595. -
  24596. -#
  24597. -# Do we need to explicitly link libc?
  24598. -#
  24599. -case "x$archive_cmds_need_lc_CXX" in
  24600. -x|xyes)
  24601. - # Assume -lc should be added
  24602. - archive_cmds_need_lc_CXX=yes
  24603. -
  24604. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  24605. - case $archive_cmds_CXX in
  24606. - *'~'*)
  24607. - # FIXME: we may have to deal with multi-command sequences.
  24608. - ;;
  24609. - '$CC '*)
  24610. - # Test whether the compiler implicitly links with -lc since on some
  24611. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  24612. - # to ld, don't add -lc before -lgcc.
  24613. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  24614. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  24615. - $rm conftest*
  24616. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  24617. -
  24618. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  24619. - (eval $ac_compile) 2>&5
  24620. - ac_status=$?
  24621. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24622. - (exit $ac_status); } 2>conftest.err; then
  24623. - soname=conftest
  24624. - lib=conftest
  24625. - libobjs=conftest.$ac_objext
  24626. - deplibs=
  24627. - wl=$lt_prog_compiler_wl_CXX
  24628. - pic_flag=$lt_prog_compiler_pic_CXX
  24629. - compiler_flags=-v
  24630. - linker_flags=-v
  24631. - verstring=
  24632. - output_objdir=.
  24633. - libname=conftest
  24634. - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  24635. - allow_undefined_flag_CXX=
  24636. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  24637. - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  24638. - ac_status=$?
  24639. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24640. - (exit $ac_status); }
  24641. - then
  24642. - archive_cmds_need_lc_CXX=no
  24643. - else
  24644. - archive_cmds_need_lc_CXX=yes
  24645. - fi
  24646. - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  24647. - else
  24648. - cat conftest.err 1>&5
  24649. - fi
  24650. - $rm conftest*
  24651. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
  24652. -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
  24653. - ;;
  24654. - esac
  24655. - fi
  24656. - ;;
  24657. -esac
  24658. -
  24659. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  24660. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  24661. -library_names_spec=
  24662. -libname_spec='lib$name'
  24663. -soname_spec=
  24664. -shrext_cmds=".so"
  24665. -postinstall_cmds=
  24666. -postuninstall_cmds=
  24667. -finish_cmds=
  24668. -finish_eval=
  24669. -shlibpath_var=
  24670. -shlibpath_overrides_runpath=unknown
  24671. -version_type=none
  24672. -dynamic_linker="$host_os ld.so"
  24673. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  24674. -if test "$GCC" = yes; then
  24675. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  24676. - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  24677. - # if the path contains ";" then we assume it to be the separator
  24678. - # otherwise default to the standard path separator (i.e. ":") - it is
  24679. - # assumed that no part of a normal pathname contains ";" but that should
  24680. - # okay in the real world where ";" in dirpaths is itself problematic.
  24681. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  24682. - else
  24683. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  24684. - fi
  24685. -else
  24686. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  24687. -fi
  24688. -need_lib_prefix=unknown
  24689. -hardcode_into_libs=no
  24690. -
  24691. -# when you set need_version to no, make sure it does not cause -set_version
  24692. -# flags to be left without arguments
  24693. -need_version=unknown
  24694. -
  24695. -case $host_os in
  24696. -aix3*)
  24697. - version_type=linux
  24698. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  24699. - shlibpath_var=LIBPATH
  24700. -
  24701. - # AIX 3 has no versioning support, so we append a major version to the name.
  24702. - soname_spec='${libname}${release}${shared_ext}$major'
  24703. - ;;
  24704. -
  24705. -aix4* | aix5*)
  24706. - version_type=linux
  24707. - need_lib_prefix=no
  24708. - need_version=no
  24709. - hardcode_into_libs=yes
  24710. - if test "$host_cpu" = ia64; then
  24711. - # AIX 5 supports IA64
  24712. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  24713. - shlibpath_var=LD_LIBRARY_PATH
  24714. - else
  24715. - # With GCC up to 2.95.x, collect2 would create an import file
  24716. - # for dependence libraries. The import file would start with
  24717. - # the line `#! .'. This would cause the generated library to
  24718. - # depend on `.', always an invalid library. This was fixed in
  24719. - # development snapshots of GCC prior to 3.0.
  24720. - case $host_os in
  24721. - aix4 | aix4.[01] | aix4.[01].*)
  24722. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  24723. - echo ' yes '
  24724. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  24725. - :
  24726. - else
  24727. - can_build_shared=no
  24728. - fi
  24729. - ;;
  24730. - esac
  24731. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  24732. - # soname into executable. Probably we can add versioning support to
  24733. - # collect2, so additional links can be useful in future.
  24734. - if test "$aix_use_runtimelinking" = yes; then
  24735. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  24736. - # instead of lib<name>.a to let people know that these are not
  24737. - # typical AIX shared libraries.
  24738. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  24739. - else
  24740. - # We preserve .a as extension for shared libraries through AIX4.2
  24741. - # and later when we are not doing run time linking.
  24742. - library_names_spec='${libname}${release}.a $libname.a'
  24743. - soname_spec='${libname}${release}${shared_ext}$major'
  24744. - fi
  24745. - shlibpath_var=LIBPATH
  24746. - fi
  24747. - ;;
  24748. -
  24749. -amigaos*)
  24750. - library_names_spec='$libname.ixlibrary $libname.a'
  24751. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  24752. - 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'
  24753. - ;;
  24754. -
  24755. -beos*)
  24756. - library_names_spec='${libname}${shared_ext}'
  24757. - dynamic_linker="$host_os ld.so"
  24758. - shlibpath_var=LIBRARY_PATH
  24759. - ;;
  24760. -
  24761. -bsdi[45]*)
  24762. - version_type=linux
  24763. - need_version=no
  24764. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  24765. - soname_spec='${libname}${release}${shared_ext}$major'
  24766. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  24767. - shlibpath_var=LD_LIBRARY_PATH
  24768. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  24769. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  24770. - # the default ld.so.conf also contains /usr/contrib/lib and
  24771. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  24772. - # libtool to hard-code these into programs
  24773. - ;;
  24774. -
  24775. -cygwin* | mingw* | pw32*)
  24776. - version_type=windows
  24777. - shrext_cmds=".dll"
  24778. - need_version=no
  24779. - need_lib_prefix=no
  24780. -
  24781. - case $GCC,$host_os in
  24782. - yes,cygwin* | yes,mingw* | yes,pw32*)
  24783. - library_names_spec='$libname.dll.a'
  24784. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  24785. - postinstall_cmds='base_file=`basename \${file}`~
  24786. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  24787. - dldir=$destdir/`dirname \$dlpath`~
  24788. - test -d \$dldir || mkdir -p \$dldir~
  24789. - $install_prog $dir/$dlname \$dldir/$dlname~
  24790. - chmod a+x \$dldir/$dlname'
  24791. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  24792. - dlpath=$dir/\$dldll~
  24793. - $rm \$dlpath'
  24794. - shlibpath_overrides_runpath=yes
  24795. -
  24796. - case $host_os in
  24797. - cygwin*)
  24798. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  24799. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  24800. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  24801. - ;;
  24802. - mingw*)
  24803. - # MinGW DLLs use traditional 'lib' prefix
  24804. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  24805. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  24806. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  24807. - # It is most probably a Windows format PATH printed by
  24808. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  24809. - # path with ; separators, and with drive letters. We can handle the
  24810. - # drive letters (cygwin fileutils understands them), so leave them,
  24811. - # especially as we might pass files found there to a mingw objdump,
  24812. - # which wouldn't understand a cygwinified path. Ahh.
  24813. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  24814. - else
  24815. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  24816. - fi
  24817. - ;;
  24818. - pw32*)
  24819. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  24820. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  24821. - ;;
  24822. - esac
  24823. - ;;
  24824. -
  24825. - *)
  24826. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  24827. - ;;
  24828. - esac
  24829. - dynamic_linker='Win32 ld.exe'
  24830. - # FIXME: first we should search . and the directory the executable is in
  24831. - shlibpath_var=PATH
  24832. - ;;
  24833. -
  24834. -darwin* | rhapsody*)
  24835. - dynamic_linker="$host_os dyld"
  24836. - version_type=darwin
  24837. - need_lib_prefix=no
  24838. - need_version=no
  24839. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  24840. - soname_spec='${libname}${release}${major}$shared_ext'
  24841. - shlibpath_overrides_runpath=yes
  24842. - shlibpath_var=DYLD_LIBRARY_PATH
  24843. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  24844. - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  24845. - if test "$GCC" = yes; then
  24846. - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  24847. - else
  24848. - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  24849. - fi
  24850. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  24851. - ;;
  24852. -
  24853. -dgux*)
  24854. - version_type=linux
  24855. - need_lib_prefix=no
  24856. - need_version=no
  24857. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  24858. - soname_spec='${libname}${release}${shared_ext}$major'
  24859. - shlibpath_var=LD_LIBRARY_PATH
  24860. - ;;
  24861. -
  24862. -freebsd1*)
  24863. - dynamic_linker=no
  24864. - ;;
  24865. -
  24866. -kfreebsd*-gnu)
  24867. - version_type=linux
  24868. - need_lib_prefix=no
  24869. - need_version=no
  24870. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  24871. - soname_spec='${libname}${release}${shared_ext}$major'
  24872. - shlibpath_var=LD_LIBRARY_PATH
  24873. - shlibpath_overrides_runpath=no
  24874. - hardcode_into_libs=yes
  24875. - dynamic_linker='GNU ld.so'
  24876. - ;;
  24877. -
  24878. -freebsd* | dragonfly*)
  24879. - # DragonFly does not have aout. When/if they implement a new
  24880. - # versioning mechanism, adjust this.
  24881. - if test -x /usr/bin/objformat; then
  24882. - objformat=`/usr/bin/objformat`
  24883. - else
  24884. - case $host_os in
  24885. - freebsd[123]*) objformat=aout ;;
  24886. - *) objformat=elf ;;
  24887. - esac
  24888. - fi
  24889. - version_type=freebsd-$objformat
  24890. - case $version_type in
  24891. - freebsd-elf*)
  24892. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  24893. - need_version=no
  24894. - need_lib_prefix=no
  24895. - ;;
  24896. - freebsd-*)
  24897. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  24898. - need_version=yes
  24899. - ;;
  24900. - esac
  24901. - shlibpath_var=LD_LIBRARY_PATH
  24902. - case $host_os in
  24903. - freebsd2*)
  24904. - shlibpath_overrides_runpath=yes
  24905. - ;;
  24906. - freebsd3.[01]* | freebsdelf3.[01]*)
  24907. - shlibpath_overrides_runpath=yes
  24908. - hardcode_into_libs=yes
  24909. - ;;
  24910. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  24911. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  24912. - shlibpath_overrides_runpath=no
  24913. - hardcode_into_libs=yes
  24914. - ;;
  24915. - freebsd*) # from 4.6 on
  24916. - shlibpath_overrides_runpath=yes
  24917. - hardcode_into_libs=yes
  24918. - ;;
  24919. - esac
  24920. - ;;
  24921. -
  24922. -gnu*)
  24923. - version_type=linux
  24924. - need_lib_prefix=no
  24925. - need_version=no
  24926. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  24927. - soname_spec='${libname}${release}${shared_ext}$major'
  24928. - shlibpath_var=LD_LIBRARY_PATH
  24929. - hardcode_into_libs=yes
  24930. - ;;
  24931. -
  24932. -hpux9* | hpux10* | hpux11*)
  24933. - # Give a soname corresponding to the major version so that dld.sl refuses to
  24934. - # link against other versions.
  24935. - version_type=sunos
  24936. - need_lib_prefix=no
  24937. - need_version=no
  24938. - case $host_cpu in
  24939. - ia64*)
  24940. - shrext_cmds='.so'
  24941. - hardcode_into_libs=yes
  24942. - dynamic_linker="$host_os dld.so"
  24943. - shlibpath_var=LD_LIBRARY_PATH
  24944. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  24945. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  24946. - soname_spec='${libname}${release}${shared_ext}$major'
  24947. - if test "X$HPUX_IA64_MODE" = X32; then
  24948. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  24949. - else
  24950. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  24951. - fi
  24952. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  24953. - ;;
  24954. - hppa*64*)
  24955. - shrext_cmds='.sl'
  24956. - hardcode_into_libs=yes
  24957. - dynamic_linker="$host_os dld.sl"
  24958. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  24959. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  24960. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  24961. - soname_spec='${libname}${release}${shared_ext}$major'
  24962. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  24963. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  24964. - ;;
  24965. - *)
  24966. - shrext_cmds='.sl'
  24967. - dynamic_linker="$host_os dld.sl"
  24968. - shlibpath_var=SHLIB_PATH
  24969. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  24970. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  24971. - soname_spec='${libname}${release}${shared_ext}$major'
  24972. - ;;
  24973. - esac
  24974. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  24975. - postinstall_cmds='chmod 555 $lib'
  24976. - ;;
  24977. -
  24978. -interix3*)
  24979. - version_type=linux
  24980. - need_lib_prefix=no
  24981. - need_version=no
  24982. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  24983. - soname_spec='${libname}${release}${shared_ext}$major'
  24984. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  24985. - shlibpath_var=LD_LIBRARY_PATH
  24986. - shlibpath_overrides_runpath=no
  24987. - hardcode_into_libs=yes
  24988. - ;;
  24989. -
  24990. -irix5* | irix6* | nonstopux*)
  24991. - case $host_os in
  24992. - nonstopux*) version_type=nonstopux ;;
  24993. - *)
  24994. - if test "$lt_cv_prog_gnu_ld" = yes; then
  24995. - version_type=linux
  24996. - else
  24997. - version_type=irix
  24998. - fi ;;
  24999. - esac
  25000. - need_lib_prefix=no
  25001. - need_version=no
  25002. - soname_spec='${libname}${release}${shared_ext}$major'
  25003. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  25004. - case $host_os in
  25005. - irix5* | nonstopux*)
  25006. - libsuff= shlibsuff=
  25007. - ;;
  25008. - *)
  25009. - case $LD in # libtool.m4 will add one of these switches to LD
  25010. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  25011. - libsuff= shlibsuff= libmagic=32-bit;;
  25012. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  25013. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  25014. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  25015. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  25016. - *) libsuff= shlibsuff= libmagic=never-match;;
  25017. - esac
  25018. - ;;
  25019. - esac
  25020. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  25021. - shlibpath_overrides_runpath=no
  25022. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  25023. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  25024. - hardcode_into_libs=yes
  25025. - ;;
  25026. -
  25027. -# No shared lib support for Linux oldld, aout, or coff.
  25028. -linux*oldld* | linux*aout* | linux*coff*)
  25029. - dynamic_linker=no
  25030. - ;;
  25031. -
  25032. -# This must be Linux ELF.
  25033. -linux*)
  25034. - version_type=linux
  25035. - need_lib_prefix=no
  25036. - need_version=no
  25037. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25038. - soname_spec='${libname}${release}${shared_ext}$major'
  25039. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  25040. - shlibpath_var=LD_LIBRARY_PATH
  25041. - shlibpath_overrides_runpath=no
  25042. - # This implies no fast_install, which is unacceptable.
  25043. - # Some rework will be needed to allow for fast_install
  25044. - # before this can be enabled.
  25045. - hardcode_into_libs=yes
  25046. -
  25047. - # Append ld.so.conf contents to the search path
  25048. - if test -f /etc/ld.so.conf; then
  25049. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  25050. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  25051. - fi
  25052. -
  25053. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  25054. - # powerpc, because MkLinux only supported shared libraries with the
  25055. - # GNU dynamic linker. Since this was broken with cross compilers,
  25056. - # most powerpc-linux boxes support dynamic linking these days and
  25057. - # people can always --disable-shared, the test was removed, and we
  25058. - # assume the GNU/Linux dynamic linker is in use.
  25059. - dynamic_linker='GNU/Linux ld.so'
  25060. - ;;
  25061. -
  25062. -knetbsd*-gnu)
  25063. - version_type=linux
  25064. - need_lib_prefix=no
  25065. - need_version=no
  25066. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  25067. - soname_spec='${libname}${release}${shared_ext}$major'
  25068. - shlibpath_var=LD_LIBRARY_PATH
  25069. - shlibpath_overrides_runpath=no
  25070. - hardcode_into_libs=yes
  25071. - dynamic_linker='GNU ld.so'
  25072. - ;;
  25073. -
  25074. -netbsd*)
  25075. - version_type=sunos
  25076. - need_lib_prefix=no
  25077. - need_version=no
  25078. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  25079. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  25080. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  25081. - dynamic_linker='NetBSD (a.out) ld.so'
  25082. - else
  25083. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  25084. - soname_spec='${libname}${release}${shared_ext}$major'
  25085. - dynamic_linker='NetBSD ld.elf_so'
  25086. - fi
  25087. - shlibpath_var=LD_LIBRARY_PATH
  25088. - shlibpath_overrides_runpath=yes
  25089. - hardcode_into_libs=yes
  25090. - ;;
  25091. -
  25092. -newsos6)
  25093. - version_type=linux
  25094. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25095. - shlibpath_var=LD_LIBRARY_PATH
  25096. - shlibpath_overrides_runpath=yes
  25097. - ;;
  25098. -
  25099. -nto-qnx*)
  25100. - version_type=linux
  25101. - need_lib_prefix=no
  25102. - need_version=no
  25103. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25104. - soname_spec='${libname}${release}${shared_ext}$major'
  25105. - shlibpath_var=LD_LIBRARY_PATH
  25106. - shlibpath_overrides_runpath=yes
  25107. - ;;
  25108. -
  25109. -openbsd*)
  25110. - version_type=sunos
  25111. - sys_lib_dlsearch_path_spec="/usr/lib"
  25112. - need_lib_prefix=no
  25113. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  25114. - case $host_os in
  25115. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  25116. - *) need_version=no ;;
  25117. - esac
  25118. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  25119. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  25120. - shlibpath_var=LD_LIBRARY_PATH
  25121. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  25122. - case $host_os in
  25123. - openbsd2.[89] | openbsd2.[89].*)
  25124. - shlibpath_overrides_runpath=no
  25125. - ;;
  25126. - *)
  25127. - shlibpath_overrides_runpath=yes
  25128. - ;;
  25129. - esac
  25130. - else
  25131. - shlibpath_overrides_runpath=yes
  25132. - fi
  25133. - ;;
  25134. -
  25135. -os2*)
  25136. - libname_spec='$name'
  25137. - shrext_cmds=".dll"
  25138. - need_lib_prefix=no
  25139. - library_names_spec='$libname${shared_ext} $libname.a'
  25140. - dynamic_linker='OS/2 ld.exe'
  25141. - shlibpath_var=LIBPATH
  25142. - ;;
  25143. -
  25144. -osf3* | osf4* | osf5*)
  25145. - version_type=osf
  25146. - need_lib_prefix=no
  25147. - need_version=no
  25148. - soname_spec='${libname}${release}${shared_ext}$major'
  25149. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25150. - shlibpath_var=LD_LIBRARY_PATH
  25151. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  25152. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  25153. - ;;
  25154. -
  25155. -solaris*)
  25156. - version_type=linux
  25157. - need_lib_prefix=no
  25158. - need_version=no
  25159. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25160. - soname_spec='${libname}${release}${shared_ext}$major'
  25161. - shlibpath_var=LD_LIBRARY_PATH
  25162. - shlibpath_overrides_runpath=yes
  25163. - hardcode_into_libs=yes
  25164. - # ldd complains unless libraries are executable
  25165. - postinstall_cmds='chmod +x $lib'
  25166. - ;;
  25167. -
  25168. -sunos4*)
  25169. - version_type=sunos
  25170. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  25171. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  25172. - shlibpath_var=LD_LIBRARY_PATH
  25173. - shlibpath_overrides_runpath=yes
  25174. - if test "$with_gnu_ld" = yes; then
  25175. - need_lib_prefix=no
  25176. - fi
  25177. - need_version=yes
  25178. - ;;
  25179. -
  25180. -sysv4 | sysv4.3*)
  25181. - version_type=linux
  25182. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25183. - soname_spec='${libname}${release}${shared_ext}$major'
  25184. - shlibpath_var=LD_LIBRARY_PATH
  25185. - case $host_vendor in
  25186. - sni)
  25187. - shlibpath_overrides_runpath=no
  25188. - need_lib_prefix=no
  25189. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  25190. - runpath_var=LD_RUN_PATH
  25191. - ;;
  25192. - siemens)
  25193. - need_lib_prefix=no
  25194. - ;;
  25195. - motorola)
  25196. - need_lib_prefix=no
  25197. - need_version=no
  25198. - shlibpath_overrides_runpath=no
  25199. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  25200. - ;;
  25201. - esac
  25202. - ;;
  25203. -
  25204. -sysv4*MP*)
  25205. - if test -d /usr/nec ;then
  25206. - version_type=linux
  25207. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  25208. - soname_spec='$libname${shared_ext}.$major'
  25209. - shlibpath_var=LD_LIBRARY_PATH
  25210. - fi
  25211. - ;;
  25212. -
  25213. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  25214. - version_type=freebsd-elf
  25215. - need_lib_prefix=no
  25216. - need_version=no
  25217. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  25218. - soname_spec='${libname}${release}${shared_ext}$major'
  25219. - shlibpath_var=LD_LIBRARY_PATH
  25220. - hardcode_into_libs=yes
  25221. - if test "$with_gnu_ld" = yes; then
  25222. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  25223. - shlibpath_overrides_runpath=no
  25224. - else
  25225. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  25226. - shlibpath_overrides_runpath=yes
  25227. - case $host_os in
  25228. - sco3.2v5*)
  25229. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  25230. - ;;
  25231. - esac
  25232. - fi
  25233. - sys_lib_dlsearch_path_spec='/usr/lib'
  25234. - ;;
  25235. -
  25236. -uts4*)
  25237. - version_type=linux
  25238. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25239. - soname_spec='${libname}${release}${shared_ext}$major'
  25240. - shlibpath_var=LD_LIBRARY_PATH
  25241. - ;;
  25242. -
  25243. -*)
  25244. - dynamic_linker=no
  25245. - ;;
  25246. -esac
  25247. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  25248. -echo "${ECHO_T}$dynamic_linker" >&6; }
  25249. -test "$dynamic_linker" = no && can_build_shared=no
  25250. -
  25251. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  25252. -if test "$GCC" = yes; then
  25253. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  25254. -fi
  25255. -
  25256. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  25257. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  25258. -hardcode_action_CXX=
  25259. -if test -n "$hardcode_libdir_flag_spec_CXX" || \
  25260. - test -n "$runpath_var_CXX" || \
  25261. - test "X$hardcode_automatic_CXX" = "Xyes" ; then
  25262. -
  25263. - # We can hardcode non-existant directories.
  25264. - if test "$hardcode_direct_CXX" != no &&
  25265. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  25266. - # have to relink, otherwise we might link with an installed library
  25267. - # when we should be linking with a yet-to-be-installed one
  25268. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  25269. - test "$hardcode_minus_L_CXX" != no; then
  25270. - # Linking always hardcodes the temporary library directory.
  25271. - hardcode_action_CXX=relink
  25272. - else
  25273. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  25274. - hardcode_action_CXX=immediate
  25275. - fi
  25276. -else
  25277. - # We cannot hardcode anything, or else we can only hardcode existing
  25278. - # directories.
  25279. - hardcode_action_CXX=unsupported
  25280. -fi
  25281. -{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
  25282. -echo "${ECHO_T}$hardcode_action_CXX" >&6; }
  25283. -
  25284. -if test "$hardcode_action_CXX" = relink; then
  25285. - # Fast installation is not supported
  25286. - enable_fast_install=no
  25287. -elif test "$shlibpath_overrides_runpath" = yes ||
  25288. - test "$enable_shared" = no; then
  25289. - # Fast installation is not necessary
  25290. - enable_fast_install=needless
  25291. -fi
  25292. -
  25293. -
  25294. -# The else clause should only fire when bootstrapping the
  25295. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  25296. -# with your package, and you will get complaints that there are
  25297. -# no rules to generate ltmain.sh.
  25298. -if test -f "$ltmain"; then
  25299. - # See if we are running on zsh, and set the options which allow our commands through
  25300. - # without removal of \ escapes.
  25301. - if test -n "${ZSH_VERSION+set}" ; then
  25302. - setopt NO_GLOB_SUBST
  25303. - fi
  25304. - # Now quote all the things that may contain metacharacters while being
  25305. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  25306. - # variables and quote the copies for generation of the libtool script.
  25307. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  25308. - SED SHELL STRIP \
  25309. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  25310. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  25311. - deplibs_check_method reload_flag reload_cmds need_locks \
  25312. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  25313. - lt_cv_sys_global_symbol_to_c_name_address \
  25314. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  25315. - old_postinstall_cmds old_postuninstall_cmds \
  25316. - compiler_CXX \
  25317. - CC_CXX \
  25318. - LD_CXX \
  25319. - lt_prog_compiler_wl_CXX \
  25320. - lt_prog_compiler_pic_CXX \
  25321. - lt_prog_compiler_static_CXX \
  25322. - lt_prog_compiler_no_builtin_flag_CXX \
  25323. - export_dynamic_flag_spec_CXX \
  25324. - thread_safe_flag_spec_CXX \
  25325. - whole_archive_flag_spec_CXX \
  25326. - enable_shared_with_static_runtimes_CXX \
  25327. - old_archive_cmds_CXX \
  25328. - old_archive_from_new_cmds_CXX \
  25329. - predep_objects_CXX \
  25330. - postdep_objects_CXX \
  25331. - predeps_CXX \
  25332. - postdeps_CXX \
  25333. - compiler_lib_search_path_CXX \
  25334. - archive_cmds_CXX \
  25335. - archive_expsym_cmds_CXX \
  25336. - postinstall_cmds_CXX \
  25337. - postuninstall_cmds_CXX \
  25338. - old_archive_from_expsyms_cmds_CXX \
  25339. - allow_undefined_flag_CXX \
  25340. - no_undefined_flag_CXX \
  25341. - export_symbols_cmds_CXX \
  25342. - hardcode_libdir_flag_spec_CXX \
  25343. - hardcode_libdir_flag_spec_ld_CXX \
  25344. - hardcode_libdir_separator_CXX \
  25345. - hardcode_automatic_CXX \
  25346. - module_cmds_CXX \
  25347. - module_expsym_cmds_CXX \
  25348. - lt_cv_prog_compiler_c_o_CXX \
  25349. - exclude_expsyms_CXX \
  25350. - include_expsyms_CXX; do
  25351. -
  25352. - case $var in
  25353. - old_archive_cmds_CXX | \
  25354. - old_archive_from_new_cmds_CXX | \
  25355. - archive_cmds_CXX | \
  25356. - archive_expsym_cmds_CXX | \
  25357. - module_cmds_CXX | \
  25358. - module_expsym_cmds_CXX | \
  25359. - old_archive_from_expsyms_cmds_CXX | \
  25360. - export_symbols_cmds_CXX | \
  25361. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  25362. - postinstall_cmds | postuninstall_cmds | \
  25363. - old_postinstall_cmds | old_postuninstall_cmds | \
  25364. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  25365. - # Double-quote double-evaled strings.
  25366. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  25367. - ;;
  25368. - *)
  25369. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  25370. - ;;
  25371. - esac
  25372. - done
  25373. -
  25374. - case $lt_echo in
  25375. - *'\$0 --fallback-echo"')
  25376. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  25377. - ;;
  25378. - esac
  25379. -
  25380. -cfgfile="$ofile"
  25381. -
  25382. - cat <<__EOF__ >> "$cfgfile"
  25383. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  25384. -
  25385. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  25386. -
  25387. -# Shell to use when invoking shell scripts.
  25388. -SHELL=$lt_SHELL
  25389. -
  25390. -# Whether or not to build shared libraries.
  25391. -build_libtool_libs=$enable_shared
  25392. -
  25393. -# Whether or not to build static libraries.
  25394. -build_old_libs=$enable_static
  25395. -
  25396. -# Whether or not to add -lc for building shared libraries.
  25397. -build_libtool_need_lc=$archive_cmds_need_lc_CXX
  25398. -
  25399. -# Whether or not to disallow shared libs when runtime libs are static
  25400. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  25401. -
  25402. -# Whether or not to optimize for fast installation.
  25403. -fast_install=$enable_fast_install
  25404. -
  25405. -# The host system.
  25406. -host_alias=$host_alias
  25407. -host=$host
  25408. -host_os=$host_os
  25409. -
  25410. -# The build system.
  25411. -build_alias=$build_alias
  25412. -build=$build
  25413. -build_os=$build_os
  25414. -
  25415. -# An echo program that does not interpret backslashes.
  25416. -echo=$lt_echo
  25417. -
  25418. -# The archiver.
  25419. -AR=$lt_AR
  25420. -AR_FLAGS=$lt_AR_FLAGS
  25421. -
  25422. -# A C compiler.
  25423. -LTCC=$lt_LTCC
  25424. -
  25425. -# LTCC compiler flags.
  25426. -LTCFLAGS=$lt_LTCFLAGS
  25427. -
  25428. -# A language-specific compiler.
  25429. -CC=$lt_compiler_CXX
  25430. -
  25431. -# Is the compiler the GNU C compiler?
  25432. -with_gcc=$GCC_CXX
  25433. -
  25434. -# An ERE matcher.
  25435. -EGREP=$lt_EGREP
  25436. -
  25437. -# The linker used to build libraries.
  25438. -LD=$lt_LD_CXX
  25439. -
  25440. -# Whether we need hard or soft links.
  25441. -LN_S=$lt_LN_S
  25442. -
  25443. -# A BSD-compatible nm program.
  25444. -NM=$lt_NM
  25445. -
  25446. -# A symbol stripping program
  25447. -STRIP=$lt_STRIP
  25448. -
  25449. -# Used to examine libraries when file_magic_cmd begins "file"
  25450. -MAGIC_CMD=$MAGIC_CMD
  25451. -
  25452. -# Used on cygwin: DLL creation program.
  25453. -DLLTOOL="$DLLTOOL"
  25454. -
  25455. -# Used on cygwin: object dumper.
  25456. -OBJDUMP="$OBJDUMP"
  25457. -
  25458. -# Used on cygwin: assembler.
  25459. -AS="$AS"
  25460. -
  25461. -# The name of the directory that contains temporary libtool files.
  25462. -objdir=$objdir
  25463. -
  25464. -# How to create reloadable object files.
  25465. -reload_flag=$lt_reload_flag
  25466. -reload_cmds=$lt_reload_cmds
  25467. -
  25468. -# How to pass a linker flag through the compiler.
  25469. -wl=$lt_lt_prog_compiler_wl_CXX
  25470. -
  25471. -# Object file suffix (normally "o").
  25472. -objext="$ac_objext"
  25473. -
  25474. -# Old archive suffix (normally "a").
  25475. -libext="$libext"
  25476. -
  25477. -# Shared library suffix (normally ".so").
  25478. -shrext_cmds='$shrext_cmds'
  25479. -
  25480. -# Executable file suffix (normally "").
  25481. -exeext="$exeext"
  25482. -
  25483. -# Additional compiler flags for building library objects.
  25484. -pic_flag=$lt_lt_prog_compiler_pic_CXX
  25485. -pic_mode=$pic_mode
  25486. -
  25487. -# What is the maximum length of a command?
  25488. -max_cmd_len=$lt_cv_sys_max_cmd_len
  25489. -
  25490. -# Does compiler simultaneously support -c and -o options?
  25491. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  25492. -
  25493. -# Must we lock files when doing compilation?
  25494. -need_locks=$lt_need_locks
  25495. -
  25496. -# Do we need the lib prefix for modules?
  25497. -need_lib_prefix=$need_lib_prefix
  25498. -
  25499. -# Do we need a version for libraries?
  25500. -need_version=$need_version
  25501. -
  25502. -# Whether dlopen is supported.
  25503. -dlopen_support=$enable_dlopen
  25504. -
  25505. -# Whether dlopen of programs is supported.
  25506. -dlopen_self=$enable_dlopen_self
  25507. -
  25508. -# Whether dlopen of statically linked programs is supported.
  25509. -dlopen_self_static=$enable_dlopen_self_static
  25510. -
  25511. -# Compiler flag to prevent dynamic linking.
  25512. -link_static_flag=$lt_lt_prog_compiler_static_CXX
  25513. -
  25514. -# Compiler flag to turn off builtin functions.
  25515. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  25516. -
  25517. -# Compiler flag to allow reflexive dlopens.
  25518. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  25519. -
  25520. -# Compiler flag to generate shared objects directly from archives.
  25521. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  25522. -
  25523. -# Compiler flag to generate thread-safe objects.
  25524. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
  25525. -
  25526. -# Library versioning type.
  25527. -version_type=$version_type
  25528. -
  25529. -# Format of library name prefix.
  25530. -libname_spec=$lt_libname_spec
  25531. -
  25532. -# List of archive names. First name is the real one, the rest are links.
  25533. -# The last name is the one that the linker finds with -lNAME.
  25534. -library_names_spec=$lt_library_names_spec
  25535. -
  25536. -# The coded name of the library, if different from the real name.
  25537. -soname_spec=$lt_soname_spec
  25538. -
  25539. -# Commands used to build and install an old-style archive.
  25540. -RANLIB=$lt_RANLIB
  25541. -old_archive_cmds=$lt_old_archive_cmds_CXX
  25542. -old_postinstall_cmds=$lt_old_postinstall_cmds
  25543. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  25544. -
  25545. -# Create an old-style archive from a shared archive.
  25546. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  25547. -
  25548. -# Create a temporary old-style archive to link instead of a shared archive.
  25549. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  25550. -
  25551. -# Commands used to build and install a shared archive.
  25552. -archive_cmds=$lt_archive_cmds_CXX
  25553. -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  25554. -postinstall_cmds=$lt_postinstall_cmds
  25555. -postuninstall_cmds=$lt_postuninstall_cmds
  25556. -
  25557. -# Commands used to build a loadable module (assumed same as above if empty)
  25558. -module_cmds=$lt_module_cmds_CXX
  25559. -module_expsym_cmds=$lt_module_expsym_cmds_CXX
  25560. -
  25561. -# Commands to strip libraries.
  25562. -old_striplib=$lt_old_striplib
  25563. -striplib=$lt_striplib
  25564. -
  25565. -# Dependencies to place before the objects being linked to create a
  25566. -# shared library.
  25567. -predep_objects=$lt_predep_objects_CXX
  25568. -
  25569. -# Dependencies to place after the objects being linked to create a
  25570. -# shared library.
  25571. -postdep_objects=$lt_postdep_objects_CXX
  25572. -
  25573. -# Dependencies to place before the objects being linked to create a
  25574. -# shared library.
  25575. -predeps=$lt_predeps_CXX
  25576. -
  25577. -# Dependencies to place after the objects being linked to create a
  25578. -# shared library.
  25579. -postdeps=$lt_postdeps_CXX
  25580. -
  25581. -# The library search path used internally by the compiler when linking
  25582. -# a shared library.
  25583. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  25584. -
  25585. -# Method to check whether dependent libraries are shared objects.
  25586. -deplibs_check_method=$lt_deplibs_check_method
  25587. -
  25588. -# Command to use when deplibs_check_method == file_magic.
  25589. -file_magic_cmd=$lt_file_magic_cmd
  25590. -
  25591. -# Flag that allows shared libraries with undefined symbols to be built.
  25592. -allow_undefined_flag=$lt_allow_undefined_flag_CXX
  25593. -
  25594. -# Flag that forces no undefined symbols.
  25595. -no_undefined_flag=$lt_no_undefined_flag_CXX
  25596. -
  25597. -# Commands used to finish a libtool library installation in a directory.
  25598. -finish_cmds=$lt_finish_cmds
  25599. -
  25600. -# Same as above, but a single script fragment to be evaled but not shown.
  25601. -finish_eval=$lt_finish_eval
  25602. -
  25603. -# Take the output of nm and produce a listing of raw symbols and C names.
  25604. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  25605. -
  25606. -# Transform the output of nm in a proper C declaration
  25607. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  25608. -
  25609. -# Transform the output of nm in a C name address pair
  25610. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  25611. -
  25612. -# This is the shared library runtime path variable.
  25613. -runpath_var=$runpath_var
  25614. -
  25615. -# This is the shared library path variable.
  25616. -shlibpath_var=$shlibpath_var
  25617. -
  25618. -# Is shlibpath searched before the hard-coded library search path?
  25619. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  25620. -
  25621. -# How to hardcode a shared library path into an executable.
  25622. -hardcode_action=$hardcode_action_CXX
  25623. -
  25624. -# Whether we should hardcode library paths into libraries.
  25625. -hardcode_into_libs=$hardcode_into_libs
  25626. -
  25627. -# Flag to hardcode \$libdir into a binary during linking.
  25628. -# This must work even if \$libdir does not exist.
  25629. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  25630. -
  25631. -# If ld is used when linking, flag to hardcode \$libdir into
  25632. -# a binary during linking. This must work even if \$libdir does
  25633. -# not exist.
  25634. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  25635. -
  25636. -# Whether we need a single -rpath flag with a separated argument.
  25637. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  25638. -
  25639. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  25640. -# resulting binary.
  25641. -hardcode_direct=$hardcode_direct_CXX
  25642. -
  25643. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  25644. -# resulting binary.
  25645. -hardcode_minus_L=$hardcode_minus_L_CXX
  25646. -
  25647. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  25648. -# the resulting binary.
  25649. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  25650. -
  25651. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  25652. -# and all subsequent libraries and executables linked against it.
  25653. -hardcode_automatic=$hardcode_automatic_CXX
  25654. -
  25655. -# Variables whose values should be saved in libtool wrapper scripts and
  25656. -# restored at relink time.
  25657. -variables_saved_for_relink="$variables_saved_for_relink"
  25658. -
  25659. -# Whether libtool must link a program against all its dependency libraries.
  25660. -link_all_deplibs=$link_all_deplibs_CXX
  25661. -
  25662. -# Compile-time system search path for libraries
  25663. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  25664. -
  25665. -# Run-time system search path for libraries
  25666. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  25667. -
  25668. -# Fix the shell variable \$srcfile for the compiler.
  25669. -fix_srcfile_path="$fix_srcfile_path_CXX"
  25670. -
  25671. -# Set to yes if exported symbols are required.
  25672. -always_export_symbols=$always_export_symbols_CXX
  25673. -
  25674. -# The commands to list exported symbols.
  25675. -export_symbols_cmds=$lt_export_symbols_cmds_CXX
  25676. -
  25677. -# The commands to extract the exported symbol list from a shared archive.
  25678. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  25679. -
  25680. -# Symbols that should not be listed in the preloaded symbols.
  25681. -exclude_expsyms=$lt_exclude_expsyms_CXX
  25682. -
  25683. -# Symbols that must always be exported.
  25684. -include_expsyms=$lt_include_expsyms_CXX
  25685. -
  25686. -# ### END LIBTOOL TAG CONFIG: $tagname
  25687. -
  25688. -__EOF__
  25689. -
  25690. -
  25691. -else
  25692. - # If there is no Makefile yet, we rely on a make rule to execute
  25693. - # `config.status --recheck' to rerun these tests and create the
  25694. - # libtool script then.
  25695. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  25696. - if test -f "$ltmain_in"; then
  25697. - test -f Makefile && make "$ltmain"
  25698. - fi
  25699. -fi
  25700. -
  25701. -
  25702. -ac_ext=c
  25703. -ac_cpp='$CPP $CPPFLAGS'
  25704. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25705. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25706. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25707. -
  25708. -CC=$lt_save_CC
  25709. -LDCXX=$LD
  25710. -LD=$lt_save_LD
  25711. -GCC=$lt_save_GCC
  25712. -with_gnu_ldcxx=$with_gnu_ld
  25713. -with_gnu_ld=$lt_save_with_gnu_ld
  25714. -lt_cv_path_LDCXX=$lt_cv_path_LD
  25715. -lt_cv_path_LD=$lt_save_path_LD
  25716. -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  25717. -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  25718. -
  25719. - else
  25720. - tagname=""
  25721. - fi
  25722. - ;;
  25723. -
  25724. - F77)
  25725. - if test -n "$F77" && test "X$F77" != "Xno"; then
  25726. -
  25727. -ac_ext=f
  25728. -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  25729. -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25730. -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  25731. -
  25732. -
  25733. -archive_cmds_need_lc_F77=no
  25734. -allow_undefined_flag_F77=
  25735. -always_export_symbols_F77=no
  25736. -archive_expsym_cmds_F77=
  25737. -export_dynamic_flag_spec_F77=
  25738. -hardcode_direct_F77=no
  25739. -hardcode_libdir_flag_spec_F77=
  25740. -hardcode_libdir_flag_spec_ld_F77=
  25741. -hardcode_libdir_separator_F77=
  25742. -hardcode_minus_L_F77=no
  25743. -hardcode_automatic_F77=no
  25744. -module_cmds_F77=
  25745. -module_expsym_cmds_F77=
  25746. -link_all_deplibs_F77=unknown
  25747. -old_archive_cmds_F77=$old_archive_cmds
  25748. -no_undefined_flag_F77=
  25749. -whole_archive_flag_spec_F77=
  25750. -enable_shared_with_static_runtimes_F77=no
  25751. -
  25752. -# Source file extension for f77 test sources.
  25753. -ac_ext=f
  25754. -
  25755. -# Object file extension for compiled f77 test sources.
  25756. -objext=o
  25757. -objext_F77=$objext
  25758. -
  25759. -# Code to be used in simple compile tests
  25760. -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
  25761. -
  25762. -# Code to be used in simple link tests
  25763. -lt_simple_link_test_code=" program t\n end\n"
  25764. -
  25765. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  25766. -
  25767. -# If no C compiler was specified, use CC.
  25768. -LTCC=${LTCC-"$CC"}
  25769. -
  25770. -# If no C compiler flags were specified, use CFLAGS.
  25771. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  25772. -
  25773. -# Allow CC to be a program name with arguments.
  25774. -compiler=$CC
  25775. -
  25776. -
  25777. -# save warnings/boilerplate of simple test code
  25778. -ac_outfile=conftest.$ac_objext
  25779. -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  25780. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  25781. -_lt_compiler_boilerplate=`cat conftest.err`
  25782. -$rm conftest*
  25783. -
  25784. -ac_outfile=conftest.$ac_objext
  25785. -printf "$lt_simple_link_test_code" >conftest.$ac_ext
  25786. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  25787. -_lt_linker_boilerplate=`cat conftest.err`
  25788. -$rm conftest*
  25789. -
  25790. -
  25791. -# Allow CC to be a program name with arguments.
  25792. -lt_save_CC="$CC"
  25793. -CC=${F77-"f77"}
  25794. -compiler=$CC
  25795. -compiler_F77=$CC
  25796. -for cc_temp in $compiler""; do
  25797. - case $cc_temp in
  25798. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  25799. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  25800. - \-*) ;;
  25801. - *) break;;
  25802. - esac
  25803. -done
  25804. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  25805. -
  25806. -
  25807. -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  25808. -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
  25809. -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
  25810. -echo "${ECHO_T}$can_build_shared" >&6; }
  25811. -
  25812. -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  25813. -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
  25814. -test "$can_build_shared" = "no" && enable_shared=no
  25815. -
  25816. -# On AIX, shared libraries and static libraries use the same namespace, and
  25817. -# are all built from PIC.
  25818. -case $host_os in
  25819. -aix3*)
  25820. - test "$enable_shared" = yes && enable_static=no
  25821. - if test -n "$RANLIB"; then
  25822. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  25823. - postinstall_cmds='$RANLIB $lib'
  25824. - fi
  25825. - ;;
  25826. -aix4* | aix5*)
  25827. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  25828. - test "$enable_shared" = yes && enable_static=no
  25829. - fi
  25830. - ;;
  25831. -esac
  25832. -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
  25833. -echo "${ECHO_T}$enable_shared" >&6; }
  25834. -
  25835. -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  25836. -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
  25837. -# Make sure either enable_shared or enable_static is yes.
  25838. -test "$enable_shared" = yes || enable_static=yes
  25839. -{ echo "$as_me:$LINENO: result: $enable_static" >&5
  25840. -echo "${ECHO_T}$enable_static" >&6; }
  25841. -
  25842. -GCC_F77="$G77"
  25843. -LD_F77="$LD"
  25844. -
  25845. -lt_prog_compiler_wl_F77=
  25846. -lt_prog_compiler_pic_F77=
  25847. -lt_prog_compiler_static_F77=
  25848. -
  25849. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  25850. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  25851. -
  25852. - if test "$GCC" = yes; then
  25853. - lt_prog_compiler_wl_F77='-Wl,'
  25854. - lt_prog_compiler_static_F77='-static'
  25855. -
  25856. - case $host_os in
  25857. - aix*)
  25858. - # All AIX code is PIC.
  25859. - if test "$host_cpu" = ia64; then
  25860. - # AIX 5 now supports IA64 processor
  25861. - lt_prog_compiler_static_F77='-Bstatic'
  25862. - fi
  25863. - ;;
  25864. -
  25865. - amigaos*)
  25866. - # FIXME: we need at least 68020 code to build shared libraries, but
  25867. - # adding the `-m68020' flag to GCC prevents building anything better,
  25868. - # like `-m68040'.
  25869. - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
  25870. - ;;
  25871. -
  25872. - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  25873. - # PIC is the default for these OSes.
  25874. - ;;
  25875. -
  25876. - mingw* | pw32* | os2*)
  25877. - # This hack is so that the source file can tell whether it is being
  25878. - # built for inclusion in a dll (and should export symbols for example).
  25879. - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
  25880. - ;;
  25881. -
  25882. - darwin* | rhapsody*)
  25883. - # PIC is the default on this platform
  25884. - # Common symbols not allowed in MH_DYLIB files
  25885. - lt_prog_compiler_pic_F77='-fno-common'
  25886. - ;;
  25887. -
  25888. - interix3*)
  25889. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  25890. - # Instead, we relocate shared libraries at runtime.
  25891. - ;;
  25892. -
  25893. - msdosdjgpp*)
  25894. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  25895. - # on systems that don't support them.
  25896. - lt_prog_compiler_can_build_shared_F77=no
  25897. - enable_shared=no
  25898. - ;;
  25899. -
  25900. - sysv4*MP*)
  25901. - if test -d /usr/nec; then
  25902. - lt_prog_compiler_pic_F77=-Kconform_pic
  25903. - fi
  25904. - ;;
  25905. -
  25906. - hpux*)
  25907. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  25908. - # not for PA HP-UX.
  25909. - case $host_cpu in
  25910. - hppa*64*|ia64*)
  25911. - # +Z the default
  25912. - ;;
  25913. - *)
  25914. - lt_prog_compiler_pic_F77='-fPIC'
  25915. - ;;
  25916. - esac
  25917. - ;;
  25918. -
  25919. - *)
  25920. - lt_prog_compiler_pic_F77='-fPIC'
  25921. - ;;
  25922. - esac
  25923. - else
  25924. - # PORTME Check for flag to pass linker flags through the system compiler.
  25925. - case $host_os in
  25926. - aix*)
  25927. - lt_prog_compiler_wl_F77='-Wl,'
  25928. - if test "$host_cpu" = ia64; then
  25929. - # AIX 5 now supports IA64 processor
  25930. - lt_prog_compiler_static_F77='-Bstatic'
  25931. - else
  25932. - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
  25933. - fi
  25934. - ;;
  25935. - darwin*)
  25936. - # PIC is the default on this platform
  25937. - # Common symbols not allowed in MH_DYLIB files
  25938. - case $cc_basename in
  25939. - xlc*)
  25940. - lt_prog_compiler_pic_F77='-qnocommon'
  25941. - lt_prog_compiler_wl_F77='-Wl,'
  25942. - ;;
  25943. - esac
  25944. - ;;
  25945. -
  25946. - mingw* | pw32* | os2*)
  25947. - # This hack is so that the source file can tell whether it is being
  25948. - # built for inclusion in a dll (and should export symbols for example).
  25949. - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
  25950. - ;;
  25951. -
  25952. - hpux9* | hpux10* | hpux11*)
  25953. - lt_prog_compiler_wl_F77='-Wl,'
  25954. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  25955. - # not for PA HP-UX.
  25956. - case $host_cpu in
  25957. - hppa*64*|ia64*)
  25958. - # +Z the default
  25959. - ;;
  25960. - *)
  25961. - lt_prog_compiler_pic_F77='+Z'
  25962. - ;;
  25963. - esac
  25964. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  25965. - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
  25966. - ;;
  25967. -
  25968. - irix5* | irix6* | nonstopux*)
  25969. - lt_prog_compiler_wl_F77='-Wl,'
  25970. - # PIC (with -KPIC) is the default.
  25971. - lt_prog_compiler_static_F77='-non_shared'
  25972. - ;;
  25973. -
  25974. - newsos6)
  25975. - lt_prog_compiler_pic_F77='-KPIC'
  25976. - lt_prog_compiler_static_F77='-Bstatic'
  25977. - ;;
  25978. -
  25979. - linux*)
  25980. - case $cc_basename in
  25981. - icc* | ecc*)
  25982. - lt_prog_compiler_wl_F77='-Wl,'
  25983. - lt_prog_compiler_pic_F77='-KPIC'
  25984. - lt_prog_compiler_static_F77='-static'
  25985. - ;;
  25986. - pgcc* | pgf77* | pgf90* | pgf95*)
  25987. - # Portland Group compilers (*not* the Pentium gcc compiler,
  25988. - # which looks to be a dead project)
  25989. - lt_prog_compiler_wl_F77='-Wl,'
  25990. - lt_prog_compiler_pic_F77='-fpic'
  25991. - lt_prog_compiler_static_F77='-Bstatic'
  25992. - ;;
  25993. - ccc*)
  25994. - lt_prog_compiler_wl_F77='-Wl,'
  25995. - # All Alpha code is PIC.
  25996. - lt_prog_compiler_static_F77='-non_shared'
  25997. - ;;
  25998. - esac
  25999. - ;;
  26000. -
  26001. - osf3* | osf4* | osf5*)
  26002. - lt_prog_compiler_wl_F77='-Wl,'
  26003. - # All OSF/1 code is PIC.
  26004. - lt_prog_compiler_static_F77='-non_shared'
  26005. - ;;
  26006. -
  26007. - solaris*)
  26008. - lt_prog_compiler_pic_F77='-KPIC'
  26009. - lt_prog_compiler_static_F77='-Bstatic'
  26010. - case $cc_basename in
  26011. - f77* | f90* | f95*)
  26012. - lt_prog_compiler_wl_F77='-Qoption ld ';;
  26013. - *)
  26014. - lt_prog_compiler_wl_F77='-Wl,';;
  26015. - esac
  26016. - ;;
  26017. -
  26018. - sunos4*)
  26019. - lt_prog_compiler_wl_F77='-Qoption ld '
  26020. - lt_prog_compiler_pic_F77='-PIC'
  26021. - lt_prog_compiler_static_F77='-Bstatic'
  26022. - ;;
  26023. -
  26024. - sysv4 | sysv4.2uw2* | sysv4.3*)
  26025. - lt_prog_compiler_wl_F77='-Wl,'
  26026. - lt_prog_compiler_pic_F77='-KPIC'
  26027. - lt_prog_compiler_static_F77='-Bstatic'
  26028. - ;;
  26029. -
  26030. - sysv4*MP*)
  26031. - if test -d /usr/nec ;then
  26032. - lt_prog_compiler_pic_F77='-Kconform_pic'
  26033. - lt_prog_compiler_static_F77='-Bstatic'
  26034. - fi
  26035. - ;;
  26036. -
  26037. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  26038. - lt_prog_compiler_wl_F77='-Wl,'
  26039. - lt_prog_compiler_pic_F77='-KPIC'
  26040. - lt_prog_compiler_static_F77='-Bstatic'
  26041. - ;;
  26042. -
  26043. - unicos*)
  26044. - lt_prog_compiler_wl_F77='-Wl,'
  26045. - lt_prog_compiler_can_build_shared_F77=no
  26046. - ;;
  26047. -
  26048. - uts4*)
  26049. - lt_prog_compiler_pic_F77='-pic'
  26050. - lt_prog_compiler_static_F77='-Bstatic'
  26051. - ;;
  26052. -
  26053. - *)
  26054. - lt_prog_compiler_can_build_shared_F77=no
  26055. - ;;
  26056. - esac
  26057. - fi
  26058. -
  26059. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
  26060. -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
  26061. -
  26062. -#
  26063. -# Check to make sure the PIC flag actually works.
  26064. -#
  26065. -if test -n "$lt_prog_compiler_pic_F77"; then
  26066. -
  26067. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
  26068. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
  26069. -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
  26070. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26071. -else
  26072. - lt_prog_compiler_pic_works_F77=no
  26073. - ac_outfile=conftest.$ac_objext
  26074. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  26075. - lt_compiler_flag="$lt_prog_compiler_pic_F77"
  26076. - # Insert the option either (1) after the last *FLAGS variable, or
  26077. - # (2) before a word containing "conftest.", or (3) at the end.
  26078. - # Note that $ac_compile itself does not contain backslashes and begins
  26079. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  26080. - # The option is referenced via a variable to avoid confusing sed.
  26081. - lt_compile=`echo "$ac_compile" | $SED \
  26082. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  26083. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  26084. - -e 's:$: $lt_compiler_flag:'`
  26085. - (eval echo "\"\$as_me:14529: $lt_compile\"" >&5)
  26086. - (eval "$lt_compile" 2>conftest.err)
  26087. - ac_status=$?
  26088. - cat conftest.err >&5
  26089. - echo "$as_me:14533: \$? = $ac_status" >&5
  26090. - if (exit $ac_status) && test -s "$ac_outfile"; then
  26091. - # The compiler can only warn and ignore the option if not recognized
  26092. - # So say no if there are warnings other than the usual output.
  26093. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  26094. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  26095. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  26096. - lt_prog_compiler_pic_works_F77=yes
  26097. - fi
  26098. - fi
  26099. - $rm conftest*
  26100. -
  26101. -fi
  26102. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
  26103. -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
  26104. -
  26105. -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
  26106. - case $lt_prog_compiler_pic_F77 in
  26107. - "" | " "*) ;;
  26108. - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
  26109. - esac
  26110. -else
  26111. - lt_prog_compiler_pic_F77=
  26112. - lt_prog_compiler_can_build_shared_F77=no
  26113. -fi
  26114. -
  26115. -fi
  26116. -case $host_os in
  26117. - # For platforms which do not support PIC, -DPIC is meaningless:
  26118. - *djgpp*)
  26119. - lt_prog_compiler_pic_F77=
  26120. - ;;
  26121. - *)
  26122. - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
  26123. - ;;
  26124. -esac
  26125. -
  26126. -#
  26127. -# Check to make sure the static flag actually works.
  26128. -#
  26129. -wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
  26130. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  26131. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  26132. -if test "${lt_prog_compiler_static_works_F77+set}" = set; then
  26133. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26134. -else
  26135. - lt_prog_compiler_static_works_F77=no
  26136. - save_LDFLAGS="$LDFLAGS"
  26137. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  26138. - printf "$lt_simple_link_test_code" > conftest.$ac_ext
  26139. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  26140. - # The linker can only warn and ignore the option if not recognized
  26141. - # So say no if there are warnings
  26142. - if test -s conftest.err; then
  26143. - # Append any errors to the config.log.
  26144. - cat conftest.err 1>&5
  26145. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  26146. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  26147. - if diff conftest.exp conftest.er2 >/dev/null; then
  26148. - lt_prog_compiler_static_works_F77=yes
  26149. - fi
  26150. - else
  26151. - lt_prog_compiler_static_works_F77=yes
  26152. - fi
  26153. - fi
  26154. - $rm conftest*
  26155. - LDFLAGS="$save_LDFLAGS"
  26156. -
  26157. -fi
  26158. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
  26159. -echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
  26160. -
  26161. -if test x"$lt_prog_compiler_static_works_F77" = xyes; then
  26162. - :
  26163. -else
  26164. - lt_prog_compiler_static_F77=
  26165. -fi
  26166. -
  26167. -
  26168. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  26169. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  26170. -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
  26171. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26172. -else
  26173. - lt_cv_prog_compiler_c_o_F77=no
  26174. - $rm -r conftest 2>/dev/null
  26175. - mkdir conftest
  26176. - cd conftest
  26177. - mkdir out
  26178. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  26179. -
  26180. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  26181. - # Insert the option either (1) after the last *FLAGS variable, or
  26182. - # (2) before a word containing "conftest.", or (3) at the end.
  26183. - # Note that $ac_compile itself does not contain backslashes and begins
  26184. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  26185. - lt_compile=`echo "$ac_compile" | $SED \
  26186. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  26187. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  26188. - -e 's:$: $lt_compiler_flag:'`
  26189. - (eval echo "\"\$as_me:14633: $lt_compile\"" >&5)
  26190. - (eval "$lt_compile" 2>out/conftest.err)
  26191. - ac_status=$?
  26192. - cat out/conftest.err >&5
  26193. - echo "$as_me:14637: \$? = $ac_status" >&5
  26194. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  26195. - then
  26196. - # The compiler can only warn and ignore the option if not recognized
  26197. - # So say no if there are warnings
  26198. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  26199. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  26200. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  26201. - lt_cv_prog_compiler_c_o_F77=yes
  26202. - fi
  26203. - fi
  26204. - chmod u+w . 2>&5
  26205. - $rm conftest*
  26206. - # SGI C++ compiler will create directory out/ii_files/ for
  26207. - # template instantiation
  26208. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  26209. - $rm out/* && rmdir out
  26210. - cd ..
  26211. - rmdir conftest
  26212. - $rm conftest*
  26213. -
  26214. -fi
  26215. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
  26216. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
  26217. -
  26218. -
  26219. -hard_links="nottested"
  26220. -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
  26221. - # do not overwrite the value of need_locks provided by the user
  26222. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  26223. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  26224. - hard_links=yes
  26225. - $rm conftest*
  26226. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  26227. - touch conftest.a
  26228. - ln conftest.a conftest.b 2>&5 || hard_links=no
  26229. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  26230. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  26231. -echo "${ECHO_T}$hard_links" >&6; }
  26232. - if test "$hard_links" = no; then
  26233. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  26234. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  26235. - need_locks=warn
  26236. - fi
  26237. -else
  26238. - need_locks=no
  26239. -fi
  26240. -
  26241. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  26242. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  26243. -
  26244. - runpath_var=
  26245. - allow_undefined_flag_F77=
  26246. - enable_shared_with_static_runtimes_F77=no
  26247. - archive_cmds_F77=
  26248. - archive_expsym_cmds_F77=
  26249. - old_archive_From_new_cmds_F77=
  26250. - old_archive_from_expsyms_cmds_F77=
  26251. - export_dynamic_flag_spec_F77=
  26252. - whole_archive_flag_spec_F77=
  26253. - thread_safe_flag_spec_F77=
  26254. - hardcode_libdir_flag_spec_F77=
  26255. - hardcode_libdir_flag_spec_ld_F77=
  26256. - hardcode_libdir_separator_F77=
  26257. - hardcode_direct_F77=no
  26258. - hardcode_minus_L_F77=no
  26259. - hardcode_shlibpath_var_F77=unsupported
  26260. - link_all_deplibs_F77=unknown
  26261. - hardcode_automatic_F77=no
  26262. - module_cmds_F77=
  26263. - module_expsym_cmds_F77=
  26264. - always_export_symbols_F77=no
  26265. - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  26266. - # include_expsyms should be a list of space-separated symbols to be *always*
  26267. - # included in the symbol list
  26268. - include_expsyms_F77=
  26269. - # exclude_expsyms can be an extended regexp of symbols to exclude
  26270. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  26271. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  26272. - # as well as any symbol that contains `d'.
  26273. - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
  26274. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  26275. - # platforms (ab)use it in PIC code, but their linkers get confused if
  26276. - # the symbol is explicitly referenced. Since portable code cannot
  26277. - # rely on this symbol name, it's probably fine to never include it in
  26278. - # preloaded symbol tables.
  26279. - extract_expsyms_cmds=
  26280. - # Just being paranoid about ensuring that cc_basename is set.
  26281. - for cc_temp in $compiler""; do
  26282. - case $cc_temp in
  26283. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  26284. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  26285. - \-*) ;;
  26286. - *) break;;
  26287. - esac
  26288. -done
  26289. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  26290. -
  26291. - case $host_os in
  26292. - cygwin* | mingw* | pw32*)
  26293. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  26294. - # When not using gcc, we currently assume that we are using
  26295. - # Microsoft Visual C++.
  26296. - if test "$GCC" != yes; then
  26297. - with_gnu_ld=no
  26298. - fi
  26299. - ;;
  26300. - interix*)
  26301. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  26302. - with_gnu_ld=yes
  26303. - ;;
  26304. - openbsd*)
  26305. - with_gnu_ld=no
  26306. - ;;
  26307. - esac
  26308. -
  26309. - ld_shlibs_F77=yes
  26310. - if test "$with_gnu_ld" = yes; then
  26311. - # If archive_cmds runs LD, not CC, wlarc should be empty
  26312. - wlarc='${wl}'
  26313. -
  26314. - # Set some defaults for GNU ld with shared library support. These
  26315. - # are reset later if shared libraries are not supported. Putting them
  26316. - # here allows them to be overridden if necessary.
  26317. - runpath_var=LD_RUN_PATH
  26318. - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
  26319. - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
  26320. - # ancient GNU ld didn't support --whole-archive et. al.
  26321. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  26322. - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  26323. - else
  26324. - whole_archive_flag_spec_F77=
  26325. - fi
  26326. - supports_anon_versioning=no
  26327. - case `$LD -v 2>/dev/null` in
  26328. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  26329. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  26330. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  26331. - *\ 2.11.*) ;; # other 2.11 versions
  26332. - *) supports_anon_versioning=yes ;;
  26333. - esac
  26334. -
  26335. - # See if GNU ld supports shared libraries.
  26336. - case $host_os in
  26337. - aix3* | aix4* | aix5*)
  26338. - # On AIX/PPC, the GNU linker is very broken
  26339. - if test "$host_cpu" != ia64; then
  26340. - ld_shlibs_F77=no
  26341. - cat <<EOF 1>&2
  26342. -
  26343. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  26344. -*** to be unable to reliably create shared libraries on AIX.
  26345. -*** Therefore, libtool is disabling shared libraries support. If you
  26346. -*** really care for shared libraries, you may want to modify your PATH
  26347. -*** so that a non-GNU linker is found, and then restart.
  26348. -
  26349. -EOF
  26350. - fi
  26351. - ;;
  26352. -
  26353. - amigaos*)
  26354. - archive_cmds_F77='$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)'
  26355. - hardcode_libdir_flag_spec_F77='-L$libdir'
  26356. - hardcode_minus_L_F77=yes
  26357. -
  26358. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  26359. - # that the semantics of dynamic libraries on AmigaOS, at least up
  26360. - # to version 4, is to share data among multiple programs linked
  26361. - # with the same dynamic library. Since this doesn't match the
  26362. - # behavior of shared libraries on other platforms, we can't use
  26363. - # them.
  26364. - ld_shlibs_F77=no
  26365. - ;;
  26366. -
  26367. - beos*)
  26368. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  26369. - allow_undefined_flag_F77=unsupported
  26370. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  26371. - # support --undefined. This deserves some investigation. FIXME
  26372. - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26373. - else
  26374. - ld_shlibs_F77=no
  26375. - fi
  26376. - ;;
  26377. -
  26378. - cygwin* | mingw* | pw32*)
  26379. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
  26380. - # as there is no search path for DLLs.
  26381. - hardcode_libdir_flag_spec_F77='-L$libdir'
  26382. - allow_undefined_flag_F77=unsupported
  26383. - always_export_symbols_F77=no
  26384. - enable_shared_with_static_runtimes_F77=yes
  26385. - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  26386. -
  26387. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  26388. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  26389. - # If the export-symbols file already is a .def file (1st line
  26390. - # is EXPORTS), use it as is; otherwise, prepend...
  26391. - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  26392. - cp $export_symbols $output_objdir/$soname.def;
  26393. - else
  26394. - echo EXPORTS > $output_objdir/$soname.def;
  26395. - cat $export_symbols >> $output_objdir/$soname.def;
  26396. - fi~
  26397. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  26398. - else
  26399. - ld_shlibs_F77=no
  26400. - fi
  26401. - ;;
  26402. -
  26403. - interix3*)
  26404. - hardcode_direct_F77=no
  26405. - hardcode_shlibpath_var_F77=no
  26406. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  26407. - export_dynamic_flag_spec_F77='${wl}-E'
  26408. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  26409. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  26410. - # default) and relocated if they conflict, which is a slow very memory
  26411. - # consuming and fragmenting process. To avoid this, we pick a random,
  26412. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  26413. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  26414. - archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  26415. - archive_expsym_cmds_F77='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'
  26416. - ;;
  26417. -
  26418. - linux*)
  26419. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  26420. - tmp_addflag=
  26421. - case $cc_basename,$host_cpu in
  26422. - pgcc*) # Portland Group C compiler
  26423. - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  26424. - tmp_addflag=' $pic_flag'
  26425. - ;;
  26426. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  26427. - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  26428. - tmp_addflag=' $pic_flag -Mnomain' ;;
  26429. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  26430. - tmp_addflag=' -i_dynamic' ;;
  26431. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  26432. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  26433. - ifc* | ifort*) # Intel Fortran compiler
  26434. - tmp_addflag=' -nofor_main' ;;
  26435. - esac
  26436. - archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26437. -
  26438. - if test $supports_anon_versioning = yes; then
  26439. - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
  26440. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  26441. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  26442. - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  26443. - fi
  26444. - else
  26445. - ld_shlibs_F77=no
  26446. - fi
  26447. - ;;
  26448. -
  26449. - netbsd*)
  26450. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  26451. - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  26452. - wlarc=
  26453. - else
  26454. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26455. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26456. - fi
  26457. - ;;
  26458. -
  26459. - solaris*)
  26460. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  26461. - ld_shlibs_F77=no
  26462. - cat <<EOF 1>&2
  26463. -
  26464. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  26465. -*** create shared libraries on Solaris systems. Therefore, libtool
  26466. -*** is disabling shared libraries support. We urge you to upgrade GNU
  26467. -*** binutils to release 2.9.1 or newer. Another option is to modify
  26468. -*** your PATH or compiler configuration so that the native linker is
  26469. -*** used, and then restart.
  26470. -
  26471. -EOF
  26472. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  26473. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26474. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26475. - else
  26476. - ld_shlibs_F77=no
  26477. - fi
  26478. - ;;
  26479. -
  26480. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  26481. - case `$LD -v 2>&1` in
  26482. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  26483. - ld_shlibs_F77=no
  26484. - cat <<_LT_EOF 1>&2
  26485. -
  26486. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  26487. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  26488. -*** is disabling shared libraries support. We urge you to upgrade GNU
  26489. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  26490. -*** your PATH or compiler configuration so that the native linker is
  26491. -*** used, and then restart.
  26492. -
  26493. -_LT_EOF
  26494. - ;;
  26495. - *)
  26496. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  26497. - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  26498. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  26499. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  26500. - else
  26501. - ld_shlibs_F77=no
  26502. - fi
  26503. - ;;
  26504. - esac
  26505. - ;;
  26506. -
  26507. - sunos4*)
  26508. - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  26509. - wlarc=
  26510. - hardcode_direct_F77=yes
  26511. - hardcode_shlibpath_var_F77=no
  26512. - ;;
  26513. -
  26514. - *)
  26515. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  26516. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  26517. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  26518. - else
  26519. - ld_shlibs_F77=no
  26520. - fi
  26521. - ;;
  26522. - esac
  26523. -
  26524. - if test "$ld_shlibs_F77" = no; then
  26525. - runpath_var=
  26526. - hardcode_libdir_flag_spec_F77=
  26527. - export_dynamic_flag_spec_F77=
  26528. - whole_archive_flag_spec_F77=
  26529. - fi
  26530. - else
  26531. - # PORTME fill in a description of your system's linker (not GNU ld)
  26532. - case $host_os in
  26533. - aix3*)
  26534. - allow_undefined_flag_F77=unsupported
  26535. - always_export_symbols_F77=yes
  26536. - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  26537. - # Note: this linker hardcodes the directories in LIBPATH if there
  26538. - # are no directories specified by -L.
  26539. - hardcode_minus_L_F77=yes
  26540. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  26541. - # Neither direct hardcoding nor static linking is supported with a
  26542. - # broken collect2.
  26543. - hardcode_direct_F77=unsupported
  26544. - fi
  26545. - ;;
  26546. -
  26547. - aix4* | aix5*)
  26548. - if test "$host_cpu" = ia64; then
  26549. - # On IA64, the linker does run time linking by default, so we don't
  26550. - # have to do anything special.
  26551. - aix_use_runtimelinking=no
  26552. - exp_sym_flag='-Bexport'
  26553. - no_entry_flag=""
  26554. - else
  26555. - # If we're using GNU nm, then we don't want the "-C" option.
  26556. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  26557. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  26558. - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  26559. - else
  26560. - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  26561. - fi
  26562. - aix_use_runtimelinking=no
  26563. -
  26564. - # Test if we are trying to use run time linking or normal
  26565. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  26566. - # need to do runtime linking.
  26567. - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  26568. - for ld_flag in $LDFLAGS; do
  26569. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  26570. - aix_use_runtimelinking=yes
  26571. - break
  26572. - fi
  26573. - done
  26574. - ;;
  26575. - esac
  26576. -
  26577. - exp_sym_flag='-bexport'
  26578. - no_entry_flag='-bnoentry'
  26579. - fi
  26580. -
  26581. - # When large executables or shared objects are built, AIX ld can
  26582. - # have problems creating the table of contents. If linking a library
  26583. - # or program results in "error TOC overflow" add -mminimal-toc to
  26584. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  26585. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  26586. -
  26587. - archive_cmds_F77=''
  26588. - hardcode_direct_F77=yes
  26589. - hardcode_libdir_separator_F77=':'
  26590. - link_all_deplibs_F77=yes
  26591. -
  26592. - if test "$GCC" = yes; then
  26593. - case $host_os in aix4.[012]|aix4.[012].*)
  26594. - # We only want to do this on AIX 4.2 and lower, the check
  26595. - # below for broken collect2 doesn't work under 4.3+
  26596. - collect2name=`${CC} -print-prog-name=collect2`
  26597. - if test -f "$collect2name" && \
  26598. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  26599. - then
  26600. - # We have reworked collect2
  26601. - hardcode_direct_F77=yes
  26602. - else
  26603. - # We have old collect2
  26604. - hardcode_direct_F77=unsupported
  26605. - # It fails to find uninstalled libraries when the uninstalled
  26606. - # path is not listed in the libpath. Setting hardcode_minus_L
  26607. - # to unsupported forces relinking
  26608. - hardcode_minus_L_F77=yes
  26609. - hardcode_libdir_flag_spec_F77='-L$libdir'
  26610. - hardcode_libdir_separator_F77=
  26611. - fi
  26612. - ;;
  26613. - esac
  26614. - shared_flag='-shared'
  26615. - if test "$aix_use_runtimelinking" = yes; then
  26616. - shared_flag="$shared_flag "'${wl}-G'
  26617. - fi
  26618. - else
  26619. - # not using gcc
  26620. - if test "$host_cpu" = ia64; then
  26621. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  26622. - # chokes on -Wl,-G. The following line is correct:
  26623. - shared_flag='-G'
  26624. - else
  26625. - if test "$aix_use_runtimelinking" = yes; then
  26626. - shared_flag='${wl}-G'
  26627. - else
  26628. - shared_flag='${wl}-bM:SRE'
  26629. - fi
  26630. - fi
  26631. - fi
  26632. -
  26633. - # It seems that -bexpall does not export symbols beginning with
  26634. - # underscore (_), so it is better to generate a list of symbols to export.
  26635. - always_export_symbols_F77=yes
  26636. - if test "$aix_use_runtimelinking" = yes; then
  26637. - # Warning - without using the other runtime loading flags (-brtl),
  26638. - # -berok will link without error, but may produce a broken library.
  26639. - allow_undefined_flag_F77='-berok'
  26640. - # Determine the default libpath from the value encoded in an empty executable.
  26641. - cat >conftest.$ac_ext <<_ACEOF
  26642. - program main
  26643. -
  26644. - end
  26645. -_ACEOF
  26646. -rm -f conftest.$ac_objext conftest$ac_exeext
  26647. -if { (ac_try="$ac_link"
  26648. -case "(($ac_try" in
  26649. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26650. - *) ac_try_echo=$ac_try;;
  26651. -esac
  26652. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26653. - (eval "$ac_link") 2>conftest.er1
  26654. - ac_status=$?
  26655. - grep -v '^ *+' conftest.er1 >conftest.err
  26656. - rm -f conftest.er1
  26657. - cat conftest.err >&5
  26658. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26659. - (exit $ac_status); } &&
  26660. - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  26661. - { (case "(($ac_try" in
  26662. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26663. - *) ac_try_echo=$ac_try;;
  26664. -esac
  26665. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26666. - (eval "$ac_try") 2>&5
  26667. - ac_status=$?
  26668. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26669. - (exit $ac_status); }; } &&
  26670. - { ac_try='test -s conftest$ac_exeext'
  26671. - { (case "(($ac_try" in
  26672. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26673. - *) ac_try_echo=$ac_try;;
  26674. -esac
  26675. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26676. - (eval "$ac_try") 2>&5
  26677. - ac_status=$?
  26678. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26679. - (exit $ac_status); }; }; then
  26680. -
  26681. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  26682. -}'`
  26683. -# Check for a 64-bit object if we didn't find anything.
  26684. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  26685. -}'`; fi
  26686. -else
  26687. - echo "$as_me: failed program was:" >&5
  26688. -sed 's/^/| /' conftest.$ac_ext >&5
  26689. -
  26690. -
  26691. -fi
  26692. -
  26693. -rm -f core conftest.err conftest.$ac_objext \
  26694. - conftest$ac_exeext conftest.$ac_ext
  26695. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  26696. -
  26697. - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  26698. - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  26699. - else
  26700. - if test "$host_cpu" = ia64; then
  26701. - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
  26702. - allow_undefined_flag_F77="-z nodefs"
  26703. - archive_expsym_cmds_F77="\$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"
  26704. - else
  26705. - # Determine the default libpath from the value encoded in an empty executable.
  26706. - cat >conftest.$ac_ext <<_ACEOF
  26707. - program main
  26708. -
  26709. - end
  26710. -_ACEOF
  26711. -rm -f conftest.$ac_objext conftest$ac_exeext
  26712. -if { (ac_try="$ac_link"
  26713. -case "(($ac_try" in
  26714. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26715. - *) ac_try_echo=$ac_try;;
  26716. -esac
  26717. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26718. - (eval "$ac_link") 2>conftest.er1
  26719. - ac_status=$?
  26720. - grep -v '^ *+' conftest.er1 >conftest.err
  26721. - rm -f conftest.er1
  26722. - cat conftest.err >&5
  26723. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26724. - (exit $ac_status); } &&
  26725. - { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
  26726. - { (case "(($ac_try" in
  26727. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26728. - *) ac_try_echo=$ac_try;;
  26729. -esac
  26730. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26731. - (eval "$ac_try") 2>&5
  26732. - ac_status=$?
  26733. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26734. - (exit $ac_status); }; } &&
  26735. - { ac_try='test -s conftest$ac_exeext'
  26736. - { (case "(($ac_try" in
  26737. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26738. - *) ac_try_echo=$ac_try;;
  26739. -esac
  26740. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26741. - (eval "$ac_try") 2>&5
  26742. - ac_status=$?
  26743. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26744. - (exit $ac_status); }; }; then
  26745. -
  26746. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  26747. -}'`
  26748. -# Check for a 64-bit object if we didn't find anything.
  26749. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  26750. -}'`; fi
  26751. -else
  26752. - echo "$as_me: failed program was:" >&5
  26753. -sed 's/^/| /' conftest.$ac_ext >&5
  26754. -
  26755. -
  26756. -fi
  26757. -
  26758. -rm -f core conftest.err conftest.$ac_objext \
  26759. - conftest$ac_exeext conftest.$ac_ext
  26760. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  26761. -
  26762. - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  26763. - # Warning - without using the other run time loading flags,
  26764. - # -berok will link without error, but may produce a broken library.
  26765. - no_undefined_flag_F77=' ${wl}-bernotok'
  26766. - allow_undefined_flag_F77=' ${wl}-berok'
  26767. - # Exported symbols can be pulled into shared objects from archives
  26768. - whole_archive_flag_spec_F77='$convenience'
  26769. - archive_cmds_need_lc_F77=yes
  26770. - # This is similar to how AIX traditionally builds its shared libraries.
  26771. - archive_expsym_cmds_F77="\$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'
  26772. - fi
  26773. - fi
  26774. - ;;
  26775. -
  26776. - amigaos*)
  26777. - archive_cmds_F77='$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)'
  26778. - hardcode_libdir_flag_spec_F77='-L$libdir'
  26779. - hardcode_minus_L_F77=yes
  26780. - # see comment about different semantics on the GNU ld section
  26781. - ld_shlibs_F77=no
  26782. - ;;
  26783. -
  26784. - bsdi[45]*)
  26785. - export_dynamic_flag_spec_F77=-rdynamic
  26786. - ;;
  26787. -
  26788. - cygwin* | mingw* | pw32*)
  26789. - # When not using gcc, we currently assume that we are using
  26790. - # Microsoft Visual C++.
  26791. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  26792. - # no search path for DLLs.
  26793. - hardcode_libdir_flag_spec_F77=' '
  26794. - allow_undefined_flag_F77=unsupported
  26795. - # Tell ltmain to make .lib files, not .a files.
  26796. - libext=lib
  26797. - # Tell ltmain to make .dll files, not .so files.
  26798. - shrext_cmds=".dll"
  26799. - # FIXME: Setting linknames here is a bad hack.
  26800. - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  26801. - # The linker will automatically build a .lib file if we build a DLL.
  26802. - old_archive_From_new_cmds_F77='true'
  26803. - # FIXME: Should let the user specify the lib program.
  26804. - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
  26805. - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
  26806. - enable_shared_with_static_runtimes_F77=yes
  26807. - ;;
  26808. -
  26809. - darwin* | rhapsody*)
  26810. - case $host_os in
  26811. - rhapsody* | darwin1.[012])
  26812. - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
  26813. - ;;
  26814. - *) # Darwin 1.3 on
  26815. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  26816. - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  26817. - else
  26818. - case ${MACOSX_DEPLOYMENT_TARGET} in
  26819. - 10.[012])
  26820. - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  26821. - ;;
  26822. - 10.*)
  26823. - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
  26824. - ;;
  26825. - esac
  26826. - fi
  26827. - ;;
  26828. - esac
  26829. - archive_cmds_need_lc_F77=no
  26830. - hardcode_direct_F77=no
  26831. - hardcode_automatic_F77=yes
  26832. - hardcode_shlibpath_var_F77=unsupported
  26833. - whole_archive_flag_spec_F77=''
  26834. - link_all_deplibs_F77=yes
  26835. - if test "$GCC" = yes ; then
  26836. - output_verbose_link_cmd='echo'
  26837. - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  26838. - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  26839. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  26840. - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  26841. - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  26842. - else
  26843. - case $cc_basename in
  26844. - xlc*)
  26845. - output_verbose_link_cmd='echo'
  26846. - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  26847. - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  26848. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  26849. - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  26850. - module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  26851. - ;;
  26852. - *)
  26853. - ld_shlibs_F77=no
  26854. - ;;
  26855. - esac
  26856. - fi
  26857. - ;;
  26858. -
  26859. - dgux*)
  26860. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  26861. - hardcode_libdir_flag_spec_F77='-L$libdir'
  26862. - hardcode_shlibpath_var_F77=no
  26863. - ;;
  26864. -
  26865. - freebsd1*)
  26866. - ld_shlibs_F77=no
  26867. - ;;
  26868. -
  26869. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  26870. - # support. Future versions do this automatically, but an explicit c++rt0.o
  26871. - # does not break anything, and helps significantly (at the cost of a little
  26872. - # extra space).
  26873. - freebsd2.2*)
  26874. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  26875. - hardcode_libdir_flag_spec_F77='-R$libdir'
  26876. - hardcode_direct_F77=yes
  26877. - hardcode_shlibpath_var_F77=no
  26878. - ;;
  26879. -
  26880. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  26881. - freebsd2*)
  26882. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  26883. - hardcode_direct_F77=yes
  26884. - hardcode_minus_L_F77=yes
  26885. - hardcode_shlibpath_var_F77=no
  26886. - ;;
  26887. -
  26888. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  26889. - freebsd* | kfreebsd*-gnu | dragonfly*)
  26890. - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  26891. - hardcode_libdir_flag_spec_F77='-R$libdir'
  26892. - hardcode_direct_F77=yes
  26893. - hardcode_shlibpath_var_F77=no
  26894. - ;;
  26895. -
  26896. - hpux9*)
  26897. - if test "$GCC" = yes; then
  26898. - archive_cmds_F77='$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'
  26899. - else
  26900. - archive_cmds_F77='$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'
  26901. - fi
  26902. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  26903. - hardcode_libdir_separator_F77=:
  26904. - hardcode_direct_F77=yes
  26905. -
  26906. - # hardcode_minus_L: Not really in the search PATH,
  26907. - # but as the default location of the library.
  26908. - hardcode_minus_L_F77=yes
  26909. - export_dynamic_flag_spec_F77='${wl}-E'
  26910. - ;;
  26911. -
  26912. - hpux10*)
  26913. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  26914. - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  26915. - else
  26916. - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  26917. - fi
  26918. - if test "$with_gnu_ld" = no; then
  26919. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  26920. - hardcode_libdir_separator_F77=:
  26921. -
  26922. - hardcode_direct_F77=yes
  26923. - export_dynamic_flag_spec_F77='${wl}-E'
  26924. -
  26925. - # hardcode_minus_L: Not really in the search PATH,
  26926. - # but as the default location of the library.
  26927. - hardcode_minus_L_F77=yes
  26928. - fi
  26929. - ;;
  26930. -
  26931. - hpux11*)
  26932. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  26933. - case $host_cpu in
  26934. - hppa*64*)
  26935. - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  26936. - ;;
  26937. - ia64*)
  26938. - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  26939. - ;;
  26940. - *)
  26941. - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  26942. - ;;
  26943. - esac
  26944. - else
  26945. - case $host_cpu in
  26946. - hppa*64*)
  26947. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  26948. - ;;
  26949. - ia64*)
  26950. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  26951. - ;;
  26952. - *)
  26953. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  26954. - ;;
  26955. - esac
  26956. - fi
  26957. - if test "$with_gnu_ld" = no; then
  26958. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  26959. - hardcode_libdir_separator_F77=:
  26960. -
  26961. - case $host_cpu in
  26962. - hppa*64*|ia64*)
  26963. - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
  26964. - hardcode_direct_F77=no
  26965. - hardcode_shlibpath_var_F77=no
  26966. - ;;
  26967. - *)
  26968. - hardcode_direct_F77=yes
  26969. - export_dynamic_flag_spec_F77='${wl}-E'
  26970. -
  26971. - # hardcode_minus_L: Not really in the search PATH,
  26972. - # but as the default location of the library.
  26973. - hardcode_minus_L_F77=yes
  26974. - ;;
  26975. - esac
  26976. - fi
  26977. - ;;
  26978. -
  26979. - irix5* | irix6* | nonstopux*)
  26980. - if test "$GCC" = yes; then
  26981. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  26982. - else
  26983. - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  26984. - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
  26985. - fi
  26986. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  26987. - hardcode_libdir_separator_F77=:
  26988. - link_all_deplibs_F77=yes
  26989. - ;;
  26990. -
  26991. - netbsd*)
  26992. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  26993. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  26994. - else
  26995. - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  26996. - fi
  26997. - hardcode_libdir_flag_spec_F77='-R$libdir'
  26998. - hardcode_direct_F77=yes
  26999. - hardcode_shlibpath_var_F77=no
  27000. - ;;
  27001. -
  27002. - newsos6)
  27003. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27004. - hardcode_direct_F77=yes
  27005. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  27006. - hardcode_libdir_separator_F77=:
  27007. - hardcode_shlibpath_var_F77=no
  27008. - ;;
  27009. -
  27010. - openbsd*)
  27011. - hardcode_direct_F77=yes
  27012. - hardcode_shlibpath_var_F77=no
  27013. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  27014. - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  27015. - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  27016. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  27017. - export_dynamic_flag_spec_F77='${wl}-E'
  27018. - else
  27019. - case $host_os in
  27020. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  27021. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  27022. - hardcode_libdir_flag_spec_F77='-R$libdir'
  27023. - ;;
  27024. - *)
  27025. - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  27026. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  27027. - ;;
  27028. - esac
  27029. - fi
  27030. - ;;
  27031. -
  27032. - os2*)
  27033. - hardcode_libdir_flag_spec_F77='-L$libdir'
  27034. - hardcode_minus_L_F77=yes
  27035. - allow_undefined_flag_F77=unsupported
  27036. - archive_cmds_F77='$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'
  27037. - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  27038. - ;;
  27039. -
  27040. - osf3*)
  27041. - if test "$GCC" = yes; then
  27042. - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
  27043. - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  27044. - else
  27045. - allow_undefined_flag_F77=' -expect_unresolved \*'
  27046. - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  27047. - fi
  27048. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  27049. - hardcode_libdir_separator_F77=:
  27050. - ;;
  27051. -
  27052. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  27053. - if test "$GCC" = yes; then
  27054. - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
  27055. - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  27056. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  27057. - else
  27058. - allow_undefined_flag_F77=' -expect_unresolved \*'
  27059. - archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  27060. - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  27061. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  27062. -
  27063. - # Both c and cxx compiler support -rpath directly
  27064. - hardcode_libdir_flag_spec_F77='-rpath $libdir'
  27065. - fi
  27066. - hardcode_libdir_separator_F77=:
  27067. - ;;
  27068. -
  27069. - solaris*)
  27070. - no_undefined_flag_F77=' -z text'
  27071. - if test "$GCC" = yes; then
  27072. - wlarc='${wl}'
  27073. - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27074. - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  27075. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  27076. - else
  27077. - wlarc=''
  27078. - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27079. - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  27080. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  27081. - fi
  27082. - hardcode_libdir_flag_spec_F77='-R$libdir'
  27083. - hardcode_shlibpath_var_F77=no
  27084. - case $host_os in
  27085. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  27086. - *)
  27087. - # The compiler driver will combine linker options so we
  27088. - # cannot just pass the convience library names through
  27089. - # without $wl, iff we do not link with $LD.
  27090. - # Luckily, gcc supports the same syntax we need for Sun Studio.
  27091. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  27092. - case $wlarc in
  27093. - '')
  27094. - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
  27095. - *)
  27096. - whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
  27097. - esac ;;
  27098. - esac
  27099. - link_all_deplibs_F77=yes
  27100. - ;;
  27101. -
  27102. - sunos4*)
  27103. - if test "x$host_vendor" = xsequent; then
  27104. - # Use $CC to link under sequent, because it throws in some extra .o
  27105. - # files that make .init and .fini sections work.
  27106. - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  27107. - else
  27108. - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  27109. - fi
  27110. - hardcode_libdir_flag_spec_F77='-L$libdir'
  27111. - hardcode_direct_F77=yes
  27112. - hardcode_minus_L_F77=yes
  27113. - hardcode_shlibpath_var_F77=no
  27114. - ;;
  27115. -
  27116. - sysv4)
  27117. - case $host_vendor in
  27118. - sni)
  27119. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27120. - hardcode_direct_F77=yes # is this really true???
  27121. - ;;
  27122. - siemens)
  27123. - ## LD is ld it makes a PLAMLIB
  27124. - ## CC just makes a GrossModule.
  27125. - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  27126. - reload_cmds_F77='$CC -r -o $output$reload_objs'
  27127. - hardcode_direct_F77=no
  27128. - ;;
  27129. - motorola)
  27130. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27131. - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
  27132. - ;;
  27133. - esac
  27134. - runpath_var='LD_RUN_PATH'
  27135. - hardcode_shlibpath_var_F77=no
  27136. - ;;
  27137. -
  27138. - sysv4.3*)
  27139. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27140. - hardcode_shlibpath_var_F77=no
  27141. - export_dynamic_flag_spec_F77='-Bexport'
  27142. - ;;
  27143. -
  27144. - sysv4*MP*)
  27145. - if test -d /usr/nec; then
  27146. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27147. - hardcode_shlibpath_var_F77=no
  27148. - runpath_var=LD_RUN_PATH
  27149. - hardcode_runpath_var=yes
  27150. - ld_shlibs_F77=yes
  27151. - fi
  27152. - ;;
  27153. -
  27154. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
  27155. - no_undefined_flag_F77='${wl}-z,text'
  27156. - archive_cmds_need_lc_F77=no
  27157. - hardcode_shlibpath_var_F77=no
  27158. - runpath_var='LD_RUN_PATH'
  27159. -
  27160. - if test "$GCC" = yes; then
  27161. - archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27162. - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27163. - else
  27164. - archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27165. - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  27166. - fi
  27167. - ;;
  27168. -
  27169. - sysv5* | sco3.2v5* | sco5v6*)
  27170. - # Note: We can NOT use -z defs as we might desire, because we do not
  27171. - # link with -lc, and that would cause any symbols used from libc to
  27172. - # always be unresolved, which means just about no library would
  27173. - # ever link correctly. If we're not using GNU ld we use -z text
  27174. - # though, which does catch some bad symbols but isn't as heavy-handed
  27175. - # as -z defs.
  27176. - no_undefined_flag_F77='${wl}-z,text'
  27177. - allow_undefined_flag_F77='${wl}-z,nodefs'
  27178. - archive_cmds_need_lc_F77=no
  27179. - hardcode_shlibpath_var_F77=no
  27180. - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  27181. - hardcode_libdir_separator_F77=':'
  27182. - link_all_deplibs_F77=yes
  27183. - export_dynamic_flag_spec_F77='${wl}-Bexport'
  27184. - runpath_var='LD_RUN_PATH'
  27185. -
  27186. - if test "$GCC" = yes; then
  27187. - archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27188. - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27189. - else
  27190. - archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27191. - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  27192. - fi
  27193. - ;;
  27194. -
  27195. - uts4*)
  27196. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  27197. - hardcode_libdir_flag_spec_F77='-L$libdir'
  27198. - hardcode_shlibpath_var_F77=no
  27199. - ;;
  27200. -
  27201. - *)
  27202. - ld_shlibs_F77=no
  27203. - ;;
  27204. - esac
  27205. - fi
  27206. -
  27207. -{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
  27208. -echo "${ECHO_T}$ld_shlibs_F77" >&6; }
  27209. -test "$ld_shlibs_F77" = no && can_build_shared=no
  27210. -
  27211. -#
  27212. -# Do we need to explicitly link libc?
  27213. -#
  27214. -case "x$archive_cmds_need_lc_F77" in
  27215. -x|xyes)
  27216. - # Assume -lc should be added
  27217. - archive_cmds_need_lc_F77=yes
  27218. -
  27219. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  27220. - case $archive_cmds_F77 in
  27221. - *'~'*)
  27222. - # FIXME: we may have to deal with multi-command sequences.
  27223. - ;;
  27224. - '$CC '*)
  27225. - # Test whether the compiler implicitly links with -lc since on some
  27226. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  27227. - # to ld, don't add -lc before -lgcc.
  27228. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  27229. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  27230. - $rm conftest*
  27231. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  27232. -
  27233. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  27234. - (eval $ac_compile) 2>&5
  27235. - ac_status=$?
  27236. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27237. - (exit $ac_status); } 2>conftest.err; then
  27238. - soname=conftest
  27239. - lib=conftest
  27240. - libobjs=conftest.$ac_objext
  27241. - deplibs=
  27242. - wl=$lt_prog_compiler_wl_F77
  27243. - pic_flag=$lt_prog_compiler_pic_F77
  27244. - compiler_flags=-v
  27245. - linker_flags=-v
  27246. - verstring=
  27247. - output_objdir=.
  27248. - libname=conftest
  27249. - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
  27250. - allow_undefined_flag_F77=
  27251. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  27252. - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  27253. - ac_status=$?
  27254. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27255. - (exit $ac_status); }
  27256. - then
  27257. - archive_cmds_need_lc_F77=no
  27258. - else
  27259. - archive_cmds_need_lc_F77=yes
  27260. - fi
  27261. - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
  27262. - else
  27263. - cat conftest.err 1>&5
  27264. - fi
  27265. - $rm conftest*
  27266. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
  27267. -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
  27268. - ;;
  27269. - esac
  27270. - fi
  27271. - ;;
  27272. -esac
  27273. -
  27274. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  27275. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  27276. -library_names_spec=
  27277. -libname_spec='lib$name'
  27278. -soname_spec=
  27279. -shrext_cmds=".so"
  27280. -postinstall_cmds=
  27281. -postuninstall_cmds=
  27282. -finish_cmds=
  27283. -finish_eval=
  27284. -shlibpath_var=
  27285. -shlibpath_overrides_runpath=unknown
  27286. -version_type=none
  27287. -dynamic_linker="$host_os ld.so"
  27288. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  27289. -if test "$GCC" = yes; then
  27290. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  27291. - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  27292. - # if the path contains ";" then we assume it to be the separator
  27293. - # otherwise default to the standard path separator (i.e. ":") - it is
  27294. - # assumed that no part of a normal pathname contains ";" but that should
  27295. - # okay in the real world where ";" in dirpaths is itself problematic.
  27296. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  27297. - else
  27298. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  27299. - fi
  27300. -else
  27301. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  27302. -fi
  27303. -need_lib_prefix=unknown
  27304. -hardcode_into_libs=no
  27305. -
  27306. -# when you set need_version to no, make sure it does not cause -set_version
  27307. -# flags to be left without arguments
  27308. -need_version=unknown
  27309. -
  27310. -case $host_os in
  27311. -aix3*)
  27312. - version_type=linux
  27313. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  27314. - shlibpath_var=LIBPATH
  27315. -
  27316. - # AIX 3 has no versioning support, so we append a major version to the name.
  27317. - soname_spec='${libname}${release}${shared_ext}$major'
  27318. - ;;
  27319. -
  27320. -aix4* | aix5*)
  27321. - version_type=linux
  27322. - need_lib_prefix=no
  27323. - need_version=no
  27324. - hardcode_into_libs=yes
  27325. - if test "$host_cpu" = ia64; then
  27326. - # AIX 5 supports IA64
  27327. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  27328. - shlibpath_var=LD_LIBRARY_PATH
  27329. - else
  27330. - # With GCC up to 2.95.x, collect2 would create an import file
  27331. - # for dependence libraries. The import file would start with
  27332. - # the line `#! .'. This would cause the generated library to
  27333. - # depend on `.', always an invalid library. This was fixed in
  27334. - # development snapshots of GCC prior to 3.0.
  27335. - case $host_os in
  27336. - aix4 | aix4.[01] | aix4.[01].*)
  27337. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  27338. - echo ' yes '
  27339. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  27340. - :
  27341. - else
  27342. - can_build_shared=no
  27343. - fi
  27344. - ;;
  27345. - esac
  27346. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  27347. - # soname into executable. Probably we can add versioning support to
  27348. - # collect2, so additional links can be useful in future.
  27349. - if test "$aix_use_runtimelinking" = yes; then
  27350. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  27351. - # instead of lib<name>.a to let people know that these are not
  27352. - # typical AIX shared libraries.
  27353. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27354. - else
  27355. - # We preserve .a as extension for shared libraries through AIX4.2
  27356. - # and later when we are not doing run time linking.
  27357. - library_names_spec='${libname}${release}.a $libname.a'
  27358. - soname_spec='${libname}${release}${shared_ext}$major'
  27359. - fi
  27360. - shlibpath_var=LIBPATH
  27361. - fi
  27362. - ;;
  27363. -
  27364. -amigaos*)
  27365. - library_names_spec='$libname.ixlibrary $libname.a'
  27366. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  27367. - 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'
  27368. - ;;
  27369. -
  27370. -beos*)
  27371. - library_names_spec='${libname}${shared_ext}'
  27372. - dynamic_linker="$host_os ld.so"
  27373. - shlibpath_var=LIBRARY_PATH
  27374. - ;;
  27375. -
  27376. -bsdi[45]*)
  27377. - version_type=linux
  27378. - need_version=no
  27379. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27380. - soname_spec='${libname}${release}${shared_ext}$major'
  27381. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  27382. - shlibpath_var=LD_LIBRARY_PATH
  27383. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  27384. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  27385. - # the default ld.so.conf also contains /usr/contrib/lib and
  27386. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  27387. - # libtool to hard-code these into programs
  27388. - ;;
  27389. -
  27390. -cygwin* | mingw* | pw32*)
  27391. - version_type=windows
  27392. - shrext_cmds=".dll"
  27393. - need_version=no
  27394. - need_lib_prefix=no
  27395. -
  27396. - case $GCC,$host_os in
  27397. - yes,cygwin* | yes,mingw* | yes,pw32*)
  27398. - library_names_spec='$libname.dll.a'
  27399. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  27400. - postinstall_cmds='base_file=`basename \${file}`~
  27401. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  27402. - dldir=$destdir/`dirname \$dlpath`~
  27403. - test -d \$dldir || mkdir -p \$dldir~
  27404. - $install_prog $dir/$dlname \$dldir/$dlname~
  27405. - chmod a+x \$dldir/$dlname'
  27406. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  27407. - dlpath=$dir/\$dldll~
  27408. - $rm \$dlpath'
  27409. - shlibpath_overrides_runpath=yes
  27410. -
  27411. - case $host_os in
  27412. - cygwin*)
  27413. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  27414. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  27415. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  27416. - ;;
  27417. - mingw*)
  27418. - # MinGW DLLs use traditional 'lib' prefix
  27419. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  27420. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  27421. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  27422. - # It is most probably a Windows format PATH printed by
  27423. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  27424. - # path with ; separators, and with drive letters. We can handle the
  27425. - # drive letters (cygwin fileutils understands them), so leave them,
  27426. - # especially as we might pass files found there to a mingw objdump,
  27427. - # which wouldn't understand a cygwinified path. Ahh.
  27428. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  27429. - else
  27430. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  27431. - fi
  27432. - ;;
  27433. - pw32*)
  27434. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  27435. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  27436. - ;;
  27437. - esac
  27438. - ;;
  27439. -
  27440. - *)
  27441. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  27442. - ;;
  27443. - esac
  27444. - dynamic_linker='Win32 ld.exe'
  27445. - # FIXME: first we should search . and the directory the executable is in
  27446. - shlibpath_var=PATH
  27447. - ;;
  27448. -
  27449. -darwin* | rhapsody*)
  27450. - dynamic_linker="$host_os dyld"
  27451. - version_type=darwin
  27452. - need_lib_prefix=no
  27453. - need_version=no
  27454. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  27455. - soname_spec='${libname}${release}${major}$shared_ext'
  27456. - shlibpath_overrides_runpath=yes
  27457. - shlibpath_var=DYLD_LIBRARY_PATH
  27458. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  27459. - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  27460. - if test "$GCC" = yes; then
  27461. - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  27462. - else
  27463. - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  27464. - fi
  27465. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  27466. - ;;
  27467. -
  27468. -dgux*)
  27469. - version_type=linux
  27470. - need_lib_prefix=no
  27471. - need_version=no
  27472. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  27473. - soname_spec='${libname}${release}${shared_ext}$major'
  27474. - shlibpath_var=LD_LIBRARY_PATH
  27475. - ;;
  27476. -
  27477. -freebsd1*)
  27478. - dynamic_linker=no
  27479. - ;;
  27480. -
  27481. -kfreebsd*-gnu)
  27482. - version_type=linux
  27483. - need_lib_prefix=no
  27484. - need_version=no
  27485. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  27486. - soname_spec='${libname}${release}${shared_ext}$major'
  27487. - shlibpath_var=LD_LIBRARY_PATH
  27488. - shlibpath_overrides_runpath=no
  27489. - hardcode_into_libs=yes
  27490. - dynamic_linker='GNU ld.so'
  27491. - ;;
  27492. -
  27493. -freebsd* | dragonfly*)
  27494. - # DragonFly does not have aout. When/if they implement a new
  27495. - # versioning mechanism, adjust this.
  27496. - if test -x /usr/bin/objformat; then
  27497. - objformat=`/usr/bin/objformat`
  27498. - else
  27499. - case $host_os in
  27500. - freebsd[123]*) objformat=aout ;;
  27501. - *) objformat=elf ;;
  27502. - esac
  27503. - fi
  27504. - version_type=freebsd-$objformat
  27505. - case $version_type in
  27506. - freebsd-elf*)
  27507. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  27508. - need_version=no
  27509. - need_lib_prefix=no
  27510. - ;;
  27511. - freebsd-*)
  27512. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  27513. - need_version=yes
  27514. - ;;
  27515. - esac
  27516. - shlibpath_var=LD_LIBRARY_PATH
  27517. - case $host_os in
  27518. - freebsd2*)
  27519. - shlibpath_overrides_runpath=yes
  27520. - ;;
  27521. - freebsd3.[01]* | freebsdelf3.[01]*)
  27522. - shlibpath_overrides_runpath=yes
  27523. - hardcode_into_libs=yes
  27524. - ;;
  27525. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  27526. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  27527. - shlibpath_overrides_runpath=no
  27528. - hardcode_into_libs=yes
  27529. - ;;
  27530. - freebsd*) # from 4.6 on
  27531. - shlibpath_overrides_runpath=yes
  27532. - hardcode_into_libs=yes
  27533. - ;;
  27534. - esac
  27535. - ;;
  27536. -
  27537. -gnu*)
  27538. - version_type=linux
  27539. - need_lib_prefix=no
  27540. - need_version=no
  27541. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  27542. - soname_spec='${libname}${release}${shared_ext}$major'
  27543. - shlibpath_var=LD_LIBRARY_PATH
  27544. - hardcode_into_libs=yes
  27545. - ;;
  27546. -
  27547. -hpux9* | hpux10* | hpux11*)
  27548. - # Give a soname corresponding to the major version so that dld.sl refuses to
  27549. - # link against other versions.
  27550. - version_type=sunos
  27551. - need_lib_prefix=no
  27552. - need_version=no
  27553. - case $host_cpu in
  27554. - ia64*)
  27555. - shrext_cmds='.so'
  27556. - hardcode_into_libs=yes
  27557. - dynamic_linker="$host_os dld.so"
  27558. - shlibpath_var=LD_LIBRARY_PATH
  27559. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  27560. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27561. - soname_spec='${libname}${release}${shared_ext}$major'
  27562. - if test "X$HPUX_IA64_MODE" = X32; then
  27563. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  27564. - else
  27565. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  27566. - fi
  27567. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  27568. - ;;
  27569. - hppa*64*)
  27570. - shrext_cmds='.sl'
  27571. - hardcode_into_libs=yes
  27572. - dynamic_linker="$host_os dld.sl"
  27573. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  27574. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  27575. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27576. - soname_spec='${libname}${release}${shared_ext}$major'
  27577. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  27578. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  27579. - ;;
  27580. - *)
  27581. - shrext_cmds='.sl'
  27582. - dynamic_linker="$host_os dld.sl"
  27583. - shlibpath_var=SHLIB_PATH
  27584. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  27585. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27586. - soname_spec='${libname}${release}${shared_ext}$major'
  27587. - ;;
  27588. - esac
  27589. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  27590. - postinstall_cmds='chmod 555 $lib'
  27591. - ;;
  27592. -
  27593. -interix3*)
  27594. - version_type=linux
  27595. - need_lib_prefix=no
  27596. - need_version=no
  27597. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  27598. - soname_spec='${libname}${release}${shared_ext}$major'
  27599. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  27600. - shlibpath_var=LD_LIBRARY_PATH
  27601. - shlibpath_overrides_runpath=no
  27602. - hardcode_into_libs=yes
  27603. - ;;
  27604. -
  27605. -irix5* | irix6* | nonstopux*)
  27606. - case $host_os in
  27607. - nonstopux*) version_type=nonstopux ;;
  27608. - *)
  27609. - if test "$lt_cv_prog_gnu_ld" = yes; then
  27610. - version_type=linux
  27611. - else
  27612. - version_type=irix
  27613. - fi ;;
  27614. - esac
  27615. - need_lib_prefix=no
  27616. - need_version=no
  27617. - soname_spec='${libname}${release}${shared_ext}$major'
  27618. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  27619. - case $host_os in
  27620. - irix5* | nonstopux*)
  27621. - libsuff= shlibsuff=
  27622. - ;;
  27623. - *)
  27624. - case $LD in # libtool.m4 will add one of these switches to LD
  27625. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  27626. - libsuff= shlibsuff= libmagic=32-bit;;
  27627. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  27628. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  27629. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  27630. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  27631. - *) libsuff= shlibsuff= libmagic=never-match;;
  27632. - esac
  27633. - ;;
  27634. - esac
  27635. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  27636. - shlibpath_overrides_runpath=no
  27637. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  27638. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  27639. - hardcode_into_libs=yes
  27640. - ;;
  27641. -
  27642. -# No shared lib support for Linux oldld, aout, or coff.
  27643. -linux*oldld* | linux*aout* | linux*coff*)
  27644. - dynamic_linker=no
  27645. - ;;
  27646. -
  27647. -# This must be Linux ELF.
  27648. -linux*)
  27649. - version_type=linux
  27650. - need_lib_prefix=no
  27651. - need_version=no
  27652. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27653. - soname_spec='${libname}${release}${shared_ext}$major'
  27654. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  27655. - shlibpath_var=LD_LIBRARY_PATH
  27656. - shlibpath_overrides_runpath=no
  27657. - # This implies no fast_install, which is unacceptable.
  27658. - # Some rework will be needed to allow for fast_install
  27659. - # before this can be enabled.
  27660. - hardcode_into_libs=yes
  27661. -
  27662. - # Append ld.so.conf contents to the search path
  27663. - if test -f /etc/ld.so.conf; then
  27664. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  27665. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  27666. - fi
  27667. -
  27668. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  27669. - # powerpc, because MkLinux only supported shared libraries with the
  27670. - # GNU dynamic linker. Since this was broken with cross compilers,
  27671. - # most powerpc-linux boxes support dynamic linking these days and
  27672. - # people can always --disable-shared, the test was removed, and we
  27673. - # assume the GNU/Linux dynamic linker is in use.
  27674. - dynamic_linker='GNU/Linux ld.so'
  27675. - ;;
  27676. -
  27677. -knetbsd*-gnu)
  27678. - version_type=linux
  27679. - need_lib_prefix=no
  27680. - need_version=no
  27681. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  27682. - soname_spec='${libname}${release}${shared_ext}$major'
  27683. - shlibpath_var=LD_LIBRARY_PATH
  27684. - shlibpath_overrides_runpath=no
  27685. - hardcode_into_libs=yes
  27686. - dynamic_linker='GNU ld.so'
  27687. - ;;
  27688. -
  27689. -netbsd*)
  27690. - version_type=sunos
  27691. - need_lib_prefix=no
  27692. - need_version=no
  27693. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  27694. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  27695. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  27696. - dynamic_linker='NetBSD (a.out) ld.so'
  27697. - else
  27698. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  27699. - soname_spec='${libname}${release}${shared_ext}$major'
  27700. - dynamic_linker='NetBSD ld.elf_so'
  27701. - fi
  27702. - shlibpath_var=LD_LIBRARY_PATH
  27703. - shlibpath_overrides_runpath=yes
  27704. - hardcode_into_libs=yes
  27705. - ;;
  27706. -
  27707. -newsos6)
  27708. - version_type=linux
  27709. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27710. - shlibpath_var=LD_LIBRARY_PATH
  27711. - shlibpath_overrides_runpath=yes
  27712. - ;;
  27713. -
  27714. -nto-qnx*)
  27715. - version_type=linux
  27716. - need_lib_prefix=no
  27717. - need_version=no
  27718. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27719. - soname_spec='${libname}${release}${shared_ext}$major'
  27720. - shlibpath_var=LD_LIBRARY_PATH
  27721. - shlibpath_overrides_runpath=yes
  27722. - ;;
  27723. -
  27724. -openbsd*)
  27725. - version_type=sunos
  27726. - sys_lib_dlsearch_path_spec="/usr/lib"
  27727. - need_lib_prefix=no
  27728. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  27729. - case $host_os in
  27730. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  27731. - *) need_version=no ;;
  27732. - esac
  27733. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  27734. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  27735. - shlibpath_var=LD_LIBRARY_PATH
  27736. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  27737. - case $host_os in
  27738. - openbsd2.[89] | openbsd2.[89].*)
  27739. - shlibpath_overrides_runpath=no
  27740. - ;;
  27741. - *)
  27742. - shlibpath_overrides_runpath=yes
  27743. - ;;
  27744. - esac
  27745. - else
  27746. - shlibpath_overrides_runpath=yes
  27747. - fi
  27748. - ;;
  27749. -
  27750. -os2*)
  27751. - libname_spec='$name'
  27752. - shrext_cmds=".dll"
  27753. - need_lib_prefix=no
  27754. - library_names_spec='$libname${shared_ext} $libname.a'
  27755. - dynamic_linker='OS/2 ld.exe'
  27756. - shlibpath_var=LIBPATH
  27757. - ;;
  27758. -
  27759. -osf3* | osf4* | osf5*)
  27760. - version_type=osf
  27761. - need_lib_prefix=no
  27762. - need_version=no
  27763. - soname_spec='${libname}${release}${shared_ext}$major'
  27764. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27765. - shlibpath_var=LD_LIBRARY_PATH
  27766. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  27767. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  27768. - ;;
  27769. -
  27770. -solaris*)
  27771. - version_type=linux
  27772. - need_lib_prefix=no
  27773. - need_version=no
  27774. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27775. - soname_spec='${libname}${release}${shared_ext}$major'
  27776. - shlibpath_var=LD_LIBRARY_PATH
  27777. - shlibpath_overrides_runpath=yes
  27778. - hardcode_into_libs=yes
  27779. - # ldd complains unless libraries are executable
  27780. - postinstall_cmds='chmod +x $lib'
  27781. - ;;
  27782. -
  27783. -sunos4*)
  27784. - version_type=sunos
  27785. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  27786. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  27787. - shlibpath_var=LD_LIBRARY_PATH
  27788. - shlibpath_overrides_runpath=yes
  27789. - if test "$with_gnu_ld" = yes; then
  27790. - need_lib_prefix=no
  27791. - fi
  27792. - need_version=yes
  27793. - ;;
  27794. -
  27795. -sysv4 | sysv4.3*)
  27796. - version_type=linux
  27797. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27798. - soname_spec='${libname}${release}${shared_ext}$major'
  27799. - shlibpath_var=LD_LIBRARY_PATH
  27800. - case $host_vendor in
  27801. - sni)
  27802. - shlibpath_overrides_runpath=no
  27803. - need_lib_prefix=no
  27804. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  27805. - runpath_var=LD_RUN_PATH
  27806. - ;;
  27807. - siemens)
  27808. - need_lib_prefix=no
  27809. - ;;
  27810. - motorola)
  27811. - need_lib_prefix=no
  27812. - need_version=no
  27813. - shlibpath_overrides_runpath=no
  27814. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  27815. - ;;
  27816. - esac
  27817. - ;;
  27818. -
  27819. -sysv4*MP*)
  27820. - if test -d /usr/nec ;then
  27821. - version_type=linux
  27822. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  27823. - soname_spec='$libname${shared_ext}.$major'
  27824. - shlibpath_var=LD_LIBRARY_PATH
  27825. - fi
  27826. - ;;
  27827. -
  27828. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  27829. - version_type=freebsd-elf
  27830. - need_lib_prefix=no
  27831. - need_version=no
  27832. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  27833. - soname_spec='${libname}${release}${shared_ext}$major'
  27834. - shlibpath_var=LD_LIBRARY_PATH
  27835. - hardcode_into_libs=yes
  27836. - if test "$with_gnu_ld" = yes; then
  27837. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  27838. - shlibpath_overrides_runpath=no
  27839. - else
  27840. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  27841. - shlibpath_overrides_runpath=yes
  27842. - case $host_os in
  27843. - sco3.2v5*)
  27844. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  27845. - ;;
  27846. - esac
  27847. - fi
  27848. - sys_lib_dlsearch_path_spec='/usr/lib'
  27849. - ;;
  27850. -
  27851. -uts4*)
  27852. - version_type=linux
  27853. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  27854. - soname_spec='${libname}${release}${shared_ext}$major'
  27855. - shlibpath_var=LD_LIBRARY_PATH
  27856. - ;;
  27857. -
  27858. -*)
  27859. - dynamic_linker=no
  27860. - ;;
  27861. -esac
  27862. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  27863. -echo "${ECHO_T}$dynamic_linker" >&6; }
  27864. -test "$dynamic_linker" = no && can_build_shared=no
  27865. -
  27866. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  27867. -if test "$GCC" = yes; then
  27868. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  27869. -fi
  27870. -
  27871. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  27872. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  27873. -hardcode_action_F77=
  27874. -if test -n "$hardcode_libdir_flag_spec_F77" || \
  27875. - test -n "$runpath_var_F77" || \
  27876. - test "X$hardcode_automatic_F77" = "Xyes" ; then
  27877. -
  27878. - # We can hardcode non-existant directories.
  27879. - if test "$hardcode_direct_F77" != no &&
  27880. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  27881. - # have to relink, otherwise we might link with an installed library
  27882. - # when we should be linking with a yet-to-be-installed one
  27883. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
  27884. - test "$hardcode_minus_L_F77" != no; then
  27885. - # Linking always hardcodes the temporary library directory.
  27886. - hardcode_action_F77=relink
  27887. - else
  27888. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  27889. - hardcode_action_F77=immediate
  27890. - fi
  27891. -else
  27892. - # We cannot hardcode anything, or else we can only hardcode existing
  27893. - # directories.
  27894. - hardcode_action_F77=unsupported
  27895. -fi
  27896. -{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
  27897. -echo "${ECHO_T}$hardcode_action_F77" >&6; }
  27898. -
  27899. -if test "$hardcode_action_F77" = relink; then
  27900. - # Fast installation is not supported
  27901. - enable_fast_install=no
  27902. -elif test "$shlibpath_overrides_runpath" = yes ||
  27903. - test "$enable_shared" = no; then
  27904. - # Fast installation is not necessary
  27905. - enable_fast_install=needless
  27906. -fi
  27907. -
  27908. -
  27909. -# The else clause should only fire when bootstrapping the
  27910. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  27911. -# with your package, and you will get complaints that there are
  27912. -# no rules to generate ltmain.sh.
  27913. -if test -f "$ltmain"; then
  27914. - # See if we are running on zsh, and set the options which allow our commands through
  27915. - # without removal of \ escapes.
  27916. - if test -n "${ZSH_VERSION+set}" ; then
  27917. - setopt NO_GLOB_SUBST
  27918. - fi
  27919. - # Now quote all the things that may contain metacharacters while being
  27920. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  27921. - # variables and quote the copies for generation of the libtool script.
  27922. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  27923. - SED SHELL STRIP \
  27924. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  27925. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  27926. - deplibs_check_method reload_flag reload_cmds need_locks \
  27927. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  27928. - lt_cv_sys_global_symbol_to_c_name_address \
  27929. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  27930. - old_postinstall_cmds old_postuninstall_cmds \
  27931. - compiler_F77 \
  27932. - CC_F77 \
  27933. - LD_F77 \
  27934. - lt_prog_compiler_wl_F77 \
  27935. - lt_prog_compiler_pic_F77 \
  27936. - lt_prog_compiler_static_F77 \
  27937. - lt_prog_compiler_no_builtin_flag_F77 \
  27938. - export_dynamic_flag_spec_F77 \
  27939. - thread_safe_flag_spec_F77 \
  27940. - whole_archive_flag_spec_F77 \
  27941. - enable_shared_with_static_runtimes_F77 \
  27942. - old_archive_cmds_F77 \
  27943. - old_archive_from_new_cmds_F77 \
  27944. - predep_objects_F77 \
  27945. - postdep_objects_F77 \
  27946. - predeps_F77 \
  27947. - postdeps_F77 \
  27948. - compiler_lib_search_path_F77 \
  27949. - archive_cmds_F77 \
  27950. - archive_expsym_cmds_F77 \
  27951. - postinstall_cmds_F77 \
  27952. - postuninstall_cmds_F77 \
  27953. - old_archive_from_expsyms_cmds_F77 \
  27954. - allow_undefined_flag_F77 \
  27955. - no_undefined_flag_F77 \
  27956. - export_symbols_cmds_F77 \
  27957. - hardcode_libdir_flag_spec_F77 \
  27958. - hardcode_libdir_flag_spec_ld_F77 \
  27959. - hardcode_libdir_separator_F77 \
  27960. - hardcode_automatic_F77 \
  27961. - module_cmds_F77 \
  27962. - module_expsym_cmds_F77 \
  27963. - lt_cv_prog_compiler_c_o_F77 \
  27964. - exclude_expsyms_F77 \
  27965. - include_expsyms_F77; do
  27966. -
  27967. - case $var in
  27968. - old_archive_cmds_F77 | \
  27969. - old_archive_from_new_cmds_F77 | \
  27970. - archive_cmds_F77 | \
  27971. - archive_expsym_cmds_F77 | \
  27972. - module_cmds_F77 | \
  27973. - module_expsym_cmds_F77 | \
  27974. - old_archive_from_expsyms_cmds_F77 | \
  27975. - export_symbols_cmds_F77 | \
  27976. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  27977. - postinstall_cmds | postuninstall_cmds | \
  27978. - old_postinstall_cmds | old_postuninstall_cmds | \
  27979. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  27980. - # Double-quote double-evaled strings.
  27981. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  27982. - ;;
  27983. - *)
  27984. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  27985. - ;;
  27986. - esac
  27987. - done
  27988. -
  27989. - case $lt_echo in
  27990. - *'\$0 --fallback-echo"')
  27991. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  27992. - ;;
  27993. - esac
  27994. -
  27995. -cfgfile="$ofile"
  27996. -
  27997. - cat <<__EOF__ >> "$cfgfile"
  27998. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  27999. -
  28000. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  28001. -
  28002. -# Shell to use when invoking shell scripts.
  28003. -SHELL=$lt_SHELL
  28004. -
  28005. -# Whether or not to build shared libraries.
  28006. -build_libtool_libs=$enable_shared
  28007. -
  28008. -# Whether or not to build static libraries.
  28009. -build_old_libs=$enable_static
  28010. -
  28011. -# Whether or not to add -lc for building shared libraries.
  28012. -build_libtool_need_lc=$archive_cmds_need_lc_F77
  28013. -
  28014. -# Whether or not to disallow shared libs when runtime libs are static
  28015. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
  28016. -
  28017. -# Whether or not to optimize for fast installation.
  28018. -fast_install=$enable_fast_install
  28019. -
  28020. -# The host system.
  28021. -host_alias=$host_alias
  28022. -host=$host
  28023. -host_os=$host_os
  28024. -
  28025. -# The build system.
  28026. -build_alias=$build_alias
  28027. -build=$build
  28028. -build_os=$build_os
  28029. -
  28030. -# An echo program that does not interpret backslashes.
  28031. -echo=$lt_echo
  28032. -
  28033. -# The archiver.
  28034. -AR=$lt_AR
  28035. -AR_FLAGS=$lt_AR_FLAGS
  28036. -
  28037. -# A C compiler.
  28038. -LTCC=$lt_LTCC
  28039. -
  28040. -# LTCC compiler flags.
  28041. -LTCFLAGS=$lt_LTCFLAGS
  28042. -
  28043. -# A language-specific compiler.
  28044. -CC=$lt_compiler_F77
  28045. -
  28046. -# Is the compiler the GNU C compiler?
  28047. -with_gcc=$GCC_F77
  28048. -
  28049. -# An ERE matcher.
  28050. -EGREP=$lt_EGREP
  28051. -
  28052. -# The linker used to build libraries.
  28053. -LD=$lt_LD_F77
  28054. -
  28055. -# Whether we need hard or soft links.
  28056. -LN_S=$lt_LN_S
  28057. -
  28058. -# A BSD-compatible nm program.
  28059. -NM=$lt_NM
  28060. -
  28061. -# A symbol stripping program
  28062. -STRIP=$lt_STRIP
  28063. -
  28064. -# Used to examine libraries when file_magic_cmd begins "file"
  28065. -MAGIC_CMD=$MAGIC_CMD
  28066. -
  28067. -# Used on cygwin: DLL creation program.
  28068. -DLLTOOL="$DLLTOOL"
  28069. -
  28070. -# Used on cygwin: object dumper.
  28071. -OBJDUMP="$OBJDUMP"
  28072. -
  28073. -# Used on cygwin: assembler.
  28074. -AS="$AS"
  28075. -
  28076. -# The name of the directory that contains temporary libtool files.
  28077. -objdir=$objdir
  28078. -
  28079. -# How to create reloadable object files.
  28080. -reload_flag=$lt_reload_flag
  28081. -reload_cmds=$lt_reload_cmds
  28082. -
  28083. -# How to pass a linker flag through the compiler.
  28084. -wl=$lt_lt_prog_compiler_wl_F77
  28085. -
  28086. -# Object file suffix (normally "o").
  28087. -objext="$ac_objext"
  28088. -
  28089. -# Old archive suffix (normally "a").
  28090. -libext="$libext"
  28091. -
  28092. -# Shared library suffix (normally ".so").
  28093. -shrext_cmds='$shrext_cmds'
  28094. -
  28095. -# Executable file suffix (normally "").
  28096. -exeext="$exeext"
  28097. -
  28098. -# Additional compiler flags for building library objects.
  28099. -pic_flag=$lt_lt_prog_compiler_pic_F77
  28100. -pic_mode=$pic_mode
  28101. -
  28102. -# What is the maximum length of a command?
  28103. -max_cmd_len=$lt_cv_sys_max_cmd_len
  28104. -
  28105. -# Does compiler simultaneously support -c and -o options?
  28106. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
  28107. -
  28108. -# Must we lock files when doing compilation?
  28109. -need_locks=$lt_need_locks
  28110. -
  28111. -# Do we need the lib prefix for modules?
  28112. -need_lib_prefix=$need_lib_prefix
  28113. -
  28114. -# Do we need a version for libraries?
  28115. -need_version=$need_version
  28116. -
  28117. -# Whether dlopen is supported.
  28118. -dlopen_support=$enable_dlopen
  28119. -
  28120. -# Whether dlopen of programs is supported.
  28121. -dlopen_self=$enable_dlopen_self
  28122. -
  28123. -# Whether dlopen of statically linked programs is supported.
  28124. -dlopen_self_static=$enable_dlopen_self_static
  28125. -
  28126. -# Compiler flag to prevent dynamic linking.
  28127. -link_static_flag=$lt_lt_prog_compiler_static_F77
  28128. -
  28129. -# Compiler flag to turn off builtin functions.
  28130. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
  28131. -
  28132. -# Compiler flag to allow reflexive dlopens.
  28133. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
  28134. -
  28135. -# Compiler flag to generate shared objects directly from archives.
  28136. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
  28137. -
  28138. -# Compiler flag to generate thread-safe objects.
  28139. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
  28140. -
  28141. -# Library versioning type.
  28142. -version_type=$version_type
  28143. -
  28144. -# Format of library name prefix.
  28145. -libname_spec=$lt_libname_spec
  28146. -
  28147. -# List of archive names. First name is the real one, the rest are links.
  28148. -# The last name is the one that the linker finds with -lNAME.
  28149. -library_names_spec=$lt_library_names_spec
  28150. -
  28151. -# The coded name of the library, if different from the real name.
  28152. -soname_spec=$lt_soname_spec
  28153. -
  28154. -# Commands used to build and install an old-style archive.
  28155. -RANLIB=$lt_RANLIB
  28156. -old_archive_cmds=$lt_old_archive_cmds_F77
  28157. -old_postinstall_cmds=$lt_old_postinstall_cmds
  28158. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  28159. -
  28160. -# Create an old-style archive from a shared archive.
  28161. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
  28162. -
  28163. -# Create a temporary old-style archive to link instead of a shared archive.
  28164. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
  28165. -
  28166. -# Commands used to build and install a shared archive.
  28167. -archive_cmds=$lt_archive_cmds_F77
  28168. -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
  28169. -postinstall_cmds=$lt_postinstall_cmds
  28170. -postuninstall_cmds=$lt_postuninstall_cmds
  28171. -
  28172. -# Commands used to build a loadable module (assumed same as above if empty)
  28173. -module_cmds=$lt_module_cmds_F77
  28174. -module_expsym_cmds=$lt_module_expsym_cmds_F77
  28175. -
  28176. -# Commands to strip libraries.
  28177. -old_striplib=$lt_old_striplib
  28178. -striplib=$lt_striplib
  28179. -
  28180. -# Dependencies to place before the objects being linked to create a
  28181. -# shared library.
  28182. -predep_objects=$lt_predep_objects_F77
  28183. -
  28184. -# Dependencies to place after the objects being linked to create a
  28185. -# shared library.
  28186. -postdep_objects=$lt_postdep_objects_F77
  28187. -
  28188. -# Dependencies to place before the objects being linked to create a
  28189. -# shared library.
  28190. -predeps=$lt_predeps_F77
  28191. -
  28192. -# Dependencies to place after the objects being linked to create a
  28193. -# shared library.
  28194. -postdeps=$lt_postdeps_F77
  28195. -
  28196. -# The library search path used internally by the compiler when linking
  28197. -# a shared library.
  28198. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
  28199. -
  28200. -# Method to check whether dependent libraries are shared objects.
  28201. -deplibs_check_method=$lt_deplibs_check_method
  28202. -
  28203. -# Command to use when deplibs_check_method == file_magic.
  28204. -file_magic_cmd=$lt_file_magic_cmd
  28205. -
  28206. -# Flag that allows shared libraries with undefined symbols to be built.
  28207. -allow_undefined_flag=$lt_allow_undefined_flag_F77
  28208. -
  28209. -# Flag that forces no undefined symbols.
  28210. -no_undefined_flag=$lt_no_undefined_flag_F77
  28211. -
  28212. -# Commands used to finish a libtool library installation in a directory.
  28213. -finish_cmds=$lt_finish_cmds
  28214. -
  28215. -# Same as above, but a single script fragment to be evaled but not shown.
  28216. -finish_eval=$lt_finish_eval
  28217. -
  28218. -# Take the output of nm and produce a listing of raw symbols and C names.
  28219. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  28220. -
  28221. -# Transform the output of nm in a proper C declaration
  28222. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  28223. -
  28224. -# Transform the output of nm in a C name address pair
  28225. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  28226. +# Sed substitution to avoid accidental globbing in evaled expressions
  28227. +no_glob_subst='s/\*/\\\*/g'
  28228. -# This is the shared library runtime path variable.
  28229. -runpath_var=$runpath_var
  28230. +# Global variables:
  28231. +ofile=libtool
  28232. +can_build_shared=yes
  28233. -# This is the shared library path variable.
  28234. -shlibpath_var=$shlibpath_var
  28235. +# All known linkers require a `.a' archive for static linking (except MSVC,
  28236. +# which needs '.lib').
  28237. +libext=a
  28238. -# Is shlibpath searched before the hard-coded library search path?
  28239. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  28240. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  28241. -# How to hardcode a shared library path into an executable.
  28242. -hardcode_action=$hardcode_action_F77
  28243. +old_CC="$CC"
  28244. +old_CFLAGS="$CFLAGS"
  28245. -# Whether we should hardcode library paths into libraries.
  28246. -hardcode_into_libs=$hardcode_into_libs
  28247. +# Set sane defaults for various variables
  28248. +test -z "$CC" && CC=cc
  28249. +test -z "$LTCC" && LTCC=$CC
  28250. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  28251. +test -z "$LD" && LD=ld
  28252. +test -z "$ac_objext" && ac_objext=o
  28253. -# Flag to hardcode \$libdir into a binary during linking.
  28254. -# This must work even if \$libdir does not exist.
  28255. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
  28256. +for cc_temp in $compiler""; do
  28257. + case $cc_temp in
  28258. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  28259. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  28260. + \-*) ;;
  28261. + *) break;;
  28262. + esac
  28263. +done
  28264. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  28265. -# If ld is used when linking, flag to hardcode \$libdir into
  28266. -# a binary during linking. This must work even if \$libdir does
  28267. -# not exist.
  28268. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
  28269. -
  28270. -# Whether we need a single -rpath flag with a separated argument.
  28271. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
  28272. -
  28273. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  28274. -# resulting binary.
  28275. -hardcode_direct=$hardcode_direct_F77
  28276. -
  28277. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  28278. -# resulting binary.
  28279. -hardcode_minus_L=$hardcode_minus_L_F77
  28280. -
  28281. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  28282. -# the resulting binary.
  28283. -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
  28284. -
  28285. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  28286. -# and all subsequent libraries and executables linked against it.
  28287. -hardcode_automatic=$hardcode_automatic_F77
  28288. -# Variables whose values should be saved in libtool wrapper scripts and
  28289. -# restored at relink time.
  28290. -variables_saved_for_relink="$variables_saved_for_relink"
  28291. +# Only perform the check for file, if the check method requires it
  28292. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  28293. +case $deplibs_check_method in
  28294. +file_magic*)
  28295. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  28296. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  28297. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  28298. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  28299. + $as_echo_n "(cached) " >&6
  28300. +else
  28301. + case $MAGIC_CMD in
  28302. +[\\/*] | ?:[\\/]*)
  28303. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  28304. + ;;
  28305. +*)
  28306. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  28307. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  28308. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  28309. + for ac_dir in $ac_dummy; do
  28310. + IFS="$lt_save_ifs"
  28311. + test -z "$ac_dir" && ac_dir=.
  28312. + if test -f $ac_dir/${ac_tool_prefix}file; then
  28313. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  28314. + if test -n "$file_magic_test_file"; then
  28315. + case $deplibs_check_method in
  28316. + "file_magic "*)
  28317. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  28318. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  28319. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  28320. + $EGREP "$file_magic_regex" > /dev/null; then
  28321. + :
  28322. + else
  28323. + cat <<_LT_EOF 1>&2
  28324. -# Whether libtool must link a program against all its dependency libraries.
  28325. -link_all_deplibs=$link_all_deplibs_F77
  28326. +*** Warning: the command libtool uses to detect shared libraries,
  28327. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  28328. +*** The result is that libtool may fail to recognize shared libraries
  28329. +*** as such. This will affect the creation of libtool libraries that
  28330. +*** depend on shared libraries, but programs linked with such libtool
  28331. +*** libraries will work regardless of this problem. Nevertheless, you
  28332. +*** may want to report the problem to your system manager and/or to
  28333. +*** bug-libtool@gnu.org
  28334. -# Compile-time system search path for libraries
  28335. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  28336. +_LT_EOF
  28337. + fi ;;
  28338. + esac
  28339. + fi
  28340. + break
  28341. + fi
  28342. + done
  28343. + IFS="$lt_save_ifs"
  28344. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  28345. + ;;
  28346. +esac
  28347. +fi
  28348. -# Run-time system search path for libraries
  28349. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  28350. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  28351. +if test -n "$MAGIC_CMD"; then
  28352. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  28353. +$as_echo "$MAGIC_CMD" >&6; }
  28354. +else
  28355. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28356. +$as_echo "no" >&6; }
  28357. +fi
  28358. -# Fix the shell variable \$srcfile for the compiler.
  28359. -fix_srcfile_path="$fix_srcfile_path_F77"
  28360. -# Set to yes if exported symbols are required.
  28361. -always_export_symbols=$always_export_symbols_F77
  28362. -# The commands to list exported symbols.
  28363. -export_symbols_cmds=$lt_export_symbols_cmds_F77
  28364. -# The commands to extract the exported symbol list from a shared archive.
  28365. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  28366. -# Symbols that should not be listed in the preloaded symbols.
  28367. -exclude_expsyms=$lt_exclude_expsyms_F77
  28368. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  28369. + if test -n "$ac_tool_prefix"; then
  28370. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  28371. +$as_echo_n "checking for file... " >&6; }
  28372. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  28373. + $as_echo_n "(cached) " >&6
  28374. +else
  28375. + case $MAGIC_CMD in
  28376. +[\\/*] | ?:[\\/]*)
  28377. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  28378. + ;;
  28379. +*)
  28380. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  28381. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  28382. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  28383. + for ac_dir in $ac_dummy; do
  28384. + IFS="$lt_save_ifs"
  28385. + test -z "$ac_dir" && ac_dir=.
  28386. + if test -f $ac_dir/file; then
  28387. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  28388. + if test -n "$file_magic_test_file"; then
  28389. + case $deplibs_check_method in
  28390. + "file_magic "*)
  28391. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  28392. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  28393. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  28394. + $EGREP "$file_magic_regex" > /dev/null; then
  28395. + :
  28396. + else
  28397. + cat <<_LT_EOF 1>&2
  28398. -# Symbols that must always be exported.
  28399. -include_expsyms=$lt_include_expsyms_F77
  28400. +*** Warning: the command libtool uses to detect shared libraries,
  28401. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  28402. +*** The result is that libtool may fail to recognize shared libraries
  28403. +*** as such. This will affect the creation of libtool libraries that
  28404. +*** depend on shared libraries, but programs linked with such libtool
  28405. +*** libraries will work regardless of this problem. Nevertheless, you
  28406. +*** may want to report the problem to your system manager and/or to
  28407. +*** bug-libtool@gnu.org
  28408. -# ### END LIBTOOL TAG CONFIG: $tagname
  28409. +_LT_EOF
  28410. + fi ;;
  28411. + esac
  28412. + fi
  28413. + break
  28414. + fi
  28415. + done
  28416. + IFS="$lt_save_ifs"
  28417. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  28418. + ;;
  28419. +esac
  28420. +fi
  28421. -__EOF__
  28422. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  28423. +if test -n "$MAGIC_CMD"; then
  28424. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  28425. +$as_echo "$MAGIC_CMD" >&6; }
  28426. +else
  28427. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28428. +$as_echo "no" >&6; }
  28429. +fi
  28430. -else
  28431. - # If there is no Makefile yet, we rely on a make rule to execute
  28432. - # `config.status --recheck' to rerun these tests and create the
  28433. - # libtool script then.
  28434. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  28435. - if test -f "$ltmain_in"; then
  28436. - test -f Makefile && make "$ltmain"
  28437. + else
  28438. + MAGIC_CMD=:
  28439. fi
  28440. fi
  28441. + fi
  28442. + ;;
  28443. +esac
  28444. +
  28445. +# Use C for the default configuration in the libtool script
  28446. +lt_save_CC="$CC"
  28447. ac_ext=c
  28448. ac_cpp='$CPP $CPPFLAGS'
  28449. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28450. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28451. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28452. -CC="$lt_save_CC"
  28453. -
  28454. - else
  28455. - tagname=""
  28456. - fi
  28457. - ;;
  28458. -
  28459. - GCJ)
  28460. - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  28461. -
  28462. -# Source file extension for Java test sources.
  28463. -ac_ext=java
  28464. +# Source file extension for C test sources.
  28465. +ac_ext=c
  28466. -# Object file extension for compiled Java test sources.
  28467. +# Object file extension for compiled C test sources.
  28468. objext=o
  28469. -objext_GCJ=$objext
  28470. +objext=$objext
  28471. # Code to be used in simple compile tests
  28472. -lt_simple_compile_test_code="class foo {}\n"
  28473. +lt_simple_compile_test_code="int some_variable = 0;"
  28474. # Code to be used in simple link tests
  28475. -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
  28476. +lt_simple_link_test_code='int main(){return(0);}'
  28477. +
  28478. +
  28479. +
  28480. +
  28481. +
  28482. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  28483. # If no C compiler was specified, use CC.
  28484. LTCC=${LTCC-"$CC"}
  28485. @@ -16799,57 +7370,43 @@
  28486. # Allow CC to be a program name with arguments.
  28487. compiler=$CC
  28488. +# Save the default compiler, since it gets overwritten when the other
  28489. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  28490. +compiler_DEFAULT=$CC
  28491. # save warnings/boilerplate of simple test code
  28492. ac_outfile=conftest.$ac_objext
  28493. -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  28494. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  28495. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  28496. _lt_compiler_boilerplate=`cat conftest.err`
  28497. -$rm conftest*
  28498. +$RM conftest*
  28499. ac_outfile=conftest.$ac_objext
  28500. -printf "$lt_simple_link_test_code" >conftest.$ac_ext
  28501. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  28502. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  28503. _lt_linker_boilerplate=`cat conftest.err`
  28504. -$rm conftest*
  28505. -
  28506. -
  28507. -# Allow CC to be a program name with arguments.
  28508. -lt_save_CC="$CC"
  28509. -CC=${GCJ-"gcj"}
  28510. -compiler=$CC
  28511. -compiler_GCJ=$CC
  28512. -for cc_temp in $compiler""; do
  28513. - case $cc_temp in
  28514. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  28515. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  28516. - \-*) ;;
  28517. - *) break;;
  28518. - esac
  28519. -done
  28520. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  28521. +$RM -r conftest*
  28522. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  28523. -archive_cmds_need_lc_GCJ=no
  28524. +## CAVEAT EMPTOR:
  28525. +## There is no encapsulation within the following macros, do not change
  28526. +## the running order or otherwise move them around unless you know exactly
  28527. +## what you are doing...
  28528. +if test -n "$compiler"; then
  28529. -old_archive_cmds_GCJ=$old_archive_cmds
  28530. -
  28531. -
  28532. -lt_prog_compiler_no_builtin_flag_GCJ=
  28533. +lt_prog_compiler_no_builtin_flag=
  28534. if test "$GCC" = yes; then
  28535. - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
  28536. -
  28537. + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  28538. -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  28539. -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  28540. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  28541. - echo $ECHO_N "(cached) $ECHO_C" >&6
  28542. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  28543. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  28544. +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  28545. + $as_echo_n "(cached) " >&6
  28546. else
  28547. lt_cv_prog_compiler_rtti_exceptions=no
  28548. - ac_outfile=conftest.$ac_objext
  28549. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  28550. + ac_outfile=conftest.$ac_objext
  28551. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  28552. lt_compiler_flag="-fno-rtti -fno-exceptions"
  28553. # Insert the option either (1) after the last *FLAGS variable, or
  28554. # (2) before a word containing "conftest.", or (3) at the end.
  28555. @@ -16860,78 +7417,107 @@
  28556. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  28557. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  28558. -e 's:$: $lt_compiler_flag:'`
  28559. - (eval echo "\"\$as_me:16863: $lt_compile\"" >&5)
  28560. + (eval echo "\"\$as_me:7420: $lt_compile\"" >&5)
  28561. (eval "$lt_compile" 2>conftest.err)
  28562. ac_status=$?
  28563. cat conftest.err >&5
  28564. - echo "$as_me:16867: \$? = $ac_status" >&5
  28565. + echo "$as_me:7424: \$? = $ac_status" >&5
  28566. if (exit $ac_status) && test -s "$ac_outfile"; then
  28567. # The compiler can only warn and ignore the option if not recognized
  28568. # So say no if there are warnings other than the usual output.
  28569. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  28570. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  28571. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  28572. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  28573. lt_cv_prog_compiler_rtti_exceptions=yes
  28574. fi
  28575. fi
  28576. - $rm conftest*
  28577. + $RM conftest*
  28578. fi
  28579. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  28580. -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  28581. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  28582. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  28583. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  28584. - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
  28585. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  28586. else
  28587. :
  28588. fi
  28589. fi
  28590. -lt_prog_compiler_wl_GCJ=
  28591. -lt_prog_compiler_pic_GCJ=
  28592. -lt_prog_compiler_static_GCJ=
  28593. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  28594. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  28595. +
  28596. +
  28597. +
  28598. +
  28599. + lt_prog_compiler_wl=
  28600. +lt_prog_compiler_pic=
  28601. +lt_prog_compiler_static=
  28602. +
  28603. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  28604. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  28605. if test "$GCC" = yes; then
  28606. - lt_prog_compiler_wl_GCJ='-Wl,'
  28607. - lt_prog_compiler_static_GCJ='-static'
  28608. + lt_prog_compiler_wl='-Wl,'
  28609. + lt_prog_compiler_static='-static'
  28610. case $host_os in
  28611. aix*)
  28612. # All AIX code is PIC.
  28613. if test "$host_cpu" = ia64; then
  28614. # AIX 5 now supports IA64 processor
  28615. - lt_prog_compiler_static_GCJ='-Bstatic'
  28616. + lt_prog_compiler_static='-Bstatic'
  28617. fi
  28618. ;;
  28619. amigaos*)
  28620. - # FIXME: we need at least 68020 code to build shared libraries, but
  28621. - # adding the `-m68020' flag to GCC prevents building anything better,
  28622. - # like `-m68040'.
  28623. - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
  28624. + case $host_cpu in
  28625. + powerpc)
  28626. + # see comment about AmigaOS4 .so support
  28627. + lt_prog_compiler_pic='-fPIC'
  28628. + ;;
  28629. + m68k)
  28630. + # FIXME: we need at least 68020 code to build shared libraries, but
  28631. + # adding the `-m68020' flag to GCC prevents building anything better,
  28632. + # like `-m68040'.
  28633. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  28634. + ;;
  28635. + esac
  28636. ;;
  28637. - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  28638. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  28639. # PIC is the default for these OSes.
  28640. ;;
  28641. - mingw* | pw32* | os2*)
  28642. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  28643. # This hack is so that the source file can tell whether it is being
  28644. # built for inclusion in a dll (and should export symbols for example).
  28645. - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
  28646. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  28647. + # (--disable-auto-import) libraries
  28648. + lt_prog_compiler_pic='-DDLL_EXPORT'
  28649. ;;
  28650. darwin* | rhapsody*)
  28651. # PIC is the default on this platform
  28652. # Common symbols not allowed in MH_DYLIB files
  28653. - lt_prog_compiler_pic_GCJ='-fno-common'
  28654. + lt_prog_compiler_pic='-fno-common'
  28655. + ;;
  28656. +
  28657. + hpux*)
  28658. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  28659. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  28660. + # sets the default TLS model and affects inlining.
  28661. + case $host_cpu in
  28662. + hppa*64*)
  28663. + # +Z the default
  28664. + ;;
  28665. + *)
  28666. + lt_prog_compiler_pic='-fPIC'
  28667. + ;;
  28668. + esac
  28669. ;;
  28670. - interix3*)
  28671. + interix[3-9]*)
  28672. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  28673. # Instead, we relocate shared libraries at runtime.
  28674. ;;
  28675. @@ -16939,64 +7525,47 @@
  28676. msdosdjgpp*)
  28677. # Just because we use GCC doesn't mean we suddenly get shared libraries
  28678. # on systems that don't support them.
  28679. - lt_prog_compiler_can_build_shared_GCJ=no
  28680. + lt_prog_compiler_can_build_shared=no
  28681. enable_shared=no
  28682. ;;
  28683. + *nto* | *qnx*)
  28684. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  28685. + # it will coredump.
  28686. + lt_prog_compiler_pic='-fPIC -shared'
  28687. + ;;
  28688. +
  28689. sysv4*MP*)
  28690. if test -d /usr/nec; then
  28691. - lt_prog_compiler_pic_GCJ=-Kconform_pic
  28692. + lt_prog_compiler_pic=-Kconform_pic
  28693. fi
  28694. ;;
  28695. - hpux*)
  28696. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  28697. - # not for PA HP-UX.
  28698. - case $host_cpu in
  28699. - hppa*64*|ia64*)
  28700. - # +Z the default
  28701. - ;;
  28702. - *)
  28703. - lt_prog_compiler_pic_GCJ='-fPIC'
  28704. - ;;
  28705. - esac
  28706. - ;;
  28707. -
  28708. *)
  28709. - lt_prog_compiler_pic_GCJ='-fPIC'
  28710. + lt_prog_compiler_pic='-fPIC'
  28711. ;;
  28712. esac
  28713. else
  28714. # PORTME Check for flag to pass linker flags through the system compiler.
  28715. case $host_os in
  28716. aix*)
  28717. - lt_prog_compiler_wl_GCJ='-Wl,'
  28718. + lt_prog_compiler_wl='-Wl,'
  28719. if test "$host_cpu" = ia64; then
  28720. # AIX 5 now supports IA64 processor
  28721. - lt_prog_compiler_static_GCJ='-Bstatic'
  28722. + lt_prog_compiler_static='-Bstatic'
  28723. else
  28724. - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
  28725. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  28726. fi
  28727. ;;
  28728. - darwin*)
  28729. - # PIC is the default on this platform
  28730. - # Common symbols not allowed in MH_DYLIB files
  28731. - case $cc_basename in
  28732. - xlc*)
  28733. - lt_prog_compiler_pic_GCJ='-qnocommon'
  28734. - lt_prog_compiler_wl_GCJ='-Wl,'
  28735. - ;;
  28736. - esac
  28737. - ;;
  28738. - mingw* | pw32* | os2*)
  28739. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  28740. # This hack is so that the source file can tell whether it is being
  28741. # built for inclusion in a dll (and should export symbols for example).
  28742. - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
  28743. + lt_prog_compiler_pic='-DDLL_EXPORT'
  28744. ;;
  28745. hpux9* | hpux10* | hpux11*)
  28746. - lt_prog_compiler_wl_GCJ='-Wl,'
  28747. + lt_prog_compiler_wl='-Wl,'
  28748. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  28749. # not for PA HP-UX.
  28750. case $host_cpu in
  28751. @@ -17004,121 +7573,180 @@
  28752. # +Z the default
  28753. ;;
  28754. *)
  28755. - lt_prog_compiler_pic_GCJ='+Z'
  28756. + lt_prog_compiler_pic='+Z'
  28757. ;;
  28758. esac
  28759. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  28760. - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
  28761. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  28762. ;;
  28763. irix5* | irix6* | nonstopux*)
  28764. - lt_prog_compiler_wl_GCJ='-Wl,'
  28765. + lt_prog_compiler_wl='-Wl,'
  28766. # PIC (with -KPIC) is the default.
  28767. - lt_prog_compiler_static_GCJ='-non_shared'
  28768. - ;;
  28769. -
  28770. - newsos6)
  28771. - lt_prog_compiler_pic_GCJ='-KPIC'
  28772. - lt_prog_compiler_static_GCJ='-Bstatic'
  28773. + lt_prog_compiler_static='-non_shared'
  28774. ;;
  28775. - linux*)
  28776. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  28777. case $cc_basename in
  28778. - icc* | ecc*)
  28779. - lt_prog_compiler_wl_GCJ='-Wl,'
  28780. - lt_prog_compiler_pic_GCJ='-KPIC'
  28781. - lt_prog_compiler_static_GCJ='-static'
  28782. + # old Intel for x86_64 which still supported -KPIC.
  28783. + ecc*)
  28784. + lt_prog_compiler_wl='-Wl,'
  28785. + lt_prog_compiler_pic='-KPIC'
  28786. + lt_prog_compiler_static='-static'
  28787. + ;;
  28788. + # icc used to be incompatible with GCC.
  28789. + # ICC 10 doesn't accept -KPIC any more.
  28790. + icc* | ifort*)
  28791. + lt_prog_compiler_wl='-Wl,'
  28792. + lt_prog_compiler_pic='-fPIC'
  28793. + lt_prog_compiler_static='-static'
  28794. ;;
  28795. + # Lahey Fortran 8.1.
  28796. + lf95*)
  28797. + lt_prog_compiler_wl='-Wl,'
  28798. + lt_prog_compiler_pic='--shared'
  28799. + lt_prog_compiler_static='--static'
  28800. + ;;
  28801. pgcc* | pgf77* | pgf90* | pgf95*)
  28802. # Portland Group compilers (*not* the Pentium gcc compiler,
  28803. # which looks to be a dead project)
  28804. - lt_prog_compiler_wl_GCJ='-Wl,'
  28805. - lt_prog_compiler_pic_GCJ='-fpic'
  28806. - lt_prog_compiler_static_GCJ='-Bstatic'
  28807. + lt_prog_compiler_wl='-Wl,'
  28808. + lt_prog_compiler_pic='-fpic'
  28809. + lt_prog_compiler_static='-Bstatic'
  28810. ;;
  28811. ccc*)
  28812. - lt_prog_compiler_wl_GCJ='-Wl,'
  28813. + lt_prog_compiler_wl='-Wl,'
  28814. # All Alpha code is PIC.
  28815. - lt_prog_compiler_static_GCJ='-non_shared'
  28816. + lt_prog_compiler_static='-non_shared'
  28817. ;;
  28818. + xl*)
  28819. + # IBM XL C 8.0/Fortran 10.1 on PPC
  28820. + lt_prog_compiler_wl='-Wl,'
  28821. + lt_prog_compiler_pic='-qpic'
  28822. + lt_prog_compiler_static='-qstaticlink'
  28823. + ;;
  28824. + *)
  28825. + case `$CC -V 2>&1 | sed 5q` in
  28826. + *Sun\ C*)
  28827. + # Sun C 5.9
  28828. + lt_prog_compiler_pic='-KPIC'
  28829. + lt_prog_compiler_static='-Bstatic'
  28830. + lt_prog_compiler_wl='-Wl,'
  28831. + ;;
  28832. + *Sun\ F*)
  28833. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  28834. + lt_prog_compiler_pic='-KPIC'
  28835. + lt_prog_compiler_static='-Bstatic'
  28836. + lt_prog_compiler_wl=''
  28837. + ;;
  28838. + esac
  28839. + ;;
  28840. esac
  28841. ;;
  28842. + newsos6)
  28843. + lt_prog_compiler_pic='-KPIC'
  28844. + lt_prog_compiler_static='-Bstatic'
  28845. + ;;
  28846. +
  28847. + *nto* | *qnx*)
  28848. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  28849. + # it will coredump.
  28850. + lt_prog_compiler_pic='-fPIC -shared'
  28851. + ;;
  28852. +
  28853. osf3* | osf4* | osf5*)
  28854. - lt_prog_compiler_wl_GCJ='-Wl,'
  28855. + lt_prog_compiler_wl='-Wl,'
  28856. # All OSF/1 code is PIC.
  28857. - lt_prog_compiler_static_GCJ='-non_shared'
  28858. + lt_prog_compiler_static='-non_shared'
  28859. + ;;
  28860. +
  28861. + rdos*)
  28862. + lt_prog_compiler_static='-non_shared'
  28863. ;;
  28864. solaris*)
  28865. - lt_prog_compiler_pic_GCJ='-KPIC'
  28866. - lt_prog_compiler_static_GCJ='-Bstatic'
  28867. + lt_prog_compiler_pic='-KPIC'
  28868. + lt_prog_compiler_static='-Bstatic'
  28869. case $cc_basename in
  28870. f77* | f90* | f95*)
  28871. - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
  28872. + lt_prog_compiler_wl='-Qoption ld ';;
  28873. *)
  28874. - lt_prog_compiler_wl_GCJ='-Wl,';;
  28875. + lt_prog_compiler_wl='-Wl,';;
  28876. esac
  28877. ;;
  28878. sunos4*)
  28879. - lt_prog_compiler_wl_GCJ='-Qoption ld '
  28880. - lt_prog_compiler_pic_GCJ='-PIC'
  28881. - lt_prog_compiler_static_GCJ='-Bstatic'
  28882. + lt_prog_compiler_wl='-Qoption ld '
  28883. + lt_prog_compiler_pic='-PIC'
  28884. + lt_prog_compiler_static='-Bstatic'
  28885. ;;
  28886. sysv4 | sysv4.2uw2* | sysv4.3*)
  28887. - lt_prog_compiler_wl_GCJ='-Wl,'
  28888. - lt_prog_compiler_pic_GCJ='-KPIC'
  28889. - lt_prog_compiler_static_GCJ='-Bstatic'
  28890. + lt_prog_compiler_wl='-Wl,'
  28891. + lt_prog_compiler_pic='-KPIC'
  28892. + lt_prog_compiler_static='-Bstatic'
  28893. ;;
  28894. sysv4*MP*)
  28895. if test -d /usr/nec ;then
  28896. - lt_prog_compiler_pic_GCJ='-Kconform_pic'
  28897. - lt_prog_compiler_static_GCJ='-Bstatic'
  28898. + lt_prog_compiler_pic='-Kconform_pic'
  28899. + lt_prog_compiler_static='-Bstatic'
  28900. fi
  28901. ;;
  28902. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  28903. - lt_prog_compiler_wl_GCJ='-Wl,'
  28904. - lt_prog_compiler_pic_GCJ='-KPIC'
  28905. - lt_prog_compiler_static_GCJ='-Bstatic'
  28906. + lt_prog_compiler_wl='-Wl,'
  28907. + lt_prog_compiler_pic='-KPIC'
  28908. + lt_prog_compiler_static='-Bstatic'
  28909. ;;
  28910. unicos*)
  28911. - lt_prog_compiler_wl_GCJ='-Wl,'
  28912. - lt_prog_compiler_can_build_shared_GCJ=no
  28913. + lt_prog_compiler_wl='-Wl,'
  28914. + lt_prog_compiler_can_build_shared=no
  28915. ;;
  28916. uts4*)
  28917. - lt_prog_compiler_pic_GCJ='-pic'
  28918. - lt_prog_compiler_static_GCJ='-Bstatic'
  28919. + lt_prog_compiler_pic='-pic'
  28920. + lt_prog_compiler_static='-Bstatic'
  28921. ;;
  28922. *)
  28923. - lt_prog_compiler_can_build_shared_GCJ=no
  28924. + lt_prog_compiler_can_build_shared=no
  28925. ;;
  28926. esac
  28927. fi
  28928. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
  28929. -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
  28930. +case $host_os in
  28931. + # For platforms which do not support PIC, -DPIC is meaningless:
  28932. + *djgpp*)
  28933. + lt_prog_compiler_pic=
  28934. + ;;
  28935. + *)
  28936. + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  28937. + ;;
  28938. +esac
  28939. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  28940. +$as_echo "$lt_prog_compiler_pic" >&6; }
  28941. +
  28942. +
  28943. +
  28944. +
  28945. +
  28946. #
  28947. # Check to make sure the PIC flag actually works.
  28948. #
  28949. -if test -n "$lt_prog_compiler_pic_GCJ"; then
  28950. -
  28951. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
  28952. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
  28953. -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
  28954. - echo $ECHO_N "(cached) $ECHO_C" >&6
  28955. -else
  28956. - lt_prog_compiler_pic_works_GCJ=no
  28957. - ac_outfile=conftest.$ac_objext
  28958. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  28959. - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
  28960. +if test -n "$lt_prog_compiler_pic"; then
  28961. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  28962. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  28963. +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  28964. + $as_echo_n "(cached) " >&6
  28965. +else
  28966. + lt_cv_prog_compiler_pic_works=no
  28967. + ac_outfile=conftest.$ac_objext
  28968. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  28969. + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  28970. # Insert the option either (1) after the last *FLAGS variable, or
  28971. # (2) before a word containing "conftest.", or (3) at the end.
  28972. # Note that $ac_compile itself does not contain backslashes and begins
  28973. @@ -17128,100 +7756,156 @@
  28974. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  28975. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  28976. -e 's:$: $lt_compiler_flag:'`
  28977. - (eval echo "\"\$as_me:17131: $lt_compile\"" >&5)
  28978. + (eval echo "\"\$as_me:7759: $lt_compile\"" >&5)
  28979. (eval "$lt_compile" 2>conftest.err)
  28980. ac_status=$?
  28981. cat conftest.err >&5
  28982. - echo "$as_me:17135: \$? = $ac_status" >&5
  28983. + echo "$as_me:7763: \$? = $ac_status" >&5
  28984. if (exit $ac_status) && test -s "$ac_outfile"; then
  28985. # The compiler can only warn and ignore the option if not recognized
  28986. # So say no if there are warnings other than the usual output.
  28987. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  28988. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  28989. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  28990. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  28991. - lt_prog_compiler_pic_works_GCJ=yes
  28992. + lt_cv_prog_compiler_pic_works=yes
  28993. fi
  28994. fi
  28995. - $rm conftest*
  28996. + $RM conftest*
  28997. fi
  28998. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
  28999. -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
  29000. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  29001. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  29002. -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
  29003. - case $lt_prog_compiler_pic_GCJ in
  29004. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  29005. + case $lt_prog_compiler_pic in
  29006. "" | " "*) ;;
  29007. - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
  29008. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  29009. esac
  29010. else
  29011. - lt_prog_compiler_pic_GCJ=
  29012. - lt_prog_compiler_can_build_shared_GCJ=no
  29013. + lt_prog_compiler_pic=
  29014. + lt_prog_compiler_can_build_shared=no
  29015. fi
  29016. fi
  29017. -case $host_os in
  29018. - # For platforms which do not support PIC, -DPIC is meaningless:
  29019. - *djgpp*)
  29020. - lt_prog_compiler_pic_GCJ=
  29021. - ;;
  29022. - *)
  29023. - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
  29024. - ;;
  29025. -esac
  29026. +
  29027. +
  29028. +
  29029. +
  29030. +
  29031. #
  29032. # Check to make sure the static flag actually works.
  29033. #
  29034. -wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
  29035. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  29036. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  29037. -if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
  29038. - echo $ECHO_N "(cached) $ECHO_C" >&6
  29039. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  29040. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  29041. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  29042. +if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  29043. + $as_echo_n "(cached) " >&6
  29044. else
  29045. - lt_prog_compiler_static_works_GCJ=no
  29046. + lt_cv_prog_compiler_static_works=no
  29047. save_LDFLAGS="$LDFLAGS"
  29048. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  29049. - printf "$lt_simple_link_test_code" > conftest.$ac_ext
  29050. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  29051. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  29052. # The linker can only warn and ignore the option if not recognized
  29053. # So say no if there are warnings
  29054. if test -s conftest.err; then
  29055. # Append any errors to the config.log.
  29056. cat conftest.err 1>&5
  29057. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  29058. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  29059. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  29060. if diff conftest.exp conftest.er2 >/dev/null; then
  29061. - lt_prog_compiler_static_works_GCJ=yes
  29062. + lt_cv_prog_compiler_static_works=yes
  29063. fi
  29064. else
  29065. - lt_prog_compiler_static_works_GCJ=yes
  29066. + lt_cv_prog_compiler_static_works=yes
  29067. fi
  29068. fi
  29069. - $rm conftest*
  29070. + $RM -r conftest*
  29071. LDFLAGS="$save_LDFLAGS"
  29072. fi
  29073. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
  29074. -echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
  29075. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  29076. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  29077. -if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
  29078. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  29079. :
  29080. else
  29081. - lt_prog_compiler_static_GCJ=
  29082. + lt_prog_compiler_static=
  29083. +fi
  29084. +
  29085. +
  29086. +
  29087. +
  29088. +
  29089. +
  29090. +
  29091. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  29092. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  29093. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  29094. + $as_echo_n "(cached) " >&6
  29095. +else
  29096. + lt_cv_prog_compiler_c_o=no
  29097. + $RM -r conftest 2>/dev/null
  29098. + mkdir conftest
  29099. + cd conftest
  29100. + mkdir out
  29101. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  29102. +
  29103. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  29104. + # Insert the option either (1) after the last *FLAGS variable, or
  29105. + # (2) before a word containing "conftest.", or (3) at the end.
  29106. + # Note that $ac_compile itself does not contain backslashes and begins
  29107. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  29108. + lt_compile=`echo "$ac_compile" | $SED \
  29109. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  29110. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  29111. + -e 's:$: $lt_compiler_flag:'`
  29112. + (eval echo "\"\$as_me:7864: $lt_compile\"" >&5)
  29113. + (eval "$lt_compile" 2>out/conftest.err)
  29114. + ac_status=$?
  29115. + cat out/conftest.err >&5
  29116. + echo "$as_me:7868: \$? = $ac_status" >&5
  29117. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  29118. + then
  29119. + # The compiler can only warn and ignore the option if not recognized
  29120. + # So say no if there are warnings
  29121. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  29122. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  29123. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  29124. + lt_cv_prog_compiler_c_o=yes
  29125. + fi
  29126. + fi
  29127. + chmod u+w . 2>&5
  29128. + $RM conftest*
  29129. + # SGI C++ compiler will create directory out/ii_files/ for
  29130. + # template instantiation
  29131. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  29132. + $RM out/* && rmdir out
  29133. + cd ..
  29134. + $RM -r conftest
  29135. + $RM conftest*
  29136. +
  29137. fi
  29138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  29139. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  29140. +
  29141. +
  29142. +
  29143. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  29144. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  29145. -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
  29146. - echo $ECHO_N "(cached) $ECHO_C" >&6
  29147. +
  29148. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  29149. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  29150. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  29151. + $as_echo_n "(cached) " >&6
  29152. else
  29153. - lt_cv_prog_compiler_c_o_GCJ=no
  29154. - $rm -r conftest 2>/dev/null
  29155. + lt_cv_prog_compiler_c_o=no
  29156. + $RM -r conftest 2>/dev/null
  29157. mkdir conftest
  29158. cd conftest
  29159. mkdir out
  29160. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  29161. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  29162. lt_compiler_flag="-o out/conftest2.$ac_objext"
  29163. # Insert the option either (1) after the last *FLAGS variable, or
  29164. @@ -17232,110 +7916,111 @@
  29165. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  29166. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  29167. -e 's:$: $lt_compiler_flag:'`
  29168. - (eval echo "\"\$as_me:17235: $lt_compile\"" >&5)
  29169. + (eval echo "\"\$as_me:7919: $lt_compile\"" >&5)
  29170. (eval "$lt_compile" 2>out/conftest.err)
  29171. ac_status=$?
  29172. cat out/conftest.err >&5
  29173. - echo "$as_me:17239: \$? = $ac_status" >&5
  29174. + echo "$as_me:7923: \$? = $ac_status" >&5
  29175. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  29176. then
  29177. # The compiler can only warn and ignore the option if not recognized
  29178. # So say no if there are warnings
  29179. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  29180. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  29181. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  29182. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  29183. - lt_cv_prog_compiler_c_o_GCJ=yes
  29184. + lt_cv_prog_compiler_c_o=yes
  29185. fi
  29186. fi
  29187. chmod u+w . 2>&5
  29188. - $rm conftest*
  29189. + $RM conftest*
  29190. # SGI C++ compiler will create directory out/ii_files/ for
  29191. # template instantiation
  29192. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  29193. - $rm out/* && rmdir out
  29194. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  29195. + $RM out/* && rmdir out
  29196. cd ..
  29197. - rmdir conftest
  29198. - $rm conftest*
  29199. + $RM -r conftest
  29200. + $RM conftest*
  29201. fi
  29202. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
  29203. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
  29204. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  29205. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  29206. +
  29207. +
  29208. hard_links="nottested"
  29209. -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
  29210. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  29211. # do not overwrite the value of need_locks provided by the user
  29212. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  29213. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  29214. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  29215. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  29216. hard_links=yes
  29217. - $rm conftest*
  29218. + $RM conftest*
  29219. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  29220. touch conftest.a
  29221. ln conftest.a conftest.b 2>&5 || hard_links=no
  29222. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  29223. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  29224. -echo "${ECHO_T}$hard_links" >&6; }
  29225. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  29226. +$as_echo "$hard_links" >&6; }
  29227. if test "$hard_links" = no; then
  29228. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  29229. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  29230. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  29231. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  29232. need_locks=warn
  29233. fi
  29234. else
  29235. need_locks=no
  29236. fi
  29237. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  29238. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  29239. +
  29240. +
  29241. +
  29242. +
  29243. +
  29244. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  29245. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  29246. runpath_var=
  29247. - allow_undefined_flag_GCJ=
  29248. - enable_shared_with_static_runtimes_GCJ=no
  29249. - archive_cmds_GCJ=
  29250. - archive_expsym_cmds_GCJ=
  29251. - old_archive_From_new_cmds_GCJ=
  29252. - old_archive_from_expsyms_cmds_GCJ=
  29253. - export_dynamic_flag_spec_GCJ=
  29254. - whole_archive_flag_spec_GCJ=
  29255. - thread_safe_flag_spec_GCJ=
  29256. - hardcode_libdir_flag_spec_GCJ=
  29257. - hardcode_libdir_flag_spec_ld_GCJ=
  29258. - hardcode_libdir_separator_GCJ=
  29259. - hardcode_direct_GCJ=no
  29260. - hardcode_minus_L_GCJ=no
  29261. - hardcode_shlibpath_var_GCJ=unsupported
  29262. - link_all_deplibs_GCJ=unknown
  29263. - hardcode_automatic_GCJ=no
  29264. - module_cmds_GCJ=
  29265. - module_expsym_cmds_GCJ=
  29266. - always_export_symbols_GCJ=no
  29267. - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  29268. + allow_undefined_flag=
  29269. + always_export_symbols=no
  29270. + archive_cmds=
  29271. + archive_expsym_cmds=
  29272. + compiler_needs_object=no
  29273. + enable_shared_with_static_runtimes=no
  29274. + export_dynamic_flag_spec=
  29275. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  29276. + hardcode_automatic=no
  29277. + hardcode_direct=no
  29278. + hardcode_direct_absolute=no
  29279. + hardcode_libdir_flag_spec=
  29280. + hardcode_libdir_flag_spec_ld=
  29281. + hardcode_libdir_separator=
  29282. + hardcode_minus_L=no
  29283. + hardcode_shlibpath_var=unsupported
  29284. + inherit_rpath=no
  29285. + link_all_deplibs=unknown
  29286. + module_cmds=
  29287. + module_expsym_cmds=
  29288. + old_archive_from_new_cmds=
  29289. + old_archive_from_expsyms_cmds=
  29290. + thread_safe_flag_spec=
  29291. + whole_archive_flag_spec=
  29292. # include_expsyms should be a list of space-separated symbols to be *always*
  29293. # included in the symbol list
  29294. - include_expsyms_GCJ=
  29295. + include_expsyms=
  29296. # exclude_expsyms can be an extended regexp of symbols to exclude
  29297. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  29298. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  29299. # as well as any symbol that contains `d'.
  29300. - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
  29301. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  29302. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  29303. # platforms (ab)use it in PIC code, but their linkers get confused if
  29304. # the symbol is explicitly referenced. Since portable code cannot
  29305. # rely on this symbol name, it's probably fine to never include it in
  29306. # preloaded symbol tables.
  29307. + # Exclude shared library initialization/finalization symbols.
  29308. extract_expsyms_cmds=
  29309. - # Just being paranoid about ensuring that cc_basename is set.
  29310. - for cc_temp in $compiler""; do
  29311. - case $cc_temp in
  29312. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  29313. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  29314. - \-*) ;;
  29315. - *) break;;
  29316. - esac
  29317. -done
  29318. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  29319. case $host_os in
  29320. - cygwin* | mingw* | pw32*)
  29321. + cygwin* | mingw* | pw32* | cegcc*)
  29322. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  29323. # When not using gcc, we currently assume that we are using
  29324. # Microsoft Visual C++.
  29325. @@ -17350,9 +8035,12 @@
  29326. openbsd*)
  29327. with_gnu_ld=no
  29328. ;;
  29329. + linux* | k*bsd*-gnu)
  29330. + link_all_deplibs=no
  29331. + ;;
  29332. esac
  29333. - ld_shlibs_GCJ=yes
  29334. + ld_shlibs=yes
  29335. if test "$with_gnu_ld" = yes; then
  29336. # If archive_cmds runs LD, not CC, wlarc should be empty
  29337. wlarc='${wl}'
  29338. @@ -17361,16 +8049,17 @@
  29339. # are reset later if shared libraries are not supported. Putting them
  29340. # here allows them to be overridden if necessary.
  29341. runpath_var=LD_RUN_PATH
  29342. - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
  29343. - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
  29344. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  29345. + export_dynamic_flag_spec='${wl}--export-dynamic'
  29346. # ancient GNU ld didn't support --whole-archive et. al.
  29347. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  29348. - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  29349. - else
  29350. - whole_archive_flag_spec_GCJ=
  29351. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  29352. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  29353. + else
  29354. + whole_archive_flag_spec=
  29355. fi
  29356. supports_anon_versioning=no
  29357. - case `$LD -v 2>/dev/null` in
  29358. + case `$LD -v 2>&1` in
  29359. + *GNU\ gold*) supports_anon_versioning=yes ;;
  29360. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  29361. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  29362. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  29363. @@ -17380,11 +8069,11 @@
  29364. # See if GNU ld supports shared libraries.
  29365. case $host_os in
  29366. - aix3* | aix4* | aix5*)
  29367. + aix[3-9]*)
  29368. # On AIX/PPC, the GNU linker is very broken
  29369. if test "$host_cpu" != ia64; then
  29370. - ld_shlibs_GCJ=no
  29371. - cat <<EOF 1>&2
  29372. + ld_shlibs=no
  29373. + cat <<_LT_EOF 1>&2
  29374. *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  29375. *** to be unable to reliably create shared libraries on AIX.
  29376. @@ -17392,49 +8081,50 @@
  29377. *** really care for shared libraries, you may want to modify your PATH
  29378. *** so that a non-GNU linker is found, and then restart.
  29379. -EOF
  29380. +_LT_EOF
  29381. fi
  29382. ;;
  29383. amigaos*)
  29384. - archive_cmds_GCJ='$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)'
  29385. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  29386. - hardcode_minus_L_GCJ=yes
  29387. -
  29388. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  29389. - # that the semantics of dynamic libraries on AmigaOS, at least up
  29390. - # to version 4, is to share data among multiple programs linked
  29391. - # with the same dynamic library. Since this doesn't match the
  29392. - # behavior of shared libraries on other platforms, we can't use
  29393. - # them.
  29394. - ld_shlibs_GCJ=no
  29395. + case $host_cpu in
  29396. + powerpc)
  29397. + # see comment about AmigaOS4 .so support
  29398. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29399. + archive_expsym_cmds=''
  29400. + ;;
  29401. + m68k)
  29402. + archive_cmds='$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)'
  29403. + hardcode_libdir_flag_spec='-L$libdir'
  29404. + hardcode_minus_L=yes
  29405. + ;;
  29406. + esac
  29407. ;;
  29408. beos*)
  29409. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  29410. - allow_undefined_flag_GCJ=unsupported
  29411. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  29412. + allow_undefined_flag=unsupported
  29413. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  29414. # support --undefined. This deserves some investigation. FIXME
  29415. - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29416. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29417. else
  29418. - ld_shlibs_GCJ=no
  29419. + ld_shlibs=no
  29420. fi
  29421. ;;
  29422. - cygwin* | mingw* | pw32*)
  29423. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
  29424. + cygwin* | mingw* | pw32* | cegcc*)
  29425. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  29426. # as there is no search path for DLLs.
  29427. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  29428. - allow_undefined_flag_GCJ=unsupported
  29429. - always_export_symbols_GCJ=no
  29430. - enable_shared_with_static_runtimes_GCJ=yes
  29431. - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
  29432. + hardcode_libdir_flag_spec='-L$libdir'
  29433. + allow_undefined_flag=unsupported
  29434. + always_export_symbols=no
  29435. + enable_shared_with_static_runtimes=yes
  29436. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  29437. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  29438. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  29439. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  29440. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  29441. # If the export-symbols file already is a .def file (1st line
  29442. # is EXPORTS), use it as is; otherwise, prepend...
  29443. - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  29444. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  29445. cp $export_symbols $output_objdir/$soname.def;
  29446. else
  29447. echo EXPORTS > $output_objdir/$soname.def;
  29448. @@ -17442,70 +8132,109 @@
  29449. fi~
  29450. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  29451. else
  29452. - ld_shlibs_GCJ=no
  29453. + ld_shlibs=no
  29454. fi
  29455. ;;
  29456. - interix3*)
  29457. - hardcode_direct_GCJ=no
  29458. - hardcode_shlibpath_var_GCJ=no
  29459. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  29460. - export_dynamic_flag_spec_GCJ='${wl}-E'
  29461. + interix[3-9]*)
  29462. + hardcode_direct=no
  29463. + hardcode_shlibpath_var=no
  29464. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  29465. + export_dynamic_flag_spec='${wl}-E'
  29466. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  29467. # Instead, shared libraries are loaded at an image base (0x10000000 by
  29468. # default) and relocated if they conflict, which is a slow very memory
  29469. # consuming and fragmenting process. To avoid this, we pick a random,
  29470. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  29471. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  29472. - archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  29473. - archive_expsym_cmds_GCJ='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'
  29474. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  29475. + 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'
  29476. ;;
  29477. - linux*)
  29478. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  29479. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  29480. + tmp_diet=no
  29481. + if test "$host_os" = linux-dietlibc; then
  29482. + case $cc_basename in
  29483. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  29484. + esac
  29485. + fi
  29486. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  29487. + && test "$tmp_diet" = no
  29488. + then
  29489. tmp_addflag=
  29490. + tmp_sharedflag='-shared'
  29491. case $cc_basename,$host_cpu in
  29492. - pgcc*) # Portland Group C compiler
  29493. - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  29494. + pgcc*) # Portland Group C compiler
  29495. + 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'
  29496. tmp_addflag=' $pic_flag'
  29497. ;;
  29498. pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  29499. - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
  29500. + 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'
  29501. tmp_addflag=' $pic_flag -Mnomain' ;;
  29502. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  29503. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  29504. tmp_addflag=' -i_dynamic' ;;
  29505. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  29506. tmp_addflag=' -i_dynamic -nofor_main' ;;
  29507. ifc* | ifort*) # Intel Fortran compiler
  29508. tmp_addflag=' -nofor_main' ;;
  29509. + lf95*) # Lahey Fortran 8.1
  29510. + whole_archive_flag_spec=
  29511. + tmp_sharedflag='--shared' ;;
  29512. + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  29513. + tmp_sharedflag='-qmkshrobj'
  29514. + tmp_addflag= ;;
  29515. + esac
  29516. + case `$CC -V 2>&1 | sed 5q` in
  29517. + *Sun\ C*) # Sun C 5.9
  29518. + 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'
  29519. + compiler_needs_object=yes
  29520. + tmp_sharedflag='-G' ;;
  29521. + *Sun\ F*) # Sun Fortran 8.3
  29522. + tmp_sharedflag='-G' ;;
  29523. esac
  29524. - archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29525. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29526. - if test $supports_anon_versioning = yes; then
  29527. - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
  29528. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  29529. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  29530. - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  29531. - fi
  29532. + if test "x$supports_anon_versioning" = xyes; then
  29533. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  29534. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  29535. + echo "local: *; };" >> $output_objdir/$libname.ver~
  29536. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  29537. + fi
  29538. +
  29539. + case $cc_basename in
  29540. + xlf*)
  29541. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  29542. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  29543. + hardcode_libdir_flag_spec=
  29544. + hardcode_libdir_flag_spec_ld='-rpath $libdir'
  29545. + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  29546. + if test "x$supports_anon_versioning" = xyes; then
  29547. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  29548. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  29549. + echo "local: *; };" >> $output_objdir/$libname.ver~
  29550. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  29551. + fi
  29552. + ;;
  29553. + esac
  29554. else
  29555. - ld_shlibs_GCJ=no
  29556. + ld_shlibs=no
  29557. fi
  29558. ;;
  29559. - netbsd*)
  29560. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  29561. - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  29562. + netbsd* | netbsdelf*-gnu)
  29563. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  29564. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  29565. wlarc=
  29566. else
  29567. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29568. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  29569. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29570. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  29571. fi
  29572. ;;
  29573. solaris*)
  29574. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  29575. - ld_shlibs_GCJ=no
  29576. - cat <<EOF 1>&2
  29577. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  29578. + ld_shlibs=no
  29579. + cat <<_LT_EOF 1>&2
  29580. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  29581. *** create shared libraries on Solaris systems. Therefore, libtool
  29582. @@ -17514,19 +8243,19 @@
  29583. *** your PATH or compiler configuration so that the native linker is
  29584. *** used, and then restart.
  29585. -EOF
  29586. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  29587. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29588. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  29589. +_LT_EOF
  29590. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  29591. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29592. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  29593. else
  29594. - ld_shlibs_GCJ=no
  29595. + ld_shlibs=no
  29596. fi
  29597. ;;
  29598. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  29599. case `$LD -v 2>&1` in
  29600. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  29601. - ld_shlibs_GCJ=no
  29602. + ld_shlibs=no
  29603. cat <<_LT_EOF 1>&2
  29604. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  29605. @@ -17539,58 +8268,62 @@
  29606. _LT_EOF
  29607. ;;
  29608. *)
  29609. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  29610. - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  29611. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  29612. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  29613. + # For security reasons, it is highly recommended that you always
  29614. + # use absolute paths for naming shared libraries, and exclude the
  29615. + # DT_RUNPATH tag from executables and libraries. But doing so
  29616. + # requires that you compile everything twice, which is a pain.
  29617. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  29618. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  29619. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29620. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  29621. else
  29622. - ld_shlibs_GCJ=no
  29623. + ld_shlibs=no
  29624. fi
  29625. ;;
  29626. esac
  29627. ;;
  29628. sunos4*)
  29629. - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  29630. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  29631. wlarc=
  29632. - hardcode_direct_GCJ=yes
  29633. - hardcode_shlibpath_var_GCJ=no
  29634. + hardcode_direct=yes
  29635. + hardcode_shlibpath_var=no
  29636. ;;
  29637. *)
  29638. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  29639. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29640. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  29641. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  29642. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29643. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  29644. else
  29645. - ld_shlibs_GCJ=no
  29646. + ld_shlibs=no
  29647. fi
  29648. ;;
  29649. esac
  29650. - if test "$ld_shlibs_GCJ" = no; then
  29651. + if test "$ld_shlibs" = no; then
  29652. runpath_var=
  29653. - hardcode_libdir_flag_spec_GCJ=
  29654. - export_dynamic_flag_spec_GCJ=
  29655. - whole_archive_flag_spec_GCJ=
  29656. + hardcode_libdir_flag_spec=
  29657. + export_dynamic_flag_spec=
  29658. + whole_archive_flag_spec=
  29659. fi
  29660. else
  29661. # PORTME fill in a description of your system's linker (not GNU ld)
  29662. case $host_os in
  29663. aix3*)
  29664. - allow_undefined_flag_GCJ=unsupported
  29665. - always_export_symbols_GCJ=yes
  29666. - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  29667. + allow_undefined_flag=unsupported
  29668. + always_export_symbols=yes
  29669. + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  29670. # Note: this linker hardcodes the directories in LIBPATH if there
  29671. # are no directories specified by -L.
  29672. - hardcode_minus_L_GCJ=yes
  29673. + hardcode_minus_L=yes
  29674. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  29675. # Neither direct hardcoding nor static linking is supported with a
  29676. # broken collect2.
  29677. - hardcode_direct_GCJ=unsupported
  29678. + hardcode_direct=unsupported
  29679. fi
  29680. ;;
  29681. - aix4* | aix5*)
  29682. + aix[4-9]*)
  29683. if test "$host_cpu" = ia64; then
  29684. # On IA64, the linker does run time linking by default, so we don't
  29685. # have to do anything special.
  29686. @@ -17600,22 +8333,22 @@
  29687. else
  29688. # If we're using GNU nm, then we don't want the "-C" option.
  29689. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  29690. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  29691. - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  29692. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  29693. + 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'
  29694. else
  29695. - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
  29696. + 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'
  29697. fi
  29698. aix_use_runtimelinking=no
  29699. # Test if we are trying to use run time linking or normal
  29700. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  29701. # need to do runtime linking.
  29702. - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
  29703. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  29704. for ld_flag in $LDFLAGS; do
  29705. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  29706. - aix_use_runtimelinking=yes
  29707. - break
  29708. - fi
  29709. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  29710. + aix_use_runtimelinking=yes
  29711. + break
  29712. + fi
  29713. done
  29714. ;;
  29715. esac
  29716. @@ -17630,30 +8363,32 @@
  29717. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  29718. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  29719. - archive_cmds_GCJ=''
  29720. - hardcode_direct_GCJ=yes
  29721. - hardcode_libdir_separator_GCJ=':'
  29722. - link_all_deplibs_GCJ=yes
  29723. + archive_cmds=''
  29724. + hardcode_direct=yes
  29725. + hardcode_direct_absolute=yes
  29726. + hardcode_libdir_separator=':'
  29727. + link_all_deplibs=yes
  29728. + file_list_spec='${wl}-f,'
  29729. if test "$GCC" = yes; then
  29730. case $host_os in aix4.[012]|aix4.[012].*)
  29731. # We only want to do this on AIX 4.2 and lower, the check
  29732. # below for broken collect2 doesn't work under 4.3+
  29733. collect2name=`${CC} -print-prog-name=collect2`
  29734. - if test -f "$collect2name" && \
  29735. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  29736. + if test -f "$collect2name" &&
  29737. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  29738. then
  29739. - # We have reworked collect2
  29740. - hardcode_direct_GCJ=yes
  29741. + # We have reworked collect2
  29742. + :
  29743. else
  29744. - # We have old collect2
  29745. - hardcode_direct_GCJ=unsupported
  29746. - # It fails to find uninstalled libraries when the uninstalled
  29747. - # path is not listed in the libpath. Setting hardcode_minus_L
  29748. - # to unsupported forces relinking
  29749. - hardcode_minus_L_GCJ=yes
  29750. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  29751. - hardcode_libdir_separator_GCJ=
  29752. + # We have old collect2
  29753. + hardcode_direct=unsupported
  29754. + # It fails to find uninstalled libraries when the uninstalled
  29755. + # path is not listed in the libpath. Setting hardcode_minus_L
  29756. + # to unsupported forces relinking
  29757. + hardcode_minus_L=yes
  29758. + hardcode_libdir_flag_spec='-L$libdir'
  29759. + hardcode_libdir_separator=
  29760. fi
  29761. ;;
  29762. esac
  29763. @@ -17661,11 +8396,12 @@
  29764. if test "$aix_use_runtimelinking" = yes; then
  29765. shared_flag="$shared_flag "'${wl}-G'
  29766. fi
  29767. + link_all_deplibs=no
  29768. else
  29769. # not using gcc
  29770. if test "$host_cpu" = ia64; then
  29771. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  29772. - # chokes on -Wl,-G. The following line is correct:
  29773. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  29774. + # chokes on -Wl,-G. The following line is correct:
  29775. shared_flag='-G'
  29776. else
  29777. if test "$aix_use_runtimelinking" = yes; then
  29778. @@ -17676,19 +8412,17 @@
  29779. fi
  29780. fi
  29781. + export_dynamic_flag_spec='${wl}-bexpall'
  29782. # It seems that -bexpall does not export symbols beginning with
  29783. # underscore (_), so it is better to generate a list of symbols to export.
  29784. - always_export_symbols_GCJ=yes
  29785. + always_export_symbols=yes
  29786. if test "$aix_use_runtimelinking" = yes; then
  29787. # Warning - without using the other runtime loading flags (-brtl),
  29788. # -berok will link without error, but may produce a broken library.
  29789. - allow_undefined_flag_GCJ='-berok'
  29790. - # Determine the default libpath from the value encoded in an empty executable.
  29791. - cat >conftest.$ac_ext <<_ACEOF
  29792. -/* confdefs.h. */
  29793. -_ACEOF
  29794. -cat confdefs.h >>conftest.$ac_ext
  29795. -cat >>conftest.$ac_ext <<_ACEOF
  29796. + allow_undefined_flag='-berok'
  29797. + # Determine the default libpath from the value encoded in an
  29798. + # empty executable.
  29799. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29800. /* end confdefs.h. */
  29801. int
  29802. @@ -17699,71 +8433,36 @@
  29803. return 0;
  29804. }
  29805. _ACEOF
  29806. -rm -f conftest.$ac_objext conftest$ac_exeext
  29807. -if { (ac_try="$ac_link"
  29808. -case "(($ac_try" in
  29809. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  29810. - *) ac_try_echo=$ac_try;;
  29811. -esac
  29812. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  29813. - (eval "$ac_link") 2>conftest.er1
  29814. - ac_status=$?
  29815. - grep -v '^ *+' conftest.er1 >conftest.err
  29816. - rm -f conftest.er1
  29817. - cat conftest.err >&5
  29818. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29819. - (exit $ac_status); } &&
  29820. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  29821. - { (case "(($ac_try" in
  29822. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  29823. - *) ac_try_echo=$ac_try;;
  29824. -esac
  29825. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  29826. - (eval "$ac_try") 2>&5
  29827. - ac_status=$?
  29828. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29829. - (exit $ac_status); }; } &&
  29830. - { ac_try='test -s conftest$ac_exeext'
  29831. - { (case "(($ac_try" in
  29832. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  29833. - *) ac_try_echo=$ac_try;;
  29834. -esac
  29835. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  29836. - (eval "$ac_try") 2>&5
  29837. - ac_status=$?
  29838. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29839. - (exit $ac_status); }; }; then
  29840. +if ac_fn_c_try_link "$LINENO"; then :
  29841. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  29842. -}'`
  29843. +lt_aix_libpath_sed='
  29844. + /Import File Strings/,/^$/ {
  29845. + /^0/ {
  29846. + s/^0 *\(.*\)$/\1/
  29847. + p
  29848. + }
  29849. + }'
  29850. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  29851. # Check for a 64-bit object if we didn't find anything.
  29852. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  29853. -}'`; fi
  29854. -else
  29855. - echo "$as_me: failed program was:" >&5
  29856. -sed 's/^/| /' conftest.$ac_ext >&5
  29857. -
  29858. -
  29859. +if test -z "$aix_libpath"; then
  29860. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  29861. +fi
  29862. fi
  29863. -
  29864. rm -f core conftest.err conftest.$ac_objext \
  29865. - conftest$ac_exeext conftest.$ac_ext
  29866. + conftest$ac_exeext conftest.$ac_ext
  29867. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  29868. - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  29869. - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  29870. - else
  29871. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  29872. + 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"
  29873. + else
  29874. if test "$host_cpu" = ia64; then
  29875. - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
  29876. - allow_undefined_flag_GCJ="-z nodefs"
  29877. - archive_expsym_cmds_GCJ="\$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"
  29878. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  29879. + allow_undefined_flag="-z nodefs"
  29880. + archive_expsym_cmds="\$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"
  29881. else
  29882. - # Determine the default libpath from the value encoded in an empty executable.
  29883. - cat >conftest.$ac_ext <<_ACEOF
  29884. -/* confdefs.h. */
  29885. -_ACEOF
  29886. -cat confdefs.h >>conftest.$ac_ext
  29887. -cat >>conftest.$ac_ext <<_ACEOF
  29888. + # Determine the default libpath from the value encoded in an
  29889. + # empty executable.
  29890. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29891. /* end confdefs.h. */
  29892. int
  29893. @@ -17774,162 +8473,114 @@
  29894. return 0;
  29895. }
  29896. _ACEOF
  29897. -rm -f conftest.$ac_objext conftest$ac_exeext
  29898. -if { (ac_try="$ac_link"
  29899. -case "(($ac_try" in
  29900. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  29901. - *) ac_try_echo=$ac_try;;
  29902. -esac
  29903. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  29904. - (eval "$ac_link") 2>conftest.er1
  29905. - ac_status=$?
  29906. - grep -v '^ *+' conftest.er1 >conftest.err
  29907. - rm -f conftest.er1
  29908. - cat conftest.err >&5
  29909. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29910. - (exit $ac_status); } &&
  29911. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  29912. - { (case "(($ac_try" in
  29913. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  29914. - *) ac_try_echo=$ac_try;;
  29915. -esac
  29916. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  29917. - (eval "$ac_try") 2>&5
  29918. - ac_status=$?
  29919. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29920. - (exit $ac_status); }; } &&
  29921. - { ac_try='test -s conftest$ac_exeext'
  29922. - { (case "(($ac_try" in
  29923. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  29924. - *) ac_try_echo=$ac_try;;
  29925. -esac
  29926. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  29927. - (eval "$ac_try") 2>&5
  29928. - ac_status=$?
  29929. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29930. - (exit $ac_status); }; }; then
  29931. +if ac_fn_c_try_link "$LINENO"; then :
  29932. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  29933. -}'`
  29934. +lt_aix_libpath_sed='
  29935. + /Import File Strings/,/^$/ {
  29936. + /^0/ {
  29937. + s/^0 *\(.*\)$/\1/
  29938. + p
  29939. + }
  29940. + }'
  29941. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  29942. # Check for a 64-bit object if we didn't find anything.
  29943. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  29944. -}'`; fi
  29945. -else
  29946. - echo "$as_me: failed program was:" >&5
  29947. -sed 's/^/| /' conftest.$ac_ext >&5
  29948. -
  29949. -
  29950. +if test -z "$aix_libpath"; then
  29951. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  29952. +fi
  29953. fi
  29954. -
  29955. rm -f core conftest.err conftest.$ac_objext \
  29956. - conftest$ac_exeext conftest.$ac_ext
  29957. + conftest$ac_exeext conftest.$ac_ext
  29958. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  29959. - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  29960. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  29961. # Warning - without using the other run time loading flags,
  29962. # -berok will link without error, but may produce a broken library.
  29963. - no_undefined_flag_GCJ=' ${wl}-bernotok'
  29964. - allow_undefined_flag_GCJ=' ${wl}-berok'
  29965. + no_undefined_flag=' ${wl}-bernotok'
  29966. + allow_undefined_flag=' ${wl}-berok'
  29967. # Exported symbols can be pulled into shared objects from archives
  29968. - whole_archive_flag_spec_GCJ='$convenience'
  29969. - archive_cmds_need_lc_GCJ=yes
  29970. + whole_archive_flag_spec='$convenience'
  29971. + archive_cmds_need_lc=yes
  29972. # This is similar to how AIX traditionally builds its shared libraries.
  29973. - archive_expsym_cmds_GCJ="\$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'
  29974. + 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'
  29975. fi
  29976. fi
  29977. ;;
  29978. amigaos*)
  29979. - archive_cmds_GCJ='$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)'
  29980. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  29981. - hardcode_minus_L_GCJ=yes
  29982. - # see comment about different semantics on the GNU ld section
  29983. - ld_shlibs_GCJ=no
  29984. + case $host_cpu in
  29985. + powerpc)
  29986. + # see comment about AmigaOS4 .so support
  29987. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  29988. + archive_expsym_cmds=''
  29989. + ;;
  29990. + m68k)
  29991. + archive_cmds='$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)'
  29992. + hardcode_libdir_flag_spec='-L$libdir'
  29993. + hardcode_minus_L=yes
  29994. + ;;
  29995. + esac
  29996. ;;
  29997. bsdi[45]*)
  29998. - export_dynamic_flag_spec_GCJ=-rdynamic
  29999. + export_dynamic_flag_spec=-rdynamic
  30000. ;;
  30001. - cygwin* | mingw* | pw32*)
  30002. + cygwin* | mingw* | pw32* | cegcc*)
  30003. # When not using gcc, we currently assume that we are using
  30004. # Microsoft Visual C++.
  30005. # hardcode_libdir_flag_spec is actually meaningless, as there is
  30006. # no search path for DLLs.
  30007. - hardcode_libdir_flag_spec_GCJ=' '
  30008. - allow_undefined_flag_GCJ=unsupported
  30009. + hardcode_libdir_flag_spec=' '
  30010. + allow_undefined_flag=unsupported
  30011. # Tell ltmain to make .lib files, not .a files.
  30012. libext=lib
  30013. # Tell ltmain to make .dll files, not .so files.
  30014. shrext_cmds=".dll"
  30015. # FIXME: Setting linknames here is a bad hack.
  30016. - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  30017. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  30018. # The linker will automatically build a .lib file if we build a DLL.
  30019. - old_archive_From_new_cmds_GCJ='true'
  30020. + old_archive_from_new_cmds='true'
  30021. # FIXME: Should let the user specify the lib program.
  30022. - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
  30023. - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
  30024. - enable_shared_with_static_runtimes_GCJ=yes
  30025. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  30026. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  30027. + enable_shared_with_static_runtimes=yes
  30028. ;;
  30029. darwin* | rhapsody*)
  30030. - case $host_os in
  30031. - rhapsody* | darwin1.[012])
  30032. - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
  30033. - ;;
  30034. - *) # Darwin 1.3 on
  30035. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  30036. - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  30037. - else
  30038. - case ${MACOSX_DEPLOYMENT_TARGET} in
  30039. - 10.[012])
  30040. - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  30041. - ;;
  30042. - 10.*)
  30043. - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
  30044. - ;;
  30045. - esac
  30046. - fi
  30047. - ;;
  30048. - esac
  30049. - archive_cmds_need_lc_GCJ=no
  30050. - hardcode_direct_GCJ=no
  30051. - hardcode_automatic_GCJ=yes
  30052. - hardcode_shlibpath_var_GCJ=unsupported
  30053. - whole_archive_flag_spec_GCJ=''
  30054. - link_all_deplibs_GCJ=yes
  30055. - if test "$GCC" = yes ; then
  30056. - output_verbose_link_cmd='echo'
  30057. - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
  30058. - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  30059. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  30060. - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  30061. - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  30062. - else
  30063. - case $cc_basename in
  30064. - xlc*)
  30065. - output_verbose_link_cmd='echo'
  30066. - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
  30067. - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  30068. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  30069. - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  30070. - module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  30071. - ;;
  30072. - *)
  30073. - ld_shlibs_GCJ=no
  30074. - ;;
  30075. - esac
  30076. - fi
  30077. +
  30078. +
  30079. + archive_cmds_need_lc=no
  30080. + hardcode_direct=no
  30081. + hardcode_automatic=yes
  30082. + hardcode_shlibpath_var=unsupported
  30083. + whole_archive_flag_spec=''
  30084. + link_all_deplibs=yes
  30085. + allow_undefined_flag="$_lt_dar_allow_undefined"
  30086. + case $cc_basename in
  30087. + ifort*) _lt_dar_can_shared=yes ;;
  30088. + *) _lt_dar_can_shared=$GCC ;;
  30089. + esac
  30090. + if test "$_lt_dar_can_shared" = "yes"; then
  30091. + output_verbose_link_cmd=echo
  30092. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  30093. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  30094. + 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}"
  30095. + module_expsym_cmds="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}"
  30096. +
  30097. + else
  30098. + ld_shlibs=no
  30099. + fi
  30100. +
  30101. ;;
  30102. dgux*)
  30103. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30104. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  30105. - hardcode_shlibpath_var_GCJ=no
  30106. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30107. + hardcode_libdir_flag_spec='-L$libdir'
  30108. + hardcode_shlibpath_var=no
  30109. ;;
  30110. freebsd1*)
  30111. - ld_shlibs_GCJ=no
  30112. + ld_shlibs=no
  30113. ;;
  30114. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  30115. @@ -17937,60 +8588,60 @@
  30116. # does not break anything, and helps significantly (at the cost of a little
  30117. # extra space).
  30118. freebsd2.2*)
  30119. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  30120. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  30121. - hardcode_direct_GCJ=yes
  30122. - hardcode_shlibpath_var_GCJ=no
  30123. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  30124. + hardcode_libdir_flag_spec='-R$libdir'
  30125. + hardcode_direct=yes
  30126. + hardcode_shlibpath_var=no
  30127. ;;
  30128. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  30129. freebsd2*)
  30130. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  30131. - hardcode_direct_GCJ=yes
  30132. - hardcode_minus_L_GCJ=yes
  30133. - hardcode_shlibpath_var_GCJ=no
  30134. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  30135. + hardcode_direct=yes
  30136. + hardcode_minus_L=yes
  30137. + hardcode_shlibpath_var=no
  30138. ;;
  30139. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  30140. - freebsd* | kfreebsd*-gnu | dragonfly*)
  30141. - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  30142. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  30143. - hardcode_direct_GCJ=yes
  30144. - hardcode_shlibpath_var_GCJ=no
  30145. + freebsd* | dragonfly*)
  30146. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  30147. + hardcode_libdir_flag_spec='-R$libdir'
  30148. + hardcode_direct=yes
  30149. + hardcode_shlibpath_var=no
  30150. ;;
  30151. hpux9*)
  30152. if test "$GCC" = yes; then
  30153. - archive_cmds_GCJ='$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'
  30154. + archive_cmds='$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'
  30155. else
  30156. - archive_cmds_GCJ='$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'
  30157. + archive_cmds='$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'
  30158. fi
  30159. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  30160. - hardcode_libdir_separator_GCJ=:
  30161. - hardcode_direct_GCJ=yes
  30162. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  30163. + hardcode_libdir_separator=:
  30164. + hardcode_direct=yes
  30165. # hardcode_minus_L: Not really in the search PATH,
  30166. # but as the default location of the library.
  30167. - hardcode_minus_L_GCJ=yes
  30168. - export_dynamic_flag_spec_GCJ='${wl}-E'
  30169. + hardcode_minus_L=yes
  30170. + export_dynamic_flag_spec='${wl}-E'
  30171. ;;
  30172. hpux10*)
  30173. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  30174. - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  30175. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  30176. else
  30177. - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  30178. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  30179. fi
  30180. if test "$with_gnu_ld" = no; then
  30181. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  30182. - hardcode_libdir_separator_GCJ=:
  30183. -
  30184. - hardcode_direct_GCJ=yes
  30185. - export_dynamic_flag_spec_GCJ='${wl}-E'
  30186. -
  30187. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  30188. + hardcode_libdir_flag_spec_ld='+b $libdir'
  30189. + hardcode_libdir_separator=:
  30190. + hardcode_direct=yes
  30191. + hardcode_direct_absolute=yes
  30192. + export_dynamic_flag_spec='${wl}-E'
  30193. # hardcode_minus_L: Not really in the search PATH,
  30194. # but as the default location of the library.
  30195. - hardcode_minus_L_GCJ=yes
  30196. + hardcode_minus_L=yes
  30197. fi
  30198. ;;
  30199. @@ -17998,45 +8649,45 @@
  30200. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  30201. case $host_cpu in
  30202. hppa*64*)
  30203. - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30204. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30205. ;;
  30206. ia64*)
  30207. - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  30208. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  30209. ;;
  30210. *)
  30211. - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  30212. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  30213. ;;
  30214. esac
  30215. else
  30216. case $host_cpu in
  30217. hppa*64*)
  30218. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30219. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30220. ;;
  30221. ia64*)
  30222. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  30223. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  30224. ;;
  30225. *)
  30226. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  30227. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  30228. ;;
  30229. esac
  30230. fi
  30231. if test "$with_gnu_ld" = no; then
  30232. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  30233. - hardcode_libdir_separator_GCJ=:
  30234. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  30235. + hardcode_libdir_separator=:
  30236. case $host_cpu in
  30237. hppa*64*|ia64*)
  30238. - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
  30239. - hardcode_direct_GCJ=no
  30240. - hardcode_shlibpath_var_GCJ=no
  30241. + hardcode_direct=no
  30242. + hardcode_shlibpath_var=no
  30243. ;;
  30244. *)
  30245. - hardcode_direct_GCJ=yes
  30246. - export_dynamic_flag_spec_GCJ='${wl}-E'
  30247. + hardcode_direct=yes
  30248. + hardcode_direct_absolute=yes
  30249. + export_dynamic_flag_spec='${wl}-E'
  30250. # hardcode_minus_L: Not really in the search PATH,
  30251. # but as the default location of the library.
  30252. - hardcode_minus_L_GCJ=yes
  30253. + hardcode_minus_L=yes
  30254. ;;
  30255. esac
  30256. fi
  30257. @@ -18044,191 +8695,228 @@
  30258. irix5* | irix6* | nonstopux*)
  30259. if test "$GCC" = yes; then
  30260. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  30261. + 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'
  30262. + # Try to use the -exported_symbol ld option, if it does not
  30263. + # work, assume that -exports_file does not work either and
  30264. + # implicitly export all symbols.
  30265. + save_LDFLAGS="$LDFLAGS"
  30266. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  30267. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30268. +/* end confdefs.h. */
  30269. +int foo(void) {}
  30270. +_ACEOF
  30271. +if ac_fn_c_try_link "$LINENO"; then :
  30272. + 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'
  30273. +
  30274. +fi
  30275. +rm -f core conftest.err conftest.$ac_objext \
  30276. + conftest$ac_exeext conftest.$ac_ext
  30277. + LDFLAGS="$save_LDFLAGS"
  30278. else
  30279. - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  30280. - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
  30281. + 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'
  30282. + 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'
  30283. fi
  30284. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  30285. - hardcode_libdir_separator_GCJ=:
  30286. - link_all_deplibs_GCJ=yes
  30287. + archive_cmds_need_lc='no'
  30288. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  30289. + hardcode_libdir_separator=:
  30290. + inherit_rpath=yes
  30291. + link_all_deplibs=yes
  30292. ;;
  30293. - netbsd*)
  30294. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  30295. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  30296. + netbsd* | netbsdelf*-gnu)
  30297. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  30298. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  30299. else
  30300. - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  30301. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  30302. fi
  30303. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  30304. - hardcode_direct_GCJ=yes
  30305. - hardcode_shlibpath_var_GCJ=no
  30306. + hardcode_libdir_flag_spec='-R$libdir'
  30307. + hardcode_direct=yes
  30308. + hardcode_shlibpath_var=no
  30309. + ;;
  30310. +
  30311. + newsos6)
  30312. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30313. + hardcode_direct=yes
  30314. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  30315. + hardcode_libdir_separator=:
  30316. + hardcode_shlibpath_var=no
  30317. ;;
  30318. - newsos6)
  30319. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30320. - hardcode_direct_GCJ=yes
  30321. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  30322. - hardcode_libdir_separator_GCJ=:
  30323. - hardcode_shlibpath_var_GCJ=no
  30324. + *nto* | *qnx*)
  30325. ;;
  30326. openbsd*)
  30327. - hardcode_direct_GCJ=yes
  30328. - hardcode_shlibpath_var_GCJ=no
  30329. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  30330. - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  30331. - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  30332. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  30333. - export_dynamic_flag_spec_GCJ='${wl}-E'
  30334. + if test -f /usr/libexec/ld.so; then
  30335. + hardcode_direct=yes
  30336. + hardcode_shlibpath_var=no
  30337. + hardcode_direct_absolute=yes
  30338. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  30339. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  30340. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  30341. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  30342. + export_dynamic_flag_spec='${wl}-E'
  30343. + else
  30344. + case $host_os in
  30345. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  30346. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  30347. + hardcode_libdir_flag_spec='-R$libdir'
  30348. + ;;
  30349. + *)
  30350. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  30351. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  30352. + ;;
  30353. + esac
  30354. + fi
  30355. else
  30356. - case $host_os in
  30357. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  30358. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  30359. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  30360. - ;;
  30361. - *)
  30362. - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  30363. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  30364. - ;;
  30365. - esac
  30366. + ld_shlibs=no
  30367. fi
  30368. ;;
  30369. os2*)
  30370. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  30371. - hardcode_minus_L_GCJ=yes
  30372. - allow_undefined_flag_GCJ=unsupported
  30373. - archive_cmds_GCJ='$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'
  30374. - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  30375. + hardcode_libdir_flag_spec='-L$libdir'
  30376. + hardcode_minus_L=yes
  30377. + allow_undefined_flag=unsupported
  30378. + 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'
  30379. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  30380. ;;
  30381. osf3*)
  30382. if test "$GCC" = yes; then
  30383. - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
  30384. - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  30385. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  30386. + 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'
  30387. else
  30388. - allow_undefined_flag_GCJ=' -expect_unresolved \*'
  30389. - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  30390. + allow_undefined_flag=' -expect_unresolved \*'
  30391. + 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'
  30392. fi
  30393. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  30394. - hardcode_libdir_separator_GCJ=:
  30395. + archive_cmds_need_lc='no'
  30396. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  30397. + hardcode_libdir_separator=:
  30398. ;;
  30399. osf4* | osf5*) # as osf3* with the addition of -msym flag
  30400. if test "$GCC" = yes; then
  30401. - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
  30402. - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  30403. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  30404. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  30405. + 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'
  30406. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  30407. else
  30408. - allow_undefined_flag_GCJ=' -expect_unresolved \*'
  30409. - archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
  30410. - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  30411. - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
  30412. + allow_undefined_flag=' -expect_unresolved \*'
  30413. + 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'
  30414. + 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~
  30415. + $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'
  30416. # Both c and cxx compiler support -rpath directly
  30417. - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
  30418. + hardcode_libdir_flag_spec='-rpath $libdir'
  30419. fi
  30420. - hardcode_libdir_separator_GCJ=:
  30421. + archive_cmds_need_lc='no'
  30422. + hardcode_libdir_separator=:
  30423. ;;
  30424. solaris*)
  30425. - no_undefined_flag_GCJ=' -z text'
  30426. + no_undefined_flag=' -z defs'
  30427. if test "$GCC" = yes; then
  30428. wlarc='${wl}'
  30429. - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30430. - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  30431. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  30432. + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30433. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  30434. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  30435. else
  30436. - wlarc=''
  30437. - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30438. - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  30439. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  30440. + case `$CC -V 2>&1` in
  30441. + *"Compilers 5.0"*)
  30442. + wlarc=''
  30443. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30444. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  30445. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  30446. + ;;
  30447. + *)
  30448. + wlarc='${wl}'
  30449. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  30450. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  30451. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  30452. + ;;
  30453. + esac
  30454. fi
  30455. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  30456. - hardcode_shlibpath_var_GCJ=no
  30457. + hardcode_libdir_flag_spec='-R$libdir'
  30458. + hardcode_shlibpath_var=no
  30459. case $host_os in
  30460. solaris2.[0-5] | solaris2.[0-5].*) ;;
  30461. *)
  30462. - # The compiler driver will combine linker options so we
  30463. - # cannot just pass the convience library names through
  30464. - # without $wl, iff we do not link with $LD.
  30465. - # Luckily, gcc supports the same syntax we need for Sun Studio.
  30466. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  30467. - case $wlarc in
  30468. - '')
  30469. - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
  30470. - *)
  30471. - whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
  30472. - esac ;;
  30473. + # The compiler driver will combine and reorder linker options,
  30474. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  30475. + # but is careful enough not to reorder.
  30476. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  30477. + if test "$GCC" = yes; then
  30478. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  30479. + else
  30480. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  30481. + fi
  30482. + ;;
  30483. esac
  30484. - link_all_deplibs_GCJ=yes
  30485. + link_all_deplibs=yes
  30486. ;;
  30487. sunos4*)
  30488. if test "x$host_vendor" = xsequent; then
  30489. # Use $CC to link under sequent, because it throws in some extra .o
  30490. # files that make .init and .fini sections work.
  30491. - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  30492. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  30493. else
  30494. - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  30495. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  30496. fi
  30497. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  30498. - hardcode_direct_GCJ=yes
  30499. - hardcode_minus_L_GCJ=yes
  30500. - hardcode_shlibpath_var_GCJ=no
  30501. + hardcode_libdir_flag_spec='-L$libdir'
  30502. + hardcode_direct=yes
  30503. + hardcode_minus_L=yes
  30504. + hardcode_shlibpath_var=no
  30505. ;;
  30506. sysv4)
  30507. case $host_vendor in
  30508. sni)
  30509. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30510. - hardcode_direct_GCJ=yes # is this really true???
  30511. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30512. + hardcode_direct=yes # is this really true???
  30513. ;;
  30514. siemens)
  30515. ## LD is ld it makes a PLAMLIB
  30516. ## CC just makes a GrossModule.
  30517. - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  30518. - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
  30519. - hardcode_direct_GCJ=no
  30520. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  30521. + reload_cmds='$CC -r -o $output$reload_objs'
  30522. + hardcode_direct=no
  30523. ;;
  30524. motorola)
  30525. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30526. - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
  30527. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30528. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  30529. ;;
  30530. esac
  30531. runpath_var='LD_RUN_PATH'
  30532. - hardcode_shlibpath_var_GCJ=no
  30533. + hardcode_shlibpath_var=no
  30534. ;;
  30535. sysv4.3*)
  30536. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30537. - hardcode_shlibpath_var_GCJ=no
  30538. - export_dynamic_flag_spec_GCJ='-Bexport'
  30539. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30540. + hardcode_shlibpath_var=no
  30541. + export_dynamic_flag_spec='-Bexport'
  30542. ;;
  30543. sysv4*MP*)
  30544. if test -d /usr/nec; then
  30545. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30546. - hardcode_shlibpath_var_GCJ=no
  30547. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30548. + hardcode_shlibpath_var=no
  30549. runpath_var=LD_RUN_PATH
  30550. hardcode_runpath_var=yes
  30551. - ld_shlibs_GCJ=yes
  30552. + ld_shlibs=yes
  30553. fi
  30554. ;;
  30555. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
  30556. - no_undefined_flag_GCJ='${wl}-z,text'
  30557. - archive_cmds_need_lc_GCJ=no
  30558. - hardcode_shlibpath_var_GCJ=no
  30559. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  30560. + no_undefined_flag='${wl}-z,text'
  30561. + archive_cmds_need_lc=no
  30562. + hardcode_shlibpath_var=no
  30563. runpath_var='LD_RUN_PATH'
  30564. if test "$GCC" = yes; then
  30565. - archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30566. - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30567. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30568. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30569. else
  30570. - archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30571. - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30572. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30573. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30574. fi
  30575. ;;
  30576. @@ -18239,51 +8927,75 @@
  30577. # ever link correctly. If we're not using GNU ld we use -z text
  30578. # though, which does catch some bad symbols but isn't as heavy-handed
  30579. # as -z defs.
  30580. - no_undefined_flag_GCJ='${wl}-z,text'
  30581. - allow_undefined_flag_GCJ='${wl}-z,nodefs'
  30582. - archive_cmds_need_lc_GCJ=no
  30583. - hardcode_shlibpath_var_GCJ=no
  30584. - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  30585. - hardcode_libdir_separator_GCJ=':'
  30586. - link_all_deplibs_GCJ=yes
  30587. - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
  30588. + no_undefined_flag='${wl}-z,text'
  30589. + allow_undefined_flag='${wl}-z,nodefs'
  30590. + archive_cmds_need_lc=no
  30591. + hardcode_shlibpath_var=no
  30592. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  30593. + hardcode_libdir_separator=':'
  30594. + link_all_deplibs=yes
  30595. + export_dynamic_flag_spec='${wl}-Bexport'
  30596. runpath_var='LD_RUN_PATH'
  30597. if test "$GCC" = yes; then
  30598. - archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30599. - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30600. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30601. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30602. else
  30603. - archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30604. - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  30605. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30606. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  30607. fi
  30608. ;;
  30609. uts4*)
  30610. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30611. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  30612. - hardcode_shlibpath_var_GCJ=no
  30613. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  30614. + hardcode_libdir_flag_spec='-L$libdir'
  30615. + hardcode_shlibpath_var=no
  30616. ;;
  30617. *)
  30618. - ld_shlibs_GCJ=no
  30619. + ld_shlibs=no
  30620. ;;
  30621. esac
  30622. +
  30623. + if test x$host_vendor = xsni; then
  30624. + case $host in
  30625. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  30626. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  30627. + ;;
  30628. + esac
  30629. + fi
  30630. fi
  30631. -{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
  30632. -echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
  30633. -test "$ld_shlibs_GCJ" = no && can_build_shared=no
  30634. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  30635. +$as_echo "$ld_shlibs" >&6; }
  30636. +test "$ld_shlibs" = no && can_build_shared=no
  30637. +
  30638. +with_gnu_ld=$with_gnu_ld
  30639. +
  30640. +
  30641. +
  30642. +
  30643. +
  30644. +
  30645. +
  30646. +
  30647. +
  30648. +
  30649. +
  30650. +
  30651. +
  30652. +
  30653. #
  30654. # Do we need to explicitly link libc?
  30655. #
  30656. -case "x$archive_cmds_need_lc_GCJ" in
  30657. +case "x$archive_cmds_need_lc" in
  30658. x|xyes)
  30659. # Assume -lc should be added
  30660. - archive_cmds_need_lc_GCJ=yes
  30661. + archive_cmds_need_lc=yes
  30662. if test "$enable_shared" = yes && test "$GCC" = yes; then
  30663. - case $archive_cmds_GCJ in
  30664. + case $archive_cmds in
  30665. *'~'*)
  30666. # FIXME: we may have to deal with multi-command sequences.
  30667. ;;
  30668. @@ -18291,54 +9003,262 @@
  30669. # Test whether the compiler implicitly links with -lc since on some
  30670. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  30671. # to ld, don't add -lc before -lgcc.
  30672. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  30673. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  30674. - $rm conftest*
  30675. - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
  30676. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  30677. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  30678. + $RM conftest*
  30679. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  30680. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  30681. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  30682. (eval $ac_compile) 2>&5
  30683. ac_status=$?
  30684. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  30685. - (exit $ac_status); } 2>conftest.err; then
  30686. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30687. + test $ac_status = 0; } 2>conftest.err; then
  30688. soname=conftest
  30689. lib=conftest
  30690. libobjs=conftest.$ac_objext
  30691. deplibs=
  30692. - wl=$lt_prog_compiler_wl_GCJ
  30693. - pic_flag=$lt_prog_compiler_pic_GCJ
  30694. + wl=$lt_prog_compiler_wl
  30695. + pic_flag=$lt_prog_compiler_pic
  30696. compiler_flags=-v
  30697. linker_flags=-v
  30698. verstring=
  30699. output_objdir=.
  30700. libname=conftest
  30701. - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
  30702. - allow_undefined_flag_GCJ=
  30703. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  30704. - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  30705. + lt_save_allow_undefined_flag=$allow_undefined_flag
  30706. + allow_undefined_flag=
  30707. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  30708. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  30709. ac_status=$?
  30710. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  30711. - (exit $ac_status); }
  30712. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30713. + test $ac_status = 0; }
  30714. then
  30715. - archive_cmds_need_lc_GCJ=no
  30716. + archive_cmds_need_lc=no
  30717. else
  30718. - archive_cmds_need_lc_GCJ=yes
  30719. + archive_cmds_need_lc=yes
  30720. fi
  30721. - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
  30722. + allow_undefined_flag=$lt_save_allow_undefined_flag
  30723. else
  30724. cat conftest.err 1>&5
  30725. fi
  30726. - $rm conftest*
  30727. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
  30728. -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
  30729. + $RM conftest*
  30730. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  30731. +$as_echo "$archive_cmds_need_lc" >&6; }
  30732. ;;
  30733. esac
  30734. fi
  30735. ;;
  30736. esac
  30737. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  30738. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  30739. +
  30740. +
  30741. +
  30742. +
  30743. +
  30744. +
  30745. +
  30746. +
  30747. +
  30748. +
  30749. +
  30750. +
  30751. +
  30752. +
  30753. +
  30754. +
  30755. +
  30756. +
  30757. +
  30758. +
  30759. +
  30760. +
  30761. +
  30762. +
  30763. +
  30764. +
  30765. +
  30766. +
  30767. +
  30768. +
  30769. +
  30770. +
  30771. +
  30772. +
  30773. +
  30774. +
  30775. +
  30776. +
  30777. +
  30778. +
  30779. +
  30780. +
  30781. +
  30782. +
  30783. +
  30784. +
  30785. +
  30786. +
  30787. +
  30788. +
  30789. +
  30790. +
  30791. +
  30792. +
  30793. +
  30794. +
  30795. +
  30796. +
  30797. +
  30798. +
  30799. +
  30800. +
  30801. +
  30802. +
  30803. +
  30804. +
  30805. +
  30806. +
  30807. +
  30808. +
  30809. +
  30810. +
  30811. +
  30812. +
  30813. +
  30814. +
  30815. +
  30816. +
  30817. +
  30818. +
  30819. +
  30820. +
  30821. +
  30822. +
  30823. +
  30824. +
  30825. +
  30826. +
  30827. +
  30828. +
  30829. +
  30830. +
  30831. +
  30832. +
  30833. +
  30834. +
  30835. +
  30836. +
  30837. +
  30838. +
  30839. +
  30840. +
  30841. +
  30842. +
  30843. +
  30844. +
  30845. +
  30846. +
  30847. +
  30848. +
  30849. +
  30850. +
  30851. +
  30852. +
  30853. +
  30854. +
  30855. +
  30856. +
  30857. +
  30858. +
  30859. +
  30860. +
  30861. +
  30862. +
  30863. +
  30864. +
  30865. +
  30866. +
  30867. +
  30868. +
  30869. +
  30870. +
  30871. +
  30872. +
  30873. +
  30874. +
  30875. +
  30876. +
  30877. +
  30878. +
  30879. +
  30880. +
  30881. +
  30882. +
  30883. +
  30884. +
  30885. +
  30886. +
  30887. +
  30888. +
  30889. +
  30890. +
  30891. +
  30892. +
  30893. +
  30894. +
  30895. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  30896. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  30897. +
  30898. +if test "$GCC" = yes; then
  30899. + case $host_os in
  30900. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  30901. + *) lt_awk_arg="/^libraries:/" ;;
  30902. + esac
  30903. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  30904. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  30905. + # if the path contains ";" then we assume it to be the separator
  30906. + # otherwise default to the standard path separator (i.e. ":") - it is
  30907. + # assumed that no part of a normal pathname contains ";" but that should
  30908. + # okay in the real world where ";" in dirpaths is itself problematic.
  30909. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  30910. + else
  30911. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  30912. + fi
  30913. + # Ok, now we have the path, separated by spaces, we can step through it
  30914. + # and add multilib dir if necessary.
  30915. + lt_tmp_lt_search_path_spec=
  30916. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  30917. + for lt_sys_path in $lt_search_path_spec; do
  30918. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  30919. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  30920. + else
  30921. + test -d "$lt_sys_path" && \
  30922. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  30923. + fi
  30924. + done
  30925. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  30926. +BEGIN {RS=" "; FS="/|\n";} {
  30927. + lt_foo="";
  30928. + lt_count=0;
  30929. + for (lt_i = NF; lt_i > 0; lt_i--) {
  30930. + if ($lt_i != "" && $lt_i != ".") {
  30931. + if ($lt_i == "..") {
  30932. + lt_count++;
  30933. + } else {
  30934. + if (lt_count == 0) {
  30935. + lt_foo="/" $lt_i lt_foo;
  30936. + } else {
  30937. + lt_count--;
  30938. + }
  30939. + }
  30940. + }
  30941. + }
  30942. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  30943. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  30944. +}'`
  30945. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  30946. +else
  30947. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  30948. +fi
  30949. library_names_spec=
  30950. libname_spec='lib$name'
  30951. soname_spec=
  30952. @@ -18352,20 +9272,6 @@
  30953. version_type=none
  30954. dynamic_linker="$host_os ld.so"
  30955. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  30956. -if test "$GCC" = yes; then
  30957. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  30958. - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
  30959. - # if the path contains ";" then we assume it to be the separator
  30960. - # otherwise default to the standard path separator (i.e. ":") - it is
  30961. - # assumed that no part of a normal pathname contains ";" but that should
  30962. - # okay in the real world where ";" in dirpaths is itself problematic.
  30963. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  30964. - else
  30965. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  30966. - fi
  30967. -else
  30968. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  30969. -fi
  30970. need_lib_prefix=unknown
  30971. hardcode_into_libs=no
  30972. @@ -18383,7 +9289,7 @@
  30973. soname_spec='${libname}${release}${shared_ext}$major'
  30974. ;;
  30975. -aix4* | aix5*)
  30976. +aix[4-9]*)
  30977. version_type=linux
  30978. need_lib_prefix=no
  30979. need_version=no
  30980. @@ -18402,7 +9308,7 @@
  30981. aix4 | aix4.[01] | aix4.[01].*)
  30982. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  30983. echo ' yes '
  30984. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  30985. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  30986. :
  30987. else
  30988. can_build_shared=no
  30989. @@ -18428,9 +9334,18 @@
  30990. ;;
  30991. amigaos*)
  30992. - library_names_spec='$libname.ixlibrary $libname.a'
  30993. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  30994. - 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'
  30995. + case $host_cpu in
  30996. + powerpc)
  30997. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  30998. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  30999. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  31000. + ;;
  31001. + m68k)
  31002. + library_names_spec='$libname.ixlibrary $libname.a'
  31003. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  31004. + 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'
  31005. + ;;
  31006. + esac
  31007. ;;
  31008. beos*)
  31009. @@ -18453,25 +9368,28 @@
  31010. # libtool to hard-code these into programs
  31011. ;;
  31012. -cygwin* | mingw* | pw32*)
  31013. +cygwin* | mingw* | pw32* | cegcc*)
  31014. version_type=windows
  31015. shrext_cmds=".dll"
  31016. need_version=no
  31017. need_lib_prefix=no
  31018. case $GCC,$host_os in
  31019. - yes,cygwin* | yes,mingw* | yes,pw32*)
  31020. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  31021. library_names_spec='$libname.dll.a'
  31022. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  31023. postinstall_cmds='base_file=`basename \${file}`~
  31024. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  31025. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  31026. dldir=$destdir/`dirname \$dlpath`~
  31027. test -d \$dldir || mkdir -p \$dldir~
  31028. $install_prog $dir/$dlname \$dldir/$dlname~
  31029. - chmod a+x \$dldir/$dlname'
  31030. + chmod a+x \$dldir/$dlname~
  31031. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  31032. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  31033. + fi'
  31034. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  31035. dlpath=$dir/\$dldll~
  31036. - $rm \$dlpath'
  31037. + $RM \$dlpath'
  31038. shlibpath_overrides_runpath=yes
  31039. case $host_os in
  31040. @@ -18480,20 +9398,20 @@
  31041. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  31042. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  31043. ;;
  31044. - mingw*)
  31045. + mingw* | cegcc*)
  31046. # MinGW DLLs use traditional 'lib' prefix
  31047. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  31048. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  31049. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  31050. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  31051. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  31052. # It is most probably a Windows format PATH printed by
  31053. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  31054. # path with ; separators, and with drive letters. We can handle the
  31055. # drive letters (cygwin fileutils understands them), so leave them,
  31056. # especially as we might pass files found there to a mingw objdump,
  31057. # which wouldn't understand a cygwinified path. Ahh.
  31058. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  31059. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  31060. else
  31061. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  31062. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  31063. fi
  31064. ;;
  31065. pw32*)
  31066. @@ -18517,17 +9435,13 @@
  31067. version_type=darwin
  31068. need_lib_prefix=no
  31069. need_version=no
  31070. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  31071. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  31072. soname_spec='${libname}${release}${major}$shared_ext'
  31073. shlibpath_overrides_runpath=yes
  31074. shlibpath_var=DYLD_LIBRARY_PATH
  31075. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  31076. - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  31077. - if test "$GCC" = yes; then
  31078. - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  31079. - else
  31080. - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
  31081. - fi
  31082. +
  31083. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  31084. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  31085. ;;
  31086. @@ -18544,18 +9458,6 @@
  31087. dynamic_linker=no
  31088. ;;
  31089. -kfreebsd*-gnu)
  31090. - version_type=linux
  31091. - need_lib_prefix=no
  31092. - need_version=no
  31093. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  31094. - soname_spec='${libname}${release}${shared_ext}$major'
  31095. - shlibpath_var=LD_LIBRARY_PATH
  31096. - shlibpath_overrides_runpath=no
  31097. - hardcode_into_libs=yes
  31098. - dynamic_linker='GNU ld.so'
  31099. - ;;
  31100. -
  31101. freebsd* | dragonfly*)
  31102. # DragonFly does not have aout. When/if they implement a new
  31103. # versioning mechanism, adjust this.
  31104. @@ -18593,7 +9495,7 @@
  31105. shlibpath_overrides_runpath=no
  31106. hardcode_into_libs=yes
  31107. ;;
  31108. - freebsd*) # from 4.6 on
  31109. + *) # from 4.6 on, and DragonFly
  31110. shlibpath_overrides_runpath=yes
  31111. hardcode_into_libs=yes
  31112. ;;
  31113. @@ -18632,18 +9534,18 @@
  31114. fi
  31115. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  31116. ;;
  31117. - hppa*64*)
  31118. - shrext_cmds='.sl'
  31119. - hardcode_into_libs=yes
  31120. - dynamic_linker="$host_os dld.sl"
  31121. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  31122. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  31123. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  31124. - soname_spec='${libname}${release}${shared_ext}$major'
  31125. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  31126. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  31127. - ;;
  31128. - *)
  31129. + hppa*64*)
  31130. + shrext_cmds='.sl'
  31131. + hardcode_into_libs=yes
  31132. + dynamic_linker="$host_os dld.sl"
  31133. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  31134. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  31135. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  31136. + soname_spec='${libname}${release}${shared_ext}$major'
  31137. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  31138. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  31139. + ;;
  31140. + *)
  31141. shrext_cmds='.sl'
  31142. dynamic_linker="$host_os dld.sl"
  31143. shlibpath_var=SHLIB_PATH
  31144. @@ -18656,7 +9558,7 @@
  31145. postinstall_cmds='chmod 555 $lib'
  31146. ;;
  31147. -interix3*)
  31148. +interix[3-9]*)
  31149. version_type=linux
  31150. need_lib_prefix=no
  31151. need_version=no
  31152. @@ -18711,7 +9613,7 @@
  31153. ;;
  31154. # This must be Linux ELF.
  31155. -linux*)
  31156. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  31157. version_type=linux
  31158. need_lib_prefix=no
  31159. need_version=no
  31160. @@ -18720,6 +9622,32 @@
  31161. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  31162. shlibpath_var=LD_LIBRARY_PATH
  31163. shlibpath_overrides_runpath=no
  31164. + # Some binutils ld are patched to set DT_RUNPATH
  31165. + save_LDFLAGS=$LDFLAGS
  31166. + save_libdir=$libdir
  31167. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  31168. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  31169. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31170. +/* end confdefs.h. */
  31171. +
  31172. +int
  31173. +main ()
  31174. +{
  31175. +
  31176. + ;
  31177. + return 0;
  31178. +}
  31179. +_ACEOF
  31180. +if ac_fn_c_try_link "$LINENO"; then :
  31181. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  31182. + shlibpath_overrides_runpath=yes
  31183. +fi
  31184. +fi
  31185. +rm -f core conftest.err conftest.$ac_objext \
  31186. + conftest$ac_exeext conftest.$ac_ext
  31187. + LDFLAGS=$save_LDFLAGS
  31188. + libdir=$save_libdir
  31189. +
  31190. # This implies no fast_install, which is unacceptable.
  31191. # Some rework will be needed to allow for fast_install
  31192. # before this can be enabled.
  31193. @@ -18727,7 +9655,7 @@
  31194. # Append ld.so.conf contents to the search path
  31195. if test -f /etc/ld.so.conf; then
  31196. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  31197. + 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' ' '`
  31198. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  31199. fi
  31200. @@ -18740,7 +9668,7 @@
  31201. dynamic_linker='GNU/Linux ld.so'
  31202. ;;
  31203. -knetbsd*-gnu)
  31204. +netbsdelf*-gnu)
  31205. version_type=linux
  31206. need_lib_prefix=no
  31207. need_version=no
  31208. @@ -18749,14 +9677,14 @@
  31209. shlibpath_var=LD_LIBRARY_PATH
  31210. shlibpath_overrides_runpath=no
  31211. hardcode_into_libs=yes
  31212. - dynamic_linker='GNU ld.so'
  31213. + dynamic_linker='NetBSD ld.elf_so'
  31214. ;;
  31215. netbsd*)
  31216. version_type=sunos
  31217. need_lib_prefix=no
  31218. need_version=no
  31219. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  31220. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  31221. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  31222. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  31223. dynamic_linker='NetBSD (a.out) ld.so'
  31224. @@ -18777,14 +9705,16 @@
  31225. shlibpath_overrides_runpath=yes
  31226. ;;
  31227. -nto-qnx*)
  31228. - version_type=linux
  31229. +*nto* | *qnx*)
  31230. + version_type=qnx
  31231. need_lib_prefix=no
  31232. need_version=no
  31233. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  31234. soname_spec='${libname}${release}${shared_ext}$major'
  31235. shlibpath_var=LD_LIBRARY_PATH
  31236. - shlibpath_overrides_runpath=yes
  31237. + shlibpath_overrides_runpath=no
  31238. + hardcode_into_libs=yes
  31239. + dynamic_linker='ldqnx.so'
  31240. ;;
  31241. openbsd*)
  31242. @@ -18793,13 +9723,13 @@
  31243. need_lib_prefix=no
  31244. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  31245. case $host_os in
  31246. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  31247. - *) need_version=no ;;
  31248. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  31249. + *) need_version=no ;;
  31250. esac
  31251. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  31252. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  31253. shlibpath_var=LD_LIBRARY_PATH
  31254. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  31255. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  31256. case $host_os in
  31257. openbsd2.[89] | openbsd2.[89].*)
  31258. shlibpath_overrides_runpath=no
  31259. @@ -18833,6 +9763,10 @@
  31260. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  31261. ;;
  31262. +rdos*)
  31263. + dynamic_linker=no
  31264. + ;;
  31265. +
  31266. solaris*)
  31267. version_type=linux
  31268. need_lib_prefix=no
  31269. @@ -18867,7 +9801,6 @@
  31270. sni)
  31271. shlibpath_overrides_runpath=no
  31272. need_lib_prefix=no
  31273. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  31274. runpath_var=LD_RUN_PATH
  31275. ;;
  31276. siemens)
  31277. @@ -18898,13 +9831,12 @@
  31278. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  31279. soname_spec='${libname}${release}${shared_ext}$major'
  31280. shlibpath_var=LD_LIBRARY_PATH
  31281. + shlibpath_overrides_runpath=yes
  31282. hardcode_into_libs=yes
  31283. if test "$with_gnu_ld" = yes; then
  31284. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  31285. - shlibpath_overrides_runpath=no
  31286. else
  31287. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  31288. - shlibpath_overrides_runpath=yes
  31289. case $host_os in
  31290. sco3.2v5*)
  31291. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  31292. @@ -18914,6 +9846,17 @@
  31293. sys_lib_dlsearch_path_spec='/usr/lib'
  31294. ;;
  31295. +tpf*)
  31296. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  31297. + version_type=linux
  31298. + need_lib_prefix=no
  31299. + need_version=no
  31300. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  31301. + shlibpath_var=LD_LIBRARY_PATH
  31302. + shlibpath_overrides_runpath=no
  31303. + hardcode_into_libs=yes
  31304. + ;;
  31305. +
  31306. uts4*)
  31307. version_type=linux
  31308. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  31309. @@ -18925,8 +9868,8 @@
  31310. dynamic_linker=no
  31311. ;;
  31312. esac
  31313. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  31314. -echo "${ECHO_T}$dynamic_linker" >&6; }
  31315. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  31316. +$as_echo "$dynamic_linker" >&6; }
  31317. test "$dynamic_linker" = no && can_build_shared=no
  31318. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  31319. @@ -18934,35 +9877,129 @@
  31320. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  31321. fi
  31322. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  31323. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  31324. -hardcode_action_GCJ=
  31325. -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
  31326. - test -n "$runpath_var_GCJ" || \
  31327. - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
  31328. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  31329. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  31330. +fi
  31331. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  31332. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  31333. +fi
  31334. +
  31335. +
  31336. +
  31337. +
  31338. +
  31339. +
  31340. +
  31341. +
  31342. +
  31343. +
  31344. +
  31345. +
  31346. +
  31347. +
  31348. +
  31349. +
  31350. +
  31351. +
  31352. +
  31353. +
  31354. +
  31355. +
  31356. +
  31357. +
  31358. - # We can hardcode non-existant directories.
  31359. - if test "$hardcode_direct_GCJ" != no &&
  31360. +
  31361. +
  31362. +
  31363. +
  31364. +
  31365. +
  31366. +
  31367. +
  31368. +
  31369. +
  31370. +
  31371. +
  31372. +
  31373. +
  31374. +
  31375. +
  31376. +
  31377. +
  31378. +
  31379. +
  31380. +
  31381. +
  31382. +
  31383. +
  31384. +
  31385. +
  31386. +
  31387. +
  31388. +
  31389. +
  31390. +
  31391. +
  31392. +
  31393. +
  31394. +
  31395. +
  31396. +
  31397. +
  31398. +
  31399. +
  31400. +
  31401. +
  31402. +
  31403. +
  31404. +
  31405. +
  31406. +
  31407. +
  31408. +
  31409. +
  31410. +
  31411. +
  31412. +
  31413. +
  31414. +
  31415. +
  31416. +
  31417. +
  31418. +
  31419. +
  31420. +
  31421. +
  31422. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  31423. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  31424. +hardcode_action=
  31425. +if test -n "$hardcode_libdir_flag_spec" ||
  31426. + test -n "$runpath_var" ||
  31427. + test "X$hardcode_automatic" = "Xyes" ; then
  31428. +
  31429. + # We can hardcode non-existent directories.
  31430. + if test "$hardcode_direct" != no &&
  31431. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  31432. # have to relink, otherwise we might link with an installed library
  31433. # when we should be linking with a yet-to-be-installed one
  31434. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
  31435. - test "$hardcode_minus_L_GCJ" != no; then
  31436. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  31437. + test "$hardcode_minus_L" != no; then
  31438. # Linking always hardcodes the temporary library directory.
  31439. - hardcode_action_GCJ=relink
  31440. + hardcode_action=relink
  31441. else
  31442. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  31443. - hardcode_action_GCJ=immediate
  31444. + hardcode_action=immediate
  31445. fi
  31446. else
  31447. # We cannot hardcode anything, or else we can only hardcode existing
  31448. # directories.
  31449. - hardcode_action_GCJ=unsupported
  31450. + hardcode_action=unsupported
  31451. fi
  31452. -{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
  31453. -echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
  31454. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  31455. +$as_echo "$hardcode_action" >&6; }
  31456. -if test "$hardcode_action_GCJ" = relink; then
  31457. +if test "$hardcode_action" = relink ||
  31458. + test "$inherit_rpath" = yes; then
  31459. # Fast installation is not supported
  31460. enable_fast_install=no
  31461. elif test "$shlibpath_overrides_runpath" = yes ||
  31462. @@ -18972,414 +10009,592 @@
  31463. fi
  31464. -# The else clause should only fire when bootstrapping the
  31465. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  31466. -# with your package, and you will get complaints that there are
  31467. -# no rules to generate ltmain.sh.
  31468. -if test -f "$ltmain"; then
  31469. - # See if we are running on zsh, and set the options which allow our commands through
  31470. - # without removal of \ escapes.
  31471. - if test -n "${ZSH_VERSION+set}" ; then
  31472. - setopt NO_GLOB_SUBST
  31473. - fi
  31474. - # Now quote all the things that may contain metacharacters while being
  31475. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  31476. - # variables and quote the copies for generation of the libtool script.
  31477. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  31478. - SED SHELL STRIP \
  31479. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  31480. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  31481. - deplibs_check_method reload_flag reload_cmds need_locks \
  31482. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  31483. - lt_cv_sys_global_symbol_to_c_name_address \
  31484. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  31485. - old_postinstall_cmds old_postuninstall_cmds \
  31486. - compiler_GCJ \
  31487. - CC_GCJ \
  31488. - LD_GCJ \
  31489. - lt_prog_compiler_wl_GCJ \
  31490. - lt_prog_compiler_pic_GCJ \
  31491. - lt_prog_compiler_static_GCJ \
  31492. - lt_prog_compiler_no_builtin_flag_GCJ \
  31493. - export_dynamic_flag_spec_GCJ \
  31494. - thread_safe_flag_spec_GCJ \
  31495. - whole_archive_flag_spec_GCJ \
  31496. - enable_shared_with_static_runtimes_GCJ \
  31497. - old_archive_cmds_GCJ \
  31498. - old_archive_from_new_cmds_GCJ \
  31499. - predep_objects_GCJ \
  31500. - postdep_objects_GCJ \
  31501. - predeps_GCJ \
  31502. - postdeps_GCJ \
  31503. - compiler_lib_search_path_GCJ \
  31504. - archive_cmds_GCJ \
  31505. - archive_expsym_cmds_GCJ \
  31506. - postinstall_cmds_GCJ \
  31507. - postuninstall_cmds_GCJ \
  31508. - old_archive_from_expsyms_cmds_GCJ \
  31509. - allow_undefined_flag_GCJ \
  31510. - no_undefined_flag_GCJ \
  31511. - export_symbols_cmds_GCJ \
  31512. - hardcode_libdir_flag_spec_GCJ \
  31513. - hardcode_libdir_flag_spec_ld_GCJ \
  31514. - hardcode_libdir_separator_GCJ \
  31515. - hardcode_automatic_GCJ \
  31516. - module_cmds_GCJ \
  31517. - module_expsym_cmds_GCJ \
  31518. - lt_cv_prog_compiler_c_o_GCJ \
  31519. - exclude_expsyms_GCJ \
  31520. - include_expsyms_GCJ; do
  31521. -
  31522. - case $var in
  31523. - old_archive_cmds_GCJ | \
  31524. - old_archive_from_new_cmds_GCJ | \
  31525. - archive_cmds_GCJ | \
  31526. - archive_expsym_cmds_GCJ | \
  31527. - module_cmds_GCJ | \
  31528. - module_expsym_cmds_GCJ | \
  31529. - old_archive_from_expsyms_cmds_GCJ | \
  31530. - export_symbols_cmds_GCJ | \
  31531. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  31532. - postinstall_cmds | postuninstall_cmds | \
  31533. - old_postinstall_cmds | old_postuninstall_cmds | \
  31534. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  31535. - # Double-quote double-evaled strings.
  31536. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  31537. - ;;
  31538. - *)
  31539. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  31540. - ;;
  31541. - esac
  31542. - done
  31543. - case $lt_echo in
  31544. - *'\$0 --fallback-echo"')
  31545. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  31546. +
  31547. +
  31548. +
  31549. + if test "x$enable_dlopen" != xyes; then
  31550. + enable_dlopen=unknown
  31551. + enable_dlopen_self=unknown
  31552. + enable_dlopen_self_static=unknown
  31553. +else
  31554. + lt_cv_dlopen=no
  31555. + lt_cv_dlopen_libs=
  31556. +
  31557. + case $host_os in
  31558. + beos*)
  31559. + lt_cv_dlopen="load_add_on"
  31560. + lt_cv_dlopen_libs=
  31561. + lt_cv_dlopen_self=yes
  31562. + ;;
  31563. +
  31564. + mingw* | pw32* | cegcc*)
  31565. + lt_cv_dlopen="LoadLibrary"
  31566. + lt_cv_dlopen_libs=
  31567. + ;;
  31568. +
  31569. + cygwin*)
  31570. + lt_cv_dlopen="dlopen"
  31571. + lt_cv_dlopen_libs=
  31572. + ;;
  31573. +
  31574. + darwin*)
  31575. + # if libdl is installed we need to link against it
  31576. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  31577. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  31578. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  31579. + $as_echo_n "(cached) " >&6
  31580. +else
  31581. + ac_check_lib_save_LIBS=$LIBS
  31582. +LIBS="-ldl $LIBS"
  31583. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31584. +/* end confdefs.h. */
  31585. +
  31586. +/* Override any GCC internal prototype to avoid an error.
  31587. + Use char because int might match the return type of a GCC
  31588. + builtin and then its argument prototype would still apply. */
  31589. +#ifdef __cplusplus
  31590. +extern "C"
  31591. +#endif
  31592. +char dlopen ();
  31593. +int
  31594. +main ()
  31595. +{
  31596. +return dlopen ();
  31597. + ;
  31598. + return 0;
  31599. +}
  31600. +_ACEOF
  31601. +if ac_fn_c_try_link "$LINENO"; then :
  31602. + ac_cv_lib_dl_dlopen=yes
  31603. +else
  31604. + ac_cv_lib_dl_dlopen=no
  31605. +fi
  31606. +rm -f core conftest.err conftest.$ac_objext \
  31607. + conftest$ac_exeext conftest.$ac_ext
  31608. +LIBS=$ac_check_lib_save_LIBS
  31609. +fi
  31610. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  31611. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  31612. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  31613. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  31614. +else
  31615. +
  31616. + lt_cv_dlopen="dyld"
  31617. + lt_cv_dlopen_libs=
  31618. + lt_cv_dlopen_self=yes
  31619. +
  31620. +fi
  31621. +
  31622. ;;
  31623. - esac
  31624. -
  31625. -cfgfile="$ofile"
  31626. -
  31627. - cat <<__EOF__ >> "$cfgfile"
  31628. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  31629. -
  31630. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  31631. -
  31632. -# Shell to use when invoking shell scripts.
  31633. -SHELL=$lt_SHELL
  31634. -
  31635. -# Whether or not to build shared libraries.
  31636. -build_libtool_libs=$enable_shared
  31637. -
  31638. -# Whether or not to build static libraries.
  31639. -build_old_libs=$enable_static
  31640. -# Whether or not to add -lc for building shared libraries.
  31641. -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
  31642. -
  31643. -# Whether or not to disallow shared libs when runtime libs are static
  31644. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
  31645. -
  31646. -# Whether or not to optimize for fast installation.
  31647. -fast_install=$enable_fast_install
  31648. + *)
  31649. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  31650. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  31651. + lt_cv_dlopen="shl_load"
  31652. +else
  31653. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  31654. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  31655. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  31656. + $as_echo_n "(cached) " >&6
  31657. +else
  31658. + ac_check_lib_save_LIBS=$LIBS
  31659. +LIBS="-ldld $LIBS"
  31660. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31661. +/* end confdefs.h. */
  31662. -# The host system.
  31663. -host_alias=$host_alias
  31664. -host=$host
  31665. -host_os=$host_os
  31666. +/* Override any GCC internal prototype to avoid an error.
  31667. + Use char because int might match the return type of a GCC
  31668. + builtin and then its argument prototype would still apply. */
  31669. +#ifdef __cplusplus
  31670. +extern "C"
  31671. +#endif
  31672. +char shl_load ();
  31673. +int
  31674. +main ()
  31675. +{
  31676. +return shl_load ();
  31677. + ;
  31678. + return 0;
  31679. +}
  31680. +_ACEOF
  31681. +if ac_fn_c_try_link "$LINENO"; then :
  31682. + ac_cv_lib_dld_shl_load=yes
  31683. +else
  31684. + ac_cv_lib_dld_shl_load=no
  31685. +fi
  31686. +rm -f core conftest.err conftest.$ac_objext \
  31687. + conftest$ac_exeext conftest.$ac_ext
  31688. +LIBS=$ac_check_lib_save_LIBS
  31689. +fi
  31690. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  31691. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  31692. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  31693. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  31694. +else
  31695. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  31696. +if test "x$ac_cv_func_dlopen" = x""yes; then :
  31697. + lt_cv_dlopen="dlopen"
  31698. +else
  31699. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  31700. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  31701. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  31702. + $as_echo_n "(cached) " >&6
  31703. +else
  31704. + ac_check_lib_save_LIBS=$LIBS
  31705. +LIBS="-ldl $LIBS"
  31706. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31707. +/* end confdefs.h. */
  31708. -# The build system.
  31709. -build_alias=$build_alias
  31710. -build=$build
  31711. -build_os=$build_os
  31712. +/* Override any GCC internal prototype to avoid an error.
  31713. + Use char because int might match the return type of a GCC
  31714. + builtin and then its argument prototype would still apply. */
  31715. +#ifdef __cplusplus
  31716. +extern "C"
  31717. +#endif
  31718. +char dlopen ();
  31719. +int
  31720. +main ()
  31721. +{
  31722. +return dlopen ();
  31723. + ;
  31724. + return 0;
  31725. +}
  31726. +_ACEOF
  31727. +if ac_fn_c_try_link "$LINENO"; then :
  31728. + ac_cv_lib_dl_dlopen=yes
  31729. +else
  31730. + ac_cv_lib_dl_dlopen=no
  31731. +fi
  31732. +rm -f core conftest.err conftest.$ac_objext \
  31733. + conftest$ac_exeext conftest.$ac_ext
  31734. +LIBS=$ac_check_lib_save_LIBS
  31735. +fi
  31736. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  31737. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  31738. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  31739. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  31740. +else
  31741. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  31742. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  31743. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  31744. + $as_echo_n "(cached) " >&6
  31745. +else
  31746. + ac_check_lib_save_LIBS=$LIBS
  31747. +LIBS="-lsvld $LIBS"
  31748. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31749. +/* end confdefs.h. */
  31750. -# An echo program that does not interpret backslashes.
  31751. -echo=$lt_echo
  31752. +/* Override any GCC internal prototype to avoid an error.
  31753. + Use char because int might match the return type of a GCC
  31754. + builtin and then its argument prototype would still apply. */
  31755. +#ifdef __cplusplus
  31756. +extern "C"
  31757. +#endif
  31758. +char dlopen ();
  31759. +int
  31760. +main ()
  31761. +{
  31762. +return dlopen ();
  31763. + ;
  31764. + return 0;
  31765. +}
  31766. +_ACEOF
  31767. +if ac_fn_c_try_link "$LINENO"; then :
  31768. + ac_cv_lib_svld_dlopen=yes
  31769. +else
  31770. + ac_cv_lib_svld_dlopen=no
  31771. +fi
  31772. +rm -f core conftest.err conftest.$ac_objext \
  31773. + conftest$ac_exeext conftest.$ac_ext
  31774. +LIBS=$ac_check_lib_save_LIBS
  31775. +fi
  31776. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  31777. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  31778. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  31779. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  31780. +else
  31781. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  31782. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  31783. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  31784. + $as_echo_n "(cached) " >&6
  31785. +else
  31786. + ac_check_lib_save_LIBS=$LIBS
  31787. +LIBS="-ldld $LIBS"
  31788. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31789. +/* end confdefs.h. */
  31790. -# The archiver.
  31791. -AR=$lt_AR
  31792. -AR_FLAGS=$lt_AR_FLAGS
  31793. +/* Override any GCC internal prototype to avoid an error.
  31794. + Use char because int might match the return type of a GCC
  31795. + builtin and then its argument prototype would still apply. */
  31796. +#ifdef __cplusplus
  31797. +extern "C"
  31798. +#endif
  31799. +char dld_link ();
  31800. +int
  31801. +main ()
  31802. +{
  31803. +return dld_link ();
  31804. + ;
  31805. + return 0;
  31806. +}
  31807. +_ACEOF
  31808. +if ac_fn_c_try_link "$LINENO"; then :
  31809. + ac_cv_lib_dld_dld_link=yes
  31810. +else
  31811. + ac_cv_lib_dld_dld_link=no
  31812. +fi
  31813. +rm -f core conftest.err conftest.$ac_objext \
  31814. + conftest$ac_exeext conftest.$ac_ext
  31815. +LIBS=$ac_check_lib_save_LIBS
  31816. +fi
  31817. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  31818. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  31819. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  31820. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  31821. +fi
  31822. -# A C compiler.
  31823. -LTCC=$lt_LTCC
  31824. -# LTCC compiler flags.
  31825. -LTCFLAGS=$lt_LTCFLAGS
  31826. +fi
  31827. -# A language-specific compiler.
  31828. -CC=$lt_compiler_GCJ
  31829. -# Is the compiler the GNU C compiler?
  31830. -with_gcc=$GCC_GCJ
  31831. +fi
  31832. -# An ERE matcher.
  31833. -EGREP=$lt_EGREP
  31834. -# The linker used to build libraries.
  31835. -LD=$lt_LD_GCJ
  31836. +fi
  31837. -# Whether we need hard or soft links.
  31838. -LN_S=$lt_LN_S
  31839. -# A BSD-compatible nm program.
  31840. -NM=$lt_NM
  31841. +fi
  31842. -# A symbol stripping program
  31843. -STRIP=$lt_STRIP
  31844. -# Used to examine libraries when file_magic_cmd begins "file"
  31845. -MAGIC_CMD=$MAGIC_CMD
  31846. +fi
  31847. -# Used on cygwin: DLL creation program.
  31848. -DLLTOOL="$DLLTOOL"
  31849. + ;;
  31850. + esac
  31851. -# Used on cygwin: object dumper.
  31852. -OBJDUMP="$OBJDUMP"
  31853. + if test "x$lt_cv_dlopen" != xno; then
  31854. + enable_dlopen=yes
  31855. + else
  31856. + enable_dlopen=no
  31857. + fi
  31858. -# Used on cygwin: assembler.
  31859. -AS="$AS"
  31860. + case $lt_cv_dlopen in
  31861. + dlopen)
  31862. + save_CPPFLAGS="$CPPFLAGS"
  31863. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  31864. -# The name of the directory that contains temporary libtool files.
  31865. -objdir=$objdir
  31866. + save_LDFLAGS="$LDFLAGS"
  31867. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  31868. -# How to create reloadable object files.
  31869. -reload_flag=$lt_reload_flag
  31870. -reload_cmds=$lt_reload_cmds
  31871. + save_LIBS="$LIBS"
  31872. + LIBS="$lt_cv_dlopen_libs $LIBS"
  31873. -# How to pass a linker flag through the compiler.
  31874. -wl=$lt_lt_prog_compiler_wl_GCJ
  31875. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  31876. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  31877. +if test "${lt_cv_dlopen_self+set}" = set; then :
  31878. + $as_echo_n "(cached) " >&6
  31879. +else
  31880. + if test "$cross_compiling" = yes; then :
  31881. + lt_cv_dlopen_self=cross
  31882. +else
  31883. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  31884. + lt_status=$lt_dlunknown
  31885. + cat > conftest.$ac_ext <<_LT_EOF
  31886. +#line 10303 "configure"
  31887. +#include "confdefs.h"
  31888. -# Object file suffix (normally "o").
  31889. -objext="$ac_objext"
  31890. +#if HAVE_DLFCN_H
  31891. +#include <dlfcn.h>
  31892. +#endif
  31893. -# Old archive suffix (normally "a").
  31894. -libext="$libext"
  31895. +#include <stdio.h>
  31896. -# Shared library suffix (normally ".so").
  31897. -shrext_cmds='$shrext_cmds'
  31898. +#ifdef RTLD_GLOBAL
  31899. +# define LT_DLGLOBAL RTLD_GLOBAL
  31900. +#else
  31901. +# ifdef DL_GLOBAL
  31902. +# define LT_DLGLOBAL DL_GLOBAL
  31903. +# else
  31904. +# define LT_DLGLOBAL 0
  31905. +# endif
  31906. +#endif
  31907. -# Executable file suffix (normally "").
  31908. -exeext="$exeext"
  31909. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  31910. + find out it does not work in some platform. */
  31911. +#ifndef LT_DLLAZY_OR_NOW
  31912. +# ifdef RTLD_LAZY
  31913. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  31914. +# else
  31915. +# ifdef DL_LAZY
  31916. +# define LT_DLLAZY_OR_NOW DL_LAZY
  31917. +# else
  31918. +# ifdef RTLD_NOW
  31919. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  31920. +# else
  31921. +# ifdef DL_NOW
  31922. +# define LT_DLLAZY_OR_NOW DL_NOW
  31923. +# else
  31924. +# define LT_DLLAZY_OR_NOW 0
  31925. +# endif
  31926. +# endif
  31927. +# endif
  31928. +# endif
  31929. +#endif
  31930. -# Additional compiler flags for building library objects.
  31931. -pic_flag=$lt_lt_prog_compiler_pic_GCJ
  31932. -pic_mode=$pic_mode
  31933. +void fnord() { int i=42;}
  31934. +int main ()
  31935. +{
  31936. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  31937. + int status = $lt_dlunknown;
  31938. -# What is the maximum length of a command?
  31939. -max_cmd_len=$lt_cv_sys_max_cmd_len
  31940. + if (self)
  31941. + {
  31942. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  31943. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  31944. + /* dlclose (self); */
  31945. + }
  31946. + else
  31947. + puts (dlerror ());
  31948. -# Does compiler simultaneously support -c and -o options?
  31949. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
  31950. + return status;
  31951. +}
  31952. +_LT_EOF
  31953. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  31954. + (eval $ac_link) 2>&5
  31955. + ac_status=$?
  31956. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31957. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  31958. + (./conftest; exit; ) >&5 2>/dev/null
  31959. + lt_status=$?
  31960. + case x$lt_status in
  31961. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  31962. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  31963. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  31964. + esac
  31965. + else :
  31966. + # compilation failed
  31967. + lt_cv_dlopen_self=no
  31968. + fi
  31969. +fi
  31970. +rm -fr conftest*
  31971. -# Must we lock files when doing compilation?
  31972. -need_locks=$lt_need_locks
  31973. -# Do we need the lib prefix for modules?
  31974. -need_lib_prefix=$need_lib_prefix
  31975. +fi
  31976. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  31977. +$as_echo "$lt_cv_dlopen_self" >&6; }
  31978. -# Do we need a version for libraries?
  31979. -need_version=$need_version
  31980. + if test "x$lt_cv_dlopen_self" = xyes; then
  31981. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  31982. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  31983. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  31984. +if test "${lt_cv_dlopen_self_static+set}" = set; then :
  31985. + $as_echo_n "(cached) " >&6
  31986. +else
  31987. + if test "$cross_compiling" = yes; then :
  31988. + lt_cv_dlopen_self_static=cross
  31989. +else
  31990. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  31991. + lt_status=$lt_dlunknown
  31992. + cat > conftest.$ac_ext <<_LT_EOF
  31993. +#line 10399 "configure"
  31994. +#include "confdefs.h"
  31995. -# Whether dlopen is supported.
  31996. -dlopen_support=$enable_dlopen
  31997. +#if HAVE_DLFCN_H
  31998. +#include <dlfcn.h>
  31999. +#endif
  32000. -# Whether dlopen of programs is supported.
  32001. -dlopen_self=$enable_dlopen_self
  32002. +#include <stdio.h>
  32003. -# Whether dlopen of statically linked programs is supported.
  32004. -dlopen_self_static=$enable_dlopen_self_static
  32005. +#ifdef RTLD_GLOBAL
  32006. +# define LT_DLGLOBAL RTLD_GLOBAL
  32007. +#else
  32008. +# ifdef DL_GLOBAL
  32009. +# define LT_DLGLOBAL DL_GLOBAL
  32010. +# else
  32011. +# define LT_DLGLOBAL 0
  32012. +# endif
  32013. +#endif
  32014. -# Compiler flag to prevent dynamic linking.
  32015. -link_static_flag=$lt_lt_prog_compiler_static_GCJ
  32016. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  32017. + find out it does not work in some platform. */
  32018. +#ifndef LT_DLLAZY_OR_NOW
  32019. +# ifdef RTLD_LAZY
  32020. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  32021. +# else
  32022. +# ifdef DL_LAZY
  32023. +# define LT_DLLAZY_OR_NOW DL_LAZY
  32024. +# else
  32025. +# ifdef RTLD_NOW
  32026. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  32027. +# else
  32028. +# ifdef DL_NOW
  32029. +# define LT_DLLAZY_OR_NOW DL_NOW
  32030. +# else
  32031. +# define LT_DLLAZY_OR_NOW 0
  32032. +# endif
  32033. +# endif
  32034. +# endif
  32035. +# endif
  32036. +#endif
  32037. -# Compiler flag to turn off builtin functions.
  32038. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
  32039. +void fnord() { int i=42;}
  32040. +int main ()
  32041. +{
  32042. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  32043. + int status = $lt_dlunknown;
  32044. -# Compiler flag to allow reflexive dlopens.
  32045. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
  32046. + if (self)
  32047. + {
  32048. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  32049. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  32050. + /* dlclose (self); */
  32051. + }
  32052. + else
  32053. + puts (dlerror ());
  32054. -# Compiler flag to generate shared objects directly from archives.
  32055. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
  32056. + return status;
  32057. +}
  32058. +_LT_EOF
  32059. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  32060. + (eval $ac_link) 2>&5
  32061. + ac_status=$?
  32062. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  32063. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  32064. + (./conftest; exit; ) >&5 2>/dev/null
  32065. + lt_status=$?
  32066. + case x$lt_status in
  32067. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  32068. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  32069. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  32070. + esac
  32071. + else :
  32072. + # compilation failed
  32073. + lt_cv_dlopen_self_static=no
  32074. + fi
  32075. +fi
  32076. +rm -fr conftest*
  32077. -# Compiler flag to generate thread-safe objects.
  32078. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
  32079. -# Library versioning type.
  32080. -version_type=$version_type
  32081. +fi
  32082. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  32083. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  32084. + fi
  32085. -# Format of library name prefix.
  32086. -libname_spec=$lt_libname_spec
  32087. + CPPFLAGS="$save_CPPFLAGS"
  32088. + LDFLAGS="$save_LDFLAGS"
  32089. + LIBS="$save_LIBS"
  32090. + ;;
  32091. + esac
  32092. -# List of archive names. First name is the real one, the rest are links.
  32093. -# The last name is the one that the linker finds with -lNAME.
  32094. -library_names_spec=$lt_library_names_spec
  32095. + case $lt_cv_dlopen_self in
  32096. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  32097. + *) enable_dlopen_self=unknown ;;
  32098. + esac
  32099. -# The coded name of the library, if different from the real name.
  32100. -soname_spec=$lt_soname_spec
  32101. + case $lt_cv_dlopen_self_static in
  32102. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  32103. + *) enable_dlopen_self_static=unknown ;;
  32104. + esac
  32105. +fi
  32106. -# Commands used to build and install an old-style archive.
  32107. -RANLIB=$lt_RANLIB
  32108. -old_archive_cmds=$lt_old_archive_cmds_GCJ
  32109. -old_postinstall_cmds=$lt_old_postinstall_cmds
  32110. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  32111. -# Create an old-style archive from a shared archive.
  32112. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
  32113. -# Create a temporary old-style archive to link instead of a shared archive.
  32114. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
  32115. -# Commands used to build and install a shared archive.
  32116. -archive_cmds=$lt_archive_cmds_GCJ
  32117. -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
  32118. -postinstall_cmds=$lt_postinstall_cmds
  32119. -postuninstall_cmds=$lt_postuninstall_cmds
  32120. -# Commands used to build a loadable module (assumed same as above if empty)
  32121. -module_cmds=$lt_module_cmds_GCJ
  32122. -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
  32123. -# Commands to strip libraries.
  32124. -old_striplib=$lt_old_striplib
  32125. -striplib=$lt_striplib
  32126. -# Dependencies to place before the objects being linked to create a
  32127. -# shared library.
  32128. -predep_objects=$lt_predep_objects_GCJ
  32129. -
  32130. -# Dependencies to place after the objects being linked to create a
  32131. -# shared library.
  32132. -postdep_objects=$lt_postdep_objects_GCJ
  32133. -
  32134. -# Dependencies to place before the objects being linked to create a
  32135. -# shared library.
  32136. -predeps=$lt_predeps_GCJ
  32137. -
  32138. -# Dependencies to place after the objects being linked to create a
  32139. -# shared library.
  32140. -postdeps=$lt_postdeps_GCJ
  32141. -
  32142. -# The library search path used internally by the compiler when linking
  32143. -# a shared library.
  32144. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
  32145. -# Method to check whether dependent libraries are shared objects.
  32146. -deplibs_check_method=$lt_deplibs_check_method
  32147. -# Command to use when deplibs_check_method == file_magic.
  32148. -file_magic_cmd=$lt_file_magic_cmd
  32149. -# Flag that allows shared libraries with undefined symbols to be built.
  32150. -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
  32151. -# Flag that forces no undefined symbols.
  32152. -no_undefined_flag=$lt_no_undefined_flag_GCJ
  32153. -# Commands used to finish a libtool library installation in a directory.
  32154. -finish_cmds=$lt_finish_cmds
  32155. -# Same as above, but a single script fragment to be evaled but not shown.
  32156. -finish_eval=$lt_finish_eval
  32157. -# Take the output of nm and produce a listing of raw symbols and C names.
  32158. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  32159. -# Transform the output of nm in a proper C declaration
  32160. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  32161. -# Transform the output of nm in a C name address pair
  32162. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  32163. -# This is the shared library runtime path variable.
  32164. -runpath_var=$runpath_var
  32165. +striplib=
  32166. +old_striplib=
  32167. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  32168. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  32169. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  32170. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  32171. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  32172. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  32173. +$as_echo "yes" >&6; }
  32174. +else
  32175. +# FIXME - insert some real tests, host_os isn't really good enough
  32176. + case $host_os in
  32177. + darwin*)
  32178. + if test -n "$STRIP" ; then
  32179. + striplib="$STRIP -x"
  32180. + old_striplib="$STRIP -S"
  32181. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  32182. +$as_echo "yes" >&6; }
  32183. + else
  32184. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32185. +$as_echo "no" >&6; }
  32186. + fi
  32187. + ;;
  32188. + *)
  32189. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32190. +$as_echo "no" >&6; }
  32191. + ;;
  32192. + esac
  32193. +fi
  32194. -# This is the shared library path variable.
  32195. -shlibpath_var=$shlibpath_var
  32196. -# Is shlibpath searched before the hard-coded library search path?
  32197. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  32198. -# How to hardcode a shared library path into an executable.
  32199. -hardcode_action=$hardcode_action_GCJ
  32200. -# Whether we should hardcode library paths into libraries.
  32201. -hardcode_into_libs=$hardcode_into_libs
  32202. -# Flag to hardcode \$libdir into a binary during linking.
  32203. -# This must work even if \$libdir does not exist.
  32204. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
  32205. -# If ld is used when linking, flag to hardcode \$libdir into
  32206. -# a binary during linking. This must work even if \$libdir does
  32207. -# not exist.
  32208. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
  32209. -
  32210. -# Whether we need a single -rpath flag with a separated argument.
  32211. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
  32212. -
  32213. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  32214. -# resulting binary.
  32215. -hardcode_direct=$hardcode_direct_GCJ
  32216. -
  32217. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  32218. -# resulting binary.
  32219. -hardcode_minus_L=$hardcode_minus_L_GCJ
  32220. -
  32221. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  32222. -# the resulting binary.
  32223. -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
  32224. -
  32225. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  32226. -# and all subsequent libraries and executables linked against it.
  32227. -hardcode_automatic=$hardcode_automatic_GCJ
  32228. -# Variables whose values should be saved in libtool wrapper scripts and
  32229. -# restored at relink time.
  32230. -variables_saved_for_relink="$variables_saved_for_relink"
  32231. -# Whether libtool must link a program against all its dependency libraries.
  32232. -link_all_deplibs=$link_all_deplibs_GCJ
  32233. -# Compile-time system search path for libraries
  32234. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  32235. -# Run-time system search path for libraries
  32236. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  32237. -# Fix the shell variable \$srcfile for the compiler.
  32238. -fix_srcfile_path="$fix_srcfile_path_GCJ"
  32239. -# Set to yes if exported symbols are required.
  32240. -always_export_symbols=$always_export_symbols_GCJ
  32241. + # Report which library types will actually be built
  32242. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  32243. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  32244. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  32245. +$as_echo "$can_build_shared" >&6; }
  32246. -# The commands to list exported symbols.
  32247. -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
  32248. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  32249. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  32250. + test "$can_build_shared" = "no" && enable_shared=no
  32251. -# The commands to extract the exported symbol list from a shared archive.
  32252. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  32253. + # On AIX, shared libraries and static libraries use the same namespace, and
  32254. + # are all built from PIC.
  32255. + case $host_os in
  32256. + aix3*)
  32257. + test "$enable_shared" = yes && enable_static=no
  32258. + if test -n "$RANLIB"; then
  32259. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  32260. + postinstall_cmds='$RANLIB $lib'
  32261. + fi
  32262. + ;;
  32263. -# Symbols that should not be listed in the preloaded symbols.
  32264. -exclude_expsyms=$lt_exclude_expsyms_GCJ
  32265. + aix[4-9]*)
  32266. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  32267. + test "$enable_shared" = yes && enable_static=no
  32268. + fi
  32269. + ;;
  32270. + esac
  32271. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  32272. +$as_echo "$enable_shared" >&6; }
  32273. -# Symbols that must always be exported.
  32274. -include_expsyms=$lt_include_expsyms_GCJ
  32275. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  32276. +$as_echo_n "checking whether to build static libraries... " >&6; }
  32277. + # Make sure either enable_shared or enable_static is yes.
  32278. + test "$enable_shared" = yes || enable_static=yes
  32279. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  32280. +$as_echo "$enable_static" >&6; }
  32281. -# ### END LIBTOOL TAG CONFIG: $tagname
  32282. -__EOF__
  32283. -else
  32284. - # If there is no Makefile yet, we rely on a make rule to execute
  32285. - # `config.status --recheck' to rerun these tests and create the
  32286. - # libtool script then.
  32287. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  32288. - if test -f "$ltmain_in"; then
  32289. - test -f Makefile && make "$ltmain"
  32290. - fi
  32291. fi
  32292. -
  32293. -
  32294. ac_ext=c
  32295. ac_cpp='$CPP $CPPFLAGS'
  32296. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  32297. @@ -19388,1106 +10603,941 @@
  32298. CC="$lt_save_CC"
  32299. - else
  32300. - tagname=""
  32301. - fi
  32302. - ;;
  32303. -
  32304. - RC)
  32305. -
  32306. -
  32307. -# Source file extension for RC test sources.
  32308. -ac_ext=rc
  32309. -
  32310. -# Object file extension for compiled RC test sources.
  32311. -objext=o
  32312. -objext_RC=$objext
  32313. -
  32314. -# Code to be used in simple compile tests
  32315. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
  32316. -
  32317. -# Code to be used in simple link tests
  32318. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  32319. -
  32320. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  32321. -
  32322. -# If no C compiler was specified, use CC.
  32323. -LTCC=${LTCC-"$CC"}
  32324. -
  32325. -# If no C compiler flags were specified, use CFLAGS.
  32326. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  32327. -
  32328. -# Allow CC to be a program name with arguments.
  32329. -compiler=$CC
  32330. -
  32331. -
  32332. -# save warnings/boilerplate of simple test code
  32333. -ac_outfile=conftest.$ac_objext
  32334. -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
  32335. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  32336. -_lt_compiler_boilerplate=`cat conftest.err`
  32337. -$rm conftest*
  32338. -
  32339. -ac_outfile=conftest.$ac_objext
  32340. -printf "$lt_simple_link_test_code" >conftest.$ac_ext
  32341. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  32342. -_lt_linker_boilerplate=`cat conftest.err`
  32343. -$rm conftest*
  32344. -
  32345. -
  32346. -# Allow CC to be a program name with arguments.
  32347. -lt_save_CC="$CC"
  32348. -CC=${RC-"windres"}
  32349. -compiler=$CC
  32350. -compiler_RC=$CC
  32351. -for cc_temp in $compiler""; do
  32352. - case $cc_temp in
  32353. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  32354. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  32355. - \-*) ;;
  32356. - *) break;;
  32357. - esac
  32358. -done
  32359. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  32360. -lt_cv_prog_compiler_c_o_RC=yes
  32361. -# The else clause should only fire when bootstrapping the
  32362. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  32363. -# with your package, and you will get complaints that there are
  32364. -# no rules to generate ltmain.sh.
  32365. -if test -f "$ltmain"; then
  32366. - # See if we are running on zsh, and set the options which allow our commands through
  32367. - # without removal of \ escapes.
  32368. - if test -n "${ZSH_VERSION+set}" ; then
  32369. - setopt NO_GLOB_SUBST
  32370. - fi
  32371. - # Now quote all the things that may contain metacharacters while being
  32372. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  32373. - # variables and quote the copies for generation of the libtool script.
  32374. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  32375. - SED SHELL STRIP \
  32376. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  32377. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  32378. - deplibs_check_method reload_flag reload_cmds need_locks \
  32379. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  32380. - lt_cv_sys_global_symbol_to_c_name_address \
  32381. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  32382. - old_postinstall_cmds old_postuninstall_cmds \
  32383. - compiler_RC \
  32384. - CC_RC \
  32385. - LD_RC \
  32386. - lt_prog_compiler_wl_RC \
  32387. - lt_prog_compiler_pic_RC \
  32388. - lt_prog_compiler_static_RC \
  32389. - lt_prog_compiler_no_builtin_flag_RC \
  32390. - export_dynamic_flag_spec_RC \
  32391. - thread_safe_flag_spec_RC \
  32392. - whole_archive_flag_spec_RC \
  32393. - enable_shared_with_static_runtimes_RC \
  32394. - old_archive_cmds_RC \
  32395. - old_archive_from_new_cmds_RC \
  32396. - predep_objects_RC \
  32397. - postdep_objects_RC \
  32398. - predeps_RC \
  32399. - postdeps_RC \
  32400. - compiler_lib_search_path_RC \
  32401. - archive_cmds_RC \
  32402. - archive_expsym_cmds_RC \
  32403. - postinstall_cmds_RC \
  32404. - postuninstall_cmds_RC \
  32405. - old_archive_from_expsyms_cmds_RC \
  32406. - allow_undefined_flag_RC \
  32407. - no_undefined_flag_RC \
  32408. - export_symbols_cmds_RC \
  32409. - hardcode_libdir_flag_spec_RC \
  32410. - hardcode_libdir_flag_spec_ld_RC \
  32411. - hardcode_libdir_separator_RC \
  32412. - hardcode_automatic_RC \
  32413. - module_cmds_RC \
  32414. - module_expsym_cmds_RC \
  32415. - lt_cv_prog_compiler_c_o_RC \
  32416. - exclude_expsyms_RC \
  32417. - include_expsyms_RC; do
  32418. -
  32419. - case $var in
  32420. - old_archive_cmds_RC | \
  32421. - old_archive_from_new_cmds_RC | \
  32422. - archive_cmds_RC | \
  32423. - archive_expsym_cmds_RC | \
  32424. - module_cmds_RC | \
  32425. - module_expsym_cmds_RC | \
  32426. - old_archive_from_expsyms_cmds_RC | \
  32427. - export_symbols_cmds_RC | \
  32428. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  32429. - postinstall_cmds | postuninstall_cmds | \
  32430. - old_postinstall_cmds | old_postuninstall_cmds | \
  32431. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  32432. - # Double-quote double-evaled strings.
  32433. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  32434. - ;;
  32435. - *)
  32436. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  32437. - ;;
  32438. - esac
  32439. - done
  32440. - case $lt_echo in
  32441. - *'\$0 --fallback-echo"')
  32442. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  32443. - ;;
  32444. - esac
  32445. -cfgfile="$ofile"
  32446. - cat <<__EOF__ >> "$cfgfile"
  32447. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  32448. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  32449. -# Shell to use when invoking shell scripts.
  32450. -SHELL=$lt_SHELL
  32451. -# Whether or not to build shared libraries.
  32452. -build_libtool_libs=$enable_shared
  32453. -# Whether or not to build static libraries.
  32454. -build_old_libs=$enable_static
  32455. -# Whether or not to add -lc for building shared libraries.
  32456. -build_libtool_need_lc=$archive_cmds_need_lc_RC
  32457. -# Whether or not to disallow shared libs when runtime libs are static
  32458. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
  32459. -# Whether or not to optimize for fast installation.
  32460. -fast_install=$enable_fast_install
  32461. + ac_config_commands="$ac_config_commands libtool"
  32462. -# The host system.
  32463. -host_alias=$host_alias
  32464. -host=$host
  32465. -host_os=$host_os
  32466. -# The build system.
  32467. -build_alias=$build_alias
  32468. -build=$build
  32469. -build_os=$build_os
  32470. -# An echo program that does not interpret backslashes.
  32471. -echo=$lt_echo
  32472. -# The archiver.
  32473. -AR=$lt_AR
  32474. -AR_FLAGS=$lt_AR_FLAGS
  32475. +# Only expand once:
  32476. -# A C compiler.
  32477. -LTCC=$lt_LTCC
  32478. -# LTCC compiler flags.
  32479. -LTCFLAGS=$lt_LTCFLAGS
  32480. -# A language-specific compiler.
  32481. -CC=$lt_compiler_RC
  32482. -# Is the compiler the GNU C compiler?
  32483. -with_gcc=$GCC_RC
  32484. -# An ERE matcher.
  32485. -EGREP=$lt_EGREP
  32486. -# The linker used to build libraries.
  32487. -LD=$lt_LD_RC
  32488. + case $host in
  32489. + *-freebsd*) ;;
  32490. + *)
  32491. + for possible_flags in "-Wl,--no-undefined" "-Wl,-z,defs"; do
  32492. -# Whether we need hard or soft links.
  32493. -LN_S=$lt_LN_S
  32494. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $possible_flags flag" >&5
  32495. +$as_echo_n "checking if $CC supports $possible_flags flag... " >&6; }
  32496. +if { as_var=`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
  32497. + $as_echo_n "(cached) " >&6
  32498. +else
  32499. + ac_save_LDFLAGS="$LDFLAGS"
  32500. + LDFLAGS="$LDFLAGS $possible_flags"
  32501. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32502. +/* end confdefs.h. */
  32503. +int main() { return 1; }
  32504. +_ACEOF
  32505. +if ac_fn_c_try_link "$LINENO"; then :
  32506. + eval "`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`='yes'"
  32507. +else
  32508. + eval "`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`="
  32509. +fi
  32510. +rm -f core conftest.err conftest.$ac_objext \
  32511. + conftest$ac_exeext conftest.$ac_ext
  32512. + LDFLAGS="$ac_save_LDFLAGS"
  32513. -# A BSD-compatible nm program.
  32514. -NM=$lt_NM
  32515. +fi
  32516. +eval ac_res=\$`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh`
  32517. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  32518. +$as_echo "$ac_res" >&6; }
  32519. -# A symbol stripping program
  32520. -STRIP=$lt_STRIP
  32521. + if eval test x$`$as_echo "cc_cv_ldflags_$possible_flags" | $as_tr_sh` = xyes; then :
  32522. + LDFLAGS_NOUNDEFINED="$possible_flags"
  32523. +fi
  32524. -# Used to examine libraries when file_magic_cmd begins "file"
  32525. -MAGIC_CMD=$MAGIC_CMD
  32526. + break
  32527. + done
  32528. + ;;
  32529. + esac
  32530. -# Used on cygwin: DLL creation program.
  32531. -DLLTOOL="$DLLTOOL"
  32532. -# Used on cygwin: object dumper.
  32533. -OBJDUMP="$OBJDUMP"
  32534. -# Used on cygwin: assembler.
  32535. -AS="$AS"
  32536. -# The name of the directory that contains temporary libtool files.
  32537. -objdir=$objdir
  32538. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  32539. +$as_echo_n "checking for ANSI C header files... " >&6; }
  32540. +if test "${ac_cv_header_stdc+set}" = set; then :
  32541. + $as_echo_n "(cached) " >&6
  32542. +else
  32543. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32544. +/* end confdefs.h. */
  32545. +#include <stdlib.h>
  32546. +#include <stdarg.h>
  32547. +#include <string.h>
  32548. +#include <float.h>
  32549. -# How to create reloadable object files.
  32550. -reload_flag=$lt_reload_flag
  32551. -reload_cmds=$lt_reload_cmds
  32552. +int
  32553. +main ()
  32554. +{
  32555. -# How to pass a linker flag through the compiler.
  32556. -wl=$lt_lt_prog_compiler_wl_RC
  32557. + ;
  32558. + return 0;
  32559. +}
  32560. +_ACEOF
  32561. +if ac_fn_c_try_compile "$LINENO"; then :
  32562. + ac_cv_header_stdc=yes
  32563. +else
  32564. + ac_cv_header_stdc=no
  32565. +fi
  32566. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  32567. -# Object file suffix (normally "o").
  32568. -objext="$ac_objext"
  32569. +if test $ac_cv_header_stdc = yes; then
  32570. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  32571. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32572. +/* end confdefs.h. */
  32573. +#include <string.h>
  32574. -# Old archive suffix (normally "a").
  32575. -libext="$libext"
  32576. +_ACEOF
  32577. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  32578. + $EGREP "memchr" >/dev/null 2>&1; then :
  32579. -# Shared library suffix (normally ".so").
  32580. -shrext_cmds='$shrext_cmds'
  32581. +else
  32582. + ac_cv_header_stdc=no
  32583. +fi
  32584. +rm -f conftest*
  32585. -# Executable file suffix (normally "").
  32586. -exeext="$exeext"
  32587. +fi
  32588. -# Additional compiler flags for building library objects.
  32589. -pic_flag=$lt_lt_prog_compiler_pic_RC
  32590. -pic_mode=$pic_mode
  32591. +if test $ac_cv_header_stdc = yes; then
  32592. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  32593. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32594. +/* end confdefs.h. */
  32595. +#include <stdlib.h>
  32596. -# What is the maximum length of a command?
  32597. -max_cmd_len=$lt_cv_sys_max_cmd_len
  32598. +_ACEOF
  32599. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  32600. + $EGREP "free" >/dev/null 2>&1; then :
  32601. -# Does compiler simultaneously support -c and -o options?
  32602. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
  32603. +else
  32604. + ac_cv_header_stdc=no
  32605. +fi
  32606. +rm -f conftest*
  32607. -# Must we lock files when doing compilation?
  32608. -need_locks=$lt_need_locks
  32609. +fi
  32610. -# Do we need the lib prefix for modules?
  32611. -need_lib_prefix=$need_lib_prefix
  32612. +if test $ac_cv_header_stdc = yes; then
  32613. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  32614. + if test "$cross_compiling" = yes; then :
  32615. + :
  32616. +else
  32617. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32618. +/* end confdefs.h. */
  32619. +#include <ctype.h>
  32620. +#include <stdlib.h>
  32621. +#if ((' ' & 0x0FF) == 0x020)
  32622. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  32623. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  32624. +#else
  32625. +# define ISLOWER(c) \
  32626. + (('a' <= (c) && (c) <= 'i') \
  32627. + || ('j' <= (c) && (c) <= 'r') \
  32628. + || ('s' <= (c) && (c) <= 'z'))
  32629. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  32630. +#endif
  32631. -# Do we need a version for libraries?
  32632. -need_version=$need_version
  32633. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  32634. +int
  32635. +main ()
  32636. +{
  32637. + int i;
  32638. + for (i = 0; i < 256; i++)
  32639. + if (XOR (islower (i), ISLOWER (i))
  32640. + || toupper (i) != TOUPPER (i))
  32641. + return 2;
  32642. + return 0;
  32643. +}
  32644. +_ACEOF
  32645. +if ac_fn_c_try_run "$LINENO"; then :
  32646. -# Whether dlopen is supported.
  32647. -dlopen_support=$enable_dlopen
  32648. +else
  32649. + ac_cv_header_stdc=no
  32650. +fi
  32651. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  32652. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  32653. +fi
  32654. -# Whether dlopen of programs is supported.
  32655. -dlopen_self=$enable_dlopen_self
  32656. +fi
  32657. +fi
  32658. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  32659. +$as_echo "$ac_cv_header_stdc" >&6; }
  32660. +if test $ac_cv_header_stdc = yes; then
  32661. -# Whether dlopen of statically linked programs is supported.
  32662. -dlopen_self_static=$enable_dlopen_self_static
  32663. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  32664. -# Compiler flag to prevent dynamic linking.
  32665. -link_static_flag=$lt_lt_prog_compiler_static_RC
  32666. +fi
  32667. -# Compiler flag to turn off builtin functions.
  32668. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
  32669. +ac_config_headers="$ac_config_headers include/config.h"
  32670. -# Compiler flag to allow reflexive dlopens.
  32671. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
  32672. -# Compiler flag to generate shared objects directly from archives.
  32673. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
  32674. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  32675. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  32676. +if test "${ac_cv_c_const+set}" = set; then :
  32677. + $as_echo_n "(cached) " >&6
  32678. +else
  32679. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32680. +/* end confdefs.h. */
  32681. -# Compiler flag to generate thread-safe objects.
  32682. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
  32683. +int
  32684. +main ()
  32685. +{
  32686. +/* FIXME: Include the comments suggested by Paul. */
  32687. +#ifndef __cplusplus
  32688. + /* Ultrix mips cc rejects this. */
  32689. + typedef int charset[2];
  32690. + const charset cs;
  32691. + /* SunOS 4.1.1 cc rejects this. */
  32692. + char const *const *pcpcc;
  32693. + char **ppc;
  32694. + /* NEC SVR4.0.2 mips cc rejects this. */
  32695. + struct point {int x, y;};
  32696. + static struct point const zero = {0,0};
  32697. + /* AIX XL C 1.02.0.0 rejects this.
  32698. + It does not let you subtract one const X* pointer from another in
  32699. + an arm of an if-expression whose if-part is not a constant
  32700. + expression */
  32701. + const char *g = "string";
  32702. + pcpcc = &g + (g ? g-g : 0);
  32703. + /* HPUX 7.0 cc rejects these. */
  32704. + ++pcpcc;
  32705. + ppc = (char**) pcpcc;
  32706. + pcpcc = (char const *const *) ppc;
  32707. + { /* SCO 3.2v4 cc rejects this. */
  32708. + char *t;
  32709. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  32710. -# Library versioning type.
  32711. -version_type=$version_type
  32712. + *t++ = 0;
  32713. + if (s) return 0;
  32714. + }
  32715. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  32716. + int x[] = {25, 17};
  32717. + const int *foo = &x[0];
  32718. + ++foo;
  32719. + }
  32720. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  32721. + typedef const int *iptr;
  32722. + iptr p = 0;
  32723. + ++p;
  32724. + }
  32725. + { /* AIX XL C 1.02.0.0 rejects this saying
  32726. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  32727. + struct s { int j; const int *ap[3]; };
  32728. + struct s *b; b->j = 5;
  32729. + }
  32730. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  32731. + const int foo = 10;
  32732. + if (!foo) return 0;
  32733. + }
  32734. + return !cs[0] && !zero.x;
  32735. +#endif
  32736. -# Format of library name prefix.
  32737. -libname_spec=$lt_libname_spec
  32738. + ;
  32739. + return 0;
  32740. +}
  32741. +_ACEOF
  32742. +if ac_fn_c_try_compile "$LINENO"; then :
  32743. + ac_cv_c_const=yes
  32744. +else
  32745. + ac_cv_c_const=no
  32746. +fi
  32747. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  32748. +fi
  32749. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  32750. +$as_echo "$ac_cv_c_const" >&6; }
  32751. +if test $ac_cv_c_const = no; then
  32752. -# List of archive names. First name is the real one, the rest are links.
  32753. -# The last name is the one that the linker finds with -lNAME.
  32754. -library_names_spec=$lt_library_names_spec
  32755. +$as_echo "#define const /**/" >>confdefs.h
  32756. -# The coded name of the library, if different from the real name.
  32757. -soname_spec=$lt_soname_spec
  32758. +fi
  32759. -# Commands used to build and install an old-style archive.
  32760. -RANLIB=$lt_RANLIB
  32761. -old_archive_cmds=$lt_old_archive_cmds_RC
  32762. -old_postinstall_cmds=$lt_old_postinstall_cmds
  32763. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  32764. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  32765. +$as_echo_n "checking for inline... " >&6; }
  32766. +if test "${ac_cv_c_inline+set}" = set; then :
  32767. + $as_echo_n "(cached) " >&6
  32768. +else
  32769. + ac_cv_c_inline=no
  32770. +for ac_kw in inline __inline__ __inline; do
  32771. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32772. +/* end confdefs.h. */
  32773. +#ifndef __cplusplus
  32774. +typedef int foo_t;
  32775. +static $ac_kw foo_t static_foo () {return 0; }
  32776. +$ac_kw foo_t foo () {return 0; }
  32777. +#endif
  32778. -# Create an old-style archive from a shared archive.
  32779. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
  32780. +_ACEOF
  32781. +if ac_fn_c_try_compile "$LINENO"; then :
  32782. + ac_cv_c_inline=$ac_kw
  32783. +fi
  32784. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  32785. + test "$ac_cv_c_inline" != no && break
  32786. +done
  32787. -# Create a temporary old-style archive to link instead of a shared archive.
  32788. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
  32789. +fi
  32790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  32791. +$as_echo "$ac_cv_c_inline" >&6; }
  32792. -# Commands used to build and install a shared archive.
  32793. -archive_cmds=$lt_archive_cmds_RC
  32794. -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
  32795. -postinstall_cmds=$lt_postinstall_cmds
  32796. -postuninstall_cmds=$lt_postuninstall_cmds
  32797. +case $ac_cv_c_inline in
  32798. + inline | yes) ;;
  32799. + *)
  32800. + case $ac_cv_c_inline in
  32801. + no) ac_val=;;
  32802. + *) ac_val=$ac_cv_c_inline;;
  32803. + esac
  32804. + cat >>confdefs.h <<_ACEOF
  32805. +#ifndef __cplusplus
  32806. +#define inline $ac_val
  32807. +#endif
  32808. +_ACEOF
  32809. + ;;
  32810. +esac
  32811. -# Commands used to build a loadable module (assumed same as above if empty)
  32812. -module_cmds=$lt_module_cmds_RC
  32813. -module_expsym_cmds=$lt_module_expsym_cmds_RC
  32814. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  32815. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  32816. +if test "${ac_cv_header_time+set}" = set; then :
  32817. + $as_echo_n "(cached) " >&6
  32818. +else
  32819. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32820. +/* end confdefs.h. */
  32821. +#include <sys/types.h>
  32822. +#include <sys/time.h>
  32823. +#include <time.h>
  32824. -# Commands to strip libraries.
  32825. -old_striplib=$lt_old_striplib
  32826. -striplib=$lt_striplib
  32827. +int
  32828. +main ()
  32829. +{
  32830. +if ((struct tm *) 0)
  32831. +return 0;
  32832. + ;
  32833. + return 0;
  32834. +}
  32835. +_ACEOF
  32836. +if ac_fn_c_try_compile "$LINENO"; then :
  32837. + ac_cv_header_time=yes
  32838. +else
  32839. + ac_cv_header_time=no
  32840. +fi
  32841. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  32842. +fi
  32843. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  32844. +$as_echo "$ac_cv_header_time" >&6; }
  32845. +if test $ac_cv_header_time = yes; then
  32846. -# Dependencies to place before the objects being linked to create a
  32847. -# shared library.
  32848. -predep_objects=$lt_predep_objects_RC
  32849. -
  32850. -# Dependencies to place after the objects being linked to create a
  32851. -# shared library.
  32852. -postdep_objects=$lt_postdep_objects_RC
  32853. -
  32854. -# Dependencies to place before the objects being linked to create a
  32855. -# shared library.
  32856. -predeps=$lt_predeps_RC
  32857. -
  32858. -# Dependencies to place after the objects being linked to create a
  32859. -# shared library.
  32860. -postdeps=$lt_postdeps_RC
  32861. -
  32862. -# The library search path used internally by the compiler when linking
  32863. -# a shared library.
  32864. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
  32865. +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
  32866. -# Method to check whether dependent libraries are shared objects.
  32867. -deplibs_check_method=$lt_deplibs_check_method
  32868. +fi
  32869. -# Command to use when deplibs_check_method == file_magic.
  32870. -file_magic_cmd=$lt_file_magic_cmd
  32871. -# Flag that allows shared libraries with undefined symbols to be built.
  32872. -allow_undefined_flag=$lt_allow_undefined_flag_RC
  32873. +if test $ac_cv_c_compiler_gnu = yes; then
  32874. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
  32875. +$as_echo_n "checking whether $CC needs -traditional... " >&6; }
  32876. +if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
  32877. + $as_echo_n "(cached) " >&6
  32878. +else
  32879. + ac_pattern="Autoconf.*'x'"
  32880. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32881. +/* end confdefs.h. */
  32882. +#include <sgtty.h>
  32883. +Autoconf TIOCGETP
  32884. +_ACEOF
  32885. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  32886. + $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  32887. + ac_cv_prog_gcc_traditional=yes
  32888. +else
  32889. + ac_cv_prog_gcc_traditional=no
  32890. +fi
  32891. +rm -f conftest*
  32892. -# Flag that forces no undefined symbols.
  32893. -no_undefined_flag=$lt_no_undefined_flag_RC
  32894. -# Commands used to finish a libtool library installation in a directory.
  32895. -finish_cmds=$lt_finish_cmds
  32896. + if test $ac_cv_prog_gcc_traditional = no; then
  32897. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32898. +/* end confdefs.h. */
  32899. +#include <termio.h>
  32900. +Autoconf TCGETA
  32901. +_ACEOF
  32902. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  32903. + $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  32904. + ac_cv_prog_gcc_traditional=yes
  32905. +fi
  32906. +rm -f conftest*
  32907. -# Same as above, but a single script fragment to be evaled but not shown.
  32908. -finish_eval=$lt_finish_eval
  32909. + fi
  32910. +fi
  32911. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
  32912. +$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
  32913. + if test $ac_cv_prog_gcc_traditional = yes; then
  32914. + CC="$CC -traditional"
  32915. + fi
  32916. +fi
  32917. -# Take the output of nm and produce a listing of raw symbols and C names.
  32918. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  32919. +ac_fn_c_check_func "$LINENO" "hsearch_r" "ac_cv_func_hsearch_r"
  32920. +if test "x$ac_cv_func_hsearch_r" = x""yes; then :
  32921. + HAVE_HSEARCH_R=yes
  32922. +fi
  32923. -# Transform the output of nm in a proper C declaration
  32924. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  32925. + if test "x$HAVE_HSEARCH_R" != xyes; then
  32926. + ALSA_HSEARCH_R_TRUE=
  32927. + ALSA_HSEARCH_R_FALSE='#'
  32928. +else
  32929. + ALSA_HSEARCH_R_TRUE='#'
  32930. + ALSA_HSEARCH_R_FALSE=
  32931. +fi
  32932. -# Transform the output of nm in a C name address pair
  32933. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  32934. -# This is the shared library runtime path variable.
  32935. -runpath_var=$runpath_var
  32936. -# This is the shared library path variable.
  32937. -shlibpath_var=$shlibpath_var
  32938. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library version" >&5
  32939. +$as_echo_n "checking for library version... " >&6; }
  32940. +SND_LIB_VERSION=$VERSION
  32941. +echo $VERSION > $srcdir/version
  32942. -# Is shlibpath searched before the hard-coded library search path?
  32943. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  32944. +cat >>confdefs.h <<_ACEOF
  32945. +#define VERSION "$SND_LIB_VERSION"
  32946. +_ACEOF
  32947. -# How to hardcode a shared library path into an executable.
  32948. -hardcode_action=$hardcode_action_RC
  32949. -# Whether we should hardcode library paths into libraries.
  32950. -hardcode_into_libs=$hardcode_into_libs
  32951. +SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1`
  32952. -# Flag to hardcode \$libdir into a binary during linking.
  32953. -# This must work even if \$libdir does not exist.
  32954. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
  32955. +SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2`
  32956. -# If ld is used when linking, flag to hardcode \$libdir into
  32957. -# a binary during linking. This must work even if \$libdir does
  32958. -# not exist.
  32959. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
  32960. -
  32961. -# Whether we need a single -rpath flag with a separated argument.
  32962. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
  32963. -
  32964. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  32965. -# resulting binary.
  32966. -hardcode_direct=$hardcode_direct_RC
  32967. -
  32968. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  32969. -# resulting binary.
  32970. -hardcode_minus_L=$hardcode_minus_L_RC
  32971. -
  32972. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  32973. -# the resulting binary.
  32974. -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
  32975. -
  32976. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  32977. -# and all subsequent libraries and executables linked against it.
  32978. -hardcode_automatic=$hardcode_automatic_RC
  32979. +SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\(.*\)$/\1/g'`
  32980. -# Variables whose values should be saved in libtool wrapper scripts and
  32981. -# restored at relink time.
  32982. -variables_saved_for_relink="$variables_saved_for_relink"
  32983. +SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\2/g'`
  32984. +SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\3/g'`
  32985. +case "$SND_LIB_EXTRASTR" in
  32986. + pre) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 00000` ;;
  32987. + alpha) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 10000` ;;
  32988. + beta) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 20000` ;;
  32989. + rc) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 100000` ;;
  32990. + *) SND_LIB_EXTRAVER=1000000 ;;
  32991. +esac
  32992. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&5
  32993. +$as_echo "major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&6; }
  32994. -# Whether libtool must link a program against all its dependency libraries.
  32995. -link_all_deplibs=$link_all_deplibs_RC
  32996. -# Compile-time system search path for libraries
  32997. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  32998. -# Run-time system search path for libraries
  32999. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  33000. -# Fix the shell variable \$srcfile for the compiler.
  33001. -fix_srcfile_path="$fix_srcfile_path_RC"
  33002. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  33003. -# Set to yes if exported symbols are required.
  33004. -always_export_symbols=$always_export_symbols_RC
  33005. -# The commands to list exported symbols.
  33006. -export_symbols_cmds=$lt_export_symbols_cmds_RC
  33007. +# Check whether --with-configdir was given.
  33008. +if test "${with_configdir+set}" = set; then :
  33009. + withval=$with_configdir; confdir="$withval"
  33010. +else
  33011. + confdir=""
  33012. +fi
  33013. -# The commands to extract the exported symbol list from a shared archive.
  33014. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  33015. +if test -z "$confdir"; then
  33016. + eval dir="$datadir"
  33017. + case "$dir" in
  33018. + /*) ;;
  33019. + *) dir="$prefix/share"
  33020. + esac
  33021. + confdir="$dir/alsa"
  33022. +fi
  33023. +ALSA_CONFIG_DIR="$confdir"
  33024. -# Symbols that should not be listed in the preloaded symbols.
  33025. -exclude_expsyms=$lt_exclude_expsyms_RC
  33026. +cat >>confdefs.h <<_ACEOF
  33027. +#define ALSA_CONFIG_DIR "$confdir"
  33028. +_ACEOF
  33029. -# Symbols that must always be exported.
  33030. -include_expsyms=$lt_include_expsyms_RC
  33031. -# ### END LIBTOOL TAG CONFIG: $tagname
  33032. -__EOF__
  33033. +test "x$exec_prefix" = xNONE && exec_prefix=$prefix
  33034. +# Check whether --with-plugindir was given.
  33035. +if test "${with_plugindir+set}" = set; then :
  33036. + withval=$with_plugindir; plugindir="$withval"
  33037. else
  33038. - # If there is no Makefile yet, we rely on a make rule to execute
  33039. - # `config.status --recheck' to rerun these tests and create the
  33040. - # libtool script then.
  33041. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  33042. - if test -f "$ltmain_in"; then
  33043. - test -f Makefile && make "$ltmain"
  33044. - fi
  33045. + plugindir=""
  33046. fi
  33047. +if test -z "$plugindir"; then
  33048. + eval dir="$libdir"
  33049. + case "$dir" in
  33050. + /*) ;;
  33051. + *) dir="$dir"
  33052. + esac
  33053. + plugindir="$dir/$PACKAGE"
  33054. +fi
  33055. -ac_ext=c
  33056. -ac_cpp='$CPP $CPPFLAGS'
  33057. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  33058. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  33059. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  33060. +cat >>confdefs.h <<_ACEOF
  33061. +#define ALSA_PLUGIN_DIR "$plugindir"
  33062. +_ACEOF
  33063. -CC="$lt_save_CC"
  33064. +ALSA_PLUGIN_DIR="$plugindir"
  33065. - ;;
  33066. - *)
  33067. - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
  33068. -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
  33069. - { (exit 1); exit 1; }; }
  33070. - ;;
  33071. - esac
  33072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for versioned symbols" >&5
  33073. +$as_echo_n "checking for versioned symbols... " >&6; }
  33074. - # Append the new tag name to the list of available tags.
  33075. - if test -n "$tagname" ; then
  33076. - available_tags="$available_tags $tagname"
  33077. - fi
  33078. - fi
  33079. - done
  33080. - IFS="$lt_save_ifs"
  33081. +# Check whether --with-versioned was given.
  33082. +if test "${with_versioned+set}" = set; then :
  33083. + withval=$with_versioned; versioned="$withval"
  33084. +else
  33085. + versioned="yes"
  33086. +fi
  33087. - # Now substitute the updated list of available tags.
  33088. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  33089. - mv "${ofile}T" "$ofile"
  33090. - chmod +x "$ofile"
  33091. +if test "$versioned" = "yes"; then
  33092. + # it seems that GNU ld versions since 2.10 are not broken
  33093. + xres=`grep '^VERSION=' libtool | cut -d = -f 2 | cut -d \" -f 2`
  33094. + major=`echo $xres | cut -d . -f 1`
  33095. + minor=`echo $xres | cut -d . -f 2`
  33096. + pass=0
  33097. + if test $major -eq 1 -a $minor -gt 3; then
  33098. + pass=1
  33099. else
  33100. - rm -f "${ofile}T"
  33101. - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
  33102. -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
  33103. - { (exit 1); exit 1; }; }
  33104. + if test $major -gt 1; then
  33105. + pass=1
  33106. + fi
  33107. fi
  33108. -fi
  33109. -
  33110. -
  33111. -
  33112. -# This can be used to rebuild libtool when needed
  33113. -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  33114. -
  33115. -# Always use our own libtool.
  33116. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  33117. -
  33118. -# Prevent multiple expansion
  33119. -
  33120. + if test $pass -eq 1; then
  33121. +$as_echo "#define VERSIONED_SYMBOLS /**/" >>confdefs.h
  33122. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  33123. +$as_echo "yes" >&6; }
  33124. + else
  33125. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken libtool - use libtool v1.4+; no versions" >&5
  33126. +$as_echo "broken libtool - use libtool v1.4+; no versions" >&6; }
  33127. + fi
  33128. +else
  33129. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33130. +$as_echo "no" >&6; }
  33131. +fi
  33132. + if test x$versioned = xyes; then
  33133. + VERSIONED_SYMBOLS_TRUE=
  33134. + VERSIONED_SYMBOLS_FALSE='#'
  33135. +else
  33136. + VERSIONED_SYMBOLS_TRUE='#'
  33137. + VERSIONED_SYMBOLS_FALSE=
  33138. +fi
  33139. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbolic-functions" >&5
  33140. +$as_echo_n "checking for symbolic-functions... " >&6; }
  33141. +# Check whether --enable-symbolic-functions was given.
  33142. +if test "${enable_symbolic_functions+set}" = set; then :
  33143. + enableval=$enable_symbolic_functions; symfuncs="$enableval"
  33144. +else
  33145. + symfuncs="no"
  33146. +fi
  33147. +if test "$symfuncs" = "yes"; then
  33148. + if ld --help | grep -q -- '-Bsymbolic-functions'; then
  33149. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  33150. +$as_echo "yes" >&6; }
  33151. + else
  33152. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not supported by ld" >&5
  33153. +$as_echo "not supported by ld" >&6; }
  33154. + symfuncs="no"
  33155. + fi
  33156. +else
  33157. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33158. +$as_echo "no" >&6; }
  33159. +fi
  33160. + if test x"$symfuncs" = xyes; then
  33161. + SYMBOLIC_FUNCTIONS_TRUE=
  33162. + SYMBOLIC_FUNCTIONS_FALSE='#'
  33163. +else
  33164. + SYMBOLIC_FUNCTIONS_TRUE='#'
  33165. + SYMBOLIC_FUNCTIONS_FALSE=
  33166. +fi
  33167. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom symbol prefixes" >&5
  33168. +$as_echo_n "checking for custom symbol prefixes... " >&6; }
  33169. +SYMBOL_PREFIX=` \
  33170. + echo "PREFIX=__USER_LABEL_PREFIX__" \
  33171. + | ${CPP-${CC-gcc} -E} - 2>&1 \
  33172. + | ${EGREP-grep} "^PREFIX=" \
  33173. + | ${SED-sed} "s:^PREFIX=::"`
  33174. +cat >>confdefs.h <<_ACEOF
  33175. +#define __SYMBOL_PREFIX "$SYMBOL_PREFIX"
  33176. +_ACEOF
  33177. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
  33178. +$as_echo "$SYMBOL_PREFIX" >&6; }
  33179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug" >&5
  33180. +$as_echo_n "checking for debug... " >&6; }
  33181. +# Check whether --with-debug was given.
  33182. +if test "${with_debug+set}" = set; then :
  33183. + withval=$with_debug; debug="$withval"
  33184. +else
  33185. + debug="yes"
  33186. +fi
  33187. +if test "$debug" = "yes"; then
  33188. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  33189. +$as_echo "yes" >&6; }
  33190. +else
  33191. +$as_echo "#define NDEBUG /**/" >>confdefs.h
  33192. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33193. +$as_echo "no" >&6; }
  33194. +fi
  33195. +if test "$debug" = "yes"; then
  33196. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug assert" >&5
  33197. +$as_echo_n "checking for debug assert... " >&6; }
  33198. + # Check whether --enable-debug-assert was given.
  33199. +if test "${enable_debug_assert+set}" = set; then :
  33200. + enableval=$enable_debug_assert; debug_assert="$enableval"
  33201. +else
  33202. + debug_assert="no"
  33203. +fi
  33204. + if test "$debug_assert" = "yes"; then
  33205. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  33206. +$as_echo "yes" >&6; }
  33207. +$as_echo "#define ALSA_DEBUG_ASSERT /**/" >>confdefs.h
  33208. + else
  33209. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33210. +$as_echo "no" >&6; }
  33211. + fi
  33212. +fi
  33213. -CC_NOUNDEFINED
  33214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpdir" >&5
  33215. +$as_echo_n "checking for tmpdir... " >&6; }
  33216. -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  33217. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  33218. -if test "${ac_cv_header_stdc+set}" = set; then
  33219. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33220. +# Check whether --with-tmpdir was given.
  33221. +if test "${with_tmpdir+set}" = set; then :
  33222. + withval=$with_tmpdir; tmpdir="$withval"
  33223. else
  33224. - cat >conftest.$ac_ext <<_ACEOF
  33225. -/* confdefs.h. */
  33226. -_ACEOF
  33227. -cat confdefs.h >>conftest.$ac_ext
  33228. -cat >>conftest.$ac_ext <<_ACEOF
  33229. -/* end confdefs.h. */
  33230. -#include <stdlib.h>
  33231. -#include <stdarg.h>
  33232. -#include <string.h>
  33233. -#include <float.h>
  33234. -
  33235. -int
  33236. -main ()
  33237. -{
  33238. + tmpdir="/tmp"
  33239. +fi
  33240. - ;
  33241. - return 0;
  33242. -}
  33243. -_ACEOF
  33244. -rm -f conftest.$ac_objext
  33245. -if { (ac_try="$ac_compile"
  33246. -case "(($ac_try" in
  33247. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33248. - *) ac_try_echo=$ac_try;;
  33249. -esac
  33250. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33251. - (eval "$ac_compile") 2>conftest.er1
  33252. - ac_status=$?
  33253. - grep -v '^ *+' conftest.er1 >conftest.err
  33254. - rm -f conftest.er1
  33255. - cat conftest.err >&5
  33256. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33257. - (exit $ac_status); } &&
  33258. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  33259. - { (case "(($ac_try" in
  33260. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33261. - *) ac_try_echo=$ac_try;;
  33262. -esac
  33263. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33264. - (eval "$ac_try") 2>&5
  33265. - ac_status=$?
  33266. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33267. - (exit $ac_status); }; } &&
  33268. - { ac_try='test -s conftest.$ac_objext'
  33269. - { (case "(($ac_try" in
  33270. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33271. - *) ac_try_echo=$ac_try;;
  33272. -esac
  33273. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33274. - (eval "$ac_try") 2>&5
  33275. - ac_status=$?
  33276. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33277. - (exit $ac_status); }; }; then
  33278. - ac_cv_header_stdc=yes
  33279. -else
  33280. - echo "$as_me: failed program was:" >&5
  33281. -sed 's/^/| /' conftest.$ac_ext >&5
  33282. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tmpdir" >&5
  33283. +$as_echo "$tmpdir" >&6; }
  33284. - ac_cv_header_stdc=no
  33285. +cat >>confdefs.h <<_ACEOF
  33286. +#define TMPDIR "$tmpdir"
  33287. +_ACEOF
  33288. +
  33289. +
  33290. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for softfloat" >&5
  33291. +$as_echo_n "checking for softfloat... " >&6; }
  33292. +
  33293. +# Check whether --with-softfloat was given.
  33294. +if test "${with_softfloat+set}" = set; then :
  33295. + withval=$with_softfloat; case "$withval" in
  33296. + y|yes) softfloat=yes ;;
  33297. + *) softfloat=no ;;
  33298. + esac
  33299. fi
  33300. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33301. +if test "$softfloat" = "yes" ; then
  33302. -if test $ac_cv_header_stdc = yes; then
  33303. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  33304. - cat >conftest.$ac_ext <<_ACEOF
  33305. -/* confdefs.h. */
  33306. -_ACEOF
  33307. -cat confdefs.h >>conftest.$ac_ext
  33308. -cat >>conftest.$ac_ext <<_ACEOF
  33309. -/* end confdefs.h. */
  33310. -#include <string.h>
  33311. +$as_echo "#define HAVE_SOFT_FLOAT \"1\"" >>confdefs.h
  33312. -_ACEOF
  33313. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33314. - $EGREP "memchr" >/dev/null 2>&1; then
  33315. - :
  33316. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  33317. +$as_echo "yes" >&6; }
  33318. else
  33319. - ac_cv_header_stdc=no
  33320. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33321. +$as_echo "no" >&6; }
  33322. fi
  33323. -rm -f conftest*
  33324. +ALSA_DEPLIBS=""
  33325. +if test "$softfloat" != "yes"; then
  33326. + ALSA_DEPLIBS="-lm"
  33327. fi
  33328. -if test $ac_cv_header_stdc = yes; then
  33329. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  33330. - cat >conftest.$ac_ext <<_ACEOF
  33331. -/* confdefs.h. */
  33332. -_ACEOF
  33333. -cat confdefs.h >>conftest.$ac_ext
  33334. -cat >>conftest.$ac_ext <<_ACEOF
  33335. -/* end confdefs.h. */
  33336. -#include <stdlib.h>
  33337. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdl" >&5
  33338. +$as_echo_n "checking for libdl... " >&6; }
  33339. -_ACEOF
  33340. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33341. - $EGREP "free" >/dev/null 2>&1; then
  33342. - :
  33343. +# Check whether --with-libdl was given.
  33344. +if test "${with_libdl+set}" = set; then :
  33345. + withval=$with_libdl; have_libdl="$withval"
  33346. else
  33347. - ac_cv_header_stdc=no
  33348. -fi
  33349. -rm -f conftest*
  33350. -
  33351. + have_libdl="yes"
  33352. fi
  33353. -if test $ac_cv_header_stdc = yes; then
  33354. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  33355. - if test "$cross_compiling" = yes; then
  33356. - :
  33357. +if test "$have_libdl" = "yes"; then
  33358. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
  33359. +$as_echo_n "checking for dlsym in -ldl... " >&6; }
  33360. +if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
  33361. + $as_echo_n "(cached) " >&6
  33362. else
  33363. - cat >conftest.$ac_ext <<_ACEOF
  33364. -/* confdefs.h. */
  33365. -_ACEOF
  33366. -cat confdefs.h >>conftest.$ac_ext
  33367. -cat >>conftest.$ac_ext <<_ACEOF
  33368. + ac_check_lib_save_LIBS=$LIBS
  33369. +LIBS="-ldl $LIBS"
  33370. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33371. /* end confdefs.h. */
  33372. -#include <ctype.h>
  33373. -#include <stdlib.h>
  33374. -#if ((' ' & 0x0FF) == 0x020)
  33375. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  33376. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  33377. -#else
  33378. -# define ISLOWER(c) \
  33379. - (('a' <= (c) && (c) <= 'i') \
  33380. - || ('j' <= (c) && (c) <= 'r') \
  33381. - || ('s' <= (c) && (c) <= 'z'))
  33382. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  33383. -#endif
  33384. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  33385. +/* Override any GCC internal prototype to avoid an error.
  33386. + Use char because int might match the return type of a GCC
  33387. + builtin and then its argument prototype would still apply. */
  33388. +#ifdef __cplusplus
  33389. +extern "C"
  33390. +#endif
  33391. +char dlsym ();
  33392. int
  33393. main ()
  33394. {
  33395. - int i;
  33396. - for (i = 0; i < 256; i++)
  33397. - if (XOR (islower (i), ISLOWER (i))
  33398. - || toupper (i) != TOUPPER (i))
  33399. - return 2;
  33400. +return dlsym ();
  33401. + ;
  33402. return 0;
  33403. }
  33404. _ACEOF
  33405. -rm -f conftest$ac_exeext
  33406. -if { (ac_try="$ac_link"
  33407. -case "(($ac_try" in
  33408. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33409. - *) ac_try_echo=$ac_try;;
  33410. -esac
  33411. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33412. - (eval "$ac_link") 2>&5
  33413. - ac_status=$?
  33414. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33415. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  33416. - { (case "(($ac_try" in
  33417. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33418. - *) ac_try_echo=$ac_try;;
  33419. -esac
  33420. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33421. - (eval "$ac_try") 2>&5
  33422. - ac_status=$?
  33423. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33424. - (exit $ac_status); }; }; then
  33425. - :
  33426. +if ac_fn_c_try_link "$LINENO"; then :
  33427. + ac_cv_lib_dl_dlsym=yes
  33428. else
  33429. - echo "$as_me: program exited with status $ac_status" >&5
  33430. -echo "$as_me: failed program was:" >&5
  33431. -sed 's/^/| /' conftest.$ac_ext >&5
  33432. -
  33433. -( exit $ac_status )
  33434. -ac_cv_header_stdc=no
  33435. + ac_cv_lib_dl_dlsym=no
  33436. +fi
  33437. +rm -f core conftest.err conftest.$ac_objext \
  33438. + conftest$ac_exeext conftest.$ac_ext
  33439. +LIBS=$ac_check_lib_save_LIBS
  33440. fi
  33441. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  33442. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
  33443. +$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
  33444. +if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
  33445. + HAVE_LIBDL="yes"
  33446. fi
  33447. + if test "$HAVE_LIBDL" = "yes" ; then
  33448. + ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
  33449. +
  33450. +$as_echo "#define HAVE_LIBDL 1" >>confdefs.h
  33451. + fi
  33452. +else
  33453. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33454. +$as_echo "no" >&6; }
  33455. fi
  33456. + if test "$HAVE_LIBDL"="yes"; then
  33457. + BUILD_MODULES_TRUE=
  33458. + BUILD_MODULES_FALSE='#'
  33459. +else
  33460. + BUILD_MODULES_TRUE='#'
  33461. + BUILD_MODULES_FALSE=
  33462. fi
  33463. -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  33464. -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  33465. -if test $ac_cv_header_stdc = yes; then
  33466. -
  33467. -cat >>confdefs.h <<\_ACEOF
  33468. -#define STDC_HEADERS 1
  33469. -_ACEOF
  33470. -fi
  33471. -ac_config_headers="$ac_config_headers include/config.h"
  33472. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread" >&5
  33473. +$as_echo_n "checking for pthread... " >&6; }
  33474. +# Check whether --with-pthread was given.
  33475. +if test "${with_pthread+set}" = set; then :
  33476. + withval=$with_pthread; have_pthread="$withval"
  33477. +else
  33478. + have_pthread="yes"
  33479. +fi
  33480. -{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  33481. -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  33482. -if test "${ac_cv_c_const+set}" = set; then
  33483. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33484. +if test "$have_pthread" = "yes"; then
  33485. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
  33486. +$as_echo_n "checking for pthread_join in -lpthread... " >&6; }
  33487. +if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then :
  33488. + $as_echo_n "(cached) " >&6
  33489. else
  33490. - cat >conftest.$ac_ext <<_ACEOF
  33491. -/* confdefs.h. */
  33492. -_ACEOF
  33493. -cat confdefs.h >>conftest.$ac_ext
  33494. -cat >>conftest.$ac_ext <<_ACEOF
  33495. + ac_check_lib_save_LIBS=$LIBS
  33496. +LIBS="-lpthread $LIBS"
  33497. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33498. /* end confdefs.h. */
  33499. +/* Override any GCC internal prototype to avoid an error.
  33500. + Use char because int might match the return type of a GCC
  33501. + builtin and then its argument prototype would still apply. */
  33502. +#ifdef __cplusplus
  33503. +extern "C"
  33504. +#endif
  33505. +char pthread_join ();
  33506. int
  33507. main ()
  33508. {
  33509. -/* FIXME: Include the comments suggested by Paul. */
  33510. -#ifndef __cplusplus
  33511. - /* Ultrix mips cc rejects this. */
  33512. - typedef int charset[2];
  33513. - const charset x;
  33514. - /* SunOS 4.1.1 cc rejects this. */
  33515. - char const *const *ccp;
  33516. - char **p;
  33517. - /* NEC SVR4.0.2 mips cc rejects this. */
  33518. - struct point {int x, y;};
  33519. - static struct point const zero = {0,0};
  33520. - /* AIX XL C 1.02.0.0 rejects this.
  33521. - It does not let you subtract one const X* pointer from another in
  33522. - an arm of an if-expression whose if-part is not a constant
  33523. - expression */
  33524. - const char *g = "string";
  33525. - ccp = &g + (g ? g-g : 0);
  33526. - /* HPUX 7.0 cc rejects these. */
  33527. - ++ccp;
  33528. - p = (char**) ccp;
  33529. - ccp = (char const *const *) p;
  33530. - { /* SCO 3.2v4 cc rejects this. */
  33531. - char *t;
  33532. - char const *s = 0 ? (char *) 0 : (char const *) 0;
  33533. -
  33534. - *t++ = 0;
  33535. - if (s) return 0;
  33536. - }
  33537. - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  33538. - int x[] = {25, 17};
  33539. - const int *foo = &x[0];
  33540. - ++foo;
  33541. - }
  33542. - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  33543. - typedef const int *iptr;
  33544. - iptr p = 0;
  33545. - ++p;
  33546. - }
  33547. - { /* AIX XL C 1.02.0.0 rejects this saying
  33548. - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  33549. - struct s { int j; const int *ap[3]; };
  33550. - struct s *b; b->j = 5;
  33551. - }
  33552. - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  33553. - const int foo = 10;
  33554. - if (!foo) return 0;
  33555. - }
  33556. - return !x[0] && !zero.x;
  33557. -#endif
  33558. -
  33559. +return pthread_join ();
  33560. ;
  33561. return 0;
  33562. }
  33563. _ACEOF
  33564. -rm -f conftest.$ac_objext
  33565. -if { (ac_try="$ac_compile"
  33566. -case "(($ac_try" in
  33567. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33568. - *) ac_try_echo=$ac_try;;
  33569. -esac
  33570. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33571. - (eval "$ac_compile") 2>conftest.er1
  33572. - ac_status=$?
  33573. - grep -v '^ *+' conftest.er1 >conftest.err
  33574. - rm -f conftest.er1
  33575. - cat conftest.err >&5
  33576. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33577. - (exit $ac_status); } &&
  33578. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  33579. - { (case "(($ac_try" in
  33580. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33581. - *) ac_try_echo=$ac_try;;
  33582. -esac
  33583. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33584. - (eval "$ac_try") 2>&5
  33585. - ac_status=$?
  33586. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33587. - (exit $ac_status); }; } &&
  33588. - { ac_try='test -s conftest.$ac_objext'
  33589. - { (case "(($ac_try" in
  33590. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33591. - *) ac_try_echo=$ac_try;;
  33592. -esac
  33593. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33594. - (eval "$ac_try") 2>&5
  33595. - ac_status=$?
  33596. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33597. - (exit $ac_status); }; }; then
  33598. - ac_cv_c_const=yes
  33599. +if ac_fn_c_try_link "$LINENO"; then :
  33600. + ac_cv_lib_pthread_pthread_join=yes
  33601. else
  33602. - echo "$as_me: failed program was:" >&5
  33603. -sed 's/^/| /' conftest.$ac_ext >&5
  33604. -
  33605. - ac_cv_c_const=no
  33606. + ac_cv_lib_pthread_pthread_join=no
  33607. fi
  33608. -
  33609. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33610. +rm -f core conftest.err conftest.$ac_objext \
  33611. + conftest$ac_exeext conftest.$ac_ext
  33612. +LIBS=$ac_check_lib_save_LIBS
  33613. fi
  33614. -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  33615. -echo "${ECHO_T}$ac_cv_c_const" >&6; }
  33616. -if test $ac_cv_c_const = no; then
  33617. -
  33618. -cat >>confdefs.h <<\_ACEOF
  33619. -#define const
  33620. -_ACEOF
  33621. -
  33622. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
  33623. +$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
  33624. +if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then :
  33625. + HAVE_LIBPTHREAD="yes"
  33626. fi
  33627. -{ echo "$as_me:$LINENO: checking for inline" >&5
  33628. -echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
  33629. -if test "${ac_cv_c_inline+set}" = set; then
  33630. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33631. -else
  33632. - ac_cv_c_inline=no
  33633. -for ac_kw in inline __inline__ __inline; do
  33634. - cat >conftest.$ac_ext <<_ACEOF
  33635. -/* confdefs.h. */
  33636. -_ACEOF
  33637. -cat confdefs.h >>conftest.$ac_ext
  33638. -cat >>conftest.$ac_ext <<_ACEOF
  33639. -/* end confdefs.h. */
  33640. -#ifndef __cplusplus
  33641. -typedef int foo_t;
  33642. -static $ac_kw foo_t static_foo () {return 0; }
  33643. -$ac_kw foo_t foo () {return 0; }
  33644. -#endif
  33645. -
  33646. -_ACEOF
  33647. -rm -f conftest.$ac_objext
  33648. -if { (ac_try="$ac_compile"
  33649. -case "(($ac_try" in
  33650. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33651. - *) ac_try_echo=$ac_try;;
  33652. -esac
  33653. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33654. - (eval "$ac_compile") 2>conftest.er1
  33655. - ac_status=$?
  33656. - grep -v '^ *+' conftest.er1 >conftest.err
  33657. - rm -f conftest.er1
  33658. - cat conftest.err >&5
  33659. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33660. - (exit $ac_status); } &&
  33661. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  33662. - { (case "(($ac_try" in
  33663. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33664. - *) ac_try_echo=$ac_try;;
  33665. -esac
  33666. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33667. - (eval "$ac_try") 2>&5
  33668. - ac_status=$?
  33669. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33670. - (exit $ac_status); }; } &&
  33671. - { ac_try='test -s conftest.$ac_objext'
  33672. - { (case "(($ac_try" in
  33673. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33674. - *) ac_try_echo=$ac_try;;
  33675. -esac
  33676. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33677. - (eval "$ac_try") 2>&5
  33678. - ac_status=$?
  33679. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33680. - (exit $ac_status); }; }; then
  33681. - ac_cv_c_inline=$ac_kw
  33682. -else
  33683. - echo "$as_me: failed program was:" >&5
  33684. -sed 's/^/| /' conftest.$ac_ext >&5
  33685. + if test "$HAVE_LIBPTHREAD" = "yes"; then
  33686. + ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread"
  33687. +$as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
  33688. + fi
  33689. +else
  33690. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33691. +$as_echo "no" >&6; }
  33692. fi
  33693. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33694. - test "$ac_cv_c_inline" != no && break
  33695. -done
  33696. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for librt" >&5
  33697. +$as_echo_n "checking for librt... " >&6; }
  33698. +# Check whether --with-librt was given.
  33699. +if test "${with_librt+set}" = set; then :
  33700. + withval=$with_librt; have_librt="$withval"
  33701. +else
  33702. + have_librt="yes"
  33703. fi
  33704. -{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
  33705. -echo "${ECHO_T}$ac_cv_c_inline" >&6; }
  33706. -
  33707. -case $ac_cv_c_inline in
  33708. - inline | yes) ;;
  33709. - *)
  33710. - case $ac_cv_c_inline in
  33711. - no) ac_val=;;
  33712. - *) ac_val=$ac_cv_c_inline;;
  33713. - esac
  33714. - cat >>confdefs.h <<_ACEOF
  33715. -#ifndef __cplusplus
  33716. -#define inline $ac_val
  33717. -#endif
  33718. -_ACEOF
  33719. - ;;
  33720. -esac
  33721. -
  33722. -{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  33723. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  33724. -if test "${ac_cv_header_time+set}" = set; then
  33725. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33726. +if test "$have_librt" = "yes"; then
  33727. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
  33728. +$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
  33729. +if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
  33730. + $as_echo_n "(cached) " >&6
  33731. else
  33732. - cat >conftest.$ac_ext <<_ACEOF
  33733. -/* confdefs.h. */
  33734. -_ACEOF
  33735. -cat confdefs.h >>conftest.$ac_ext
  33736. -cat >>conftest.$ac_ext <<_ACEOF
  33737. + ac_check_lib_save_LIBS=$LIBS
  33738. +LIBS="-lrt $LIBS"
  33739. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33740. /* end confdefs.h. */
  33741. -#include <sys/types.h>
  33742. -#include <sys/time.h>
  33743. -#include <time.h>
  33744. +/* Override any GCC internal prototype to avoid an error.
  33745. + Use char because int might match the return type of a GCC
  33746. + builtin and then its argument prototype would still apply. */
  33747. +#ifdef __cplusplus
  33748. +extern "C"
  33749. +#endif
  33750. +char clock_gettime ();
  33751. int
  33752. main ()
  33753. {
  33754. -if ((struct tm *) 0)
  33755. -return 0;
  33756. +return clock_gettime ();
  33757. ;
  33758. return 0;
  33759. }
  33760. _ACEOF
  33761. -rm -f conftest.$ac_objext
  33762. -if { (ac_try="$ac_compile"
  33763. -case "(($ac_try" in
  33764. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33765. - *) ac_try_echo=$ac_try;;
  33766. -esac
  33767. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33768. - (eval "$ac_compile") 2>conftest.er1
  33769. - ac_status=$?
  33770. - grep -v '^ *+' conftest.er1 >conftest.err
  33771. - rm -f conftest.er1
  33772. - cat conftest.err >&5
  33773. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33774. - (exit $ac_status); } &&
  33775. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  33776. - { (case "(($ac_try" in
  33777. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33778. - *) ac_try_echo=$ac_try;;
  33779. -esac
  33780. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33781. - (eval "$ac_try") 2>&5
  33782. - ac_status=$?
  33783. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33784. - (exit $ac_status); }; } &&
  33785. - { ac_try='test -s conftest.$ac_objext'
  33786. - { (case "(($ac_try" in
  33787. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33788. - *) ac_try_echo=$ac_try;;
  33789. -esac
  33790. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  33791. - (eval "$ac_try") 2>&5
  33792. - ac_status=$?
  33793. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  33794. - (exit $ac_status); }; }; then
  33795. - ac_cv_header_time=yes
  33796. +if ac_fn_c_try_link "$LINENO"; then :
  33797. + ac_cv_lib_rt_clock_gettime=yes
  33798. else
  33799. - echo "$as_me: failed program was:" >&5
  33800. -sed 's/^/| /' conftest.$ac_ext >&5
  33801. -
  33802. - ac_cv_header_time=no
  33803. + ac_cv_lib_rt_clock_gettime=no
  33804. fi
  33805. -
  33806. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  33807. +rm -f core conftest.err conftest.$ac_objext \
  33808. + conftest$ac_exeext conftest.$ac_ext
  33809. +LIBS=$ac_check_lib_save_LIBS
  33810. +fi
  33811. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
  33812. +$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
  33813. +if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
  33814. + HAVE_LIBRT="yes"
  33815. fi
  33816. -{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  33817. -echo "${ECHO_T}$ac_cv_header_time" >&6; }
  33818. -if test $ac_cv_header_time = yes; then
  33819. -cat >>confdefs.h <<\_ACEOF
  33820. -#define TIME_WITH_SYS_TIME 1
  33821. -_ACEOF
  33822. + if test "$HAVE_LIBRT" = "yes" ; then
  33823. + ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt"
  33824. -fi
  33825. +$as_echo "#define HAVE_LIBRT 1" >>confdefs.h
  33826. -if test $ac_cv_c_compiler_gnu = yes; then
  33827. - { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  33828. -echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
  33829. -if test "${ac_cv_prog_gcc_traditional+set}" = set; then
  33830. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33831. -else
  33832. - ac_pattern="Autoconf.*'x'"
  33833. - cat >conftest.$ac_ext <<_ACEOF
  33834. -/* confdefs.h. */
  33835. -_ACEOF
  33836. -cat confdefs.h >>conftest.$ac_ext
  33837. -cat >>conftest.$ac_ext <<_ACEOF
  33838. -/* end confdefs.h. */
  33839. -#include <sgtty.h>
  33840. -Autoconf TIOCGETP
  33841. -_ACEOF
  33842. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33843. - $EGREP "$ac_pattern" >/dev/null 2>&1; then
  33844. - ac_cv_prog_gcc_traditional=yes
  33845. +$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  33846. +
  33847. + fi
  33848. else
  33849. - ac_cv_prog_gcc_traditional=no
  33850. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33851. +$as_echo "no" >&6; }
  33852. fi
  33853. -rm -f conftest*
  33854. - if test $ac_cv_prog_gcc_traditional = no; then
  33855. - cat >conftest.$ac_ext <<_ACEOF
  33856. -/* confdefs.h. */
  33857. -_ACEOF
  33858. -cat confdefs.h >>conftest.$ac_ext
  33859. -cat >>conftest.$ac_ext <<_ACEOF
  33860. -/* end confdefs.h. */
  33861. -#include <termio.h>
  33862. -Autoconf TCGETA
  33863. +
  33864. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for architecture" >&5
  33865. +$as_echo_n "checking for architecture... " >&6; }
  33866. +case "$host" in
  33867. +i?86*)
  33868. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86" >&5
  33869. +$as_echo "x86" >&6; }
  33870. + ;;
  33871. +x86_64*)
  33872. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86" >&5
  33873. +$as_echo "x86" >&6; }
  33874. + ;;
  33875. +alpha*)
  33876. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: alpha" >&5
  33877. +$as_echo "alpha" >&6; }
  33878. + ;;
  33879. +powerpc*|ppc*)
  33880. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ppc" >&5
  33881. +$as_echo "ppc" >&6; }
  33882. + CPPFLAGS="$CPPFLAGS -D__ppc__"
  33883. + ;;
  33884. +ia64*)
  33885. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ia64" >&5
  33886. +$as_echo "ia64" >&6; }
  33887. + CPPFLAGS="$CPPFLAGS -D__ia64__"
  33888. + ;;
  33889. +mips*)
  33890. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: mips" >&5
  33891. +$as_echo "mips" >&6; }
  33892. + CPPFLAGS="$CPPFLAGS -D__mips__"
  33893. + ;;
  33894. +arm*)
  33895. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: arm" >&5
  33896. +$as_echo "arm" >&6; }
  33897. + CPPFLAGS="$CPPFLAGS -D__arm__"
  33898. + ;;
  33899. +*)
  33900. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
  33901. +$as_echo "$host_cpu" >&6; }
  33902. + echo "No atomic operations supported.."
  33903. + ;;
  33904. +esac
  33905. +
  33906. +for ac_header in wordexp.h
  33907. +do :
  33908. + ac_fn_c_check_header_mongrel "$LINENO" "wordexp.h" "ac_cv_header_wordexp_h" "$ac_includes_default"
  33909. +if test "x$ac_cv_header_wordexp_h" = x""yes; then :
  33910. + cat >>confdefs.h <<_ACEOF
  33911. +#define HAVE_WORDEXP_H 1
  33912. _ACEOF
  33913. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33914. - $EGREP "$ac_pattern" >/dev/null 2>&1; then
  33915. - ac_cv_prog_gcc_traditional=yes
  33916. -fi
  33917. -rm -f conftest*
  33918. - fi
  33919. -fi
  33920. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  33921. -echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
  33922. - if test $ac_cv_prog_gcc_traditional = yes; then
  33923. - CC="$CC -traditional"
  33924. - fi
  33925. fi
  33926. -{ echo "$as_me:$LINENO: checking for hsearch_r" >&5
  33927. -echo $ECHO_N "checking for hsearch_r... $ECHO_C" >&6; }
  33928. -if test "${ac_cv_func_hsearch_r+set}" = set; then
  33929. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33930. -else
  33931. - cat >conftest.$ac_ext <<_ACEOF
  33932. -/* confdefs.h. */
  33933. -_ACEOF
  33934. -cat confdefs.h >>conftest.$ac_ext
  33935. -cat >>conftest.$ac_ext <<_ACEOF
  33936. -/* end confdefs.h. */
  33937. -/* Define hsearch_r to an innocuous variant, in case <limits.h> declares hsearch_r.
  33938. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  33939. -#define hsearch_r innocuous_hsearch_r
  33940. +done
  33941. -/* System header to define __stub macros and hopefully few prototypes,
  33942. - which can conflict with char hsearch_r (); below.
  33943. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  33944. - <limits.h> exists even on freestanding compilers. */
  33945. -#ifdef __STDC__
  33946. -# include <limits.h>
  33947. -#else
  33948. -# include <assert.h>
  33949. -#endif
  33950. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for resmgr support" >&5
  33951. +$as_echo_n "checking for resmgr support... " >&6; }
  33952. +# Check whether --enable-resmgr was given.
  33953. +if test "${enable_resmgr+set}" = set; then :
  33954. + enableval=$enable_resmgr; resmgr="$enableval"
  33955. +else
  33956. + resmgr="no"
  33957. +fi
  33958. -#undef hsearch_r
  33959. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $resmgr" >&5
  33960. +$as_echo "$resmgr" >&6; }
  33961. +if test "$resmgr" = "yes"; then
  33962. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rsm_open_device in -lresmgr" >&5
  33963. +$as_echo_n "checking for rsm_open_device in -lresmgr... " >&6; }
  33964. +if test "${ac_cv_lib_resmgr_rsm_open_device+set}" = set; then :
  33965. + $as_echo_n "(cached) " >&6
  33966. +else
  33967. + ac_check_lib_save_LIBS=$LIBS
  33968. +LIBS="-lresmgr $LIBS"
  33969. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33970. +/* end confdefs.h. */
  33971. /* Override any GCC internal prototype to avoid an error.
  33972. Use char because int might match the return type of a GCC
  33973. @@ -20495,3576 +11545,3177 @@
  33974. #ifdef __cplusplus
  33975. extern "C"
  33976. #endif
  33977. -char hsearch_r ();
  33978. -/* The GNU C library defines this for functions which it implements
  33979. - to always fail with ENOSYS. Some functions are actually named
  33980. - something starting with __ and the normal name is an alias. */
  33981. -#if defined __stub_hsearch_r || defined __stub___hsearch_r
  33982. -choke me
  33983. -#endif
  33984. -
  33985. +char rsm_open_device ();
  33986. int
  33987. main ()
  33988. {
  33989. -return hsearch_r ();
  33990. +return rsm_open_device ();
  33991. ;
  33992. return 0;
  33993. }
  33994. _ACEOF
  33995. -rm -f conftest.$ac_objext conftest$ac_exeext
  33996. -if { (ac_try="$ac_link"
  33997. -case "(($ac_try" in
  33998. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  33999. - *) ac_try_echo=$ac_try;;
  34000. -esac
  34001. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34002. - (eval "$ac_link") 2>conftest.er1
  34003. - ac_status=$?
  34004. - grep -v '^ *+' conftest.er1 >conftest.err
  34005. - rm -f conftest.er1
  34006. - cat conftest.err >&5
  34007. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34008. - (exit $ac_status); } &&
  34009. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  34010. - { (case "(($ac_try" in
  34011. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34012. - *) ac_try_echo=$ac_try;;
  34013. -esac
  34014. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34015. - (eval "$ac_try") 2>&5
  34016. - ac_status=$?
  34017. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34018. - (exit $ac_status); }; } &&
  34019. - { ac_try='test -s conftest$ac_exeext'
  34020. - { (case "(($ac_try" in
  34021. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34022. - *) ac_try_echo=$ac_try;;
  34023. -esac
  34024. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34025. - (eval "$ac_try") 2>&5
  34026. - ac_status=$?
  34027. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34028. - (exit $ac_status); }; }; then
  34029. - ac_cv_func_hsearch_r=yes
  34030. +if ac_fn_c_try_link "$LINENO"; then :
  34031. + ac_cv_lib_resmgr_rsm_open_device=yes
  34032. else
  34033. - echo "$as_me: failed program was:" >&5
  34034. -sed 's/^/| /' conftest.$ac_ext >&5
  34035. -
  34036. - ac_cv_func_hsearch_r=no
  34037. + ac_cv_lib_resmgr_rsm_open_device=no
  34038. fi
  34039. -
  34040. rm -f core conftest.err conftest.$ac_objext \
  34041. - conftest$ac_exeext conftest.$ac_ext
  34042. + conftest$ac_exeext conftest.$ac_ext
  34043. +LIBS=$ac_check_lib_save_LIBS
  34044. fi
  34045. -{ echo "$as_me:$LINENO: result: $ac_cv_func_hsearch_r" >&5
  34046. -echo "${ECHO_T}$ac_cv_func_hsearch_r" >&6; }
  34047. -if test $ac_cv_func_hsearch_r = yes; then
  34048. - HAVE_HSEARCH_R=yes
  34049. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resmgr_rsm_open_device" >&5
  34050. +$as_echo "$ac_cv_lib_resmgr_rsm_open_device" >&6; }
  34051. +if test "x$ac_cv_lib_resmgr_rsm_open_device" = x""yes; then :
  34052. + cat >>confdefs.h <<_ACEOF
  34053. +#define HAVE_LIBRESMGR 1
  34054. +_ACEOF
  34055. +
  34056. + LIBS="-lresmgr $LIBS"
  34057. +
  34058. +else
  34059. + as_fn_error "Cannot find libresmgr" "$LINENO" 5
  34060. fi
  34061. +$as_echo "#define SUPPORT_RESMGR \"1\"" >>confdefs.h
  34062. -if test "x$HAVE_HSEARCH_R" != xyes; then
  34063. - ALSA_HSEARCH_R_TRUE=
  34064. - ALSA_HSEARCH_R_FALSE='#'
  34065. +fi
  34066. +
  34067. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aload* support" >&5
  34068. +$as_echo_n "checking for aload* support... " >&6; }
  34069. +# Check whether --enable-aload was given.
  34070. +if test "${enable_aload+set}" = set; then :
  34071. + enableval=$enable_aload; aload="$enableval"
  34072. else
  34073. - ALSA_HSEARCH_R_TRUE='#'
  34074. - ALSA_HSEARCH_R_FALSE=
  34075. + aload="yes"
  34076. fi
  34077. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload" >&5
  34078. +$as_echo "$aload" >&6; }
  34079. +if test "$aload" = "yes"; then
  34080. +
  34081. +$as_echo "#define SUPPORT_ALOAD \"1\"" >>confdefs.h
  34082. +fi
  34083. -{ echo "$as_me:$LINENO: checking for library version" >&5
  34084. -echo $ECHO_N "checking for library version... $ECHO_C" >&6; }
  34085. -SND_LIB_VERSION=$VERSION
  34086. -echo $VERSION > $srcdir/version
  34087. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA device file directory" >&5
  34088. +$as_echo_n "checking for ALSA device file directory... " >&6; }
  34089. +
  34090. +# Check whether --with-alsa-devdir was given.
  34091. +if test "${with_alsa_devdir+set}" = set; then :
  34092. + withval=$with_alsa_devdir; alsa_dev_dir="$withval"
  34093. +else
  34094. + alsa_dev_dir="/dev/snd"
  34095. +fi
  34096. +
  34097. +if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then
  34098. + alsa_dev_dir="$alsa_dev_dir/"
  34099. +fi
  34100. cat >>confdefs.h <<_ACEOF
  34101. -#define VERSION "$SND_LIB_VERSION"
  34102. +#define ALSA_DEVICE_DIRECTORY "$alsa_dev_dir"
  34103. _ACEOF
  34104. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $alsa_dev_dir" >&5
  34105. +$as_echo "$alsa_dev_dir" >&6; }
  34106. -SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1`
  34107. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aload* device file directory" >&5
  34108. +$as_echo_n "checking for aload* device file directory... " >&6; }
  34109. -SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2`
  34110. +# Check whether --with-aload-devdir was given.
  34111. +if test "${with_aload_devdir+set}" = set; then :
  34112. + withval=$with_aload_devdir; aload_dev_dir="$withval"
  34113. +else
  34114. + aload_dev_dir="/dev"
  34115. +fi
  34116. -SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\(.*\)$/\1/g'`
  34117. +if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then
  34118. + aload_dev_dir="$aload_dev_dir/"
  34119. +fi
  34120. -SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\2/g'`
  34121. -SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\3/g'`
  34122. -case "$SND_LIB_EXTRASTR" in
  34123. - pre) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 00000` ;;
  34124. - alpha) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 10000` ;;
  34125. - beta) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 20000` ;;
  34126. - rc) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 100000` ;;
  34127. - *) SND_LIB_EXTRAVER=1000000 ;;
  34128. -esac
  34129. -{ echo "$as_me:$LINENO: result: major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&5
  34130. -echo "${ECHO_T}major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&6; }
  34131. +cat >>confdefs.h <<_ACEOF
  34132. +#define ALOAD_DEVICE_DIRECTORY "$aload_dev_dir"
  34133. +_ACEOF
  34134. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $aload_dev_dir" >&5
  34135. +$as_echo "$aload_dev_dir" >&6; }
  34136. +# Check whether --enable-mixer was given.
  34137. +if test "${enable_mixer+set}" = set; then :
  34138. + enableval=$enable_mixer; build_mixer="$enableval"
  34139. +else
  34140. + build_mixer="yes"
  34141. +fi
  34142. +# Check whether --enable-pcm was given.
  34143. +if test "${enable_pcm+set}" = set; then :
  34144. + enableval=$enable_pcm; build_pcm="$enableval"
  34145. +else
  34146. + build_pcm="yes"
  34147. +fi
  34148. -test "x$prefix" = xNONE && prefix=$ac_default_prefix
  34149. +# Check whether --enable-rawmidi was given.
  34150. +if test "${enable_rawmidi+set}" = set; then :
  34151. + enableval=$enable_rawmidi; build_rawmidi="$enableval"
  34152. +else
  34153. + build_rawmidi="yes"
  34154. +fi
  34155. +# Check whether --enable-hwdep was given.
  34156. +if test "${enable_hwdep+set}" = set; then :
  34157. + enableval=$enable_hwdep; build_hwdep="$enableval"
  34158. +else
  34159. + build_hwdep="yes"
  34160. +fi
  34161. -# Check whether --with-configdir was given.
  34162. -if test "${with_configdir+set}" = set; then
  34163. - withval=$with_configdir; confdir="$withval"
  34164. +# Check whether --enable-seq was given.
  34165. +if test "${enable_seq+set}" = set; then :
  34166. + enableval=$enable_seq; build_seq="$enableval"
  34167. else
  34168. - confdir=""
  34169. + build_seq="yes"
  34170. fi
  34171. -if test -z "$confdir"; then
  34172. - eval dir="$datadir"
  34173. - case "$dir" in
  34174. - /*) ;;
  34175. - *) dir="$prefix/share"
  34176. - esac
  34177. - confdir="$dir/alsa"
  34178. +# Check whether --enable-alisp was given.
  34179. +if test "${enable_alisp+set}" = set; then :
  34180. + enableval=$enable_alisp; build_alisp="$enableval"
  34181. +else
  34182. + build_alisp="yes"
  34183. +fi
  34184. +
  34185. +test "$softfloat" = "yes" && build_alisp="no"
  34186. +# Check whether --enable-old-symbols was given.
  34187. +if test "${enable_old_symbols+set}" = set; then :
  34188. + enableval=$enable_old_symbols; keep_old_symbols="$enableval"
  34189. +else
  34190. + keep_old_symbols="yes"
  34191. fi
  34192. -ALSA_CONFIG_DIR="$confdir"
  34193. -
  34194. -cat >>confdefs.h <<_ACEOF
  34195. -#define ALSA_CONFIG_DIR "$confdir"
  34196. -_ACEOF
  34197. + if test x$keep_old_symbols = xyes; then
  34198. + KEEP_OLD_SYMBOLS_TRUE=
  34199. + KEEP_OLD_SYMBOLS_FALSE='#'
  34200. +else
  34201. + KEEP_OLD_SYMBOLS_TRUE='#'
  34202. + KEEP_OLD_SYMBOLS_FALSE=
  34203. +fi
  34204. -test "x$exec_prefix" = xNONE && exec_prefix=$prefix
  34205. +# Check whether --enable-python was given.
  34206. +if test "${enable_python+set}" = set; then :
  34207. + enableval=$enable_python; build_python="$enableval"
  34208. +else
  34209. + build_python="yes"
  34210. +fi
  34211. +PYTHON_LIBS=""
  34212. +PYTHON_INCLUDES=""
  34213. +if test "$build_python" = "yes"; then
  34214. -# Check whether --with-plugindir was given.
  34215. -if test "${with_plugindir+set}" = set; then
  34216. - withval=$with_plugindir; plugindir="$withval"
  34217. +# Check whether --with-pythonlibs was given.
  34218. +if test "${with_pythonlibs+set}" = set; then :
  34219. + withval=$with_pythonlibs; pythonlibs="$withval"
  34220. else
  34221. - plugindir=""
  34222. + pythonlibs=`python-config --libs`
  34223. fi
  34224. -if test -z "$plugindir"; then
  34225. - eval dir="$libdir"
  34226. - case "$dir" in
  34227. - /*) ;;
  34228. - *) dir="$dir"
  34229. - esac
  34230. - plugindir="$dir/$PACKAGE"
  34231. +
  34232. +# Check whether --with-pythonincludes was given.
  34233. +if test "${with_pythonincludes+set}" = set; then :
  34234. + withval=$with_pythonincludes; pythonincludes="$withval"
  34235. +else
  34236. + pythonincludes=`python-config --includes`
  34237. fi
  34238. -cat >>confdefs.h <<_ACEOF
  34239. -#define ALSA_PLUGIN_DIR "$plugindir"
  34240. -_ACEOF
  34241. + if test -z "$pythonlibs"; then
  34242. + echo "Unable to determine python libraries! Probably python-config is not"
  34243. + echo "available on this system. Please, use --with-pythonlibs and"
  34244. + echo "--with-pythonincludes options. Python components are disabled in this build."
  34245. + build_python="no"
  34246. + else
  34247. + PYTHON_LIBS="$pythonlibs"
  34248. + PYTHON_INCLUDES="$pythonincludes"
  34249. + fi
  34250. +fi
  34251. -ALSA_PLUGIN_DIR="$plugindir"
  34252. -{ echo "$as_me:$LINENO: checking for versioned symbols" >&5
  34253. -echo $ECHO_N "checking for versioned symbols... $ECHO_C" >&6; }
  34254. + if test x$build_mixer = xyes; then
  34255. + BUILD_MIXER_TRUE=
  34256. + BUILD_MIXER_FALSE='#'
  34257. +else
  34258. + BUILD_MIXER_TRUE='#'
  34259. + BUILD_MIXER_FALSE=
  34260. +fi
  34261. -# Check whether --with-versioned was given.
  34262. -if test "${with_versioned+set}" = set; then
  34263. - withval=$with_versioned; versioned="$withval"
  34264. + if test x$build_pcm = xyes; then
  34265. + BUILD_PCM_TRUE=
  34266. + BUILD_PCM_FALSE='#'
  34267. else
  34268. - versioned="yes"
  34269. + BUILD_PCM_TRUE='#'
  34270. + BUILD_PCM_FALSE=
  34271. fi
  34272. -if test "$versioned" = "yes"; then
  34273. - # it seems that GNU ld versions since 2.10 are not broken
  34274. - xres=`grep '^VERSION=' libtool | cut -d = -f 2 | cut -d \" -f 2`
  34275. - major=`echo $xres | cut -d . -f 1`
  34276. - minor=`echo $xres | cut -d . -f 2`
  34277. - pass=0
  34278. - if test $major -eq 1 -a $minor -gt 3; then
  34279. - pass=1
  34280. - else
  34281. - if test $major -gt 1; then
  34282. - pass=1
  34283. - fi
  34284. - fi
  34285. - if test $pass -eq 1; then
  34286. + if test x$build_rawmidi = xyes; then
  34287. + BUILD_RAWMIDI_TRUE=
  34288. + BUILD_RAWMIDI_FALSE='#'
  34289. +else
  34290. + BUILD_RAWMIDI_TRUE='#'
  34291. + BUILD_RAWMIDI_FALSE=
  34292. +fi
  34293. -cat >>confdefs.h <<\_ACEOF
  34294. -#define VERSIONED_SYMBOLS
  34295. -_ACEOF
  34296. + if test x$build_hwdep = xyes; then
  34297. + BUILD_HWDEP_TRUE=
  34298. + BUILD_HWDEP_FALSE='#'
  34299. +else
  34300. + BUILD_HWDEP_TRUE='#'
  34301. + BUILD_HWDEP_FALSE=
  34302. +fi
  34303. - { echo "$as_me:$LINENO: result: yes" >&5
  34304. -echo "${ECHO_T}yes" >&6; }
  34305. - else
  34306. - { echo "$as_me:$LINENO: result: broken libtool - use libtool v1.4+; no versions" >&5
  34307. -echo "${ECHO_T}broken libtool - use libtool v1.4+; no versions" >&6; }
  34308. - fi
  34309. + if test x$build_seq = xyes; then
  34310. + BUILD_SEQ_TRUE=
  34311. + BUILD_SEQ_FALSE='#'
  34312. else
  34313. - { echo "$as_me:$LINENO: result: no" >&5
  34314. -echo "${ECHO_T}no" >&6; }
  34315. + BUILD_SEQ_TRUE='#'
  34316. + BUILD_SEQ_FALSE=
  34317. fi
  34318. + if test x$build_alisp = xyes; then
  34319. + BUILD_ALISP_TRUE=
  34320. + BUILD_ALISP_FALSE='#'
  34321. +else
  34322. + BUILD_ALISP_TRUE='#'
  34323. + BUILD_ALISP_FALSE=
  34324. +fi
  34325. -if test x$versioned = xyes; then
  34326. - VERSIONED_SYMBOLS_TRUE=
  34327. - VERSIONED_SYMBOLS_FALSE='#'
  34328. + if test x$build_python = xyes; then
  34329. + BUILD_PYTHON_TRUE=
  34330. + BUILD_PYTHON_FALSE='#'
  34331. else
  34332. - VERSIONED_SYMBOLS_TRUE='#'
  34333. - VERSIONED_SYMBOLS_FALSE=
  34334. + BUILD_PYTHON_TRUE='#'
  34335. + BUILD_PYTHON_FALSE=
  34336. fi
  34337. -{ echo "$as_me:$LINENO: checking for symbolic-functions" >&5
  34338. -echo $ECHO_N "checking for symbolic-functions... $ECHO_C" >&6; }
  34339. -# Check whether --enable-symbolic-functions was given.
  34340. -if test "${enable_symbolic_functions+set}" = set; then
  34341. - enableval=$enable_symbolic_functions; symfuncs="$enableval"
  34342. -else
  34343. - symfuncs="no"
  34344. +if test "$build_mixer" = "yes"; then
  34345. +
  34346. +$as_echo "#define BUILD_MIXER \"1\"" >>confdefs.h
  34347. +
  34348. fi
  34349. +if test "$build_pcm" = "yes"; then
  34350. +
  34351. +$as_echo "#define BUILD_PCM \"1\"" >>confdefs.h
  34352. -if test "$symfuncs" = "yes"; then
  34353. - if ld --help | grep -q -- '-Bsymbolic-functions'; then
  34354. - { echo "$as_me:$LINENO: result: yes" >&5
  34355. -echo "${ECHO_T}yes" >&6; }
  34356. - else
  34357. - { echo "$as_me:$LINENO: result: not supported by ld" >&5
  34358. -echo "${ECHO_T}not supported by ld" >&6; }
  34359. - symfuncs="no"
  34360. - fi
  34361. -else
  34362. - { echo "$as_me:$LINENO: result: no" >&5
  34363. -echo "${ECHO_T}no" >&6; }
  34364. fi
  34365. +if test "$build_rawmidi" = "yes"; then
  34366. +$as_echo "#define BUILD_RAWMIDI \"1\"" >>confdefs.h
  34367. -if test x"$symfuncs" = xyes; then
  34368. - SYMBOLIC_FUNCTIONS_TRUE=
  34369. - SYMBOLIC_FUNCTIONS_FALSE='#'
  34370. -else
  34371. - SYMBOLIC_FUNCTIONS_TRUE='#'
  34372. - SYMBOLIC_FUNCTIONS_FALSE=
  34373. fi
  34374. +if test "$build_hwdep" = "yes"; then
  34375. +$as_echo "#define BUILD_HWDEP \"1\"" >>confdefs.h
  34376. -{ echo "$as_me:$LINENO: checking for custom symbol prefixes" >&5
  34377. -echo $ECHO_N "checking for custom symbol prefixes... $ECHO_C" >&6; }
  34378. -SYMBOL_PREFIX=` \
  34379. - echo "PREFIX=__USER_LABEL_PREFIX__" \
  34380. - | ${CPP-${CC-gcc} -E} - 2>&1 \
  34381. - | ${EGREP-grep} "^PREFIX=" \
  34382. - | ${SED-sed} "s:^PREFIX=::"`
  34383. +fi
  34384. +if test "$build_seq" = "yes"; then
  34385. -cat >>confdefs.h <<_ACEOF
  34386. -#define __SYMBOL_PREFIX "$SYMBOL_PREFIX"
  34387. -_ACEOF
  34388. +$as_echo "#define BUILD_SEQ \"1\"" >>confdefs.h
  34389. +fi
  34390. -{ echo "$as_me:$LINENO: result: $SYMBOL_PREFIX" >&5
  34391. -echo "${ECHO_T}$SYMBOL_PREFIX" >&6; }
  34392. -{ echo "$as_me:$LINENO: checking for debug" >&5
  34393. -echo $ECHO_N "checking for debug... $ECHO_C" >&6; }
  34394. +if test "$build_pcm" = "yes"; then
  34395. -# Check whether --with-debug was given.
  34396. -if test "${with_debug+set}" = set; then
  34397. - withval=$with_debug; debug="$withval"
  34398. +# Check whether --with-pcm-plugins was given.
  34399. +if test "${with_pcm_plugins+set}" = set; then :
  34400. + withval=$with_pcm_plugins; pcm_plugins="$withval"
  34401. else
  34402. - debug="yes"
  34403. + pcm_plugins="all"
  34404. fi
  34405. -if test "$debug" = "yes"; then
  34406. - { echo "$as_me:$LINENO: result: yes" >&5
  34407. -echo "${ECHO_T}yes" >&6; }
  34408. else
  34409. +pcm_plugins=""
  34410. +fi
  34411. -cat >>confdefs.h <<\_ACEOF
  34412. -#define NDEBUG
  34413. -_ACEOF
  34414. +PCM_PLUGIN_LIST="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul"
  34415. - { echo "$as_me:$LINENO: result: no" >&5
  34416. -echo "${ECHO_T}no" >&6; }
  34417. -fi
  34418. +build_pcm_plugin="no"
  34419. +for t in $PCM_PLUGIN_LIST; do
  34420. + eval build_pcm_$t="no"
  34421. +done
  34422. -if test "$debug" = "yes"; then
  34423. - { echo "$as_me:$LINENO: checking for debug assert" >&5
  34424. -echo $ECHO_N "checking for debug assert... $ECHO_C" >&6; }
  34425. - # Check whether --enable-debug-assert was given.
  34426. -if test "${enable_debug_assert+set}" = set; then
  34427. - enableval=$enable_debug_assert; debug_assert="$enableval"
  34428. -else
  34429. - debug_assert="no"
  34430. +pcm_plugins=`echo $pcm_plugins | sed 's/,/ /g'`
  34431. +for p in $pcm_plugins; do
  34432. + for t in $PCM_PLUGIN_LIST; do
  34433. + if test "$p" = "$t" -o "$p" = "all"; then
  34434. + eval build_pcm_$t="yes"
  34435. + build_pcm_plugin="yes"
  34436. + fi
  34437. + done
  34438. +done
  34439. +
  34440. +if test "$build_pcm_plug" = "yes"; then
  34441. + build_pcm_linear="yes"
  34442. + build_pcm_copy="yes"
  34443. fi
  34444. - if test "$debug_assert" = "yes"; then
  34445. - { echo "$as_me:$LINENO: result: yes" >&5
  34446. -echo "${ECHO_T}yes" >&6; }
  34447. +if test "$build_pcm_ioplug" = "yes"; then
  34448. + build_pcm_extplug="yes"
  34449. +fi
  34450. -cat >>confdefs.h <<\_ACEOF
  34451. -#define ALSA_DEBUG_ASSERT
  34452. -_ACEOF
  34453. +if test "$HAVE_LIBDL" != "yes"; then
  34454. + build_pcm_meter="no"
  34455. + build_pcm_ladspa="no"
  34456. + build_pcm_pcm_ioplug="no"
  34457. + build_pcm_pcm_extplug="no"
  34458. +fi
  34459. - else
  34460. - { echo "$as_me:$LINENO: result: no" >&5
  34461. -echo "${ECHO_T}no" >&6; }
  34462. - fi
  34463. +if test "$HAVE_LIBPTHREAD" != "yes"; then
  34464. + build_pcm_share="no"
  34465. fi
  34466. -{ echo "$as_me:$LINENO: checking for tmpdir" >&5
  34467. -echo $ECHO_N "checking for tmpdir... $ECHO_C" >&6; }
  34468. +if test "$softfloat" = "yes"; then
  34469. + build_pcm_lfloat="no"
  34470. + build_pcm_ladspa="no"
  34471. +fi
  34472. -# Check whether --with-tmpdir was given.
  34473. -if test "${with_tmpdir+set}" = set; then
  34474. - withval=$with_tmpdir; tmpdir="$withval"
  34475. + if test x$build_pcm_plugin = xyes; then
  34476. + BUILD_PCM_PLUGIN_TRUE=
  34477. + BUILD_PCM_PLUGIN_FALSE='#'
  34478. else
  34479. - tmpdir="/tmp"
  34480. + BUILD_PCM_PLUGIN_TRUE='#'
  34481. + BUILD_PCM_PLUGIN_FALSE=
  34482. fi
  34483. -{ echo "$as_me:$LINENO: result: $tmpdir" >&5
  34484. -echo "${ECHO_T}$tmpdir" >&6; }
  34485. + if test x$build_pcm_copy = xyes; then
  34486. + BUILD_PCM_PLUGIN_COPY_TRUE=
  34487. + BUILD_PCM_PLUGIN_COPY_FALSE='#'
  34488. +else
  34489. + BUILD_PCM_PLUGIN_COPY_TRUE='#'
  34490. + BUILD_PCM_PLUGIN_COPY_FALSE=
  34491. +fi
  34492. -cat >>confdefs.h <<_ACEOF
  34493. -#define TMPDIR "$tmpdir"
  34494. -_ACEOF
  34495. + if test x$build_pcm_linear = xyes; then
  34496. + BUILD_PCM_PLUGIN_LINEAR_TRUE=
  34497. + BUILD_PCM_PLUGIN_LINEAR_FALSE='#'
  34498. +else
  34499. + BUILD_PCM_PLUGIN_LINEAR_TRUE='#'
  34500. + BUILD_PCM_PLUGIN_LINEAR_FALSE=
  34501. +fi
  34502. + if test x$build_pcm_route = xyes; then
  34503. + BUILD_PCM_PLUGIN_ROUTE_TRUE=
  34504. + BUILD_PCM_PLUGIN_ROUTE_FALSE='#'
  34505. +else
  34506. + BUILD_PCM_PLUGIN_ROUTE_TRUE='#'
  34507. + BUILD_PCM_PLUGIN_ROUTE_FALSE=
  34508. +fi
  34509. -{ echo "$as_me:$LINENO: checking for softfloat" >&5
  34510. -echo $ECHO_N "checking for softfloat... $ECHO_C" >&6; }
  34511. + if test x$build_pcm_mulaw = xyes; then
  34512. + BUILD_PCM_PLUGIN_MULAW_TRUE=
  34513. + BUILD_PCM_PLUGIN_MULAW_FALSE='#'
  34514. +else
  34515. + BUILD_PCM_PLUGIN_MULAW_TRUE='#'
  34516. + BUILD_PCM_PLUGIN_MULAW_FALSE=
  34517. +fi
  34518. -# Check whether --with-softfloat was given.
  34519. -if test "${with_softfloat+set}" = set; then
  34520. - withval=$with_softfloat; case "$withval" in
  34521. - y|yes) softfloat=yes ;;
  34522. - *) softfloat=no ;;
  34523. - esac
  34524. + if test x$build_pcm_alaw = xyes; then
  34525. + BUILD_PCM_PLUGIN_ALAW_TRUE=
  34526. + BUILD_PCM_PLUGIN_ALAW_FALSE='#'
  34527. +else
  34528. + BUILD_PCM_PLUGIN_ALAW_TRUE='#'
  34529. + BUILD_PCM_PLUGIN_ALAW_FALSE=
  34530. fi
  34531. -if test "$softfloat" = "yes" ; then
  34532. + if test x$build_pcm_adpcm = xyes; then
  34533. + BUILD_PCM_PLUGIN_ADPCM_TRUE=
  34534. + BUILD_PCM_PLUGIN_ADPCM_FALSE='#'
  34535. +else
  34536. + BUILD_PCM_PLUGIN_ADPCM_TRUE='#'
  34537. + BUILD_PCM_PLUGIN_ADPCM_FALSE=
  34538. +fi
  34539. -cat >>confdefs.h <<\_ACEOF
  34540. -#define HAVE_SOFT_FLOAT "1"
  34541. -_ACEOF
  34542. + if test x$build_pcm_rate = xyes; then
  34543. + BUILD_PCM_PLUGIN_RATE_TRUE=
  34544. + BUILD_PCM_PLUGIN_RATE_FALSE='#'
  34545. +else
  34546. + BUILD_PCM_PLUGIN_RATE_TRUE='#'
  34547. + BUILD_PCM_PLUGIN_RATE_FALSE=
  34548. +fi
  34549. - { echo "$as_me:$LINENO: result: yes" >&5
  34550. -echo "${ECHO_T}yes" >&6; }
  34551. + if test x$build_pcm_plug = xyes; then
  34552. + BUILD_PCM_PLUGIN_PLUG_TRUE=
  34553. + BUILD_PCM_PLUGIN_PLUG_FALSE='#'
  34554. else
  34555. - { echo "$as_me:$LINENO: result: no" >&5
  34556. -echo "${ECHO_T}no" >&6; }
  34557. + BUILD_PCM_PLUGIN_PLUG_TRUE='#'
  34558. + BUILD_PCM_PLUGIN_PLUG_FALSE=
  34559. fi
  34560. -ALSA_DEPLIBS=""
  34561. -if test "$softfloat" != "yes"; then
  34562. - ALSA_DEPLIBS="-lm"
  34563. + if test x$build_pcm_multi = xyes; then
  34564. + BUILD_PCM_PLUGIN_MULTI_TRUE=
  34565. + BUILD_PCM_PLUGIN_MULTI_FALSE='#'
  34566. +else
  34567. + BUILD_PCM_PLUGIN_MULTI_TRUE='#'
  34568. + BUILD_PCM_PLUGIN_MULTI_FALSE=
  34569. fi
  34570. -{ echo "$as_me:$LINENO: checking for libdl" >&5
  34571. -echo $ECHO_N "checking for libdl... $ECHO_C" >&6; }
  34572. -
  34573. -# Check whether --with-libdl was given.
  34574. -if test "${with_libdl+set}" = set; then
  34575. - withval=$with_libdl; have_libdl="$withval"
  34576. + if test x$build_pcm_shm = xyes; then
  34577. + BUILD_PCM_PLUGIN_SHM_TRUE=
  34578. + BUILD_PCM_PLUGIN_SHM_FALSE='#'
  34579. else
  34580. - have_libdl="yes"
  34581. + BUILD_PCM_PLUGIN_SHM_TRUE='#'
  34582. + BUILD_PCM_PLUGIN_SHM_FALSE=
  34583. fi
  34584. -if test "$have_libdl" = "yes"; then
  34585. - { echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
  34586. -echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; }
  34587. -if test "${ac_cv_lib_dl_dlsym+set}" = set; then
  34588. - echo $ECHO_N "(cached) $ECHO_C" >&6
  34589. + if test x$build_pcm_file = xyes; then
  34590. + BUILD_PCM_PLUGIN_FILE_TRUE=
  34591. + BUILD_PCM_PLUGIN_FILE_FALSE='#'
  34592. else
  34593. - ac_check_lib_save_LIBS=$LIBS
  34594. -LIBS="-ldl $LIBS"
  34595. -cat >conftest.$ac_ext <<_ACEOF
  34596. -/* confdefs.h. */
  34597. -_ACEOF
  34598. -cat confdefs.h >>conftest.$ac_ext
  34599. -cat >>conftest.$ac_ext <<_ACEOF
  34600. -/* end confdefs.h. */
  34601. + BUILD_PCM_PLUGIN_FILE_TRUE='#'
  34602. + BUILD_PCM_PLUGIN_FILE_FALSE=
  34603. +fi
  34604. -/* Override any GCC internal prototype to avoid an error.
  34605. - Use char because int might match the return type of a GCC
  34606. - builtin and then its argument prototype would still apply. */
  34607. -#ifdef __cplusplus
  34608. -extern "C"
  34609. -#endif
  34610. -char dlsym ();
  34611. -int
  34612. -main ()
  34613. -{
  34614. -return dlsym ();
  34615. - ;
  34616. - return 0;
  34617. -}
  34618. -_ACEOF
  34619. -rm -f conftest.$ac_objext conftest$ac_exeext
  34620. -if { (ac_try="$ac_link"
  34621. -case "(($ac_try" in
  34622. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34623. - *) ac_try_echo=$ac_try;;
  34624. -esac
  34625. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34626. - (eval "$ac_link") 2>conftest.er1
  34627. - ac_status=$?
  34628. - grep -v '^ *+' conftest.er1 >conftest.err
  34629. - rm -f conftest.er1
  34630. - cat conftest.err >&5
  34631. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34632. - (exit $ac_status); } &&
  34633. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  34634. - { (case "(($ac_try" in
  34635. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34636. - *) ac_try_echo=$ac_try;;
  34637. -esac
  34638. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34639. - (eval "$ac_try") 2>&5
  34640. - ac_status=$?
  34641. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34642. - (exit $ac_status); }; } &&
  34643. - { ac_try='test -s conftest$ac_exeext'
  34644. - { (case "(($ac_try" in
  34645. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34646. - *) ac_try_echo=$ac_try;;
  34647. -esac
  34648. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34649. - (eval "$ac_try") 2>&5
  34650. - ac_status=$?
  34651. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34652. - (exit $ac_status); }; }; then
  34653. - ac_cv_lib_dl_dlsym=yes
  34654. + if test x$build_pcm_null = xyes; then
  34655. + BUILD_PCM_PLUGIN_NULL_TRUE=
  34656. + BUILD_PCM_PLUGIN_NULL_FALSE='#'
  34657. else
  34658. - echo "$as_me: failed program was:" >&5
  34659. -sed 's/^/| /' conftest.$ac_ext >&5
  34660. -
  34661. - ac_cv_lib_dl_dlsym=no
  34662. + BUILD_PCM_PLUGIN_NULL_TRUE='#'
  34663. + BUILD_PCM_PLUGIN_NULL_FALSE=
  34664. fi
  34665. -rm -f core conftest.err conftest.$ac_objext \
  34666. - conftest$ac_exeext conftest.$ac_ext
  34667. -LIBS=$ac_check_lib_save_LIBS
  34668. -fi
  34669. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
  34670. -echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; }
  34671. -if test $ac_cv_lib_dl_dlsym = yes; then
  34672. - HAVE_LIBDL="yes"
  34673. + if test x$build_pcm_empty = xyes; then
  34674. + BUILD_PCM_PLUGIN_EMPTY_TRUE=
  34675. + BUILD_PCM_PLUGIN_EMPTY_FALSE='#'
  34676. +else
  34677. + BUILD_PCM_PLUGIN_EMPTY_TRUE='#'
  34678. + BUILD_PCM_PLUGIN_EMPTY_FALSE=
  34679. fi
  34680. - if test "$HAVE_LIBDL" = "yes" ; then
  34681. - ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
  34682. -
  34683. -cat >>confdefs.h <<\_ACEOF
  34684. -#define HAVE_LIBDL 1
  34685. -_ACEOF
  34686. -
  34687. - fi
  34688. + if test x$build_pcm_share = xyes; then
  34689. + BUILD_PCM_PLUGIN_SHARE_TRUE=
  34690. + BUILD_PCM_PLUGIN_SHARE_FALSE='#'
  34691. else
  34692. - { echo "$as_me:$LINENO: result: no" >&5
  34693. -echo "${ECHO_T}no" >&6; }
  34694. + BUILD_PCM_PLUGIN_SHARE_TRUE='#'
  34695. + BUILD_PCM_PLUGIN_SHARE_FALSE=
  34696. fi
  34697. -
  34698. -if test "$HAVE_LIBDL"="yes"; then
  34699. - BUILD_MODULES_TRUE=
  34700. - BUILD_MODULES_FALSE='#'
  34701. + if test x$build_pcm_meter = xyes; then
  34702. + BUILD_PCM_PLUGIN_METER_TRUE=
  34703. + BUILD_PCM_PLUGIN_METER_FALSE='#'
  34704. else
  34705. - BUILD_MODULES_TRUE='#'
  34706. - BUILD_MODULES_FALSE=
  34707. + BUILD_PCM_PLUGIN_METER_TRUE='#'
  34708. + BUILD_PCM_PLUGIN_METER_FALSE=
  34709. fi
  34710. -
  34711. -{ echo "$as_me:$LINENO: checking for pthread" >&5
  34712. -echo $ECHO_N "checking for pthread... $ECHO_C" >&6; }
  34713. -
  34714. -# Check whether --with-pthread was given.
  34715. -if test "${with_pthread+set}" = set; then
  34716. - withval=$with_pthread; have_pthread="$withval"
  34717. + if test x$build_pcm_hooks = xyes; then
  34718. + BUILD_PCM_PLUGIN_HOOKS_TRUE=
  34719. + BUILD_PCM_PLUGIN_HOOKS_FALSE='#'
  34720. else
  34721. - have_pthread="yes"
  34722. + BUILD_PCM_PLUGIN_HOOKS_TRUE='#'
  34723. + BUILD_PCM_PLUGIN_HOOKS_FALSE=
  34724. fi
  34725. -if test "$have_pthread" = "yes"; then
  34726. - { echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
  34727. -echo $ECHO_N "checking for pthread_join in -lpthread... $ECHO_C" >&6; }
  34728. -if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
  34729. - echo $ECHO_N "(cached) $ECHO_C" >&6
  34730. + if test x$build_pcm_lfloat = xyes; then
  34731. + BUILD_PCM_PLUGIN_LFLOAT_TRUE=
  34732. + BUILD_PCM_PLUGIN_LFLOAT_FALSE='#'
  34733. else
  34734. - ac_check_lib_save_LIBS=$LIBS
  34735. -LIBS="-lpthread $LIBS"
  34736. -cat >conftest.$ac_ext <<_ACEOF
  34737. -/* confdefs.h. */
  34738. -_ACEOF
  34739. -cat confdefs.h >>conftest.$ac_ext
  34740. -cat >>conftest.$ac_ext <<_ACEOF
  34741. -/* end confdefs.h. */
  34742. + BUILD_PCM_PLUGIN_LFLOAT_TRUE='#'
  34743. + BUILD_PCM_PLUGIN_LFLOAT_FALSE=
  34744. +fi
  34745. -/* Override any GCC internal prototype to avoid an error.
  34746. - Use char because int might match the return type of a GCC
  34747. - builtin and then its argument prototype would still apply. */
  34748. -#ifdef __cplusplus
  34749. -extern "C"
  34750. -#endif
  34751. -char pthread_join ();
  34752. -int
  34753. -main ()
  34754. -{
  34755. -return pthread_join ();
  34756. - ;
  34757. - return 0;
  34758. -}
  34759. -_ACEOF
  34760. -rm -f conftest.$ac_objext conftest$ac_exeext
  34761. -if { (ac_try="$ac_link"
  34762. -case "(($ac_try" in
  34763. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34764. - *) ac_try_echo=$ac_try;;
  34765. -esac
  34766. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34767. - (eval "$ac_link") 2>conftest.er1
  34768. - ac_status=$?
  34769. - grep -v '^ *+' conftest.er1 >conftest.err
  34770. - rm -f conftest.er1
  34771. - cat conftest.err >&5
  34772. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34773. - (exit $ac_status); } &&
  34774. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  34775. - { (case "(($ac_try" in
  34776. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34777. - *) ac_try_echo=$ac_try;;
  34778. -esac
  34779. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34780. - (eval "$ac_try") 2>&5
  34781. - ac_status=$?
  34782. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34783. - (exit $ac_status); }; } &&
  34784. - { ac_try='test -s conftest$ac_exeext'
  34785. - { (case "(($ac_try" in
  34786. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34787. - *) ac_try_echo=$ac_try;;
  34788. -esac
  34789. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34790. - (eval "$ac_try") 2>&5
  34791. - ac_status=$?
  34792. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34793. - (exit $ac_status); }; }; then
  34794. - ac_cv_lib_pthread_pthread_join=yes
  34795. + if test x$build_pcm_ladspa = xyes; then
  34796. + BUILD_PCM_PLUGIN_LADSPA_TRUE=
  34797. + BUILD_PCM_PLUGIN_LADSPA_FALSE='#'
  34798. else
  34799. - echo "$as_me: failed program was:" >&5
  34800. -sed 's/^/| /' conftest.$ac_ext >&5
  34801. -
  34802. - ac_cv_lib_pthread_pthread_join=no
  34803. + BUILD_PCM_PLUGIN_LADSPA_TRUE='#'
  34804. + BUILD_PCM_PLUGIN_LADSPA_FALSE=
  34805. fi
  34806. -rm -f core conftest.err conftest.$ac_objext \
  34807. - conftest$ac_exeext conftest.$ac_ext
  34808. -LIBS=$ac_check_lib_save_LIBS
  34809. -fi
  34810. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
  34811. -echo "${ECHO_T}$ac_cv_lib_pthread_pthread_join" >&6; }
  34812. -if test $ac_cv_lib_pthread_pthread_join = yes; then
  34813. - HAVE_LIBPTHREAD="yes"
  34814. + if test x$build_pcm_dmix = xyes; then
  34815. + BUILD_PCM_PLUGIN_DMIX_TRUE=
  34816. + BUILD_PCM_PLUGIN_DMIX_FALSE='#'
  34817. +else
  34818. + BUILD_PCM_PLUGIN_DMIX_TRUE='#'
  34819. + BUILD_PCM_PLUGIN_DMIX_FALSE=
  34820. fi
  34821. - if test "$HAVE_LIBPTHREAD" = "yes"; then
  34822. - ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread"
  34823. -
  34824. -cat >>confdefs.h <<\_ACEOF
  34825. -#define HAVE_LIBPTHREAD 1
  34826. -_ACEOF
  34827. + if test x$build_pcm_dshare = xyes; then
  34828. + BUILD_PCM_PLUGIN_DSHARE_TRUE=
  34829. + BUILD_PCM_PLUGIN_DSHARE_FALSE='#'
  34830. +else
  34831. + BUILD_PCM_PLUGIN_DSHARE_TRUE='#'
  34832. + BUILD_PCM_PLUGIN_DSHARE_FALSE=
  34833. +fi
  34834. - fi
  34835. + if test x$build_pcm_dsnoop = xyes; then
  34836. + BUILD_PCM_PLUGIN_DSNOOP_TRUE=
  34837. + BUILD_PCM_PLUGIN_DSNOOP_FALSE='#'
  34838. else
  34839. - { echo "$as_me:$LINENO: result: no" >&5
  34840. -echo "${ECHO_T}no" >&6; }
  34841. + BUILD_PCM_PLUGIN_DSNOOP_TRUE='#'
  34842. + BUILD_PCM_PLUGIN_DSNOOP_FALSE=
  34843. fi
  34844. -{ echo "$as_me:$LINENO: checking for librt" >&5
  34845. -echo $ECHO_N "checking for librt... $ECHO_C" >&6; }
  34846. + if test x$build_pcm_asym = xyes; then
  34847. + BUILD_PCM_PLUGIN_ASYM_TRUE=
  34848. + BUILD_PCM_PLUGIN_ASYM_FALSE='#'
  34849. +else
  34850. + BUILD_PCM_PLUGIN_ASYM_TRUE='#'
  34851. + BUILD_PCM_PLUGIN_ASYM_FALSE=
  34852. +fi
  34853. -# Check whether --with-librt was given.
  34854. -if test "${with_librt+set}" = set; then
  34855. - withval=$with_librt; have_librt="$withval"
  34856. + if test x$build_pcm_iec958 = xyes; then
  34857. + BUILD_PCM_PLUGIN_IEC958_TRUE=
  34858. + BUILD_PCM_PLUGIN_IEC958_FALSE='#'
  34859. else
  34860. - have_librt="yes"
  34861. + BUILD_PCM_PLUGIN_IEC958_TRUE='#'
  34862. + BUILD_PCM_PLUGIN_IEC958_FALSE=
  34863. fi
  34864. -if test "$have_librt" = "yes"; then
  34865. - { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
  34866. -echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
  34867. -if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
  34868. - echo $ECHO_N "(cached) $ECHO_C" >&6
  34869. + if test x$build_pcm_softvol = xyes; then
  34870. + BUILD_PCM_PLUGIN_SOFTVOL_TRUE=
  34871. + BUILD_PCM_PLUGIN_SOFTVOL_FALSE='#'
  34872. else
  34873. - ac_check_lib_save_LIBS=$LIBS
  34874. -LIBS="-lrt $LIBS"
  34875. -cat >conftest.$ac_ext <<_ACEOF
  34876. -/* confdefs.h. */
  34877. -_ACEOF
  34878. -cat confdefs.h >>conftest.$ac_ext
  34879. -cat >>conftest.$ac_ext <<_ACEOF
  34880. -/* end confdefs.h. */
  34881. + BUILD_PCM_PLUGIN_SOFTVOL_TRUE='#'
  34882. + BUILD_PCM_PLUGIN_SOFTVOL_FALSE=
  34883. +fi
  34884. -/* Override any GCC internal prototype to avoid an error.
  34885. - Use char because int might match the return type of a GCC
  34886. - builtin and then its argument prototype would still apply. */
  34887. -#ifdef __cplusplus
  34888. -extern "C"
  34889. -#endif
  34890. -char clock_gettime ();
  34891. -int
  34892. -main ()
  34893. -{
  34894. -return clock_gettime ();
  34895. - ;
  34896. - return 0;
  34897. -}
  34898. -_ACEOF
  34899. -rm -f conftest.$ac_objext conftest$ac_exeext
  34900. -if { (ac_try="$ac_link"
  34901. -case "(($ac_try" in
  34902. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34903. - *) ac_try_echo=$ac_try;;
  34904. -esac
  34905. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34906. - (eval "$ac_link") 2>conftest.er1
  34907. - ac_status=$?
  34908. - grep -v '^ *+' conftest.er1 >conftest.err
  34909. - rm -f conftest.er1
  34910. - cat conftest.err >&5
  34911. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34912. - (exit $ac_status); } &&
  34913. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  34914. - { (case "(($ac_try" in
  34915. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34916. - *) ac_try_echo=$ac_try;;
  34917. -esac
  34918. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34919. - (eval "$ac_try") 2>&5
  34920. - ac_status=$?
  34921. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34922. - (exit $ac_status); }; } &&
  34923. - { ac_try='test -s conftest$ac_exeext'
  34924. - { (case "(($ac_try" in
  34925. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  34926. - *) ac_try_echo=$ac_try;;
  34927. -esac
  34928. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  34929. - (eval "$ac_try") 2>&5
  34930. - ac_status=$?
  34931. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  34932. - (exit $ac_status); }; }; then
  34933. - ac_cv_lib_rt_clock_gettime=yes
  34934. + if test x$build_pcm_extplug = xyes; then
  34935. + BUILD_PCM_PLUGIN_EXTPLUG_TRUE=
  34936. + BUILD_PCM_PLUGIN_EXTPLUG_FALSE='#'
  34937. else
  34938. - echo "$as_me: failed program was:" >&5
  34939. -sed 's/^/| /' conftest.$ac_ext >&5
  34940. + BUILD_PCM_PLUGIN_EXTPLUG_TRUE='#'
  34941. + BUILD_PCM_PLUGIN_EXTPLUG_FALSE=
  34942. +fi
  34943. - ac_cv_lib_rt_clock_gettime=no
  34944. + if test x$build_pcm_ioplug = xyes; then
  34945. + BUILD_PCM_PLUGIN_IOPLUG_TRUE=
  34946. + BUILD_PCM_PLUGIN_IOPLUG_FALSE='#'
  34947. +else
  34948. + BUILD_PCM_PLUGIN_IOPLUG_TRUE='#'
  34949. + BUILD_PCM_PLUGIN_IOPLUG_FALSE=
  34950. fi
  34951. -rm -f core conftest.err conftest.$ac_objext \
  34952. - conftest$ac_exeext conftest.$ac_ext
  34953. -LIBS=$ac_check_lib_save_LIBS
  34954. + if test x$build_pcm_mmap_emul = xyes; then
  34955. + BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE=
  34956. + BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE='#'
  34957. +else
  34958. + BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE='#'
  34959. + BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE=
  34960. fi
  34961. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
  34962. -echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
  34963. -if test $ac_cv_lib_rt_clock_gettime = yes; then
  34964. - HAVE_LIBRT="yes"
  34965. +
  34966. +
  34967. +if test "$build_pcm_rate" = "yes"; then
  34968. +
  34969. +$as_echo "#define BUILD_PCM_PLUGIN_RATE \"1\"" >>confdefs.h
  34970. +
  34971. fi
  34972. +if test "$build_pcm_route" = "yes"; then
  34973. - if test "$HAVE_LIBRT" = "yes" ; then
  34974. - ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt"
  34975. +$as_echo "#define BUILD_PCM_PLUGIN_ROUTE \"1\"" >>confdefs.h
  34976. -cat >>confdefs.h <<\_ACEOF
  34977. -#define HAVE_LIBRT 1
  34978. -_ACEOF
  34979. +fi
  34980. +if test "$build_pcm_lfloat" = "yes"; then
  34981. +$as_echo "#define BUILD_PCM_PLUGIN_LFLOAT \"1\"" >>confdefs.h
  34982. -cat >>confdefs.h <<\_ACEOF
  34983. -#define HAVE_CLOCK_GETTIME 1
  34984. -_ACEOF
  34985. +fi
  34986. +if test "$build_pcm_adpcm" = "yes"; then
  34987. +
  34988. +$as_echo "#define BUILD_PCM_PLUGIN_ADPCM \"1\"" >>confdefs.h
  34989. - fi
  34990. -else
  34991. - { echo "$as_me:$LINENO: result: no" >&5
  34992. -echo "${ECHO_T}no" >&6; }
  34993. fi
  34994. +if test "$build_pcm_mulaw" = "yes"; then
  34995. +$as_echo "#define BUILD_PCM_PLUGIN_MULAW \"1\"" >>confdefs.h
  34996. +fi
  34997. +if test "$build_pcm_alaw" = "yes"; then
  34998. -{ echo "$as_me:$LINENO: checking for architecture" >&5
  34999. -echo $ECHO_N "checking for architecture... $ECHO_C" >&6; }
  35000. -case "$host" in
  35001. -i?86*)
  35002. - { echo "$as_me:$LINENO: result: x86" >&5
  35003. -echo "${ECHO_T}x86" >&6; }
  35004. - ;;
  35005. -x86_64*)
  35006. - { echo "$as_me:$LINENO: result: x86" >&5
  35007. -echo "${ECHO_T}x86" >&6; }
  35008. - ;;
  35009. -alpha*)
  35010. - { echo "$as_me:$LINENO: result: alpha" >&5
  35011. -echo "${ECHO_T}alpha" >&6; }
  35012. - ;;
  35013. -powerpc*|ppc*)
  35014. - { echo "$as_me:$LINENO: result: ppc" >&5
  35015. -echo "${ECHO_T}ppc" >&6; }
  35016. - CPPFLAGS="$CPPFLAGS -D__ppc__"
  35017. - ;;
  35018. -ia64*)
  35019. - { echo "$as_me:$LINENO: result: ia64" >&5
  35020. -echo "${ECHO_T}ia64" >&6; }
  35021. - CPPFLAGS="$CPPFLAGS -D__ia64__"
  35022. - ;;
  35023. -mips*)
  35024. - { echo "$as_me:$LINENO: result: mips" >&5
  35025. -echo "${ECHO_T}mips" >&6; }
  35026. - CPPFLAGS="$CPPFLAGS -D__mips__"
  35027. - ;;
  35028. -arm*)
  35029. - { echo "$as_me:$LINENO: result: arm" >&5
  35030. -echo "${ECHO_T}arm" >&6; }
  35031. - CPPFLAGS="$CPPFLAGS -D__arm__"
  35032. - ;;
  35033. -*)
  35034. - { echo "$as_me:$LINENO: result: $host_cpu" >&5
  35035. -echo "${ECHO_T}$host_cpu" >&6; }
  35036. - echo "No atomic operations supported.."
  35037. - ;;
  35038. -esac
  35039. +$as_echo "#define BUILD_PCM_PLUGIN_ALAW \"1\"" >>confdefs.h
  35040. +fi
  35041. +if test "$build_pcm_mmap_emul" = "yes"; then
  35042. -for ac_header in wordexp.h
  35043. -do
  35044. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  35045. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  35046. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  35047. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  35048. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  35049. - echo $ECHO_N "(cached) $ECHO_C" >&6
  35050. -fi
  35051. -ac_res=`eval echo '${'$as_ac_Header'}'`
  35052. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  35053. -echo "${ECHO_T}$ac_res" >&6; }
  35054. -else
  35055. - # Is the header compilable?
  35056. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  35057. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  35058. -cat >conftest.$ac_ext <<_ACEOF
  35059. -/* confdefs.h. */
  35060. -_ACEOF
  35061. -cat confdefs.h >>conftest.$ac_ext
  35062. -cat >>conftest.$ac_ext <<_ACEOF
  35063. -/* end confdefs.h. */
  35064. -$ac_includes_default
  35065. -#include <$ac_header>
  35066. -_ACEOF
  35067. -rm -f conftest.$ac_objext
  35068. -if { (ac_try="$ac_compile"
  35069. -case "(($ac_try" in
  35070. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35071. - *) ac_try_echo=$ac_try;;
  35072. -esac
  35073. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35074. - (eval "$ac_compile") 2>conftest.er1
  35075. - ac_status=$?
  35076. - grep -v '^ *+' conftest.er1 >conftest.err
  35077. - rm -f conftest.er1
  35078. - cat conftest.err >&5
  35079. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35080. - (exit $ac_status); } &&
  35081. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  35082. - { (case "(($ac_try" in
  35083. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35084. - *) ac_try_echo=$ac_try;;
  35085. -esac
  35086. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35087. - (eval "$ac_try") 2>&5
  35088. - ac_status=$?
  35089. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35090. - (exit $ac_status); }; } &&
  35091. - { ac_try='test -s conftest.$ac_objext'
  35092. - { (case "(($ac_try" in
  35093. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35094. - *) ac_try_echo=$ac_try;;
  35095. -esac
  35096. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35097. - (eval "$ac_try") 2>&5
  35098. - ac_status=$?
  35099. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35100. - (exit $ac_status); }; }; then
  35101. - ac_header_compiler=yes
  35102. -else
  35103. - echo "$as_me: failed program was:" >&5
  35104. -sed 's/^/| /' conftest.$ac_ext >&5
  35105. +$as_echo "#define BUILD_PCM_PLUGIN_MMAP_EMUL \"1\"" >>confdefs.h
  35106. - ac_header_compiler=no
  35107. fi
  35108. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  35109. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  35110. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  35111. -# Is the header present?
  35112. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  35113. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  35114. -cat >conftest.$ac_ext <<_ACEOF
  35115. -/* confdefs.h. */
  35116. -_ACEOF
  35117. -cat confdefs.h >>conftest.$ac_ext
  35118. -cat >>conftest.$ac_ext <<_ACEOF
  35119. -/* end confdefs.h. */
  35120. -#include <$ac_header>
  35121. -_ACEOF
  35122. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  35123. -case "(($ac_try" in
  35124. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35125. - *) ac_try_echo=$ac_try;;
  35126. -esac
  35127. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35128. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  35129. - ac_status=$?
  35130. - grep -v '^ *+' conftest.er1 >conftest.err
  35131. - rm -f conftest.er1
  35132. - cat conftest.err >&5
  35133. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35134. - (exit $ac_status); } >/dev/null; then
  35135. - if test -s conftest.err; then
  35136. - ac_cpp_err=$ac_c_preproc_warn_flag
  35137. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  35138. - else
  35139. - ac_cpp_err=
  35140. +rm -f "$srcdir"/src/pcm/pcm_symbols_list.c
  35141. +touch "$srcdir"/src/pcm/pcm_symbols_list.c
  35142. +for t in $PCM_PLUGIN_LIST; do
  35143. + if eval test \$build_pcm_$t = yes; then
  35144. + echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c
  35145. fi
  35146. +done
  35147. +
  35148. +
  35149. +
  35150. +# Check whether --with-ctl-plugins was given.
  35151. +if test "${with_ctl_plugins+set}" = set; then :
  35152. + withval=$with_ctl_plugins; ctl_plugins="$withval"
  35153. else
  35154. - ac_cpp_err=yes
  35155. + ctl_plugins="all"
  35156. fi
  35157. -if test -z "$ac_cpp_err"; then
  35158. - ac_header_preproc=yes
  35159. -else
  35160. - echo "$as_me: failed program was:" >&5
  35161. -sed 's/^/| /' conftest.$ac_ext >&5
  35162. - ac_header_preproc=no
  35163. -fi
  35164. -rm -f conftest.err conftest.$ac_ext
  35165. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  35166. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  35167. +CTL_PLUGIN_LIST="shm ext"
  35168. -# So? What about this header?
  35169. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  35170. - yes:no: )
  35171. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  35172. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  35173. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  35174. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  35175. - ac_header_preproc=yes
  35176. - ;;
  35177. - no:yes:* )
  35178. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  35179. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  35180. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  35181. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  35182. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  35183. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  35184. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  35185. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  35186. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  35187. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  35188. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  35189. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  35190. +build_ctl_plugin="no"
  35191. +for t in $CTL_PLUGIN_LIST; do
  35192. + eval build_ctl_$t="no"
  35193. +done
  35194. - ;;
  35195. -esac
  35196. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  35197. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  35198. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  35199. - echo $ECHO_N "(cached) $ECHO_C" >&6
  35200. +ctl_plugins=`echo $ctl_plugins | sed 's/,/ /g'`
  35201. +for p in $ctl_plugins; do
  35202. + for t in $CTL_PLUGIN_LIST; do
  35203. + if test "$p" = "$t" -o "$p" = "all"; then
  35204. + eval build_ctl_$t="yes"
  35205. + build_ctl_plugin="yes"
  35206. + fi
  35207. + done
  35208. +done
  35209. +
  35210. + if test x$build_ctl_plugin = xyes; then
  35211. + BUILD_CTL_PLUGIN_TRUE=
  35212. + BUILD_CTL_PLUGIN_FALSE='#'
  35213. else
  35214. - eval "$as_ac_Header=\$ac_header_preproc"
  35215. + BUILD_CTL_PLUGIN_TRUE='#'
  35216. + BUILD_CTL_PLUGIN_FALSE=
  35217. fi
  35218. -ac_res=`eval echo '${'$as_ac_Header'}'`
  35219. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  35220. -echo "${ECHO_T}$ac_res" >&6; }
  35221. + if test x$build_ctl_shm = xyes; then
  35222. + BUILD_CTL_PLUGIN_SHM_TRUE=
  35223. + BUILD_CTL_PLUGIN_SHM_FALSE='#'
  35224. +else
  35225. + BUILD_CTL_PLUGIN_SHM_TRUE='#'
  35226. + BUILD_CTL_PLUGIN_SHM_FALSE=
  35227. fi
  35228. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  35229. - cat >>confdefs.h <<_ACEOF
  35230. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  35231. -_ACEOF
  35232. + if test x$build_ctl_ext = xyes; then
  35233. + BUILD_CTL_PLUGIN_EXT_TRUE=
  35234. + BUILD_CTL_PLUGIN_EXT_FALSE='#'
  35235. +else
  35236. + BUILD_CTL_PLUGIN_EXT_TRUE='#'
  35237. + BUILD_CTL_PLUGIN_EXT_FALSE=
  35238. fi
  35239. -done
  35240. +rm -f "$srcdir"/src/control/ctl_symbols_list.c
  35241. +touch "$srcdir"/src/control/ctl_symbols_list.c
  35242. +for t in $CTL_PLUGIN_LIST; do
  35243. + if eval test \$build_ctl_$t = yes; then
  35244. + echo \&_snd_module_control_$t, >> "$srcdir"/src/control/ctl_symbols_list.c
  35245. + fi
  35246. +done
  35247. -{ echo "$as_me:$LINENO: checking for resmgr support" >&5
  35248. -echo $ECHO_N "checking for resmgr support... $ECHO_C" >&6; }
  35249. -# Check whether --enable-resmgr was given.
  35250. -if test "${enable_resmgr+set}" = set; then
  35251. - enableval=$enable_resmgr; resmgr="$enableval"
  35252. -else
  35253. - resmgr="no"
  35254. +if test ! -L "$srcdir"/include/alsa ; then
  35255. + echo "Making a symlink include/alsa"
  35256. + rm -f "$srcdir"/include/alsa
  35257. + ln -sf . "$srcdir"/include/alsa
  35258. fi
  35259. -{ echo "$as_me:$LINENO: result: $resmgr" >&5
  35260. -echo "${ECHO_T}$resmgr" >&6; }
  35261. -if test "$resmgr" = "yes"; then
  35262. +ac_config_files="$ac_config_files Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg include/Makefile include/sound/Makefile src/Versions src/Makefile src/control/Makefile src/mixer/Makefile src/pcm/Makefile src/pcm/scopes/Makefile src/rawmidi/Makefile src/timer/Makefile src/hwdep/Makefile src/seq/Makefile src/compat/Makefile src/alisp/Makefile src/conf/Makefile src/conf/cards/Makefile src/conf/pcm/Makefile modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile alsalisp/Makefile aserver/Makefile test/Makefile test/lsb/Makefile utils/Makefile utils/alsa-lib.spec utils/alsa.pc"
  35263. -{ echo "$as_me:$LINENO: checking for rsm_open_device in -lresmgr" >&5
  35264. -echo $ECHO_N "checking for rsm_open_device in -lresmgr... $ECHO_C" >&6; }
  35265. -if test "${ac_cv_lib_resmgr_rsm_open_device+set}" = set; then
  35266. - echo $ECHO_N "(cached) $ECHO_C" >&6
  35267. -else
  35268. - ac_check_lib_save_LIBS=$LIBS
  35269. -LIBS="-lresmgr $LIBS"
  35270. -cat >conftest.$ac_ext <<_ACEOF
  35271. -/* confdefs.h. */
  35272. -_ACEOF
  35273. -cat confdefs.h >>conftest.$ac_ext
  35274. -cat >>conftest.$ac_ext <<_ACEOF
  35275. -/* end confdefs.h. */
  35276. +cat >confcache <<\_ACEOF
  35277. +# This file is a shell script that caches the results of configure
  35278. +# tests run on this system so they can be shared between configure
  35279. +# scripts and configure runs, see configure's option --config-cache.
  35280. +# It is not useful on other systems. If it contains results you don't
  35281. +# want to keep, you may remove or edit it.
  35282. +#
  35283. +# config.status only pays attention to the cache file if you give it
  35284. +# the --recheck option to rerun configure.
  35285. +#
  35286. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  35287. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  35288. +# following values.
  35289. -/* Override any GCC internal prototype to avoid an error.
  35290. - Use char because int might match the return type of a GCC
  35291. - builtin and then its argument prototype would still apply. */
  35292. -#ifdef __cplusplus
  35293. -extern "C"
  35294. -#endif
  35295. -char rsm_open_device ();
  35296. -int
  35297. -main ()
  35298. -{
  35299. -return rsm_open_device ();
  35300. - ;
  35301. - return 0;
  35302. -}
  35303. _ACEOF
  35304. -rm -f conftest.$ac_objext conftest$ac_exeext
  35305. -if { (ac_try="$ac_link"
  35306. -case "(($ac_try" in
  35307. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35308. - *) ac_try_echo=$ac_try;;
  35309. -esac
  35310. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35311. - (eval "$ac_link") 2>conftest.er1
  35312. - ac_status=$?
  35313. - grep -v '^ *+' conftest.er1 >conftest.err
  35314. - rm -f conftest.er1
  35315. - cat conftest.err >&5
  35316. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35317. - (exit $ac_status); } &&
  35318. - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  35319. - { (case "(($ac_try" in
  35320. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35321. - *) ac_try_echo=$ac_try;;
  35322. -esac
  35323. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35324. - (eval "$ac_try") 2>&5
  35325. - ac_status=$?
  35326. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35327. - (exit $ac_status); }; } &&
  35328. - { ac_try='test -s conftest$ac_exeext'
  35329. - { (case "(($ac_try" in
  35330. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35331. - *) ac_try_echo=$ac_try;;
  35332. -esac
  35333. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35334. - (eval "$ac_try") 2>&5
  35335. - ac_status=$?
  35336. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35337. - (exit $ac_status); }; }; then
  35338. - ac_cv_lib_resmgr_rsm_open_device=yes
  35339. -else
  35340. - echo "$as_me: failed program was:" >&5
  35341. -sed 's/^/| /' conftest.$ac_ext >&5
  35342. - ac_cv_lib_resmgr_rsm_open_device=no
  35343. -fi
  35344. +# The following way of writing the cache mishandles newlines in values,
  35345. +# but we know of no workaround that is simple, portable, and efficient.
  35346. +# So, we kill variables containing newlines.
  35347. +# Ultrix sh set writes to stderr and can't be redirected directly,
  35348. +# and sets the high bit in the cache file unless we assign to the vars.
  35349. +(
  35350. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  35351. + eval ac_val=\$$ac_var
  35352. + case $ac_val in #(
  35353. + *${as_nl}*)
  35354. + case $ac_var in #(
  35355. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  35356. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  35357. + esac
  35358. + case $ac_var in #(
  35359. + _ | IFS | as_nl) ;; #(
  35360. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  35361. + *) { eval $ac_var=; unset $ac_var;} ;;
  35362. + esac ;;
  35363. + esac
  35364. + done
  35365. -rm -f core conftest.err conftest.$ac_objext \
  35366. - conftest$ac_exeext conftest.$ac_ext
  35367. -LIBS=$ac_check_lib_save_LIBS
  35368. + (set) 2>&1 |
  35369. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  35370. + *${as_nl}ac_space=\ *)
  35371. + # `set' does not quote correctly, so add quotes: double-quote
  35372. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  35373. + sed -n \
  35374. + "s/'/'\\\\''/g;
  35375. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  35376. + ;; #(
  35377. + *)
  35378. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  35379. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  35380. + ;;
  35381. + esac |
  35382. + sort
  35383. +) |
  35384. + sed '
  35385. + /^ac_cv_env_/b end
  35386. + t clear
  35387. + :clear
  35388. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  35389. + t end
  35390. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  35391. + :end' >>confcache
  35392. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  35393. + if test -w "$cache_file"; then
  35394. + test "x$cache_file" != "x/dev/null" &&
  35395. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  35396. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  35397. + cat confcache >$cache_file
  35398. + else
  35399. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  35400. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  35401. + fi
  35402. fi
  35403. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_resmgr_rsm_open_device" >&5
  35404. -echo "${ECHO_T}$ac_cv_lib_resmgr_rsm_open_device" >&6; }
  35405. -if test $ac_cv_lib_resmgr_rsm_open_device = yes; then
  35406. - cat >>confdefs.h <<_ACEOF
  35407. -#define HAVE_LIBRESMGR 1
  35408. -_ACEOF
  35409. +rm -f confcache
  35410. - LIBS="-lresmgr $LIBS"
  35411. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  35412. +# Let make expand exec_prefix.
  35413. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  35414. -else
  35415. - { { echo "$as_me:$LINENO: error: Cannot find libresmgr" >&5
  35416. -echo "$as_me: error: Cannot find libresmgr" >&2;}
  35417. - { (exit 1); exit 1; }; }
  35418. -fi
  35419. +DEFS=-DHAVE_CONFIG_H
  35420. +ac_libobjs=
  35421. +ac_ltlibobjs=
  35422. +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  35423. + # 1. Remove the extension, and $U if already installed.
  35424. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  35425. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  35426. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  35427. + # will be set to the directory where LIBOBJS objects are built.
  35428. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  35429. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  35430. +done
  35431. +LIBOBJS=$ac_libobjs
  35432. -cat >>confdefs.h <<\_ACEOF
  35433. -#define SUPPORT_RESMGR "1"
  35434. -_ACEOF
  35435. +LTLIBOBJS=$ac_ltlibobjs
  35436. -fi
  35437. -{ echo "$as_me:$LINENO: checking for aload* support" >&5
  35438. -echo $ECHO_N "checking for aload* support... $ECHO_C" >&6; }
  35439. -# Check whether --enable-aload was given.
  35440. -if test "${enable_aload+set}" = set; then
  35441. - enableval=$enable_aload; aload="$enableval"
  35442. + if test -n "$EXEEXT"; then
  35443. + am__EXEEXT_TRUE=
  35444. + am__EXEEXT_FALSE='#'
  35445. else
  35446. - aload="yes"
  35447. + am__EXEEXT_TRUE='#'
  35448. + am__EXEEXT_FALSE=
  35449. fi
  35450. -{ echo "$as_me:$LINENO: result: $aload" >&5
  35451. -echo "${ECHO_T}$aload" >&6; }
  35452. -if test "$aload" = "yes"; then
  35453. -
  35454. -cat >>confdefs.h <<\_ACEOF
  35455. -#define SUPPORT_ALOAD "1"
  35456. -_ACEOF
  35457. -
  35458. +if test -z "${INSTALL_M4_TRUE}" && test -z "${INSTALL_M4_FALSE}"; then
  35459. + as_fn_error "conditional \"INSTALL_M4\" was never defined.
  35460. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35461. fi
  35462. -
  35463. -{ echo "$as_me:$LINENO: checking for ALSA device file directory" >&5
  35464. -echo $ECHO_N "checking for ALSA device file directory... $ECHO_C" >&6; }
  35465. -
  35466. -# Check whether --with-alsa-devdir was given.
  35467. -if test "${with_alsa_devdir+set}" = set; then
  35468. - withval=$with_alsa_devdir; alsa_dev_dir="$withval"
  35469. -else
  35470. - alsa_dev_dir="/dev/snd"
  35471. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  35472. + as_fn_error "conditional \"AMDEP\" was never defined.
  35473. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35474. fi
  35475. -
  35476. -if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then
  35477. - alsa_dev_dir="$alsa_dev_dir/"
  35478. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  35479. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  35480. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35481. fi
  35482. -
  35483. -cat >>confdefs.h <<_ACEOF
  35484. -#define ALSA_DEVICE_DIRECTORY "$alsa_dev_dir"
  35485. -_ACEOF
  35486. -
  35487. -{ echo "$as_me:$LINENO: result: $alsa_dev_dir" >&5
  35488. -echo "${ECHO_T}$alsa_dev_dir" >&6; }
  35489. -
  35490. -{ echo "$as_me:$LINENO: checking for aload* device file directory" >&5
  35491. -echo $ECHO_N "checking for aload* device file directory... $ECHO_C" >&6; }
  35492. -
  35493. -# Check whether --with-aload-devdir was given.
  35494. -if test "${with_aload_devdir+set}" = set; then
  35495. - withval=$with_aload_devdir; aload_dev_dir="$withval"
  35496. -else
  35497. - aload_dev_dir="/dev"
  35498. +if test -z "${ALSA_HSEARCH_R_TRUE}" && test -z "${ALSA_HSEARCH_R_FALSE}"; then
  35499. + as_fn_error "conditional \"ALSA_HSEARCH_R\" was never defined.
  35500. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35501. fi
  35502. -
  35503. -if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then
  35504. - aload_dev_dir="$aload_dev_dir/"
  35505. +if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then
  35506. + as_fn_error "conditional \"VERSIONED_SYMBOLS\" was never defined.
  35507. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35508. fi
  35509. -
  35510. -cat >>confdefs.h <<_ACEOF
  35511. -#define ALOAD_DEVICE_DIRECTORY "$aload_dev_dir"
  35512. -_ACEOF
  35513. -
  35514. -{ echo "$as_me:$LINENO: result: $aload_dev_dir" >&5
  35515. -echo "${ECHO_T}$aload_dev_dir" >&6; }
  35516. -
  35517. -# Check whether --enable-mixer was given.
  35518. -if test "${enable_mixer+set}" = set; then
  35519. - enableval=$enable_mixer; build_mixer="$enableval"
  35520. -else
  35521. - build_mixer="yes"
  35522. +if test -z "${SYMBOLIC_FUNCTIONS_TRUE}" && test -z "${SYMBOLIC_FUNCTIONS_FALSE}"; then
  35523. + as_fn_error "conditional \"SYMBOLIC_FUNCTIONS\" was never defined.
  35524. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35525. fi
  35526. -
  35527. -# Check whether --enable-pcm was given.
  35528. -if test "${enable_pcm+set}" = set; then
  35529. - enableval=$enable_pcm; build_pcm="$enableval"
  35530. -else
  35531. - build_pcm="yes"
  35532. +if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
  35533. + as_fn_error "conditional \"BUILD_MODULES\" was never defined.
  35534. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35535. fi
  35536. -
  35537. -# Check whether --enable-rawmidi was given.
  35538. -if test "${enable_rawmidi+set}" = set; then
  35539. - enableval=$enable_rawmidi; build_rawmidi="$enableval"
  35540. -else
  35541. - build_rawmidi="yes"
  35542. +if test -z "${KEEP_OLD_SYMBOLS_TRUE}" && test -z "${KEEP_OLD_SYMBOLS_FALSE}"; then
  35543. + as_fn_error "conditional \"KEEP_OLD_SYMBOLS\" was never defined.
  35544. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35545. fi
  35546. -
  35547. -# Check whether --enable-hwdep was given.
  35548. -if test "${enable_hwdep+set}" = set; then
  35549. - enableval=$enable_hwdep; build_hwdep="$enableval"
  35550. -else
  35551. - build_hwdep="yes"
  35552. +if test -z "${BUILD_MIXER_TRUE}" && test -z "${BUILD_MIXER_FALSE}"; then
  35553. + as_fn_error "conditional \"BUILD_MIXER\" was never defined.
  35554. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35555. fi
  35556. -
  35557. -# Check whether --enable-seq was given.
  35558. -if test "${enable_seq+set}" = set; then
  35559. - enableval=$enable_seq; build_seq="$enableval"
  35560. -else
  35561. - build_seq="yes"
  35562. +if test -z "${BUILD_PCM_TRUE}" && test -z "${BUILD_PCM_FALSE}"; then
  35563. + as_fn_error "conditional \"BUILD_PCM\" was never defined.
  35564. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35565. fi
  35566. -
  35567. -# Check whether --enable-alisp was given.
  35568. -if test "${enable_alisp+set}" = set; then
  35569. - enableval=$enable_alisp; build_alisp="$enableval"
  35570. -else
  35571. - build_alisp="yes"
  35572. +if test -z "${BUILD_RAWMIDI_TRUE}" && test -z "${BUILD_RAWMIDI_FALSE}"; then
  35573. + as_fn_error "conditional \"BUILD_RAWMIDI\" was never defined.
  35574. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35575. fi
  35576. -
  35577. -test "$softfloat" = "yes" && build_alisp="no"
  35578. -# Check whether --enable-old-symbols was given.
  35579. -if test "${enable_old_symbols+set}" = set; then
  35580. - enableval=$enable_old_symbols; keep_old_symbols="$enableval"
  35581. -else
  35582. - keep_old_symbols="yes"
  35583. +if test -z "${BUILD_HWDEP_TRUE}" && test -z "${BUILD_HWDEP_FALSE}"; then
  35584. + as_fn_error "conditional \"BUILD_HWDEP\" was never defined.
  35585. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35586. fi
  35587. -
  35588. -
  35589. -
  35590. -if test x$keep_old_symbols = xyes; then
  35591. - KEEP_OLD_SYMBOLS_TRUE=
  35592. - KEEP_OLD_SYMBOLS_FALSE='#'
  35593. -else
  35594. - KEEP_OLD_SYMBOLS_TRUE='#'
  35595. - KEEP_OLD_SYMBOLS_FALSE=
  35596. +if test -z "${BUILD_SEQ_TRUE}" && test -z "${BUILD_SEQ_FALSE}"; then
  35597. + as_fn_error "conditional \"BUILD_SEQ\" was never defined.
  35598. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35599. fi
  35600. -
  35601. -
  35602. -# Check whether --enable-python was given.
  35603. -if test "${enable_python+set}" = set; then
  35604. - enableval=$enable_python; build_python="$enableval"
  35605. -else
  35606. - build_python="yes"
  35607. +if test -z "${BUILD_ALISP_TRUE}" && test -z "${BUILD_ALISP_FALSE}"; then
  35608. + as_fn_error "conditional \"BUILD_ALISP\" was never defined.
  35609. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35610. fi
  35611. -
  35612. -PYTHON_LIBS=""
  35613. -PYTHON_INCLUDES=""
  35614. -if test "$build_python" = "yes"; then
  35615. -
  35616. -# Check whether --with-pythonlibs was given.
  35617. -if test "${with_pythonlibs+set}" = set; then
  35618. - withval=$with_pythonlibs; pythonlibs="$withval"
  35619. -else
  35620. - pythonlibs=`python-config --libs`
  35621. +if test -z "${BUILD_PYTHON_TRUE}" && test -z "${BUILD_PYTHON_FALSE}"; then
  35622. + as_fn_error "conditional \"BUILD_PYTHON\" was never defined.
  35623. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35624. fi
  35625. -
  35626. -
  35627. -# Check whether --with-pythonincludes was given.
  35628. -if test "${with_pythonincludes+set}" = set; then
  35629. - withval=$with_pythonincludes; pythonincludes="$withval"
  35630. -else
  35631. - pythonincludes=`python-config --includes`
  35632. +if test -z "${BUILD_PCM_PLUGIN_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FALSE}"; then
  35633. + as_fn_error "conditional \"BUILD_PCM_PLUGIN\" was never defined.
  35634. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35635. fi
  35636. -
  35637. - if test -z "$pythonlibs"; then
  35638. - echo "Unable to determine python libraries! Probably python-config is not"
  35639. - echo "available on this system. Please, use --with-pythonlibs and"
  35640. - echo "--with-pythonincludes options. Python components are disabled in this build."
  35641. - build_python="no"
  35642. - else
  35643. - PYTHON_LIBS="$pythonlibs"
  35644. - PYTHON_INCLUDES="$pythonincludes"
  35645. - fi
  35646. +if test -z "${BUILD_PCM_PLUGIN_COPY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_COPY_FALSE}"; then
  35647. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined.
  35648. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35649. fi
  35650. -
  35651. -
  35652. -
  35653. -
  35654. -
  35655. -if test x$build_mixer = xyes; then
  35656. - BUILD_MIXER_TRUE=
  35657. - BUILD_MIXER_FALSE='#'
  35658. -else
  35659. - BUILD_MIXER_TRUE='#'
  35660. - BUILD_MIXER_FALSE=
  35661. +if test -z "${BUILD_PCM_PLUGIN_LINEAR_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LINEAR_FALSE}"; then
  35662. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined.
  35663. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35664. fi
  35665. -
  35666. -
  35667. -
  35668. -if test x$build_pcm = xyes; then
  35669. - BUILD_PCM_TRUE=
  35670. - BUILD_PCM_FALSE='#'
  35671. -else
  35672. - BUILD_PCM_TRUE='#'
  35673. - BUILD_PCM_FALSE=
  35674. +if test -z "${BUILD_PCM_PLUGIN_ROUTE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ROUTE_FALSE}"; then
  35675. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined.
  35676. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35677. fi
  35678. -
  35679. -
  35680. -
  35681. -if test x$build_rawmidi = xyes; then
  35682. - BUILD_RAWMIDI_TRUE=
  35683. - BUILD_RAWMIDI_FALSE='#'
  35684. -else
  35685. - BUILD_RAWMIDI_TRUE='#'
  35686. - BUILD_RAWMIDI_FALSE=
  35687. +if test -z "${BUILD_PCM_PLUGIN_MULAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULAW_FALSE}"; then
  35688. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined.
  35689. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35690. fi
  35691. -
  35692. -
  35693. -
  35694. -if test x$build_hwdep = xyes; then
  35695. - BUILD_HWDEP_TRUE=
  35696. - BUILD_HWDEP_FALSE='#'
  35697. -else
  35698. - BUILD_HWDEP_TRUE='#'
  35699. - BUILD_HWDEP_FALSE=
  35700. +if test -z "${BUILD_PCM_PLUGIN_ALAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ALAW_FALSE}"; then
  35701. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined.
  35702. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35703. +fi
  35704. +if test -z "${BUILD_PCM_PLUGIN_ADPCM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ADPCM_FALSE}"; then
  35705. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined.
  35706. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35707. +fi
  35708. +if test -z "${BUILD_PCM_PLUGIN_RATE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_RATE_FALSE}"; then
  35709. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined.
  35710. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35711. +fi
  35712. +if test -z "${BUILD_PCM_PLUGIN_PLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_PLUG_FALSE}"; then
  35713. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined.
  35714. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35715. +fi
  35716. +if test -z "${BUILD_PCM_PLUGIN_MULTI_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULTI_FALSE}"; then
  35717. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined.
  35718. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35719. fi
  35720. +if test -z "${BUILD_PCM_PLUGIN_SHM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHM_FALSE}"; then
  35721. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined.
  35722. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35723. +fi
  35724. +if test -z "${BUILD_PCM_PLUGIN_FILE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FILE_FALSE}"; then
  35725. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined.
  35726. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35727. +fi
  35728. +if test -z "${BUILD_PCM_PLUGIN_NULL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_NULL_FALSE}"; then
  35729. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined.
  35730. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35731. +fi
  35732. +if test -z "${BUILD_PCM_PLUGIN_EMPTY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EMPTY_FALSE}"; then
  35733. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined.
  35734. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35735. +fi
  35736. +if test -z "${BUILD_PCM_PLUGIN_SHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHARE_FALSE}"; then
  35737. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined.
  35738. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35739. +fi
  35740. +if test -z "${BUILD_PCM_PLUGIN_METER_TRUE}" && test -z "${BUILD_PCM_PLUGIN_METER_FALSE}"; then
  35741. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_METER\" was never defined.
  35742. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35743. +fi
  35744. +if test -z "${BUILD_PCM_PLUGIN_HOOKS_TRUE}" && test -z "${BUILD_PCM_PLUGIN_HOOKS_FALSE}"; then
  35745. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined.
  35746. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35747. +fi
  35748. +if test -z "${BUILD_PCM_PLUGIN_LFLOAT_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LFLOAT_FALSE}"; then
  35749. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined.
  35750. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35751. +fi
  35752. +if test -z "${BUILD_PCM_PLUGIN_LADSPA_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LADSPA_FALSE}"; then
  35753. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined.
  35754. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35755. +fi
  35756. +if test -z "${BUILD_PCM_PLUGIN_DMIX_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DMIX_FALSE}"; then
  35757. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined.
  35758. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35759. +fi
  35760. +if test -z "${BUILD_PCM_PLUGIN_DSHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSHARE_FALSE}"; then
  35761. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined.
  35762. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35763. +fi
  35764. +if test -z "${BUILD_PCM_PLUGIN_DSNOOP_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSNOOP_FALSE}"; then
  35765. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined.
  35766. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35767. +fi
  35768. +if test -z "${BUILD_PCM_PLUGIN_ASYM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ASYM_FALSE}"; then
  35769. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined.
  35770. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35771. +fi
  35772. +if test -z "${BUILD_PCM_PLUGIN_IEC958_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IEC958_FALSE}"; then
  35773. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined.
  35774. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35775. +fi
  35776. +if test -z "${BUILD_PCM_PLUGIN_SOFTVOL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SOFTVOL_FALSE}"; then
  35777. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined.
  35778. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35779. +fi
  35780. +if test -z "${BUILD_PCM_PLUGIN_EXTPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EXTPLUG_FALSE}"; then
  35781. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined.
  35782. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35783. +fi
  35784. +if test -z "${BUILD_PCM_PLUGIN_IOPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IOPLUG_FALSE}"; then
  35785. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined.
  35786. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35787. +fi
  35788. +if test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE}"; then
  35789. + as_fn_error "conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined.
  35790. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35791. +fi
  35792. +if test -z "${BUILD_CTL_PLUGIN_TRUE}" && test -z "${BUILD_CTL_PLUGIN_FALSE}"; then
  35793. + as_fn_error "conditional \"BUILD_CTL_PLUGIN\" was never defined.
  35794. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35795. +fi
  35796. +if test -z "${BUILD_CTL_PLUGIN_SHM_TRUE}" && test -z "${BUILD_CTL_PLUGIN_SHM_FALSE}"; then
  35797. + as_fn_error "conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined.
  35798. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35799. +fi
  35800. +if test -z "${BUILD_CTL_PLUGIN_EXT_TRUE}" && test -z "${BUILD_CTL_PLUGIN_EXT_FALSE}"; then
  35801. + as_fn_error "conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined.
  35802. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35803. +fi
  35804. +
  35805. +: ${CONFIG_STATUS=./config.status}
  35806. +ac_write_fail=0
  35807. +ac_clean_files_save=$ac_clean_files
  35808. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  35809. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  35810. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  35811. +as_write_fail=0
  35812. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  35813. +#! $SHELL
  35814. +# Generated by $as_me.
  35815. +# Run this file to recreate the current configuration.
  35816. +# Compiler output produced by configure, useful for debugging
  35817. +# configure, is in config.log if it exists.
  35818. +debug=false
  35819. +ac_cs_recheck=false
  35820. +ac_cs_silent=false
  35821. +SHELL=\${CONFIG_SHELL-$SHELL}
  35822. +export SHELL
  35823. +_ASEOF
  35824. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  35825. +## -------------------- ##
  35826. +## M4sh Initialization. ##
  35827. +## -------------------- ##
  35828. -if test x$build_seq = xyes; then
  35829. - BUILD_SEQ_TRUE=
  35830. - BUILD_SEQ_FALSE='#'
  35831. +# Be more Bourne compatible
  35832. +DUALCASE=1; export DUALCASE # for MKS sh
  35833. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  35834. + emulate sh
  35835. + NULLCMD=:
  35836. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  35837. + # is contrary to our usage. Disable this feature.
  35838. + alias -g '${1+"$@"}'='"$@"'
  35839. + setopt NO_GLOB_SUBST
  35840. else
  35841. - BUILD_SEQ_TRUE='#'
  35842. - BUILD_SEQ_FALSE=
  35843. + case `(set -o) 2>/dev/null` in #(
  35844. + *posix*) :
  35845. + set -o posix ;; #(
  35846. + *) :
  35847. + ;;
  35848. +esac
  35849. fi
  35850. -
  35851. -if test x$build_alisp = xyes; then
  35852. - BUILD_ALISP_TRUE=
  35853. - BUILD_ALISP_FALSE='#'
  35854. -else
  35855. - BUILD_ALISP_TRUE='#'
  35856. - BUILD_ALISP_FALSE=
  35857. +as_nl='
  35858. +'
  35859. +export as_nl
  35860. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  35861. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  35862. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  35863. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  35864. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  35865. +# but without wasting forks for bash or zsh.
  35866. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  35867. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  35868. + as_echo='print -r --'
  35869. + as_echo_n='print -rn --'
  35870. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  35871. + as_echo='printf %s\n'
  35872. + as_echo_n='printf %s'
  35873. +else
  35874. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  35875. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  35876. + as_echo_n='/usr/ucb/echo -n'
  35877. + else
  35878. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  35879. + as_echo_n_body='eval
  35880. + arg=$1;
  35881. + case $arg in #(
  35882. + *"$as_nl"*)
  35883. + expr "X$arg" : "X\\(.*\\)$as_nl";
  35884. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  35885. + esac;
  35886. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  35887. + '
  35888. + export as_echo_n_body
  35889. + as_echo_n='sh -c $as_echo_n_body as_echo'
  35890. + fi
  35891. + export as_echo_body
  35892. + as_echo='sh -c $as_echo_body as_echo'
  35893. fi
  35894. -
  35895. -
  35896. -if test x$build_python = xyes; then
  35897. - BUILD_PYTHON_TRUE=
  35898. - BUILD_PYTHON_FALSE='#'
  35899. -else
  35900. - BUILD_PYTHON_TRUE='#'
  35901. - BUILD_PYTHON_FALSE=
  35902. +# The user is always right.
  35903. +if test "${PATH_SEPARATOR+set}" != set; then
  35904. + PATH_SEPARATOR=:
  35905. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  35906. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  35907. + PATH_SEPARATOR=';'
  35908. + }
  35909. fi
  35910. -if test "$build_mixer" = "yes"; then
  35911. +# IFS
  35912. +# We need space, tab and new line, in precisely that order. Quoting is
  35913. +# there to prevent editors from complaining about space-tab.
  35914. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  35915. +# splitting by setting IFS to empty value.)
  35916. +IFS=" "" $as_nl"
  35917. -cat >>confdefs.h <<\_ACEOF
  35918. -#define BUILD_MIXER "1"
  35919. -_ACEOF
  35920. +# Find who we are. Look in the path if we contain no directory separator.
  35921. +case $0 in #((
  35922. + *[\\/]* ) as_myself=$0 ;;
  35923. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  35924. +for as_dir in $PATH
  35925. +do
  35926. + IFS=$as_save_IFS
  35927. + test -z "$as_dir" && as_dir=.
  35928. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  35929. + done
  35930. +IFS=$as_save_IFS
  35931. + ;;
  35932. +esac
  35933. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  35934. +# in which case we are not to be found in the path.
  35935. +if test "x$as_myself" = x; then
  35936. + as_myself=$0
  35937. fi
  35938. -if test "$build_pcm" = "yes"; then
  35939. -
  35940. -cat >>confdefs.h <<\_ACEOF
  35941. -#define BUILD_PCM "1"
  35942. -_ACEOF
  35943. -
  35944. +if test ! -f "$as_myself"; then
  35945. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  35946. + exit 1
  35947. fi
  35948. -if test "$build_rawmidi" = "yes"; then
  35949. -cat >>confdefs.h <<\_ACEOF
  35950. -#define BUILD_RAWMIDI "1"
  35951. -_ACEOF
  35952. -
  35953. -fi
  35954. -if test "$build_hwdep" = "yes"; then
  35955. +# Unset variables that we do not need and which cause bugs (e.g. in
  35956. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  35957. +# suppresses any "Segmentation fault" message there. '((' could
  35958. +# trigger a bug in pdksh 5.2.14.
  35959. +for as_var in BASH_ENV ENV MAIL MAILPATH
  35960. +do eval test x\${$as_var+set} = xset \
  35961. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  35962. +done
  35963. +PS1='$ '
  35964. +PS2='> '
  35965. +PS4='+ '
  35966. -cat >>confdefs.h <<\_ACEOF
  35967. -#define BUILD_HWDEP "1"
  35968. -_ACEOF
  35969. +# NLS nuisances.
  35970. +LC_ALL=C
  35971. +export LC_ALL
  35972. +LANGUAGE=C
  35973. +export LANGUAGE
  35974. -fi
  35975. -if test "$build_seq" = "yes"; then
  35976. +# CDPATH.
  35977. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  35978. -cat >>confdefs.h <<\_ACEOF
  35979. -#define BUILD_SEQ "1"
  35980. -_ACEOF
  35981. -fi
  35982. +# as_fn_error ERROR [LINENO LOG_FD]
  35983. +# ---------------------------------
  35984. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  35985. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  35986. +# script with status $?, using 1 if that was 0.
  35987. +as_fn_error ()
  35988. +{
  35989. + as_status=$?; test $as_status -eq 0 && as_status=1
  35990. + if test "$3"; then
  35991. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  35992. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  35993. + fi
  35994. + $as_echo "$as_me: error: $1" >&2
  35995. + as_fn_exit $as_status
  35996. +} # as_fn_error
  35997. +
  35998. +
  35999. +# as_fn_set_status STATUS
  36000. +# -----------------------
  36001. +# Set $? to STATUS, without forking.
  36002. +as_fn_set_status ()
  36003. +{
  36004. + return $1
  36005. +} # as_fn_set_status
  36006. +
  36007. +# as_fn_exit STATUS
  36008. +# -----------------
  36009. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  36010. +as_fn_exit ()
  36011. +{
  36012. + set +e
  36013. + as_fn_set_status $1
  36014. + exit $1
  36015. +} # as_fn_exit
  36016. +
  36017. +# as_fn_unset VAR
  36018. +# ---------------
  36019. +# Portably unset VAR.
  36020. +as_fn_unset ()
  36021. +{
  36022. + { eval $1=; unset $1;}
  36023. +}
  36024. +as_unset=as_fn_unset
  36025. +# as_fn_append VAR VALUE
  36026. +# ----------------------
  36027. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  36028. +# advantage of any shell optimizations that allow amortized linear growth over
  36029. +# repeated appends, instead of the typical quadratic growth present in naive
  36030. +# implementations.
  36031. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  36032. + eval 'as_fn_append ()
  36033. + {
  36034. + eval $1+=\$2
  36035. + }'
  36036. +else
  36037. + as_fn_append ()
  36038. + {
  36039. + eval $1=\$$1\$2
  36040. + }
  36041. +fi # as_fn_append
  36042. +# as_fn_arith ARG...
  36043. +# ------------------
  36044. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  36045. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  36046. +# must be portable across $(()) and expr.
  36047. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  36048. + eval 'as_fn_arith ()
  36049. + {
  36050. + as_val=$(( $* ))
  36051. + }'
  36052. +else
  36053. + as_fn_arith ()
  36054. + {
  36055. + as_val=`expr "$@" || test $? -eq 1`
  36056. + }
  36057. +fi # as_fn_arith
  36058. -if test "$build_pcm" = "yes"; then
  36059. -# Check whether --with-pcm-plugins was given.
  36060. -if test "${with_pcm_plugins+set}" = set; then
  36061. - withval=$with_pcm_plugins; pcm_plugins="$withval"
  36062. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  36063. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  36064. + as_expr=expr
  36065. else
  36066. - pcm_plugins="all"
  36067. + as_expr=false
  36068. fi
  36069. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  36070. + as_basename=basename
  36071. else
  36072. -pcm_plugins=""
  36073. + as_basename=false
  36074. fi
  36075. -PCM_PLUGIN_LIST="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul"
  36076. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  36077. + as_dirname=dirname
  36078. +else
  36079. + as_dirname=false
  36080. +fi
  36081. -build_pcm_plugin="no"
  36082. -for t in $PCM_PLUGIN_LIST; do
  36083. - eval build_pcm_$t="no"
  36084. -done
  36085. +as_me=`$as_basename -- "$0" ||
  36086. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  36087. + X"$0" : 'X\(//\)$' \| \
  36088. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  36089. +$as_echo X/"$0" |
  36090. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  36091. + s//\1/
  36092. + q
  36093. + }
  36094. + /^X\/\(\/\/\)$/{
  36095. + s//\1/
  36096. + q
  36097. + }
  36098. + /^X\/\(\/\).*/{
  36099. + s//\1/
  36100. + q
  36101. + }
  36102. + s/.*/./; q'`
  36103. -pcm_plugins=`echo $pcm_plugins | sed 's/,/ /g'`
  36104. -for p in $pcm_plugins; do
  36105. - for t in $PCM_PLUGIN_LIST; do
  36106. - if test "$p" = "$t" -o "$p" = "all"; then
  36107. - eval build_pcm_$t="yes"
  36108. - build_pcm_plugin="yes"
  36109. - fi
  36110. - done
  36111. -done
  36112. +# Avoid depending upon Character Ranges.
  36113. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  36114. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  36115. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  36116. +as_cr_digits='0123456789'
  36117. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  36118. -if test "$build_pcm_plug" = "yes"; then
  36119. - build_pcm_linear="yes"
  36120. - build_pcm_copy="yes"
  36121. -fi
  36122. +ECHO_C= ECHO_N= ECHO_T=
  36123. +case `echo -n x` in #(((((
  36124. +-n*)
  36125. + case `echo 'xy\c'` in
  36126. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  36127. + xy) ECHO_C='\c';;
  36128. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  36129. + ECHO_T=' ';;
  36130. + esac;;
  36131. +*)
  36132. + ECHO_N='-n';;
  36133. +esac
  36134. -if test "$build_pcm_ioplug" = "yes"; then
  36135. - build_pcm_extplug="yes"
  36136. +rm -f conf$$ conf$$.exe conf$$.file
  36137. +if test -d conf$$.dir; then
  36138. + rm -f conf$$.dir/conf$$.file
  36139. +else
  36140. + rm -f conf$$.dir
  36141. + mkdir conf$$.dir 2>/dev/null
  36142. fi
  36143. -
  36144. -if test "$HAVE_LIBDL" != "yes"; then
  36145. - build_pcm_meter="no"
  36146. - build_pcm_ladspa="no"
  36147. - build_pcm_pcm_ioplug="no"
  36148. - build_pcm_pcm_extplug="no"
  36149. +if (echo >conf$$.file) 2>/dev/null; then
  36150. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  36151. + as_ln_s='ln -s'
  36152. + # ... but there are two gotchas:
  36153. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  36154. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  36155. + # In both cases, we have to default to `cp -p'.
  36156. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  36157. + as_ln_s='cp -p'
  36158. + elif ln conf$$.file conf$$ 2>/dev/null; then
  36159. + as_ln_s=ln
  36160. + else
  36161. + as_ln_s='cp -p'
  36162. + fi
  36163. +else
  36164. + as_ln_s='cp -p'
  36165. fi
  36166. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  36167. +rmdir conf$$.dir 2>/dev/null
  36168. -if test "$HAVE_LIBPTHREAD" != "yes"; then
  36169. - build_pcm_share="no"
  36170. -fi
  36171. -if test "$softfloat" = "yes"; then
  36172. - build_pcm_lfloat="no"
  36173. - build_pcm_ladspa="no"
  36174. -fi
  36175. +# as_fn_mkdir_p
  36176. +# -------------
  36177. +# Create "$as_dir" as a directory, including parents if necessary.
  36178. +as_fn_mkdir_p ()
  36179. +{
  36180. + case $as_dir in #(
  36181. + -*) as_dir=./$as_dir;;
  36182. + esac
  36183. + test -d "$as_dir" || eval $as_mkdir_p || {
  36184. + as_dirs=
  36185. + while :; do
  36186. + case $as_dir in #(
  36187. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  36188. + *) as_qdir=$as_dir;;
  36189. + esac
  36190. + as_dirs="'$as_qdir' $as_dirs"
  36191. + as_dir=`$as_dirname -- "$as_dir" ||
  36192. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  36193. + X"$as_dir" : 'X\(//\)[^/]' \| \
  36194. + X"$as_dir" : 'X\(//\)$' \| \
  36195. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  36196. +$as_echo X"$as_dir" |
  36197. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  36198. + s//\1/
  36199. + q
  36200. + }
  36201. + /^X\(\/\/\)[^/].*/{
  36202. + s//\1/
  36203. + q
  36204. + }
  36205. + /^X\(\/\/\)$/{
  36206. + s//\1/
  36207. + q
  36208. + }
  36209. + /^X\(\/\).*/{
  36210. + s//\1/
  36211. + q
  36212. + }
  36213. + s/.*/./; q'`
  36214. + test -d "$as_dir" && break
  36215. + done
  36216. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  36217. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  36218. -if test x$build_pcm_plugin = xyes; then
  36219. - BUILD_PCM_PLUGIN_TRUE=
  36220. - BUILD_PCM_PLUGIN_FALSE='#'
  36221. +} # as_fn_mkdir_p
  36222. +if mkdir -p . 2>/dev/null; then
  36223. + as_mkdir_p='mkdir -p "$as_dir"'
  36224. else
  36225. - BUILD_PCM_PLUGIN_TRUE='#'
  36226. - BUILD_PCM_PLUGIN_FALSE=
  36227. + test -d ./-p && rmdir ./-p
  36228. + as_mkdir_p=false
  36229. fi
  36230. -
  36231. -
  36232. -if test x$build_pcm_copy = xyes; then
  36233. - BUILD_PCM_PLUGIN_COPY_TRUE=
  36234. - BUILD_PCM_PLUGIN_COPY_FALSE='#'
  36235. +if test -x / >/dev/null 2>&1; then
  36236. + as_test_x='test -x'
  36237. else
  36238. - BUILD_PCM_PLUGIN_COPY_TRUE='#'
  36239. - BUILD_PCM_PLUGIN_COPY_FALSE=
  36240. + if ls -dL / >/dev/null 2>&1; then
  36241. + as_ls_L_option=L
  36242. + else
  36243. + as_ls_L_option=
  36244. + fi
  36245. + as_test_x='
  36246. + eval sh -c '\''
  36247. + if test -d "$1"; then
  36248. + test -d "$1/.";
  36249. + else
  36250. + case $1 in #(
  36251. + -*)set "./$1";;
  36252. + esac;
  36253. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  36254. + ???[sx]*):;;*)false;;esac;fi
  36255. + '\'' sh
  36256. + '
  36257. fi
  36258. +as_executable_p=$as_test_x
  36259. +# Sed expression to map a string onto a valid CPP name.
  36260. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  36261. +# Sed expression to map a string onto a valid variable name.
  36262. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  36263. -if test x$build_pcm_linear = xyes; then
  36264. - BUILD_PCM_PLUGIN_LINEAR_TRUE=
  36265. - BUILD_PCM_PLUGIN_LINEAR_FALSE='#'
  36266. -else
  36267. - BUILD_PCM_PLUGIN_LINEAR_TRUE='#'
  36268. - BUILD_PCM_PLUGIN_LINEAR_FALSE=
  36269. -fi
  36270. +exec 6>&1
  36271. +## ----------------------------------- ##
  36272. +## Main body of $CONFIG_STATUS script. ##
  36273. +## ----------------------------------- ##
  36274. +_ASEOF
  36275. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  36276. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36277. +# Save the log message, to keep $0 and so on meaningful, and to
  36278. +# report actual input values of CONFIG_FILES etc. instead of their
  36279. +# values after options handling.
  36280. +ac_log="
  36281. +This file was extended by $as_me, which was
  36282. +generated by GNU Autoconf 2.65. Invocation command line was
  36283. -if test x$build_pcm_route = xyes; then
  36284. - BUILD_PCM_PLUGIN_ROUTE_TRUE=
  36285. - BUILD_PCM_PLUGIN_ROUTE_FALSE='#'
  36286. -else
  36287. - BUILD_PCM_PLUGIN_ROUTE_TRUE='#'
  36288. - BUILD_PCM_PLUGIN_ROUTE_FALSE=
  36289. -fi
  36290. + CONFIG_FILES = $CONFIG_FILES
  36291. + CONFIG_HEADERS = $CONFIG_HEADERS
  36292. + CONFIG_LINKS = $CONFIG_LINKS
  36293. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  36294. + $ $0 $@
  36295. +
  36296. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  36297. +"
  36298. +_ACEOF
  36299. +case $ac_config_files in *"
  36300. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  36301. +esac
  36302. -if test x$build_pcm_mulaw = xyes; then
  36303. - BUILD_PCM_PLUGIN_MULAW_TRUE=
  36304. - BUILD_PCM_PLUGIN_MULAW_FALSE='#'
  36305. -else
  36306. - BUILD_PCM_PLUGIN_MULAW_TRUE='#'
  36307. - BUILD_PCM_PLUGIN_MULAW_FALSE=
  36308. -fi
  36309. +case $ac_config_headers in *"
  36310. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  36311. +esac
  36312. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36313. +# Files that config.status was made for.
  36314. +config_files="$ac_config_files"
  36315. +config_headers="$ac_config_headers"
  36316. +config_commands="$ac_config_commands"
  36317. -if test x$build_pcm_alaw = xyes; then
  36318. - BUILD_PCM_PLUGIN_ALAW_TRUE=
  36319. - BUILD_PCM_PLUGIN_ALAW_FALSE='#'
  36320. -else
  36321. - BUILD_PCM_PLUGIN_ALAW_TRUE='#'
  36322. - BUILD_PCM_PLUGIN_ALAW_FALSE=
  36323. -fi
  36324. +_ACEOF
  36325. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36326. +ac_cs_usage="\
  36327. +\`$as_me' instantiates files and other configuration actions
  36328. +from templates according to the current configuration. Unless the files
  36329. +and actions are specified as TAGs, all are instantiated by default.
  36330. +Usage: $0 [OPTION]... [TAG]...
  36331. -if test x$build_pcm_adpcm = xyes; then
  36332. - BUILD_PCM_PLUGIN_ADPCM_TRUE=
  36333. - BUILD_PCM_PLUGIN_ADPCM_FALSE='#'
  36334. -else
  36335. - BUILD_PCM_PLUGIN_ADPCM_TRUE='#'
  36336. - BUILD_PCM_PLUGIN_ADPCM_FALSE=
  36337. -fi
  36338. + -h, --help print this help, then exit
  36339. + -V, --version print version number and configuration settings, then exit
  36340. + --config print configuration, then exit
  36341. + -q, --quiet, --silent
  36342. + do not print progress messages
  36343. + -d, --debug don't remove temporary files
  36344. + --recheck update $as_me by reconfiguring in the same conditions
  36345. + --file=FILE[:TEMPLATE]
  36346. + instantiate the configuration file FILE
  36347. + --header=FILE[:TEMPLATE]
  36348. + instantiate the configuration header FILE
  36349. +Configuration files:
  36350. +$config_files
  36351. +Configuration headers:
  36352. +$config_headers
  36353. -if test x$build_pcm_rate = xyes; then
  36354. - BUILD_PCM_PLUGIN_RATE_TRUE=
  36355. - BUILD_PCM_PLUGIN_RATE_FALSE='#'
  36356. -else
  36357. - BUILD_PCM_PLUGIN_RATE_TRUE='#'
  36358. - BUILD_PCM_PLUGIN_RATE_FALSE=
  36359. -fi
  36360. +Configuration commands:
  36361. +$config_commands
  36362. +Report bugs to the package provider."
  36363. +_ACEOF
  36364. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36365. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  36366. +ac_cs_version="\\
  36367. +config.status
  36368. +configured by $0, generated by GNU Autoconf 2.65,
  36369. + with options \\"\$ac_cs_config\\"
  36370. -if test x$build_pcm_plug = xyes; then
  36371. - BUILD_PCM_PLUGIN_PLUG_TRUE=
  36372. - BUILD_PCM_PLUGIN_PLUG_FALSE='#'
  36373. -else
  36374. - BUILD_PCM_PLUGIN_PLUG_TRUE='#'
  36375. - BUILD_PCM_PLUGIN_PLUG_FALSE=
  36376. -fi
  36377. +Copyright (C) 2009 Free Software Foundation, Inc.
  36378. +This config.status script is free software; the Free Software Foundation
  36379. +gives unlimited permission to copy, distribute and modify it."
  36380. +ac_pwd='$ac_pwd'
  36381. +srcdir='$srcdir'
  36382. +INSTALL='$INSTALL'
  36383. +MKDIR_P='$MKDIR_P'
  36384. +AWK='$AWK'
  36385. +test -n "\$AWK" || AWK=awk
  36386. +_ACEOF
  36387. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36388. +# The default lists apply if the user does not specify any file.
  36389. +ac_need_defaults=:
  36390. +while test $# != 0
  36391. +do
  36392. + case $1 in
  36393. + --*=*)
  36394. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  36395. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  36396. + ac_shift=:
  36397. + ;;
  36398. + *)
  36399. + ac_option=$1
  36400. + ac_optarg=$2
  36401. + ac_shift=shift
  36402. + ;;
  36403. + esac
  36404. -if test x$build_pcm_multi = xyes; then
  36405. - BUILD_PCM_PLUGIN_MULTI_TRUE=
  36406. - BUILD_PCM_PLUGIN_MULTI_FALSE='#'
  36407. -else
  36408. - BUILD_PCM_PLUGIN_MULTI_TRUE='#'
  36409. - BUILD_PCM_PLUGIN_MULTI_FALSE=
  36410. -fi
  36411. + case $ac_option in
  36412. + # Handling of the options.
  36413. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  36414. + ac_cs_recheck=: ;;
  36415. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  36416. + $as_echo "$ac_cs_version"; exit ;;
  36417. + --config | --confi | --conf | --con | --co | --c )
  36418. + $as_echo "$ac_cs_config"; exit ;;
  36419. + --debug | --debu | --deb | --de | --d | -d )
  36420. + debug=: ;;
  36421. + --file | --fil | --fi | --f )
  36422. + $ac_shift
  36423. + case $ac_optarg in
  36424. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  36425. + esac
  36426. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  36427. + ac_need_defaults=false;;
  36428. + --header | --heade | --head | --hea )
  36429. + $ac_shift
  36430. + case $ac_optarg in
  36431. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  36432. + esac
  36433. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  36434. + ac_need_defaults=false;;
  36435. + --he | --h)
  36436. + # Conflict between --help and --header
  36437. + as_fn_error "ambiguous option: \`$1'
  36438. +Try \`$0 --help' for more information.";;
  36439. + --help | --hel | -h )
  36440. + $as_echo "$ac_cs_usage"; exit ;;
  36441. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  36442. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  36443. + ac_cs_silent=: ;;
  36444. + # This is an error.
  36445. + -*) as_fn_error "unrecognized option: \`$1'
  36446. +Try \`$0 --help' for more information." ;;
  36447. + *) as_fn_append ac_config_targets " $1"
  36448. + ac_need_defaults=false ;;
  36449. -if test x$build_pcm_shm = xyes; then
  36450. - BUILD_PCM_PLUGIN_SHM_TRUE=
  36451. - BUILD_PCM_PLUGIN_SHM_FALSE='#'
  36452. -else
  36453. - BUILD_PCM_PLUGIN_SHM_TRUE='#'
  36454. - BUILD_PCM_PLUGIN_SHM_FALSE=
  36455. -fi
  36456. + esac
  36457. + shift
  36458. +done
  36459. +ac_configure_extra_args=
  36460. +if $ac_cs_silent; then
  36461. + exec 6>/dev/null
  36462. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  36463. +fi
  36464. -if test x$build_pcm_file = xyes; then
  36465. - BUILD_PCM_PLUGIN_FILE_TRUE=
  36466. - BUILD_PCM_PLUGIN_FILE_FALSE='#'
  36467. -else
  36468. - BUILD_PCM_PLUGIN_FILE_TRUE='#'
  36469. - BUILD_PCM_PLUGIN_FILE_FALSE=
  36470. +_ACEOF
  36471. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36472. +if \$ac_cs_recheck; then
  36473. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  36474. + shift
  36475. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  36476. + CONFIG_SHELL='$SHELL'
  36477. + export CONFIG_SHELL
  36478. + exec "\$@"
  36479. fi
  36480. +_ACEOF
  36481. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36482. +exec 5>>config.log
  36483. +{
  36484. + echo
  36485. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  36486. +## Running $as_me. ##
  36487. +_ASBOX
  36488. + $as_echo "$ac_log"
  36489. +} >&5
  36490. +_ACEOF
  36491. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36492. +#
  36493. +# INIT-COMMANDS
  36494. +#
  36495. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  36496. -if test x$build_pcm_null = xyes; then
  36497. - BUILD_PCM_PLUGIN_NULL_TRUE=
  36498. - BUILD_PCM_PLUGIN_NULL_FALSE='#'
  36499. -else
  36500. - BUILD_PCM_PLUGIN_NULL_TRUE='#'
  36501. - BUILD_PCM_PLUGIN_NULL_FALSE=
  36502. -fi
  36503. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  36504. +# if CDPATH is set.
  36505. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  36506. +sed_quote_subst='$sed_quote_subst'
  36507. +double_quote_subst='$double_quote_subst'
  36508. +delay_variable_subst='$delay_variable_subst'
  36509. +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  36510. +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  36511. +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  36512. +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  36513. +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  36514. +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  36515. +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  36516. +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  36517. +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  36518. +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  36519. +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  36520. +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  36521. +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  36522. +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  36523. +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  36524. +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  36525. +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  36526. +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  36527. +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  36528. +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  36529. +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  36530. +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  36531. +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  36532. +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  36533. +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  36534. +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  36535. +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  36536. +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36537. +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  36538. +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  36539. +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  36540. +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  36541. +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  36542. +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  36543. +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  36544. +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36545. +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36546. +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36547. +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  36548. +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  36549. +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  36550. +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  36551. +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  36552. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  36553. +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"`'
  36554. +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"`'
  36555. +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  36556. +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  36557. +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  36558. +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  36559. +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  36560. +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  36561. +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  36562. +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  36563. +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  36564. +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  36565. +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  36566. +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  36567. +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  36568. +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  36569. +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  36570. +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  36571. +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36572. +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36573. +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  36574. +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  36575. +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36576. +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36577. +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  36578. +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36579. +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36580. +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36581. +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36582. +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36583. +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36584. +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  36585. +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  36586. +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  36587. +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36588. +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  36589. +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  36590. +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  36591. +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  36592. +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  36593. +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  36594. +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  36595. +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  36596. +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  36597. +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  36598. +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  36599. +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36600. +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  36601. +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  36602. +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36603. +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36604. +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  36605. +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  36606. +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  36607. +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  36608. +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  36609. +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  36610. +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  36611. +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36612. +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36613. +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36614. +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36615. +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36616. +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  36617. +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  36618. +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  36619. +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36620. +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  36621. +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  36622. +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  36623. +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  36624. +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  36625. +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  36626. +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  36627. +
  36628. +LTCC='$LTCC'
  36629. +LTCFLAGS='$LTCFLAGS'
  36630. +compiler='$compiler_DEFAULT'
  36631. +
  36632. +# Quote evaled strings.
  36633. +for var in SED \
  36634. +GREP \
  36635. +EGREP \
  36636. +FGREP \
  36637. +LD \
  36638. +NM \
  36639. +LN_S \
  36640. +lt_SP2NL \
  36641. +lt_NL2SP \
  36642. +reload_flag \
  36643. +OBJDUMP \
  36644. +deplibs_check_method \
  36645. +file_magic_cmd \
  36646. +AR \
  36647. +AR_FLAGS \
  36648. +STRIP \
  36649. +RANLIB \
  36650. +CC \
  36651. +CFLAGS \
  36652. +compiler \
  36653. +lt_cv_sys_global_symbol_pipe \
  36654. +lt_cv_sys_global_symbol_to_cdecl \
  36655. +lt_cv_sys_global_symbol_to_c_name_address \
  36656. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  36657. +SHELL \
  36658. +ECHO \
  36659. +lt_prog_compiler_no_builtin_flag \
  36660. +lt_prog_compiler_wl \
  36661. +lt_prog_compiler_pic \
  36662. +lt_prog_compiler_static \
  36663. +lt_cv_prog_compiler_c_o \
  36664. +need_locks \
  36665. +DSYMUTIL \
  36666. +NMEDIT \
  36667. +LIPO \
  36668. +OTOOL \
  36669. +OTOOL64 \
  36670. +shrext_cmds \
  36671. +export_dynamic_flag_spec \
  36672. +whole_archive_flag_spec \
  36673. +compiler_needs_object \
  36674. +with_gnu_ld \
  36675. +allow_undefined_flag \
  36676. +no_undefined_flag \
  36677. +hardcode_libdir_flag_spec \
  36678. +hardcode_libdir_flag_spec_ld \
  36679. +hardcode_libdir_separator \
  36680. +fix_srcfile_path \
  36681. +exclude_expsyms \
  36682. +include_expsyms \
  36683. +file_list_spec \
  36684. +variables_saved_for_relink \
  36685. +libname_spec \
  36686. +library_names_spec \
  36687. +soname_spec \
  36688. +finish_eval \
  36689. +old_striplib \
  36690. +striplib; do
  36691. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  36692. + *[\\\\\\\`\\"\\\$]*)
  36693. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  36694. + ;;
  36695. + *)
  36696. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  36697. + ;;
  36698. + esac
  36699. +done
  36700. -if test x$build_pcm_empty = xyes; then
  36701. - BUILD_PCM_PLUGIN_EMPTY_TRUE=
  36702. - BUILD_PCM_PLUGIN_EMPTY_FALSE='#'
  36703. -else
  36704. - BUILD_PCM_PLUGIN_EMPTY_TRUE='#'
  36705. - BUILD_PCM_PLUGIN_EMPTY_FALSE=
  36706. -fi
  36707. +# Double-quote double-evaled strings.
  36708. +for var in reload_cmds \
  36709. +old_postinstall_cmds \
  36710. +old_postuninstall_cmds \
  36711. +old_archive_cmds \
  36712. +extract_expsyms_cmds \
  36713. +old_archive_from_new_cmds \
  36714. +old_archive_from_expsyms_cmds \
  36715. +archive_cmds \
  36716. +archive_expsym_cmds \
  36717. +module_cmds \
  36718. +module_expsym_cmds \
  36719. +export_symbols_cmds \
  36720. +prelink_cmds \
  36721. +postinstall_cmds \
  36722. +postuninstall_cmds \
  36723. +finish_cmds \
  36724. +sys_lib_search_path_spec \
  36725. +sys_lib_dlsearch_path_spec; do
  36726. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  36727. + *[\\\\\\\`\\"\\\$]*)
  36728. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  36729. + ;;
  36730. + *)
  36731. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  36732. + ;;
  36733. + esac
  36734. +done
  36735. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  36736. +case \$lt_ECHO in
  36737. +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  36738. + ;;
  36739. +esac
  36740. +ac_aux_dir='$ac_aux_dir'
  36741. +xsi_shell='$xsi_shell'
  36742. +lt_shell_append='$lt_shell_append'
  36743. -if test x$build_pcm_share = xyes; then
  36744. - BUILD_PCM_PLUGIN_SHARE_TRUE=
  36745. - BUILD_PCM_PLUGIN_SHARE_FALSE='#'
  36746. -else
  36747. - BUILD_PCM_PLUGIN_SHARE_TRUE='#'
  36748. - BUILD_PCM_PLUGIN_SHARE_FALSE=
  36749. +# See if we are running on zsh, and set the options which allow our
  36750. +# commands through without removal of \ escapes INIT.
  36751. +if test -n "\${ZSH_VERSION+set}" ; then
  36752. + setopt NO_GLOB_SUBST
  36753. fi
  36754. -
  36755. -if test x$build_pcm_meter = xyes; then
  36756. - BUILD_PCM_PLUGIN_METER_TRUE=
  36757. - BUILD_PCM_PLUGIN_METER_FALSE='#'
  36758. -else
  36759. - BUILD_PCM_PLUGIN_METER_TRUE='#'
  36760. - BUILD_PCM_PLUGIN_METER_FALSE=
  36761. -fi
  36762. + PACKAGE='$PACKAGE'
  36763. + VERSION='$VERSION'
  36764. + TIMESTAMP='$TIMESTAMP'
  36765. + RM='$RM'
  36766. + ofile='$ofile'
  36767. -if test x$build_pcm_hooks = xyes; then
  36768. - BUILD_PCM_PLUGIN_HOOKS_TRUE=
  36769. - BUILD_PCM_PLUGIN_HOOKS_FALSE='#'
  36770. -else
  36771. - BUILD_PCM_PLUGIN_HOOKS_TRUE='#'
  36772. - BUILD_PCM_PLUGIN_HOOKS_FALSE=
  36773. -fi
  36774. +_ACEOF
  36775. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36776. -if test x$build_pcm_lfloat = xyes; then
  36777. - BUILD_PCM_PLUGIN_LFLOAT_TRUE=
  36778. - BUILD_PCM_PLUGIN_LFLOAT_FALSE='#'
  36779. -else
  36780. - BUILD_PCM_PLUGIN_LFLOAT_TRUE='#'
  36781. - BUILD_PCM_PLUGIN_LFLOAT_FALSE=
  36782. -fi
  36783. +# Handling of arguments.
  36784. +for ac_config_target in $ac_config_targets
  36785. +do
  36786. + case $ac_config_target in
  36787. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  36788. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  36789. + "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  36790. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  36791. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  36792. + "doc/pictures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/pictures/Makefile" ;;
  36793. + "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;;
  36794. + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  36795. + "include/sound/Makefile") CONFIG_FILES="$CONFIG_FILES include/sound/Makefile" ;;
  36796. + "src/Versions") CONFIG_FILES="$CONFIG_FILES src/Versions" ;;
  36797. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  36798. + "src/control/Makefile") CONFIG_FILES="$CONFIG_FILES src/control/Makefile" ;;
  36799. + "src/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES src/mixer/Makefile" ;;
  36800. + "src/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/Makefile" ;;
  36801. + "src/pcm/scopes/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/scopes/Makefile" ;;
  36802. + "src/rawmidi/Makefile") CONFIG_FILES="$CONFIG_FILES src/rawmidi/Makefile" ;;
  36803. + "src/timer/Makefile") CONFIG_FILES="$CONFIG_FILES src/timer/Makefile" ;;
  36804. + "src/hwdep/Makefile") CONFIG_FILES="$CONFIG_FILES src/hwdep/Makefile" ;;
  36805. + "src/seq/Makefile") CONFIG_FILES="$CONFIG_FILES src/seq/Makefile" ;;
  36806. + "src/compat/Makefile") CONFIG_FILES="$CONFIG_FILES src/compat/Makefile" ;;
  36807. + "src/alisp/Makefile") CONFIG_FILES="$CONFIG_FILES src/alisp/Makefile" ;;
  36808. + "src/conf/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/Makefile" ;;
  36809. + "src/conf/cards/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/cards/Makefile" ;;
  36810. + "src/conf/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/pcm/Makefile" ;;
  36811. + "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
  36812. + "modules/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/Makefile" ;;
  36813. + "modules/mixer/simple/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/simple/Makefile" ;;
  36814. + "alsalisp/Makefile") CONFIG_FILES="$CONFIG_FILES alsalisp/Makefile" ;;
  36815. + "aserver/Makefile") CONFIG_FILES="$CONFIG_FILES aserver/Makefile" ;;
  36816. + "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  36817. + "test/lsb/Makefile") CONFIG_FILES="$CONFIG_FILES test/lsb/Makefile" ;;
  36818. + "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
  36819. + "utils/alsa-lib.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-lib.spec" ;;
  36820. + "utils/alsa.pc") CONFIG_FILES="$CONFIG_FILES utils/alsa.pc" ;;
  36821. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  36822. + esac
  36823. +done
  36824. -if test x$build_pcm_ladspa = xyes; then
  36825. - BUILD_PCM_PLUGIN_LADSPA_TRUE=
  36826. - BUILD_PCM_PLUGIN_LADSPA_FALSE='#'
  36827. -else
  36828. - BUILD_PCM_PLUGIN_LADSPA_TRUE='#'
  36829. - BUILD_PCM_PLUGIN_LADSPA_FALSE=
  36830. +# If the user did not use the arguments to specify the items to instantiate,
  36831. +# then the envvar interface is used. Set only those that are not.
  36832. +# We use the long form for the default assignment because of an extremely
  36833. +# bizarre bug on SunOS 4.1.3.
  36834. +if $ac_need_defaults; then
  36835. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  36836. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  36837. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  36838. fi
  36839. +# Have a temporary directory for convenience. Make it in the build tree
  36840. +# simply because there is no reason against having it here, and in addition,
  36841. +# creating and moving files from /tmp can sometimes cause problems.
  36842. +# Hook for its removal unless debugging.
  36843. +# Note that there is a small window in which the directory will not be cleaned:
  36844. +# after its creation but before its name has been assigned to `$tmp'.
  36845. +$debug ||
  36846. +{
  36847. + tmp=
  36848. + trap 'exit_status=$?
  36849. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  36850. +' 0
  36851. + trap 'as_fn_exit 1' 1 2 13 15
  36852. +}
  36853. +# Create a (secure) tmp directory for tmp files.
  36854. +{
  36855. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  36856. + test -n "$tmp" && test -d "$tmp"
  36857. +} ||
  36858. +{
  36859. + tmp=./conf$$-$RANDOM
  36860. + (umask 077 && mkdir "$tmp")
  36861. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  36862. -if test x$build_pcm_dmix = xyes; then
  36863. - BUILD_PCM_PLUGIN_DMIX_TRUE=
  36864. - BUILD_PCM_PLUGIN_DMIX_FALSE='#'
  36865. -else
  36866. - BUILD_PCM_PLUGIN_DMIX_TRUE='#'
  36867. - BUILD_PCM_PLUGIN_DMIX_FALSE=
  36868. -fi
  36869. -
  36870. +# Set up the scripts for CONFIG_FILES section.
  36871. +# No need to generate them if there are no CONFIG_FILES.
  36872. +# This happens for instance with `./config.status config.h'.
  36873. +if test -n "$CONFIG_FILES"; then
  36874. -if test x$build_pcm_dshare = xyes; then
  36875. - BUILD_PCM_PLUGIN_DSHARE_TRUE=
  36876. - BUILD_PCM_PLUGIN_DSHARE_FALSE='#'
  36877. -else
  36878. - BUILD_PCM_PLUGIN_DSHARE_TRUE='#'
  36879. - BUILD_PCM_PLUGIN_DSHARE_FALSE=
  36880. +ac_cr=`echo X | tr X '\015'`
  36881. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  36882. +# But we know of no other shell where ac_cr would be empty at this
  36883. +# point, so we can use a bashism as a fallback.
  36884. +if test "x$ac_cr" = x; then
  36885. + eval ac_cr=\$\'\\r\'
  36886. fi
  36887. -
  36888. -
  36889. -
  36890. -if test x$build_pcm_dsnoop = xyes; then
  36891. - BUILD_PCM_PLUGIN_DSNOOP_TRUE=
  36892. - BUILD_PCM_PLUGIN_DSNOOP_FALSE='#'
  36893. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  36894. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  36895. + ac_cs_awk_cr='\r'
  36896. else
  36897. - BUILD_PCM_PLUGIN_DSNOOP_TRUE='#'
  36898. - BUILD_PCM_PLUGIN_DSNOOP_FALSE=
  36899. + ac_cs_awk_cr=$ac_cr
  36900. fi
  36901. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  36902. +_ACEOF
  36903. -if test x$build_pcm_asym = xyes; then
  36904. - BUILD_PCM_PLUGIN_ASYM_TRUE=
  36905. - BUILD_PCM_PLUGIN_ASYM_FALSE='#'
  36906. -else
  36907. - BUILD_PCM_PLUGIN_ASYM_TRUE='#'
  36908. - BUILD_PCM_PLUGIN_ASYM_FALSE=
  36909. -fi
  36910. -
  36911. +{
  36912. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  36913. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  36914. + echo "_ACEOF"
  36915. +} >conf$$subs.sh ||
  36916. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  36917. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  36918. +ac_delim='%!_!# '
  36919. +for ac_last_try in false false false false false :; do
  36920. + . ./conf$$subs.sh ||
  36921. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  36922. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  36923. + if test $ac_delim_n = $ac_delim_num; then
  36924. + break
  36925. + elif $ac_last_try; then
  36926. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  36927. + else
  36928. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  36929. + fi
  36930. +done
  36931. +rm -f conf$$subs.sh
  36932. -if test x$build_pcm_iec958 = xyes; then
  36933. - BUILD_PCM_PLUGIN_IEC958_TRUE=
  36934. - BUILD_PCM_PLUGIN_IEC958_FALSE='#'
  36935. -else
  36936. - BUILD_PCM_PLUGIN_IEC958_TRUE='#'
  36937. - BUILD_PCM_PLUGIN_IEC958_FALSE=
  36938. -fi
  36939. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36940. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  36941. +_ACEOF
  36942. +sed -n '
  36943. +h
  36944. +s/^/S["/; s/!.*/"]=/
  36945. +p
  36946. +g
  36947. +s/^[^!]*!//
  36948. +:repl
  36949. +t repl
  36950. +s/'"$ac_delim"'$//
  36951. +t delim
  36952. +:nl
  36953. +h
  36954. +s/\(.\{148\}\)..*/\1/
  36955. +t more1
  36956. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  36957. +p
  36958. +n
  36959. +b repl
  36960. +:more1
  36961. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  36962. +p
  36963. +g
  36964. +s/.\{148\}//
  36965. +t nl
  36966. +:delim
  36967. +h
  36968. +s/\(.\{148\}\)..*/\1/
  36969. +t more2
  36970. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  36971. +p
  36972. +b
  36973. +:more2
  36974. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  36975. +p
  36976. +g
  36977. +s/.\{148\}//
  36978. +t delim
  36979. +' <conf$$subs.awk | sed '
  36980. +/^[^""]/{
  36981. + N
  36982. + s/\n//
  36983. +}
  36984. +' >>$CONFIG_STATUS || ac_write_fail=1
  36985. +rm -f conf$$subs.awk
  36986. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36987. +_ACAWK
  36988. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  36989. + for (key in S) S_is_set[key] = 1
  36990. + FS = ""
  36991. +}
  36992. +{
  36993. + line = $ 0
  36994. + nfields = split(line, field, "@")
  36995. + substed = 0
  36996. + len = length(field[1])
  36997. + for (i = 2; i < nfields; i++) {
  36998. + key = field[i]
  36999. + keylen = length(key)
  37000. + if (S_is_set[key]) {
  37001. + value = S[key]
  37002. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  37003. + len += length(value) + length(field[++i])
  37004. + substed = 1
  37005. + } else
  37006. + len += 1 + keylen
  37007. + }
  37008. + print line
  37009. +}
  37010. -if test x$build_pcm_softvol = xyes; then
  37011. - BUILD_PCM_PLUGIN_SOFTVOL_TRUE=
  37012. - BUILD_PCM_PLUGIN_SOFTVOL_FALSE='#'
  37013. +_ACAWK
  37014. +_ACEOF
  37015. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  37016. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  37017. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  37018. else
  37019. - BUILD_PCM_PLUGIN_SOFTVOL_TRUE='#'
  37020. - BUILD_PCM_PLUGIN_SOFTVOL_FALSE=
  37021. -fi
  37022. -
  37023. -
  37024. + cat
  37025. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  37026. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  37027. +_ACEOF
  37028. -if test x$build_pcm_extplug = xyes; then
  37029. - BUILD_PCM_PLUGIN_EXTPLUG_TRUE=
  37030. - BUILD_PCM_PLUGIN_EXTPLUG_FALSE='#'
  37031. -else
  37032. - BUILD_PCM_PLUGIN_EXTPLUG_TRUE='#'
  37033. - BUILD_PCM_PLUGIN_EXTPLUG_FALSE=
  37034. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  37035. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  37036. +# trailing colons and then remove the whole line if VPATH becomes empty
  37037. +# (actually we leave an empty line to preserve line numbers).
  37038. +if test "x$srcdir" = x.; then
  37039. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  37040. +s/:*\$(srcdir):*/:/
  37041. +s/:*\${srcdir}:*/:/
  37042. +s/:*@srcdir@:*/:/
  37043. +s/^\([^=]*=[ ]*\):*/\1/
  37044. +s/:*$//
  37045. +s/^[^=]*=[ ]*$//
  37046. +}'
  37047. fi
  37048. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  37049. +fi # test -n "$CONFIG_FILES"
  37050. +# Set up the scripts for CONFIG_HEADERS section.
  37051. +# No need to generate them if there are no CONFIG_HEADERS.
  37052. +# This happens for instance with `./config.status Makefile'.
  37053. +if test -n "$CONFIG_HEADERS"; then
  37054. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  37055. +BEGIN {
  37056. +_ACEOF
  37057. -if test x$build_pcm_ioplug = xyes; then
  37058. - BUILD_PCM_PLUGIN_IOPLUG_TRUE=
  37059. - BUILD_PCM_PLUGIN_IOPLUG_FALSE='#'
  37060. -else
  37061. - BUILD_PCM_PLUGIN_IOPLUG_TRUE='#'
  37062. - BUILD_PCM_PLUGIN_IOPLUG_FALSE=
  37063. -fi
  37064. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  37065. +# here-document in config.status, that substitutes the proper values into
  37066. +# config.h.in to produce config.h.
  37067. +# Create a delimiter string that does not exist in confdefs.h, to ease
  37068. +# handling of long lines.
  37069. +ac_delim='%!_!# '
  37070. +for ac_last_try in false false :; do
  37071. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  37072. + if test -z "$ac_t"; then
  37073. + break
  37074. + elif $ac_last_try; then
  37075. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  37076. + else
  37077. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  37078. + fi
  37079. +done
  37080. +# For the awk script, D is an array of macro values keyed by name,
  37081. +# likewise P contains macro parameters if any. Preserve backslash
  37082. +# newline sequences.
  37083. -if test x$build_pcm_mmap_emul = xyes; then
  37084. - BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE=
  37085. - BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE='#'
  37086. -else
  37087. - BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE='#'
  37088. - BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE=
  37089. -fi
  37090. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  37091. +sed -n '
  37092. +s/.\{148\}/&'"$ac_delim"'/g
  37093. +t rset
  37094. +:rset
  37095. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  37096. +t def
  37097. +d
  37098. +:def
  37099. +s/\\$//
  37100. +t bsnl
  37101. +s/["\\]/\\&/g
  37102. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  37103. +D["\1"]=" \3"/p
  37104. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  37105. +d
  37106. +:bsnl
  37107. +s/["\\]/\\&/g
  37108. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  37109. +D["\1"]=" \3\\\\\\n"\\/p
  37110. +t cont
  37111. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  37112. +t cont
  37113. +d
  37114. +:cont
  37115. +n
  37116. +s/.\{148\}/&'"$ac_delim"'/g
  37117. +t clear
  37118. +:clear
  37119. +s/\\$//
  37120. +t bsnlc
  37121. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  37122. +d
  37123. +:bsnlc
  37124. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  37125. +b cont
  37126. +' <confdefs.h | sed '
  37127. +s/'"$ac_delim"'/"\\\
  37128. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  37129. +
  37130. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  37131. + for (key in D) D_is_set[key] = 1
  37132. + FS = ""
  37133. +}
  37134. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  37135. + line = \$ 0
  37136. + split(line, arg, " ")
  37137. + if (arg[1] == "#") {
  37138. + defundef = arg[2]
  37139. + mac1 = arg[3]
  37140. + } else {
  37141. + defundef = substr(arg[1], 2)
  37142. + mac1 = arg[2]
  37143. + }
  37144. + split(mac1, mac2, "(") #)
  37145. + macro = mac2[1]
  37146. + prefix = substr(line, 1, index(line, defundef) - 1)
  37147. + if (D_is_set[macro]) {
  37148. + # Preserve the white space surrounding the "#".
  37149. + print prefix "define", macro P[macro] D[macro]
  37150. + next
  37151. + } else {
  37152. + # Replace #undef with comments. This is necessary, for example,
  37153. + # in the case of _POSIX_SOURCE, which is predefined and required
  37154. + # on some systems where configure will not decide to define it.
  37155. + if (defundef == "undef") {
  37156. + print "/*", prefix defundef, macro, "*/"
  37157. + next
  37158. + }
  37159. + }
  37160. +}
  37161. +{ print }
  37162. +_ACAWK
  37163. +_ACEOF
  37164. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  37165. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  37166. +fi # test -n "$CONFIG_HEADERS"
  37167. -if test "$build_pcm_rate" = "yes"; then
  37168. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  37169. +shift
  37170. +for ac_tag
  37171. +do
  37172. + case $ac_tag in
  37173. + :[FHLC]) ac_mode=$ac_tag; continue;;
  37174. + esac
  37175. + case $ac_mode$ac_tag in
  37176. + :[FHL]*:*);;
  37177. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  37178. + :[FH]-) ac_tag=-:-;;
  37179. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  37180. + esac
  37181. + ac_save_IFS=$IFS
  37182. + IFS=:
  37183. + set x $ac_tag
  37184. + IFS=$ac_save_IFS
  37185. + shift
  37186. + ac_file=$1
  37187. + shift
  37188. -cat >>confdefs.h <<\_ACEOF
  37189. -#define BUILD_PCM_PLUGIN_RATE "1"
  37190. -_ACEOF
  37191. + case $ac_mode in
  37192. + :L) ac_source=$1;;
  37193. + :[FH])
  37194. + ac_file_inputs=
  37195. + for ac_f
  37196. + do
  37197. + case $ac_f in
  37198. + -) ac_f="$tmp/stdin";;
  37199. + *) # Look for the file first in the build tree, then in the source tree
  37200. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  37201. + # because $ac_f cannot contain `:'.
  37202. + test -f "$ac_f" ||
  37203. + case $ac_f in
  37204. + [\\/$]*) false;;
  37205. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  37206. + esac ||
  37207. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  37208. + esac
  37209. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  37210. + as_fn_append ac_file_inputs " '$ac_f'"
  37211. + done
  37212. -fi
  37213. -if test "$build_pcm_route" = "yes"; then
  37214. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  37215. + # use $as_me), people would be surprised to read:
  37216. + # /* config.h. Generated by config.status. */
  37217. + configure_input='Generated from '`
  37218. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  37219. + `' by configure.'
  37220. + if test x"$ac_file" != x-; then
  37221. + configure_input="$ac_file. $configure_input"
  37222. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  37223. +$as_echo "$as_me: creating $ac_file" >&6;}
  37224. + fi
  37225. + # Neutralize special characters interpreted by sed in replacement strings.
  37226. + case $configure_input in #(
  37227. + *\&* | *\|* | *\\* )
  37228. + ac_sed_conf_input=`$as_echo "$configure_input" |
  37229. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  37230. + *) ac_sed_conf_input=$configure_input;;
  37231. + esac
  37232. -cat >>confdefs.h <<\_ACEOF
  37233. -#define BUILD_PCM_PLUGIN_ROUTE "1"
  37234. -_ACEOF
  37235. + case $ac_tag in
  37236. + *:-:* | *:-) cat >"$tmp/stdin" \
  37237. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  37238. + esac
  37239. + ;;
  37240. + esac
  37241. -fi
  37242. -if test "$build_pcm_lfloat" = "yes"; then
  37243. + ac_dir=`$as_dirname -- "$ac_file" ||
  37244. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  37245. + X"$ac_file" : 'X\(//\)[^/]' \| \
  37246. + X"$ac_file" : 'X\(//\)$' \| \
  37247. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  37248. +$as_echo X"$ac_file" |
  37249. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  37250. + s//\1/
  37251. + q
  37252. + }
  37253. + /^X\(\/\/\)[^/].*/{
  37254. + s//\1/
  37255. + q
  37256. + }
  37257. + /^X\(\/\/\)$/{
  37258. + s//\1/
  37259. + q
  37260. + }
  37261. + /^X\(\/\).*/{
  37262. + s//\1/
  37263. + q
  37264. + }
  37265. + s/.*/./; q'`
  37266. + as_dir="$ac_dir"; as_fn_mkdir_p
  37267. + ac_builddir=.
  37268. -cat >>confdefs.h <<\_ACEOF
  37269. -#define BUILD_PCM_PLUGIN_LFLOAT "1"
  37270. -_ACEOF
  37271. +case "$ac_dir" in
  37272. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  37273. +*)
  37274. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  37275. + # A ".." for each directory in $ac_dir_suffix.
  37276. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  37277. + case $ac_top_builddir_sub in
  37278. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  37279. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  37280. + esac ;;
  37281. +esac
  37282. +ac_abs_top_builddir=$ac_pwd
  37283. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  37284. +# for backward compatibility:
  37285. +ac_top_builddir=$ac_top_build_prefix
  37286. -fi
  37287. -if test "$build_pcm_adpcm" = "yes"; then
  37288. +case $srcdir in
  37289. + .) # We are building in place.
  37290. + ac_srcdir=.
  37291. + ac_top_srcdir=$ac_top_builddir_sub
  37292. + ac_abs_top_srcdir=$ac_pwd ;;
  37293. + [\\/]* | ?:[\\/]* ) # Absolute name.
  37294. + ac_srcdir=$srcdir$ac_dir_suffix;
  37295. + ac_top_srcdir=$srcdir
  37296. + ac_abs_top_srcdir=$srcdir ;;
  37297. + *) # Relative name.
  37298. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  37299. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  37300. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  37301. +esac
  37302. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  37303. -cat >>confdefs.h <<\_ACEOF
  37304. -#define BUILD_PCM_PLUGIN_ADPCM "1"
  37305. -_ACEOF
  37306. -fi
  37307. -if test "$build_pcm_mulaw" = "yes"; then
  37308. + case $ac_mode in
  37309. + :F)
  37310. + #
  37311. + # CONFIG_FILE
  37312. + #
  37313. -cat >>confdefs.h <<\_ACEOF
  37314. -#define BUILD_PCM_PLUGIN_MULAW "1"
  37315. + case $INSTALL in
  37316. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  37317. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  37318. + esac
  37319. + ac_MKDIR_P=$MKDIR_P
  37320. + case $MKDIR_P in
  37321. + [\\/$]* | ?:[\\/]* ) ;;
  37322. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  37323. + esac
  37324. _ACEOF
  37325. -fi
  37326. -if test "$build_pcm_alaw" = "yes"; then
  37327. -
  37328. -cat >>confdefs.h <<\_ACEOF
  37329. -#define BUILD_PCM_PLUGIN_ALAW "1"
  37330. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  37331. +# If the template does not know about datarootdir, expand it.
  37332. +# FIXME: This hack should be removed a few years after 2.60.
  37333. +ac_datarootdir_hack=; ac_datarootdir_seen=
  37334. +ac_sed_dataroot='
  37335. +/datarootdir/ {
  37336. + p
  37337. + q
  37338. +}
  37339. +/@datadir@/p
  37340. +/@docdir@/p
  37341. +/@infodir@/p
  37342. +/@localedir@/p
  37343. +/@mandir@/p'
  37344. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  37345. +*datarootdir*) ac_datarootdir_seen=yes;;
  37346. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  37347. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  37348. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  37349. _ACEOF
  37350. -
  37351. -fi
  37352. -if test "$build_pcm_mmap_emul" = "yes"; then
  37353. -
  37354. -cat >>confdefs.h <<\_ACEOF
  37355. -#define BUILD_PCM_PLUGIN_MMAP_EMUL "1"
  37356. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  37357. + ac_datarootdir_hack='
  37358. + s&@datadir@&$datadir&g
  37359. + s&@docdir@&$docdir&g
  37360. + s&@infodir@&$infodir&g
  37361. + s&@localedir@&$localedir&g
  37362. + s&@mandir@&$mandir&g
  37363. + s&\\\${datarootdir}&$datarootdir&g' ;;
  37364. +esac
  37365. _ACEOF
  37366. -fi
  37367. +# Neutralize VPATH when `$srcdir' = `.'.
  37368. +# Shell code in configure.ac might set extrasub.
  37369. +# FIXME: do we really want to maintain this feature?
  37370. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  37371. +ac_sed_extra="$ac_vpsub
  37372. +$extrasub
  37373. +_ACEOF
  37374. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  37375. +:t
  37376. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  37377. +s|@configure_input@|$ac_sed_conf_input|;t t
  37378. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  37379. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  37380. +s&@srcdir@&$ac_srcdir&;t t
  37381. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  37382. +s&@top_srcdir@&$ac_top_srcdir&;t t
  37383. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  37384. +s&@builddir@&$ac_builddir&;t t
  37385. +s&@abs_builddir@&$ac_abs_builddir&;t t
  37386. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  37387. +s&@INSTALL@&$ac_INSTALL&;t t
  37388. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  37389. +$ac_datarootdir_hack
  37390. +"
  37391. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  37392. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  37393. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  37394. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  37395. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  37396. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  37397. +which seems to be undefined. Please make sure it is defined." >&5
  37398. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  37399. +which seems to be undefined. Please make sure it is defined." >&2;}
  37400. -rm -f "$srcdir"/src/pcm/pcm_symbols_list.c
  37401. -touch "$srcdir"/src/pcm/pcm_symbols_list.c
  37402. -for t in $PCM_PLUGIN_LIST; do
  37403. - if eval test \$build_pcm_$t = yes; then
  37404. - echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c
  37405. + rm -f "$tmp/stdin"
  37406. + case $ac_file in
  37407. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  37408. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  37409. + esac \
  37410. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  37411. + ;;
  37412. + :H)
  37413. + #
  37414. + # CONFIG_HEADER
  37415. + #
  37416. + if test x"$ac_file" != x-; then
  37417. + {
  37418. + $as_echo "/* $configure_input */" \
  37419. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  37420. + } >"$tmp/config.h" \
  37421. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  37422. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  37423. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  37424. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  37425. + else
  37426. + rm -f "$ac_file"
  37427. + mv "$tmp/config.h" "$ac_file" \
  37428. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  37429. + fi
  37430. + else
  37431. + $as_echo "/* $configure_input */" \
  37432. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  37433. + || as_fn_error "could not create -" "$LINENO" 5
  37434. fi
  37435. +# Compute "$ac_file"'s index in $config_headers.
  37436. +_am_arg="$ac_file"
  37437. +_am_stamp_count=1
  37438. +for _am_header in $config_headers :; do
  37439. + case $_am_header in
  37440. + $_am_arg | $_am_arg:* )
  37441. + break ;;
  37442. + * )
  37443. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  37444. + esac
  37445. done
  37446. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  37447. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  37448. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  37449. + X"$_am_arg" : 'X\(//\)$' \| \
  37450. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  37451. +$as_echo X"$_am_arg" |
  37452. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  37453. + s//\1/
  37454. + q
  37455. + }
  37456. + /^X\(\/\/\)[^/].*/{
  37457. + s//\1/
  37458. + q
  37459. + }
  37460. + /^X\(\/\/\)$/{
  37461. + s//\1/
  37462. + q
  37463. + }
  37464. + /^X\(\/\).*/{
  37465. + s//\1/
  37466. + q
  37467. + }
  37468. + s/.*/./; q'`/stamp-h$_am_stamp_count
  37469. + ;;
  37470. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  37471. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  37472. + ;;
  37473. + esac
  37474. -# Check whether --with-ctl-plugins was given.
  37475. -if test "${with_ctl_plugins+set}" = set; then
  37476. - withval=$with_ctl_plugins; ctl_plugins="$withval"
  37477. -else
  37478. - ctl_plugins="all"
  37479. -fi
  37480. -
  37481. -
  37482. -CTL_PLUGIN_LIST="shm ext"
  37483. -
  37484. -build_ctl_plugin="no"
  37485. -for t in $CTL_PLUGIN_LIST; do
  37486. - eval build_ctl_$t="no"
  37487. -done
  37488. -
  37489. -ctl_plugins=`echo $ctl_plugins | sed 's/,/ /g'`
  37490. -for p in $ctl_plugins; do
  37491. - for t in $CTL_PLUGIN_LIST; do
  37492. - if test "$p" = "$t" -o "$p" = "all"; then
  37493. - eval build_ctl_$t="yes"
  37494. - build_ctl_plugin="yes"
  37495. + case $ac_file$ac_mode in
  37496. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  37497. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  37498. + # are listed without --file. Let's play safe and only enable the eval
  37499. + # if we detect the quoting.
  37500. + case $CONFIG_FILES in
  37501. + *\'*) eval set x "$CONFIG_FILES" ;;
  37502. + *) set x $CONFIG_FILES ;;
  37503. + esac
  37504. + shift
  37505. + for mf
  37506. + do
  37507. + # Strip MF so we end up with the name of the file.
  37508. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  37509. + # Check whether this is an Automake generated Makefile or not.
  37510. + # We used to match only the files named `Makefile.in', but
  37511. + # some people rename them; so instead we look at the file content.
  37512. + # Grep'ing the first line is not enough: some people post-process
  37513. + # each Makefile.in and add a new line on top of each file to say so.
  37514. + # Grep'ing the whole file is not good either: AIX grep has a line
  37515. + # limit of 2048, but all sed's we know have understand at least 4000.
  37516. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  37517. + dirpart=`$as_dirname -- "$mf" ||
  37518. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  37519. + X"$mf" : 'X\(//\)[^/]' \| \
  37520. + X"$mf" : 'X\(//\)$' \| \
  37521. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  37522. +$as_echo X"$mf" |
  37523. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  37524. + s//\1/
  37525. + q
  37526. + }
  37527. + /^X\(\/\/\)[^/].*/{
  37528. + s//\1/
  37529. + q
  37530. + }
  37531. + /^X\(\/\/\)$/{
  37532. + s//\1/
  37533. + q
  37534. + }
  37535. + /^X\(\/\).*/{
  37536. + s//\1/
  37537. + q
  37538. + }
  37539. + s/.*/./; q'`
  37540. + else
  37541. + continue
  37542. fi
  37543. + # Extract the definition of DEPDIR, am__include, and am__quote
  37544. + # from the Makefile without running `make'.
  37545. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  37546. + test -z "$DEPDIR" && continue
  37547. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  37548. + test -z "am__include" && continue
  37549. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  37550. + # When using ansi2knr, U may be empty or an underscore; expand it
  37551. + U=`sed -n 's/^U = //p' < "$mf"`
  37552. + # Find all dependency output files, they are included files with
  37553. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  37554. + # simplest approach to changing $(DEPDIR) to its actual value in the
  37555. + # expansion.
  37556. + for file in `sed -n "
  37557. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  37558. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  37559. + # Make sure the directory exists.
  37560. + test -f "$dirpart/$file" && continue
  37561. + fdir=`$as_dirname -- "$file" ||
  37562. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  37563. + X"$file" : 'X\(//\)[^/]' \| \
  37564. + X"$file" : 'X\(//\)$' \| \
  37565. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  37566. +$as_echo X"$file" |
  37567. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  37568. + s//\1/
  37569. + q
  37570. + }
  37571. + /^X\(\/\/\)[^/].*/{
  37572. + s//\1/
  37573. + q
  37574. + }
  37575. + /^X\(\/\/\)$/{
  37576. + s//\1/
  37577. + q
  37578. + }
  37579. + /^X\(\/\).*/{
  37580. + s//\1/
  37581. + q
  37582. + }
  37583. + s/.*/./; q'`
  37584. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  37585. + # echo "creating $dirpart/$file"
  37586. + echo '# dummy' > "$dirpart/$file"
  37587. + done
  37588. done
  37589. -done
  37590. -
  37591. -
  37592. -
  37593. -if test x$build_ctl_plugin = xyes; then
  37594. - BUILD_CTL_PLUGIN_TRUE=
  37595. - BUILD_CTL_PLUGIN_FALSE='#'
  37596. -else
  37597. - BUILD_CTL_PLUGIN_TRUE='#'
  37598. - BUILD_CTL_PLUGIN_FALSE=
  37599. -fi
  37600. -
  37601. -
  37602. -
  37603. -if test x$build_ctl_shm = xyes; then
  37604. - BUILD_CTL_PLUGIN_SHM_TRUE=
  37605. - BUILD_CTL_PLUGIN_SHM_FALSE='#'
  37606. -else
  37607. - BUILD_CTL_PLUGIN_SHM_TRUE='#'
  37608. - BUILD_CTL_PLUGIN_SHM_FALSE=
  37609. -fi
  37610. -
  37611. -
  37612. -
  37613. -if test x$build_ctl_ext = xyes; then
  37614. - BUILD_CTL_PLUGIN_EXT_TRUE=
  37615. - BUILD_CTL_PLUGIN_EXT_FALSE='#'
  37616. -else
  37617. - BUILD_CTL_PLUGIN_EXT_TRUE='#'
  37618. - BUILD_CTL_PLUGIN_EXT_FALSE=
  37619. -fi
  37620. -
  37621. +}
  37622. + ;;
  37623. + "libtool":C)
  37624. -rm -f "$srcdir"/src/control/ctl_symbols_list.c
  37625. -touch "$srcdir"/src/control/ctl_symbols_list.c
  37626. -for t in $CTL_PLUGIN_LIST; do
  37627. - if eval test \$build_ctl_$t = yes; then
  37628. - echo \&_snd_module_control_$t, >> "$srcdir"/src/control/ctl_symbols_list.c
  37629. - fi
  37630. -done
  37631. + # See if we are running on zsh, and set the options which allow our
  37632. + # commands through without removal of \ escapes.
  37633. + if test -n "${ZSH_VERSION+set}" ; then
  37634. + setopt NO_GLOB_SUBST
  37635. + fi
  37636. -if test ! -L "$srcdir"/include/alsa ; then
  37637. - echo "Making a symlink include/alsa"
  37638. - rm -f "$srcdir"/include/alsa
  37639. - ln -sf . "$srcdir"/include/alsa
  37640. -fi
  37641. + cfgfile="${ofile}T"
  37642. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  37643. + $RM "$cfgfile"
  37644. -ac_config_files="$ac_config_files Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg include/Makefile include/sound/Makefile src/Versions src/Makefile src/control/Makefile src/mixer/Makefile src/pcm/Makefile src/pcm/scopes/Makefile src/rawmidi/Makefile src/timer/Makefile src/hwdep/Makefile src/seq/Makefile src/compat/Makefile src/alisp/Makefile src/conf/Makefile src/conf/cards/Makefile src/conf/pcm/Makefile modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile alsalisp/Makefile aserver/Makefile test/Makefile test/lsb/Makefile utils/Makefile utils/alsa-lib.spec utils/alsa.pc"
  37645. + cat <<_LT_EOF >> "$cfgfile"
  37646. +#! $SHELL
  37647. -cat >confcache <<\_ACEOF
  37648. -# This file is a shell script that caches the results of configure
  37649. -# tests run on this system so they can be shared between configure
  37650. -# scripts and configure runs, see configure's option --config-cache.
  37651. -# It is not useful on other systems. If it contains results you don't
  37652. -# want to keep, you may remove or edit it.
  37653. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  37654. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  37655. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  37656. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  37657. #
  37658. -# config.status only pays attention to the cache file if you give it
  37659. -# the --recheck option to rerun configure.
  37660. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  37661. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  37662. +# Written by Gordon Matzigkeit, 1996
  37663. +#
  37664. +# This file is part of GNU Libtool.
  37665. +#
  37666. +# GNU Libtool is free software; you can redistribute it and/or
  37667. +# modify it under the terms of the GNU General Public License as
  37668. +# published by the Free Software Foundation; either version 2 of
  37669. +# the License, or (at your option) any later version.
  37670. +#
  37671. +# As a special exception to the GNU General Public License,
  37672. +# if you distribute this file as part of a program or library that
  37673. +# is built using GNU Libtool, you may include this file under the
  37674. +# same distribution terms that you use for the rest of that program.
  37675. +#
  37676. +# GNU Libtool is distributed in the hope that it will be useful,
  37677. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  37678. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  37679. +# GNU General Public License for more details.
  37680. #
  37681. -# `ac_cv_env_foo' variables (set or unset) will be overridden when
  37682. -# loading this file, other *unset* `ac_cv_foo' will be assigned the
  37683. -# following values.
  37684. +# You should have received a copy of the GNU General Public License
  37685. +# along with GNU Libtool; see the file COPYING. If not, a copy
  37686. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  37687. +# obtained by writing to the Free Software Foundation, Inc.,
  37688. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  37689. -_ACEOF
  37690. -# The following way of writing the cache mishandles newlines in values,
  37691. -# but we know of no workaround that is simple, portable, and efficient.
  37692. -# So, we kill variables containing newlines.
  37693. -# Ultrix sh set writes to stderr and can't be redirected directly,
  37694. -# and sets the high bit in the cache file unless we assign to the vars.
  37695. -(
  37696. - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  37697. - eval ac_val=\$$ac_var
  37698. - case $ac_val in #(
  37699. - *${as_nl}*)
  37700. - case $ac_var in #(
  37701. - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  37702. -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  37703. - esac
  37704. - case $ac_var in #(
  37705. - _ | IFS | as_nl) ;; #(
  37706. - *) $as_unset $ac_var ;;
  37707. - esac ;;
  37708. - esac
  37709. - done
  37710. +# The names of the tagged configurations supported by this script.
  37711. +available_tags=""
  37712. - (set) 2>&1 |
  37713. - case $as_nl`(ac_space=' '; set) 2>&1` in #(
  37714. - *${as_nl}ac_space=\ *)
  37715. - # `set' does not quote correctly, so add quotes (double-quote
  37716. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  37717. - sed -n \
  37718. - "s/'/'\\\\''/g;
  37719. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  37720. - ;; #(
  37721. - *)
  37722. - # `set' quotes correctly as required by POSIX, so do not add quotes.
  37723. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  37724. - ;;
  37725. - esac |
  37726. - sort
  37727. -) |
  37728. - sed '
  37729. - /^ac_cv_env_/b end
  37730. - t clear
  37731. - :clear
  37732. - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  37733. - t end
  37734. - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  37735. - :end' >>confcache
  37736. -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  37737. - if test -w "$cache_file"; then
  37738. - test "x$cache_file" != "x/dev/null" &&
  37739. - { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  37740. -echo "$as_me: updating cache $cache_file" >&6;}
  37741. - cat confcache >$cache_file
  37742. - else
  37743. - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  37744. -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  37745. - fi
  37746. -fi
  37747. -rm -f confcache
  37748. +# ### BEGIN LIBTOOL CONFIG
  37749. -test "x$prefix" = xNONE && prefix=$ac_default_prefix
  37750. -# Let make expand exec_prefix.
  37751. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  37752. +# Whether or not to build static libraries.
  37753. +build_old_libs=$enable_static
  37754. -DEFS=-DHAVE_CONFIG_H
  37755. +# Which release of libtool.m4 was used?
  37756. +macro_version=$macro_version
  37757. +macro_revision=$macro_revision
  37758. -ac_libobjs=
  37759. -ac_ltlibobjs=
  37760. -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  37761. - # 1. Remove the extension, and $U if already installed.
  37762. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  37763. - ac_i=`echo "$ac_i" | sed "$ac_script"`
  37764. - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  37765. - # will be set to the directory where LIBOBJS objects are built.
  37766. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  37767. - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  37768. -done
  37769. -LIBOBJS=$ac_libobjs
  37770. +# Whether or not to build shared libraries.
  37771. +build_libtool_libs=$enable_shared
  37772. +
  37773. +# What type of objects to build.
  37774. +pic_mode=$pic_mode
  37775. -LTLIBOBJS=$ac_ltlibobjs
  37776. +# Whether or not to optimize for fast installation.
  37777. +fast_install=$enable_fast_install
  37778. +# The host system.
  37779. +host_alias=$host_alias
  37780. +host=$host
  37781. +host_os=$host_os
  37782. -if test -z "${INSTALL_M4_TRUE}" && test -z "${INSTALL_M4_FALSE}"; then
  37783. - { { echo "$as_me:$LINENO: error: conditional \"INSTALL_M4\" was never defined.
  37784. -Usually this means the macro was only invoked conditionally." >&5
  37785. -echo "$as_me: error: conditional \"INSTALL_M4\" was never defined.
  37786. -Usually this means the macro was only invoked conditionally." >&2;}
  37787. - { (exit 1); exit 1; }; }
  37788. -fi
  37789. -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  37790. - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  37791. -Usually this means the macro was only invoked conditionally." >&5
  37792. -echo "$as_me: error: conditional \"AMDEP\" was never defined.
  37793. -Usually this means the macro was only invoked conditionally." >&2;}
  37794. - { (exit 1); exit 1; }; }
  37795. -fi
  37796. -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  37797. - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  37798. -Usually this means the macro was only invoked conditionally." >&5
  37799. -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  37800. -Usually this means the macro was only invoked conditionally." >&2;}
  37801. - { (exit 1); exit 1; }; }
  37802. -fi
  37803. -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  37804. - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
  37805. -Usually this means the macro was only invoked conditionally." >&5
  37806. -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
  37807. -Usually this means the macro was only invoked conditionally." >&2;}
  37808. - { (exit 1); exit 1; }; }
  37809. -fi
  37810. -if test -z "${ALSA_HSEARCH_R_TRUE}" && test -z "${ALSA_HSEARCH_R_FALSE}"; then
  37811. - { { echo "$as_me:$LINENO: error: conditional \"ALSA_HSEARCH_R\" was never defined.
  37812. -Usually this means the macro was only invoked conditionally." >&5
  37813. -echo "$as_me: error: conditional \"ALSA_HSEARCH_R\" was never defined.
  37814. -Usually this means the macro was only invoked conditionally." >&2;}
  37815. - { (exit 1); exit 1; }; }
  37816. -fi
  37817. -if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then
  37818. - { { echo "$as_me:$LINENO: error: conditional \"VERSIONED_SYMBOLS\" was never defined.
  37819. -Usually this means the macro was only invoked conditionally." >&5
  37820. -echo "$as_me: error: conditional \"VERSIONED_SYMBOLS\" was never defined.
  37821. -Usually this means the macro was only invoked conditionally." >&2;}
  37822. - { (exit 1); exit 1; }; }
  37823. -fi
  37824. -if test -z "${SYMBOLIC_FUNCTIONS_TRUE}" && test -z "${SYMBOLIC_FUNCTIONS_FALSE}"; then
  37825. - { { echo "$as_me:$LINENO: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined.
  37826. -Usually this means the macro was only invoked conditionally." >&5
  37827. -echo "$as_me: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined.
  37828. -Usually this means the macro was only invoked conditionally." >&2;}
  37829. - { (exit 1); exit 1; }; }
  37830. -fi
  37831. -if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
  37832. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_MODULES\" was never defined.
  37833. -Usually this means the macro was only invoked conditionally." >&5
  37834. -echo "$as_me: error: conditional \"BUILD_MODULES\" was never defined.
  37835. -Usually this means the macro was only invoked conditionally." >&2;}
  37836. - { (exit 1); exit 1; }; }
  37837. -fi
  37838. -if test -z "${KEEP_OLD_SYMBOLS_TRUE}" && test -z "${KEEP_OLD_SYMBOLS_FALSE}"; then
  37839. - { { echo "$as_me:$LINENO: error: conditional \"KEEP_OLD_SYMBOLS\" was never defined.
  37840. -Usually this means the macro was only invoked conditionally." >&5
  37841. -echo "$as_me: error: conditional \"KEEP_OLD_SYMBOLS\" was never defined.
  37842. -Usually this means the macro was only invoked conditionally." >&2;}
  37843. - { (exit 1); exit 1; }; }
  37844. -fi
  37845. -if test -z "${BUILD_MIXER_TRUE}" && test -z "${BUILD_MIXER_FALSE}"; then
  37846. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_MIXER\" was never defined.
  37847. -Usually this means the macro was only invoked conditionally." >&5
  37848. -echo "$as_me: error: conditional \"BUILD_MIXER\" was never defined.
  37849. -Usually this means the macro was only invoked conditionally." >&2;}
  37850. - { (exit 1); exit 1; }; }
  37851. -fi
  37852. -if test -z "${BUILD_PCM_TRUE}" && test -z "${BUILD_PCM_FALSE}"; then
  37853. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM\" was never defined.
  37854. -Usually this means the macro was only invoked conditionally." >&5
  37855. -echo "$as_me: error: conditional \"BUILD_PCM\" was never defined.
  37856. -Usually this means the macro was only invoked conditionally." >&2;}
  37857. - { (exit 1); exit 1; }; }
  37858. -fi
  37859. -if test -z "${BUILD_RAWMIDI_TRUE}" && test -z "${BUILD_RAWMIDI_FALSE}"; then
  37860. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_RAWMIDI\" was never defined.
  37861. -Usually this means the macro was only invoked conditionally." >&5
  37862. -echo "$as_me: error: conditional \"BUILD_RAWMIDI\" was never defined.
  37863. -Usually this means the macro was only invoked conditionally." >&2;}
  37864. - { (exit 1); exit 1; }; }
  37865. -fi
  37866. -if test -z "${BUILD_HWDEP_TRUE}" && test -z "${BUILD_HWDEP_FALSE}"; then
  37867. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_HWDEP\" was never defined.
  37868. -Usually this means the macro was only invoked conditionally." >&5
  37869. -echo "$as_me: error: conditional \"BUILD_HWDEP\" was never defined.
  37870. -Usually this means the macro was only invoked conditionally." >&2;}
  37871. - { (exit 1); exit 1; }; }
  37872. -fi
  37873. -if test -z "${BUILD_SEQ_TRUE}" && test -z "${BUILD_SEQ_FALSE}"; then
  37874. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_SEQ\" was never defined.
  37875. -Usually this means the macro was only invoked conditionally." >&5
  37876. -echo "$as_me: error: conditional \"BUILD_SEQ\" was never defined.
  37877. -Usually this means the macro was only invoked conditionally." >&2;}
  37878. - { (exit 1); exit 1; }; }
  37879. -fi
  37880. -if test -z "${BUILD_ALISP_TRUE}" && test -z "${BUILD_ALISP_FALSE}"; then
  37881. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_ALISP\" was never defined.
  37882. -Usually this means the macro was only invoked conditionally." >&5
  37883. -echo "$as_me: error: conditional \"BUILD_ALISP\" was never defined.
  37884. -Usually this means the macro was only invoked conditionally." >&2;}
  37885. - { (exit 1); exit 1; }; }
  37886. -fi
  37887. -if test -z "${BUILD_PYTHON_TRUE}" && test -z "${BUILD_PYTHON_FALSE}"; then
  37888. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PYTHON\" was never defined.
  37889. -Usually this means the macro was only invoked conditionally." >&5
  37890. -echo "$as_me: error: conditional \"BUILD_PYTHON\" was never defined.
  37891. -Usually this means the macro was only invoked conditionally." >&2;}
  37892. - { (exit 1); exit 1; }; }
  37893. -fi
  37894. -if test -z "${BUILD_PCM_PLUGIN_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FALSE}"; then
  37895. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN\" was never defined.
  37896. -Usually this means the macro was only invoked conditionally." >&5
  37897. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN\" was never defined.
  37898. -Usually this means the macro was only invoked conditionally." >&2;}
  37899. - { (exit 1); exit 1; }; }
  37900. -fi
  37901. -if test -z "${BUILD_PCM_PLUGIN_COPY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_COPY_FALSE}"; then
  37902. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined.
  37903. -Usually this means the macro was only invoked conditionally." >&5
  37904. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined.
  37905. -Usually this means the macro was only invoked conditionally." >&2;}
  37906. - { (exit 1); exit 1; }; }
  37907. -fi
  37908. -if test -z "${BUILD_PCM_PLUGIN_LINEAR_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LINEAR_FALSE}"; then
  37909. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined.
  37910. -Usually this means the macro was only invoked conditionally." >&5
  37911. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined.
  37912. -Usually this means the macro was only invoked conditionally." >&2;}
  37913. - { (exit 1); exit 1; }; }
  37914. -fi
  37915. -if test -z "${BUILD_PCM_PLUGIN_ROUTE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ROUTE_FALSE}"; then
  37916. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined.
  37917. -Usually this means the macro was only invoked conditionally." >&5
  37918. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined.
  37919. -Usually this means the macro was only invoked conditionally." >&2;}
  37920. - { (exit 1); exit 1; }; }
  37921. -fi
  37922. -if test -z "${BUILD_PCM_PLUGIN_MULAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULAW_FALSE}"; then
  37923. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined.
  37924. -Usually this means the macro was only invoked conditionally." >&5
  37925. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined.
  37926. -Usually this means the macro was only invoked conditionally." >&2;}
  37927. - { (exit 1); exit 1; }; }
  37928. -fi
  37929. -if test -z "${BUILD_PCM_PLUGIN_ALAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ALAW_FALSE}"; then
  37930. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined.
  37931. -Usually this means the macro was only invoked conditionally." >&5
  37932. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined.
  37933. -Usually this means the macro was only invoked conditionally." >&2;}
  37934. - { (exit 1); exit 1; }; }
  37935. -fi
  37936. -if test -z "${BUILD_PCM_PLUGIN_ADPCM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ADPCM_FALSE}"; then
  37937. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined.
  37938. -Usually this means the macro was only invoked conditionally." >&5
  37939. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined.
  37940. -Usually this means the macro was only invoked conditionally." >&2;}
  37941. - { (exit 1); exit 1; }; }
  37942. -fi
  37943. -if test -z "${BUILD_PCM_PLUGIN_RATE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_RATE_FALSE}"; then
  37944. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined.
  37945. -Usually this means the macro was only invoked conditionally." >&5
  37946. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined.
  37947. -Usually this means the macro was only invoked conditionally." >&2;}
  37948. - { (exit 1); exit 1; }; }
  37949. -fi
  37950. -if test -z "${BUILD_PCM_PLUGIN_PLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_PLUG_FALSE}"; then
  37951. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined.
  37952. -Usually this means the macro was only invoked conditionally." >&5
  37953. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined.
  37954. -Usually this means the macro was only invoked conditionally." >&2;}
  37955. - { (exit 1); exit 1; }; }
  37956. -fi
  37957. -if test -z "${BUILD_PCM_PLUGIN_MULTI_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULTI_FALSE}"; then
  37958. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined.
  37959. -Usually this means the macro was only invoked conditionally." >&5
  37960. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined.
  37961. -Usually this means the macro was only invoked conditionally." >&2;}
  37962. - { (exit 1); exit 1; }; }
  37963. -fi
  37964. -if test -z "${BUILD_PCM_PLUGIN_SHM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHM_FALSE}"; then
  37965. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined.
  37966. -Usually this means the macro was only invoked conditionally." >&5
  37967. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined.
  37968. -Usually this means the macro was only invoked conditionally." >&2;}
  37969. - { (exit 1); exit 1; }; }
  37970. -fi
  37971. -if test -z "${BUILD_PCM_PLUGIN_FILE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FILE_FALSE}"; then
  37972. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined.
  37973. -Usually this means the macro was only invoked conditionally." >&5
  37974. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined.
  37975. -Usually this means the macro was only invoked conditionally." >&2;}
  37976. - { (exit 1); exit 1; }; }
  37977. -fi
  37978. -if test -z "${BUILD_PCM_PLUGIN_NULL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_NULL_FALSE}"; then
  37979. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined.
  37980. -Usually this means the macro was only invoked conditionally." >&5
  37981. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined.
  37982. -Usually this means the macro was only invoked conditionally." >&2;}
  37983. - { (exit 1); exit 1; }; }
  37984. -fi
  37985. -if test -z "${BUILD_PCM_PLUGIN_EMPTY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EMPTY_FALSE}"; then
  37986. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined.
  37987. -Usually this means the macro was only invoked conditionally." >&5
  37988. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined.
  37989. -Usually this means the macro was only invoked conditionally." >&2;}
  37990. - { (exit 1); exit 1; }; }
  37991. -fi
  37992. -if test -z "${BUILD_PCM_PLUGIN_SHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHARE_FALSE}"; then
  37993. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined.
  37994. -Usually this means the macro was only invoked conditionally." >&5
  37995. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined.
  37996. -Usually this means the macro was only invoked conditionally." >&2;}
  37997. - { (exit 1); exit 1; }; }
  37998. -fi
  37999. -if test -z "${BUILD_PCM_PLUGIN_METER_TRUE}" && test -z "${BUILD_PCM_PLUGIN_METER_FALSE}"; then
  38000. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_METER\" was never defined.
  38001. -Usually this means the macro was only invoked conditionally." >&5
  38002. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_METER\" was never defined.
  38003. -Usually this means the macro was only invoked conditionally." >&2;}
  38004. - { (exit 1); exit 1; }; }
  38005. -fi
  38006. -if test -z "${BUILD_PCM_PLUGIN_HOOKS_TRUE}" && test -z "${BUILD_PCM_PLUGIN_HOOKS_FALSE}"; then
  38007. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined.
  38008. -Usually this means the macro was only invoked conditionally." >&5
  38009. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined.
  38010. -Usually this means the macro was only invoked conditionally." >&2;}
  38011. - { (exit 1); exit 1; }; }
  38012. -fi
  38013. -if test -z "${BUILD_PCM_PLUGIN_LFLOAT_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LFLOAT_FALSE}"; then
  38014. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined.
  38015. -Usually this means the macro was only invoked conditionally." >&5
  38016. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined.
  38017. -Usually this means the macro was only invoked conditionally." >&2;}
  38018. - { (exit 1); exit 1; }; }
  38019. -fi
  38020. -if test -z "${BUILD_PCM_PLUGIN_LADSPA_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LADSPA_FALSE}"; then
  38021. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined.
  38022. -Usually this means the macro was only invoked conditionally." >&5
  38023. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined.
  38024. -Usually this means the macro was only invoked conditionally." >&2;}
  38025. - { (exit 1); exit 1; }; }
  38026. -fi
  38027. -if test -z "${BUILD_PCM_PLUGIN_DMIX_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DMIX_FALSE}"; then
  38028. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined.
  38029. -Usually this means the macro was only invoked conditionally." >&5
  38030. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined.
  38031. -Usually this means the macro was only invoked conditionally." >&2;}
  38032. - { (exit 1); exit 1; }; }
  38033. -fi
  38034. -if test -z "${BUILD_PCM_PLUGIN_DSHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSHARE_FALSE}"; then
  38035. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined.
  38036. -Usually this means the macro was only invoked conditionally." >&5
  38037. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined.
  38038. -Usually this means the macro was only invoked conditionally." >&2;}
  38039. - { (exit 1); exit 1; }; }
  38040. -fi
  38041. -if test -z "${BUILD_PCM_PLUGIN_DSNOOP_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSNOOP_FALSE}"; then
  38042. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined.
  38043. -Usually this means the macro was only invoked conditionally." >&5
  38044. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined.
  38045. -Usually this means the macro was only invoked conditionally." >&2;}
  38046. - { (exit 1); exit 1; }; }
  38047. -fi
  38048. -if test -z "${BUILD_PCM_PLUGIN_ASYM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ASYM_FALSE}"; then
  38049. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined.
  38050. -Usually this means the macro was only invoked conditionally." >&5
  38051. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined.
  38052. -Usually this means the macro was only invoked conditionally." >&2;}
  38053. - { (exit 1); exit 1; }; }
  38054. -fi
  38055. -if test -z "${BUILD_PCM_PLUGIN_IEC958_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IEC958_FALSE}"; then
  38056. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined.
  38057. -Usually this means the macro was only invoked conditionally." >&5
  38058. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined.
  38059. -Usually this means the macro was only invoked conditionally." >&2;}
  38060. - { (exit 1); exit 1; }; }
  38061. -fi
  38062. -if test -z "${BUILD_PCM_PLUGIN_SOFTVOL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SOFTVOL_FALSE}"; then
  38063. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined.
  38064. -Usually this means the macro was only invoked conditionally." >&5
  38065. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined.
  38066. -Usually this means the macro was only invoked conditionally." >&2;}
  38067. - { (exit 1); exit 1; }; }
  38068. -fi
  38069. -if test -z "${BUILD_PCM_PLUGIN_EXTPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EXTPLUG_FALSE}"; then
  38070. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined.
  38071. -Usually this means the macro was only invoked conditionally." >&5
  38072. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined.
  38073. -Usually this means the macro was only invoked conditionally." >&2;}
  38074. - { (exit 1); exit 1; }; }
  38075. -fi
  38076. -if test -z "${BUILD_PCM_PLUGIN_IOPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IOPLUG_FALSE}"; then
  38077. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined.
  38078. -Usually this means the macro was only invoked conditionally." >&5
  38079. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined.
  38080. -Usually this means the macro was only invoked conditionally." >&2;}
  38081. - { (exit 1); exit 1; }; }
  38082. -fi
  38083. -if test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE}"; then
  38084. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined.
  38085. -Usually this means the macro was only invoked conditionally." >&5
  38086. -echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined.
  38087. -Usually this means the macro was only invoked conditionally." >&2;}
  38088. - { (exit 1); exit 1; }; }
  38089. -fi
  38090. -if test -z "${BUILD_CTL_PLUGIN_TRUE}" && test -z "${BUILD_CTL_PLUGIN_FALSE}"; then
  38091. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN\" was never defined.
  38092. -Usually this means the macro was only invoked conditionally." >&5
  38093. -echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN\" was never defined.
  38094. -Usually this means the macro was only invoked conditionally." >&2;}
  38095. - { (exit 1); exit 1; }; }
  38096. -fi
  38097. -if test -z "${BUILD_CTL_PLUGIN_SHM_TRUE}" && test -z "${BUILD_CTL_PLUGIN_SHM_FALSE}"; then
  38098. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined.
  38099. -Usually this means the macro was only invoked conditionally." >&5
  38100. -echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined.
  38101. -Usually this means the macro was only invoked conditionally." >&2;}
  38102. - { (exit 1); exit 1; }; }
  38103. -fi
  38104. -if test -z "${BUILD_CTL_PLUGIN_EXT_TRUE}" && test -z "${BUILD_CTL_PLUGIN_EXT_FALSE}"; then
  38105. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined.
  38106. -Usually this means the macro was only invoked conditionally." >&5
  38107. -echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined.
  38108. -Usually this means the macro was only invoked conditionally." >&2;}
  38109. - { (exit 1); exit 1; }; }
  38110. -fi
  38111. +# The build system.
  38112. +build_alias=$build_alias
  38113. +build=$build
  38114. +build_os=$build_os
  38115. -: ${CONFIG_STATUS=./config.status}
  38116. -ac_clean_files_save=$ac_clean_files
  38117. -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  38118. -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  38119. -echo "$as_me: creating $CONFIG_STATUS" >&6;}
  38120. -cat >$CONFIG_STATUS <<_ACEOF
  38121. -#! $SHELL
  38122. -# Generated by $as_me.
  38123. -# Run this file to recreate the current configuration.
  38124. -# Compiler output produced by configure, useful for debugging
  38125. -# configure, is in config.log if it exists.
  38126. +# A sed program that does not truncate output.
  38127. +SED=$lt_SED
  38128. -debug=false
  38129. -ac_cs_recheck=false
  38130. -ac_cs_silent=false
  38131. -SHELL=\${CONFIG_SHELL-$SHELL}
  38132. -_ACEOF
  38133. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  38134. +Xsed="\$SED -e 1s/^X//"
  38135. -cat >>$CONFIG_STATUS <<\_ACEOF
  38136. -## --------------------- ##
  38137. -## M4sh Initialization. ##
  38138. -## --------------------- ##
  38139. +# A grep program that handles long lines.
  38140. +GREP=$lt_GREP
  38141. -# Be Bourne compatible
  38142. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  38143. - emulate sh
  38144. - NULLCMD=:
  38145. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  38146. - # is contrary to our usage. Disable this feature.
  38147. - alias -g '${1+"$@"}'='"$@"'
  38148. - setopt NO_GLOB_SUBST
  38149. -else
  38150. - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  38151. -fi
  38152. -BIN_SH=xpg4; export BIN_SH # for Tru64
  38153. -DUALCASE=1; export DUALCASE # for MKS sh
  38154. +# An ERE matcher.
  38155. +EGREP=$lt_EGREP
  38156. +# A literal string matcher.
  38157. +FGREP=$lt_FGREP
  38158. -# PATH needs CR
  38159. -# Avoid depending upon Character Ranges.
  38160. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  38161. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  38162. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  38163. -as_cr_digits='0123456789'
  38164. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  38165. +# A BSD- or MS-compatible name lister.
  38166. +NM=$lt_NM
  38167. -# The user is always right.
  38168. -if test "${PATH_SEPARATOR+set}" != set; then
  38169. - echo "#! /bin/sh" >conf$$.sh
  38170. - echo "exit 0" >>conf$$.sh
  38171. - chmod +x conf$$.sh
  38172. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  38173. - PATH_SEPARATOR=';'
  38174. - else
  38175. - PATH_SEPARATOR=:
  38176. - fi
  38177. - rm -f conf$$.sh
  38178. -fi
  38179. +# Whether we need soft or hard links.
  38180. +LN_S=$lt_LN_S
  38181. -# Support unset when possible.
  38182. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  38183. - as_unset=unset
  38184. -else
  38185. - as_unset=false
  38186. -fi
  38187. +# What is the maximum length of a command?
  38188. +max_cmd_len=$max_cmd_len
  38189. +# Object file suffix (normally "o").
  38190. +objext=$ac_objext
  38191. -# IFS
  38192. -# We need space, tab and new line, in precisely that order. Quoting is
  38193. -# there to prevent editors from complaining about space-tab.
  38194. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  38195. -# splitting by setting IFS to empty value.)
  38196. -as_nl='
  38197. -'
  38198. -IFS=" "" $as_nl"
  38199. +# Executable file suffix (normally "").
  38200. +exeext=$exeext
  38201. -# Find who we are. Look in the path if we contain no directory separator.
  38202. -case $0 in
  38203. - *[\\/]* ) as_myself=$0 ;;
  38204. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38205. -for as_dir in $PATH
  38206. -do
  38207. - IFS=$as_save_IFS
  38208. - test -z "$as_dir" && as_dir=.
  38209. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  38210. -done
  38211. -IFS=$as_save_IFS
  38212. +# whether the shell understands "unset".
  38213. +lt_unset=$lt_unset
  38214. - ;;
  38215. -esac
  38216. -# We did not find ourselves, most probably we were run as `sh COMMAND'
  38217. -# in which case we are not to be found in the path.
  38218. -if test "x$as_myself" = x; then
  38219. - as_myself=$0
  38220. -fi
  38221. -if test ! -f "$as_myself"; then
  38222. - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  38223. - { (exit 1); exit 1; }
  38224. -fi
  38225. +# turn spaces into newlines.
  38226. +SP2NL=$lt_lt_SP2NL
  38227. -# Work around bugs in pre-3.0 UWIN ksh.
  38228. -for as_var in ENV MAIL MAILPATH
  38229. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  38230. -done
  38231. -PS1='$ '
  38232. -PS2='> '
  38233. -PS4='+ '
  38234. +# turn newlines into spaces.
  38235. +NL2SP=$lt_lt_NL2SP
  38236. -# NLS nuisances.
  38237. -for as_var in \
  38238. - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  38239. - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  38240. - LC_TELEPHONE LC_TIME
  38241. -do
  38242. - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  38243. - eval $as_var=C; export $as_var
  38244. - else
  38245. - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  38246. - fi
  38247. -done
  38248. +# How to create reloadable object files.
  38249. +reload_flag=$lt_reload_flag
  38250. +reload_cmds=$lt_reload_cmds
  38251. -# Required to use basename.
  38252. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  38253. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  38254. - as_expr=expr
  38255. -else
  38256. - as_expr=false
  38257. -fi
  38258. +# An object symbol dumper.
  38259. +OBJDUMP=$lt_OBJDUMP
  38260. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  38261. - as_basename=basename
  38262. -else
  38263. - as_basename=false
  38264. -fi
  38265. +# Method to check whether dependent libraries are shared objects.
  38266. +deplibs_check_method=$lt_deplibs_check_method
  38267. +# Command to use when deplibs_check_method == "file_magic".
  38268. +file_magic_cmd=$lt_file_magic_cmd
  38269. -# Name of the executable.
  38270. -as_me=`$as_basename -- "$0" ||
  38271. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  38272. - X"$0" : 'X\(//\)$' \| \
  38273. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  38274. -echo X/"$0" |
  38275. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  38276. - s//\1/
  38277. - q
  38278. - }
  38279. - /^X\/\(\/\/\)$/{
  38280. - s//\1/
  38281. - q
  38282. - }
  38283. - /^X\/\(\/\).*/{
  38284. - s//\1/
  38285. - q
  38286. - }
  38287. - s/.*/./; q'`
  38288. +# The archiver.
  38289. +AR=$lt_AR
  38290. +AR_FLAGS=$lt_AR_FLAGS
  38291. -# CDPATH.
  38292. -$as_unset CDPATH
  38293. +# A symbol stripping program.
  38294. +STRIP=$lt_STRIP
  38295. +# Commands used to install an old-style archive.
  38296. +RANLIB=$lt_RANLIB
  38297. +old_postinstall_cmds=$lt_old_postinstall_cmds
  38298. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  38299. +# A C compiler.
  38300. +LTCC=$lt_CC
  38301. - as_lineno_1=$LINENO
  38302. - as_lineno_2=$LINENO
  38303. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  38304. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  38305. -
  38306. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  38307. - # uniformly replaced by the line number. The first 'sed' inserts a
  38308. - # line-number line after each line using $LINENO; the second 'sed'
  38309. - # does the real work. The second script uses 'N' to pair each
  38310. - # line-number line with the line containing $LINENO, and appends
  38311. - # trailing '-' during substitution so that $LINENO is not a special
  38312. - # case at line end.
  38313. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  38314. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  38315. - # E. McMahon (1931-1989) for sed's syntax. :-)
  38316. - sed -n '
  38317. - p
  38318. - /[$]LINENO/=
  38319. - ' <$as_myself |
  38320. - sed '
  38321. - s/[$]LINENO.*/&-/
  38322. - t lineno
  38323. - b
  38324. - :lineno
  38325. - N
  38326. - :loop
  38327. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  38328. - t loop
  38329. - s/-\n.*//
  38330. - ' >$as_me.lineno &&
  38331. - chmod +x "$as_me.lineno" ||
  38332. - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  38333. - { (exit 1); exit 1; }; }
  38334. +# LTCC compiler flags.
  38335. +LTCFLAGS=$lt_CFLAGS
  38336. - # Don't try to exec as it changes $[0], causing all sort of problems
  38337. - # (the dirname of $[0] is not the place where we might find the
  38338. - # original and so on. Autoconf is especially sensitive to this).
  38339. - . "./$as_me.lineno"
  38340. - # Exit status is that of the last command.
  38341. - exit
  38342. -}
  38343. +# Take the output of nm and produce a listing of raw symbols and C names.
  38344. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  38345. +
  38346. +# Transform the output of nm in a proper C declaration.
  38347. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  38348. +# Transform the output of nm in a C name address pair.
  38349. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  38350. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  38351. - as_dirname=dirname
  38352. -else
  38353. - as_dirname=false
  38354. -fi
  38355. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  38356. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  38357. -ECHO_C= ECHO_N= ECHO_T=
  38358. -case `echo -n x` in
  38359. --n*)
  38360. - case `echo 'x\c'` in
  38361. - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  38362. - *) ECHO_C='\c';;
  38363. - esac;;
  38364. -*)
  38365. - ECHO_N='-n';;
  38366. -esac
  38367. +# The name of the directory that contains temporary libtool files.
  38368. +objdir=$objdir
  38369. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  38370. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  38371. - as_expr=expr
  38372. -else
  38373. - as_expr=false
  38374. -fi
  38375. +# Shell to use when invoking shell scripts.
  38376. +SHELL=$lt_SHELL
  38377. -rm -f conf$$ conf$$.exe conf$$.file
  38378. -if test -d conf$$.dir; then
  38379. - rm -f conf$$.dir/conf$$.file
  38380. -else
  38381. - rm -f conf$$.dir
  38382. - mkdir conf$$.dir
  38383. -fi
  38384. -echo >conf$$.file
  38385. -if ln -s conf$$.file conf$$ 2>/dev/null; then
  38386. - as_ln_s='ln -s'
  38387. - # ... but there are two gotchas:
  38388. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  38389. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  38390. - # In both cases, we have to default to `cp -p'.
  38391. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  38392. - as_ln_s='cp -p'
  38393. -elif ln conf$$.file conf$$ 2>/dev/null; then
  38394. - as_ln_s=ln
  38395. -else
  38396. - as_ln_s='cp -p'
  38397. -fi
  38398. -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  38399. -rmdir conf$$.dir 2>/dev/null
  38400. +# An echo program that does not interpret backslashes.
  38401. +ECHO=$lt_ECHO
  38402. -if mkdir -p . 2>/dev/null; then
  38403. - as_mkdir_p=:
  38404. -else
  38405. - test -d ./-p && rmdir ./-p
  38406. - as_mkdir_p=false
  38407. -fi
  38408. +# Used to examine libraries when file_magic_cmd begins with "file".
  38409. +MAGIC_CMD=$MAGIC_CMD
  38410. -# Find out whether ``test -x'' works. Don't use a zero-byte file, as
  38411. -# systems may use methods other than mode bits to determine executability.
  38412. -cat >conf$$.file <<_ASEOF
  38413. -#! /bin/sh
  38414. -exit 0
  38415. -_ASEOF
  38416. -chmod +x conf$$.file
  38417. -if test -x conf$$.file >/dev/null 2>&1; then
  38418. - as_executable_p="test -x"
  38419. -else
  38420. - as_executable_p=:
  38421. -fi
  38422. -rm -f conf$$.file
  38423. +# Must we lock files when doing compilation?
  38424. +need_locks=$lt_need_locks
  38425. -# Sed expression to map a string onto a valid CPP name.
  38426. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  38427. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  38428. +DSYMUTIL=$lt_DSYMUTIL
  38429. -# Sed expression to map a string onto a valid variable name.
  38430. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  38431. +# Tool to change global to local symbols on Mac OS X.
  38432. +NMEDIT=$lt_NMEDIT
  38433. +# Tool to manipulate fat objects and archives on Mac OS X.
  38434. +LIPO=$lt_LIPO
  38435. -exec 6>&1
  38436. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  38437. +OTOOL=$lt_OTOOL
  38438. -# Save the log message, to keep $[0] and so on meaningful, and to
  38439. -# report actual input values of CONFIG_FILES etc. instead of their
  38440. -# values after options handling.
  38441. -ac_log="
  38442. -This file was extended by $as_me, which was
  38443. -generated by GNU Autoconf 2.60. Invocation command line was
  38444. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  38445. +OTOOL64=$lt_OTOOL64
  38446. - CONFIG_FILES = $CONFIG_FILES
  38447. - CONFIG_HEADERS = $CONFIG_HEADERS
  38448. - CONFIG_LINKS = $CONFIG_LINKS
  38449. - CONFIG_COMMANDS = $CONFIG_COMMANDS
  38450. - $ $0 $@
  38451. +# Old archive suffix (normally "a").
  38452. +libext=$libext
  38453. -on `(hostname || uname -n) 2>/dev/null | sed 1q`
  38454. -"
  38455. +# Shared library suffix (normally ".so").
  38456. +shrext_cmds=$lt_shrext_cmds
  38457. -_ACEOF
  38458. +# The commands to extract the exported symbol list from a shared archive.
  38459. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  38460. -cat >>$CONFIG_STATUS <<_ACEOF
  38461. -# Files that config.status was made for.
  38462. -config_files="$ac_config_files"
  38463. -config_headers="$ac_config_headers"
  38464. -config_commands="$ac_config_commands"
  38465. +# Variables whose values should be saved in libtool wrapper scripts and
  38466. +# restored at link time.
  38467. +variables_saved_for_relink=$lt_variables_saved_for_relink
  38468. -_ACEOF
  38469. +# Do we need the "lib" prefix for modules?
  38470. +need_lib_prefix=$need_lib_prefix
  38471. -cat >>$CONFIG_STATUS <<\_ACEOF
  38472. -ac_cs_usage="\
  38473. -\`$as_me' instantiates files from templates according to the
  38474. -current configuration.
  38475. +# Do we need a version for libraries?
  38476. +need_version=$need_version
  38477. -Usage: $0 [OPTIONS] [FILE]...
  38478. +# Library versioning type.
  38479. +version_type=$version_type
  38480. - -h, --help print this help, then exit
  38481. - -V, --version print version number, then exit
  38482. - -q, --quiet do not print progress messages
  38483. - -d, --debug don't remove temporary files
  38484. - --recheck update $as_me by reconfiguring in the same conditions
  38485. - --file=FILE[:TEMPLATE]
  38486. - instantiate the configuration file FILE
  38487. - --header=FILE[:TEMPLATE]
  38488. - instantiate the configuration header FILE
  38489. +# Shared library runtime path variable.
  38490. +runpath_var=$runpath_var
  38491. -Configuration files:
  38492. -$config_files
  38493. +# Shared library path variable.
  38494. +shlibpath_var=$shlibpath_var
  38495. -Configuration headers:
  38496. -$config_headers
  38497. +# Is shlibpath searched before the hard-coded library search path?
  38498. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  38499. -Configuration commands:
  38500. -$config_commands
  38501. +# Format of library name prefix.
  38502. +libname_spec=$lt_libname_spec
  38503. -Report bugs to <bug-autoconf@gnu.org>."
  38504. +# List of archive names. First name is the real one, the rest are links.
  38505. +# The last name is the one that the linker finds with -lNAME
  38506. +library_names_spec=$lt_library_names_spec
  38507. -_ACEOF
  38508. -cat >>$CONFIG_STATUS <<_ACEOF
  38509. -ac_cs_version="\\
  38510. -config.status
  38511. -configured by $0, generated by GNU Autoconf 2.60,
  38512. - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  38513. +# The coded name of the library, if different from the real name.
  38514. +soname_spec=$lt_soname_spec
  38515. -Copyright (C) 2006 Free Software Foundation, Inc.
  38516. -This config.status script is free software; the Free Software Foundation
  38517. -gives unlimited permission to copy, distribute and modify it."
  38518. +# Command to use after installation of a shared archive.
  38519. +postinstall_cmds=$lt_postinstall_cmds
  38520. -ac_pwd='$ac_pwd'
  38521. -srcdir='$srcdir'
  38522. -INSTALL='$INSTALL'
  38523. -_ACEOF
  38524. +# Command to use after uninstallation of a shared archive.
  38525. +postuninstall_cmds=$lt_postuninstall_cmds
  38526. -cat >>$CONFIG_STATUS <<\_ACEOF
  38527. -# If no file are specified by the user, then we need to provide default
  38528. -# value. By we need to know if files were specified by the user.
  38529. -ac_need_defaults=:
  38530. -while test $# != 0
  38531. -do
  38532. - case $1 in
  38533. - --*=*)
  38534. - ac_option=`expr "X$1" : 'X\([^=]*\)='`
  38535. - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  38536. - ac_shift=:
  38537. - ;;
  38538. - *)
  38539. - ac_option=$1
  38540. - ac_optarg=$2
  38541. - ac_shift=shift
  38542. - ;;
  38543. - esac
  38544. +# Commands used to finish a libtool library installation in a directory.
  38545. +finish_cmds=$lt_finish_cmds
  38546. - case $ac_option in
  38547. - # Handling of the options.
  38548. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  38549. - ac_cs_recheck=: ;;
  38550. - --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  38551. - echo "$ac_cs_version"; exit ;;
  38552. - --debug | --debu | --deb | --de | --d | -d )
  38553. - debug=: ;;
  38554. - --file | --fil | --fi | --f )
  38555. - $ac_shift
  38556. - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  38557. - ac_need_defaults=false;;
  38558. - --header | --heade | --head | --hea )
  38559. - $ac_shift
  38560. - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  38561. - ac_need_defaults=false;;
  38562. - --he | --h)
  38563. - # Conflict between --help and --header
  38564. - { echo "$as_me: error: ambiguous option: $1
  38565. -Try \`$0 --help' for more information." >&2
  38566. - { (exit 1); exit 1; }; };;
  38567. - --help | --hel | -h )
  38568. - echo "$ac_cs_usage"; exit ;;
  38569. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  38570. - | -silent | --silent | --silen | --sile | --sil | --si | --s)
  38571. - ac_cs_silent=: ;;
  38572. +# As "finish_cmds", except a single script fragment to be evaled but
  38573. +# not shown.
  38574. +finish_eval=$lt_finish_eval
  38575. - # This is an error.
  38576. - -*) { echo "$as_me: error: unrecognized option: $1
  38577. -Try \`$0 --help' for more information." >&2
  38578. - { (exit 1); exit 1; }; } ;;
  38579. +# Whether we should hardcode library paths into libraries.
  38580. +hardcode_into_libs=$hardcode_into_libs
  38581. - *) ac_config_targets="$ac_config_targets $1"
  38582. - ac_need_defaults=false ;;
  38583. +# Compile-time system search path for libraries.
  38584. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  38585. - esac
  38586. - shift
  38587. -done
  38588. +# Run-time system search path for libraries.
  38589. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  38590. -ac_configure_extra_args=
  38591. +# Whether dlopen is supported.
  38592. +dlopen_support=$enable_dlopen
  38593. -if $ac_cs_silent; then
  38594. - exec 6>/dev/null
  38595. - ac_configure_extra_args="$ac_configure_extra_args --silent"
  38596. -fi
  38597. +# Whether dlopen of programs is supported.
  38598. +dlopen_self=$enable_dlopen_self
  38599. -_ACEOF
  38600. -cat >>$CONFIG_STATUS <<_ACEOF
  38601. -if \$ac_cs_recheck; then
  38602. - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  38603. - CONFIG_SHELL=$SHELL
  38604. - export CONFIG_SHELL
  38605. - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  38606. -fi
  38607. +# Whether dlopen of statically linked programs is supported.
  38608. +dlopen_self_static=$enable_dlopen_self_static
  38609. -_ACEOF
  38610. -cat >>$CONFIG_STATUS <<\_ACEOF
  38611. -exec 5>>config.log
  38612. -{
  38613. - echo
  38614. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  38615. -## Running $as_me. ##
  38616. -_ASBOX
  38617. - echo "$ac_log"
  38618. -} >&5
  38619. +# Commands to strip libraries.
  38620. +old_striplib=$lt_old_striplib
  38621. +striplib=$lt_striplib
  38622. -_ACEOF
  38623. -cat >>$CONFIG_STATUS <<_ACEOF
  38624. -#
  38625. -# INIT-COMMANDS
  38626. -#
  38627. -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  38628. -_ACEOF
  38629. +# The linker used to build libraries.
  38630. +LD=$lt_LD
  38631. -cat >>$CONFIG_STATUS <<\_ACEOF
  38632. +# Commands used to build an old-style archive.
  38633. +old_archive_cmds=$lt_old_archive_cmds
  38634. -# Handling of arguments.
  38635. -for ac_config_target in $ac_config_targets
  38636. -do
  38637. - case $ac_config_target in
  38638. - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  38639. - "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  38640. - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  38641. - "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  38642. - "doc/pictures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/pictures/Makefile" ;;
  38643. - "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;;
  38644. - "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  38645. - "include/sound/Makefile") CONFIG_FILES="$CONFIG_FILES include/sound/Makefile" ;;
  38646. - "src/Versions") CONFIG_FILES="$CONFIG_FILES src/Versions" ;;
  38647. - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  38648. - "src/control/Makefile") CONFIG_FILES="$CONFIG_FILES src/control/Makefile" ;;
  38649. - "src/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES src/mixer/Makefile" ;;
  38650. - "src/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/Makefile" ;;
  38651. - "src/pcm/scopes/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/scopes/Makefile" ;;
  38652. - "src/rawmidi/Makefile") CONFIG_FILES="$CONFIG_FILES src/rawmidi/Makefile" ;;
  38653. - "src/timer/Makefile") CONFIG_FILES="$CONFIG_FILES src/timer/Makefile" ;;
  38654. - "src/hwdep/Makefile") CONFIG_FILES="$CONFIG_FILES src/hwdep/Makefile" ;;
  38655. - "src/seq/Makefile") CONFIG_FILES="$CONFIG_FILES src/seq/Makefile" ;;
  38656. - "src/compat/Makefile") CONFIG_FILES="$CONFIG_FILES src/compat/Makefile" ;;
  38657. - "src/alisp/Makefile") CONFIG_FILES="$CONFIG_FILES src/alisp/Makefile" ;;
  38658. - "src/conf/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/Makefile" ;;
  38659. - "src/conf/cards/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/cards/Makefile" ;;
  38660. - "src/conf/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/pcm/Makefile" ;;
  38661. - "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
  38662. - "modules/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/Makefile" ;;
  38663. - "modules/mixer/simple/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/simple/Makefile" ;;
  38664. - "alsalisp/Makefile") CONFIG_FILES="$CONFIG_FILES alsalisp/Makefile" ;;
  38665. - "aserver/Makefile") CONFIG_FILES="$CONFIG_FILES aserver/Makefile" ;;
  38666. - "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  38667. - "test/lsb/Makefile") CONFIG_FILES="$CONFIG_FILES test/lsb/Makefile" ;;
  38668. - "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
  38669. - "utils/alsa-lib.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-lib.spec" ;;
  38670. - "utils/alsa.pc") CONFIG_FILES="$CONFIG_FILES utils/alsa.pc" ;;
  38671. +# A language specific compiler.
  38672. +CC=$lt_compiler
  38673. - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  38674. -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  38675. - { (exit 1); exit 1; }; };;
  38676. - esac
  38677. -done
  38678. +# Is the compiler the GNU compiler?
  38679. +with_gcc=$GCC
  38680. +# Compiler flag to turn off builtin functions.
  38681. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  38682. -# If the user did not use the arguments to specify the items to instantiate,
  38683. -# then the envvar interface is used. Set only those that are not.
  38684. -# We use the long form for the default assignment because of an extremely
  38685. -# bizarre bug on SunOS 4.1.3.
  38686. -if $ac_need_defaults; then
  38687. - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  38688. - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  38689. - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  38690. -fi
  38691. +# How to pass a linker flag through the compiler.
  38692. +wl=$lt_lt_prog_compiler_wl
  38693. +
  38694. +# Additional compiler flags for building library objects.
  38695. +pic_flag=$lt_lt_prog_compiler_pic
  38696. +
  38697. +# Compiler flag to prevent dynamic linking.
  38698. +link_static_flag=$lt_lt_prog_compiler_static
  38699. +
  38700. +# Does compiler simultaneously support -c and -o options?
  38701. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  38702. -# Have a temporary directory for convenience. Make it in the build tree
  38703. -# simply because there is no reason against having it here, and in addition,
  38704. -# creating and moving files from /tmp can sometimes cause problems.
  38705. -# Hook for its removal unless debugging.
  38706. -# Note that there is a small window in which the directory will not be cleaned:
  38707. -# after its creation but before its name has been assigned to `$tmp'.
  38708. -$debug ||
  38709. -{
  38710. - tmp=
  38711. - trap 'exit_status=$?
  38712. - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  38713. -' 0
  38714. - trap '{ (exit 1); exit 1; }' 1 2 13 15
  38715. -}
  38716. -# Create a (secure) tmp directory for tmp files.
  38717. +# Whether or not to add -lc for building shared libraries.
  38718. +build_libtool_need_lc=$archive_cmds_need_lc
  38719. -{
  38720. - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  38721. - test -n "$tmp" && test -d "$tmp"
  38722. -} ||
  38723. -{
  38724. - tmp=./conf$$-$RANDOM
  38725. - (umask 077 && mkdir "$tmp")
  38726. -} ||
  38727. -{
  38728. - echo "$me: cannot create a temporary directory in ." >&2
  38729. - { (exit 1); exit 1; }
  38730. -}
  38731. +# Whether or not to disallow shared libs when runtime libs are static.
  38732. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  38733. -#
  38734. -# Set up the sed scripts for CONFIG_FILES section.
  38735. -#
  38736. +# Compiler flag to allow reflexive dlopens.
  38737. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  38738. -# No need to generate the scripts if there are no CONFIG_FILES.
  38739. -# This happens for instance when ./config.status config.h
  38740. -if test -n "$CONFIG_FILES"; then
  38741. +# Compiler flag to generate shared objects directly from archives.
  38742. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  38743. -_ACEOF
  38744. +# Whether the compiler copes with passing no objects directly.
  38745. +compiler_needs_object=$lt_compiler_needs_object
  38746. +# Create an old-style archive from a shared archive.
  38747. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  38748. +# Create a temporary old-style archive to link instead of a shared archive.
  38749. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  38750. -ac_delim='%!_!# '
  38751. -for ac_last_try in false false false false false :; do
  38752. - cat >conf$$subs.sed <<_ACEOF
  38753. -SHELL!$SHELL$ac_delim
  38754. -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  38755. -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  38756. -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  38757. -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  38758. -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  38759. -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  38760. -exec_prefix!$exec_prefix$ac_delim
  38761. -prefix!$prefix$ac_delim
  38762. -program_transform_name!$program_transform_name$ac_delim
  38763. -bindir!$bindir$ac_delim
  38764. -sbindir!$sbindir$ac_delim
  38765. -libexecdir!$libexecdir$ac_delim
  38766. -datarootdir!$datarootdir$ac_delim
  38767. -datadir!$datadir$ac_delim
  38768. -sysconfdir!$sysconfdir$ac_delim
  38769. -sharedstatedir!$sharedstatedir$ac_delim
  38770. -localstatedir!$localstatedir$ac_delim
  38771. -includedir!$includedir$ac_delim
  38772. -oldincludedir!$oldincludedir$ac_delim
  38773. -docdir!$docdir$ac_delim
  38774. -infodir!$infodir$ac_delim
  38775. -htmldir!$htmldir$ac_delim
  38776. -dvidir!$dvidir$ac_delim
  38777. -pdfdir!$pdfdir$ac_delim
  38778. -psdir!$psdir$ac_delim
  38779. -libdir!$libdir$ac_delim
  38780. -localedir!$localedir$ac_delim
  38781. -mandir!$mandir$ac_delim
  38782. -DEFS!$DEFS$ac_delim
  38783. -ECHO_C!$ECHO_C$ac_delim
  38784. -ECHO_N!$ECHO_N$ac_delim
  38785. -ECHO_T!$ECHO_T$ac_delim
  38786. -LIBS!$LIBS$ac_delim
  38787. -build_alias!$build_alias$ac_delim
  38788. -host_alias!$host_alias$ac_delim
  38789. -target_alias!$target_alias$ac_delim
  38790. -build!$build$ac_delim
  38791. -build_cpu!$build_cpu$ac_delim
  38792. -build_vendor!$build_vendor$ac_delim
  38793. -build_os!$build_os$ac_delim
  38794. -host!$host$ac_delim
  38795. -host_cpu!$host_cpu$ac_delim
  38796. -host_vendor!$host_vendor$ac_delim
  38797. -host_os!$host_os$ac_delim
  38798. -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  38799. -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  38800. -INSTALL_DATA!$INSTALL_DATA$ac_delim
  38801. -CYGPATH_W!$CYGPATH_W$ac_delim
  38802. -PACKAGE!$PACKAGE$ac_delim
  38803. -VERSION!$VERSION$ac_delim
  38804. -ACLOCAL!$ACLOCAL$ac_delim
  38805. -AUTOCONF!$AUTOCONF$ac_delim
  38806. -AUTOMAKE!$AUTOMAKE$ac_delim
  38807. -AUTOHEADER!$AUTOHEADER$ac_delim
  38808. -MAKEINFO!$MAKEINFO$ac_delim
  38809. -install_sh!$install_sh$ac_delim
  38810. -STRIP!$STRIP$ac_delim
  38811. -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  38812. -mkdir_p!$mkdir_p$ac_delim
  38813. -AWK!$AWK$ac_delim
  38814. -SET_MAKE!$SET_MAKE$ac_delim
  38815. -am__leading_dot!$am__leading_dot$ac_delim
  38816. -AMTAR!$AMTAR$ac_delim
  38817. -am__tar!$am__tar$ac_delim
  38818. -am__untar!$am__untar$ac_delim
  38819. -INSTALL_M4_TRUE!$INSTALL_M4_TRUE$ac_delim
  38820. -INSTALL_M4_FALSE!$INSTALL_M4_FALSE$ac_delim
  38821. -CC!$CC$ac_delim
  38822. -CFLAGS!$CFLAGS$ac_delim
  38823. -LDFLAGS!$LDFLAGS$ac_delim
  38824. -CPPFLAGS!$CPPFLAGS$ac_delim
  38825. -ac_ct_CC!$ac_ct_CC$ac_delim
  38826. -EXEEXT!$EXEEXT$ac_delim
  38827. -OBJEXT!$OBJEXT$ac_delim
  38828. -DEPDIR!$DEPDIR$ac_delim
  38829. -am__include!$am__include$ac_delim
  38830. -am__quote!$am__quote$ac_delim
  38831. -AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  38832. -AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  38833. -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  38834. -CCDEPMODE!$CCDEPMODE$ac_delim
  38835. -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  38836. -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  38837. -CPP!$CPP$ac_delim
  38838. -LN_S!$LN_S$ac_delim
  38839. -GREP!$GREP$ac_delim
  38840. -EGREP!$EGREP$ac_delim
  38841. -ECHO!$ECHO$ac_delim
  38842. -AR!$AR$ac_delim
  38843. -RANLIB!$RANLIB$ac_delim
  38844. -CXX!$CXX$ac_delim
  38845. -CXXFLAGS!$CXXFLAGS$ac_delim
  38846. -ac_ct_CXX!$ac_ct_CXX$ac_delim
  38847. -CXXDEPMODE!$CXXDEPMODE$ac_delim
  38848. -am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
  38849. -am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
  38850. -_ACEOF
  38851. +# Commands used to build a shared archive.
  38852. +archive_cmds=$lt_archive_cmds
  38853. +archive_expsym_cmds=$lt_archive_expsym_cmds
  38854. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  38855. - break
  38856. - elif $ac_last_try; then
  38857. - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  38858. -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  38859. - { (exit 1); exit 1; }; }
  38860. - else
  38861. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  38862. - fi
  38863. -done
  38864. +# Commands used to build a loadable module if different from building
  38865. +# a shared archive.
  38866. +module_cmds=$lt_module_cmds
  38867. +module_expsym_cmds=$lt_module_expsym_cmds
  38868. -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  38869. -if test -n "$ac_eof"; then
  38870. - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  38871. - ac_eof=`expr $ac_eof + 1`
  38872. -fi
  38873. +# Whether we are building with GNU ld or not.
  38874. +with_gnu_ld=$lt_with_gnu_ld
  38875. -cat >>$CONFIG_STATUS <<_ACEOF
  38876. -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  38877. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  38878. -_ACEOF
  38879. -sed '
  38880. -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  38881. -s/^/s,@/; s/!/@,|#_!!_#|/
  38882. -:n
  38883. -t n
  38884. -s/'"$ac_delim"'$/,g/; t
  38885. -s/$/\\/; p
  38886. -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  38887. -' >>$CONFIG_STATUS <conf$$subs.sed
  38888. -rm -f conf$$subs.sed
  38889. -cat >>$CONFIG_STATUS <<_ACEOF
  38890. -CEOF$ac_eof
  38891. -_ACEOF
  38892. +# Flag that allows shared libraries with undefined symbols to be built.
  38893. +allow_undefined_flag=$lt_allow_undefined_flag
  38894. +# Flag that enforces no undefined symbols.
  38895. +no_undefined_flag=$lt_no_undefined_flag
  38896. -ac_delim='%!_!# '
  38897. -for ac_last_try in false false false false false :; do
  38898. - cat >conf$$subs.sed <<_ACEOF
  38899. -CXXCPP!$CXXCPP$ac_delim
  38900. -F77!$F77$ac_delim
  38901. -FFLAGS!$FFLAGS$ac_delim
  38902. -ac_ct_F77!$ac_ct_F77$ac_delim
  38903. -LIBTOOL!$LIBTOOL$ac_delim
  38904. -ALSA_HSEARCH_R_TRUE!$ALSA_HSEARCH_R_TRUE$ac_delim
  38905. -ALSA_HSEARCH_R_FALSE!$ALSA_HSEARCH_R_FALSE$ac_delim
  38906. -SND_LIB_VERSION!$SND_LIB_VERSION$ac_delim
  38907. -SND_LIB_MAJOR!$SND_LIB_MAJOR$ac_delim
  38908. -SND_LIB_MINOR!$SND_LIB_MINOR$ac_delim
  38909. -SND_LIB_SUBMINOR!$SND_LIB_SUBMINOR$ac_delim
  38910. -SND_LIB_EXTRAVER!$SND_LIB_EXTRAVER$ac_delim
  38911. -LIBTOOL_VERSION_INFO!$LIBTOOL_VERSION_INFO$ac_delim
  38912. -ALSA_CONFIG_DIR!$ALSA_CONFIG_DIR$ac_delim
  38913. -ALSA_PLUGIN_DIR!$ALSA_PLUGIN_DIR$ac_delim
  38914. -VERSIONED_SYMBOLS_TRUE!$VERSIONED_SYMBOLS_TRUE$ac_delim
  38915. -VERSIONED_SYMBOLS_FALSE!$VERSIONED_SYMBOLS_FALSE$ac_delim
  38916. -SYMBOLIC_FUNCTIONS_TRUE!$SYMBOLIC_FUNCTIONS_TRUE$ac_delim
  38917. -SYMBOLIC_FUNCTIONS_FALSE!$SYMBOLIC_FUNCTIONS_FALSE$ac_delim
  38918. -SYMBOL_PREFIX!$SYMBOL_PREFIX$ac_delim
  38919. -BUILD_MODULES_TRUE!$BUILD_MODULES_TRUE$ac_delim
  38920. -BUILD_MODULES_FALSE!$BUILD_MODULES_FALSE$ac_delim
  38921. -ALSA_DEPLIBS!$ALSA_DEPLIBS$ac_delim
  38922. -KEEP_OLD_SYMBOLS_TRUE!$KEEP_OLD_SYMBOLS_TRUE$ac_delim
  38923. -KEEP_OLD_SYMBOLS_FALSE!$KEEP_OLD_SYMBOLS_FALSE$ac_delim
  38924. -PYTHON_LIBS!$PYTHON_LIBS$ac_delim
  38925. -PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
  38926. -BUILD_MIXER_TRUE!$BUILD_MIXER_TRUE$ac_delim
  38927. -BUILD_MIXER_FALSE!$BUILD_MIXER_FALSE$ac_delim
  38928. -BUILD_PCM_TRUE!$BUILD_PCM_TRUE$ac_delim
  38929. -BUILD_PCM_FALSE!$BUILD_PCM_FALSE$ac_delim
  38930. -BUILD_RAWMIDI_TRUE!$BUILD_RAWMIDI_TRUE$ac_delim
  38931. -BUILD_RAWMIDI_FALSE!$BUILD_RAWMIDI_FALSE$ac_delim
  38932. -BUILD_HWDEP_TRUE!$BUILD_HWDEP_TRUE$ac_delim
  38933. -BUILD_HWDEP_FALSE!$BUILD_HWDEP_FALSE$ac_delim
  38934. -BUILD_SEQ_TRUE!$BUILD_SEQ_TRUE$ac_delim
  38935. -BUILD_SEQ_FALSE!$BUILD_SEQ_FALSE$ac_delim
  38936. -BUILD_ALISP_TRUE!$BUILD_ALISP_TRUE$ac_delim
  38937. -BUILD_ALISP_FALSE!$BUILD_ALISP_FALSE$ac_delim
  38938. -BUILD_PYTHON_TRUE!$BUILD_PYTHON_TRUE$ac_delim
  38939. -BUILD_PYTHON_FALSE!$BUILD_PYTHON_FALSE$ac_delim
  38940. -BUILD_PCM_PLUGIN_TRUE!$BUILD_PCM_PLUGIN_TRUE$ac_delim
  38941. -BUILD_PCM_PLUGIN_FALSE!$BUILD_PCM_PLUGIN_FALSE$ac_delim
  38942. -BUILD_PCM_PLUGIN_COPY_TRUE!$BUILD_PCM_PLUGIN_COPY_TRUE$ac_delim
  38943. -BUILD_PCM_PLUGIN_COPY_FALSE!$BUILD_PCM_PLUGIN_COPY_FALSE$ac_delim
  38944. -BUILD_PCM_PLUGIN_LINEAR_TRUE!$BUILD_PCM_PLUGIN_LINEAR_TRUE$ac_delim
  38945. -BUILD_PCM_PLUGIN_LINEAR_FALSE!$BUILD_PCM_PLUGIN_LINEAR_FALSE$ac_delim
  38946. -BUILD_PCM_PLUGIN_ROUTE_TRUE!$BUILD_PCM_PLUGIN_ROUTE_TRUE$ac_delim
  38947. -BUILD_PCM_PLUGIN_ROUTE_FALSE!$BUILD_PCM_PLUGIN_ROUTE_FALSE$ac_delim
  38948. -BUILD_PCM_PLUGIN_MULAW_TRUE!$BUILD_PCM_PLUGIN_MULAW_TRUE$ac_delim
  38949. -BUILD_PCM_PLUGIN_MULAW_FALSE!$BUILD_PCM_PLUGIN_MULAW_FALSE$ac_delim
  38950. -BUILD_PCM_PLUGIN_ALAW_TRUE!$BUILD_PCM_PLUGIN_ALAW_TRUE$ac_delim
  38951. -BUILD_PCM_PLUGIN_ALAW_FALSE!$BUILD_PCM_PLUGIN_ALAW_FALSE$ac_delim
  38952. -BUILD_PCM_PLUGIN_ADPCM_TRUE!$BUILD_PCM_PLUGIN_ADPCM_TRUE$ac_delim
  38953. -BUILD_PCM_PLUGIN_ADPCM_FALSE!$BUILD_PCM_PLUGIN_ADPCM_FALSE$ac_delim
  38954. -BUILD_PCM_PLUGIN_RATE_TRUE!$BUILD_PCM_PLUGIN_RATE_TRUE$ac_delim
  38955. -BUILD_PCM_PLUGIN_RATE_FALSE!$BUILD_PCM_PLUGIN_RATE_FALSE$ac_delim
  38956. -BUILD_PCM_PLUGIN_PLUG_TRUE!$BUILD_PCM_PLUGIN_PLUG_TRUE$ac_delim
  38957. -BUILD_PCM_PLUGIN_PLUG_FALSE!$BUILD_PCM_PLUGIN_PLUG_FALSE$ac_delim
  38958. -BUILD_PCM_PLUGIN_MULTI_TRUE!$BUILD_PCM_PLUGIN_MULTI_TRUE$ac_delim
  38959. -BUILD_PCM_PLUGIN_MULTI_FALSE!$BUILD_PCM_PLUGIN_MULTI_FALSE$ac_delim
  38960. -BUILD_PCM_PLUGIN_SHM_TRUE!$BUILD_PCM_PLUGIN_SHM_TRUE$ac_delim
  38961. -BUILD_PCM_PLUGIN_SHM_FALSE!$BUILD_PCM_PLUGIN_SHM_FALSE$ac_delim
  38962. -BUILD_PCM_PLUGIN_FILE_TRUE!$BUILD_PCM_PLUGIN_FILE_TRUE$ac_delim
  38963. -BUILD_PCM_PLUGIN_FILE_FALSE!$BUILD_PCM_PLUGIN_FILE_FALSE$ac_delim
  38964. -BUILD_PCM_PLUGIN_NULL_TRUE!$BUILD_PCM_PLUGIN_NULL_TRUE$ac_delim
  38965. -BUILD_PCM_PLUGIN_NULL_FALSE!$BUILD_PCM_PLUGIN_NULL_FALSE$ac_delim
  38966. -BUILD_PCM_PLUGIN_EMPTY_TRUE!$BUILD_PCM_PLUGIN_EMPTY_TRUE$ac_delim
  38967. -BUILD_PCM_PLUGIN_EMPTY_FALSE!$BUILD_PCM_PLUGIN_EMPTY_FALSE$ac_delim
  38968. -BUILD_PCM_PLUGIN_SHARE_TRUE!$BUILD_PCM_PLUGIN_SHARE_TRUE$ac_delim
  38969. -BUILD_PCM_PLUGIN_SHARE_FALSE!$BUILD_PCM_PLUGIN_SHARE_FALSE$ac_delim
  38970. -BUILD_PCM_PLUGIN_METER_TRUE!$BUILD_PCM_PLUGIN_METER_TRUE$ac_delim
  38971. -BUILD_PCM_PLUGIN_METER_FALSE!$BUILD_PCM_PLUGIN_METER_FALSE$ac_delim
  38972. -BUILD_PCM_PLUGIN_HOOKS_TRUE!$BUILD_PCM_PLUGIN_HOOKS_TRUE$ac_delim
  38973. -BUILD_PCM_PLUGIN_HOOKS_FALSE!$BUILD_PCM_PLUGIN_HOOKS_FALSE$ac_delim
  38974. -BUILD_PCM_PLUGIN_LFLOAT_TRUE!$BUILD_PCM_PLUGIN_LFLOAT_TRUE$ac_delim
  38975. -BUILD_PCM_PLUGIN_LFLOAT_FALSE!$BUILD_PCM_PLUGIN_LFLOAT_FALSE$ac_delim
  38976. -BUILD_PCM_PLUGIN_LADSPA_TRUE!$BUILD_PCM_PLUGIN_LADSPA_TRUE$ac_delim
  38977. -BUILD_PCM_PLUGIN_LADSPA_FALSE!$BUILD_PCM_PLUGIN_LADSPA_FALSE$ac_delim
  38978. -BUILD_PCM_PLUGIN_DMIX_TRUE!$BUILD_PCM_PLUGIN_DMIX_TRUE$ac_delim
  38979. -BUILD_PCM_PLUGIN_DMIX_FALSE!$BUILD_PCM_PLUGIN_DMIX_FALSE$ac_delim
  38980. -BUILD_PCM_PLUGIN_DSHARE_TRUE!$BUILD_PCM_PLUGIN_DSHARE_TRUE$ac_delim
  38981. -BUILD_PCM_PLUGIN_DSHARE_FALSE!$BUILD_PCM_PLUGIN_DSHARE_FALSE$ac_delim
  38982. -BUILD_PCM_PLUGIN_DSNOOP_TRUE!$BUILD_PCM_PLUGIN_DSNOOP_TRUE$ac_delim
  38983. -BUILD_PCM_PLUGIN_DSNOOP_FALSE!$BUILD_PCM_PLUGIN_DSNOOP_FALSE$ac_delim
  38984. -BUILD_PCM_PLUGIN_ASYM_TRUE!$BUILD_PCM_PLUGIN_ASYM_TRUE$ac_delim
  38985. -BUILD_PCM_PLUGIN_ASYM_FALSE!$BUILD_PCM_PLUGIN_ASYM_FALSE$ac_delim
  38986. -BUILD_PCM_PLUGIN_IEC958_TRUE!$BUILD_PCM_PLUGIN_IEC958_TRUE$ac_delim
  38987. -BUILD_PCM_PLUGIN_IEC958_FALSE!$BUILD_PCM_PLUGIN_IEC958_FALSE$ac_delim
  38988. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE!$BUILD_PCM_PLUGIN_SOFTVOL_TRUE$ac_delim
  38989. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE!$BUILD_PCM_PLUGIN_SOFTVOL_FALSE$ac_delim
  38990. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE!$BUILD_PCM_PLUGIN_EXTPLUG_TRUE$ac_delim
  38991. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE!$BUILD_PCM_PLUGIN_EXTPLUG_FALSE$ac_delim
  38992. -BUILD_PCM_PLUGIN_IOPLUG_TRUE!$BUILD_PCM_PLUGIN_IOPLUG_TRUE$ac_delim
  38993. -BUILD_PCM_PLUGIN_IOPLUG_FALSE!$BUILD_PCM_PLUGIN_IOPLUG_FALSE$ac_delim
  38994. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE!$BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE$ac_delim
  38995. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE!$BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE$ac_delim
  38996. -_ACEOF
  38997. +# Flag to hardcode \$libdir into a binary during linking.
  38998. +# This must work even if \$libdir does not exist
  38999. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  39000. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  39001. - break
  39002. - elif $ac_last_try; then
  39003. - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  39004. -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  39005. - { (exit 1); exit 1; }; }
  39006. - else
  39007. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  39008. - fi
  39009. -done
  39010. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  39011. +# during linking. This must work even if \$libdir does not exist.
  39012. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  39013. -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  39014. -if test -n "$ac_eof"; then
  39015. - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  39016. - ac_eof=`expr $ac_eof + 1`
  39017. -fi
  39018. +# Whether we need a single "-rpath" flag with a separated argument.
  39019. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  39020. -cat >>$CONFIG_STATUS <<_ACEOF
  39021. -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  39022. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  39023. -_ACEOF
  39024. -sed '
  39025. -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  39026. -s/^/s,@/; s/!/@,|#_!!_#|/
  39027. -:n
  39028. -t n
  39029. -s/'"$ac_delim"'$/,g/; t
  39030. -s/$/\\/; p
  39031. -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  39032. -' >>$CONFIG_STATUS <conf$$subs.sed
  39033. -rm -f conf$$subs.sed
  39034. -cat >>$CONFIG_STATUS <<_ACEOF
  39035. -CEOF$ac_eof
  39036. -_ACEOF
  39037. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  39038. +# DIR into the resulting binary.
  39039. +hardcode_direct=$hardcode_direct
  39040. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  39041. +# DIR into the resulting binary and the resulting library dependency is
  39042. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  39043. +# library is relocated.
  39044. +hardcode_direct_absolute=$hardcode_direct_absolute
  39045. -ac_delim='%!_!# '
  39046. -for ac_last_try in false false false false false :; do
  39047. - cat >conf$$subs.sed <<_ACEOF
  39048. -BUILD_CTL_PLUGIN_TRUE!$BUILD_CTL_PLUGIN_TRUE$ac_delim
  39049. -BUILD_CTL_PLUGIN_FALSE!$BUILD_CTL_PLUGIN_FALSE$ac_delim
  39050. -BUILD_CTL_PLUGIN_SHM_TRUE!$BUILD_CTL_PLUGIN_SHM_TRUE$ac_delim
  39051. -BUILD_CTL_PLUGIN_SHM_FALSE!$BUILD_CTL_PLUGIN_SHM_FALSE$ac_delim
  39052. -BUILD_CTL_PLUGIN_EXT_TRUE!$BUILD_CTL_PLUGIN_EXT_TRUE$ac_delim
  39053. -BUILD_CTL_PLUGIN_EXT_FALSE!$BUILD_CTL_PLUGIN_EXT_FALSE$ac_delim
  39054. -LIBOBJS!$LIBOBJS$ac_delim
  39055. -LTLIBOBJS!$LTLIBOBJS$ac_delim
  39056. -_ACEOF
  39057. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  39058. +# into the resulting binary.
  39059. +hardcode_minus_L=$hardcode_minus_L
  39060. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
  39061. - break
  39062. - elif $ac_last_try; then
  39063. - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  39064. -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  39065. - { (exit 1); exit 1; }; }
  39066. - else
  39067. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  39068. - fi
  39069. -done
  39070. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  39071. +# into the resulting binary.
  39072. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  39073. -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  39074. -if test -n "$ac_eof"; then
  39075. - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  39076. - ac_eof=`expr $ac_eof + 1`
  39077. -fi
  39078. -
  39079. -cat >>$CONFIG_STATUS <<_ACEOF
  39080. -cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
  39081. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  39082. -_ACEOF
  39083. -sed '
  39084. -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  39085. -s/^/s,@/; s/!/@,|#_!!_#|/
  39086. -:n
  39087. -t n
  39088. -s/'"$ac_delim"'$/,g/; t
  39089. -s/$/\\/; p
  39090. -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  39091. -' >>$CONFIG_STATUS <conf$$subs.sed
  39092. -rm -f conf$$subs.sed
  39093. -cat >>$CONFIG_STATUS <<_ACEOF
  39094. -:end
  39095. -s/|#_!!_#|//g
  39096. -CEOF$ac_eof
  39097. -_ACEOF
  39098. +# Set to "yes" if building a shared library automatically hardcodes DIR
  39099. +# into the library and all subsequent libraries and executables linked
  39100. +# against it.
  39101. +hardcode_automatic=$hardcode_automatic
  39102. +# Set to yes if linker adds runtime paths of dependent libraries
  39103. +# to runtime path list.
  39104. +inherit_rpath=$inherit_rpath
  39105. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  39106. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  39107. -# trailing colons and then remove the whole line if VPATH becomes empty
  39108. -# (actually we leave an empty line to preserve line numbers).
  39109. -if test "x$srcdir" = x.; then
  39110. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  39111. -s/:*\$(srcdir):*/:/
  39112. -s/:*\${srcdir}:*/:/
  39113. -s/:*@srcdir@:*/:/
  39114. -s/^\([^=]*=[ ]*\):*/\1/
  39115. -s/:*$//
  39116. -s/^[^=]*=[ ]*$//
  39117. -}'
  39118. -fi
  39119. +# Whether libtool must link a program against all its dependency libraries.
  39120. +link_all_deplibs=$link_all_deplibs
  39121. -cat >>$CONFIG_STATUS <<\_ACEOF
  39122. -fi # test -n "$CONFIG_FILES"
  39123. +# Fix the shell variable \$srcfile for the compiler.
  39124. +fix_srcfile_path=$lt_fix_srcfile_path
  39125. +# Set to "yes" if exported symbols are required.
  39126. +always_export_symbols=$always_export_symbols
  39127. -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
  39128. -do
  39129. - case $ac_tag in
  39130. - :[FHLC]) ac_mode=$ac_tag; continue;;
  39131. - esac
  39132. - case $ac_mode$ac_tag in
  39133. - :[FHL]*:*);;
  39134. - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  39135. -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  39136. - { (exit 1); exit 1; }; };;
  39137. - :[FH]-) ac_tag=-:-;;
  39138. - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  39139. - esac
  39140. - ac_save_IFS=$IFS
  39141. - IFS=:
  39142. - set x $ac_tag
  39143. - IFS=$ac_save_IFS
  39144. - shift
  39145. - ac_file=$1
  39146. - shift
  39147. +# The commands to list exported symbols.
  39148. +export_symbols_cmds=$lt_export_symbols_cmds
  39149. - case $ac_mode in
  39150. - :L) ac_source=$1;;
  39151. - :[FH])
  39152. - ac_file_inputs=
  39153. - for ac_f
  39154. - do
  39155. - case $ac_f in
  39156. - -) ac_f="$tmp/stdin";;
  39157. - *) # Look for the file first in the build tree, then in the source tree
  39158. - # (if the path is not absolute). The absolute path cannot be DOS-style,
  39159. - # because $ac_f cannot contain `:'.
  39160. - test -f "$ac_f" ||
  39161. - case $ac_f in
  39162. - [\\/$]*) false;;
  39163. - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  39164. - esac ||
  39165. - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  39166. -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  39167. - { (exit 1); exit 1; }; };;
  39168. - esac
  39169. - ac_file_inputs="$ac_file_inputs $ac_f"
  39170. - done
  39171. +# Symbols that should not be listed in the preloaded symbols.
  39172. +exclude_expsyms=$lt_exclude_expsyms
  39173. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  39174. - # use $as_me), people would be surprised to read:
  39175. - # /* config.h. Generated by config.status. */
  39176. - configure_input="Generated from "`IFS=:
  39177. - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  39178. - if test x"$ac_file" != x-; then
  39179. - configure_input="$ac_file. $configure_input"
  39180. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  39181. -echo "$as_me: creating $ac_file" >&6;}
  39182. - fi
  39183. +# Symbols that must always be exported.
  39184. +include_expsyms=$lt_include_expsyms
  39185. - case $ac_tag in
  39186. - *:-:* | *:-) cat >"$tmp/stdin";;
  39187. - esac
  39188. - ;;
  39189. - esac
  39190. +# Commands necessary for linking programs (against libraries) with templates.
  39191. +prelink_cmds=$lt_prelink_cmds
  39192. - ac_dir=`$as_dirname -- "$ac_file" ||
  39193. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39194. - X"$ac_file" : 'X\(//\)[^/]' \| \
  39195. - X"$ac_file" : 'X\(//\)$' \| \
  39196. - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  39197. -echo X"$ac_file" |
  39198. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39199. - s//\1/
  39200. - q
  39201. - }
  39202. - /^X\(\/\/\)[^/].*/{
  39203. - s//\1/
  39204. - q
  39205. - }
  39206. - /^X\(\/\/\)$/{
  39207. - s//\1/
  39208. - q
  39209. - }
  39210. - /^X\(\/\).*/{
  39211. - s//\1/
  39212. - q
  39213. - }
  39214. - s/.*/./; q'`
  39215. - { as_dir="$ac_dir"
  39216. - case $as_dir in #(
  39217. - -*) as_dir=./$as_dir;;
  39218. - esac
  39219. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  39220. - as_dirs=
  39221. - while :; do
  39222. - case $as_dir in #(
  39223. - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  39224. - *) as_qdir=$as_dir;;
  39225. - esac
  39226. - as_dirs="'$as_qdir' $as_dirs"
  39227. - as_dir=`$as_dirname -- "$as_dir" ||
  39228. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39229. - X"$as_dir" : 'X\(//\)[^/]' \| \
  39230. - X"$as_dir" : 'X\(//\)$' \| \
  39231. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  39232. -echo X"$as_dir" |
  39233. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39234. - s//\1/
  39235. - q
  39236. - }
  39237. - /^X\(\/\/\)[^/].*/{
  39238. - s//\1/
  39239. - q
  39240. - }
  39241. - /^X\(\/\/\)$/{
  39242. - s//\1/
  39243. - q
  39244. - }
  39245. - /^X\(\/\).*/{
  39246. - s//\1/
  39247. - q
  39248. - }
  39249. - s/.*/./; q'`
  39250. - test -d "$as_dir" && break
  39251. - done
  39252. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  39253. - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  39254. -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  39255. - { (exit 1); exit 1; }; }; }
  39256. - ac_builddir=.
  39257. +# Specify filename containing input files.
  39258. +file_list_spec=$lt_file_list_spec
  39259. -case "$ac_dir" in
  39260. -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39261. -*)
  39262. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  39263. - # A ".." for each directory in $ac_dir_suffix.
  39264. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  39265. - case $ac_top_builddir_sub in
  39266. - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39267. - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  39268. - esac ;;
  39269. -esac
  39270. -ac_abs_top_builddir=$ac_pwd
  39271. -ac_abs_builddir=$ac_pwd$ac_dir_suffix
  39272. -# for backward compatibility:
  39273. -ac_top_builddir=$ac_top_build_prefix
  39274. +# How to hardcode a shared library path into an executable.
  39275. +hardcode_action=$hardcode_action
  39276. -case $srcdir in
  39277. - .) # We are building in place.
  39278. - ac_srcdir=.
  39279. - ac_top_srcdir=$ac_top_builddir_sub
  39280. - ac_abs_top_srcdir=$ac_pwd ;;
  39281. - [\\/]* | ?:[\\/]* ) # Absolute name.
  39282. - ac_srcdir=$srcdir$ac_dir_suffix;
  39283. - ac_top_srcdir=$srcdir
  39284. - ac_abs_top_srcdir=$srcdir ;;
  39285. - *) # Relative name.
  39286. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  39287. - ac_top_srcdir=$ac_top_build_prefix$srcdir
  39288. - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  39289. -esac
  39290. -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  39291. +# ### END LIBTOOL CONFIG
  39292. +
  39293. +_LT_EOF
  39294. +
  39295. + case $host_os in
  39296. + aix3*)
  39297. + cat <<\_LT_EOF >> "$cfgfile"
  39298. +# AIX sometimes has problems with the GCC collect2 program. For some
  39299. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  39300. +# vanish in a puff of smoke.
  39301. +if test "X${COLLECT_NAMES+set}" != Xset; then
  39302. + COLLECT_NAMES=
  39303. + export COLLECT_NAMES
  39304. +fi
  39305. +_LT_EOF
  39306. + ;;
  39307. + esac
  39308. - case $ac_mode in
  39309. - :F)
  39310. - #
  39311. - # CONFIG_FILE
  39312. - #
  39313. +ltmain="$ac_aux_dir/ltmain.sh"
  39314. - case $INSTALL in
  39315. - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  39316. - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  39317. +
  39318. + # We use sed instead of cat because bash on DJGPP gets confused if
  39319. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  39320. + # text mode, it properly converts lines to CR/LF. This bash problem
  39321. + # is reportedly fixed, but why not run on old versions too?
  39322. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  39323. + || (rm -f "$cfgfile"; exit 1)
  39324. +
  39325. + case $xsi_shell in
  39326. + yes)
  39327. + cat << \_LT_EOF >> "$cfgfile"
  39328. +
  39329. +# func_dirname file append nondir_replacement
  39330. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  39331. +# otherwise set result to NONDIR_REPLACEMENT.
  39332. +func_dirname ()
  39333. +{
  39334. + case ${1} in
  39335. + */*) func_dirname_result="${1%/*}${2}" ;;
  39336. + * ) func_dirname_result="${3}" ;;
  39337. esac
  39338. -_ACEOF
  39339. +}
  39340. -cat >>$CONFIG_STATUS <<\_ACEOF
  39341. -# If the template does not know about datarootdir, expand it.
  39342. -# FIXME: This hack should be removed a few years after 2.60.
  39343. -ac_datarootdir_hack=; ac_datarootdir_seen=
  39344. +# func_basename file
  39345. +func_basename ()
  39346. +{
  39347. + func_basename_result="${1##*/}"
  39348. +}
  39349. -case `sed -n '/datarootdir/ {
  39350. - p
  39351. - q
  39352. +# func_dirname_and_basename file append nondir_replacement
  39353. +# perform func_basename and func_dirname in a single function
  39354. +# call:
  39355. +# dirname: Compute the dirname of FILE. If nonempty,
  39356. +# add APPEND to the result, otherwise set result
  39357. +# to NONDIR_REPLACEMENT.
  39358. +# value returned in "$func_dirname_result"
  39359. +# basename: Compute filename of FILE.
  39360. +# value retuned in "$func_basename_result"
  39361. +# Implementation must be kept synchronized with func_dirname
  39362. +# and func_basename. For efficiency, we do not delegate to
  39363. +# those functions but instead duplicate the functionality here.
  39364. +func_dirname_and_basename ()
  39365. +{
  39366. + case ${1} in
  39367. + */*) func_dirname_result="${1%/*}${2}" ;;
  39368. + * ) func_dirname_result="${3}" ;;
  39369. + esac
  39370. + func_basename_result="${1##*/}"
  39371. }
  39372. -/@datadir@/p
  39373. -/@docdir@/p
  39374. -/@infodir@/p
  39375. -/@localedir@/p
  39376. -/@mandir@/p
  39377. -' $ac_file_inputs` in
  39378. -*datarootdir*) ac_datarootdir_seen=yes;;
  39379. -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  39380. - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  39381. -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  39382. -_ACEOF
  39383. -cat >>$CONFIG_STATUS <<_ACEOF
  39384. - ac_datarootdir_hack='
  39385. - s&@datadir@&$datadir&g
  39386. - s&@docdir@&$docdir&g
  39387. - s&@infodir@&$infodir&g
  39388. - s&@localedir@&$localedir&g
  39389. - s&@mandir@&$mandir&g
  39390. - s&\\\${datarootdir}&$datarootdir&g' ;;
  39391. -esac
  39392. -_ACEOF
  39393. -# Neutralize VPATH when `$srcdir' = `.'.
  39394. -# Shell code in configure.ac might set extrasub.
  39395. -# FIXME: do we really want to maintain this feature?
  39396. -cat >>$CONFIG_STATUS <<_ACEOF
  39397. - sed "$ac_vpsub
  39398. -$extrasub
  39399. -_ACEOF
  39400. -cat >>$CONFIG_STATUS <<\_ACEOF
  39401. -:t
  39402. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  39403. -s&@configure_input@&$configure_input&;t t
  39404. -s&@top_builddir@&$ac_top_builddir_sub&;t t
  39405. -s&@srcdir@&$ac_srcdir&;t t
  39406. -s&@abs_srcdir@&$ac_abs_srcdir&;t t
  39407. -s&@top_srcdir@&$ac_top_srcdir&;t t
  39408. -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  39409. -s&@builddir@&$ac_builddir&;t t
  39410. -s&@abs_builddir@&$ac_abs_builddir&;t t
  39411. -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  39412. -s&@INSTALL@&$ac_INSTALL&;t t
  39413. -$ac_datarootdir_hack
  39414. -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
  39415. +# func_stripname prefix suffix name
  39416. +# strip PREFIX and SUFFIX off of NAME.
  39417. +# PREFIX and SUFFIX must not contain globbing or regex special
  39418. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  39419. +# dot (in which case that matches only a dot).
  39420. +func_stripname ()
  39421. +{
  39422. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  39423. + # positional parameters, so assign one to ordinary parameter first.
  39424. + func_stripname_result=${3}
  39425. + func_stripname_result=${func_stripname_result#"${1}"}
  39426. + func_stripname_result=${func_stripname_result%"${2}"}
  39427. +}
  39428. -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  39429. - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  39430. - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  39431. - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  39432. -which seems to be undefined. Please make sure it is defined." >&5
  39433. -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  39434. -which seems to be undefined. Please make sure it is defined." >&2;}
  39435. +# func_opt_split
  39436. +func_opt_split ()
  39437. +{
  39438. + func_opt_split_opt=${1%%=*}
  39439. + func_opt_split_arg=${1#*=}
  39440. +}
  39441. - rm -f "$tmp/stdin"
  39442. - case $ac_file in
  39443. - -) cat "$tmp/out"; rm -f "$tmp/out";;
  39444. - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  39445. +# func_lo2o object
  39446. +func_lo2o ()
  39447. +{
  39448. + case ${1} in
  39449. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  39450. + *) func_lo2o_result=${1} ;;
  39451. esac
  39452. - ;;
  39453. - :H)
  39454. - #
  39455. - # CONFIG_HEADER
  39456. - #
  39457. -_ACEOF
  39458. +}
  39459. -# Transform confdefs.h into a sed script `conftest.defines', that
  39460. -# substitutes the proper values into config.h.in to produce config.h.
  39461. -rm -f conftest.defines conftest.tail
  39462. -# First, append a space to every undef/define line, to ease matching.
  39463. -echo 's/$/ /' >conftest.defines
  39464. -# Then, protect against being on the right side of a sed subst, or in
  39465. -# an unquoted here document, in config.status. If some macros were
  39466. -# called several times there might be several #defines for the same
  39467. -# symbol, which is useless. But do not sort them, since the last
  39468. -# AC_DEFINE must be honored.
  39469. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  39470. -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  39471. -# NAME is the cpp macro being defined, VALUE is the value it is being given.
  39472. -# PARAMS is the parameter list in the macro definition--in most cases, it's
  39473. -# just an empty string.
  39474. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  39475. -ac_dB='\\)[ (].*,\\1define\\2'
  39476. -ac_dC=' '
  39477. -ac_dD=' ,'
  39478. +# func_xform libobj-or-source
  39479. +func_xform ()
  39480. +{
  39481. + func_xform_result=${1%.*}.lo
  39482. +}
  39483. -uniq confdefs.h |
  39484. - sed -n '
  39485. - t rset
  39486. - :rset
  39487. - s/^[ ]*#[ ]*define[ ][ ]*//
  39488. - t ok
  39489. - d
  39490. - :ok
  39491. - s/[\\&,]/\\&/g
  39492. - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  39493. - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  39494. - ' >>conftest.defines
  39495. -
  39496. -# Remove the space that was appended to ease matching.
  39497. -# Then replace #undef with comments. This is necessary, for
  39498. -# example, in the case of _POSIX_SOURCE, which is predefined and required
  39499. -# on some systems where configure will not decide to define it.
  39500. -# (The regexp can be short, since the line contains either #define or #undef.)
  39501. -echo 's/ $//
  39502. -s,^[ #]*u.*,/* & */,' >>conftest.defines
  39503. -
  39504. -# Break up conftest.defines:
  39505. -ac_max_sed_lines=50
  39506. -
  39507. -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  39508. -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  39509. -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  39510. -# et cetera.
  39511. -ac_in='$ac_file_inputs'
  39512. -ac_out='"$tmp/out1"'
  39513. -ac_nxt='"$tmp/out2"'
  39514. +# func_arith arithmetic-term...
  39515. +func_arith ()
  39516. +{
  39517. + func_arith_result=$(( $* ))
  39518. +}
  39519. -while :
  39520. -do
  39521. - # Write a here document:
  39522. - cat >>$CONFIG_STATUS <<_ACEOF
  39523. - # First, check the format of the line:
  39524. - cat >"\$tmp/defines.sed" <<\\CEOF
  39525. -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  39526. -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  39527. -b
  39528. -:def
  39529. -_ACEOF
  39530. - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  39531. - echo 'CEOF
  39532. - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  39533. - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  39534. - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  39535. - grep . conftest.tail >/dev/null || break
  39536. - rm -f conftest.defines
  39537. - mv conftest.tail conftest.defines
  39538. -done
  39539. -rm -f conftest.defines conftest.tail
  39540. +# func_len string
  39541. +# STRING may not start with a hyphen.
  39542. +func_len ()
  39543. +{
  39544. + func_len_result=${#1}
  39545. +}
  39546. -echo "ac_result=$ac_in" >>$CONFIG_STATUS
  39547. -cat >>$CONFIG_STATUS <<\_ACEOF
  39548. - if test x"$ac_file" != x-; then
  39549. - echo "/* $configure_input */" >"$tmp/config.h"
  39550. - cat "$ac_result" >>"$tmp/config.h"
  39551. - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  39552. - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  39553. -echo "$as_me: $ac_file is unchanged" >&6;}
  39554. - else
  39555. - rm -f $ac_file
  39556. - mv "$tmp/config.h" $ac_file
  39557. - fi
  39558. +_LT_EOF
  39559. + ;;
  39560. + *) # Bourne compatible functions.
  39561. + cat << \_LT_EOF >> "$cfgfile"
  39562. +
  39563. +# func_dirname file append nondir_replacement
  39564. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  39565. +# otherwise set result to NONDIR_REPLACEMENT.
  39566. +func_dirname ()
  39567. +{
  39568. + # Extract subdirectory from the argument.
  39569. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  39570. + if test "X$func_dirname_result" = "X${1}"; then
  39571. + func_dirname_result="${3}"
  39572. else
  39573. - echo "/* $configure_input */"
  39574. - cat "$ac_result"
  39575. + func_dirname_result="$func_dirname_result${2}"
  39576. fi
  39577. - rm -f "$tmp/out12"
  39578. -# Compute $ac_file's index in $config_headers.
  39579. -_am_stamp_count=1
  39580. -for _am_header in $config_headers :; do
  39581. - case $_am_header in
  39582. - $ac_file | $ac_file:* )
  39583. - break ;;
  39584. - * )
  39585. - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  39586. - esac
  39587. -done
  39588. -echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  39589. -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39590. - X$ac_file : 'X\(//\)[^/]' \| \
  39591. - X$ac_file : 'X\(//\)$' \| \
  39592. - X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  39593. -echo X$ac_file |
  39594. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39595. - s//\1/
  39596. - q
  39597. - }
  39598. - /^X\(\/\/\)[^/].*/{
  39599. - s//\1/
  39600. - q
  39601. - }
  39602. - /^X\(\/\/\)$/{
  39603. - s//\1/
  39604. - q
  39605. - }
  39606. - /^X\(\/\).*/{
  39607. - s//\1/
  39608. - q
  39609. - }
  39610. - s/.*/./; q'`/stamp-h$_am_stamp_count
  39611. - ;;
  39612. +}
  39613. - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  39614. -echo "$as_me: executing $ac_file commands" >&6;}
  39615. - ;;
  39616. +# func_basename file
  39617. +func_basename ()
  39618. +{
  39619. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  39620. +}
  39621. +
  39622. +
  39623. +# func_stripname prefix suffix name
  39624. +# strip PREFIX and SUFFIX off of NAME.
  39625. +# PREFIX and SUFFIX must not contain globbing or regex special
  39626. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  39627. +# dot (in which case that matches only a dot).
  39628. +# func_strip_suffix prefix name
  39629. +func_stripname ()
  39630. +{
  39631. + case ${2} in
  39632. + .*) func_stripname_result=`$ECHO "X${3}" \
  39633. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  39634. + *) func_stripname_result=`$ECHO "X${3}" \
  39635. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  39636. esac
  39637. +}
  39638. +# sed scripts:
  39639. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  39640. +my_sed_long_arg='1s/^-[^=]*=//'
  39641. - case $ac_file$ac_mode in
  39642. - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  39643. - # Strip MF so we end up with the name of the file.
  39644. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  39645. - # Check whether this is an Automake generated Makefile or not.
  39646. - # We used to match only the files named `Makefile.in', but
  39647. - # some people rename them; so instead we look at the file content.
  39648. - # Grep'ing the first line is not enough: some people post-process
  39649. - # each Makefile.in and add a new line on top of each file to say so.
  39650. - # So let's grep whole file.
  39651. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  39652. - dirpart=`$as_dirname -- "$mf" ||
  39653. -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39654. - X"$mf" : 'X\(//\)[^/]' \| \
  39655. - X"$mf" : 'X\(//\)$' \| \
  39656. - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  39657. -echo X"$mf" |
  39658. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39659. - s//\1/
  39660. - q
  39661. - }
  39662. - /^X\(\/\/\)[^/].*/{
  39663. - s//\1/
  39664. - q
  39665. - }
  39666. - /^X\(\/\/\)$/{
  39667. - s//\1/
  39668. - q
  39669. - }
  39670. - /^X\(\/\).*/{
  39671. - s//\1/
  39672. - q
  39673. - }
  39674. - s/.*/./; q'`
  39675. - else
  39676. - continue
  39677. - fi
  39678. - # Extract the definition of DEPDIR, am__include, and am__quote
  39679. - # from the Makefile without running `make'.
  39680. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  39681. - test -z "$DEPDIR" && continue
  39682. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  39683. - test -z "am__include" && continue
  39684. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  39685. - # When using ansi2knr, U may be empty or an underscore; expand it
  39686. - U=`sed -n 's/^U = //p' < "$mf"`
  39687. - # Find all dependency output files, they are included files with
  39688. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  39689. - # simplest approach to changing $(DEPDIR) to its actual value in the
  39690. - # expansion.
  39691. - for file in `sed -n "
  39692. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  39693. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  39694. - # Make sure the directory exists.
  39695. - test -f "$dirpart/$file" && continue
  39696. - fdir=`$as_dirname -- "$file" ||
  39697. -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39698. - X"$file" : 'X\(//\)[^/]' \| \
  39699. - X"$file" : 'X\(//\)$' \| \
  39700. - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  39701. -echo X"$file" |
  39702. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39703. - s//\1/
  39704. - q
  39705. - }
  39706. - /^X\(\/\/\)[^/].*/{
  39707. - s//\1/
  39708. - q
  39709. - }
  39710. - /^X\(\/\/\)$/{
  39711. - s//\1/
  39712. - q
  39713. - }
  39714. - /^X\(\/\).*/{
  39715. - s//\1/
  39716. - q
  39717. - }
  39718. - s/.*/./; q'`
  39719. - { as_dir=$dirpart/$fdir
  39720. - case $as_dir in #(
  39721. - -*) as_dir=./$as_dir;;
  39722. +# func_opt_split
  39723. +func_opt_split ()
  39724. +{
  39725. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  39726. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  39727. +}
  39728. +
  39729. +# func_lo2o object
  39730. +func_lo2o ()
  39731. +{
  39732. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  39733. +}
  39734. +
  39735. +# func_xform libobj-or-source
  39736. +func_xform ()
  39737. +{
  39738. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  39739. +}
  39740. +
  39741. +# func_arith arithmetic-term...
  39742. +func_arith ()
  39743. +{
  39744. + func_arith_result=`expr "$@"`
  39745. +}
  39746. +
  39747. +# func_len string
  39748. +# STRING may not start with a hyphen.
  39749. +func_len ()
  39750. +{
  39751. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  39752. +}
  39753. +
  39754. +_LT_EOF
  39755. +esac
  39756. +
  39757. +case $lt_shell_append in
  39758. + yes)
  39759. + cat << \_LT_EOF >> "$cfgfile"
  39760. +
  39761. +# func_append var value
  39762. +# Append VALUE to the end of shell variable VAR.
  39763. +func_append ()
  39764. +{
  39765. + eval "$1+=\$2"
  39766. +}
  39767. +_LT_EOF
  39768. + ;;
  39769. + *)
  39770. + cat << \_LT_EOF >> "$cfgfile"
  39771. +
  39772. +# func_append var value
  39773. +# Append VALUE to the end of shell variable VAR.
  39774. +func_append ()
  39775. +{
  39776. + eval "$1=\$$1\$2"
  39777. +}
  39778. +
  39779. +_LT_EOF
  39780. + ;;
  39781. esac
  39782. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  39783. - as_dirs=
  39784. - while :; do
  39785. - case $as_dir in #(
  39786. - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  39787. - *) as_qdir=$as_dir;;
  39788. - esac
  39789. - as_dirs="'$as_qdir' $as_dirs"
  39790. - as_dir=`$as_dirname -- "$as_dir" ||
  39791. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39792. - X"$as_dir" : 'X\(//\)[^/]' \| \
  39793. - X"$as_dir" : 'X\(//\)$' \| \
  39794. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  39795. -echo X"$as_dir" |
  39796. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39797. - s//\1/
  39798. - q
  39799. - }
  39800. - /^X\(\/\/\)[^/].*/{
  39801. - s//\1/
  39802. - q
  39803. - }
  39804. - /^X\(\/\/\)$/{
  39805. - s//\1/
  39806. - q
  39807. - }
  39808. - /^X\(\/\).*/{
  39809. - s//\1/
  39810. - q
  39811. - }
  39812. - s/.*/./; q'`
  39813. - test -d "$as_dir" && break
  39814. - done
  39815. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  39816. - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  39817. -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  39818. - { (exit 1); exit 1; }; }; }
  39819. - # echo "creating $dirpart/$file"
  39820. - echo '# dummy' > "$dirpart/$file"
  39821. - done
  39822. -done
  39823. +
  39824. +
  39825. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  39826. + || (rm -f "$cfgfile"; exit 1)
  39827. +
  39828. + mv -f "$cfgfile" "$ofile" ||
  39829. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  39830. + chmod +x "$ofile"
  39831. +
  39832. ;;
  39833. esac
  39834. done # for ac_tag
  39835. -{ (exit 0); exit 0; }
  39836. +as_fn_exit 0
  39837. _ACEOF
  39838. -chmod +x $CONFIG_STATUS
  39839. ac_clean_files=$ac_clean_files_save
  39840. +test $ac_write_fail = 0 ||
  39841. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  39842. +
  39843. # configure is writing to config.log, and then calls config.status.
  39844. # config.status does its own redirection, appending to config.log.
  39845. @@ -24084,7 +14735,11 @@
  39846. exec 5>>config.log
  39847. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  39848. # would make configure fail if this is the last instruction.
  39849. - $ac_cs_success || { (exit 1); exit 1; }
  39850. + $ac_cs_success || as_fn_exit $?
  39851. +fi
  39852. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  39853. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  39854. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  39855. fi
  39856. diff -Nur alsa-lib-1.0.22.orig/depcomp alsa-lib-1.0.22/depcomp
  39857. --- alsa-lib-1.0.22.orig/depcomp 2009-12-16 16:27:26.000000000 +0100
  39858. +++ alsa-lib-1.0.22/depcomp 2011-02-24 20:33:16.153551973 +0100
  39859. @@ -1,9 +1,10 @@
  39860. #! /bin/sh
  39861. # depcomp - compile a program generating dependencies as side-effects
  39862. -scriptversion=2005-07-09.11
  39863. +scriptversion=2009-04-28.21; # UTC
  39864. -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
  39865. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
  39866. +# Software Foundation, Inc.
  39867. # This program is free software; you can redistribute it and/or modify
  39868. # it under the terms of the GNU General Public License as published by
  39869. @@ -16,9 +17,7 @@
  39870. # GNU General Public License for more details.
  39871. # You should have received a copy of the GNU General Public License
  39872. -# along with this program; if not, write to the Free Software
  39873. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  39874. -# 02110-1301, USA.
  39875. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  39876. # As a special exception to the GNU General Public License, if you
  39877. # distribute this file as part of a program that contains a
  39878. @@ -86,12 +85,34 @@
  39879. depmode=dashmstdout
  39880. fi
  39881. +cygpath_u="cygpath -u -f -"
  39882. +if test "$depmode" = msvcmsys; then
  39883. + # This is just like msvisualcpp but w/o cygpath translation.
  39884. + # Just convert the backslash-escaped backslashes to single forward
  39885. + # slashes to satisfy depend.m4
  39886. + cygpath_u="sed s,\\\\\\\\,/,g"
  39887. + depmode=msvisualcpp
  39888. +fi
  39889. +
  39890. case "$depmode" in
  39891. gcc3)
  39892. ## gcc 3 implements dependency tracking that does exactly what
  39893. ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
  39894. ## it if -MD -MP comes after the -MF stuff. Hmm.
  39895. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
  39896. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
  39897. +## the command line argument order; so add the flags where they
  39898. +## appear in depend2.am. Note that the slowdown incurred here
  39899. +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
  39900. + for arg
  39901. + do
  39902. + case $arg in
  39903. + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
  39904. + *) set fnord "$@" "$arg" ;;
  39905. + esac
  39906. + shift # fnord
  39907. + shift # $arg
  39908. + done
  39909. + "$@"
  39910. stat=$?
  39911. if test $stat -eq 0; then :
  39912. else
  39913. @@ -178,14 +199,14 @@
  39914. ' < "$tmpdepfile" \
  39915. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  39916. tr '
  39917. -' ' ' >> $depfile
  39918. - echo >> $depfile
  39919. +' ' ' >> "$depfile"
  39920. + echo >> "$depfile"
  39921. # The second pass generates a dummy entry for each header file.
  39922. tr ' ' '
  39923. ' < "$tmpdepfile" \
  39924. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  39925. - >> $depfile
  39926. + >> "$depfile"
  39927. else
  39928. # The sourcefile does not contain any dependencies, so just
  39929. # store a dummy comment line, to avoid errors with the Makefile
  39930. @@ -201,34 +222,39 @@
  39931. # current directory. Also, the AIX compiler puts `$object:' at the
  39932. # start of each line; $object doesn't have directory information.
  39933. # Version 6 uses the directory in both cases.
  39934. - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
  39935. - tmpdepfile="$stripped.u"
  39936. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  39937. + test "x$dir" = "x$object" && dir=
  39938. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  39939. if test "$libtool" = yes; then
  39940. + tmpdepfile1=$dir$base.u
  39941. + tmpdepfile2=$base.u
  39942. + tmpdepfile3=$dir.libs/$base.u
  39943. "$@" -Wc,-M
  39944. else
  39945. + tmpdepfile1=$dir$base.u
  39946. + tmpdepfile2=$dir$base.u
  39947. + tmpdepfile3=$dir$base.u
  39948. "$@" -M
  39949. fi
  39950. stat=$?
  39951. - if test -f "$tmpdepfile"; then :
  39952. - else
  39953. - stripped=`echo "$stripped" | sed 's,^.*/,,'`
  39954. - tmpdepfile="$stripped.u"
  39955. - fi
  39956. -
  39957. if test $stat -eq 0; then :
  39958. else
  39959. - rm -f "$tmpdepfile"
  39960. + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  39961. exit $stat
  39962. fi
  39963. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  39964. + do
  39965. + test -f "$tmpdepfile" && break
  39966. + done
  39967. if test -f "$tmpdepfile"; then
  39968. - outname="$stripped.o"
  39969. # Each line is of the form `foo.o: dependent.h'.
  39970. # Do two passes, one to just change these to
  39971. # `$object: dependent.h' and one to simply `dependent.h:'.
  39972. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
  39973. - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
  39974. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  39975. + # That's a tab and a space in the [].
  39976. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  39977. else
  39978. # The sourcefile does not contain any dependencies, so just
  39979. # store a dummy comment line, to avoid errors with the Makefile
  39980. @@ -276,6 +302,51 @@
  39981. rm -f "$tmpdepfile"
  39982. ;;
  39983. +hp2)
  39984. + # The "hp" stanza above does not work with aCC (C++) and HP's ia64
  39985. + # compilers, which have integrated preprocessors. The correct option
  39986. + # to use with these is +Maked; it writes dependencies to a file named
  39987. + # 'foo.d', which lands next to the object file, wherever that
  39988. + # happens to be.
  39989. + # Much of this is similar to the tru64 case; see comments there.
  39990. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  39991. + test "x$dir" = "x$object" && dir=
  39992. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  39993. + if test "$libtool" = yes; then
  39994. + tmpdepfile1=$dir$base.d
  39995. + tmpdepfile2=$dir.libs/$base.d
  39996. + "$@" -Wc,+Maked
  39997. + else
  39998. + tmpdepfile1=$dir$base.d
  39999. + tmpdepfile2=$dir$base.d
  40000. + "$@" +Maked
  40001. + fi
  40002. + stat=$?
  40003. + if test $stat -eq 0; then :
  40004. + else
  40005. + rm -f "$tmpdepfile1" "$tmpdepfile2"
  40006. + exit $stat
  40007. + fi
  40008. +
  40009. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
  40010. + do
  40011. + test -f "$tmpdepfile" && break
  40012. + done
  40013. + if test -f "$tmpdepfile"; then
  40014. + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  40015. + # Add `dependent.h:' lines.
  40016. + sed -ne '2,${
  40017. + s/^ *//
  40018. + s/ \\*$//
  40019. + s/$/:/
  40020. + p
  40021. + }' "$tmpdepfile" >> "$depfile"
  40022. + else
  40023. + echo "#dummy" > "$depfile"
  40024. + fi
  40025. + rm -f "$tmpdepfile" "$tmpdepfile2"
  40026. + ;;
  40027. +
  40028. tru64)
  40029. # The Tru64 compiler uses -MD to generate dependencies as a side
  40030. # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
  40031. @@ -288,13 +359,13 @@
  40032. if test "$libtool" = yes; then
  40033. # With Tru64 cc, shared objects can also be used to make a
  40034. - # static library. This mecanism is used in libtool 1.4 series to
  40035. + # static library. This mechanism is used in libtool 1.4 series to
  40036. # handle both shared and static libraries in a single compilation.
  40037. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
  40038. #
  40039. # With libtool 1.5 this exception was removed, and libtool now
  40040. # generates 2 separate objects for the 2 libraries. These two
  40041. - # compilations output dependencies in in $dir.libs/$base.o.d and
  40042. + # compilations output dependencies in $dir.libs/$base.o.d and
  40043. # in $dir$base.o.d. We have to check for both files, because
  40044. # one of the two compilations can be disabled. We should prefer
  40045. # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
  40046. @@ -345,7 +416,7 @@
  40047. # Remove the call to Libtool.
  40048. if test "$libtool" = yes; then
  40049. - while test $1 != '--mode=compile'; do
  40050. + while test "X$1" != 'X--mode=compile'; do
  40051. shift
  40052. done
  40053. shift
  40054. @@ -396,32 +467,39 @@
  40055. "$@" || exit $?
  40056. # Remove any Libtool call
  40057. if test "$libtool" = yes; then
  40058. - while test $1 != '--mode=compile'; do
  40059. + while test "X$1" != 'X--mode=compile'; do
  40060. shift
  40061. done
  40062. shift
  40063. fi
  40064. # X makedepend
  40065. shift
  40066. - cleared=no
  40067. - for arg in "$@"; do
  40068. + cleared=no eat=no
  40069. + for arg
  40070. + do
  40071. case $cleared in
  40072. no)
  40073. set ""; shift
  40074. cleared=yes ;;
  40075. esac
  40076. + if test $eat = yes; then
  40077. + eat=no
  40078. + continue
  40079. + fi
  40080. case "$arg" in
  40081. -D*|-I*)
  40082. set fnord "$@" "$arg"; shift ;;
  40083. # Strip any option that makedepend may not understand. Remove
  40084. # the object too, otherwise makedepend will parse it as a source file.
  40085. + -arch)
  40086. + eat=yes ;;
  40087. -*|$object)
  40088. ;;
  40089. *)
  40090. set fnord "$@" "$arg"; shift ;;
  40091. esac
  40092. done
  40093. - obj_suffix="`echo $object | sed 's/^.*\././'`"
  40094. + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  40095. touch "$tmpdepfile"
  40096. ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  40097. rm -f "$depfile"
  40098. @@ -441,7 +519,7 @@
  40099. # Remove the call to Libtool.
  40100. if test "$libtool" = yes; then
  40101. - while test $1 != '--mode=compile'; do
  40102. + while test "X$1" != 'X--mode=compile'; do
  40103. shift
  40104. done
  40105. shift
  40106. @@ -479,13 +557,27 @@
  40107. msvisualcpp)
  40108. # Important note: in order to support this mode, a compiler *must*
  40109. - # always write the preprocessed file to stdout, regardless of -o,
  40110. - # because we must use -o when running libtool.
  40111. + # always write the preprocessed file to stdout.
  40112. "$@" || exit $?
  40113. +
  40114. + # Remove the call to Libtool.
  40115. + if test "$libtool" = yes; then
  40116. + while test "X$1" != 'X--mode=compile'; do
  40117. + shift
  40118. + done
  40119. + shift
  40120. + fi
  40121. +
  40122. IFS=" "
  40123. for arg
  40124. do
  40125. case "$arg" in
  40126. + -o)
  40127. + shift
  40128. + ;;
  40129. + $object)
  40130. + shift
  40131. + ;;
  40132. "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  40133. set fnord "$@"
  40134. shift
  40135. @@ -498,16 +590,23 @@
  40136. ;;
  40137. esac
  40138. done
  40139. - "$@" -E |
  40140. - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
  40141. + "$@" -E 2>/dev/null |
  40142. + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  40143. rm -f "$depfile"
  40144. echo "$object : \\" > "$depfile"
  40145. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  40146. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  40147. echo " " >> "$depfile"
  40148. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  40149. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  40150. rm -f "$tmpdepfile"
  40151. ;;
  40152. +msvcmsys)
  40153. + # This case exists only to let depend.m4 do its work. It works by
  40154. + # looking at the text of this script. This case will never be run,
  40155. + # since it is checked for above.
  40156. + exit 1
  40157. + ;;
  40158. +
  40159. none)
  40160. exec "$@"
  40161. ;;
  40162. @@ -526,5 +625,6 @@
  40163. # eval: (add-hook 'write-file-hooks 'time-stamp)
  40164. # time-stamp-start: "scriptversion="
  40165. # time-stamp-format: "%:y-%02m-%02d.%02H"
  40166. -# time-stamp-end: "$"
  40167. +# time-stamp-time-zone: "UTC"
  40168. +# time-stamp-end: "; # UTC"
  40169. # End:
  40170. diff -Nur alsa-lib-1.0.22.orig/doc/Makefile.in alsa-lib-1.0.22/doc/Makefile.in
  40171. --- alsa-lib-1.0.22.orig/doc/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  40172. +++ alsa-lib-1.0.22/doc/Makefile.in 2011-02-24 20:33:14.853552913 +0100
  40173. @@ -1,8 +1,9 @@
  40174. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  40175. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  40176. # @configure_input@
  40177. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40178. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  40179. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  40180. +# Inc.
  40181. # This Makefile.in is free software; the Free Software Foundation
  40182. # gives unlimited permission to copy and/or distribute it,
  40183. # with or without modifications, as long as this notice is preserved.
  40184. @@ -13,15 +14,12 @@
  40185. # PARTICULAR PURPOSE.
  40186. @SET_MAKE@
  40187. -srcdir = @srcdir@
  40188. -top_srcdir = @top_srcdir@
  40189. VPATH = @srcdir@
  40190. pkgdatadir = $(datadir)/@PACKAGE@
  40191. -pkglibdir = $(libdir)/@PACKAGE@
  40192. pkgincludedir = $(includedir)/@PACKAGE@
  40193. -top_builddir = ..
  40194. +pkglibdir = $(libdir)/@PACKAGE@
  40195. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  40196. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  40197. -INSTALL = @INSTALL@
  40198. install_sh_DATA = $(install_sh) -c -m 644
  40199. install_sh_PROGRAM = $(install_sh) -c
  40200. install_sh_SCRIPT = $(install_sh) -c
  40201. @@ -39,165 +37,129 @@
  40202. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  40203. $(srcdir)/doxygen.cfg.in
  40204. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  40205. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  40206. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  40207. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  40208. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  40209. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  40210. $(top_srcdir)/configure.in
  40211. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  40212. $(ACLOCAL_M4)
  40213. mkinstalldirs = $(install_sh) -d
  40214. CONFIG_HEADER = $(top_builddir)/include/config.h
  40215. CONFIG_CLEAN_FILES = doxygen.cfg
  40216. +CONFIG_CLEAN_VPATH_FILES =
  40217. +AM_V_GEN = $(am__v_GEN_$(V))
  40218. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  40219. +am__v_GEN_0 = @echo " GEN " $@;
  40220. +AM_V_at = $(am__v_at_$(V))
  40221. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  40222. +am__v_at_0 = @
  40223. SOURCES =
  40224. DIST_SOURCES =
  40225. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  40226. html-recursive info-recursive install-data-recursive \
  40227. - install-exec-recursive install-info-recursive \
  40228. - install-recursive installcheck-recursive installdirs-recursive \
  40229. - pdf-recursive ps-recursive uninstall-info-recursive \
  40230. - uninstall-recursive
  40231. + install-dvi-recursive install-exec-recursive \
  40232. + install-html-recursive install-info-recursive \
  40233. + install-pdf-recursive install-ps-recursive install-recursive \
  40234. + installcheck-recursive installdirs-recursive pdf-recursive \
  40235. + ps-recursive uninstall-recursive
  40236. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40237. + distclean-recursive maintainer-clean-recursive
  40238. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40239. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  40240. + distdir
  40241. ETAGS = etags
  40242. CTAGS = ctags
  40243. DIST_SUBDIRS = $(SUBDIRS)
  40244. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40245. +am__relativize = \
  40246. + dir0=`pwd`; \
  40247. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  40248. + sed_rest='s,^[^/]*/*,,'; \
  40249. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  40250. + sed_butlast='s,/*[^/]*$$,,'; \
  40251. + while test -n "$$dir1"; do \
  40252. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  40253. + if test "$$first" != "."; then \
  40254. + if test "$$first" = ".."; then \
  40255. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  40256. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  40257. + else \
  40258. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  40259. + if test "$$first2" = "$$first"; then \
  40260. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  40261. + else \
  40262. + dir2="../$$dir2"; \
  40263. + fi; \
  40264. + dir0="$$dir0"/"$$first"; \
  40265. + fi; \
  40266. + fi; \
  40267. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  40268. + done; \
  40269. + reldir="$$dir2"
  40270. ACLOCAL = @ACLOCAL@
  40271. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  40272. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  40273. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  40274. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  40275. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  40276. -AMDEP_FALSE = @AMDEP_FALSE@
  40277. -AMDEP_TRUE = @AMDEP_TRUE@
  40278. AMTAR = @AMTAR@
  40279. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  40280. AR = @AR@
  40281. AUTOCONF = @AUTOCONF@
  40282. AUTOHEADER = @AUTOHEADER@
  40283. AUTOMAKE = @AUTOMAKE@
  40284. AWK = @AWK@
  40285. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  40286. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  40287. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  40288. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  40289. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  40290. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  40291. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  40292. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  40293. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  40294. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  40295. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  40296. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  40297. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  40298. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  40299. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  40300. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  40301. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  40302. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  40303. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  40304. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  40305. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  40306. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  40307. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  40308. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  40309. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  40310. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  40311. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  40312. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  40313. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  40314. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  40315. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  40316. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  40317. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  40318. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  40319. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  40320. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  40321. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  40322. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  40323. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  40324. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  40325. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  40326. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  40327. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  40328. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  40329. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  40330. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  40331. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  40332. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  40333. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  40334. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  40335. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  40336. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  40337. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  40338. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  40339. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  40340. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  40341. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  40342. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  40343. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  40344. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  40345. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  40346. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  40347. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  40348. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  40349. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  40350. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  40351. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  40352. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  40353. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  40354. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  40355. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  40356. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  40357. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  40358. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  40359. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  40360. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  40361. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  40362. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  40363. CC = @CC@
  40364. CCDEPMODE = @CCDEPMODE@
  40365. CFLAGS = @CFLAGS@
  40366. CPP = @CPP@
  40367. CPPFLAGS = @CPPFLAGS@
  40368. -CXX = @CXX@
  40369. -CXXCPP = @CXXCPP@
  40370. -CXXDEPMODE = @CXXDEPMODE@
  40371. -CXXFLAGS = @CXXFLAGS@
  40372. CYGPATH_W = @CYGPATH_W@
  40373. DEFS = @DEFS@
  40374. DEPDIR = @DEPDIR@
  40375. -ECHO = @ECHO@
  40376. +DSYMUTIL = @DSYMUTIL@
  40377. +DUMPBIN = @DUMPBIN@
  40378. ECHO_C = @ECHO_C@
  40379. ECHO_N = @ECHO_N@
  40380. ECHO_T = @ECHO_T@
  40381. EGREP = @EGREP@
  40382. EXEEXT = @EXEEXT@
  40383. -F77 = @F77@
  40384. -FFLAGS = @FFLAGS@
  40385. +FGREP = @FGREP@
  40386. GREP = @GREP@
  40387. +INSTALL = @INSTALL@
  40388. INSTALL_DATA = @INSTALL_DATA@
  40389. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  40390. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  40391. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  40392. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  40393. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  40394. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  40395. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  40396. +LD = @LD@
  40397. LDFLAGS = @LDFLAGS@
  40398. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  40399. LIBOBJS = @LIBOBJS@
  40400. LIBS = @LIBS@
  40401. LIBTOOL = @LIBTOOL@
  40402. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  40403. +LIPO = @LIPO@
  40404. LN_S = @LN_S@
  40405. LTLIBOBJS = @LTLIBOBJS@
  40406. MAKEINFO = @MAKEINFO@
  40407. +MKDIR_P = @MKDIR_P@
  40408. +NM = @NM@
  40409. +NMEDIT = @NMEDIT@
  40410. +OBJDUMP = @OBJDUMP@
  40411. OBJEXT = @OBJEXT@
  40412. +OTOOL = @OTOOL@
  40413. +OTOOL64 = @OTOOL64@
  40414. PACKAGE = @PACKAGE@
  40415. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  40416. PACKAGE_NAME = @PACKAGE_NAME@
  40417. PACKAGE_STRING = @PACKAGE_STRING@
  40418. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  40419. +PACKAGE_URL = @PACKAGE_URL@
  40420. PACKAGE_VERSION = @PACKAGE_VERSION@
  40421. PATH_SEPARATOR = @PATH_SEPARATOR@
  40422. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  40423. PYTHON_LIBS = @PYTHON_LIBS@
  40424. RANLIB = @RANLIB@
  40425. +SED = @SED@
  40426. SET_MAKE = @SET_MAKE@
  40427. SHELL = @SHELL@
  40428. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  40429. @@ -206,19 +168,14 @@
  40430. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  40431. SND_LIB_VERSION = @SND_LIB_VERSION@
  40432. STRIP = @STRIP@
  40433. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  40434. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  40435. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  40436. VERSION = @VERSION@
  40437. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  40438. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  40439. +abs_builddir = @abs_builddir@
  40440. +abs_srcdir = @abs_srcdir@
  40441. +abs_top_builddir = @abs_top_builddir@
  40442. +abs_top_srcdir = @abs_top_srcdir@
  40443. ac_ct_CC = @ac_ct_CC@
  40444. -ac_ct_CXX = @ac_ct_CXX@
  40445. -ac_ct_F77 = @ac_ct_F77@
  40446. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  40447. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  40448. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  40449. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  40450. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  40451. am__include = @am__include@
  40452. am__leading_dot = @am__leading_dot@
  40453. am__quote = @am__quote@
  40454. @@ -230,6 +187,7 @@
  40455. build_cpu = @build_cpu@
  40456. build_os = @build_os@
  40457. build_vendor = @build_vendor@
  40458. +builddir = @builddir@
  40459. datadir = @datadir@
  40460. datarootdir = @datarootdir@
  40461. docdir = @docdir@
  40462. @@ -248,6 +206,7 @@
  40463. libexecdir = @libexecdir@
  40464. localedir = @localedir@
  40465. localstatedir = @localstatedir@
  40466. +lt_ECHO = @lt_ECHO@
  40467. mandir = @mandir@
  40468. mkdir_p = @mkdir_p@
  40469. oldincludedir = @oldincludedir@
  40470. @@ -257,8 +216,12 @@
  40471. psdir = @psdir@
  40472. sbindir = @sbindir@
  40473. sharedstatedir = @sharedstatedir@
  40474. +srcdir = @srcdir@
  40475. sysconfdir = @sysconfdir@
  40476. target_alias = @target_alias@
  40477. +top_build_prefix = @top_build_prefix@
  40478. +top_builddir = @top_builddir@
  40479. +top_srcdir = @top_srcdir@
  40480. SUBDIRS = pictures
  40481. EXTRA_DIST = README.1st asoundrc.txt doxygen.cfg index.doxygen
  40482. INCLUDES = -I$(top_srcdir)/include
  40483. @@ -269,14 +232,14 @@
  40484. @for dep in $?; do \
  40485. case '$(am__configure_deps)' in \
  40486. *$$dep*) \
  40487. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  40488. - && exit 0; \
  40489. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  40490. + && { if test -f $@; then exit 0; else break; fi; }; \
  40491. exit 1;; \
  40492. esac; \
  40493. done; \
  40494. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
  40495. - cd $(top_srcdir) && \
  40496. - $(AUTOMAKE) --foreign doc/Makefile
  40497. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
  40498. + $(am__cd) $(top_srcdir) && \
  40499. + $(AUTOMAKE) --gnu doc/Makefile
  40500. .PRECIOUS: Makefile
  40501. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  40502. @case '$?' in \
  40503. @@ -294,6 +257,7 @@
  40504. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40505. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  40506. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40507. +$(am__aclocal_m4_deps):
  40508. doxygen.cfg: $(top_builddir)/config.status $(srcdir)/doxygen.cfg.in
  40509. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  40510. @@ -303,10 +267,6 @@
  40511. clean-libtool:
  40512. -rm -rf .libs _libs
  40513. -distclean-libtool:
  40514. - -rm -f libtool
  40515. -uninstall-info-am:
  40516. -
  40517. # This directory's subdirectories are mostly independent; you can cd
  40518. # into them and run `make' without going through this Makefile.
  40519. # To change the values of `make' variables: instead of editing Makefiles,
  40520. @@ -314,7 +274,7 @@
  40521. # (which will cause the Makefiles to be regenerated when you run `make');
  40522. # (2) otherwise, pass the desired values on the `make' command line.
  40523. $(RECURSIVE_TARGETS):
  40524. - @failcom='exit 1'; \
  40525. + @fail= failcom='exit 1'; \
  40526. for f in x $$MAKEFLAGS; do \
  40527. case $$f in \
  40528. *=* | --[!k]*);; \
  40529. @@ -331,16 +291,15 @@
  40530. else \
  40531. local_target="$$target"; \
  40532. fi; \
  40533. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40534. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40535. || eval $$failcom; \
  40536. done; \
  40537. if test "$$dot_seen" = "no"; then \
  40538. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  40539. fi; test -z "$$fail"
  40540. -mostlyclean-recursive clean-recursive distclean-recursive \
  40541. -maintainer-clean-recursive:
  40542. - @failcom='exit 1'; \
  40543. +$(RECURSIVE_CLEAN_TARGETS):
  40544. + @fail= failcom='exit 1'; \
  40545. for f in x $$MAKEFLAGS; do \
  40546. case $$f in \
  40547. *=* | --[!k]*);; \
  40548. @@ -366,16 +325,16 @@
  40549. else \
  40550. local_target="$$target"; \
  40551. fi; \
  40552. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40553. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40554. || eval $$failcom; \
  40555. done && test -z "$$fail"
  40556. tags-recursive:
  40557. list='$(SUBDIRS)'; for subdir in $$list; do \
  40558. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  40559. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  40560. done
  40561. ctags-recursive:
  40562. list='$(SUBDIRS)'; for subdir in $$list; do \
  40563. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  40564. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  40565. done
  40566. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  40567. @@ -383,14 +342,14 @@
  40568. unique=`for i in $$list; do \
  40569. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  40570. done | \
  40571. - $(AWK) ' { files[$$0] = 1; } \
  40572. - END { for (i in files) print i; }'`; \
  40573. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40574. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  40575. mkid -fID $$unique
  40576. tags: TAGS
  40577. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40578. $(TAGS_FILES) $(LISP)
  40579. - tags=; \
  40580. + set x; \
  40581. here=`pwd`; \
  40582. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  40583. include_option=--etags-include; \
  40584. @@ -402,81 +361,101 @@
  40585. list='$(SUBDIRS)'; for subdir in $$list; do \
  40586. if test "$$subdir" = .; then :; else \
  40587. test ! -f $$subdir/TAGS || \
  40588. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  40589. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  40590. fi; \
  40591. done; \
  40592. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40593. unique=`for i in $$list; do \
  40594. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  40595. done | \
  40596. - $(AWK) ' { files[$$0] = 1; } \
  40597. - END { for (i in files) print i; }'`; \
  40598. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  40599. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40600. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  40601. + shift; \
  40602. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  40603. test -n "$$unique" || unique=$$empty_fix; \
  40604. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40605. - $$tags $$unique; \
  40606. + if test $$# -gt 0; then \
  40607. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40608. + "$$@" $$unique; \
  40609. + else \
  40610. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40611. + $$unique; \
  40612. + fi; \
  40613. fi
  40614. ctags: CTAGS
  40615. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40616. $(TAGS_FILES) $(LISP)
  40617. - tags=; \
  40618. - here=`pwd`; \
  40619. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40620. unique=`for i in $$list; do \
  40621. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  40622. done | \
  40623. - $(AWK) ' { files[$$0] = 1; } \
  40624. - END { for (i in files) print i; }'`; \
  40625. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  40626. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40627. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  40628. + test -z "$(CTAGS_ARGS)$$unique" \
  40629. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  40630. - $$tags $$unique
  40631. + $$unique
  40632. GTAGS:
  40633. here=`$(am__cd) $(top_builddir) && pwd` \
  40634. - && cd $(top_srcdir) \
  40635. - && gtags -i $(GTAGS_ARGS) $$here
  40636. + && $(am__cd) $(top_srcdir) \
  40637. + && gtags -i $(GTAGS_ARGS) "$$here"
  40638. distclean-tags:
  40639. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  40640. distdir: $(DISTFILES)
  40641. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  40642. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  40643. - list='$(DISTFILES)'; for file in $$list; do \
  40644. - case $$file in \
  40645. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  40646. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  40647. - esac; \
  40648. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  40649. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  40650. + list='$(DISTFILES)'; \
  40651. + dist_files=`for file in $$list; do echo $$file; done | \
  40652. + sed -e "s|^$$srcdirstrip/||;t" \
  40653. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  40654. + case $$dist_files in \
  40655. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  40656. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  40657. + sort -u` ;; \
  40658. + esac; \
  40659. + for file in $$dist_files; do \
  40660. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  40661. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  40662. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  40663. - dir="/$$dir"; \
  40664. - $(mkdir_p) "$(distdir)$$dir"; \
  40665. - else \
  40666. - dir=''; \
  40667. - fi; \
  40668. if test -d $$d/$$file; then \
  40669. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  40670. + if test -d "$(distdir)/$$file"; then \
  40671. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40672. + fi; \
  40673. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  40674. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  40675. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  40676. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40677. fi; \
  40678. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  40679. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  40680. else \
  40681. - test -f $(distdir)/$$file \
  40682. - || cp -p $$d/$$file $(distdir)/$$file \
  40683. + test -f "$(distdir)/$$file" \
  40684. + || cp -p $$d/$$file "$(distdir)/$$file" \
  40685. || exit 1; \
  40686. fi; \
  40687. done
  40688. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40689. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40690. if test "$$subdir" = .; then :; else \
  40691. test -d "$(distdir)/$$subdir" \
  40692. - || $(mkdir_p) "$(distdir)/$$subdir" \
  40693. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  40694. || exit 1; \
  40695. - distdir=`$(am__cd) $(distdir) && pwd`; \
  40696. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  40697. - (cd $$subdir && \
  40698. + fi; \
  40699. + done
  40700. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40701. + if test "$$subdir" = .; then :; else \
  40702. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40703. + $(am__relativize); \
  40704. + new_distdir=$$reldir; \
  40705. + dir1=$$subdir; dir2="$(top_distdir)"; \
  40706. + $(am__relativize); \
  40707. + new_top_distdir=$$reldir; \
  40708. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  40709. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  40710. + ($(am__cd) $$subdir && \
  40711. $(MAKE) $(AM_MAKEFLAGS) \
  40712. - top_distdir="$$top_distdir" \
  40713. - distdir="$$distdir/$$subdir" \
  40714. + top_distdir="$$new_top_distdir" \
  40715. + distdir="$$new_distdir" \
  40716. + am__remove_distdir=: \
  40717. + am__skip_length_check=: \
  40718. + am__skip_mode_fix=: \
  40719. distdir) \
  40720. || exit 1; \
  40721. fi; \
  40722. @@ -506,6 +485,7 @@
  40723. distclean-generic:
  40724. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  40725. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  40726. maintainer-clean-generic:
  40727. @echo "This command is intended for maintainers to use"
  40728. @@ -516,8 +496,7 @@
  40729. distclean: distclean-recursive
  40730. -rm -f Makefile
  40731. -distclean-am: clean-am distclean-generic distclean-libtool \
  40732. - distclean-tags
  40733. +distclean-am: clean-am distclean-generic distclean-tags
  40734. dvi: dvi-recursive
  40735. @@ -525,18 +504,38 @@
  40736. html: html-recursive
  40737. +html-am:
  40738. +
  40739. info: info-recursive
  40740. info-am:
  40741. install-data-am:
  40742. +install-dvi: install-dvi-recursive
  40743. +
  40744. +install-dvi-am:
  40745. +
  40746. install-exec-am:
  40747. +install-html: install-html-recursive
  40748. +
  40749. +install-html-am:
  40750. +
  40751. install-info: install-info-recursive
  40752. +install-info-am:
  40753. +
  40754. install-man:
  40755. +install-pdf: install-pdf-recursive
  40756. +
  40757. +install-pdf-am:
  40758. +
  40759. +install-ps: install-ps-recursive
  40760. +
  40761. +install-ps-am:
  40762. +
  40763. installcheck-am:
  40764. maintainer-clean: maintainer-clean-recursive
  40765. @@ -555,22 +554,24 @@
  40766. ps-am:
  40767. -uninstall-am: uninstall-info-am
  40768. +uninstall-am:
  40769. -uninstall-info: uninstall-info-recursive
  40770. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  40771. + install-am install-strip tags-recursive
  40772. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  40773. - clean clean-generic clean-libtool clean-recursive ctags \
  40774. - ctags-recursive distclean distclean-generic distclean-libtool \
  40775. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  40776. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  40777. + all all-am check check-am clean clean-generic clean-libtool \
  40778. + ctags ctags-recursive distclean distclean-generic \
  40779. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  40780. html-am info info-am install install-am install-data \
  40781. - install-data-am install-exec install-exec-am install-info \
  40782. - install-info-am install-man install-strip installcheck \
  40783. + install-data-am install-dvi install-dvi-am install-exec \
  40784. + install-exec-am install-html install-html-am install-info \
  40785. + install-info-am install-man install-pdf install-pdf-am \
  40786. + install-ps install-ps-am install-strip installcheck \
  40787. installcheck-am installdirs installdirs-am maintainer-clean \
  40788. - maintainer-clean-generic maintainer-clean-recursive \
  40789. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  40790. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  40791. - uninstall uninstall-am uninstall-info-am
  40792. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  40793. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  40794. + uninstall uninstall-am
  40795. doc:
  40796. @@ -589,6 +590,7 @@
  40797. doc-clean:
  40798. rm -f $(top_srcdir)/doc/doxygen/html/*
  40799. +
  40800. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  40801. # Otherwise a system limit (for SysV at least) may be exceeded.
  40802. .NOEXPORT:
  40803. diff -Nur alsa-lib-1.0.22.orig/doc/pictures/Makefile.in alsa-lib-1.0.22/doc/pictures/Makefile.in
  40804. --- alsa-lib-1.0.22.orig/doc/pictures/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  40805. +++ alsa-lib-1.0.22/doc/pictures/Makefile.in 2011-02-24 20:33:14.893553181 +0100
  40806. @@ -1,8 +1,9 @@
  40807. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  40808. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  40809. # @configure_input@
  40810. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40811. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  40812. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  40813. +# Inc.
  40814. # This Makefile.in is free software; the Free Software Foundation
  40815. # gives unlimited permission to copy and/or distribute it,
  40816. # with or without modifications, as long as this notice is preserved.
  40817. @@ -13,15 +14,12 @@
  40818. # PARTICULAR PURPOSE.
  40819. @SET_MAKE@
  40820. -srcdir = @srcdir@
  40821. -top_srcdir = @top_srcdir@
  40822. VPATH = @srcdir@
  40823. pkgdatadir = $(datadir)/@PACKAGE@
  40824. -pkglibdir = $(libdir)/@PACKAGE@
  40825. pkgincludedir = $(includedir)/@PACKAGE@
  40826. -top_builddir = ../..
  40827. +pkglibdir = $(libdir)/@PACKAGE@
  40828. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  40829. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  40830. -INSTALL = @INSTALL@
  40831. install_sh_DATA = $(install_sh) -c -m 644
  40832. install_sh_PROGRAM = $(install_sh) -c
  40833. install_sh_SCRIPT = $(install_sh) -c
  40834. @@ -38,156 +36,89 @@
  40835. subdir = doc/pictures
  40836. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  40837. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  40838. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  40839. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  40840. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  40841. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  40842. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  40843. $(top_srcdir)/configure.in
  40844. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  40845. $(ACLOCAL_M4)
  40846. mkinstalldirs = $(install_sh) -d
  40847. CONFIG_HEADER = $(top_builddir)/include/config.h
  40848. CONFIG_CLEAN_FILES =
  40849. +CONFIG_CLEAN_VPATH_FILES =
  40850. +AM_V_GEN = $(am__v_GEN_$(V))
  40851. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  40852. +am__v_GEN_0 = @echo " GEN " $@;
  40853. +AM_V_at = $(am__v_at_$(V))
  40854. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  40855. +am__v_at_0 = @
  40856. SOURCES =
  40857. DIST_SOURCES =
  40858. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40859. ACLOCAL = @ACLOCAL@
  40860. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  40861. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  40862. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  40863. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  40864. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  40865. -AMDEP_FALSE = @AMDEP_FALSE@
  40866. -AMDEP_TRUE = @AMDEP_TRUE@
  40867. AMTAR = @AMTAR@
  40868. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  40869. AR = @AR@
  40870. AUTOCONF = @AUTOCONF@
  40871. AUTOHEADER = @AUTOHEADER@
  40872. AUTOMAKE = @AUTOMAKE@
  40873. AWK = @AWK@
  40874. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  40875. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  40876. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  40877. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  40878. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  40879. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  40880. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  40881. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  40882. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  40883. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  40884. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  40885. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  40886. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  40887. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  40888. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  40889. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  40890. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  40891. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  40892. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  40893. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  40894. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  40895. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  40896. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  40897. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  40898. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  40899. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  40900. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  40901. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  40902. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  40903. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  40904. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  40905. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  40906. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  40907. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  40908. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  40909. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  40910. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  40911. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  40912. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  40913. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  40914. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  40915. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  40916. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  40917. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  40918. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  40919. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  40920. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  40921. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  40922. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  40923. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  40924. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  40925. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  40926. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  40927. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  40928. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  40929. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  40930. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  40931. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  40932. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  40933. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  40934. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  40935. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  40936. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  40937. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  40938. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  40939. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  40940. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  40941. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  40942. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  40943. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  40944. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  40945. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  40946. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  40947. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  40948. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  40949. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  40950. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  40951. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  40952. CC = @CC@
  40953. CCDEPMODE = @CCDEPMODE@
  40954. CFLAGS = @CFLAGS@
  40955. CPP = @CPP@
  40956. CPPFLAGS = @CPPFLAGS@
  40957. -CXX = @CXX@
  40958. -CXXCPP = @CXXCPP@
  40959. -CXXDEPMODE = @CXXDEPMODE@
  40960. -CXXFLAGS = @CXXFLAGS@
  40961. CYGPATH_W = @CYGPATH_W@
  40962. DEFS = @DEFS@
  40963. DEPDIR = @DEPDIR@
  40964. -ECHO = @ECHO@
  40965. +DSYMUTIL = @DSYMUTIL@
  40966. +DUMPBIN = @DUMPBIN@
  40967. ECHO_C = @ECHO_C@
  40968. ECHO_N = @ECHO_N@
  40969. ECHO_T = @ECHO_T@
  40970. EGREP = @EGREP@
  40971. EXEEXT = @EXEEXT@
  40972. -F77 = @F77@
  40973. -FFLAGS = @FFLAGS@
  40974. +FGREP = @FGREP@
  40975. GREP = @GREP@
  40976. +INSTALL = @INSTALL@
  40977. INSTALL_DATA = @INSTALL_DATA@
  40978. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  40979. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  40980. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  40981. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  40982. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  40983. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  40984. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  40985. +LD = @LD@
  40986. LDFLAGS = @LDFLAGS@
  40987. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  40988. LIBOBJS = @LIBOBJS@
  40989. LIBS = @LIBS@
  40990. LIBTOOL = @LIBTOOL@
  40991. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  40992. +LIPO = @LIPO@
  40993. LN_S = @LN_S@
  40994. LTLIBOBJS = @LTLIBOBJS@
  40995. MAKEINFO = @MAKEINFO@
  40996. +MKDIR_P = @MKDIR_P@
  40997. +NM = @NM@
  40998. +NMEDIT = @NMEDIT@
  40999. +OBJDUMP = @OBJDUMP@
  41000. OBJEXT = @OBJEXT@
  41001. +OTOOL = @OTOOL@
  41002. +OTOOL64 = @OTOOL64@
  41003. PACKAGE = @PACKAGE@
  41004. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  41005. PACKAGE_NAME = @PACKAGE_NAME@
  41006. PACKAGE_STRING = @PACKAGE_STRING@
  41007. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  41008. +PACKAGE_URL = @PACKAGE_URL@
  41009. PACKAGE_VERSION = @PACKAGE_VERSION@
  41010. PATH_SEPARATOR = @PATH_SEPARATOR@
  41011. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  41012. PYTHON_LIBS = @PYTHON_LIBS@
  41013. RANLIB = @RANLIB@
  41014. +SED = @SED@
  41015. SET_MAKE = @SET_MAKE@
  41016. SHELL = @SHELL@
  41017. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  41018. @@ -196,19 +127,14 @@
  41019. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  41020. SND_LIB_VERSION = @SND_LIB_VERSION@
  41021. STRIP = @STRIP@
  41022. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  41023. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  41024. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  41025. VERSION = @VERSION@
  41026. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  41027. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  41028. +abs_builddir = @abs_builddir@
  41029. +abs_srcdir = @abs_srcdir@
  41030. +abs_top_builddir = @abs_top_builddir@
  41031. +abs_top_srcdir = @abs_top_srcdir@
  41032. ac_ct_CC = @ac_ct_CC@
  41033. -ac_ct_CXX = @ac_ct_CXX@
  41034. -ac_ct_F77 = @ac_ct_F77@
  41035. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  41036. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  41037. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  41038. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  41039. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  41040. am__include = @am__include@
  41041. am__leading_dot = @am__leading_dot@
  41042. am__quote = @am__quote@
  41043. @@ -220,6 +146,7 @@
  41044. build_cpu = @build_cpu@
  41045. build_os = @build_os@
  41046. build_vendor = @build_vendor@
  41047. +builddir = @builddir@
  41048. datadir = @datadir@
  41049. datarootdir = @datarootdir@
  41050. docdir = @docdir@
  41051. @@ -238,6 +165,7 @@
  41052. libexecdir = @libexecdir@
  41053. localedir = @localedir@
  41054. localstatedir = @localstatedir@
  41055. +lt_ECHO = @lt_ECHO@
  41056. mandir = @mandir@
  41057. mkdir_p = @mkdir_p@
  41058. oldincludedir = @oldincludedir@
  41059. @@ -247,8 +175,12 @@
  41060. psdir = @psdir@
  41061. sbindir = @sbindir@
  41062. sharedstatedir = @sharedstatedir@
  41063. +srcdir = @srcdir@
  41064. sysconfdir = @sysconfdir@
  41065. target_alias = @target_alias@
  41066. +top_build_prefix = @top_build_prefix@
  41067. +top_builddir = @top_builddir@
  41068. +top_srcdir = @top_srcdir@
  41069. EXTRA_DIST = wave1.gif wave2.gif
  41070. all: all-am
  41071. @@ -257,14 +189,14 @@
  41072. @for dep in $?; do \
  41073. case '$(am__configure_deps)' in \
  41074. *$$dep*) \
  41075. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  41076. - && exit 0; \
  41077. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  41078. + && { if test -f $@; then exit 0; else break; fi; }; \
  41079. exit 1;; \
  41080. esac; \
  41081. done; \
  41082. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/pictures/Makefile'; \
  41083. - cd $(top_srcdir) && \
  41084. - $(AUTOMAKE) --foreign doc/pictures/Makefile
  41085. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/pictures/Makefile'; \
  41086. + $(am__cd) $(top_srcdir) && \
  41087. + $(AUTOMAKE) --gnu doc/pictures/Makefile
  41088. .PRECIOUS: Makefile
  41089. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  41090. @case '$?' in \
  41091. @@ -282,16 +214,13 @@
  41092. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41093. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  41094. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41095. +$(am__aclocal_m4_deps):
  41096. mostlyclean-libtool:
  41097. -rm -f *.lo
  41098. clean-libtool:
  41099. -rm -rf .libs _libs
  41100. -
  41101. -distclean-libtool:
  41102. - -rm -f libtool
  41103. -uninstall-info-am:
  41104. tags: TAGS
  41105. TAGS:
  41106. @@ -300,29 +229,32 @@
  41107. distdir: $(DISTFILES)
  41108. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  41109. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  41110. - list='$(DISTFILES)'; for file in $$list; do \
  41111. - case $$file in \
  41112. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  41113. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  41114. - esac; \
  41115. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  41116. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  41117. + list='$(DISTFILES)'; \
  41118. + dist_files=`for file in $$list; do echo $$file; done | \
  41119. + sed -e "s|^$$srcdirstrip/||;t" \
  41120. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  41121. + case $$dist_files in \
  41122. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  41123. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  41124. + sort -u` ;; \
  41125. + esac; \
  41126. + for file in $$dist_files; do \
  41127. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  41128. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  41129. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  41130. - dir="/$$dir"; \
  41131. - $(mkdir_p) "$(distdir)$$dir"; \
  41132. - else \
  41133. - dir=''; \
  41134. - fi; \
  41135. if test -d $$d/$$file; then \
  41136. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  41137. + if test -d "$(distdir)/$$file"; then \
  41138. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41139. + fi; \
  41140. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  41141. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  41142. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  41143. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41144. fi; \
  41145. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  41146. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  41147. else \
  41148. - test -f $(distdir)/$$file \
  41149. - || cp -p $$d/$$file $(distdir)/$$file \
  41150. + test -f "$(distdir)/$$file" \
  41151. + || cp -p $$d/$$file "$(distdir)/$$file" \
  41152. || exit 1; \
  41153. fi; \
  41154. done
  41155. @@ -350,6 +282,7 @@
  41156. distclean-generic:
  41157. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  41158. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  41159. maintainer-clean-generic:
  41160. @echo "This command is intended for maintainers to use"
  41161. @@ -360,7 +293,7 @@
  41162. distclean: distclean-am
  41163. -rm -f Makefile
  41164. -distclean-am: clean-am distclean-generic distclean-libtool
  41165. +distclean-am: clean-am distclean-generic
  41166. dvi: dvi-am
  41167. @@ -368,18 +301,38 @@
  41168. html: html-am
  41169. +html-am:
  41170. +
  41171. info: info-am
  41172. info-am:
  41173. install-data-am:
  41174. +install-dvi: install-dvi-am
  41175. +
  41176. +install-dvi-am:
  41177. +
  41178. install-exec-am:
  41179. +install-html: install-html-am
  41180. +
  41181. +install-html-am:
  41182. +
  41183. install-info: install-info-am
  41184. +install-info-am:
  41185. +
  41186. install-man:
  41187. +install-pdf: install-pdf-am
  41188. +
  41189. +install-pdf-am:
  41190. +
  41191. +install-ps: install-ps-am
  41192. +
  41193. +install-ps-am:
  41194. +
  41195. installcheck-am:
  41196. maintainer-clean: maintainer-clean-am
  41197. @@ -398,17 +351,21 @@
  41198. ps-am:
  41199. -uninstall-am: uninstall-info-am
  41200. +uninstall-am:
  41201. +
  41202. +.MAKE: install-am install-strip
  41203. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  41204. distclean distclean-generic distclean-libtool distdir dvi \
  41205. dvi-am html html-am info info-am install install-am \
  41206. - install-data install-data-am install-exec install-exec-am \
  41207. - install-info install-info-am install-man install-strip \
  41208. + install-data install-data-am install-dvi install-dvi-am \
  41209. + install-exec install-exec-am install-html install-html-am \
  41210. + install-info install-info-am install-man install-pdf \
  41211. + install-pdf-am install-ps install-ps-am install-strip \
  41212. installcheck installcheck-am installdirs maintainer-clean \
  41213. maintainer-clean-generic mostlyclean mostlyclean-generic \
  41214. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  41215. - uninstall-info-am
  41216. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  41217. +
  41218. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  41219. # Otherwise a system limit (for SysV at least) may be exceeded.
  41220. diff -Nur alsa-lib-1.0.22.orig/include/config.h.in alsa-lib-1.0.22/include/config.h.in
  41221. --- alsa-lib-1.0.22.orig/include/config.h.in 2009-12-16 16:27:24.000000000 +0100
  41222. +++ alsa-lib-1.0.22/include/config.h.in 2011-02-24 20:33:14.033558800 +0100
  41223. @@ -102,6 +102,10 @@
  41224. /* Define to 1 if you have the <wordexp.h> header file. */
  41225. #undef HAVE_WORDEXP_H
  41226. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  41227. + */
  41228. +#undef LT_OBJDIR
  41229. +
  41230. /* No assert debug */
  41231. #undef NDEBUG
  41232. @@ -120,6 +124,9 @@
  41233. /* Define to the one symbol short name of this package. */
  41234. #undef PACKAGE_TARNAME
  41235. +/* Define to the home page for this package. */
  41236. +#undef PACKAGE_URL
  41237. +
  41238. /* Define to the version of this package. */
  41239. #undef PACKAGE_VERSION
  41240. diff -Nur alsa-lib-1.0.22.orig/include/config.h.in~ alsa-lib-1.0.22/include/config.h.in~
  41241. --- alsa-lib-1.0.22.orig/include/config.h.in~ 1970-01-01 01:00:00.000000000 +0100
  41242. +++ alsa-lib-1.0.22/include/config.h.in~ 2009-12-16 16:27:24.000000000 +0100
  41243. @@ -0,0 +1,157 @@
  41244. +/* include/config.h.in. Generated from configure.in by autoheader. */
  41245. +
  41246. +/* Directory with aload* device files */
  41247. +#undef ALOAD_DEVICE_DIRECTORY
  41248. +
  41249. +/* directory containing ALSA configuration database */
  41250. +#undef ALSA_CONFIG_DIR
  41251. +
  41252. +/* Enable assert at error message handler */
  41253. +#undef ALSA_DEBUG_ASSERT
  41254. +
  41255. +/* Directory with ALSA device files */
  41256. +#undef ALSA_DEVICE_DIRECTORY
  41257. +
  41258. +/* directory containing ALSA add-on modules */
  41259. +#undef ALSA_PLUGIN_DIR
  41260. +
  41261. +/* Build hwdep component */
  41262. +#undef BUILD_HWDEP
  41263. +
  41264. +/* Build mixer component */
  41265. +#undef BUILD_MIXER
  41266. +
  41267. +/* Build PCM component */
  41268. +#undef BUILD_PCM
  41269. +
  41270. +/* Build PCM adpcm plugin */
  41271. +#undef BUILD_PCM_PLUGIN_ADPCM
  41272. +
  41273. +/* Build PCM alaw plugin */
  41274. +#undef BUILD_PCM_PLUGIN_ALAW
  41275. +
  41276. +/* Build PCM lfloat plugin */
  41277. +#undef BUILD_PCM_PLUGIN_LFLOAT
  41278. +
  41279. +/* Build PCM mmap-emul plugin */
  41280. +#undef BUILD_PCM_PLUGIN_MMAP_EMUL
  41281. +
  41282. +/* Build PCM mulaw plugin */
  41283. +#undef BUILD_PCM_PLUGIN_MULAW
  41284. +
  41285. +/* Build PCM rate plugin */
  41286. +#undef BUILD_PCM_PLUGIN_RATE
  41287. +
  41288. +/* Build PCM route plugin */
  41289. +#undef BUILD_PCM_PLUGIN_ROUTE
  41290. +
  41291. +/* Build raw MIDI component */
  41292. +#undef BUILD_RAWMIDI
  41293. +
  41294. +/* Build sequencer component */
  41295. +#undef BUILD_SEQ
  41296. +
  41297. +/* Have clock gettime */
  41298. +#undef HAVE_CLOCK_GETTIME
  41299. +
  41300. +/* Define to 1 if you have the <dlfcn.h> header file. */
  41301. +#undef HAVE_DLFCN_H
  41302. +
  41303. +/* Define to 1 if you have the <inttypes.h> header file. */
  41304. +#undef HAVE_INTTYPES_H
  41305. +
  41306. +/* Have libdl */
  41307. +#undef HAVE_LIBDL
  41308. +
  41309. +/* Have libpthread */
  41310. +#undef HAVE_LIBPTHREAD
  41311. +
  41312. +/* Define to 1 if you have the `resmgr' library (-lresmgr). */
  41313. +#undef HAVE_LIBRESMGR
  41314. +
  41315. +/* Have librt */
  41316. +#undef HAVE_LIBRT
  41317. +
  41318. +/* Define to 1 if you have the <memory.h> header file. */
  41319. +#undef HAVE_MEMORY_H
  41320. +
  41321. +/* Avoid calculation in float */
  41322. +#undef HAVE_SOFT_FLOAT
  41323. +
  41324. +/* Define to 1 if you have the <stdint.h> header file. */
  41325. +#undef HAVE_STDINT_H
  41326. +
  41327. +/* Define to 1 if you have the <stdlib.h> header file. */
  41328. +#undef HAVE_STDLIB_H
  41329. +
  41330. +/* Define to 1 if you have the <strings.h> header file. */
  41331. +#undef HAVE_STRINGS_H
  41332. +
  41333. +/* Define to 1 if you have the <string.h> header file. */
  41334. +#undef HAVE_STRING_H
  41335. +
  41336. +/* Define to 1 if you have the <sys/stat.h> header file. */
  41337. +#undef HAVE_SYS_STAT_H
  41338. +
  41339. +/* Define to 1 if you have the <sys/types.h> header file. */
  41340. +#undef HAVE_SYS_TYPES_H
  41341. +
  41342. +/* Define to 1 if you have the <unistd.h> header file. */
  41343. +#undef HAVE_UNISTD_H
  41344. +
  41345. +/* Define to 1 if you have the <wordexp.h> header file. */
  41346. +#undef HAVE_WORDEXP_H
  41347. +
  41348. +/* No assert debug */
  41349. +#undef NDEBUG
  41350. +
  41351. +/* Name of package */
  41352. +#undef PACKAGE
  41353. +
  41354. +/* Define to the address where bug reports for this package should be sent. */
  41355. +#undef PACKAGE_BUGREPORT
  41356. +
  41357. +/* Define to the full name of this package. */
  41358. +#undef PACKAGE_NAME
  41359. +
  41360. +/* Define to the full name and version of this package. */
  41361. +#undef PACKAGE_STRING
  41362. +
  41363. +/* Define to the one symbol short name of this package. */
  41364. +#undef PACKAGE_TARNAME
  41365. +
  41366. +/* Define to the version of this package. */
  41367. +#undef PACKAGE_VERSION
  41368. +
  41369. +/* Define to 1 if you have the ANSI C header files. */
  41370. +#undef STDC_HEADERS
  41371. +
  41372. +/* Support /dev/aload* access for auto-loading */
  41373. +#undef SUPPORT_ALOAD
  41374. +
  41375. +/* Support resmgr with alsa-lib */
  41376. +#undef SUPPORT_RESMGR
  41377. +
  41378. +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  41379. +#undef TIME_WITH_SYS_TIME
  41380. +
  41381. +/* directory to put tmp socket files */
  41382. +#undef TMPDIR
  41383. +
  41384. +/* sound library version string */
  41385. +#undef VERSION
  41386. +
  41387. +/* compiled with versioned symbols */
  41388. +#undef VERSIONED_SYMBOLS
  41389. +
  41390. +/* Toolchain Symbol Prefix */
  41391. +#undef __SYMBOL_PREFIX
  41392. +
  41393. +/* Define to empty if `const' does not conform to ANSI C. */
  41394. +#undef const
  41395. +
  41396. +/* Define to `__inline__' or `__inline' if that's what the C compiler
  41397. + calls it, or to nothing if 'inline' is not supported under any name. */
  41398. +#ifndef __cplusplus
  41399. +#undef inline
  41400. +#endif
  41401. diff -Nur alsa-lib-1.0.22.orig/include/Makefile.in alsa-lib-1.0.22/include/Makefile.in
  41402. --- alsa-lib-1.0.22.orig/include/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  41403. +++ alsa-lib-1.0.22/include/Makefile.in 2011-02-24 20:33:14.943552544 +0100
  41404. @@ -1,8 +1,9 @@
  41405. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  41406. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  41407. # @configure_input@
  41408. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41409. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  41410. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  41411. +# Inc.
  41412. # This Makefile.in is free software; the Free Software Foundation
  41413. # gives unlimited permission to copy and/or distribute it,
  41414. # with or without modifications, as long as this notice is preserved.
  41415. @@ -14,15 +15,12 @@
  41416. @SET_MAKE@
  41417. -srcdir = @srcdir@
  41418. -top_srcdir = @top_srcdir@
  41419. VPATH = @srcdir@
  41420. pkgdatadir = $(datadir)/@PACKAGE@
  41421. -pkglibdir = $(libdir)/@PACKAGE@
  41422. pkgincludedir = $(includedir)/@PACKAGE@
  41423. -top_builddir = ..
  41424. +pkglibdir = $(libdir)/@PACKAGE@
  41425. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  41426. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  41427. -INSTALL = @INSTALL@
  41428. install_sh_DATA = $(install_sh) -c -m 644
  41429. install_sh_PROGRAM = $(install_sh) -c
  41430. install_sh_SCRIPT = $(install_sh) -c
  41431. @@ -53,21 +51,32 @@
  41432. $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  41433. $(srcdir)/config.h.in
  41434. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  41435. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  41436. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  41437. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  41438. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  41439. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  41440. $(top_srcdir)/configure.in
  41441. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  41442. $(ACLOCAL_M4)
  41443. mkinstalldirs = $(install_sh) -d
  41444. CONFIG_HEADER = config.h
  41445. CONFIG_CLEAN_FILES =
  41446. +CONFIG_CLEAN_VPATH_FILES =
  41447. +AM_V_GEN = $(am__v_GEN_$(V))
  41448. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  41449. +am__v_GEN_0 = @echo " GEN " $@;
  41450. +AM_V_at = $(am__v_at_$(V))
  41451. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  41452. +am__v_at_0 = @
  41453. SOURCES =
  41454. DIST_SOURCES =
  41455. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  41456. html-recursive info-recursive install-data-recursive \
  41457. - install-exec-recursive install-info-recursive \
  41458. - install-recursive installcheck-recursive installdirs-recursive \
  41459. - pdf-recursive ps-recursive uninstall-info-recursive \
  41460. - uninstall-recursive
  41461. + install-dvi-recursive install-exec-recursive \
  41462. + install-html-recursive install-info-recursive \
  41463. + install-pdf-recursive install-ps-recursive install-recursive \
  41464. + installcheck-recursive installdirs-recursive pdf-recursive \
  41465. + ps-recursive uninstall-recursive
  41466. am__alsainclude_HEADERS_DIST = asoundlib.h asoundef.h version.h \
  41467. global.h input.h output.h error.h conf.h control.h iatomic.h \
  41468. control_external.h pcm.h pcm_old.h timer.h pcm_plugin.h \
  41469. @@ -79,154 +88,121 @@
  41470. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  41471. *) f=$$p;; \
  41472. esac;
  41473. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  41474. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  41475. +am__install_max = 40
  41476. +am__nobase_strip_setup = \
  41477. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  41478. +am__nobase_strip = \
  41479. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  41480. +am__nobase_list = $(am__nobase_strip_setup); \
  41481. + for p in $$list; do echo "$$p $$p"; done | \
  41482. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  41483. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  41484. + if (++n[$$2] == $(am__install_max)) \
  41485. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  41486. + END { for (dir in files) print dir, files[dir] }'
  41487. +am__base_list = \
  41488. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  41489. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  41490. am__installdirs = "$(DESTDIR)$(alsaincludedir)"
  41491. -alsaincludeHEADERS_INSTALL = $(INSTALL_HEADER)
  41492. HEADERS = $(alsainclude_HEADERS) $(noinst_HEADERS)
  41493. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  41494. + distclean-recursive maintainer-clean-recursive
  41495. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  41496. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  41497. + distdir
  41498. ETAGS = etags
  41499. CTAGS = ctags
  41500. DIST_SUBDIRS = $(SUBDIRS)
  41501. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41502. +am__relativize = \
  41503. + dir0=`pwd`; \
  41504. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  41505. + sed_rest='s,^[^/]*/*,,'; \
  41506. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  41507. + sed_butlast='s,/*[^/]*$$,,'; \
  41508. + while test -n "$$dir1"; do \
  41509. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  41510. + if test "$$first" != "."; then \
  41511. + if test "$$first" = ".."; then \
  41512. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  41513. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  41514. + else \
  41515. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  41516. + if test "$$first2" = "$$first"; then \
  41517. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  41518. + else \
  41519. + dir2="../$$dir2"; \
  41520. + fi; \
  41521. + dir0="$$dir0"/"$$first"; \
  41522. + fi; \
  41523. + fi; \
  41524. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  41525. + done; \
  41526. + reldir="$$dir2"
  41527. ACLOCAL = @ACLOCAL@
  41528. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  41529. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  41530. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  41531. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  41532. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  41533. -AMDEP_FALSE = @AMDEP_FALSE@
  41534. -AMDEP_TRUE = @AMDEP_TRUE@
  41535. AMTAR = @AMTAR@
  41536. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  41537. AR = @AR@
  41538. AUTOCONF = @AUTOCONF@
  41539. AUTOHEADER = @AUTOHEADER@
  41540. AUTOMAKE = @AUTOMAKE@
  41541. AWK = @AWK@
  41542. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  41543. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  41544. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  41545. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  41546. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  41547. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  41548. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  41549. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  41550. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  41551. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  41552. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  41553. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  41554. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  41555. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  41556. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  41557. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  41558. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  41559. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  41560. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  41561. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  41562. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  41563. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  41564. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  41565. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  41566. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  41567. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  41568. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  41569. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  41570. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  41571. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  41572. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  41573. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  41574. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  41575. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  41576. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  41577. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  41578. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  41579. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  41580. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  41581. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  41582. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  41583. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  41584. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  41585. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  41586. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  41587. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  41588. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  41589. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  41590. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  41591. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  41592. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  41593. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  41594. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  41595. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  41596. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  41597. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  41598. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  41599. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  41600. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  41601. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  41602. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  41603. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  41604. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  41605. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  41606. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  41607. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  41608. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  41609. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  41610. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  41611. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  41612. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  41613. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  41614. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  41615. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  41616. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  41617. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  41618. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  41619. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  41620. CC = @CC@
  41621. CCDEPMODE = @CCDEPMODE@
  41622. CFLAGS = @CFLAGS@
  41623. CPP = @CPP@
  41624. CPPFLAGS = @CPPFLAGS@
  41625. -CXX = @CXX@
  41626. -CXXCPP = @CXXCPP@
  41627. -CXXDEPMODE = @CXXDEPMODE@
  41628. -CXXFLAGS = @CXXFLAGS@
  41629. CYGPATH_W = @CYGPATH_W@
  41630. DEFS = @DEFS@
  41631. DEPDIR = @DEPDIR@
  41632. -ECHO = @ECHO@
  41633. +DSYMUTIL = @DSYMUTIL@
  41634. +DUMPBIN = @DUMPBIN@
  41635. ECHO_C = @ECHO_C@
  41636. ECHO_N = @ECHO_N@
  41637. ECHO_T = @ECHO_T@
  41638. EGREP = @EGREP@
  41639. EXEEXT = @EXEEXT@
  41640. -F77 = @F77@
  41641. -FFLAGS = @FFLAGS@
  41642. +FGREP = @FGREP@
  41643. GREP = @GREP@
  41644. +INSTALL = @INSTALL@
  41645. INSTALL_DATA = @INSTALL_DATA@
  41646. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  41647. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  41648. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  41649. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  41650. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  41651. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  41652. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  41653. +LD = @LD@
  41654. LDFLAGS = @LDFLAGS@
  41655. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  41656. LIBOBJS = @LIBOBJS@
  41657. LIBS = @LIBS@
  41658. LIBTOOL = @LIBTOOL@
  41659. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  41660. +LIPO = @LIPO@
  41661. LN_S = @LN_S@
  41662. LTLIBOBJS = @LTLIBOBJS@
  41663. MAKEINFO = @MAKEINFO@
  41664. +MKDIR_P = @MKDIR_P@
  41665. +NM = @NM@
  41666. +NMEDIT = @NMEDIT@
  41667. +OBJDUMP = @OBJDUMP@
  41668. OBJEXT = @OBJEXT@
  41669. +OTOOL = @OTOOL@
  41670. +OTOOL64 = @OTOOL64@
  41671. PACKAGE = @PACKAGE@
  41672. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  41673. PACKAGE_NAME = @PACKAGE_NAME@
  41674. PACKAGE_STRING = @PACKAGE_STRING@
  41675. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  41676. +PACKAGE_URL = @PACKAGE_URL@
  41677. PACKAGE_VERSION = @PACKAGE_VERSION@
  41678. PATH_SEPARATOR = @PATH_SEPARATOR@
  41679. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  41680. PYTHON_LIBS = @PYTHON_LIBS@
  41681. RANLIB = @RANLIB@
  41682. +SED = @SED@
  41683. SET_MAKE = @SET_MAKE@
  41684. SHELL = @SHELL@
  41685. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  41686. @@ -235,19 +211,14 @@
  41687. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  41688. SND_LIB_VERSION = @SND_LIB_VERSION@
  41689. STRIP = @STRIP@
  41690. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  41691. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  41692. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  41693. VERSION = @VERSION@
  41694. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  41695. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  41696. +abs_builddir = @abs_builddir@
  41697. +abs_srcdir = @abs_srcdir@
  41698. +abs_top_builddir = @abs_top_builddir@
  41699. +abs_top_srcdir = @abs_top_srcdir@
  41700. ac_ct_CC = @ac_ct_CC@
  41701. -ac_ct_CXX = @ac_ct_CXX@
  41702. -ac_ct_F77 = @ac_ct_F77@
  41703. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  41704. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  41705. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  41706. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  41707. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  41708. am__include = @am__include@
  41709. am__leading_dot = @am__leading_dot@
  41710. am__quote = @am__quote@
  41711. @@ -259,6 +230,7 @@
  41712. build_cpu = @build_cpu@
  41713. build_os = @build_os@
  41714. build_vendor = @build_vendor@
  41715. +builddir = @builddir@
  41716. datadir = @datadir@
  41717. datarootdir = @datarootdir@
  41718. docdir = @docdir@
  41719. @@ -277,6 +249,7 @@
  41720. libexecdir = @libexecdir@
  41721. localedir = @localedir@
  41722. localstatedir = @localstatedir@
  41723. +lt_ECHO = @lt_ECHO@
  41724. mandir = @mandir@
  41725. mkdir_p = @mkdir_p@
  41726. oldincludedir = @oldincludedir@
  41727. @@ -286,8 +259,12 @@
  41728. psdir = @psdir@
  41729. sbindir = @sbindir@
  41730. sharedstatedir = @sharedstatedir@
  41731. +srcdir = @srcdir@
  41732. sysconfdir = @sysconfdir@
  41733. target_alias = @target_alias@
  41734. +top_build_prefix = @top_build_prefix@
  41735. +top_builddir = @top_builddir@
  41736. +top_srcdir = @top_srcdir@
  41737. SUBDIRS = sound
  41738. sysincludedir = ${includedir}/sys
  41739. alsaincludedir = ${includedir}/alsa
  41740. @@ -310,14 +287,14 @@
  41741. @for dep in $?; do \
  41742. case '$(am__configure_deps)' in \
  41743. *$$dep*) \
  41744. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  41745. - && exit 0; \
  41746. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  41747. + && { if test -f $@; then exit 0; else break; fi; }; \
  41748. exit 1;; \
  41749. esac; \
  41750. done; \
  41751. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/Makefile'; \
  41752. - cd $(top_srcdir) && \
  41753. - $(AUTOMAKE) --foreign include/Makefile
  41754. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \
  41755. + $(am__cd) $(top_srcdir) && \
  41756. + $(AUTOMAKE) --gnu include/Makefile
  41757. .PRECIOUS: Makefile
  41758. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  41759. @case '$?' in \
  41760. @@ -335,18 +312,19 @@
  41761. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41762. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  41763. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41764. +$(am__aclocal_m4_deps):
  41765. config.h: stamp-h1
  41766. @if test ! -f $@; then \
  41767. rm -f stamp-h1; \
  41768. - $(MAKE) stamp-h1; \
  41769. + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  41770. else :; fi
  41771. stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  41772. @rm -f stamp-h1
  41773. cd $(top_builddir) && $(SHELL) ./config.status include/config.h
  41774. $(srcdir)/config.h.in: $(am__configure_deps)
  41775. - cd $(top_srcdir) && $(AUTOHEADER)
  41776. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  41777. rm -f stamp-h1
  41778. touch $@
  41779. @@ -358,27 +336,26 @@
  41780. clean-libtool:
  41781. -rm -rf .libs _libs
  41782. -
  41783. -distclean-libtool:
  41784. - -rm -f libtool
  41785. -uninstall-info-am:
  41786. install-alsaincludeHEADERS: $(alsainclude_HEADERS)
  41787. @$(NORMAL_INSTALL)
  41788. - test -z "$(alsaincludedir)" || $(mkdir_p) "$(DESTDIR)$(alsaincludedir)"
  41789. - @list='$(alsainclude_HEADERS)'; for p in $$list; do \
  41790. + test -z "$(alsaincludedir)" || $(MKDIR_P) "$(DESTDIR)$(alsaincludedir)"
  41791. + @list='$(alsainclude_HEADERS)'; test -n "$(alsaincludedir)" || list=; \
  41792. + for p in $$list; do \
  41793. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  41794. - f=$(am__strip_dir) \
  41795. - echo " $(alsaincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(alsaincludedir)/$$f'"; \
  41796. - $(alsaincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(alsaincludedir)/$$f"; \
  41797. + echo "$$d$$p"; \
  41798. + done | $(am__base_list) | \
  41799. + while read files; do \
  41800. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(alsaincludedir)'"; \
  41801. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(alsaincludedir)" || exit $$?; \
  41802. done
  41803. uninstall-alsaincludeHEADERS:
  41804. @$(NORMAL_UNINSTALL)
  41805. - @list='$(alsainclude_HEADERS)'; for p in $$list; do \
  41806. - f=$(am__strip_dir) \
  41807. - echo " rm -f '$(DESTDIR)$(alsaincludedir)/$$f'"; \
  41808. - rm -f "$(DESTDIR)$(alsaincludedir)/$$f"; \
  41809. - done
  41810. + @list='$(alsainclude_HEADERS)'; test -n "$(alsaincludedir)" || list=; \
  41811. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  41812. + test -n "$$files" || exit 0; \
  41813. + echo " ( cd '$(DESTDIR)$(alsaincludedir)' && rm -f" $$files ")"; \
  41814. + cd "$(DESTDIR)$(alsaincludedir)" && rm -f $$files
  41815. # This directory's subdirectories are mostly independent; you can cd
  41816. # into them and run `make' without going through this Makefile.
  41817. @@ -387,7 +364,7 @@
  41818. # (which will cause the Makefiles to be regenerated when you run `make');
  41819. # (2) otherwise, pass the desired values on the `make' command line.
  41820. $(RECURSIVE_TARGETS):
  41821. - @failcom='exit 1'; \
  41822. + @fail= failcom='exit 1'; \
  41823. for f in x $$MAKEFLAGS; do \
  41824. case $$f in \
  41825. *=* | --[!k]*);; \
  41826. @@ -404,16 +381,15 @@
  41827. else \
  41828. local_target="$$target"; \
  41829. fi; \
  41830. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41831. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41832. || eval $$failcom; \
  41833. done; \
  41834. if test "$$dot_seen" = "no"; then \
  41835. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  41836. fi; test -z "$$fail"
  41837. -mostlyclean-recursive clean-recursive distclean-recursive \
  41838. -maintainer-clean-recursive:
  41839. - @failcom='exit 1'; \
  41840. +$(RECURSIVE_CLEAN_TARGETS):
  41841. + @fail= failcom='exit 1'; \
  41842. for f in x $$MAKEFLAGS; do \
  41843. case $$f in \
  41844. *=* | --[!k]*);; \
  41845. @@ -439,16 +415,16 @@
  41846. else \
  41847. local_target="$$target"; \
  41848. fi; \
  41849. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41850. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41851. || eval $$failcom; \
  41852. done && test -z "$$fail"
  41853. tags-recursive:
  41854. list='$(SUBDIRS)'; for subdir in $$list; do \
  41855. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  41856. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  41857. done
  41858. ctags-recursive:
  41859. list='$(SUBDIRS)'; for subdir in $$list; do \
  41860. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  41861. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  41862. done
  41863. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  41864. @@ -456,14 +432,14 @@
  41865. unique=`for i in $$list; do \
  41866. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  41867. done | \
  41868. - $(AWK) ' { files[$$0] = 1; } \
  41869. - END { for (i in files) print i; }'`; \
  41870. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41871. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  41872. mkid -fID $$unique
  41873. tags: TAGS
  41874. TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  41875. $(TAGS_FILES) $(LISP)
  41876. - tags=; \
  41877. + set x; \
  41878. here=`pwd`; \
  41879. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  41880. include_option=--etags-include; \
  41881. @@ -475,81 +451,101 @@
  41882. list='$(SUBDIRS)'; for subdir in $$list; do \
  41883. if test "$$subdir" = .; then :; else \
  41884. test ! -f $$subdir/TAGS || \
  41885. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  41886. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  41887. fi; \
  41888. done; \
  41889. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  41890. unique=`for i in $$list; do \
  41891. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  41892. done | \
  41893. - $(AWK) ' { files[$$0] = 1; } \
  41894. - END { for (i in files) print i; }'`; \
  41895. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  41896. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41897. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  41898. + shift; \
  41899. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  41900. test -n "$$unique" || unique=$$empty_fix; \
  41901. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41902. - $$tags $$unique; \
  41903. + if test $$# -gt 0; then \
  41904. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41905. + "$$@" $$unique; \
  41906. + else \
  41907. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41908. + $$unique; \
  41909. + fi; \
  41910. fi
  41911. ctags: CTAGS
  41912. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  41913. $(TAGS_FILES) $(LISP)
  41914. - tags=; \
  41915. - here=`pwd`; \
  41916. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  41917. unique=`for i in $$list; do \
  41918. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  41919. done | \
  41920. - $(AWK) ' { files[$$0] = 1; } \
  41921. - END { for (i in files) print i; }'`; \
  41922. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  41923. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41924. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  41925. + test -z "$(CTAGS_ARGS)$$unique" \
  41926. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  41927. - $$tags $$unique
  41928. + $$unique
  41929. GTAGS:
  41930. here=`$(am__cd) $(top_builddir) && pwd` \
  41931. - && cd $(top_srcdir) \
  41932. - && gtags -i $(GTAGS_ARGS) $$here
  41933. + && $(am__cd) $(top_srcdir) \
  41934. + && gtags -i $(GTAGS_ARGS) "$$here"
  41935. distclean-tags:
  41936. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  41937. distdir: $(DISTFILES)
  41938. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  41939. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  41940. - list='$(DISTFILES)'; for file in $$list; do \
  41941. - case $$file in \
  41942. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  41943. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  41944. - esac; \
  41945. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  41946. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  41947. + list='$(DISTFILES)'; \
  41948. + dist_files=`for file in $$list; do echo $$file; done | \
  41949. + sed -e "s|^$$srcdirstrip/||;t" \
  41950. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  41951. + case $$dist_files in \
  41952. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  41953. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  41954. + sort -u` ;; \
  41955. + esac; \
  41956. + for file in $$dist_files; do \
  41957. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  41958. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  41959. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  41960. - dir="/$$dir"; \
  41961. - $(mkdir_p) "$(distdir)$$dir"; \
  41962. - else \
  41963. - dir=''; \
  41964. - fi; \
  41965. if test -d $$d/$$file; then \
  41966. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  41967. + if test -d "$(distdir)/$$file"; then \
  41968. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41969. + fi; \
  41970. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  41971. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  41972. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  41973. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41974. fi; \
  41975. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  41976. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  41977. else \
  41978. - test -f $(distdir)/$$file \
  41979. - || cp -p $$d/$$file $(distdir)/$$file \
  41980. + test -f "$(distdir)/$$file" \
  41981. + || cp -p $$d/$$file "$(distdir)/$$file" \
  41982. || exit 1; \
  41983. fi; \
  41984. done
  41985. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  41986. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  41987. if test "$$subdir" = .; then :; else \
  41988. test -d "$(distdir)/$$subdir" \
  41989. - || $(mkdir_p) "$(distdir)/$$subdir" \
  41990. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  41991. || exit 1; \
  41992. - distdir=`$(am__cd) $(distdir) && pwd`; \
  41993. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  41994. - (cd $$subdir && \
  41995. + fi; \
  41996. + done
  41997. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  41998. + if test "$$subdir" = .; then :; else \
  41999. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  42000. + $(am__relativize); \
  42001. + new_distdir=$$reldir; \
  42002. + dir1=$$subdir; dir2="$(top_distdir)"; \
  42003. + $(am__relativize); \
  42004. + new_top_distdir=$$reldir; \
  42005. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  42006. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  42007. + ($(am__cd) $$subdir && \
  42008. $(MAKE) $(AM_MAKEFLAGS) \
  42009. - top_distdir="$$top_distdir" \
  42010. - distdir="$$distdir/$$subdir" \
  42011. + top_distdir="$$new_top_distdir" \
  42012. + distdir="$$new_distdir" \
  42013. + am__remove_distdir=: \
  42014. + am__skip_length_check=: \
  42015. + am__skip_mode_fix=: \
  42016. distdir) \
  42017. || exit 1; \
  42018. fi; \
  42019. @@ -560,7 +556,7 @@
  42020. installdirs: installdirs-recursive
  42021. installdirs-am:
  42022. for dir in "$(DESTDIR)$(alsaincludedir)"; do \
  42023. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  42024. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  42025. done
  42026. install: install-recursive
  42027. install-exec: install-exec-recursive
  42028. @@ -582,6 +578,7 @@
  42029. distclean-generic:
  42030. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  42031. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  42032. -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  42033. maintainer-clean-generic:
  42034. @@ -593,8 +590,7 @@
  42035. distclean: distclean-recursive
  42036. -rm -f Makefile
  42037. -distclean-am: clean-am distclean-generic distclean-hdr \
  42038. - distclean-libtool distclean-tags
  42039. +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
  42040. dvi: dvi-recursive
  42041. @@ -602,6 +598,8 @@
  42042. html: html-recursive
  42043. +html-am:
  42044. +
  42045. info: info-recursive
  42046. info-am:
  42047. @@ -609,13 +607,30 @@
  42048. install-data-am: install-alsaincludeHEADERS
  42049. @$(NORMAL_INSTALL)
  42050. $(MAKE) $(AM_MAKEFLAGS) install-data-hook
  42051. +install-dvi: install-dvi-recursive
  42052. +
  42053. +install-dvi-am:
  42054. install-exec-am:
  42055. +install-html: install-html-recursive
  42056. +
  42057. +install-html-am:
  42058. +
  42059. install-info: install-info-recursive
  42060. +install-info-am:
  42061. +
  42062. install-man:
  42063. +install-pdf: install-pdf-recursive
  42064. +
  42065. +install-pdf-am:
  42066. +
  42067. +install-ps: install-ps-recursive
  42068. +
  42069. +install-ps-am:
  42070. +
  42071. installcheck-am:
  42072. maintainer-clean: maintainer-clean-recursive
  42073. @@ -634,24 +649,27 @@
  42074. ps-am:
  42075. -uninstall-am: uninstall-alsaincludeHEADERS uninstall-info-am
  42076. +uninstall-am: uninstall-alsaincludeHEADERS
  42077. -uninstall-info: uninstall-info-recursive
  42078. -
  42079. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  42080. - clean clean-generic clean-libtool clean-recursive ctags \
  42081. - ctags-recursive distclean distclean-generic distclean-hdr \
  42082. - distclean-libtool distclean-recursive distclean-tags distdir \
  42083. - dvi dvi-am html html-am info info-am install \
  42084. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  42085. + ctags-recursive install-am install-data-am install-strip \
  42086. + tags-recursive
  42087. +
  42088. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  42089. + all all-am check check-am clean clean-generic clean-libtool \
  42090. + ctags ctags-recursive distclean distclean-generic \
  42091. + distclean-hdr distclean-libtool distclean-tags distdir dvi \
  42092. + dvi-am html html-am info info-am install \
  42093. install-alsaincludeHEADERS install-am install-data \
  42094. - install-data-am install-data-hook install-exec install-exec-am \
  42095. - install-info install-info-am install-man install-strip \
  42096. + install-data-am install-data-hook install-dvi install-dvi-am \
  42097. + install-exec install-exec-am install-html install-html-am \
  42098. + install-info install-info-am install-man install-pdf \
  42099. + install-pdf-am install-ps install-ps-am install-strip \
  42100. installcheck installcheck-am installdirs installdirs-am \
  42101. - maintainer-clean maintainer-clean-generic \
  42102. - maintainer-clean-recursive mostlyclean mostlyclean-generic \
  42103. - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
  42104. + maintainer-clean maintainer-clean-generic mostlyclean \
  42105. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  42106. tags tags-recursive uninstall uninstall-alsaincludeHEADERS \
  42107. - uninstall-am uninstall-info-am
  42108. + uninstall-am
  42109. alsa:
  42110. @@ -685,6 +703,7 @@
  42111. install-data-hook:
  42112. test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
  42113. $(INSTALL_DATA) $(srcdir)/sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h
  42114. +
  42115. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  42116. # Otherwise a system limit (for SysV at least) may be exceeded.
  42117. .NOEXPORT:
  42118. diff -Nur alsa-lib-1.0.22.orig/include/sound/Makefile.in alsa-lib-1.0.22/include/sound/Makefile.in
  42119. --- alsa-lib-1.0.22.orig/include/sound/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  42120. +++ alsa-lib-1.0.22/include/sound/Makefile.in 2011-02-24 20:33:14.983552636 +0100
  42121. @@ -1,8 +1,9 @@
  42122. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  42123. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  42124. # @configure_input@
  42125. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  42126. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  42127. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  42128. +# Inc.
  42129. # This Makefile.in is free software; the Free Software Foundation
  42130. # gives unlimited permission to copy and/or distribute it,
  42131. # with or without modifications, as long as this notice is preserved.
  42132. @@ -14,15 +15,12 @@
  42133. @SET_MAKE@
  42134. -srcdir = @srcdir@
  42135. -top_srcdir = @top_srcdir@
  42136. VPATH = @srcdir@
  42137. pkgdatadir = $(datadir)/@PACKAGE@
  42138. -pkglibdir = $(libdir)/@PACKAGE@
  42139. pkgincludedir = $(includedir)/@PACKAGE@
  42140. -top_builddir = ../..
  42141. +pkglibdir = $(libdir)/@PACKAGE@
  42142. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  42143. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  42144. -INSTALL = @INSTALL@
  42145. install_sh_DATA = $(install_sh) -c -m 644
  42146. install_sh_PROGRAM = $(install_sh) -c
  42147. install_sh_SCRIPT = $(install_sh) -c
  42148. @@ -40,13 +38,23 @@
  42149. DIST_COMMON = $(alsasoundinclude_HEADERS) $(noinst_HEADERS) \
  42150. $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  42151. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  42152. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  42153. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  42154. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  42155. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  42156. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  42157. $(top_srcdir)/configure.in
  42158. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  42159. $(ACLOCAL_M4)
  42160. mkinstalldirs = $(install_sh) -d
  42161. CONFIG_HEADER = $(top_builddir)/include/config.h
  42162. CONFIG_CLEAN_FILES =
  42163. +CONFIG_CLEAN_VPATH_FILES =
  42164. +AM_V_GEN = $(am__v_GEN_$(V))
  42165. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  42166. +am__v_GEN_0 = @echo " GEN " $@;
  42167. +AM_V_at = $(am__v_at_$(V))
  42168. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  42169. +am__v_at_0 = @
  42170. SOURCES =
  42171. DIST_SOURCES =
  42172. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  42173. @@ -54,9 +62,23 @@
  42174. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  42175. *) f=$$p;; \
  42176. esac;
  42177. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  42178. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  42179. +am__install_max = 40
  42180. +am__nobase_strip_setup = \
  42181. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  42182. +am__nobase_strip = \
  42183. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  42184. +am__nobase_list = $(am__nobase_strip_setup); \
  42185. + for p in $$list; do echo "$$p $$p"; done | \
  42186. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  42187. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  42188. + if (++n[$$2] == $(am__install_max)) \
  42189. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  42190. + END { for (dir in files) print dir, files[dir] }'
  42191. +am__base_list = \
  42192. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  42193. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  42194. am__installdirs = "$(DESTDIR)$(alsasoundincludedir)"
  42195. -alsasoundincludeHEADERS_INSTALL = $(INSTALL_HEADER)
  42196. HEADERS = $(alsasoundinclude_HEADERS) $(noinst_HEADERS)
  42197. ETAGS = etags
  42198. CTAGS = ctags
  42199. @@ -64,143 +86,66 @@
  42200. ACLOCAL = @ACLOCAL@
  42201. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  42202. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  42203. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  42204. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  42205. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  42206. -AMDEP_FALSE = @AMDEP_FALSE@
  42207. -AMDEP_TRUE = @AMDEP_TRUE@
  42208. AMTAR = @AMTAR@
  42209. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  42210. AR = @AR@
  42211. AUTOCONF = @AUTOCONF@
  42212. AUTOHEADER = @AUTOHEADER@
  42213. AUTOMAKE = @AUTOMAKE@
  42214. AWK = @AWK@
  42215. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  42216. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  42217. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  42218. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  42219. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  42220. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  42221. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  42222. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  42223. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  42224. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  42225. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  42226. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  42227. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  42228. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  42229. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  42230. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  42231. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  42232. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  42233. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  42234. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  42235. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  42236. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  42237. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  42238. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  42239. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  42240. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  42241. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  42242. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  42243. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  42244. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  42245. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  42246. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  42247. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  42248. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  42249. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  42250. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  42251. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  42252. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  42253. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  42254. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  42255. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  42256. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  42257. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  42258. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  42259. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  42260. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  42261. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  42262. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  42263. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  42264. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  42265. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  42266. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  42267. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  42268. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  42269. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  42270. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  42271. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  42272. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  42273. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  42274. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  42275. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  42276. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  42277. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  42278. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  42279. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  42280. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  42281. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  42282. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  42283. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  42284. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  42285. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  42286. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  42287. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  42288. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  42289. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  42290. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  42291. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  42292. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  42293. CC = @CC@
  42294. CCDEPMODE = @CCDEPMODE@
  42295. CFLAGS = @CFLAGS@
  42296. CPP = @CPP@
  42297. CPPFLAGS = @CPPFLAGS@
  42298. -CXX = @CXX@
  42299. -CXXCPP = @CXXCPP@
  42300. -CXXDEPMODE = @CXXDEPMODE@
  42301. -CXXFLAGS = @CXXFLAGS@
  42302. CYGPATH_W = @CYGPATH_W@
  42303. DEFS = @DEFS@
  42304. DEPDIR = @DEPDIR@
  42305. -ECHO = @ECHO@
  42306. +DSYMUTIL = @DSYMUTIL@
  42307. +DUMPBIN = @DUMPBIN@
  42308. ECHO_C = @ECHO_C@
  42309. ECHO_N = @ECHO_N@
  42310. ECHO_T = @ECHO_T@
  42311. EGREP = @EGREP@
  42312. EXEEXT = @EXEEXT@
  42313. -F77 = @F77@
  42314. -FFLAGS = @FFLAGS@
  42315. +FGREP = @FGREP@
  42316. GREP = @GREP@
  42317. +INSTALL = @INSTALL@
  42318. INSTALL_DATA = @INSTALL_DATA@
  42319. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  42320. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  42321. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  42322. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  42323. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  42324. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  42325. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  42326. +LD = @LD@
  42327. LDFLAGS = @LDFLAGS@
  42328. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  42329. LIBOBJS = @LIBOBJS@
  42330. LIBS = @LIBS@
  42331. LIBTOOL = @LIBTOOL@
  42332. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  42333. +LIPO = @LIPO@
  42334. LN_S = @LN_S@
  42335. LTLIBOBJS = @LTLIBOBJS@
  42336. MAKEINFO = @MAKEINFO@
  42337. +MKDIR_P = @MKDIR_P@
  42338. +NM = @NM@
  42339. +NMEDIT = @NMEDIT@
  42340. +OBJDUMP = @OBJDUMP@
  42341. OBJEXT = @OBJEXT@
  42342. +OTOOL = @OTOOL@
  42343. +OTOOL64 = @OTOOL64@
  42344. PACKAGE = @PACKAGE@
  42345. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  42346. PACKAGE_NAME = @PACKAGE_NAME@
  42347. PACKAGE_STRING = @PACKAGE_STRING@
  42348. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  42349. +PACKAGE_URL = @PACKAGE_URL@
  42350. PACKAGE_VERSION = @PACKAGE_VERSION@
  42351. PATH_SEPARATOR = @PATH_SEPARATOR@
  42352. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  42353. PYTHON_LIBS = @PYTHON_LIBS@
  42354. RANLIB = @RANLIB@
  42355. +SED = @SED@
  42356. SET_MAKE = @SET_MAKE@
  42357. SHELL = @SHELL@
  42358. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  42359. @@ -209,19 +154,14 @@
  42360. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  42361. SND_LIB_VERSION = @SND_LIB_VERSION@
  42362. STRIP = @STRIP@
  42363. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  42364. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  42365. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  42366. VERSION = @VERSION@
  42367. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  42368. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  42369. +abs_builddir = @abs_builddir@
  42370. +abs_srcdir = @abs_srcdir@
  42371. +abs_top_builddir = @abs_top_builddir@
  42372. +abs_top_srcdir = @abs_top_srcdir@
  42373. ac_ct_CC = @ac_ct_CC@
  42374. -ac_ct_CXX = @ac_ct_CXX@
  42375. -ac_ct_F77 = @ac_ct_F77@
  42376. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  42377. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  42378. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  42379. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  42380. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  42381. am__include = @am__include@
  42382. am__leading_dot = @am__leading_dot@
  42383. am__quote = @am__quote@
  42384. @@ -233,6 +173,7 @@
  42385. build_cpu = @build_cpu@
  42386. build_os = @build_os@
  42387. build_vendor = @build_vendor@
  42388. +builddir = @builddir@
  42389. datadir = @datadir@
  42390. datarootdir = @datarootdir@
  42391. docdir = @docdir@
  42392. @@ -251,6 +192,7 @@
  42393. libexecdir = @libexecdir@
  42394. localedir = @localedir@
  42395. localstatedir = @localstatedir@
  42396. +lt_ECHO = @lt_ECHO@
  42397. mandir = @mandir@
  42398. mkdir_p = @mkdir_p@
  42399. oldincludedir = @oldincludedir@
  42400. @@ -260,8 +202,12 @@
  42401. psdir = @psdir@
  42402. sbindir = @sbindir@
  42403. sharedstatedir = @sharedstatedir@
  42404. +srcdir = @srcdir@
  42405. sysconfdir = @sysconfdir@
  42406. target_alias = @target_alias@
  42407. +top_build_prefix = @top_build_prefix@
  42408. +top_builddir = @top_builddir@
  42409. +top_srcdir = @top_srcdir@
  42410. alsasoundincludedir = ${includedir}/alsa/sound
  42411. alsasoundinclude_HEADERS = asound_fm.h hdsp.h sb16_csp.h sscape_ioctl.h emu10k1.h \
  42412. type_compat.h
  42413. @@ -274,14 +220,14 @@
  42414. @for dep in $?; do \
  42415. case '$(am__configure_deps)' in \
  42416. *$$dep*) \
  42417. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  42418. - && exit 0; \
  42419. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  42420. + && { if test -f $@; then exit 0; else break; fi; }; \
  42421. exit 1;; \
  42422. esac; \
  42423. done; \
  42424. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign include/sound/Makefile'; \
  42425. - cd $(top_srcdir) && \
  42426. - $(AUTOMAKE) --foreign include/sound/Makefile
  42427. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/sound/Makefile'; \
  42428. + $(am__cd) $(top_srcdir) && \
  42429. + $(AUTOMAKE) --gnu include/sound/Makefile
  42430. .PRECIOUS: Makefile
  42431. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  42432. @case '$?' in \
  42433. @@ -299,106 +245,113 @@
  42434. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42435. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  42436. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42437. +$(am__aclocal_m4_deps):
  42438. mostlyclean-libtool:
  42439. -rm -f *.lo
  42440. clean-libtool:
  42441. -rm -rf .libs _libs
  42442. -
  42443. -distclean-libtool:
  42444. - -rm -f libtool
  42445. -uninstall-info-am:
  42446. install-alsasoundincludeHEADERS: $(alsasoundinclude_HEADERS)
  42447. @$(NORMAL_INSTALL)
  42448. - test -z "$(alsasoundincludedir)" || $(mkdir_p) "$(DESTDIR)$(alsasoundincludedir)"
  42449. - @list='$(alsasoundinclude_HEADERS)'; for p in $$list; do \
  42450. + test -z "$(alsasoundincludedir)" || $(MKDIR_P) "$(DESTDIR)$(alsasoundincludedir)"
  42451. + @list='$(alsasoundinclude_HEADERS)'; test -n "$(alsasoundincludedir)" || list=; \
  42452. + for p in $$list; do \
  42453. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  42454. - f=$(am__strip_dir) \
  42455. - echo " $(alsasoundincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(alsasoundincludedir)/$$f'"; \
  42456. - $(alsasoundincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(alsasoundincludedir)/$$f"; \
  42457. + echo "$$d$$p"; \
  42458. + done | $(am__base_list) | \
  42459. + while read files; do \
  42460. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(alsasoundincludedir)'"; \
  42461. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(alsasoundincludedir)" || exit $$?; \
  42462. done
  42463. uninstall-alsasoundincludeHEADERS:
  42464. @$(NORMAL_UNINSTALL)
  42465. - @list='$(alsasoundinclude_HEADERS)'; for p in $$list; do \
  42466. - f=$(am__strip_dir) \
  42467. - echo " rm -f '$(DESTDIR)$(alsasoundincludedir)/$$f'"; \
  42468. - rm -f "$(DESTDIR)$(alsasoundincludedir)/$$f"; \
  42469. - done
  42470. + @list='$(alsasoundinclude_HEADERS)'; test -n "$(alsasoundincludedir)" || list=; \
  42471. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  42472. + test -n "$$files" || exit 0; \
  42473. + echo " ( cd '$(DESTDIR)$(alsasoundincludedir)' && rm -f" $$files ")"; \
  42474. + cd "$(DESTDIR)$(alsasoundincludedir)" && rm -f $$files
  42475. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  42476. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42477. unique=`for i in $$list; do \
  42478. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  42479. done | \
  42480. - $(AWK) ' { files[$$0] = 1; } \
  42481. - END { for (i in files) print i; }'`; \
  42482. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42483. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  42484. mkid -fID $$unique
  42485. tags: TAGS
  42486. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42487. $(TAGS_FILES) $(LISP)
  42488. - tags=; \
  42489. + set x; \
  42490. here=`pwd`; \
  42491. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42492. unique=`for i in $$list; do \
  42493. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  42494. done | \
  42495. - $(AWK) ' { files[$$0] = 1; } \
  42496. - END { for (i in files) print i; }'`; \
  42497. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  42498. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42499. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  42500. + shift; \
  42501. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  42502. test -n "$$unique" || unique=$$empty_fix; \
  42503. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42504. - $$tags $$unique; \
  42505. + if test $$# -gt 0; then \
  42506. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42507. + "$$@" $$unique; \
  42508. + else \
  42509. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42510. + $$unique; \
  42511. + fi; \
  42512. fi
  42513. ctags: CTAGS
  42514. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42515. $(TAGS_FILES) $(LISP)
  42516. - tags=; \
  42517. - here=`pwd`; \
  42518. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42519. unique=`for i in $$list; do \
  42520. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  42521. done | \
  42522. - $(AWK) ' { files[$$0] = 1; } \
  42523. - END { for (i in files) print i; }'`; \
  42524. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  42525. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42526. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  42527. + test -z "$(CTAGS_ARGS)$$unique" \
  42528. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  42529. - $$tags $$unique
  42530. + $$unique
  42531. GTAGS:
  42532. here=`$(am__cd) $(top_builddir) && pwd` \
  42533. - && cd $(top_srcdir) \
  42534. - && gtags -i $(GTAGS_ARGS) $$here
  42535. + && $(am__cd) $(top_srcdir) \
  42536. + && gtags -i $(GTAGS_ARGS) "$$here"
  42537. distclean-tags:
  42538. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  42539. distdir: $(DISTFILES)
  42540. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  42541. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  42542. - list='$(DISTFILES)'; for file in $$list; do \
  42543. - case $$file in \
  42544. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  42545. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  42546. - esac; \
  42547. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  42548. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  42549. + list='$(DISTFILES)'; \
  42550. + dist_files=`for file in $$list; do echo $$file; done | \
  42551. + sed -e "s|^$$srcdirstrip/||;t" \
  42552. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  42553. + case $$dist_files in \
  42554. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  42555. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  42556. + sort -u` ;; \
  42557. + esac; \
  42558. + for file in $$dist_files; do \
  42559. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  42560. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  42561. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  42562. - dir="/$$dir"; \
  42563. - $(mkdir_p) "$(distdir)$$dir"; \
  42564. - else \
  42565. - dir=''; \
  42566. - fi; \
  42567. if test -d $$d/$$file; then \
  42568. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  42569. + if test -d "$(distdir)/$$file"; then \
  42570. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42571. + fi; \
  42572. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  42573. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  42574. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  42575. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42576. fi; \
  42577. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  42578. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  42579. else \
  42580. - test -f $(distdir)/$$file \
  42581. - || cp -p $$d/$$file $(distdir)/$$file \
  42582. + test -f "$(distdir)/$$file" \
  42583. + || cp -p $$d/$$file "$(distdir)/$$file" \
  42584. || exit 1; \
  42585. fi; \
  42586. done
  42587. @@ -407,7 +360,7 @@
  42588. all-am: Makefile $(HEADERS)
  42589. installdirs:
  42590. for dir in "$(DESTDIR)$(alsasoundincludedir)"; do \
  42591. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  42592. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  42593. done
  42594. install: install-am
  42595. install-exec: install-exec-am
  42596. @@ -429,6 +382,7 @@
  42597. distclean-generic:
  42598. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  42599. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  42600. maintainer-clean-generic:
  42601. @echo "This command is intended for maintainers to use"
  42602. @@ -439,8 +393,7 @@
  42603. distclean: distclean-am
  42604. -rm -f Makefile
  42605. -distclean-am: clean-am distclean-generic distclean-libtool \
  42606. - distclean-tags
  42607. +distclean-am: clean-am distclean-generic distclean-tags
  42608. dvi: dvi-am
  42609. @@ -448,18 +401,38 @@
  42610. html: html-am
  42611. +html-am:
  42612. +
  42613. info: info-am
  42614. info-am:
  42615. install-data-am: install-alsasoundincludeHEADERS
  42616. +install-dvi: install-dvi-am
  42617. +
  42618. +install-dvi-am:
  42619. +
  42620. install-exec-am:
  42621. +install-html: install-html-am
  42622. +
  42623. +install-html-am:
  42624. +
  42625. install-info: install-info-am
  42626. +install-info-am:
  42627. +
  42628. install-man:
  42629. +install-pdf: install-pdf-am
  42630. +
  42631. +install-pdf-am:
  42632. +
  42633. +install-ps: install-ps-am
  42634. +
  42635. +install-ps-am:
  42636. +
  42637. installcheck-am:
  42638. maintainer-clean: maintainer-clean-am
  42639. @@ -478,19 +451,23 @@
  42640. ps-am:
  42641. -uninstall-am: uninstall-alsasoundincludeHEADERS uninstall-info-am
  42642. +uninstall-am: uninstall-alsasoundincludeHEADERS
  42643. +
  42644. +.MAKE: install-am install-strip
  42645. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  42646. clean-libtool ctags distclean distclean-generic \
  42647. distclean-libtool distclean-tags distdir dvi dvi-am html \
  42648. html-am info info-am install install-alsasoundincludeHEADERS \
  42649. - install-am install-data install-data-am install-exec \
  42650. - install-exec-am install-info install-info-am install-man \
  42651. + install-am install-data install-data-am install-dvi \
  42652. + install-dvi-am install-exec install-exec-am install-html \
  42653. + install-html-am install-info install-info-am install-man \
  42654. + install-pdf install-pdf-am install-ps install-ps-am \
  42655. install-strip installcheck installcheck-am installdirs \
  42656. maintainer-clean maintainer-clean-generic mostlyclean \
  42657. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  42658. - tags uninstall uninstall-alsasoundincludeHEADERS uninstall-am \
  42659. - uninstall-info-am
  42660. + tags uninstall uninstall-alsasoundincludeHEADERS uninstall-am
  42661. +
  42662. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  42663. # Otherwise a system limit (for SysV at least) may be exceeded.
  42664. diff -Nur alsa-lib-1.0.22.orig/install-sh alsa-lib-1.0.22/install-sh
  42665. --- alsa-lib-1.0.22.orig/install-sh 2009-12-16 16:27:26.000000000 +0100
  42666. +++ alsa-lib-1.0.22/install-sh 2011-02-24 20:33:14.673554775 +0100
  42667. @@ -1,7 +1,7 @@
  42668. #!/bin/sh
  42669. # install - install a program, script, or datafile
  42670. -scriptversion=2005-05-14.22
  42671. +scriptversion=2009-04-28.21; # UTC
  42672. # This originates from X11R5 (mit/util/scripts/install.sh), which was
  42673. # later released in X11R6 (xc/config/util/install.sh) with the
  42674. @@ -39,38 +39,68 @@
  42675. # when there is no Makefile.
  42676. #
  42677. # This script is compatible with the BSD install script, but was written
  42678. -# from scratch. It can only install one file at a time, a restriction
  42679. -# shared with many OS's install programs.
  42680. +# from scratch.
  42681. +
  42682. +nl='
  42683. +'
  42684. +IFS=" "" $nl"
  42685. # set DOITPROG to echo to test this script
  42686. # Don't use :- since 4.3BSD and earlier shells don't like it.
  42687. -doit="${DOITPROG-}"
  42688. +doit=${DOITPROG-}
  42689. +if test -z "$doit"; then
  42690. + doit_exec=exec
  42691. +else
  42692. + doit_exec=$doit
  42693. +fi
  42694. -# put in absolute paths if you don't have them in your path; or use env. vars.
  42695. +# Put in absolute file names if you don't have them in your path;
  42696. +# or use environment vars.
  42697. -mvprog="${MVPROG-mv}"
  42698. -cpprog="${CPPROG-cp}"
  42699. -chmodprog="${CHMODPROG-chmod}"
  42700. -chownprog="${CHOWNPROG-chown}"
  42701. -chgrpprog="${CHGRPPROG-chgrp}"
  42702. -stripprog="${STRIPPROG-strip}"
  42703. -rmprog="${RMPROG-rm}"
  42704. -mkdirprog="${MKDIRPROG-mkdir}"
  42705. +chgrpprog=${CHGRPPROG-chgrp}
  42706. +chmodprog=${CHMODPROG-chmod}
  42707. +chownprog=${CHOWNPROG-chown}
  42708. +cmpprog=${CMPPROG-cmp}
  42709. +cpprog=${CPPROG-cp}
  42710. +mkdirprog=${MKDIRPROG-mkdir}
  42711. +mvprog=${MVPROG-mv}
  42712. +rmprog=${RMPROG-rm}
  42713. +stripprog=${STRIPPROG-strip}
  42714. +
  42715. +posix_glob='?'
  42716. +initialize_posix_glob='
  42717. + test "$posix_glob" != "?" || {
  42718. + if (set -f) 2>/dev/null; then
  42719. + posix_glob=
  42720. + else
  42721. + posix_glob=:
  42722. + fi
  42723. + }
  42724. +'
  42725. +
  42726. +posix_mkdir=
  42727. +
  42728. +# Desired mode of installed file.
  42729. +mode=0755
  42730. -chmodcmd="$chmodprog 0755"
  42731. -chowncmd=
  42732. chgrpcmd=
  42733. -stripcmd=
  42734. +chmodcmd=$chmodprog
  42735. +chowncmd=
  42736. +mvcmd=$mvprog
  42737. rmcmd="$rmprog -f"
  42738. -mvcmd="$mvprog"
  42739. +stripcmd=
  42740. +
  42741. src=
  42742. dst=
  42743. dir_arg=
  42744. -dstarg=
  42745. +dst_arg=
  42746. +
  42747. +copy_on_change=false
  42748. no_target_directory=
  42749. -usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
  42750. +usage="\
  42751. +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
  42752. or: $0 [OPTION]... SRCFILES... DIRECTORY
  42753. or: $0 [OPTION]... -t DIRECTORY SRCFILES...
  42754. or: $0 [OPTION]... -d DIRECTORIES...
  42755. @@ -80,81 +110,86 @@
  42756. In the 4th, create DIRECTORIES.
  42757. Options:
  42758. --c (ignored)
  42759. --d create directories instead of installing files.
  42760. --g GROUP $chgrpprog installed files to GROUP.
  42761. --m MODE $chmodprog installed files to MODE.
  42762. --o USER $chownprog installed files to USER.
  42763. --s $stripprog installed files.
  42764. --t DIRECTORY install into DIRECTORY.
  42765. --T report an error if DSTFILE is a directory.
  42766. ---help display this help and exit.
  42767. ---version display version info and exit.
  42768. + --help display this help and exit.
  42769. + --version display version info and exit.
  42770. +
  42771. + -c (ignored)
  42772. + -C install only if different (preserve the last data modification time)
  42773. + -d create directories instead of installing files.
  42774. + -g GROUP $chgrpprog installed files to GROUP.
  42775. + -m MODE $chmodprog installed files to MODE.
  42776. + -o USER $chownprog installed files to USER.
  42777. + -s $stripprog installed files.
  42778. + -t DIRECTORY install into DIRECTORY.
  42779. + -T report an error if DSTFILE is a directory.
  42780. Environment variables override the default commands:
  42781. - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
  42782. + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
  42783. + RMPROG STRIPPROG
  42784. "
  42785. -while test -n "$1"; do
  42786. +while test $# -ne 0; do
  42787. case $1 in
  42788. - -c) shift
  42789. - continue;;
  42790. + -c) ;;
  42791. - -d) dir_arg=true
  42792. - shift
  42793. - continue;;
  42794. + -C) copy_on_change=true;;
  42795. +
  42796. + -d) dir_arg=true;;
  42797. -g) chgrpcmd="$chgrpprog $2"
  42798. - shift
  42799. - shift
  42800. - continue;;
  42801. + shift;;
  42802. --help) echo "$usage"; exit $?;;
  42803. - -m) chmodcmd="$chmodprog $2"
  42804. - shift
  42805. - shift
  42806. - continue;;
  42807. + -m) mode=$2
  42808. + case $mode in
  42809. + *' '* | *' '* | *'
  42810. +'* | *'*'* | *'?'* | *'['*)
  42811. + echo "$0: invalid mode: $mode" >&2
  42812. + exit 1;;
  42813. + esac
  42814. + shift;;
  42815. -o) chowncmd="$chownprog $2"
  42816. - shift
  42817. - shift
  42818. - continue;;
  42819. -
  42820. - -s) stripcmd=$stripprog
  42821. - shift
  42822. - continue;;
  42823. -
  42824. - -t) dstarg=$2
  42825. - shift
  42826. - shift
  42827. - continue;;
  42828. -
  42829. - -T) no_target_directory=true
  42830. - shift
  42831. - continue;;
  42832. + shift;;
  42833. +
  42834. + -s) stripcmd=$stripprog;;
  42835. +
  42836. + -t) dst_arg=$2
  42837. + shift;;
  42838. +
  42839. + -T) no_target_directory=true;;
  42840. --version) echo "$0 $scriptversion"; exit $?;;
  42841. - *) # When -d is used, all remaining arguments are directories to create.
  42842. - # When -t is used, the destination is already specified.
  42843. - test -n "$dir_arg$dstarg" && break
  42844. - # Otherwise, the last argument is the destination. Remove it from $@.
  42845. - for arg
  42846. - do
  42847. - if test -n "$dstarg"; then
  42848. - # $@ is not empty: it contains at least $arg.
  42849. - set fnord "$@" "$dstarg"
  42850. - shift # fnord
  42851. - fi
  42852. - shift # arg
  42853. - dstarg=$arg
  42854. - done
  42855. + --) shift
  42856. break;;
  42857. +
  42858. + -*) echo "$0: invalid option: $1" >&2
  42859. + exit 1;;
  42860. +
  42861. + *) break;;
  42862. esac
  42863. + shift
  42864. done
  42865. -if test -z "$1"; then
  42866. +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
  42867. + # When -d is used, all remaining arguments are directories to create.
  42868. + # When -t is used, the destination is already specified.
  42869. + # Otherwise, the last argument is the destination. Remove it from $@.
  42870. + for arg
  42871. + do
  42872. + if test -n "$dst_arg"; then
  42873. + # $@ is not empty: it contains at least $arg.
  42874. + set fnord "$@" "$dst_arg"
  42875. + shift # fnord
  42876. + fi
  42877. + shift # arg
  42878. + dst_arg=$arg
  42879. + done
  42880. +fi
  42881. +
  42882. +if test $# -eq 0; then
  42883. if test -z "$dir_arg"; then
  42884. echo "$0: no input file specified." >&2
  42885. exit 1
  42886. @@ -164,24 +199,47 @@
  42887. exit 0
  42888. fi
  42889. +if test -z "$dir_arg"; then
  42890. + trap '(exit $?); exit' 1 2 13 15
  42891. +
  42892. + # Set umask so as not to create temps with too-generous modes.
  42893. + # However, 'strip' requires both read and write access to temps.
  42894. + case $mode in
  42895. + # Optimize common cases.
  42896. + *644) cp_umask=133;;
  42897. + *755) cp_umask=22;;
  42898. +
  42899. + *[0-7])
  42900. + if test -z "$stripcmd"; then
  42901. + u_plus_rw=
  42902. + else
  42903. + u_plus_rw='% 200'
  42904. + fi
  42905. + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
  42906. + *)
  42907. + if test -z "$stripcmd"; then
  42908. + u_plus_rw=
  42909. + else
  42910. + u_plus_rw=,u+rw
  42911. + fi
  42912. + cp_umask=$mode$u_plus_rw;;
  42913. + esac
  42914. +fi
  42915. +
  42916. for src
  42917. do
  42918. # Protect names starting with `-'.
  42919. case $src in
  42920. - -*) src=./$src ;;
  42921. + -*) src=./$src;;
  42922. esac
  42923. if test -n "$dir_arg"; then
  42924. dst=$src
  42925. - src=
  42926. -
  42927. - if test -d "$dst"; then
  42928. - mkdircmd=:
  42929. - chmodcmd=
  42930. - else
  42931. - mkdircmd=$mkdirprog
  42932. - fi
  42933. + dstdir=$dst
  42934. + test -d "$dstdir"
  42935. + dstdir_status=$?
  42936. else
  42937. +
  42938. # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
  42939. # might cause directories to be created, which would be especially bad
  42940. # if $src (and thus $dsttmp) contains '*'.
  42941. @@ -190,71 +248,199 @@
  42942. exit 1
  42943. fi
  42944. - if test -z "$dstarg"; then
  42945. + if test -z "$dst_arg"; then
  42946. echo "$0: no destination specified." >&2
  42947. exit 1
  42948. fi
  42949. - dst=$dstarg
  42950. + dst=$dst_arg
  42951. # Protect names starting with `-'.
  42952. case $dst in
  42953. - -*) dst=./$dst ;;
  42954. + -*) dst=./$dst;;
  42955. esac
  42956. # If destination is a directory, append the input filename; won't work
  42957. # if double slashes aren't ignored.
  42958. if test -d "$dst"; then
  42959. if test -n "$no_target_directory"; then
  42960. - echo "$0: $dstarg: Is a directory" >&2
  42961. + echo "$0: $dst_arg: Is a directory" >&2
  42962. exit 1
  42963. fi
  42964. - dst=$dst/`basename "$src"`
  42965. + dstdir=$dst
  42966. + dst=$dstdir/`basename "$src"`
  42967. + dstdir_status=0
  42968. + else
  42969. + # Prefer dirname, but fall back on a substitute if dirname fails.
  42970. + dstdir=`
  42971. + (dirname "$dst") 2>/dev/null ||
  42972. + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  42973. + X"$dst" : 'X\(//\)[^/]' \| \
  42974. + X"$dst" : 'X\(//\)$' \| \
  42975. + X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
  42976. + echo X"$dst" |
  42977. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  42978. + s//\1/
  42979. + q
  42980. + }
  42981. + /^X\(\/\/\)[^/].*/{
  42982. + s//\1/
  42983. + q
  42984. + }
  42985. + /^X\(\/\/\)$/{
  42986. + s//\1/
  42987. + q
  42988. + }
  42989. + /^X\(\/\).*/{
  42990. + s//\1/
  42991. + q
  42992. + }
  42993. + s/.*/./; q'
  42994. + `
  42995. +
  42996. + test -d "$dstdir"
  42997. + dstdir_status=$?
  42998. fi
  42999. fi
  43000. - # This sed command emulates the dirname command.
  43001. - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
  43002. -
  43003. - # Make sure that the destination directory exists.
  43004. + obsolete_mkdir_used=false
  43005. - # Skip lots of stat calls in the usual case.
  43006. - if test ! -d "$dstdir"; then
  43007. - defaultIFS='
  43008. - '
  43009. - IFS="${IFS-$defaultIFS}"
  43010. -
  43011. - oIFS=$IFS
  43012. - # Some sh's can't handle IFS=/ for some reason.
  43013. - IFS='%'
  43014. - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
  43015. - shift
  43016. - IFS=$oIFS
  43017. + if test $dstdir_status != 0; then
  43018. + case $posix_mkdir in
  43019. + '')
  43020. + # Create intermediate dirs using mode 755 as modified by the umask.
  43021. + # This is like FreeBSD 'install' as of 1997-10-28.
  43022. + umask=`umask`
  43023. + case $stripcmd.$umask in
  43024. + # Optimize common cases.
  43025. + *[2367][2367]) mkdir_umask=$umask;;
  43026. + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
  43027. +
  43028. + *[0-7])
  43029. + mkdir_umask=`expr $umask + 22 \
  43030. + - $umask % 100 % 40 + $umask % 20 \
  43031. + - $umask % 10 % 4 + $umask % 2
  43032. + `;;
  43033. + *) mkdir_umask=$umask,go-w;;
  43034. + esac
  43035. +
  43036. + # With -d, create the new directory with the user-specified mode.
  43037. + # Otherwise, rely on $mkdir_umask.
  43038. + if test -n "$dir_arg"; then
  43039. + mkdir_mode=-m$mode
  43040. + else
  43041. + mkdir_mode=
  43042. + fi
  43043. +
  43044. + posix_mkdir=false
  43045. + case $umask in
  43046. + *[123567][0-7][0-7])
  43047. + # POSIX mkdir -p sets u+wx bits regardless of umask, which
  43048. + # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
  43049. + ;;
  43050. + *)
  43051. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
  43052. + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
  43053. +
  43054. + if (umask $mkdir_umask &&
  43055. + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
  43056. + then
  43057. + if test -z "$dir_arg" || {
  43058. + # Check for POSIX incompatibilities with -m.
  43059. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
  43060. + # other-writeable bit of parent directory when it shouldn't.
  43061. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
  43062. + ls_ld_tmpdir=`ls -ld "$tmpdir"`
  43063. + case $ls_ld_tmpdir in
  43064. + d????-?r-*) different_mode=700;;
  43065. + d????-?--*) different_mode=755;;
  43066. + *) false;;
  43067. + esac &&
  43068. + $mkdirprog -m$different_mode -p -- "$tmpdir" && {
  43069. + ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
  43070. + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
  43071. + }
  43072. + }
  43073. + then posix_mkdir=:
  43074. + fi
  43075. + rmdir "$tmpdir/d" "$tmpdir"
  43076. + else
  43077. + # Remove any dirs left behind by ancient mkdir implementations.
  43078. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
  43079. + fi
  43080. + trap '' 0;;
  43081. + esac;;
  43082. + esac
  43083. - pathcomp=
  43084. + if
  43085. + $posix_mkdir && (
  43086. + umask $mkdir_umask &&
  43087. + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
  43088. + )
  43089. + then :
  43090. + else
  43091. - while test $# -ne 0 ; do
  43092. - pathcomp=$pathcomp$1
  43093. + # The umask is ridiculous, or mkdir does not conform to POSIX,
  43094. + # or it failed possibly due to a race condition. Create the
  43095. + # directory the slow way, step by step, checking for races as we go.
  43096. +
  43097. + case $dstdir in
  43098. + /*) prefix='/';;
  43099. + -*) prefix='./';;
  43100. + *) prefix='';;
  43101. + esac
  43102. +
  43103. + eval "$initialize_posix_glob"
  43104. +
  43105. + oIFS=$IFS
  43106. + IFS=/
  43107. + $posix_glob set -f
  43108. + set fnord $dstdir
  43109. shift
  43110. - if test ! -d "$pathcomp"; then
  43111. - $mkdirprog "$pathcomp"
  43112. - # mkdir can fail with a `File exist' error in case several
  43113. - # install-sh are creating the directory concurrently. This
  43114. - # is OK.
  43115. - test -d "$pathcomp" || exit
  43116. + $posix_glob set +f
  43117. + IFS=$oIFS
  43118. +
  43119. + prefixes=
  43120. +
  43121. + for d
  43122. + do
  43123. + test -z "$d" && continue
  43124. +
  43125. + prefix=$prefix$d
  43126. + if test -d "$prefix"; then
  43127. + prefixes=
  43128. + else
  43129. + if $posix_mkdir; then
  43130. + (umask=$mkdir_umask &&
  43131. + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
  43132. + # Don't fail if two instances are running concurrently.
  43133. + test -d "$prefix" || exit 1
  43134. + else
  43135. + case $prefix in
  43136. + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
  43137. + *) qprefix=$prefix;;
  43138. + esac
  43139. + prefixes="$prefixes '$qprefix'"
  43140. + fi
  43141. + fi
  43142. + prefix=$prefix/
  43143. + done
  43144. +
  43145. + if test -n "$prefixes"; then
  43146. + # Don't fail if two instances are running concurrently.
  43147. + (umask $mkdir_umask &&
  43148. + eval "\$doit_exec \$mkdirprog $prefixes") ||
  43149. + test -d "$dstdir" || exit 1
  43150. + obsolete_mkdir_used=true
  43151. fi
  43152. - pathcomp=$pathcomp/
  43153. - done
  43154. + fi
  43155. fi
  43156. if test -n "$dir_arg"; then
  43157. - $doit $mkdircmd "$dst" \
  43158. - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
  43159. - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
  43160. - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
  43161. - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
  43162. -
  43163. + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
  43164. + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
  43165. + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
  43166. + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
  43167. else
  43168. - dstfile=`basename "$dst"`
  43169. # Make a couple of temp file names in the proper directory.
  43170. dsttmp=$dstdir/_inst.$$_
  43171. @@ -262,10 +448,9 @@
  43172. # Trap to clean up those temp files at exit.
  43173. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
  43174. - trap '(exit $?); exit' 1 2 13 15
  43175. # Copy the file name to the temp name.
  43176. - $doit $cpprog "$src" "$dsttmp" &&
  43177. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
  43178. # and set any options; do chmod last to preserve setuid bits.
  43179. #
  43180. @@ -273,51 +458,63 @@
  43181. # ignore errors from any of these, just make sure not to ignore
  43182. # errors from the above "$doit $cpprog $src $dsttmp" command.
  43183. #
  43184. - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
  43185. - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
  43186. - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
  43187. - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
  43188. -
  43189. - # Now rename the file to the real destination.
  43190. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
  43191. - || {
  43192. - # The rename failed, perhaps because mv can't rename something else
  43193. - # to itself, or perhaps because mv is so ancient that it does not
  43194. - # support -f.
  43195. -
  43196. - # Now remove or move aside any old file at destination location.
  43197. - # We try this two ways since rm can't unlink itself on some
  43198. - # systems and the destination file might be busy for other
  43199. - # reasons. In this case, the final cleanup might fail but the new
  43200. - # file should still install successfully.
  43201. - {
  43202. - if test -f "$dstdir/$dstfile"; then
  43203. - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
  43204. - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
  43205. - || {
  43206. - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
  43207. - (exit 1); exit 1
  43208. - }
  43209. - else
  43210. - :
  43211. - fi
  43212. - } &&
  43213. -
  43214. - # Now rename the file to the real destination.
  43215. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
  43216. - }
  43217. - }
  43218. - fi || { (exit 1); exit 1; }
  43219. -done
  43220. + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
  43221. + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
  43222. + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
  43223. + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
  43224. +
  43225. + # If -C, don't bother to copy if it wouldn't change the file.
  43226. + if $copy_on_change &&
  43227. + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
  43228. + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
  43229. +
  43230. + eval "$initialize_posix_glob" &&
  43231. + $posix_glob set -f &&
  43232. + set X $old && old=:$2:$4:$5:$6 &&
  43233. + set X $new && new=:$2:$4:$5:$6 &&
  43234. + $posix_glob set +f &&
  43235. +
  43236. + test "$old" = "$new" &&
  43237. + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
  43238. + then
  43239. + rm -f "$dsttmp"
  43240. + else
  43241. + # Rename the file to the real destination.
  43242. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
  43243. -# The final little trick to "correctly" pass the exit status to the exit trap.
  43244. -{
  43245. - (exit 0); exit 0
  43246. -}
  43247. + # The rename failed, perhaps because mv can't rename something else
  43248. + # to itself, or perhaps because mv is so ancient that it does not
  43249. + # support -f.
  43250. + {
  43251. + # Now remove or move aside any old file at destination location.
  43252. + # We try this two ways since rm can't unlink itself on some
  43253. + # systems and the destination file might be busy for other
  43254. + # reasons. In this case, the final cleanup might fail but the new
  43255. + # file should still install successfully.
  43256. + {
  43257. + test ! -f "$dst" ||
  43258. + $doit $rmcmd -f "$dst" 2>/dev/null ||
  43259. + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
  43260. + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
  43261. + } ||
  43262. + { echo "$0: cannot unlink or rename $dst" >&2
  43263. + (exit 1); exit 1
  43264. + }
  43265. + } &&
  43266. +
  43267. + # Now rename the file to the real destination.
  43268. + $doit $mvcmd "$dsttmp" "$dst"
  43269. + }
  43270. + fi || exit 1
  43271. +
  43272. + trap '' 0
  43273. + fi
  43274. +done
  43275. # Local variables:
  43276. # eval: (add-hook 'write-file-hooks 'time-stamp)
  43277. # time-stamp-start: "scriptversion="
  43278. # time-stamp-format: "%:y-%02m-%02d.%02H"
  43279. -# time-stamp-end: "$"
  43280. +# time-stamp-time-zone: "UTC"
  43281. +# time-stamp-end: "; # UTC"
  43282. # End:
  43283. diff -Nur alsa-lib-1.0.22.orig/ltmain.sh alsa-lib-1.0.22/ltmain.sh
  43284. --- alsa-lib-1.0.22.orig/ltmain.sh 2006-11-25 12:04:27.000000000 +0100
  43285. +++ alsa-lib-1.0.22/ltmain.sh 2011-02-24 20:33:10.393551566 +0100
  43286. @@ -1,30 +1,174 @@
  43287. -# ltmain.sh - Provide generalized library-building support services.
  43288. -# NOTE: Changing this file will not affect anything until you rerun configure.
  43289. -#
  43290. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
  43291. -# Free Software Foundation, Inc.
  43292. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  43293. -#
  43294. -# This program is free software; you can redistribute it and/or modify
  43295. +# Generated from ltmain.m4sh.
  43296. +
  43297. +# ltmain.sh (GNU libtool) 2.2.6b
  43298. +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  43299. +
  43300. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  43301. +# This is free software; see the source for copying conditions. There is NO
  43302. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  43303. +
  43304. +# GNU Libtool is free software; you can redistribute it and/or modify
  43305. # it under the terms of the GNU General Public License as published by
  43306. # the Free Software Foundation; either version 2 of the License, or
  43307. # (at your option) any later version.
  43308. #
  43309. -# This program is distributed in the hope that it will be useful, but
  43310. +# As a special exception to the GNU General Public License,
  43311. +# if you distribute this file as part of a program or library that
  43312. +# is built using GNU Libtool, you may include this file under the
  43313. +# same distribution terms that you use for the rest of that program.
  43314. +#
  43315. +# GNU Libtool is distributed in the hope that it will be useful, but
  43316. # WITHOUT ANY WARRANTY; without even the implied warranty of
  43317. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  43318. # General Public License for more details.
  43319. #
  43320. # You should have received a copy of the GNU General Public License
  43321. -# along with this program; if not, write to the Free Software
  43322. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  43323. +# along with GNU Libtool; see the file COPYING. If not, a copy
  43324. +# can be downloaded from http://www.gnu.org/licenses/gpl.html,
  43325. +# or obtained by writing to the Free Software Foundation, Inc.,
  43326. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  43327. +
  43328. +# Usage: $progname [OPTION]... [MODE-ARG]...
  43329. +#
  43330. +# Provide generalized library-building support services.
  43331. #
  43332. -# As a special exception to the GNU General Public License, if you
  43333. -# distribute this file as part of a program that contains a
  43334. -# configuration script generated by Autoconf, you may include it under
  43335. -# the same distribution terms that you use for the rest of that program.
  43336. +# --config show all configuration variables
  43337. +# --debug enable verbose shell tracing
  43338. +# -n, --dry-run display commands without modifying any files
  43339. +# --features display basic configuration information and exit
  43340. +# --mode=MODE use operation mode MODE
  43341. +# --preserve-dup-deps don't remove duplicate dependency libraries
  43342. +# --quiet, --silent don't print informational messages
  43343. +# --tag=TAG use configuration variables from tag TAG
  43344. +# -v, --verbose print informational messages (default)
  43345. +# --version print version information
  43346. +# -h, --help print short or long help message
  43347. +#
  43348. +# MODE must be one of the following:
  43349. +#
  43350. +# clean remove files from the build directory
  43351. +# compile compile a source file into a libtool object
  43352. +# execute automatically set library path, then run a program
  43353. +# finish complete the installation of libtool libraries
  43354. +# install install libraries or executables
  43355. +# link create a library or an executable
  43356. +# uninstall remove libraries from an installed directory
  43357. +#
  43358. +# MODE-ARGS vary depending on the MODE.
  43359. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  43360. +#
  43361. +# When reporting a bug, please describe a test case to reproduce it and
  43362. +# include the following information:
  43363. +#
  43364. +# host-triplet: $host
  43365. +# shell: $SHELL
  43366. +# compiler: $LTCC
  43367. +# compiler flags: $LTCFLAGS
  43368. +# linker: $LD (gnu? $with_gnu_ld)
  43369. +# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
  43370. +# automake: $automake_version
  43371. +# autoconf: $autoconf_version
  43372. +#
  43373. +# Report bugs to <bug-libtool@gnu.org>.
  43374. +
  43375. +PROGRAM=ltmain.sh
  43376. +PACKAGE=libtool
  43377. +VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
  43378. +TIMESTAMP=""
  43379. +package_revision=1.3017
  43380. +
  43381. +# Be Bourne compatible
  43382. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  43383. + emulate sh
  43384. + NULLCMD=:
  43385. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  43386. + # is contrary to our usage. Disable this feature.
  43387. + alias -g '${1+"$@"}'='"$@"'
  43388. + setopt NO_GLOB_SUBST
  43389. +else
  43390. + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  43391. +fi
  43392. +BIN_SH=xpg4; export BIN_SH # for Tru64
  43393. +DUALCASE=1; export DUALCASE # for MKS sh
  43394. +
  43395. +# NLS nuisances: We save the old values to restore during execute mode.
  43396. +# Only set LANG and LC_ALL to C if already set.
  43397. +# These must not be set unconditionally because not all systems understand
  43398. +# e.g. LANG=C (notably SCO).
  43399. +lt_user_locale=
  43400. +lt_safe_locale=
  43401. +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  43402. +do
  43403. + eval "if test \"\${$lt_var+set}\" = set; then
  43404. + save_$lt_var=\$$lt_var
  43405. + $lt_var=C
  43406. + export $lt_var
  43407. + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
  43408. + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  43409. + fi"
  43410. +done
  43411. +
  43412. +$lt_unset CDPATH
  43413. +
  43414. +
  43415. +
  43416. +
  43417. +
  43418. +: ${CP="cp -f"}
  43419. +: ${ECHO="echo"}
  43420. +: ${EGREP="/bin/grep -E"}
  43421. +: ${FGREP="/bin/grep -F"}
  43422. +: ${GREP="/bin/grep"}
  43423. +: ${LN_S="ln -s"}
  43424. +: ${MAKE="make"}
  43425. +: ${MKDIR="mkdir"}
  43426. +: ${MV="mv -f"}
  43427. +: ${RM="rm -f"}
  43428. +: ${SED="/bin/sed"}
  43429. +: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  43430. +: ${Xsed="$SED -e 1s/^X//"}
  43431. -basename="s,^.*/,,g"
  43432. +# Global variables:
  43433. +EXIT_SUCCESS=0
  43434. +EXIT_FAILURE=1
  43435. +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
  43436. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
  43437. +
  43438. +exit_status=$EXIT_SUCCESS
  43439. +
  43440. +# Make sure IFS has a sensible default
  43441. +lt_nl='
  43442. +'
  43443. +IFS=" $lt_nl"
  43444. +
  43445. +dirname="s,/[^/]*$,,"
  43446. +basename="s,^.*/,,"
  43447. +
  43448. +# func_dirname_and_basename file append nondir_replacement
  43449. +# perform func_basename and func_dirname in a single function
  43450. +# call:
  43451. +# dirname: Compute the dirname of FILE. If nonempty,
  43452. +# add APPEND to the result, otherwise set result
  43453. +# to NONDIR_REPLACEMENT.
  43454. +# value returned in "$func_dirname_result"
  43455. +# basename: Compute filename of FILE.
  43456. +# value retuned in "$func_basename_result"
  43457. +# Implementation must be kept synchronized with func_dirname
  43458. +# and func_basename. For efficiency, we do not delegate to
  43459. +# those functions but instead duplicate the functionality here.
  43460. +func_dirname_and_basename ()
  43461. +{
  43462. + # Extract subdirectory from the argument.
  43463. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  43464. + if test "X$func_dirname_result" = "X${1}"; then
  43465. + func_dirname_result="${3}"
  43466. + else
  43467. + func_dirname_result="$func_dirname_result${2}"
  43468. + fi
  43469. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  43470. +}
  43471. +
  43472. +# Generated shell functions inserted here.
  43473. # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  43474. # is ksh but when the shell is invoked as "sh" and the current value of
  43475. @@ -34,112 +178,174 @@
  43476. progpath="$0"
  43477. # The name of this program:
  43478. -progname=`echo "$progpath" | $SED $basename`
  43479. -modename="$progname"
  43480. +# In the unlikely event $progname began with a '-', it would play havoc with
  43481. +# func_echo (imagine progname=-n), so we prepend ./ in that case:
  43482. +func_dirname_and_basename "$progpath"
  43483. +progname=$func_basename_result
  43484. +case $progname in
  43485. + -*) progname=./$progname ;;
  43486. +esac
  43487. -# Global variables:
  43488. -EXIT_SUCCESS=0
  43489. -EXIT_FAILURE=1
  43490. +# Make sure we have an absolute path for reexecution:
  43491. +case $progpath in
  43492. + [\\/]*|[A-Za-z]:\\*) ;;
  43493. + *[\\/]*)
  43494. + progdir=$func_dirname_result
  43495. + progdir=`cd "$progdir" && pwd`
  43496. + progpath="$progdir/$progname"
  43497. + ;;
  43498. + *)
  43499. + save_IFS="$IFS"
  43500. + IFS=:
  43501. + for progdir in $PATH; do
  43502. + IFS="$save_IFS"
  43503. + test -x "$progdir/$progname" && break
  43504. + done
  43505. + IFS="$save_IFS"
  43506. + test -n "$progdir" || progdir=`pwd`
  43507. + progpath="$progdir/$progname"
  43508. + ;;
  43509. +esac
  43510. -PROGRAM=ltmain.sh
  43511. -PACKAGE=libtool
  43512. -VERSION=1.5.22
  43513. -TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
  43514. +# Sed substitution that helps us do robust quoting. It backslashifies
  43515. +# metacharacters that are still active within double-quoted strings.
  43516. +Xsed="${SED}"' -e 1s/^X//'
  43517. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
  43518. -# See if we are running on zsh, and set the options which allow our
  43519. -# commands through without removal of \ escapes.
  43520. -if test -n "${ZSH_VERSION+set}" ; then
  43521. - setopt NO_GLOB_SUBST
  43522. -fi
  43523. +# Same as above, but do not quote variable references.
  43524. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  43525. -# Check that we have a working $echo.
  43526. -if test "X$1" = X--no-reexec; then
  43527. - # Discard the --no-reexec flag, and continue.
  43528. - shift
  43529. -elif test "X$1" = X--fallback-echo; then
  43530. - # Avoid inline document here, it may be left over
  43531. - :
  43532. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  43533. - # Yippee, $echo works!
  43534. - :
  43535. -else
  43536. - # Restart under the correct shell, and then maybe $echo will work.
  43537. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  43538. -fi
  43539. +# Re-`\' parameter expansions in output of double_quote_subst that were
  43540. +# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
  43541. +# in input to double_quote_subst, that '$' was protected from expansion.
  43542. +# Since each input `\' is now two `\'s, look for any number of runs of
  43543. +# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
  43544. +bs='\\'
  43545. +bs2='\\\\'
  43546. +bs4='\\\\\\\\'
  43547. +dollar='\$'
  43548. +sed_double_backslash="\
  43549. + s/$bs4/&\\
  43550. +/g
  43551. + s/^$bs2$dollar/$bs&/
  43552. + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
  43553. + s/\n//g"
  43554. +
  43555. +# Standard options:
  43556. +opt_dry_run=false
  43557. +opt_help=false
  43558. +opt_quiet=false
  43559. +opt_verbose=false
  43560. +opt_warning=:
  43561. +
  43562. +# func_echo arg...
  43563. +# Echo program name prefixed message, along with the current mode
  43564. +# name if it has been set yet.
  43565. +func_echo ()
  43566. +{
  43567. + $ECHO "$progname${mode+: }$mode: $*"
  43568. +}
  43569. -if test "X$1" = X--fallback-echo; then
  43570. - # used as fallback echo
  43571. - shift
  43572. - cat <<EOF
  43573. -$*
  43574. -EOF
  43575. - exit $EXIT_SUCCESS
  43576. -fi
  43577. +# func_verbose arg...
  43578. +# Echo program name prefixed message in verbose mode only.
  43579. +func_verbose ()
  43580. +{
  43581. + $opt_verbose && func_echo ${1+"$@"}
  43582. -default_mode=
  43583. -help="Try \`$progname --help' for more information."
  43584. -magic="%%%MAGIC variable%%%"
  43585. -mkdir="mkdir"
  43586. -mv="mv -f"
  43587. -rm="rm -f"
  43588. + # A bug in bash halts the script if the last line of a function
  43589. + # fails when set -e is in force, so we need another command to
  43590. + # work around that:
  43591. + :
  43592. +}
  43593. -# Sed substitution that helps us do robust quoting. It backslashifies
  43594. -# metacharacters that are still active within double-quoted strings.
  43595. -Xsed="${SED}"' -e 1s/^X//'
  43596. -sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
  43597. -# test EBCDIC or ASCII
  43598. -case `echo X|tr X '\101'` in
  43599. - A) # ASCII based system
  43600. - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  43601. - SP2NL='tr \040 \012'
  43602. - NL2SP='tr \015\012 \040\040'
  43603. - ;;
  43604. - *) # EBCDIC based system
  43605. - SP2NL='tr \100 \n'
  43606. - NL2SP='tr \r\n \100\100'
  43607. - ;;
  43608. -esac
  43609. +# func_error arg...
  43610. +# Echo program name prefixed message to standard error.
  43611. +func_error ()
  43612. +{
  43613. + $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  43614. +}
  43615. -# NLS nuisances.
  43616. -# Only set LANG and LC_ALL to C if already set.
  43617. -# These must not be set unconditionally because not all systems understand
  43618. -# e.g. LANG=C (notably SCO).
  43619. -# We save the old values to restore during execute mode.
  43620. -if test "${LC_ALL+set}" = set; then
  43621. - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
  43622. -fi
  43623. -if test "${LANG+set}" = set; then
  43624. - save_LANG="$LANG"; LANG=C; export LANG
  43625. -fi
  43626. +# func_warning arg...
  43627. +# Echo program name prefixed warning message to standard error.
  43628. +func_warning ()
  43629. +{
  43630. + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  43631. -# Make sure IFS has a sensible default
  43632. -lt_nl='
  43633. -'
  43634. -IFS=" $lt_nl"
  43635. + # bash bug again:
  43636. + :
  43637. +}
  43638. -if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  43639. - $echo "$modename: not configured to build any kind of library" 1>&2
  43640. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  43641. - exit $EXIT_FAILURE
  43642. -fi
  43643. +# func_fatal_error arg...
  43644. +# Echo program name prefixed message to standard error, and exit.
  43645. +func_fatal_error ()
  43646. +{
  43647. + func_error ${1+"$@"}
  43648. + exit $EXIT_FAILURE
  43649. +}
  43650. -# Global variables.
  43651. -mode=$default_mode
  43652. -nonopt=
  43653. -prev=
  43654. -prevopt=
  43655. -run=
  43656. -show="$echo"
  43657. -show_help=
  43658. -execute_dlfiles=
  43659. -duplicate_deps=no
  43660. -preserve_args=
  43661. -lo2o="s/\\.lo\$/.${objext}/"
  43662. -o2lo="s/\\.${objext}\$/.lo/"
  43663. +# func_fatal_help arg...
  43664. +# Echo program name prefixed message to standard error, followed by
  43665. +# a help hint, and exit.
  43666. +func_fatal_help ()
  43667. +{
  43668. + func_error ${1+"$@"}
  43669. + func_fatal_error "$help"
  43670. +}
  43671. +help="Try \`$progname --help' for more information." ## default
  43672. +
  43673. +
  43674. +# func_grep expression filename
  43675. +# Check whether EXPRESSION matches any line of FILENAME, without output.
  43676. +func_grep ()
  43677. +{
  43678. + $GREP "$1" "$2" >/dev/null 2>&1
  43679. +}
  43680. +
  43681. +
  43682. +# func_mkdir_p directory-path
  43683. +# Make sure the entire path to DIRECTORY-PATH is available.
  43684. +func_mkdir_p ()
  43685. +{
  43686. + my_directory_path="$1"
  43687. + my_dir_list=
  43688. +
  43689. + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
  43690. +
  43691. + # Protect directory names starting with `-'
  43692. + case $my_directory_path in
  43693. + -*) my_directory_path="./$my_directory_path" ;;
  43694. + esac
  43695. +
  43696. + # While some portion of DIR does not yet exist...
  43697. + while test ! -d "$my_directory_path"; do
  43698. + # ...make a list in topmost first order. Use a colon delimited
  43699. + # list incase some portion of path contains whitespace.
  43700. + my_dir_list="$my_directory_path:$my_dir_list"
  43701. +
  43702. + # If the last portion added has no slash in it, the list is done
  43703. + case $my_directory_path in */*) ;; *) break ;; esac
  43704. +
  43705. + # ...otherwise throw away the child directory and loop
  43706. + my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  43707. + done
  43708. + my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  43709. +
  43710. + save_mkdir_p_IFS="$IFS"; IFS=':'
  43711. + for my_dir in $my_dir_list; do
  43712. + IFS="$save_mkdir_p_IFS"
  43713. + # mkdir can fail with a `File exist' error if two processes
  43714. + # try to create one of the directories concurrently. Don't
  43715. + # stop in that case!
  43716. + $MKDIR "$my_dir" 2>/dev/null || :
  43717. + done
  43718. + IFS="$save_mkdir_p_IFS"
  43719. +
  43720. + # Bail out if we (or some other process) failed to create a directory.
  43721. + test -d "$my_directory_path" || \
  43722. + func_fatal_error "Failed to create \`$1'"
  43723. + fi
  43724. +}
  43725. -#####################################
  43726. -# Shell function definitions:
  43727. -# This seems to be the best place for them
  43728. # func_mktempdir [string]
  43729. # Make a temporary directory that won't clash with other running
  43730. @@ -149,7 +355,7 @@
  43731. {
  43732. my_template="${TMPDIR-/tmp}/${1-$progname}"
  43733. - if test "$run" = ":"; then
  43734. + if test "$opt_dry_run" = ":"; then
  43735. # Return a directory name, but don't create it in dry-run mode
  43736. my_tmpdir="${my_template}-$$"
  43737. else
  43738. @@ -158,546 +364,818 @@
  43739. my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
  43740. if test ! -d "$my_tmpdir"; then
  43741. - # Failing that, at least try and use $RANDOM to avoid a race
  43742. - my_tmpdir="${my_template}-${RANDOM-0}$$"
  43743. + # Failing that, at least try and use $RANDOM to avoid a race
  43744. + my_tmpdir="${my_template}-${RANDOM-0}$$"
  43745. - save_mktempdir_umask=`umask`
  43746. - umask 0077
  43747. - $mkdir "$my_tmpdir"
  43748. - umask $save_mktempdir_umask
  43749. + save_mktempdir_umask=`umask`
  43750. + umask 0077
  43751. + $MKDIR "$my_tmpdir"
  43752. + umask $save_mktempdir_umask
  43753. fi
  43754. # If we're not in dry-run mode, bomb out on failure
  43755. - test -d "$my_tmpdir" || {
  43756. - $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
  43757. - exit $EXIT_FAILURE
  43758. - }
  43759. + test -d "$my_tmpdir" || \
  43760. + func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  43761. fi
  43762. - $echo "X$my_tmpdir" | $Xsed
  43763. + $ECHO "X$my_tmpdir" | $Xsed
  43764. }
  43765. -# func_win32_libid arg
  43766. -# return the library type of file 'arg'
  43767. -#
  43768. -# Need a lot of goo to handle *both* DLLs and import libs
  43769. -# Has to be a shell function in order to 'eat' the argument
  43770. -# that is supplied when $file_magic_command is called.
  43771. -func_win32_libid ()
  43772. +# func_quote_for_eval arg
  43773. +# Aesthetically quote ARG to be evaled later.
  43774. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
  43775. +# is double-quoted, suitable for a subsequent eval, whereas
  43776. +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
  43777. +# which are still active within double quotes backslashified.
  43778. +func_quote_for_eval ()
  43779. {
  43780. - win32_libid_type="unknown"
  43781. - win32_fileres=`file -L $1 2>/dev/null`
  43782. - case $win32_fileres in
  43783. - *ar\ archive\ import\ library*) # definitely import
  43784. - win32_libid_type="x86 archive import"
  43785. - ;;
  43786. - *ar\ archive*) # could be an import, or static
  43787. - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
  43788. - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  43789. - win32_nmres=`eval $NM -f posix -A $1 | \
  43790. - $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
  43791. - case $win32_nmres in
  43792. - import*) win32_libid_type="x86 archive import";;
  43793. - *) win32_libid_type="x86 archive static";;
  43794. - esac
  43795. - fi
  43796. - ;;
  43797. - *DLL*)
  43798. - win32_libid_type="x86 DLL"
  43799. - ;;
  43800. - *executable*) # but shell scripts are "executable" too...
  43801. - case $win32_fileres in
  43802. - *MS\ Windows\ PE\ Intel*)
  43803. - win32_libid_type="x86 DLL"
  43804. - ;;
  43805. + case $1 in
  43806. + *[\\\`\"\$]*)
  43807. + func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  43808. + *)
  43809. + func_quote_for_eval_unquoted_result="$1" ;;
  43810. + esac
  43811. +
  43812. + case $func_quote_for_eval_unquoted_result in
  43813. + # Double-quote args containing shell metacharacters to delay
  43814. + # word splitting, command substitution and and variable
  43815. + # expansion for a subsequent eval.
  43816. + # Many Bourne shells cannot handle close brackets correctly
  43817. + # in scan sets, so we specify it separately.
  43818. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  43819. + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
  43820. + ;;
  43821. + *)
  43822. + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
  43823. esac
  43824. - ;;
  43825. - esac
  43826. - $echo $win32_libid_type
  43827. }
  43828. -# func_infer_tag arg
  43829. -# Infer tagged configuration to use if any are available and
  43830. -# if one wasn't chosen via the "--tag" command line option.
  43831. -# Only attempt this if the compiler in the base compile
  43832. -# command doesn't match the default compiler.
  43833. -# arg is usually of the form 'gcc ...'
  43834. -func_infer_tag ()
  43835. +# func_quote_for_expand arg
  43836. +# Aesthetically quote ARG to be evaled later; same as above,
  43837. +# but do not quote variable references.
  43838. +func_quote_for_expand ()
  43839. {
  43840. - if test -n "$available_tags" && test -z "$tagname"; then
  43841. - CC_quoted=
  43842. - for arg in $CC; do
  43843. - case $arg in
  43844. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  43845. - arg="\"$arg\""
  43846. - ;;
  43847. - esac
  43848. - CC_quoted="$CC_quoted $arg"
  43849. - done
  43850. - case $@ in
  43851. - # Blanks in the command may have been stripped by the calling shell,
  43852. - # but not from the CC environment variable when configure was run.
  43853. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
  43854. - # Blanks at the start of $base_compile will cause this to fail
  43855. - # if we don't check for them as well.
  43856. + case $1 in
  43857. + *[\\\`\"]*)
  43858. + my_arg=`$ECHO "X$1" | $Xsed \
  43859. + -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  43860. *)
  43861. - for z in $available_tags; do
  43862. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  43863. - # Evaluate the configuration.
  43864. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  43865. - CC_quoted=
  43866. - for arg in $CC; do
  43867. - # Double-quote args containing other shell metacharacters.
  43868. - case $arg in
  43869. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  43870. - arg="\"$arg\""
  43871. - ;;
  43872. - esac
  43873. - CC_quoted="$CC_quoted $arg"
  43874. - done
  43875. - case "$@ " in
  43876. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
  43877. - # The compiler in the base compile command matches
  43878. - # the one in the tagged configuration.
  43879. - # Assume this is the tagged configuration we want.
  43880. - tagname=$z
  43881. - break
  43882. - ;;
  43883. - esac
  43884. - fi
  43885. - done
  43886. - # If $tagname still isn't set, then no tagged configuration
  43887. - # was found and let the user know that the "--tag" command
  43888. - # line option must be used.
  43889. - if test -z "$tagname"; then
  43890. - $echo "$modename: unable to infer tagged configuration"
  43891. - $echo "$modename: specify a tag with \`--tag'" 1>&2
  43892. - exit $EXIT_FAILURE
  43893. -# else
  43894. -# $echo "$modename: using $tagname tagged configuration"
  43895. - fi
  43896. - ;;
  43897. - esac
  43898. - fi
  43899. + my_arg="$1" ;;
  43900. + esac
  43901. +
  43902. + case $my_arg in
  43903. + # Double-quote args containing shell metacharacters to delay
  43904. + # word splitting and command substitution for a subsequent eval.
  43905. + # Many Bourne shells cannot handle close brackets correctly
  43906. + # in scan sets, so we specify it separately.
  43907. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  43908. + my_arg="\"$my_arg\""
  43909. + ;;
  43910. + esac
  43911. +
  43912. + func_quote_for_expand_result="$my_arg"
  43913. }
  43914. -# func_extract_an_archive dir oldlib
  43915. -func_extract_an_archive ()
  43916. +# func_show_eval cmd [fail_exp]
  43917. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  43918. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  43919. +# is given, then evaluate it.
  43920. +func_show_eval ()
  43921. {
  43922. - f_ex_an_ar_dir="$1"; shift
  43923. - f_ex_an_ar_oldlib="$1"
  43924. + my_cmd="$1"
  43925. + my_fail_exp="${2-:}"
  43926. - $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
  43927. - $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
  43928. - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  43929. - :
  43930. - else
  43931. - $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
  43932. - exit $EXIT_FAILURE
  43933. + ${opt_silent-false} || {
  43934. + func_quote_for_expand "$my_cmd"
  43935. + eval "func_echo $func_quote_for_expand_result"
  43936. + }
  43937. +
  43938. + if ${opt_dry_run-false}; then :; else
  43939. + eval "$my_cmd"
  43940. + my_status=$?
  43941. + if test "$my_status" -eq 0; then :; else
  43942. + eval "(exit $my_status); $my_fail_exp"
  43943. + fi
  43944. fi
  43945. }
  43946. -# func_extract_archives gentop oldlib ...
  43947. -func_extract_archives ()
  43948. +
  43949. +# func_show_eval_locale cmd [fail_exp]
  43950. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  43951. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  43952. +# is given, then evaluate it. Use the saved locale for evaluation.
  43953. +func_show_eval_locale ()
  43954. {
  43955. - my_gentop="$1"; shift
  43956. - my_oldlibs=${1+"$@"}
  43957. - my_oldobjs=""
  43958. - my_xlib=""
  43959. - my_xabs=""
  43960. - my_xdir=""
  43961. - my_status=""
  43962. + my_cmd="$1"
  43963. + my_fail_exp="${2-:}"
  43964. +
  43965. + ${opt_silent-false} || {
  43966. + func_quote_for_expand "$my_cmd"
  43967. + eval "func_echo $func_quote_for_expand_result"
  43968. + }
  43969. - $show "${rm}r $my_gentop"
  43970. - $run ${rm}r "$my_gentop"
  43971. - $show "$mkdir $my_gentop"
  43972. - $run $mkdir "$my_gentop"
  43973. - my_status=$?
  43974. - if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
  43975. - exit $my_status
  43976. + if ${opt_dry_run-false}; then :; else
  43977. + eval "$lt_user_locale
  43978. + $my_cmd"
  43979. + my_status=$?
  43980. + eval "$lt_safe_locale"
  43981. + if test "$my_status" -eq 0; then :; else
  43982. + eval "(exit $my_status); $my_fail_exp"
  43983. + fi
  43984. fi
  43985. +}
  43986. - for my_xlib in $my_oldlibs; do
  43987. - # Extract the objects.
  43988. - case $my_xlib in
  43989. - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  43990. - *) my_xabs=`pwd`"/$my_xlib" ;;
  43991. - esac
  43992. - my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
  43993. - my_xdir="$my_gentop/$my_xlib"
  43994. - $show "${rm}r $my_xdir"
  43995. - $run ${rm}r "$my_xdir"
  43996. - $show "$mkdir $my_xdir"
  43997. - $run $mkdir "$my_xdir"
  43998. - exit_status=$?
  43999. - if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
  44000. - exit $exit_status
  44001. - fi
  44002. - case $host in
  44003. - *-darwin*)
  44004. - $show "Extracting $my_xabs"
  44005. - # Do not bother doing anything if just a dry run
  44006. - if test -z "$run"; then
  44007. - darwin_orig_dir=`pwd`
  44008. - cd $my_xdir || exit $?
  44009. - darwin_archive=$my_xabs
  44010. - darwin_curdir=`pwd`
  44011. - darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
  44012. - darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
  44013. - if test -n "$darwin_arches"; then
  44014. - darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
  44015. - darwin_arch=
  44016. - $show "$darwin_base_archive has multiple architectures $darwin_arches"
  44017. - for darwin_arch in $darwin_arches ; do
  44018. - mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  44019. - lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  44020. - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  44021. - func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  44022. - cd "$darwin_curdir"
  44023. - $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  44024. - done # $darwin_arches
  44025. - ## Okay now we have a bunch of thin objects, gotta fatten them up :)
  44026. - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
  44027. - darwin_file=
  44028. - darwin_files=
  44029. - for darwin_file in $darwin_filelist; do
  44030. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  44031. - lipo -create -output "$darwin_file" $darwin_files
  44032. - done # $darwin_filelist
  44033. - ${rm}r unfat-$$
  44034. - cd "$darwin_orig_dir"
  44035. - else
  44036. - cd "$darwin_orig_dir"
  44037. - func_extract_an_archive "$my_xdir" "$my_xabs"
  44038. - fi # $darwin_arches
  44039. - fi # $run
  44040. - ;;
  44041. - *)
  44042. - func_extract_an_archive "$my_xdir" "$my_xabs"
  44043. - ;;
  44044. - esac
  44045. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  44046. - done
  44047. - func_extract_archives_result="$my_oldobjs"
  44048. +
  44049. +
  44050. +
  44051. +# func_version
  44052. +# Echo version message to standard output and exit.
  44053. +func_version ()
  44054. +{
  44055. + $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  44056. + s/^# //
  44057. + s/^# *$//
  44058. + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  44059. + p
  44060. + }' < "$progpath"
  44061. + exit $?
  44062. }
  44063. -# End of Shell function definitions
  44064. -#####################################
  44065. -# Darwin sucks
  44066. -eval std_shrext=\"$shrext_cmds\"
  44067. +# func_usage
  44068. +# Echo short help message to standard output and exit.
  44069. +func_usage ()
  44070. +{
  44071. + $SED -n '/^# Usage:/,/# -h/ {
  44072. + s/^# //
  44073. + s/^# *$//
  44074. + s/\$progname/'$progname'/
  44075. + p
  44076. + }' < "$progpath"
  44077. + $ECHO
  44078. + $ECHO "run \`$progname --help | more' for full usage"
  44079. + exit $?
  44080. +}
  44081. -disable_libs=no
  44082. +# func_help
  44083. +# Echo long help message to standard output and exit.
  44084. +func_help ()
  44085. +{
  44086. + $SED -n '/^# Usage:/,/# Report bugs to/ {
  44087. + s/^# //
  44088. + s/^# *$//
  44089. + s*\$progname*'$progname'*
  44090. + s*\$host*'"$host"'*
  44091. + s*\$SHELL*'"$SHELL"'*
  44092. + s*\$LTCC*'"$LTCC"'*
  44093. + s*\$LTCFLAGS*'"$LTCFLAGS"'*
  44094. + s*\$LD*'"$LD"'*
  44095. + s/\$with_gnu_ld/'"$with_gnu_ld"'/
  44096. + s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  44097. + s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  44098. + p
  44099. + }' < "$progpath"
  44100. + exit $?
  44101. +}
  44102. -# Parse our command line options once, thoroughly.
  44103. -while test "$#" -gt 0
  44104. -do
  44105. - arg="$1"
  44106. +# func_missing_arg argname
  44107. +# Echo program name prefixed message to standard error and set global
  44108. +# exit_cmd.
  44109. +func_missing_arg ()
  44110. +{
  44111. + func_error "missing argument for $1"
  44112. + exit_cmd=exit
  44113. +}
  44114. +
  44115. +exit_cmd=:
  44116. +
  44117. +
  44118. +
  44119. +
  44120. +
  44121. +# Check that we have a working $ECHO.
  44122. +if test "X$1" = X--no-reexec; then
  44123. + # Discard the --no-reexec flag, and continue.
  44124. shift
  44125. +elif test "X$1" = X--fallback-echo; then
  44126. + # Avoid inline document here, it may be left over
  44127. + :
  44128. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  44129. + # Yippee, $ECHO works!
  44130. + :
  44131. +else
  44132. + # Restart under the correct shell, and then maybe $ECHO will work.
  44133. + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  44134. +fi
  44135. - case $arg in
  44136. - -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
  44137. - *) optarg= ;;
  44138. - esac
  44139. +if test "X$1" = X--fallback-echo; then
  44140. + # used as fallback echo
  44141. + shift
  44142. + cat <<EOF
  44143. +$*
  44144. +EOF
  44145. + exit $EXIT_SUCCESS
  44146. +fi
  44147. - # If the previous option needs an argument, assign it.
  44148. - if test -n "$prev"; then
  44149. - case $prev in
  44150. - execute_dlfiles)
  44151. - execute_dlfiles="$execute_dlfiles $arg"
  44152. - ;;
  44153. - tag)
  44154. - tagname="$arg"
  44155. - preserve_args="${preserve_args}=$arg"
  44156. -
  44157. - # Check whether tagname contains only valid characters
  44158. - case $tagname in
  44159. - *[!-_A-Za-z0-9,/]*)
  44160. - $echo "$progname: invalid tag name: $tagname" 1>&2
  44161. - exit $EXIT_FAILURE
  44162. - ;;
  44163. - esac
  44164. +magic="%%%MAGIC variable%%%"
  44165. +magic_exe="%%%MAGIC EXE variable%%%"
  44166. - case $tagname in
  44167. - CC)
  44168. - # Don't test for the "default" C tag, as we know, it's there, but
  44169. - # not specially marked.
  44170. - ;;
  44171. - *)
  44172. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
  44173. - taglist="$taglist $tagname"
  44174. - # Evaluate the configuration.
  44175. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
  44176. - else
  44177. - $echo "$progname: ignoring unknown tag $tagname" 1>&2
  44178. - fi
  44179. - ;;
  44180. - esac
  44181. - ;;
  44182. - *)
  44183. - eval "$prev=\$arg"
  44184. - ;;
  44185. - esac
  44186. +# Global variables.
  44187. +# $mode is unset
  44188. +nonopt=
  44189. +execute_dlfiles=
  44190. +preserve_args=
  44191. +lo2o="s/\\.lo\$/.${objext}/"
  44192. +o2lo="s/\\.${objext}\$/.lo/"
  44193. +extracted_archives=
  44194. +extracted_serial=0
  44195. - prev=
  44196. - prevopt=
  44197. - continue
  44198. - fi
  44199. +opt_dry_run=false
  44200. +opt_duplicate_deps=false
  44201. +opt_silent=false
  44202. +opt_debug=:
  44203. - # Have we seen a non-optional argument yet?
  44204. - case $arg in
  44205. - --help)
  44206. - show_help=yes
  44207. - ;;
  44208. +# If this variable is set in any of the actions, the command in it
  44209. +# will be execed at the end. This prevents here-documents from being
  44210. +# left over by shells.
  44211. +exec_cmd=
  44212. - --version)
  44213. - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
  44214. - $echo
  44215. - $echo "Copyright (C) 2005 Free Software Foundation, Inc."
  44216. - $echo "This is free software; see the source for copying conditions. There is NO"
  44217. - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  44218. - exit $?
  44219. - ;;
  44220. +# func_fatal_configuration arg...
  44221. +# Echo program name prefixed message to standard error, followed by
  44222. +# a configuration failure hint, and exit.
  44223. +func_fatal_configuration ()
  44224. +{
  44225. + func_error ${1+"$@"}
  44226. + func_error "See the $PACKAGE documentation for more information."
  44227. + func_fatal_error "Fatal configuration error."
  44228. +}
  44229. +
  44230. +
  44231. +# func_config
  44232. +# Display the configuration for all the tags in this script.
  44233. +func_config ()
  44234. +{
  44235. + re_begincf='^# ### BEGIN LIBTOOL'
  44236. + re_endcf='^# ### END LIBTOOL'
  44237. +
  44238. + # Default configuration.
  44239. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
  44240. - --config)
  44241. - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
  44242. # Now print the configurations for the tags.
  44243. for tagname in $taglist; do
  44244. - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
  44245. + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
  44246. done
  44247. - exit $?
  44248. - ;;
  44249. - --debug)
  44250. - $echo "$progname: enabling shell trace mode"
  44251. - set -x
  44252. - preserve_args="$preserve_args $arg"
  44253. - ;;
  44254. -
  44255. - --dry-run | -n)
  44256. - run=:
  44257. - ;;
  44258. + exit $?
  44259. +}
  44260. - --features)
  44261. - $echo "host: $host"
  44262. +# func_features
  44263. +# Display the features supported by this script.
  44264. +func_features ()
  44265. +{
  44266. + $ECHO "host: $host"
  44267. if test "$build_libtool_libs" = yes; then
  44268. - $echo "enable shared libraries"
  44269. + $ECHO "enable shared libraries"
  44270. else
  44271. - $echo "disable shared libraries"
  44272. + $ECHO "disable shared libraries"
  44273. fi
  44274. if test "$build_old_libs" = yes; then
  44275. - $echo "enable static libraries"
  44276. + $ECHO "enable static libraries"
  44277. else
  44278. - $echo "disable static libraries"
  44279. + $ECHO "disable static libraries"
  44280. fi
  44281. +
  44282. exit $?
  44283. - ;;
  44284. +}
  44285. - --finish) mode="finish" ;;
  44286. +# func_enable_tag tagname
  44287. +# Verify that TAGNAME is valid, and either flag an error and exit, or
  44288. +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
  44289. +# variable here.
  44290. +func_enable_tag ()
  44291. +{
  44292. + # Global variable:
  44293. + tagname="$1"
  44294. - --mode) prevopt="--mode" prev=mode ;;
  44295. - --mode=*) mode="$optarg" ;;
  44296. + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  44297. + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  44298. + sed_extractcf="/$re_begincf/,/$re_endcf/p"
  44299. +
  44300. + # Validate tagname.
  44301. + case $tagname in
  44302. + *[!-_A-Za-z0-9,/]*)
  44303. + func_fatal_error "invalid tag name: $tagname"
  44304. + ;;
  44305. + esac
  44306. - --preserve-dup-deps) duplicate_deps="yes" ;;
  44307. + # Don't test for the "default" C tag, as we know it's
  44308. + # there but not specially marked.
  44309. + case $tagname in
  44310. + CC) ;;
  44311. + *)
  44312. + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  44313. + taglist="$taglist $tagname"
  44314. - --quiet | --silent)
  44315. - show=:
  44316. - preserve_args="$preserve_args $arg"
  44317. - ;;
  44318. + # Evaluate the configuration. Be careful to quote the path
  44319. + # and the sed script, to avoid splitting on whitespace, but
  44320. + # also don't use non-portable quotes within backquotes within
  44321. + # quotes we have to do it in 2 steps:
  44322. + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  44323. + eval "$extractedcf"
  44324. + else
  44325. + func_error "ignoring unknown tag $tagname"
  44326. + fi
  44327. + ;;
  44328. + esac
  44329. +}
  44330. +
  44331. +# Parse options once, thoroughly. This comes as soon as possible in
  44332. +# the script to make things like `libtool --version' happen quickly.
  44333. +{
  44334. - --tag)
  44335. - prevopt="--tag"
  44336. - prev=tag
  44337. - preserve_args="$preserve_args --tag"
  44338. + # Shorthand for --mode=foo, only valid as the first argument
  44339. + case $1 in
  44340. + clean|clea|cle|cl)
  44341. + shift; set dummy --mode clean ${1+"$@"}; shift
  44342. ;;
  44343. - --tag=*)
  44344. - set tag "$optarg" ${1+"$@"}
  44345. - shift
  44346. - prev=tag
  44347. - preserve_args="$preserve_args --tag"
  44348. + compile|compil|compi|comp|com|co|c)
  44349. + shift; set dummy --mode compile ${1+"$@"}; shift
  44350. ;;
  44351. -
  44352. - -dlopen)
  44353. - prevopt="-dlopen"
  44354. - prev=execute_dlfiles
  44355. + execute|execut|execu|exec|exe|ex|e)
  44356. + shift; set dummy --mode execute ${1+"$@"}; shift
  44357. ;;
  44358. -
  44359. - -*)
  44360. - $echo "$modename: unrecognized option \`$arg'" 1>&2
  44361. - $echo "$help" 1>&2
  44362. - exit $EXIT_FAILURE
  44363. + finish|finis|fini|fin|fi|f)
  44364. + shift; set dummy --mode finish ${1+"$@"}; shift
  44365. ;;
  44366. -
  44367. - *)
  44368. - nonopt="$arg"
  44369. - break
  44370. + install|instal|insta|inst|ins|in|i)
  44371. + shift; set dummy --mode install ${1+"$@"}; shift
  44372. + ;;
  44373. + link|lin|li|l)
  44374. + shift; set dummy --mode link ${1+"$@"}; shift
  44375. + ;;
  44376. + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  44377. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  44378. ;;
  44379. esac
  44380. -done
  44381. -if test -n "$prevopt"; then
  44382. - $echo "$modename: option \`$prevopt' requires an argument" 1>&2
  44383. - $echo "$help" 1>&2
  44384. - exit $EXIT_FAILURE
  44385. -fi
  44386. + # Parse non-mode specific arguments:
  44387. + while test "$#" -gt 0; do
  44388. + opt="$1"
  44389. + shift
  44390. -case $disable_libs in
  44391. -no)
  44392. - ;;
  44393. -shared)
  44394. - build_libtool_libs=no
  44395. - build_old_libs=yes
  44396. - ;;
  44397. -static)
  44398. - build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  44399. - ;;
  44400. -esac
  44401. + case $opt in
  44402. + --config) func_config ;;
  44403. -# If this variable is set in any of the actions, the command in it
  44404. -# will be execed at the end. This prevents here-documents from being
  44405. -# left over by shells.
  44406. -exec_cmd=
  44407. + --debug) preserve_args="$preserve_args $opt"
  44408. + func_echo "enabling shell trace mode"
  44409. + opt_debug='set -x'
  44410. + $opt_debug
  44411. + ;;
  44412. +
  44413. + -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  44414. + execute_dlfiles="$execute_dlfiles $1"
  44415. + shift
  44416. + ;;
  44417. -if test -z "$show_help"; then
  44418. + --dry-run | -n) opt_dry_run=: ;;
  44419. + --features) func_features ;;
  44420. + --finish) mode="finish" ;;
  44421. +
  44422. + --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  44423. + case $1 in
  44424. + # Valid mode arguments:
  44425. + clean) ;;
  44426. + compile) ;;
  44427. + execute) ;;
  44428. + finish) ;;
  44429. + install) ;;
  44430. + link) ;;
  44431. + relink) ;;
  44432. + uninstall) ;;
  44433. +
  44434. + # Catch anything else as an error
  44435. + *) func_error "invalid argument for $opt"
  44436. + exit_cmd=exit
  44437. + break
  44438. + ;;
  44439. + esac
  44440. - # Infer the operation mode.
  44441. - if test -z "$mode"; then
  44442. - $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
  44443. - $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
  44444. - case $nonopt in
  44445. - *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
  44446. - mode=link
  44447. - for arg
  44448. - do
  44449. - case $arg in
  44450. - -c)
  44451. - mode=compile
  44452. - break
  44453. - ;;
  44454. - esac
  44455. - done
  44456. - ;;
  44457. - *db | *dbx | *strace | *truss)
  44458. - mode=execute
  44459. - ;;
  44460. - *install*|cp|mv)
  44461. - mode=install
  44462. - ;;
  44463. - *rm)
  44464. - mode=uninstall
  44465. + mode="$1"
  44466. + shift
  44467. + ;;
  44468. +
  44469. + --preserve-dup-deps)
  44470. + opt_duplicate_deps=: ;;
  44471. +
  44472. + --quiet|--silent) preserve_args="$preserve_args $opt"
  44473. + opt_silent=:
  44474. + ;;
  44475. +
  44476. + --verbose| -v) preserve_args="$preserve_args $opt"
  44477. + opt_silent=false
  44478. + ;;
  44479. +
  44480. + --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  44481. + preserve_args="$preserve_args $opt $1"
  44482. + func_enable_tag "$1" # tagname is set here
  44483. + shift
  44484. + ;;
  44485. +
  44486. + # Separate optargs to long options:
  44487. + -dlopen=*|--mode=*|--tag=*)
  44488. + func_opt_split "$opt"
  44489. + set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  44490. + shift
  44491. + ;;
  44492. +
  44493. + -\?|-h) func_usage ;;
  44494. + --help) opt_help=: ;;
  44495. + --version) func_version ;;
  44496. +
  44497. + -*) func_fatal_help "unrecognized option \`$opt'" ;;
  44498. +
  44499. + *) nonopt="$opt"
  44500. + break
  44501. + ;;
  44502. + esac
  44503. + done
  44504. +
  44505. +
  44506. + case $host in
  44507. + *cygwin* | *mingw* | *pw32* | *cegcc*)
  44508. + # don't eliminate duplications in $postdeps and $predeps
  44509. + opt_duplicate_compiler_generated_deps=:
  44510. ;;
  44511. *)
  44512. - # If we have no mode, but dlfiles were specified, then do execute mode.
  44513. - test -n "$execute_dlfiles" && mode=execute
  44514. + opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  44515. + ;;
  44516. + esac
  44517. - # Just use the default operation mode.
  44518. - if test -z "$mode"; then
  44519. - if test -n "$nonopt"; then
  44520. - $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
  44521. - else
  44522. - $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
  44523. - fi
  44524. + # Having warned about all mis-specified options, bail out if
  44525. + # anything was wrong.
  44526. + $exit_cmd $EXIT_FAILURE
  44527. +}
  44528. +
  44529. +# func_check_version_match
  44530. +# Ensure that we are using m4 macros, and libtool script from the same
  44531. +# release of libtool.
  44532. +func_check_version_match ()
  44533. +{
  44534. + if test "$package_revision" != "$macro_revision"; then
  44535. + if test "$VERSION" != "$macro_version"; then
  44536. + if test -z "$macro_version"; then
  44537. + cat >&2 <<_LT_EOF
  44538. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  44539. +$progname: definition of this LT_INIT comes from an older release.
  44540. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  44541. +$progname: and run autoconf again.
  44542. +_LT_EOF
  44543. + else
  44544. + cat >&2 <<_LT_EOF
  44545. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  44546. +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  44547. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  44548. +$progname: and run autoconf again.
  44549. +_LT_EOF
  44550. fi
  44551. - ;;
  44552. - esac
  44553. + else
  44554. + cat >&2 <<_LT_EOF
  44555. +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  44556. +$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  44557. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  44558. +$progname: of $PACKAGE $VERSION and run autoconf again.
  44559. +_LT_EOF
  44560. + fi
  44561. +
  44562. + exit $EXIT_MISMATCH
  44563. + fi
  44564. +}
  44565. +
  44566. +
  44567. +## ----------- ##
  44568. +## Main. ##
  44569. +## ----------- ##
  44570. +
  44571. +$opt_help || {
  44572. + # Sanity checks first:
  44573. + func_check_version_match
  44574. +
  44575. + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  44576. + func_fatal_configuration "not configured to build any kind of library"
  44577. fi
  44578. + test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  44579. +
  44580. +
  44581. + # Darwin sucks
  44582. + eval std_shrext=\"$shrext_cmds\"
  44583. +
  44584. +
  44585. # Only execute mode is allowed to have -dlopen flags.
  44586. if test -n "$execute_dlfiles" && test "$mode" != execute; then
  44587. - $echo "$modename: unrecognized option \`-dlopen'" 1>&2
  44588. - $echo "$help" 1>&2
  44589. + func_error "unrecognized option \`-dlopen'"
  44590. + $ECHO "$help" 1>&2
  44591. exit $EXIT_FAILURE
  44592. fi
  44593. # Change the help message to a mode-specific one.
  44594. generic_help="$help"
  44595. - help="Try \`$modename --help --mode=$mode' for more information."
  44596. + help="Try \`$progname --help --mode=$mode' for more information."
  44597. +}
  44598. - # These modes are in order of execution frequency so that they run quickly.
  44599. - case $mode in
  44600. - # libtool compile mode
  44601. - compile)
  44602. - modename="$modename: compile"
  44603. - # Get the compilation command and the source file.
  44604. - base_compile=
  44605. - srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  44606. - suppress_opt=yes
  44607. - suppress_output=
  44608. - arg_mode=normal
  44609. - libobj=
  44610. - later=
  44611. - for arg
  44612. - do
  44613. - case $arg_mode in
  44614. - arg )
  44615. - # do not "continue". Instead, add this to base_compile
  44616. - lastarg="$arg"
  44617. - arg_mode=normal
  44618. - ;;
  44619. +# func_lalib_p file
  44620. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  44621. +# This function is only a basic sanity check; it will hardly flush out
  44622. +# determined imposters.
  44623. +func_lalib_p ()
  44624. +{
  44625. + test -f "$1" &&
  44626. + $SED -e 4q "$1" 2>/dev/null \
  44627. + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  44628. +}
  44629. - target )
  44630. - libobj="$arg"
  44631. - arg_mode=normal
  44632. - continue
  44633. - ;;
  44634. +# func_lalib_unsafe_p file
  44635. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  44636. +# This function implements the same check as func_lalib_p without
  44637. +# resorting to external programs. To this end, it redirects stdin and
  44638. +# closes it afterwards, without saving the original file descriptor.
  44639. +# As a safety measure, use it only where a negative result would be
  44640. +# fatal anyway. Works if `file' does not exist.
  44641. +func_lalib_unsafe_p ()
  44642. +{
  44643. + lalib_p=no
  44644. + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
  44645. + for lalib_p_l in 1 2 3 4
  44646. + do
  44647. + read lalib_p_line
  44648. + case "$lalib_p_line" in
  44649. + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
  44650. + esac
  44651. + done
  44652. + exec 0<&5 5<&-
  44653. + fi
  44654. + test "$lalib_p" = yes
  44655. +}
  44656. - normal )
  44657. - # Accept any command-line options.
  44658. - case $arg in
  44659. - -o)
  44660. - if test -n "$libobj" ; then
  44661. - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
  44662. - exit $EXIT_FAILURE
  44663. - fi
  44664. - arg_mode=target
  44665. - continue
  44666. - ;;
  44667. +# func_ltwrapper_script_p file
  44668. +# True iff FILE is a libtool wrapper script
  44669. +# This function is only a basic sanity check; it will hardly flush out
  44670. +# determined imposters.
  44671. +func_ltwrapper_script_p ()
  44672. +{
  44673. + func_lalib_p "$1"
  44674. +}
  44675. - -static | -prefer-pic | -prefer-non-pic)
  44676. - later="$later $arg"
  44677. - continue
  44678. - ;;
  44679. +# func_ltwrapper_executable_p file
  44680. +# True iff FILE is a libtool wrapper executable
  44681. +# This function is only a basic sanity check; it will hardly flush out
  44682. +# determined imposters.
  44683. +func_ltwrapper_executable_p ()
  44684. +{
  44685. + func_ltwrapper_exec_suffix=
  44686. + case $1 in
  44687. + *.exe) ;;
  44688. + *) func_ltwrapper_exec_suffix=.exe ;;
  44689. + esac
  44690. + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
  44691. +}
  44692. - -no-suppress)
  44693. - suppress_opt=no
  44694. - continue
  44695. - ;;
  44696. +# func_ltwrapper_scriptname file
  44697. +# Assumes file is an ltwrapper_executable
  44698. +# uses $file to determine the appropriate filename for a
  44699. +# temporary ltwrapper_script.
  44700. +func_ltwrapper_scriptname ()
  44701. +{
  44702. + func_ltwrapper_scriptname_result=""
  44703. + if func_ltwrapper_executable_p "$1"; then
  44704. + func_dirname_and_basename "$1" "" "."
  44705. + func_stripname '' '.exe' "$func_basename_result"
  44706. + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  44707. + fi
  44708. +}
  44709. - -Xcompiler)
  44710. - arg_mode=arg # the next one goes into the "base_compile" arg list
  44711. - continue # The current "srcfile" will either be retained or
  44712. - ;; # replaced later. I would guess that would be a bug.
  44713. +# func_ltwrapper_p file
  44714. +# True iff FILE is a libtool wrapper script or wrapper executable
  44715. +# This function is only a basic sanity check; it will hardly flush out
  44716. +# determined imposters.
  44717. +func_ltwrapper_p ()
  44718. +{
  44719. + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
  44720. +}
  44721. - -Wc,*)
  44722. - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
  44723. - lastarg=
  44724. - save_ifs="$IFS"; IFS=','
  44725. - for arg in $args; do
  44726. - IFS="$save_ifs"
  44727. - # Double-quote args containing other shell metacharacters.
  44728. - # Many Bourne shells cannot handle close brackets correctly
  44729. - # in scan sets, so we specify it separately.
  44730. - case $arg in
  44731. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  44732. - arg="\"$arg\""
  44733. +# func_execute_cmds commands fail_cmd
  44734. +# Execute tilde-delimited COMMANDS.
  44735. +# If FAIL_CMD is given, eval that upon failure.
  44736. +# FAIL_CMD may read-access the current command in variable CMD!
  44737. +func_execute_cmds ()
  44738. +{
  44739. + $opt_debug
  44740. + save_ifs=$IFS; IFS='~'
  44741. + for cmd in $1; do
  44742. + IFS=$save_ifs
  44743. + eval cmd=\"$cmd\"
  44744. + func_show_eval "$cmd" "${2-:}"
  44745. + done
  44746. + IFS=$save_ifs
  44747. +}
  44748. +
  44749. +
  44750. +# func_source file
  44751. +# Source FILE, adding directory component if necessary.
  44752. +# Note that it is not necessary on cygwin/mingw to append a dot to
  44753. +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
  44754. +# behavior happens only for exec(3), not for open(2)! Also, sourcing
  44755. +# `FILE.' does not work on cygwin managed mounts.
  44756. +func_source ()
  44757. +{
  44758. + $opt_debug
  44759. + case $1 in
  44760. + */* | *\\*) . "$1" ;;
  44761. + *) . "./$1" ;;
  44762. + esac
  44763. +}
  44764. +
  44765. +
  44766. +# func_infer_tag arg
  44767. +# Infer tagged configuration to use if any are available and
  44768. +# if one wasn't chosen via the "--tag" command line option.
  44769. +# Only attempt this if the compiler in the base compile
  44770. +# command doesn't match the default compiler.
  44771. +# arg is usually of the form 'gcc ...'
  44772. +func_infer_tag ()
  44773. +{
  44774. + $opt_debug
  44775. + if test -n "$available_tags" && test -z "$tagname"; then
  44776. + CC_quoted=
  44777. + for arg in $CC; do
  44778. + func_quote_for_eval "$arg"
  44779. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  44780. + done
  44781. + case $@ in
  44782. + # Blanks in the command may have been stripped by the calling shell,
  44783. + # but not from the CC environment variable when configure was run.
  44784. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  44785. + # Blanks at the start of $base_compile will cause this to fail
  44786. + # if we don't check for them as well.
  44787. + *)
  44788. + for z in $available_tags; do
  44789. + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  44790. + # Evaluate the configuration.
  44791. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  44792. + CC_quoted=
  44793. + for arg in $CC; do
  44794. + # Double-quote args containing other shell metacharacters.
  44795. + func_quote_for_eval "$arg"
  44796. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  44797. + done
  44798. + case "$@ " in
  44799. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  44800. + # The compiler in the base compile command matches
  44801. + # the one in the tagged configuration.
  44802. + # Assume this is the tagged configuration we want.
  44803. + tagname=$z
  44804. + break
  44805. ;;
  44806. esac
  44807. - lastarg="$lastarg $arg"
  44808. + fi
  44809. + done
  44810. + # If $tagname still isn't set, then no tagged configuration
  44811. + # was found and let the user know that the "--tag" command
  44812. + # line option must be used.
  44813. + if test -z "$tagname"; then
  44814. + func_echo "unable to infer tagged configuration"
  44815. + func_fatal_error "specify a tag with \`--tag'"
  44816. +# else
  44817. +# func_verbose "using $tagname tagged configuration"
  44818. + fi
  44819. + ;;
  44820. + esac
  44821. + fi
  44822. +}
  44823. +
  44824. +
  44825. +
  44826. +# func_write_libtool_object output_name pic_name nonpic_name
  44827. +# Create a libtool object file (analogous to a ".la" file),
  44828. +# but don't create it if we're doing a dry run.
  44829. +func_write_libtool_object ()
  44830. +{
  44831. + write_libobj=${1}
  44832. + if test "$build_libtool_libs" = yes; then
  44833. + write_lobj=\'${2}\'
  44834. + else
  44835. + write_lobj=none
  44836. + fi
  44837. +
  44838. + if test "$build_old_libs" = yes; then
  44839. + write_oldobj=\'${3}\'
  44840. + else
  44841. + write_oldobj=none
  44842. + fi
  44843. +
  44844. + $opt_dry_run || {
  44845. + cat >${write_libobj}T <<EOF
  44846. +# $write_libobj - a libtool object file
  44847. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  44848. +#
  44849. +# Please DO NOT delete this file!
  44850. +# It is necessary for linking the library.
  44851. +
  44852. +# Name of the PIC object.
  44853. +pic_object=$write_lobj
  44854. +
  44855. +# Name of the non-PIC object
  44856. +non_pic_object=$write_oldobj
  44857. +
  44858. +EOF
  44859. + $MV "${write_libobj}T" "${write_libobj}"
  44860. + }
  44861. +}
  44862. +
  44863. +# func_mode_compile arg...
  44864. +func_mode_compile ()
  44865. +{
  44866. + $opt_debug
  44867. + # Get the compilation command and the source file.
  44868. + base_compile=
  44869. + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  44870. + suppress_opt=yes
  44871. + suppress_output=
  44872. + arg_mode=normal
  44873. + libobj=
  44874. + later=
  44875. + pie_flag=
  44876. +
  44877. + for arg
  44878. + do
  44879. + case $arg_mode in
  44880. + arg )
  44881. + # do not "continue". Instead, add this to base_compile
  44882. + lastarg="$arg"
  44883. + arg_mode=normal
  44884. + ;;
  44885. +
  44886. + target )
  44887. + libobj="$arg"
  44888. + arg_mode=normal
  44889. + continue
  44890. + ;;
  44891. +
  44892. + normal )
  44893. + # Accept any command-line options.
  44894. + case $arg in
  44895. + -o)
  44896. + test -n "$libobj" && \
  44897. + func_fatal_error "you cannot specify \`-o' more than once"
  44898. + arg_mode=target
  44899. + continue
  44900. + ;;
  44901. +
  44902. + -pie | -fpie | -fPIE)
  44903. + pie_flag="$pie_flag $arg"
  44904. + continue
  44905. + ;;
  44906. +
  44907. + -shared | -static | -prefer-pic | -prefer-non-pic)
  44908. + later="$later $arg"
  44909. + continue
  44910. + ;;
  44911. +
  44912. + -no-suppress)
  44913. + suppress_opt=no
  44914. + continue
  44915. + ;;
  44916. +
  44917. + -Xcompiler)
  44918. + arg_mode=arg # the next one goes into the "base_compile" arg list
  44919. + continue # The current "srcfile" will either be retained or
  44920. + ;; # replaced later. I would guess that would be a bug.
  44921. +
  44922. + -Wc,*)
  44923. + func_stripname '-Wc,' '' "$arg"
  44924. + args=$func_stripname_result
  44925. + lastarg=
  44926. + save_ifs="$IFS"; IFS=','
  44927. + for arg in $args; do
  44928. + IFS="$save_ifs"
  44929. + func_quote_for_eval "$arg"
  44930. + lastarg="$lastarg $func_quote_for_eval_result"
  44931. done
  44932. IFS="$save_ifs"
  44933. - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
  44934. + func_stripname ' ' '' "$lastarg"
  44935. + lastarg=$func_stripname_result
  44936. # Add the arguments to base_compile.
  44937. base_compile="$base_compile $lastarg"
  44938. continue
  44939. ;;
  44940. - * )
  44941. + *)
  44942. # Accept the current argument as the source file.
  44943. # The previous "srcfile" becomes the current argument.
  44944. #
  44945. @@ -709,64 +1187,42 @@
  44946. esac # case $arg_mode
  44947. # Aesthetically quote the previous argument.
  44948. - lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
  44949. -
  44950. - case $lastarg in
  44951. - # Double-quote args containing other shell metacharacters.
  44952. - # Many Bourne shells cannot handle close brackets correctly
  44953. - # in scan sets, and some SunOS ksh mistreat backslash-escaping
  44954. - # in scan sets (worked around with variable expansion),
  44955. - # and furthermore cannot handle '|' '&' '(' ')' in scan sets
  44956. - # at all, so we specify them separately.
  44957. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  44958. - lastarg="\"$lastarg\""
  44959. - ;;
  44960. - esac
  44961. -
  44962. - base_compile="$base_compile $lastarg"
  44963. + func_quote_for_eval "$lastarg"
  44964. + base_compile="$base_compile $func_quote_for_eval_result"
  44965. done # for arg
  44966. case $arg_mode in
  44967. arg)
  44968. - $echo "$modename: you must specify an argument for -Xcompile"
  44969. - exit $EXIT_FAILURE
  44970. + func_fatal_error "you must specify an argument for -Xcompile"
  44971. ;;
  44972. target)
  44973. - $echo "$modename: you must specify a target with \`-o'" 1>&2
  44974. - exit $EXIT_FAILURE
  44975. + func_fatal_error "you must specify a target with \`-o'"
  44976. ;;
  44977. *)
  44978. # Get the name of the library object.
  44979. - [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
  44980. + test -z "$libobj" && {
  44981. + func_basename "$srcfile"
  44982. + libobj="$func_basename_result"
  44983. + }
  44984. ;;
  44985. esac
  44986. # Recognize several different file suffixes.
  44987. # If the user specifies -o file.o, it is replaced with file.lo
  44988. - xform='[cCFSifmso]'
  44989. case $libobj in
  44990. - *.ada) xform=ada ;;
  44991. - *.adb) xform=adb ;;
  44992. - *.ads) xform=ads ;;
  44993. - *.asm) xform=asm ;;
  44994. - *.c++) xform=c++ ;;
  44995. - *.cc) xform=cc ;;
  44996. - *.ii) xform=ii ;;
  44997. - *.class) xform=class ;;
  44998. - *.cpp) xform=cpp ;;
  44999. - *.cxx) xform=cxx ;;
  45000. - *.f90) xform=f90 ;;
  45001. - *.for) xform=for ;;
  45002. - *.java) xform=java ;;
  45003. + *.[cCFSifmso] | \
  45004. + *.ada | *.adb | *.ads | *.asm | \
  45005. + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  45006. + *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  45007. + func_xform "$libobj"
  45008. + libobj=$func_xform_result
  45009. + ;;
  45010. esac
  45011. - libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
  45012. -
  45013. case $libobj in
  45014. - *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
  45015. + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
  45016. *)
  45017. - $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
  45018. - exit $EXIT_FAILURE
  45019. + func_fatal_error "cannot determine name of library object from \`$libobj'"
  45020. ;;
  45021. esac
  45022. @@ -774,7 +1230,15 @@
  45023. for arg in $later; do
  45024. case $arg in
  45025. + -shared)
  45026. + test "$build_libtool_libs" != yes && \
  45027. + func_fatal_configuration "can not build a shared library"
  45028. + build_old_libs=no
  45029. + continue
  45030. + ;;
  45031. +
  45032. -static)
  45033. + build_libtool_libs=no
  45034. build_old_libs=yes
  45035. continue
  45036. ;;
  45037. @@ -791,28 +1255,17 @@
  45038. esac
  45039. done
  45040. - qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
  45041. - case $qlibobj in
  45042. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  45043. - qlibobj="\"$qlibobj\"" ;;
  45044. - esac
  45045. - test "X$libobj" != "X$qlibobj" \
  45046. - && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
  45047. - && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
  45048. - objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  45049. - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
  45050. - if test "X$xdir" = "X$obj"; then
  45051. - xdir=
  45052. - else
  45053. - xdir=$xdir/
  45054. - fi
  45055. + func_quote_for_eval "$libobj"
  45056. + test "X$libobj" != "X$func_quote_for_eval_result" \
  45057. + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
  45058. + && func_warning "libobj name \`$libobj' may not contain shell special characters."
  45059. + func_dirname_and_basename "$obj" "/" ""
  45060. + objname="$func_basename_result"
  45061. + xdir="$func_dirname_result"
  45062. lobj=${xdir}$objdir/$objname
  45063. - if test -z "$base_compile"; then
  45064. - $echo "$modename: you must specify a compilation command" 1>&2
  45065. - $echo "$help" 1>&2
  45066. - exit $EXIT_FAILURE
  45067. - fi
  45068. + test -z "$base_compile" && \
  45069. + func_fatal_help "you must specify a compilation command"
  45070. # Delete any leftover library objects.
  45071. if test "$build_old_libs" = yes; then
  45072. @@ -821,12 +1274,9 @@
  45073. removelist="$lobj $libobj ${libobj}T"
  45074. fi
  45075. - $run $rm $removelist
  45076. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  45077. -
  45078. # On Cygwin there's no "real" PIC flag so we must build both object types
  45079. case $host_os in
  45080. - cygwin* | mingw* | pw32* | os2*)
  45081. + cygwin* | mingw* | pw32* | os2* | cegcc*)
  45082. pic_mode=default
  45083. ;;
  45084. esac
  45085. @@ -838,10 +1288,8 @@
  45086. # Calculate the filename of the output object if compiler does
  45087. # not support -o with -c
  45088. if test "$compiler_c_o" = no; then
  45089. - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  45090. + output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  45091. lockfile="$output_obj.lock"
  45092. - removelist="$removelist $output_obj $lockfile"
  45093. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  45094. else
  45095. output_obj=
  45096. need_locks=no
  45097. @@ -851,13 +1299,13 @@
  45098. # Lock this critical section if it is needed
  45099. # We use this script file to make the link, it avoids creating a new file
  45100. if test "$need_locks" = yes; then
  45101. - until $run ln "$progpath" "$lockfile" 2>/dev/null; do
  45102. - $show "Waiting for $lockfile to be removed"
  45103. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  45104. + func_echo "Waiting for $lockfile to be removed"
  45105. sleep 2
  45106. done
  45107. elif test "$need_locks" = warn; then
  45108. if test -f "$lockfile"; then
  45109. - $echo "\
  45110. + $ECHO "\
  45111. *** ERROR, $lockfile exists and contains:
  45112. `cat $lockfile 2>/dev/null`
  45113. @@ -868,34 +1316,22 @@
  45114. avoid parallel builds (make -j) in this platform, or get a better
  45115. compiler."
  45116. - $run $rm $removelist
  45117. + $opt_dry_run || $RM $removelist
  45118. exit $EXIT_FAILURE
  45119. fi
  45120. - $echo "$srcfile" > "$lockfile"
  45121. + removelist="$removelist $output_obj"
  45122. + $ECHO "$srcfile" > "$lockfile"
  45123. fi
  45124. + $opt_dry_run || $RM $removelist
  45125. + removelist="$removelist $lockfile"
  45126. + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  45127. +
  45128. if test -n "$fix_srcfile_path"; then
  45129. eval srcfile=\"$fix_srcfile_path\"
  45130. fi
  45131. - qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
  45132. - case $qsrcfile in
  45133. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  45134. - qsrcfile="\"$qsrcfile\"" ;;
  45135. - esac
  45136. -
  45137. - $run $rm "$libobj" "${libobj}T"
  45138. -
  45139. - # Create a libtool object file (analogous to a ".la" file),
  45140. - # but don't create it if we're doing a dry run.
  45141. - test -z "$run" && cat > ${libobj}T <<EOF
  45142. -# $libobj - a libtool object file
  45143. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  45144. -#
  45145. -# Please DO NOT delete this file!
  45146. -# It is necessary for linking the library.
  45147. -
  45148. -# Name of the PIC object.
  45149. -EOF
  45150. + func_quote_for_eval "$srcfile"
  45151. + qsrcfile=$func_quote_for_eval_result
  45152. # Only build a PIC object if we are building libtool libraries.
  45153. if test "$build_libtool_libs" = yes; then
  45154. @@ -909,32 +1345,19 @@
  45155. command="$base_compile $qsrcfile"
  45156. fi
  45157. - if test ! -d "${xdir}$objdir"; then
  45158. - $show "$mkdir ${xdir}$objdir"
  45159. - $run $mkdir ${xdir}$objdir
  45160. - exit_status=$?
  45161. - if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
  45162. - exit $exit_status
  45163. - fi
  45164. - fi
  45165. + func_mkdir_p "$xdir$objdir"
  45166. if test -z "$output_obj"; then
  45167. # Place PIC objects in $objdir
  45168. command="$command -o $lobj"
  45169. fi
  45170. - $run $rm "$lobj" "$output_obj"
  45171. -
  45172. - $show "$command"
  45173. - if $run eval "$command"; then :
  45174. - else
  45175. - test -n "$output_obj" && $run $rm $removelist
  45176. - exit $EXIT_FAILURE
  45177. - fi
  45178. + func_show_eval_locale "$command" \
  45179. + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
  45180. if test "$need_locks" = warn &&
  45181. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  45182. - $echo "\
  45183. + $ECHO "\
  45184. *** ERROR, $lockfile contains:
  45185. `cat $lockfile 2>/dev/null`
  45186. @@ -948,45 +1371,27 @@
  45187. avoid parallel builds (make -j) in this platform, or get a better
  45188. compiler."
  45189. - $run $rm $removelist
  45190. + $opt_dry_run || $RM $removelist
  45191. exit $EXIT_FAILURE
  45192. fi
  45193. # Just move the object if needed, then go on to compile the next one
  45194. if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
  45195. - $show "$mv $output_obj $lobj"
  45196. - if $run $mv $output_obj $lobj; then :
  45197. - else
  45198. - error=$?
  45199. - $run $rm $removelist
  45200. - exit $error
  45201. - fi
  45202. + func_show_eval '$MV "$output_obj" "$lobj"' \
  45203. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  45204. fi
  45205. - # Append the name of the PIC object to the libtool object file.
  45206. - test -z "$run" && cat >> ${libobj}T <<EOF
  45207. -pic_object='$objdir/$objname'
  45208. -
  45209. -EOF
  45210. -
  45211. # Allow error messages only from the first compilation.
  45212. if test "$suppress_opt" = yes; then
  45213. - suppress_output=' >/dev/null 2>&1'
  45214. + suppress_output=' >/dev/null 2>&1'
  45215. fi
  45216. - else
  45217. - # No PIC object so indicate it doesn't exist in the libtool
  45218. - # object file.
  45219. - test -z "$run" && cat >> ${libobj}T <<EOF
  45220. -pic_object=none
  45221. -
  45222. -EOF
  45223. fi
  45224. # Only build a position-dependent object if we build old libraries.
  45225. if test "$build_old_libs" = yes; then
  45226. if test "$pic_mode" != yes; then
  45227. # Don't build PIC code
  45228. - command="$base_compile $qsrcfile"
  45229. + command="$base_compile $qsrcfile$pie_flag"
  45230. else
  45231. command="$base_compile $qsrcfile $pic_flag"
  45232. fi
  45233. @@ -996,17 +1401,12 @@
  45234. # Suppress compiler output if we already did a PIC compilation.
  45235. command="$command$suppress_output"
  45236. - $run $rm "$obj" "$output_obj"
  45237. - $show "$command"
  45238. - if $run eval "$command"; then :
  45239. - else
  45240. - $run $rm $removelist
  45241. - exit $EXIT_FAILURE
  45242. - fi
  45243. + func_show_eval_locale "$command" \
  45244. + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  45245. if test "$need_locks" = warn &&
  45246. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  45247. - $echo "\
  45248. + $ECHO "\
  45249. *** ERROR, $lockfile contains:
  45250. `cat $lockfile 2>/dev/null`
  45251. @@ -1020,5423 +1420,6784 @@
  45252. avoid parallel builds (make -j) in this platform, or get a better
  45253. compiler."
  45254. - $run $rm $removelist
  45255. + $opt_dry_run || $RM $removelist
  45256. exit $EXIT_FAILURE
  45257. fi
  45258. # Just move the object if needed
  45259. if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
  45260. - $show "$mv $output_obj $obj"
  45261. - if $run $mv $output_obj $obj; then :
  45262. - else
  45263. - error=$?
  45264. - $run $rm $removelist
  45265. - exit $error
  45266. - fi
  45267. + func_show_eval '$MV "$output_obj" "$obj"' \
  45268. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  45269. fi
  45270. -
  45271. - # Append the name of the non-PIC object the libtool object file.
  45272. - # Only append if the libtool object file exists.
  45273. - test -z "$run" && cat >> ${libobj}T <<EOF
  45274. -# Name of the non-PIC object.
  45275. -non_pic_object='$objname'
  45276. -
  45277. -EOF
  45278. - else
  45279. - # Append the name of the non-PIC object the libtool object file.
  45280. - # Only append if the libtool object file exists.
  45281. - test -z "$run" && cat >> ${libobj}T <<EOF
  45282. -# Name of the non-PIC object.
  45283. -non_pic_object=none
  45284. -
  45285. -EOF
  45286. fi
  45287. - $run $mv "${libobj}T" "${libobj}"
  45288. + $opt_dry_run || {
  45289. + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
  45290. - # Unlock the critical section if it was locked
  45291. - if test "$need_locks" != no; then
  45292. - $run $rm "$lockfile"
  45293. - fi
  45294. + # Unlock the critical section if it was locked
  45295. + if test "$need_locks" != no; then
  45296. + removelist=$lockfile
  45297. + $RM "$lockfile"
  45298. + fi
  45299. + }
  45300. exit $EXIT_SUCCESS
  45301. - ;;
  45302. -
  45303. - # libtool link mode
  45304. - link | relink)
  45305. - modename="$modename: link"
  45306. - case $host in
  45307. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  45308. - # It is impossible to link a dll without this setting, and
  45309. - # we shouldn't force the makefile maintainer to figure out
  45310. - # which system we are compiling for in order to pass an extra
  45311. - # flag for every libtool invocation.
  45312. - # allow_undefined=no
  45313. +}
  45314. - # FIXME: Unfortunately, there are problems with the above when trying
  45315. - # to make a dll which has undefined symbols, in which case not
  45316. - # even a static library is built. For now, we need to specify
  45317. - # -no-undefined on the libtool link line when we can be certain
  45318. - # that all symbols are satisfied, otherwise we get a static library.
  45319. - allow_undefined=yes
  45320. - ;;
  45321. - *)
  45322. - allow_undefined=yes
  45323. - ;;
  45324. - esac
  45325. - libtool_args="$nonopt"
  45326. - base_compile="$nonopt $@"
  45327. - compile_command="$nonopt"
  45328. - finalize_command="$nonopt"
  45329. +$opt_help || {
  45330. +test "$mode" = compile && func_mode_compile ${1+"$@"}
  45331. +}
  45332. - compile_rpath=
  45333. - finalize_rpath=
  45334. - compile_shlibpath=
  45335. - finalize_shlibpath=
  45336. - convenience=
  45337. - old_convenience=
  45338. - deplibs=
  45339. - old_deplibs=
  45340. - compiler_flags=
  45341. - linker_flags=
  45342. - dllsearchpath=
  45343. - lib_search_path=`pwd`
  45344. - inst_prefix_dir=
  45345. +func_mode_help ()
  45346. +{
  45347. + # We need to display help for each of the modes.
  45348. + case $mode in
  45349. + "")
  45350. + # Generic help is extracted from the usage comments
  45351. + # at the start of this file.
  45352. + func_help
  45353. + ;;
  45354. - avoid_version=no
  45355. - dlfiles=
  45356. - dlprefiles=
  45357. - dlself=no
  45358. - export_dynamic=no
  45359. - export_symbols=
  45360. - export_symbols_regex=
  45361. - generated=
  45362. - libobjs=
  45363. - ltlibs=
  45364. - module=no
  45365. - no_install=no
  45366. - objs=
  45367. - non_pic_objects=
  45368. - notinst_path= # paths that contain not-installed libtool libraries
  45369. - precious_files_regex=
  45370. - prefer_static_libs=no
  45371. - preload=no
  45372. - prev=
  45373. - prevarg=
  45374. - release=
  45375. - rpath=
  45376. - xrpath=
  45377. - perm_rpath=
  45378. - temp_rpath=
  45379. - thread_safe=no
  45380. - vinfo=
  45381. - vinfo_number=no
  45382. + clean)
  45383. + $ECHO \
  45384. +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  45385. - func_infer_tag $base_compile
  45386. +Remove files from the build directory.
  45387. - # We need to know -static, to get the right output filenames.
  45388. - for arg
  45389. - do
  45390. - case $arg in
  45391. - -all-static | -static)
  45392. - if test "X$arg" = "X-all-static"; then
  45393. - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  45394. - $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
  45395. - fi
  45396. - if test -n "$link_static_flag"; then
  45397. - dlopen_self=$dlopen_self_static
  45398. - fi
  45399. - prefer_static_libs=yes
  45400. - else
  45401. - if test -z "$pic_flag" && test -n "$link_static_flag"; then
  45402. - dlopen_self=$dlopen_self_static
  45403. - fi
  45404. - prefer_static_libs=built
  45405. - fi
  45406. - build_libtool_libs=no
  45407. - build_old_libs=yes
  45408. - break
  45409. - ;;
  45410. - esac
  45411. - done
  45412. +RM is the name of the program to use to delete files associated with each FILE
  45413. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  45414. +to RM.
  45415. - # See if our shared archives depend on static archives.
  45416. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  45417. +If FILE is a libtool library, object or program, all the files associated
  45418. +with it are deleted. Otherwise, only FILE itself is deleted using RM."
  45419. + ;;
  45420. - # Go through the arguments, transforming them on the way.
  45421. - while test "$#" -gt 0; do
  45422. - arg="$1"
  45423. - shift
  45424. - case $arg in
  45425. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  45426. - qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
  45427. - ;;
  45428. - *) qarg=$arg ;;
  45429. - esac
  45430. - libtool_args="$libtool_args $qarg"
  45431. + compile)
  45432. + $ECHO \
  45433. +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  45434. - # If the previous option needs an argument, assign it.
  45435. - if test -n "$prev"; then
  45436. - case $prev in
  45437. - output)
  45438. - compile_command="$compile_command @OUTPUT@"
  45439. - finalize_command="$finalize_command @OUTPUT@"
  45440. - ;;
  45441. - esac
  45442. +Compile a source file into a libtool library object.
  45443. - case $prev in
  45444. - dlfiles|dlprefiles)
  45445. - if test "$preload" = no; then
  45446. - # Add the symbol object into the linking commands.
  45447. - compile_command="$compile_command @SYMFILE@"
  45448. - finalize_command="$finalize_command @SYMFILE@"
  45449. - preload=yes
  45450. - fi
  45451. - case $arg in
  45452. - *.la | *.lo) ;; # We handle these cases below.
  45453. - force)
  45454. - if test "$dlself" = no; then
  45455. - dlself=needless
  45456. - export_dynamic=yes
  45457. - fi
  45458. - prev=
  45459. - continue
  45460. - ;;
  45461. - self)
  45462. - if test "$prev" = dlprefiles; then
  45463. - dlself=yes
  45464. - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  45465. - dlself=yes
  45466. - else
  45467. - dlself=needless
  45468. - export_dynamic=yes
  45469. - fi
  45470. - prev=
  45471. - continue
  45472. - ;;
  45473. - *)
  45474. - if test "$prev" = dlfiles; then
  45475. - dlfiles="$dlfiles $arg"
  45476. - else
  45477. - dlprefiles="$dlprefiles $arg"
  45478. - fi
  45479. - prev=
  45480. - continue
  45481. - ;;
  45482. - esac
  45483. - ;;
  45484. - expsyms)
  45485. - export_symbols="$arg"
  45486. - if test ! -f "$arg"; then
  45487. - $echo "$modename: symbol file \`$arg' does not exist"
  45488. - exit $EXIT_FAILURE
  45489. - fi
  45490. - prev=
  45491. - continue
  45492. - ;;
  45493. - expsyms_regex)
  45494. - export_symbols_regex="$arg"
  45495. - prev=
  45496. - continue
  45497. - ;;
  45498. - inst_prefix)
  45499. - inst_prefix_dir="$arg"
  45500. - prev=
  45501. - continue
  45502. - ;;
  45503. - precious_regex)
  45504. - precious_files_regex="$arg"
  45505. - prev=
  45506. - continue
  45507. - ;;
  45508. - release)
  45509. - release="-$arg"
  45510. - prev=
  45511. - continue
  45512. - ;;
  45513. - objectlist)
  45514. - if test -f "$arg"; then
  45515. - save_arg=$arg
  45516. - moreargs=
  45517. - for fil in `cat $save_arg`
  45518. - do
  45519. -# moreargs="$moreargs $fil"
  45520. - arg=$fil
  45521. - # A libtool-controlled object.
  45522. +This mode accepts the following additional options:
  45523. - # Check to see that this really is a libtool object.
  45524. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  45525. - pic_object=
  45526. - non_pic_object=
  45527. + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  45528. + -no-suppress do not suppress compiler output for multiple passes
  45529. + -prefer-pic try to building PIC objects only
  45530. + -prefer-non-pic try to building non-PIC objects only
  45531. + -shared do not build a \`.o' file suitable for static linking
  45532. + -static only build a \`.o' file suitable for static linking
  45533. - # Read the .lo file
  45534. - # If there is no directory component, then add one.
  45535. - case $arg in
  45536. - */* | *\\*) . $arg ;;
  45537. - *) . ./$arg ;;
  45538. - esac
  45539. +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  45540. +from the given SOURCEFILE.
  45541. - if test -z "$pic_object" || \
  45542. - test -z "$non_pic_object" ||
  45543. - test "$pic_object" = none && \
  45544. - test "$non_pic_object" = none; then
  45545. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  45546. - exit $EXIT_FAILURE
  45547. - fi
  45548. +The output file name is determined by removing the directory component from
  45549. +SOURCEFILE, then substituting the C source code suffix \`.c' with the
  45550. +library object suffix, \`.lo'."
  45551. + ;;
  45552. - # Extract subdirectory from the argument.
  45553. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  45554. - if test "X$xdir" = "X$arg"; then
  45555. - xdir=
  45556. - else
  45557. - xdir="$xdir/"
  45558. - fi
  45559. + execute)
  45560. + $ECHO \
  45561. +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
  45562. - if test "$pic_object" != none; then
  45563. - # Prepend the subdirectory the object is found in.
  45564. - pic_object="$xdir$pic_object"
  45565. +Automatically set library path, then run a program.
  45566. - if test "$prev" = dlfiles; then
  45567. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  45568. - dlfiles="$dlfiles $pic_object"
  45569. - prev=
  45570. - continue
  45571. - else
  45572. - # If libtool objects are unsupported, then we need to preload.
  45573. - prev=dlprefiles
  45574. - fi
  45575. - fi
  45576. +This mode accepts the following additional options:
  45577. - # CHECK ME: I think I busted this. -Ossama
  45578. - if test "$prev" = dlprefiles; then
  45579. - # Preload the old-style object.
  45580. - dlprefiles="$dlprefiles $pic_object"
  45581. - prev=
  45582. - fi
  45583. + -dlopen FILE add the directory containing FILE to the library path
  45584. - # A PIC object.
  45585. - libobjs="$libobjs $pic_object"
  45586. - arg="$pic_object"
  45587. - fi
  45588. +This mode sets the library path environment variable according to \`-dlopen'
  45589. +flags.
  45590. - # Non-PIC object.
  45591. - if test "$non_pic_object" != none; then
  45592. - # Prepend the subdirectory the object is found in.
  45593. - non_pic_object="$xdir$non_pic_object"
  45594. +If any of the ARGS are libtool executable wrappers, then they are translated
  45595. +into their corresponding uninstalled binary, and any of their required library
  45596. +directories are added to the library path.
  45597. - # A standard non-PIC object
  45598. - non_pic_objects="$non_pic_objects $non_pic_object"
  45599. - if test -z "$pic_object" || test "$pic_object" = none ; then
  45600. - arg="$non_pic_object"
  45601. - fi
  45602. - else
  45603. - # If the PIC object exists, use it instead.
  45604. - # $xdir was prepended to $pic_object above.
  45605. - non_pic_object="$pic_object"
  45606. - non_pic_objects="$non_pic_objects $non_pic_object"
  45607. - fi
  45608. - else
  45609. - # Only an error if not doing a dry-run.
  45610. - if test -z "$run"; then
  45611. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  45612. - exit $EXIT_FAILURE
  45613. - else
  45614. - # Dry-run case.
  45615. +Then, COMMAND is executed, with ARGS as arguments."
  45616. + ;;
  45617. - # Extract subdirectory from the argument.
  45618. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  45619. - if test "X$xdir" = "X$arg"; then
  45620. - xdir=
  45621. - else
  45622. - xdir="$xdir/"
  45623. - fi
  45624. + finish)
  45625. + $ECHO \
  45626. +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
  45627. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  45628. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  45629. - libobjs="$libobjs $pic_object"
  45630. - non_pic_objects="$non_pic_objects $non_pic_object"
  45631. - fi
  45632. - fi
  45633. - done
  45634. - else
  45635. - $echo "$modename: link input file \`$save_arg' does not exist"
  45636. - exit $EXIT_FAILURE
  45637. - fi
  45638. - arg=$save_arg
  45639. - prev=
  45640. - continue
  45641. - ;;
  45642. - rpath | xrpath)
  45643. - # We need an absolute path.
  45644. - case $arg in
  45645. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  45646. - *)
  45647. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  45648. - exit $EXIT_FAILURE
  45649. - ;;
  45650. - esac
  45651. - if test "$prev" = rpath; then
  45652. - case "$rpath " in
  45653. - *" $arg "*) ;;
  45654. - *) rpath="$rpath $arg" ;;
  45655. - esac
  45656. - else
  45657. - case "$xrpath " in
  45658. - *" $arg "*) ;;
  45659. - *) xrpath="$xrpath $arg" ;;
  45660. - esac
  45661. - fi
  45662. - prev=
  45663. - continue
  45664. - ;;
  45665. - xcompiler)
  45666. - compiler_flags="$compiler_flags $qarg"
  45667. - prev=
  45668. - compile_command="$compile_command $qarg"
  45669. - finalize_command="$finalize_command $qarg"
  45670. - continue
  45671. - ;;
  45672. - xlinker)
  45673. - linker_flags="$linker_flags $qarg"
  45674. - compiler_flags="$compiler_flags $wl$qarg"
  45675. - prev=
  45676. - compile_command="$compile_command $wl$qarg"
  45677. - finalize_command="$finalize_command $wl$qarg"
  45678. - continue
  45679. - ;;
  45680. - xcclinker)
  45681. - linker_flags="$linker_flags $qarg"
  45682. - compiler_flags="$compiler_flags $qarg"
  45683. - prev=
  45684. - compile_command="$compile_command $qarg"
  45685. - finalize_command="$finalize_command $qarg"
  45686. - continue
  45687. - ;;
  45688. - shrext)
  45689. - shrext_cmds="$arg"
  45690. - prev=
  45691. - continue
  45692. - ;;
  45693. - darwin_framework|darwin_framework_skip)
  45694. - test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
  45695. - compile_command="$compile_command $arg"
  45696. - finalize_command="$finalize_command $arg"
  45697. - prev=
  45698. - continue
  45699. - ;;
  45700. - *)
  45701. - eval "$prev=\"\$arg\""
  45702. - prev=
  45703. - continue
  45704. - ;;
  45705. - esac
  45706. - fi # test -n "$prev"
  45707. +Complete the installation of libtool libraries.
  45708. - prevarg="$arg"
  45709. +Each LIBDIR is a directory that contains libtool libraries.
  45710. - case $arg in
  45711. - -all-static)
  45712. - if test -n "$link_static_flag"; then
  45713. - compile_command="$compile_command $link_static_flag"
  45714. - finalize_command="$finalize_command $link_static_flag"
  45715. - fi
  45716. - continue
  45717. - ;;
  45718. +The commands that this mode executes may require superuser privileges. Use
  45719. +the \`--dry-run' option if you just want to see what would be executed."
  45720. + ;;
  45721. - -allow-undefined)
  45722. - # FIXME: remove this flag sometime in the future.
  45723. - $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
  45724. - continue
  45725. - ;;
  45726. + install)
  45727. + $ECHO \
  45728. +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
  45729. - -avoid-version)
  45730. - avoid_version=yes
  45731. - continue
  45732. - ;;
  45733. +Install executables or libraries.
  45734. - -dlopen)
  45735. - prev=dlfiles
  45736. - continue
  45737. - ;;
  45738. +INSTALL-COMMAND is the installation command. The first component should be
  45739. +either the \`install' or \`cp' program.
  45740. - -dlpreopen)
  45741. - prev=dlprefiles
  45742. - continue
  45743. - ;;
  45744. +The following components of INSTALL-COMMAND are treated specially:
  45745. - -export-dynamic)
  45746. - export_dynamic=yes
  45747. - continue
  45748. - ;;
  45749. + -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  45750. - -export-symbols | -export-symbols-regex)
  45751. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  45752. - $echo "$modename: more than one -exported-symbols argument is not allowed"
  45753. - exit $EXIT_FAILURE
  45754. - fi
  45755. - if test "X$arg" = "X-export-symbols"; then
  45756. - prev=expsyms
  45757. - else
  45758. - prev=expsyms_regex
  45759. - fi
  45760. - continue
  45761. - ;;
  45762. +The rest of the components are interpreted as arguments to that command (only
  45763. +BSD-compatible install options are recognized)."
  45764. + ;;
  45765. - -framework|-arch|-isysroot)
  45766. - case " $CC " in
  45767. - *" ${arg} ${1} "* | *" ${arg} ${1} "*)
  45768. - prev=darwin_framework_skip ;;
  45769. - *) compiler_flags="$compiler_flags $arg"
  45770. - prev=darwin_framework ;;
  45771. - esac
  45772. - compile_command="$compile_command $arg"
  45773. - finalize_command="$finalize_command $arg"
  45774. - continue
  45775. - ;;
  45776. + link)
  45777. + $ECHO \
  45778. +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
  45779. - -inst-prefix-dir)
  45780. - prev=inst_prefix
  45781. - continue
  45782. - ;;
  45783. +Link object files or libraries together to form another library, or to
  45784. +create an executable program.
  45785. - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  45786. - # so, if we see these flags be careful not to treat them like -L
  45787. - -L[A-Z][A-Z]*:*)
  45788. - case $with_gcc/$host in
  45789. - no/*-*-irix* | /*-*-irix*)
  45790. - compile_command="$compile_command $arg"
  45791. - finalize_command="$finalize_command $arg"
  45792. - ;;
  45793. - esac
  45794. - continue
  45795. - ;;
  45796. +LINK-COMMAND is a command using the C compiler that you would use to create
  45797. +a program from several object files.
  45798. - -L*)
  45799. - dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
  45800. - # We need an absolute path.
  45801. - case $dir in
  45802. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  45803. - *)
  45804. - absdir=`cd "$dir" && pwd`
  45805. - if test -z "$absdir"; then
  45806. - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
  45807. - absdir="$dir"
  45808. - notinst_path="$notinst_path $dir"
  45809. - fi
  45810. - dir="$absdir"
  45811. - ;;
  45812. - esac
  45813. - case "$deplibs " in
  45814. - *" -L$dir "*) ;;
  45815. - *)
  45816. - deplibs="$deplibs -L$dir"
  45817. - lib_search_path="$lib_search_path $dir"
  45818. - ;;
  45819. - esac
  45820. - case $host in
  45821. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  45822. - testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  45823. - case :$dllsearchpath: in
  45824. - *":$dir:"*) ;;
  45825. - *) dllsearchpath="$dllsearchpath:$dir";;
  45826. - esac
  45827. - case :$dllsearchpath: in
  45828. - *":$testbindir:"*) ;;
  45829. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  45830. - esac
  45831. - ;;
  45832. - esac
  45833. - continue
  45834. - ;;
  45835. +The following components of LINK-COMMAND are treated specially:
  45836. - -l*)
  45837. - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  45838. - case $host in
  45839. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
  45840. - # These systems don't actually have a C or math library (as such)
  45841. - continue
  45842. - ;;
  45843. - *-*-os2*)
  45844. - # These systems don't actually have a C library (as such)
  45845. - test "X$arg" = "X-lc" && continue
  45846. - ;;
  45847. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  45848. - # Do not include libc due to us having libc/libc_r.
  45849. - test "X$arg" = "X-lc" && continue
  45850. - ;;
  45851. - *-*-rhapsody* | *-*-darwin1.[012])
  45852. - # Rhapsody C and math libraries are in the System framework
  45853. - deplibs="$deplibs -framework System"
  45854. - continue
  45855. - ;;
  45856. - *-*-sco3.2v5* | *-*-sco5v6*)
  45857. - # Causes problems with __ctype
  45858. - test "X$arg" = "X-lc" && continue
  45859. - ;;
  45860. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  45861. - # Compiler inserts libc in the correct place for threads to work
  45862. - test "X$arg" = "X-lc" && continue
  45863. - ;;
  45864. - esac
  45865. - elif test "X$arg" = "X-lc_r"; then
  45866. - case $host in
  45867. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  45868. - # Do not include libc_r directly, use -pthread flag.
  45869. - continue
  45870. - ;;
  45871. - esac
  45872. - fi
  45873. - deplibs="$deplibs $arg"
  45874. - continue
  45875. - ;;
  45876. + -all-static do not do any dynamic linking at all
  45877. + -avoid-version do not add a version suffix if possible
  45878. + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  45879. + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  45880. + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  45881. + -export-symbols SYMFILE
  45882. + try to export only the symbols listed in SYMFILE
  45883. + -export-symbols-regex REGEX
  45884. + try to export only the symbols matching REGEX
  45885. + -LLIBDIR search LIBDIR for required installed libraries
  45886. + -lNAME OUTPUT-FILE requires the installed library libNAME
  45887. + -module build a library that can dlopened
  45888. + -no-fast-install disable the fast-install mode
  45889. + -no-install link a not-installable executable
  45890. + -no-undefined declare that a library does not refer to external symbols
  45891. + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  45892. + -objectlist FILE Use a list of object files found in FILE to specify objects
  45893. + -precious-files-regex REGEX
  45894. + don't remove output files matching REGEX
  45895. + -release RELEASE specify package release information
  45896. + -rpath LIBDIR the created library will eventually be installed in LIBDIR
  45897. + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  45898. + -shared only do dynamic linking of libtool libraries
  45899. + -shrext SUFFIX override the standard shared library file extension
  45900. + -static do not do any dynamic linking of uninstalled libtool libraries
  45901. + -static-libtool-libs
  45902. + do not do any dynamic linking of libtool libraries
  45903. + -version-info CURRENT[:REVISION[:AGE]]
  45904. + specify library version info [each variable defaults to 0]
  45905. + -weak LIBNAME declare that the target provides the LIBNAME interface
  45906. - # Tru64 UNIX uses -model [arg] to determine the layout of C++
  45907. - # classes, name mangling, and exception handling.
  45908. - -model)
  45909. - compile_command="$compile_command $arg"
  45910. - compiler_flags="$compiler_flags $arg"
  45911. - finalize_command="$finalize_command $arg"
  45912. - prev=xcompiler
  45913. - continue
  45914. - ;;
  45915. +All other options (arguments beginning with \`-') are ignored.
  45916. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
  45917. - compiler_flags="$compiler_flags $arg"
  45918. - compile_command="$compile_command $arg"
  45919. - finalize_command="$finalize_command $arg"
  45920. - continue
  45921. - ;;
  45922. +Every other argument is treated as a filename. Files ending in \`.la' are
  45923. +treated as uninstalled libtool libraries, other files are standard or library
  45924. +object files.
  45925. - -module)
  45926. - module=yes
  45927. - continue
  45928. - ;;
  45929. +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  45930. +only library objects (\`.lo' files) may be specified, and \`-rpath' is
  45931. +required, except when creating a convenience library.
  45932. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  45933. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  45934. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  45935. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  45936. - # -q* pass through compiler args for the IBM compiler
  45937. - # -m* pass through architecture-specific compiler args for GCC
  45938. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  45939. - # compiler args for GCC
  45940. - # -pg pass through profiling flag for GCC
  45941. - # @file GCC response files
  45942. - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
  45943. - -t[45]*|-txscale*|@*)
  45944. +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  45945. +using \`ar' and \`ranlib', or on Windows using \`lib'.
  45946. - # Unknown arguments in both finalize_command and compile_command need
  45947. - # to be aesthetically quoted because they are evaled later.
  45948. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  45949. - case $arg in
  45950. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  45951. - arg="\"$arg\""
  45952. - ;;
  45953. - esac
  45954. - compile_command="$compile_command $arg"
  45955. - finalize_command="$finalize_command $arg"
  45956. - compiler_flags="$compiler_flags $arg"
  45957. - continue
  45958. +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  45959. +is created, otherwise an executable program is created."
  45960. ;;
  45961. - -shrext)
  45962. - prev=shrext
  45963. - continue
  45964. - ;;
  45965. + uninstall)
  45966. + $ECHO \
  45967. +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  45968. - -no-fast-install)
  45969. - fast_install=no
  45970. - continue
  45971. - ;;
  45972. +Remove libraries from an installation directory.
  45973. - -no-install)
  45974. - case $host in
  45975. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  45976. - # The PATH hackery in wrapper scripts is required on Windows
  45977. - # in order for the loader to find any dlls it needs.
  45978. - $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
  45979. - $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
  45980. - fast_install=no
  45981. - ;;
  45982. - *) no_install=yes ;;
  45983. - esac
  45984. - continue
  45985. - ;;
  45986. +RM is the name of the program to use to delete files associated with each FILE
  45987. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  45988. +to RM.
  45989. - -no-undefined)
  45990. - allow_undefined=no
  45991. - continue
  45992. - ;;
  45993. +If FILE is a libtool library, all the files associated with it are deleted.
  45994. +Otherwise, only FILE itself is deleted using RM."
  45995. + ;;
  45996. - -objectlist)
  45997. - prev=objectlist
  45998. - continue
  45999. - ;;
  46000. + *)
  46001. + func_fatal_help "invalid operation mode \`$mode'"
  46002. + ;;
  46003. + esac
  46004. - -o) prev=output ;;
  46005. + $ECHO
  46006. + $ECHO "Try \`$progname --help' for more information about other modes."
  46007. - -precious-files-regex)
  46008. - prev=precious_regex
  46009. - continue
  46010. - ;;
  46011. + exit $?
  46012. +}
  46013. - -release)
  46014. - prev=release
  46015. - continue
  46016. - ;;
  46017. + # Now that we've collected a possible --mode arg, show help if necessary
  46018. + $opt_help && func_mode_help
  46019. - -rpath)
  46020. - prev=rpath
  46021. - continue
  46022. - ;;
  46023. - -R)
  46024. - prev=xrpath
  46025. - continue
  46026. - ;;
  46027. +# func_mode_execute arg...
  46028. +func_mode_execute ()
  46029. +{
  46030. + $opt_debug
  46031. + # The first argument is the command name.
  46032. + cmd="$nonopt"
  46033. + test -z "$cmd" && \
  46034. + func_fatal_help "you must specify a COMMAND"
  46035. - -R*)
  46036. - dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
  46037. - # We need an absolute path.
  46038. - case $dir in
  46039. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  46040. - *)
  46041. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  46042. - exit $EXIT_FAILURE
  46043. - ;;
  46044. - esac
  46045. - case "$xrpath " in
  46046. - *" $dir "*) ;;
  46047. - *) xrpath="$xrpath $dir" ;;
  46048. - esac
  46049. - continue
  46050. - ;;
  46051. -
  46052. - -static)
  46053. - # The effects of -static are defined in a previous loop.
  46054. - # We used to do the same as -all-static on platforms that
  46055. - # didn't have a PIC flag, but the assumption that the effects
  46056. - # would be equivalent was wrong. It would break on at least
  46057. - # Digital Unix and AIX.
  46058. - continue
  46059. - ;;
  46060. + # Handle -dlopen flags immediately.
  46061. + for file in $execute_dlfiles; do
  46062. + test -f "$file" \
  46063. + || func_fatal_help "\`$file' is not a file"
  46064. - -thread-safe)
  46065. - thread_safe=yes
  46066. - continue
  46067. - ;;
  46068. + dir=
  46069. + case $file in
  46070. + *.la)
  46071. + # Check to see that this really is a libtool archive.
  46072. + func_lalib_unsafe_p "$file" \
  46073. + || func_fatal_help "\`$lib' is not a valid libtool archive"
  46074. - -version-info)
  46075. - prev=vinfo
  46076. - continue
  46077. - ;;
  46078. - -version-number)
  46079. - prev=vinfo
  46080. - vinfo_number=yes
  46081. - continue
  46082. - ;;
  46083. + # Read the libtool library.
  46084. + dlname=
  46085. + library_names=
  46086. + func_source "$file"
  46087. - -Wc,*)
  46088. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
  46089. - arg=
  46090. - save_ifs="$IFS"; IFS=','
  46091. - for flag in $args; do
  46092. - IFS="$save_ifs"
  46093. - case $flag in
  46094. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  46095. - flag="\"$flag\""
  46096. - ;;
  46097. - esac
  46098. - arg="$arg $wl$flag"
  46099. - compiler_flags="$compiler_flags $flag"
  46100. - done
  46101. - IFS="$save_ifs"
  46102. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  46103. - ;;
  46104. + # Skip this library if it cannot be dlopened.
  46105. + if test -z "$dlname"; then
  46106. + # Warn if it was a shared library.
  46107. + test -n "$library_names" && \
  46108. + func_warning "\`$file' was not linked with \`-export-dynamic'"
  46109. + continue
  46110. + fi
  46111. - -Wl,*)
  46112. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
  46113. - arg=
  46114. - save_ifs="$IFS"; IFS=','
  46115. - for flag in $args; do
  46116. - IFS="$save_ifs"
  46117. - case $flag in
  46118. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  46119. - flag="\"$flag\""
  46120. - ;;
  46121. - esac
  46122. - arg="$arg $wl$flag"
  46123. - compiler_flags="$compiler_flags $wl$flag"
  46124. - linker_flags="$linker_flags $flag"
  46125. - done
  46126. - IFS="$save_ifs"
  46127. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  46128. - ;;
  46129. + func_dirname "$file" "" "."
  46130. + dir="$func_dirname_result"
  46131. - -Xcompiler)
  46132. - prev=xcompiler
  46133. - continue
  46134. + if test -f "$dir/$objdir/$dlname"; then
  46135. + dir="$dir/$objdir"
  46136. + else
  46137. + if test ! -f "$dir/$dlname"; then
  46138. + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  46139. + fi
  46140. + fi
  46141. ;;
  46142. - -Xlinker)
  46143. - prev=xlinker
  46144. - continue
  46145. + *.lo)
  46146. + # Just add the directory containing the .lo file.
  46147. + func_dirname "$file" "" "."
  46148. + dir="$func_dirname_result"
  46149. ;;
  46150. - -XCClinker)
  46151. - prev=xcclinker
  46152. + *)
  46153. + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
  46154. continue
  46155. ;;
  46156. + esac
  46157. - # Some other compiler flag.
  46158. - -* | +*)
  46159. - # Unknown arguments in both finalize_command and compile_command need
  46160. - # to be aesthetically quoted because they are evaled later.
  46161. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  46162. - case $arg in
  46163. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  46164. - arg="\"$arg\""
  46165. - ;;
  46166. - esac
  46167. - ;;
  46168. + # Get the absolute pathname.
  46169. + absdir=`cd "$dir" && pwd`
  46170. + test -n "$absdir" && dir="$absdir"
  46171. - *.$objext)
  46172. - # A standard object.
  46173. - objs="$objs $arg"
  46174. - ;;
  46175. + # Now add the directory to shlibpath_var.
  46176. + if eval "test -z \"\$$shlibpath_var\""; then
  46177. + eval "$shlibpath_var=\"\$dir\""
  46178. + else
  46179. + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  46180. + fi
  46181. + done
  46182. - *.lo)
  46183. - # A libtool-controlled object.
  46184. + # This variable tells wrapper scripts just to set shlibpath_var
  46185. + # rather than running their programs.
  46186. + libtool_execute_magic="$magic"
  46187. - # Check to see that this really is a libtool object.
  46188. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  46189. - pic_object=
  46190. - non_pic_object=
  46191. + # Check if any of the arguments is a wrapper script.
  46192. + args=
  46193. + for file
  46194. + do
  46195. + case $file in
  46196. + -*) ;;
  46197. + *)
  46198. + # Do a test to see if this is really a libtool program.
  46199. + if func_ltwrapper_script_p "$file"; then
  46200. + func_source "$file"
  46201. + # Transform arg to wrapped name.
  46202. + file="$progdir/$program"
  46203. + elif func_ltwrapper_executable_p "$file"; then
  46204. + func_ltwrapper_scriptname "$file"
  46205. + func_source "$func_ltwrapper_scriptname_result"
  46206. + # Transform arg to wrapped name.
  46207. + file="$progdir/$program"
  46208. + fi
  46209. + ;;
  46210. + esac
  46211. + # Quote arguments (to preserve shell metacharacters).
  46212. + func_quote_for_eval "$file"
  46213. + args="$args $func_quote_for_eval_result"
  46214. + done
  46215. - # Read the .lo file
  46216. - # If there is no directory component, then add one.
  46217. - case $arg in
  46218. - */* | *\\*) . $arg ;;
  46219. - *) . ./$arg ;;
  46220. - esac
  46221. + if test "X$opt_dry_run" = Xfalse; then
  46222. + if test -n "$shlibpath_var"; then
  46223. + # Export the shlibpath_var.
  46224. + eval "export $shlibpath_var"
  46225. + fi
  46226. - if test -z "$pic_object" || \
  46227. - test -z "$non_pic_object" ||
  46228. - test "$pic_object" = none && \
  46229. - test "$non_pic_object" = none; then
  46230. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  46231. - exit $EXIT_FAILURE
  46232. - fi
  46233. + # Restore saved environment variables
  46234. + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  46235. + do
  46236. + eval "if test \"\${save_$lt_var+set}\" = set; then
  46237. + $lt_var=\$save_$lt_var; export $lt_var
  46238. + else
  46239. + $lt_unset $lt_var
  46240. + fi"
  46241. + done
  46242. - # Extract subdirectory from the argument.
  46243. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  46244. - if test "X$xdir" = "X$arg"; then
  46245. - xdir=
  46246. - else
  46247. - xdir="$xdir/"
  46248. - fi
  46249. + # Now prepare to actually exec the command.
  46250. + exec_cmd="\$cmd$args"
  46251. + else
  46252. + # Display what would be done.
  46253. + if test -n "$shlibpath_var"; then
  46254. + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  46255. + $ECHO "export $shlibpath_var"
  46256. + fi
  46257. + $ECHO "$cmd$args"
  46258. + exit $EXIT_SUCCESS
  46259. + fi
  46260. +}
  46261. - if test "$pic_object" != none; then
  46262. - # Prepend the subdirectory the object is found in.
  46263. - pic_object="$xdir$pic_object"
  46264. +test "$mode" = execute && func_mode_execute ${1+"$@"}
  46265. - if test "$prev" = dlfiles; then
  46266. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  46267. - dlfiles="$dlfiles $pic_object"
  46268. - prev=
  46269. - continue
  46270. - else
  46271. - # If libtool objects are unsupported, then we need to preload.
  46272. - prev=dlprefiles
  46273. - fi
  46274. - fi
  46275. - # CHECK ME: I think I busted this. -Ossama
  46276. - if test "$prev" = dlprefiles; then
  46277. - # Preload the old-style object.
  46278. - dlprefiles="$dlprefiles $pic_object"
  46279. - prev=
  46280. - fi
  46281. +# func_mode_finish arg...
  46282. +func_mode_finish ()
  46283. +{
  46284. + $opt_debug
  46285. + libdirs="$nonopt"
  46286. + admincmds=
  46287. - # A PIC object.
  46288. - libobjs="$libobjs $pic_object"
  46289. - arg="$pic_object"
  46290. - fi
  46291. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  46292. + for dir
  46293. + do
  46294. + libdirs="$libdirs $dir"
  46295. + done
  46296. - # Non-PIC object.
  46297. - if test "$non_pic_object" != none; then
  46298. - # Prepend the subdirectory the object is found in.
  46299. - non_pic_object="$xdir$non_pic_object"
  46300. + for libdir in $libdirs; do
  46301. + if test -n "$finish_cmds"; then
  46302. + # Do each command in the finish commands.
  46303. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
  46304. +'"$cmd"'"'
  46305. + fi
  46306. + if test -n "$finish_eval"; then
  46307. + # Do the single finish_eval.
  46308. + eval cmds=\"$finish_eval\"
  46309. + $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  46310. + $cmds"
  46311. + fi
  46312. + done
  46313. + fi
  46314. - # A standard non-PIC object
  46315. - non_pic_objects="$non_pic_objects $non_pic_object"
  46316. - if test -z "$pic_object" || test "$pic_object" = none ; then
  46317. - arg="$non_pic_object"
  46318. - fi
  46319. - else
  46320. - # If the PIC object exists, use it instead.
  46321. - # $xdir was prepended to $pic_object above.
  46322. - non_pic_object="$pic_object"
  46323. - non_pic_objects="$non_pic_objects $non_pic_object"
  46324. - fi
  46325. - else
  46326. - # Only an error if not doing a dry-run.
  46327. - if test -z "$run"; then
  46328. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  46329. - exit $EXIT_FAILURE
  46330. - else
  46331. - # Dry-run case.
  46332. + # Exit here if they wanted silent mode.
  46333. + $opt_silent && exit $EXIT_SUCCESS
  46334. - # Extract subdirectory from the argument.
  46335. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  46336. - if test "X$xdir" = "X$arg"; then
  46337. - xdir=
  46338. - else
  46339. - xdir="$xdir/"
  46340. - fi
  46341. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  46342. + $ECHO "Libraries have been installed in:"
  46343. + for libdir in $libdirs; do
  46344. + $ECHO " $libdir"
  46345. + done
  46346. + $ECHO
  46347. + $ECHO "If you ever happen to want to link against installed libraries"
  46348. + $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  46349. + $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  46350. + $ECHO "flag during linking and do at least one of the following:"
  46351. + if test -n "$shlibpath_var"; then
  46352. + $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  46353. + $ECHO " during execution"
  46354. + fi
  46355. + if test -n "$runpath_var"; then
  46356. + $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  46357. + $ECHO " during linking"
  46358. + fi
  46359. + if test -n "$hardcode_libdir_flag_spec"; then
  46360. + libdir=LIBDIR
  46361. + eval flag=\"$hardcode_libdir_flag_spec\"
  46362. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  46363. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  46364. - libobjs="$libobjs $pic_object"
  46365. - non_pic_objects="$non_pic_objects $non_pic_object"
  46366. - fi
  46367. - fi
  46368. - ;;
  46369. + $ECHO " - use the \`$flag' linker flag"
  46370. + fi
  46371. + if test -n "$admincmds"; then
  46372. + $ECHO " - have your system administrator run these commands:$admincmds"
  46373. + fi
  46374. + if test -f /etc/ld.so.conf; then
  46375. + $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  46376. + fi
  46377. + $ECHO
  46378. - *.$libext)
  46379. - # An archive.
  46380. - deplibs="$deplibs $arg"
  46381. - old_deplibs="$old_deplibs $arg"
  46382. - continue
  46383. + $ECHO "See any operating system documentation about shared libraries for"
  46384. + case $host in
  46385. + solaris2.[6789]|solaris2.1[0-9])
  46386. + $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  46387. + $ECHO "pages."
  46388. ;;
  46389. + *)
  46390. + $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  46391. + ;;
  46392. + esac
  46393. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  46394. + exit $EXIT_SUCCESS
  46395. +}
  46396. - *.la)
  46397. - # A libtool-controlled library.
  46398. +test "$mode" = finish && func_mode_finish ${1+"$@"}
  46399. - if test "$prev" = dlfiles; then
  46400. - # This library was specified with -dlopen.
  46401. - dlfiles="$dlfiles $arg"
  46402. - prev=
  46403. - elif test "$prev" = dlprefiles; then
  46404. - # The library was specified with -dlpreopen.
  46405. - dlprefiles="$dlprefiles $arg"
  46406. - prev=
  46407. - else
  46408. - deplibs="$deplibs $arg"
  46409. - fi
  46410. - continue
  46411. - ;;
  46412. - # Some other compiler argument.
  46413. - *)
  46414. - # Unknown arguments in both finalize_command and compile_command need
  46415. - # to be aesthetically quoted because they are evaled later.
  46416. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  46417. - case $arg in
  46418. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  46419. - arg="\"$arg\""
  46420. - ;;
  46421. - esac
  46422. - ;;
  46423. - esac # arg
  46424. +# func_mode_install arg...
  46425. +func_mode_install ()
  46426. +{
  46427. + $opt_debug
  46428. + # There may be an optional sh(1) argument at the beginning of
  46429. + # install_prog (especially on Windows NT).
  46430. + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  46431. + # Allow the use of GNU shtool's install command.
  46432. + $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  46433. + # Aesthetically quote it.
  46434. + func_quote_for_eval "$nonopt"
  46435. + install_prog="$func_quote_for_eval_result "
  46436. + arg=$1
  46437. + shift
  46438. + else
  46439. + install_prog=
  46440. + arg=$nonopt
  46441. + fi
  46442. - # Now actually substitute the argument into the commands.
  46443. - if test -n "$arg"; then
  46444. - compile_command="$compile_command $arg"
  46445. - finalize_command="$finalize_command $arg"
  46446. + # The real first argument should be the name of the installation program.
  46447. + # Aesthetically quote it.
  46448. + func_quote_for_eval "$arg"
  46449. + install_prog="$install_prog$func_quote_for_eval_result"
  46450. +
  46451. + # We need to accept at least all the BSD install flags.
  46452. + dest=
  46453. + files=
  46454. + opts=
  46455. + prev=
  46456. + install_type=
  46457. + isdir=no
  46458. + stripme=
  46459. + for arg
  46460. + do
  46461. + if test -n "$dest"; then
  46462. + files="$files $dest"
  46463. + dest=$arg
  46464. + continue
  46465. fi
  46466. - done # argument parsing loop
  46467. - if test -n "$prev"; then
  46468. - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
  46469. - $echo "$help" 1>&2
  46470. - exit $EXIT_FAILURE
  46471. - fi
  46472. + case $arg in
  46473. + -d) isdir=yes ;;
  46474. + -f)
  46475. + case " $install_prog " in
  46476. + *[\\\ /]cp\ *) ;;
  46477. + *) prev=$arg ;;
  46478. + esac
  46479. + ;;
  46480. + -g | -m | -o)
  46481. + prev=$arg
  46482. + ;;
  46483. + -s)
  46484. + stripme=" -s"
  46485. + continue
  46486. + ;;
  46487. + -*)
  46488. + ;;
  46489. + *)
  46490. + # If the previous option needed an argument, then skip it.
  46491. + if test -n "$prev"; then
  46492. + prev=
  46493. + else
  46494. + dest=$arg
  46495. + continue
  46496. + fi
  46497. + ;;
  46498. + esac
  46499. - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  46500. - eval arg=\"$export_dynamic_flag_spec\"
  46501. - compile_command="$compile_command $arg"
  46502. - finalize_command="$finalize_command $arg"
  46503. - fi
  46504. + # Aesthetically quote the argument.
  46505. + func_quote_for_eval "$arg"
  46506. + install_prog="$install_prog $func_quote_for_eval_result"
  46507. + done
  46508. - oldlibs=
  46509. - # calculate the name of the file, without its directory
  46510. - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
  46511. - libobjs_save="$libobjs"
  46512. + test -z "$install_prog" && \
  46513. + func_fatal_help "you must specify an install program"
  46514. - if test -n "$shlibpath_var"; then
  46515. - # get the directories listed in $shlibpath_var
  46516. - eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  46517. - else
  46518. - shlib_search_path=
  46519. - fi
  46520. - eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  46521. - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  46522. + test -n "$prev" && \
  46523. + func_fatal_help "the \`$prev' option requires an argument"
  46524. - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
  46525. - if test "X$output_objdir" = "X$output"; then
  46526. - output_objdir="$objdir"
  46527. - else
  46528. - output_objdir="$output_objdir/$objdir"
  46529. - fi
  46530. - # Create the object directory.
  46531. - if test ! -d "$output_objdir"; then
  46532. - $show "$mkdir $output_objdir"
  46533. - $run $mkdir $output_objdir
  46534. - exit_status=$?
  46535. - if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
  46536. - exit $exit_status
  46537. + if test -z "$files"; then
  46538. + if test -z "$dest"; then
  46539. + func_fatal_help "no file or destination specified"
  46540. + else
  46541. + func_fatal_help "you must specify a destination"
  46542. fi
  46543. fi
  46544. - # Determine the type of output
  46545. - case $output in
  46546. - "")
  46547. - $echo "$modename: you must specify an output file" 1>&2
  46548. - $echo "$help" 1>&2
  46549. - exit $EXIT_FAILURE
  46550. - ;;
  46551. - *.$libext) linkmode=oldlib ;;
  46552. - *.lo | *.$objext) linkmode=obj ;;
  46553. - *.la) linkmode=lib ;;
  46554. - *) linkmode=prog ;; # Anything else should be a program.
  46555. - esac
  46556. + # Strip any trailing slash from the destination.
  46557. + func_stripname '' '/' "$dest"
  46558. + dest=$func_stripname_result
  46559. - case $host in
  46560. - *cygwin* | *mingw* | *pw32*)
  46561. - # don't eliminate duplications in $postdeps and $predeps
  46562. - duplicate_compiler_generated_deps=yes
  46563. - ;;
  46564. + # Check to see that the destination is a directory.
  46565. + test -d "$dest" && isdir=yes
  46566. + if test "$isdir" = yes; then
  46567. + destdir="$dest"
  46568. + destname=
  46569. + else
  46570. + func_dirname_and_basename "$dest" "" "."
  46571. + destdir="$func_dirname_result"
  46572. + destname="$func_basename_result"
  46573. +
  46574. + # Not a directory, so check to see that there is only one file specified.
  46575. + set dummy $files; shift
  46576. + test "$#" -gt 1 && \
  46577. + func_fatal_help "\`$dest' is not a directory"
  46578. + fi
  46579. + case $destdir in
  46580. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  46581. *)
  46582. - duplicate_compiler_generated_deps=$duplicate_deps
  46583. + for file in $files; do
  46584. + case $file in
  46585. + *.lo) ;;
  46586. + *)
  46587. + func_fatal_help "\`$destdir' must be an absolute directory name"
  46588. + ;;
  46589. + esac
  46590. + done
  46591. ;;
  46592. esac
  46593. - specialdeplibs=
  46594. - libs=
  46595. - # Find all interdependent deplibs by searching for libraries
  46596. - # that are linked more than once (e.g. -la -lb -la)
  46597. - for deplib in $deplibs; do
  46598. - if test "X$duplicate_deps" = "Xyes" ; then
  46599. - case "$libs " in
  46600. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  46601. - esac
  46602. - fi
  46603. - libs="$libs $deplib"
  46604. - done
  46605. + # This variable tells wrapper scripts just to set variables rather
  46606. + # than running their programs.
  46607. + libtool_install_magic="$magic"
  46608. - if test "$linkmode" = lib; then
  46609. - libs="$predeps $libs $compiler_lib_search_path $postdeps"
  46610. + staticlibs=
  46611. + future_libdirs=
  46612. + current_libdirs=
  46613. + for file in $files; do
  46614. - # Compute libraries that are listed more than once in $predeps
  46615. - # $postdeps and mark them as special (i.e., whose duplicates are
  46616. - # not to be eliminated).
  46617. - pre_post_deps=
  46618. - if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
  46619. - for pre_post_dep in $predeps $postdeps; do
  46620. - case "$pre_post_deps " in
  46621. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  46622. + # Do each installation.
  46623. + case $file in
  46624. + *.$libext)
  46625. + # Do the static libraries later.
  46626. + staticlibs="$staticlibs $file"
  46627. + ;;
  46628. +
  46629. + *.la)
  46630. + # Check to see that this really is a libtool archive.
  46631. + func_lalib_unsafe_p "$file" \
  46632. + || func_fatal_help "\`$file' is not a valid libtool archive"
  46633. +
  46634. + library_names=
  46635. + old_library=
  46636. + relink_command=
  46637. + func_source "$file"
  46638. +
  46639. + # Add the libdir to current_libdirs if it is the destination.
  46640. + if test "X$destdir" = "X$libdir"; then
  46641. + case "$current_libdirs " in
  46642. + *" $libdir "*) ;;
  46643. + *) current_libdirs="$current_libdirs $libdir" ;;
  46644. esac
  46645. - pre_post_deps="$pre_post_deps $pre_post_dep"
  46646. - done
  46647. - fi
  46648. - pre_post_deps=
  46649. - fi
  46650. + else
  46651. + # Note the libdir as a future libdir.
  46652. + case "$future_libdirs " in
  46653. + *" $libdir "*) ;;
  46654. + *) future_libdirs="$future_libdirs $libdir" ;;
  46655. + esac
  46656. + fi
  46657. - deplibs=
  46658. - newdependency_libs=
  46659. - newlib_search_path=
  46660. - need_relink=no # whether we're linking any uninstalled libtool libraries
  46661. - notinst_deplibs= # not-installed libtool libraries
  46662. - case $linkmode in
  46663. - lib)
  46664. - passes="conv link"
  46665. - for file in $dlfiles $dlprefiles; do
  46666. - case $file in
  46667. - *.la) ;;
  46668. - *)
  46669. - $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
  46670. - exit $EXIT_FAILURE
  46671. + func_dirname "$file" "/" ""
  46672. + dir="$func_dirname_result"
  46673. + dir="$dir$objdir"
  46674. +
  46675. + if test -n "$relink_command"; then
  46676. + # Determine the prefix the user has applied to our future dir.
  46677. + inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  46678. +
  46679. + # Don't allow the user to place us outside of our expected
  46680. + # location b/c this prevents finding dependent libraries that
  46681. + # are installed to the same prefix.
  46682. + # At present, this check doesn't affect windows .dll's that
  46683. + # are installed into $libdir/../bin (currently, that works fine)
  46684. + # but it's something to keep an eye on.
  46685. + test "$inst_prefix_dir" = "$destdir" && \
  46686. + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
  46687. +
  46688. + if test -n "$inst_prefix_dir"; then
  46689. + # Stick the inst_prefix_dir data into the link command.
  46690. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  46691. + else
  46692. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  46693. + fi
  46694. +
  46695. + func_warning "relinking \`$file'"
  46696. + func_show_eval "$relink_command" \
  46697. + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  46698. + fi
  46699. +
  46700. + # See the names of the shared library.
  46701. + set dummy $library_names; shift
  46702. + if test -n "$1"; then
  46703. + realname="$1"
  46704. + shift
  46705. +
  46706. + srcname="$realname"
  46707. + test -n "$relink_command" && srcname="$realname"T
  46708. +
  46709. + # Install the shared library and build the symlinks.
  46710. + func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  46711. + 'exit $?'
  46712. + tstripme="$stripme"
  46713. + case $host_os in
  46714. + cygwin* | mingw* | pw32* | cegcc*)
  46715. + case $realname in
  46716. + *.dll.a)
  46717. + tstripme=""
  46718. + ;;
  46719. + esac
  46720. ;;
  46721. esac
  46722. - done
  46723. - ;;
  46724. - prog)
  46725. - compile_deplibs=
  46726. - finalize_deplibs=
  46727. - alldeplibs=no
  46728. - newdlfiles=
  46729. - newdlprefiles=
  46730. - passes="conv scan dlopen dlpreopen link"
  46731. - ;;
  46732. - *) passes="conv"
  46733. - ;;
  46734. - esac
  46735. - for pass in $passes; do
  46736. - if test "$linkmode,$pass" = "lib,link" ||
  46737. - test "$linkmode,$pass" = "prog,scan"; then
  46738. - libs="$deplibs"
  46739. - deplibs=
  46740. - fi
  46741. - if test "$linkmode" = prog; then
  46742. - case $pass in
  46743. - dlopen) libs="$dlfiles" ;;
  46744. - dlpreopen) libs="$dlprefiles" ;;
  46745. - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  46746. - esac
  46747. - fi
  46748. - if test "$pass" = dlopen; then
  46749. - # Collect dlpreopened libraries
  46750. - save_deplibs="$deplibs"
  46751. - deplibs=
  46752. - fi
  46753. - for deplib in $libs; do
  46754. - lib=
  46755. - found=no
  46756. - case $deplib in
  46757. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
  46758. - if test "$linkmode,$pass" = "prog,link"; then
  46759. - compile_deplibs="$deplib $compile_deplibs"
  46760. - finalize_deplibs="$deplib $finalize_deplibs"
  46761. - else
  46762. - compiler_flags="$compiler_flags $deplib"
  46763. + if test -n "$tstripme" && test -n "$striplib"; then
  46764. + func_show_eval "$striplib $destdir/$realname" 'exit $?'
  46765. fi
  46766. - continue
  46767. - ;;
  46768. - -l*)
  46769. - if test "$linkmode" != lib && test "$linkmode" != prog; then
  46770. - $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
  46771. - continue
  46772. - fi
  46773. - name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
  46774. - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
  46775. - for search_ext in .la $std_shrext .so .a; do
  46776. - # Search the libtool library
  46777. - lib="$searchdir/lib${name}${search_ext}"
  46778. - if test -f "$lib"; then
  46779. - if test "$search_ext" = ".la"; then
  46780. - found=yes
  46781. - else
  46782. - found=no
  46783. - fi
  46784. - break 2
  46785. - fi
  46786. +
  46787. + if test "$#" -gt 0; then
  46788. + # Delete the old symlinks, and create new ones.
  46789. + # Try `ln -sf' first, because the `ln' binary might depend on
  46790. + # the symlink we replace! Solaris /bin/ln does not understand -f,
  46791. + # so we also need to try rm && ln -s.
  46792. + for linkname
  46793. + do
  46794. + test "$linkname" != "$realname" \
  46795. + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
  46796. done
  46797. - done
  46798. - if test "$found" != yes; then
  46799. - # deplib doesn't seem to be a libtool library
  46800. - if test "$linkmode,$pass" = "prog,link"; then
  46801. - compile_deplibs="$deplib $compile_deplibs"
  46802. - finalize_deplibs="$deplib $finalize_deplibs"
  46803. - else
  46804. - deplibs="$deplib $deplibs"
  46805. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  46806. - fi
  46807. - continue
  46808. - else # deplib is a libtool library
  46809. - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  46810. - # We need to do some special things here, and not later.
  46811. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  46812. - case " $predeps $postdeps " in
  46813. - *" $deplib "*)
  46814. - if (${SED} -e '2q' $lib |
  46815. - grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  46816. - library_names=
  46817. - old_library=
  46818. - case $lib in
  46819. - */* | *\\*) . $lib ;;
  46820. - *) . ./$lib ;;
  46821. - esac
  46822. - for l in $old_library $library_names; do
  46823. - ll="$l"
  46824. - done
  46825. - if test "X$ll" = "X$old_library" ; then # only static version available
  46826. - found=no
  46827. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  46828. - test "X$ladir" = "X$lib" && ladir="."
  46829. - lib=$ladir/$old_library
  46830. - if test "$linkmode,$pass" = "prog,link"; then
  46831. - compile_deplibs="$deplib $compile_deplibs"
  46832. - finalize_deplibs="$deplib $finalize_deplibs"
  46833. - else
  46834. - deplibs="$deplib $deplibs"
  46835. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  46836. - fi
  46837. - continue
  46838. - fi
  46839. - fi
  46840. - ;;
  46841. - *) ;;
  46842. - esac
  46843. - fi
  46844. - fi
  46845. - ;; # -l
  46846. - -L*)
  46847. - case $linkmode in
  46848. - lib)
  46849. - deplibs="$deplib $deplibs"
  46850. - test "$pass" = conv && continue
  46851. - newdependency_libs="$deplib $newdependency_libs"
  46852. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  46853. - ;;
  46854. - prog)
  46855. - if test "$pass" = conv; then
  46856. - deplibs="$deplib $deplibs"
  46857. - continue
  46858. - fi
  46859. - if test "$pass" = scan; then
  46860. - deplibs="$deplib $deplibs"
  46861. - else
  46862. - compile_deplibs="$deplib $compile_deplibs"
  46863. - finalize_deplibs="$deplib $finalize_deplibs"
  46864. - fi
  46865. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  46866. - ;;
  46867. - *)
  46868. - $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
  46869. - ;;
  46870. - esac # linkmode
  46871. - continue
  46872. - ;; # -L
  46873. - -R*)
  46874. - if test "$pass" = link; then
  46875. - dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
  46876. - # Make sure the xrpath contains only unique directories.
  46877. - case "$xrpath " in
  46878. - *" $dir "*) ;;
  46879. - *) xrpath="$xrpath $dir" ;;
  46880. - esac
  46881. fi
  46882. - deplibs="$deplib $deplibs"
  46883. - continue
  46884. +
  46885. + # Do each command in the postinstall commands.
  46886. + lib="$destdir/$realname"
  46887. + func_execute_cmds "$postinstall_cmds" 'exit $?'
  46888. + fi
  46889. +
  46890. + # Install the pseudo-library for information purposes.
  46891. + func_basename "$file"
  46892. + name="$func_basename_result"
  46893. + instname="$dir/$name"i
  46894. + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  46895. +
  46896. + # Maybe install the static library, too.
  46897. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  46898. + ;;
  46899. +
  46900. + *.lo)
  46901. + # Install (i.e. copy) a libtool object.
  46902. +
  46903. + # Figure out destination file name, if it wasn't already specified.
  46904. + if test -n "$destname"; then
  46905. + destfile="$destdir/$destname"
  46906. + else
  46907. + func_basename "$file"
  46908. + destfile="$func_basename_result"
  46909. + destfile="$destdir/$destfile"
  46910. + fi
  46911. +
  46912. + # Deduce the name of the destination old-style object file.
  46913. + case $destfile in
  46914. + *.lo)
  46915. + func_lo2o "$destfile"
  46916. + staticdest=$func_lo2o_result
  46917. ;;
  46918. - *.la) lib="$deplib" ;;
  46919. - *.$libext)
  46920. - if test "$pass" = conv; then
  46921. - deplibs="$deplib $deplibs"
  46922. - continue
  46923. - fi
  46924. - case $linkmode in
  46925. - lib)
  46926. - valid_a_lib=no
  46927. - case $deplibs_check_method in
  46928. - match_pattern*)
  46929. - set dummy $deplibs_check_method
  46930. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  46931. - if eval $echo \"$deplib\" 2>/dev/null \
  46932. - | $SED 10q \
  46933. - | $EGREP "$match_pattern_regex" > /dev/null; then
  46934. - valid_a_lib=yes
  46935. - fi
  46936. - ;;
  46937. - pass_all)
  46938. - valid_a_lib=yes
  46939. - ;;
  46940. - esac
  46941. - if test "$valid_a_lib" != yes; then
  46942. - $echo
  46943. - $echo "*** Warning: Trying to link with static lib archive $deplib."
  46944. - $echo "*** I have the capability to make that library automatically link in when"
  46945. - $echo "*** you link to this library. But I can only do this if you have a"
  46946. - $echo "*** shared version of the library, which you do not appear to have"
  46947. - $echo "*** because the file extensions .$libext of this argument makes me believe"
  46948. - $echo "*** that it is just a static archive that I should not used here."
  46949. - else
  46950. - $echo
  46951. - $echo "*** Warning: Linking the shared library $output against the"
  46952. - $echo "*** static library $deplib is not portable!"
  46953. - deplibs="$deplib $deplibs"
  46954. - fi
  46955. - continue
  46956. - ;;
  46957. - prog)
  46958. - if test "$pass" != link; then
  46959. - deplibs="$deplib $deplibs"
  46960. - else
  46961. - compile_deplibs="$deplib $compile_deplibs"
  46962. - finalize_deplibs="$deplib $finalize_deplibs"
  46963. - fi
  46964. - continue
  46965. - ;;
  46966. - esac # linkmode
  46967. - ;; # *.$libext
  46968. - *.lo | *.$objext)
  46969. - if test "$pass" = conv; then
  46970. - deplibs="$deplib $deplibs"
  46971. - elif test "$linkmode" = prog; then
  46972. - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  46973. - # If there is no dlopen support or we're linking statically,
  46974. - # we need to preload.
  46975. - newdlprefiles="$newdlprefiles $deplib"
  46976. - compile_deplibs="$deplib $compile_deplibs"
  46977. - finalize_deplibs="$deplib $finalize_deplibs"
  46978. - else
  46979. - newdlfiles="$newdlfiles $deplib"
  46980. - fi
  46981. - fi
  46982. - continue
  46983. + *.$objext)
  46984. + staticdest="$destfile"
  46985. + destfile=
  46986. ;;
  46987. - %DEPLIBS%)
  46988. - alldeplibs=yes
  46989. - continue
  46990. + *)
  46991. + func_fatal_help "cannot copy a libtool object to \`$destfile'"
  46992. ;;
  46993. - esac # case $deplib
  46994. - if test "$found" = yes || test -f "$lib"; then :
  46995. - else
  46996. - $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
  46997. - exit $EXIT_FAILURE
  46998. + esac
  46999. +
  47000. + # Install the libtool object if requested.
  47001. + test -n "$destfile" && \
  47002. + func_show_eval "$install_prog $file $destfile" 'exit $?'
  47003. +
  47004. + # Install the old object if enabled.
  47005. + if test "$build_old_libs" = yes; then
  47006. + # Deduce the name of the old-style object file.
  47007. + func_lo2o "$file"
  47008. + staticobj=$func_lo2o_result
  47009. + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
  47010. fi
  47011. + exit $EXIT_SUCCESS
  47012. + ;;
  47013. - # Check to see that this really is a libtool archive.
  47014. - if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  47015. + *)
  47016. + # Figure out destination file name, if it wasn't already specified.
  47017. + if test -n "$destname"; then
  47018. + destfile="$destdir/$destname"
  47019. else
  47020. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  47021. - exit $EXIT_FAILURE
  47022. + func_basename "$file"
  47023. + destfile="$func_basename_result"
  47024. + destfile="$destdir/$destfile"
  47025. fi
  47026. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  47027. - test "X$ladir" = "X$lib" && ladir="."
  47028. + # If the file is missing, and there is a .exe on the end, strip it
  47029. + # because it is most likely a libtool script we actually want to
  47030. + # install
  47031. + stripped_ext=""
  47032. + case $file in
  47033. + *.exe)
  47034. + if test ! -f "$file"; then
  47035. + func_stripname '' '.exe' "$file"
  47036. + file=$func_stripname_result
  47037. + stripped_ext=".exe"
  47038. + fi
  47039. + ;;
  47040. + esac
  47041. +
  47042. + # Do a test to see if this is really a libtool program.
  47043. + case $host in
  47044. + *cygwin* | *mingw*)
  47045. + if func_ltwrapper_executable_p "$file"; then
  47046. + func_ltwrapper_scriptname "$file"
  47047. + wrapper=$func_ltwrapper_scriptname_result
  47048. + else
  47049. + func_stripname '' '.exe' "$file"
  47050. + wrapper=$func_stripname_result
  47051. + fi
  47052. + ;;
  47053. + *)
  47054. + wrapper=$file
  47055. + ;;
  47056. + esac
  47057. + if func_ltwrapper_script_p "$wrapper"; then
  47058. + notinst_deplibs=
  47059. + relink_command=
  47060. - dlname=
  47061. - dlopen=
  47062. - dlpreopen=
  47063. - libdir=
  47064. - library_names=
  47065. - old_library=
  47066. - # If the library was installed with an old release of libtool,
  47067. - # it will not redefine variables installed, or shouldnotlink
  47068. - installed=yes
  47069. - shouldnotlink=no
  47070. - avoidtemprpath=
  47071. + func_source "$wrapper"
  47072. + # Check the variables that should have been set.
  47073. + test -z "$generated_by_libtool_version" && \
  47074. + func_fatal_error "invalid libtool wrapper script \`$wrapper'"
  47075. - # Read the .la file
  47076. - case $lib in
  47077. - */* | *\\*) . $lib ;;
  47078. - *) . ./$lib ;;
  47079. - esac
  47080. + finalize=yes
  47081. + for lib in $notinst_deplibs; do
  47082. + # Check to see that each library is installed.
  47083. + libdir=
  47084. + if test -f "$lib"; then
  47085. + func_source "$lib"
  47086. + fi
  47087. + libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  47088. + if test -n "$libdir" && test ! -f "$libfile"; then
  47089. + func_warning "\`$lib' has not been installed in \`$libdir'"
  47090. + finalize=no
  47091. + fi
  47092. + done
  47093. - if test "$linkmode,$pass" = "lib,link" ||
  47094. - test "$linkmode,$pass" = "prog,scan" ||
  47095. - { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  47096. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  47097. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  47098. + relink_command=
  47099. + func_source "$wrapper"
  47100. +
  47101. + outputname=
  47102. + if test "$fast_install" = no && test -n "$relink_command"; then
  47103. + $opt_dry_run || {
  47104. + if test "$finalize" = yes; then
  47105. + tmpdir=`func_mktempdir`
  47106. + func_basename "$file$stripped_ext"
  47107. + file="$func_basename_result"
  47108. + outputname="$tmpdir/$file"
  47109. + # Replace the output file specification.
  47110. + relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  47111. +
  47112. + $opt_silent || {
  47113. + func_quote_for_expand "$relink_command"
  47114. + eval "func_echo $func_quote_for_expand_result"
  47115. + }
  47116. + if eval "$relink_command"; then :
  47117. + else
  47118. + func_error "error: relink \`$file' with the above command before installing it"
  47119. + $opt_dry_run || ${RM}r "$tmpdir"
  47120. + continue
  47121. + fi
  47122. + file="$outputname"
  47123. + else
  47124. + func_warning "cannot relink \`$file'"
  47125. + fi
  47126. + }
  47127. + else
  47128. + # Install the binary that we compiled earlier.
  47129. + file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  47130. + fi
  47131. fi
  47132. - if test "$pass" = conv; then
  47133. - # Only check for convenience libraries
  47134. - deplibs="$lib $deplibs"
  47135. - if test -z "$libdir"; then
  47136. - if test -z "$old_library"; then
  47137. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  47138. - exit $EXIT_FAILURE
  47139. - fi
  47140. - # It is a libtool convenience library, so add in its objects.
  47141. - convenience="$convenience $ladir/$objdir/$old_library"
  47142. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  47143. - tmp_libs=
  47144. - for deplib in $dependency_libs; do
  47145. - deplibs="$deplib $deplibs"
  47146. - if test "X$duplicate_deps" = "Xyes" ; then
  47147. - case "$tmp_libs " in
  47148. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  47149. - esac
  47150. - fi
  47151. - tmp_libs="$tmp_libs $deplib"
  47152. - done
  47153. - elif test "$linkmode" != prog && test "$linkmode" != lib; then
  47154. - $echo "$modename: \`$lib' is not a convenience library" 1>&2
  47155. - exit $EXIT_FAILURE
  47156. - fi
  47157. - continue
  47158. - fi # $pass = conv
  47159. + # remove .exe since cygwin /usr/bin/install will append another
  47160. + # one anyway
  47161. + case $install_prog,$host in
  47162. + */usr/bin/install*,*cygwin*)
  47163. + case $file:$destfile in
  47164. + *.exe:*.exe)
  47165. + # this is ok
  47166. + ;;
  47167. + *.exe:*)
  47168. + destfile=$destfile.exe
  47169. + ;;
  47170. + *:*.exe)
  47171. + func_stripname '' '.exe' "$destfile"
  47172. + destfile=$func_stripname_result
  47173. + ;;
  47174. + esac
  47175. + ;;
  47176. + esac
  47177. + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
  47178. + $opt_dry_run || if test -n "$outputname"; then
  47179. + ${RM}r "$tmpdir"
  47180. + fi
  47181. + ;;
  47182. + esac
  47183. + done
  47184. + for file in $staticlibs; do
  47185. + func_basename "$file"
  47186. + name="$func_basename_result"
  47187. - # Get the name of the library we link against.
  47188. - linklib=
  47189. - for l in $old_library $library_names; do
  47190. - linklib="$l"
  47191. - done
  47192. - if test -z "$linklib"; then
  47193. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  47194. - exit $EXIT_FAILURE
  47195. - fi
  47196. + # Set up the ranlib parameters.
  47197. + oldlib="$destdir/$name"
  47198. - # This library was specified with -dlopen.
  47199. - if test "$pass" = dlopen; then
  47200. - if test -z "$libdir"; then
  47201. - $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
  47202. - exit $EXIT_FAILURE
  47203. - fi
  47204. - if test -z "$dlname" ||
  47205. - test "$dlopen_support" != yes ||
  47206. - test "$build_libtool_libs" = no; then
  47207. - # If there is no dlname, no dlopen support or we're linking
  47208. - # statically, we need to preload. We also need to preload any
  47209. - # dependent libraries so libltdl's deplib preloader doesn't
  47210. - # bomb out in the load deplibs phase.
  47211. - dlprefiles="$dlprefiles $lib $dependency_libs"
  47212. - else
  47213. - newdlfiles="$newdlfiles $lib"
  47214. - fi
  47215. - continue
  47216. - fi # $pass = dlopen
  47217. + func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
  47218. - # We need an absolute path.
  47219. - case $ladir in
  47220. - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  47221. - *)
  47222. - abs_ladir=`cd "$ladir" && pwd`
  47223. - if test -z "$abs_ladir"; then
  47224. - $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
  47225. - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
  47226. - abs_ladir="$ladir"
  47227. + if test -n "$stripme" && test -n "$old_striplib"; then
  47228. + func_show_eval "$old_striplib $oldlib" 'exit $?'
  47229. + fi
  47230. +
  47231. + # Do each command in the postinstall commands.
  47232. + func_execute_cmds "$old_postinstall_cmds" 'exit $?'
  47233. + done
  47234. +
  47235. + test -n "$future_libdirs" && \
  47236. + func_warning "remember to run \`$progname --finish$future_libdirs'"
  47237. +
  47238. + if test -n "$current_libdirs"; then
  47239. + # Maybe just do a dry run.
  47240. + $opt_dry_run && current_libdirs=" -n$current_libdirs"
  47241. + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  47242. + else
  47243. + exit $EXIT_SUCCESS
  47244. + fi
  47245. +}
  47246. +
  47247. +test "$mode" = install && func_mode_install ${1+"$@"}
  47248. +
  47249. +
  47250. +# func_generate_dlsyms outputname originator pic_p
  47251. +# Extract symbols from dlprefiles and create ${outputname}S.o with
  47252. +# a dlpreopen symbol table.
  47253. +func_generate_dlsyms ()
  47254. +{
  47255. + $opt_debug
  47256. + my_outputname="$1"
  47257. + my_originator="$2"
  47258. + my_pic_p="${3-no}"
  47259. + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
  47260. + my_dlsyms=
  47261. +
  47262. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  47263. + if test -n "$NM" && test -n "$global_symbol_pipe"; then
  47264. + my_dlsyms="${my_outputname}S.c"
  47265. + else
  47266. + func_error "not configured to extract global symbols from dlpreopened files"
  47267. + fi
  47268. + fi
  47269. +
  47270. + if test -n "$my_dlsyms"; then
  47271. + case $my_dlsyms in
  47272. + "") ;;
  47273. + *.c)
  47274. + # Discover the nlist of each of the dlfiles.
  47275. + nlist="$output_objdir/${my_outputname}.nm"
  47276. +
  47277. + func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
  47278. +
  47279. + # Parse the name list into a source file.
  47280. + func_verbose "creating $output_objdir/$my_dlsyms"
  47281. +
  47282. + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
  47283. +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
  47284. +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
  47285. +
  47286. +#ifdef __cplusplus
  47287. +extern \"C\" {
  47288. +#endif
  47289. +
  47290. +/* External symbol declarations for the compiler. */\
  47291. +"
  47292. +
  47293. + if test "$dlself" = yes; then
  47294. + func_verbose "generating symbol list for \`$output'"
  47295. +
  47296. + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  47297. +
  47298. + # Add our own program objects to the symbol list.
  47299. + progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  47300. + for progfile in $progfiles; do
  47301. + func_verbose "extracting global C symbols from \`$progfile'"
  47302. + $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  47303. + done
  47304. +
  47305. + if test -n "$exclude_expsyms"; then
  47306. + $opt_dry_run || {
  47307. + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  47308. + eval '$MV "$nlist"T "$nlist"'
  47309. + }
  47310. fi
  47311. - ;;
  47312. - esac
  47313. - laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  47314. - # Find the relevant object directory and library name.
  47315. - if test "X$installed" = Xyes; then
  47316. - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  47317. - $echo "$modename: warning: library \`$lib' was moved." 1>&2
  47318. - dir="$ladir"
  47319. - absdir="$abs_ladir"
  47320. - libdir="$abs_ladir"
  47321. - else
  47322. - dir="$libdir"
  47323. - absdir="$libdir"
  47324. + if test -n "$export_symbols_regex"; then
  47325. + $opt_dry_run || {
  47326. + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  47327. + eval '$MV "$nlist"T "$nlist"'
  47328. + }
  47329. fi
  47330. - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  47331. - else
  47332. - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  47333. - dir="$ladir"
  47334. - absdir="$abs_ladir"
  47335. - # Remove this search path later
  47336. - notinst_path="$notinst_path $abs_ladir"
  47337. +
  47338. + # Prepare the list of exported symbols
  47339. + if test -z "$export_symbols"; then
  47340. + export_symbols="$output_objdir/$outputname.exp"
  47341. + $opt_dry_run || {
  47342. + $RM $export_symbols
  47343. + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  47344. + case $host in
  47345. + *cygwin* | *mingw* | *cegcc* )
  47346. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  47347. + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  47348. + ;;
  47349. + esac
  47350. + }
  47351. else
  47352. - dir="$ladir/$objdir"
  47353. - absdir="$abs_ladir/$objdir"
  47354. - # Remove this search path later
  47355. - notinst_path="$notinst_path $abs_ladir"
  47356. + $opt_dry_run || {
  47357. + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  47358. + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  47359. + eval '$MV "$nlist"T "$nlist"'
  47360. + case $host in
  47361. + *cygwin | *mingw* | *cegcc* )
  47362. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  47363. + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  47364. + ;;
  47365. + esac
  47366. + }
  47367. fi
  47368. - fi # $installed = yes
  47369. - name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  47370. + fi
  47371. - # This library was specified with -dlpreopen.
  47372. - if test "$pass" = dlpreopen; then
  47373. - if test -z "$libdir"; then
  47374. - $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
  47375. - exit $EXIT_FAILURE
  47376. + for dlprefile in $dlprefiles; do
  47377. + func_verbose "extracting global C symbols from \`$dlprefile'"
  47378. + func_basename "$dlprefile"
  47379. + name="$func_basename_result"
  47380. + $opt_dry_run || {
  47381. + eval '$ECHO ": $name " >> "$nlist"'
  47382. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  47383. + }
  47384. + done
  47385. +
  47386. + $opt_dry_run || {
  47387. + # Make sure we have at least an empty file.
  47388. + test -f "$nlist" || : > "$nlist"
  47389. +
  47390. + if test -n "$exclude_expsyms"; then
  47391. + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  47392. + $MV "$nlist"T "$nlist"
  47393. fi
  47394. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  47395. - # are required to link).
  47396. - if test -n "$old_library"; then
  47397. - newdlprefiles="$newdlprefiles $dir/$old_library"
  47398. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  47399. - elif test -n "$dlname"; then
  47400. - newdlprefiles="$newdlprefiles $dir/$dlname"
  47401. +
  47402. + # Try sorting and uniquifying the output.
  47403. + if $GREP -v "^: " < "$nlist" |
  47404. + if sort -k 3 </dev/null >/dev/null 2>&1; then
  47405. + sort -k 3
  47406. + else
  47407. + sort +2
  47408. + fi |
  47409. + uniq > "$nlist"S; then
  47410. + :
  47411. else
  47412. - newdlprefiles="$newdlprefiles $dir/$linklib"
  47413. + $GREP -v "^: " < "$nlist" > "$nlist"S
  47414. fi
  47415. - fi # $pass = dlpreopen
  47416. - if test -z "$libdir"; then
  47417. - # Link the convenience library
  47418. - if test "$linkmode" = lib; then
  47419. - deplibs="$dir/$old_library $deplibs"
  47420. - elif test "$linkmode,$pass" = "prog,link"; then
  47421. - compile_deplibs="$dir/$old_library $compile_deplibs"
  47422. - finalize_deplibs="$dir/$old_library $finalize_deplibs"
  47423. + if test -f "$nlist"S; then
  47424. + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  47425. else
  47426. - deplibs="$lib $deplibs" # used for prog,scan pass
  47427. + $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  47428. fi
  47429. - continue
  47430. - fi
  47431. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  47432. - if test "$linkmode" = prog && test "$pass" != link; then
  47433. - newlib_search_path="$newlib_search_path $ladir"
  47434. - deplibs="$lib $deplibs"
  47435. -
  47436. - linkalldeplibs=no
  47437. - if test "$link_all_deplibs" != no || test -z "$library_names" ||
  47438. - test "$build_libtool_libs" = no; then
  47439. - linkalldeplibs=yes
  47440. - fi
  47441. +/* The mapping between symbol names and symbols. */
  47442. +typedef struct {
  47443. + const char *name;
  47444. + void *address;
  47445. +} lt_dlsymlist;
  47446. +"
  47447. + case $host in
  47448. + *cygwin* | *mingw* | *cegcc* )
  47449. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  47450. +/* DATA imports from DLLs on WIN32 con't be const, because
  47451. + runtime relocations are performed -- see ld's documentation
  47452. + on pseudo-relocs. */"
  47453. + lt_dlsym_const= ;;
  47454. + *osf5*)
  47455. + echo >> "$output_objdir/$my_dlsyms" "\
  47456. +/* This system does not cope well with relocations in const data */"
  47457. + lt_dlsym_const= ;;
  47458. + *)
  47459. + lt_dlsym_const=const ;;
  47460. + esac
  47461. - tmp_libs=
  47462. - for deplib in $dependency_libs; do
  47463. - case $deplib in
  47464. - -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
  47465. - esac
  47466. - # Need to link against all dependency_libs?
  47467. - if test "$linkalldeplibs" = yes; then
  47468. - deplibs="$deplib $deplibs"
  47469. - else
  47470. - # Need to hardcode shared library paths
  47471. - # or/and link against static libraries
  47472. - newdependency_libs="$deplib $newdependency_libs"
  47473. - fi
  47474. - if test "X$duplicate_deps" = "Xyes" ; then
  47475. - case "$tmp_libs " in
  47476. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  47477. - esac
  47478. - fi
  47479. - tmp_libs="$tmp_libs $deplib"
  47480. - done # for deplib
  47481. - continue
  47482. - fi # $linkmode = prog...
  47483. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  47484. +extern $lt_dlsym_const lt_dlsymlist
  47485. +lt_${my_prefix}_LTX_preloaded_symbols[];
  47486. +$lt_dlsym_const lt_dlsymlist
  47487. +lt_${my_prefix}_LTX_preloaded_symbols[] =
  47488. +{\
  47489. + { \"$my_originator\", (void *) 0 },"
  47490. - if test "$linkmode,$pass" = "prog,link"; then
  47491. - if test -n "$library_names" &&
  47492. - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
  47493. - # We need to hardcode the library path
  47494. - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  47495. - # Make sure the rpath contains only unique directories.
  47496. - case "$temp_rpath " in
  47497. - *" $dir "*) ;;
  47498. - *" $absdir "*) ;;
  47499. - *) temp_rpath="$temp_rpath $absdir" ;;
  47500. - esac
  47501. - fi
  47502. + case $need_lib_prefix in
  47503. + no)
  47504. + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
  47505. + ;;
  47506. + *)
  47507. + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  47508. + ;;
  47509. + esac
  47510. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  47511. + {0, (void *) 0}
  47512. +};
  47513. - # Hardcode the library path.
  47514. - # Skip directories that are in the system default run-time
  47515. - # search path.
  47516. - case " $sys_lib_dlsearch_path " in
  47517. - *" $absdir "*) ;;
  47518. - *)
  47519. - case "$compile_rpath " in
  47520. - *" $absdir "*) ;;
  47521. - *) compile_rpath="$compile_rpath $absdir"
  47522. - esac
  47523. - ;;
  47524. - esac
  47525. - case " $sys_lib_dlsearch_path " in
  47526. - *" $libdir "*) ;;
  47527. - *)
  47528. - case "$finalize_rpath " in
  47529. - *" $libdir "*) ;;
  47530. - *) finalize_rpath="$finalize_rpath $libdir"
  47531. - esac
  47532. - ;;
  47533. - esac
  47534. - fi # $linkmode,$pass = prog,link...
  47535. +/* This works around a problem in FreeBSD linker */
  47536. +#ifdef FREEBSD_WORKAROUND
  47537. +static const void *lt_preloaded_setup() {
  47538. + return lt_${my_prefix}_LTX_preloaded_symbols;
  47539. +}
  47540. +#endif
  47541. - if test "$alldeplibs" = yes &&
  47542. - { test "$deplibs_check_method" = pass_all ||
  47543. - { test "$build_libtool_libs" = yes &&
  47544. - test -n "$library_names"; }; }; then
  47545. - # We only need to search for static libraries
  47546. - continue
  47547. - fi
  47548. - fi
  47549. +#ifdef __cplusplus
  47550. +}
  47551. +#endif\
  47552. +"
  47553. + } # !$opt_dry_run
  47554. - link_static=no # Whether the deplib will be linked statically
  47555. - use_static_libs=$prefer_static_libs
  47556. - if test "$use_static_libs" = built && test "$installed" = yes ; then
  47557. - use_static_libs=no
  47558. - fi
  47559. - if test -n "$library_names" &&
  47560. - { test "$use_static_libs" = no || test -z "$old_library"; }; then
  47561. - if test "$installed" = no; then
  47562. - notinst_deplibs="$notinst_deplibs $lib"
  47563. - need_relink=yes
  47564. - fi
  47565. - # This is a shared library
  47566. -
  47567. - # Warn about portability, can't link against -module's on
  47568. - # some systems (darwin)
  47569. - if test "$shouldnotlink" = yes && test "$pass" = link ; then
  47570. - $echo
  47571. - if test "$linkmode" = prog; then
  47572. - $echo "*** Warning: Linking the executable $output against the loadable module"
  47573. - else
  47574. - $echo "*** Warning: Linking the shared library $output against the loadable module"
  47575. + pic_flag_for_symtable=
  47576. + case "$compile_command " in
  47577. + *" -static "*) ;;
  47578. + *)
  47579. + case $host in
  47580. + # compiling the symbol table file with pic_flag works around
  47581. + # a FreeBSD bug that causes programs to crash when -lm is
  47582. + # linked before any other PIC object. But we must not use
  47583. + # pic_flag when linking with -static. The problem exists in
  47584. + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  47585. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  47586. + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
  47587. + *-*-hpux*)
  47588. + pic_flag_for_symtable=" $pic_flag" ;;
  47589. + *)
  47590. + if test "X$my_pic_p" != Xno; then
  47591. + pic_flag_for_symtable=" $pic_flag"
  47592. fi
  47593. - $echo "*** $linklib is not portable!"
  47594. - fi
  47595. - if test "$linkmode" = lib &&
  47596. - test "$hardcode_into_libs" = yes; then
  47597. - # Hardcode the library path.
  47598. - # Skip directories that are in the system default run-time
  47599. - # search path.
  47600. - case " $sys_lib_dlsearch_path " in
  47601. - *" $absdir "*) ;;
  47602. - *)
  47603. - case "$compile_rpath " in
  47604. - *" $absdir "*) ;;
  47605. - *) compile_rpath="$compile_rpath $absdir"
  47606. - esac
  47607. - ;;
  47608. - esac
  47609. - case " $sys_lib_dlsearch_path " in
  47610. - *" $libdir "*) ;;
  47611. - *)
  47612. - case "$finalize_rpath " in
  47613. - *" $libdir "*) ;;
  47614. - *) finalize_rpath="$finalize_rpath $libdir"
  47615. - esac
  47616. - ;;
  47617. - esac
  47618. - fi
  47619. + ;;
  47620. + esac
  47621. + ;;
  47622. + esac
  47623. + symtab_cflags=
  47624. + for arg in $LTCFLAGS; do
  47625. + case $arg in
  47626. + -pie | -fpie | -fPIE) ;;
  47627. + *) symtab_cflags="$symtab_cflags $arg" ;;
  47628. + esac
  47629. + done
  47630. - if test -n "$old_archive_from_expsyms_cmds"; then
  47631. - # figure out the soname
  47632. - set dummy $library_names
  47633. - realname="$2"
  47634. - shift; shift
  47635. - libname=`eval \\$echo \"$libname_spec\"`
  47636. - # use dlname if we got it. it's perfectly good, no?
  47637. - if test -n "$dlname"; then
  47638. - soname="$dlname"
  47639. - elif test -n "$soname_spec"; then
  47640. - # bleh windows
  47641. - case $host in
  47642. - *cygwin* | mingw*)
  47643. - major=`expr $current - $age`
  47644. - versuffix="-$major"
  47645. - ;;
  47646. - esac
  47647. - eval soname=\"$soname_spec\"
  47648. - else
  47649. - soname="$realname"
  47650. - fi
  47651. + # Now compile the dynamic symbol file.
  47652. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
  47653. - # Make a new name for the extract_expsyms_cmds to use
  47654. - soroot="$soname"
  47655. - soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
  47656. - newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
  47657. + # Clean up the generated files.
  47658. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
  47659. - # If the library has no export list, then create one now
  47660. - if test -f "$output_objdir/$soname-def"; then :
  47661. - else
  47662. - $show "extracting exported symbol list from \`$soname'"
  47663. - save_ifs="$IFS"; IFS='~'
  47664. - cmds=$extract_expsyms_cmds
  47665. - for cmd in $cmds; do
  47666. - IFS="$save_ifs"
  47667. - eval cmd=\"$cmd\"
  47668. - $show "$cmd"
  47669. - $run eval "$cmd" || exit $?
  47670. - done
  47671. - IFS="$save_ifs"
  47672. - fi
  47673. + # Transform the symbol file into the correct name.
  47674. + symfileobj="$output_objdir/${my_outputname}S.$objext"
  47675. + case $host in
  47676. + *cygwin* | *mingw* | *cegcc* )
  47677. + if test -f "$output_objdir/$my_outputname.def"; then
  47678. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  47679. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  47680. + else
  47681. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  47682. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  47683. + fi
  47684. + ;;
  47685. + *)
  47686. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  47687. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  47688. + ;;
  47689. + esac
  47690. + ;;
  47691. + *)
  47692. + func_fatal_error "unknown suffix for \`$my_dlsyms'"
  47693. + ;;
  47694. + esac
  47695. + else
  47696. + # We keep going just in case the user didn't refer to
  47697. + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  47698. + # really was required.
  47699. +
  47700. + # Nullify the symbol file.
  47701. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  47702. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  47703. + fi
  47704. +}
  47705. - # Create $newlib
  47706. - if test -f "$output_objdir/$newlib"; then :; else
  47707. - $show "generating import library for \`$soname'"
  47708. - save_ifs="$IFS"; IFS='~'
  47709. - cmds=$old_archive_from_expsyms_cmds
  47710. - for cmd in $cmds; do
  47711. - IFS="$save_ifs"
  47712. - eval cmd=\"$cmd\"
  47713. - $show "$cmd"
  47714. - $run eval "$cmd" || exit $?
  47715. - done
  47716. - IFS="$save_ifs"
  47717. - fi
  47718. - # make sure the library variables are pointing to the new library
  47719. - dir=$output_objdir
  47720. - linklib=$newlib
  47721. - fi # test -n "$old_archive_from_expsyms_cmds"
  47722. +# func_win32_libid arg
  47723. +# return the library type of file 'arg'
  47724. +#
  47725. +# Need a lot of goo to handle *both* DLLs and import libs
  47726. +# Has to be a shell function in order to 'eat' the argument
  47727. +# that is supplied when $file_magic_command is called.
  47728. +func_win32_libid ()
  47729. +{
  47730. + $opt_debug
  47731. + win32_libid_type="unknown"
  47732. + win32_fileres=`file -L $1 2>/dev/null`
  47733. + case $win32_fileres in
  47734. + *ar\ archive\ import\ library*) # definitely import
  47735. + win32_libid_type="x86 archive import"
  47736. + ;;
  47737. + *ar\ archive*) # could be an import, or static
  47738. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  47739. + $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  47740. + win32_nmres=`eval $NM -f posix -A $1 |
  47741. + $SED -n -e '
  47742. + 1,100{
  47743. + / I /{
  47744. + s,.*,import,
  47745. + p
  47746. + q
  47747. + }
  47748. + }'`
  47749. + case $win32_nmres in
  47750. + import*) win32_libid_type="x86 archive import";;
  47751. + *) win32_libid_type="x86 archive static";;
  47752. + esac
  47753. + fi
  47754. + ;;
  47755. + *DLL*)
  47756. + win32_libid_type="x86 DLL"
  47757. + ;;
  47758. + *executable*) # but shell scripts are "executable" too...
  47759. + case $win32_fileres in
  47760. + *MS\ Windows\ PE\ Intel*)
  47761. + win32_libid_type="x86 DLL"
  47762. + ;;
  47763. + esac
  47764. + ;;
  47765. + esac
  47766. + $ECHO "$win32_libid_type"
  47767. +}
  47768. - if test "$linkmode" = prog || test "$mode" != relink; then
  47769. - add_shlibpath=
  47770. - add_dir=
  47771. - add=
  47772. - lib_linked=yes
  47773. - case $hardcode_action in
  47774. - immediate | unsupported)
  47775. - if test "$hardcode_direct" = no; then
  47776. - add="$dir/$linklib"
  47777. - case $host in
  47778. - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  47779. - *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  47780. - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  47781. - *-*-unixware7*) add_dir="-L$dir" ;;
  47782. - *-*-darwin* )
  47783. - # if the lib is a module then we can not link against
  47784. - # it, someone is ignoring the new warnings I added
  47785. - if /usr/bin/file -L $add 2> /dev/null |
  47786. - $EGREP ": [^:]* bundle" >/dev/null ; then
  47787. - $echo "** Warning, lib $linklib is a module, not a shared library"
  47788. - if test -z "$old_library" ; then
  47789. - $echo
  47790. - $echo "** And there doesn't seem to be a static archive available"
  47791. - $echo "** The link will probably fail, sorry"
  47792. - else
  47793. - add="$dir/$old_library"
  47794. - fi
  47795. - fi
  47796. - esac
  47797. - elif test "$hardcode_minus_L" = no; then
  47798. - case $host in
  47799. - *-*-sunos*) add_shlibpath="$dir" ;;
  47800. - esac
  47801. - add_dir="-L$dir"
  47802. - add="-l$name"
  47803. - elif test "$hardcode_shlibpath_var" = no; then
  47804. - add_shlibpath="$dir"
  47805. - add="-l$name"
  47806. - else
  47807. - lib_linked=no
  47808. - fi
  47809. - ;;
  47810. - relink)
  47811. - if test "$hardcode_direct" = yes; then
  47812. - add="$dir/$linklib"
  47813. - elif test "$hardcode_minus_L" = yes; then
  47814. - add_dir="-L$dir"
  47815. - # Try looking first in the location we're being installed to.
  47816. - if test -n "$inst_prefix_dir"; then
  47817. - case $libdir in
  47818. - [\\/]*)
  47819. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  47820. - ;;
  47821. - esac
  47822. - fi
  47823. - add="-l$name"
  47824. - elif test "$hardcode_shlibpath_var" = yes; then
  47825. - add_shlibpath="$dir"
  47826. - add="-l$name"
  47827. - else
  47828. - lib_linked=no
  47829. - fi
  47830. - ;;
  47831. - *) lib_linked=no ;;
  47832. - esac
  47833. - if test "$lib_linked" != yes; then
  47834. - $echo "$modename: configuration error: unsupported hardcode properties"
  47835. - exit $EXIT_FAILURE
  47836. - fi
  47837. - if test -n "$add_shlibpath"; then
  47838. - case :$compile_shlibpath: in
  47839. - *":$add_shlibpath:"*) ;;
  47840. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  47841. - esac
  47842. - fi
  47843. - if test "$linkmode" = prog; then
  47844. - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  47845. - test -n "$add" && compile_deplibs="$add $compile_deplibs"
  47846. - else
  47847. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  47848. - test -n "$add" && deplibs="$add $deplibs"
  47849. - if test "$hardcode_direct" != yes && \
  47850. - test "$hardcode_minus_L" != yes && \
  47851. - test "$hardcode_shlibpath_var" = yes; then
  47852. - case :$finalize_shlibpath: in
  47853. - *":$libdir:"*) ;;
  47854. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  47855. - esac
  47856. - fi
  47857. - fi
  47858. - fi
  47859. +# func_extract_an_archive dir oldlib
  47860. +func_extract_an_archive ()
  47861. +{
  47862. + $opt_debug
  47863. + f_ex_an_ar_dir="$1"; shift
  47864. + f_ex_an_ar_oldlib="$1"
  47865. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  47866. + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  47867. + :
  47868. + else
  47869. + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
  47870. + fi
  47871. +}
  47872. - if test "$linkmode" = prog || test "$mode" = relink; then
  47873. - add_shlibpath=
  47874. - add_dir=
  47875. - add=
  47876. - # Finalize command for both is simple: just hardcode it.
  47877. - if test "$hardcode_direct" = yes; then
  47878. - add="$libdir/$linklib"
  47879. - elif test "$hardcode_minus_L" = yes; then
  47880. - add_dir="-L$libdir"
  47881. - add="-l$name"
  47882. - elif test "$hardcode_shlibpath_var" = yes; then
  47883. - case :$finalize_shlibpath: in
  47884. - *":$libdir:"*) ;;
  47885. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  47886. - esac
  47887. - add="-l$name"
  47888. - elif test "$hardcode_automatic" = yes; then
  47889. - if test -n "$inst_prefix_dir" &&
  47890. - test -f "$inst_prefix_dir$libdir/$linklib" ; then
  47891. - add="$inst_prefix_dir$libdir/$linklib"
  47892. - else
  47893. - add="$libdir/$linklib"
  47894. - fi
  47895. - else
  47896. - # We cannot seem to hardcode it, guess we'll fake it.
  47897. - add_dir="-L$libdir"
  47898. - # Try looking first in the location we're being installed to.
  47899. - if test -n "$inst_prefix_dir"; then
  47900. - case $libdir in
  47901. - [\\/]*)
  47902. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  47903. - ;;
  47904. - esac
  47905. - fi
  47906. - add="-l$name"
  47907. - fi
  47908. - if test "$linkmode" = prog; then
  47909. - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  47910. - test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  47911. - else
  47912. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  47913. - test -n "$add" && deplibs="$add $deplibs"
  47914. - fi
  47915. - fi
  47916. - elif test "$linkmode" = prog; then
  47917. - # Here we assume that one of hardcode_direct or hardcode_minus_L
  47918. - # is not unsupported. This is valid on all known static and
  47919. - # shared platforms.
  47920. - if test "$hardcode_direct" != unsupported; then
  47921. - test -n "$old_library" && linklib="$old_library"
  47922. - compile_deplibs="$dir/$linklib $compile_deplibs"
  47923. - finalize_deplibs="$dir/$linklib $finalize_deplibs"
  47924. - else
  47925. - compile_deplibs="-l$name -L$dir $compile_deplibs"
  47926. - finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  47927. - fi
  47928. - elif test "$build_libtool_libs" = yes; then
  47929. - # Not a shared library
  47930. - if test "$deplibs_check_method" != pass_all; then
  47931. - # We're trying link a shared library against a static one
  47932. - # but the system doesn't support it.
  47933. +# func_extract_archives gentop oldlib ...
  47934. +func_extract_archives ()
  47935. +{
  47936. + $opt_debug
  47937. + my_gentop="$1"; shift
  47938. + my_oldlibs=${1+"$@"}
  47939. + my_oldobjs=""
  47940. + my_xlib=""
  47941. + my_xabs=""
  47942. + my_xdir=""
  47943. - # Just print a warning and add the library to dependency_libs so
  47944. - # that the program can be linked against the static library.
  47945. - $echo
  47946. - $echo "*** Warning: This system can not link to static lib archive $lib."
  47947. - $echo "*** I have the capability to make that library automatically link in when"
  47948. - $echo "*** you link to this library. But I can only do this if you have a"
  47949. - $echo "*** shared version of the library, which you do not appear to have."
  47950. - if test "$module" = yes; then
  47951. - $echo "*** But as you try to build a module library, libtool will still create "
  47952. - $echo "*** a static module, that should work as long as the dlopening application"
  47953. - $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  47954. - if test -z "$global_symbol_pipe"; then
  47955. - $echo
  47956. - $echo "*** However, this would only work if libtool was able to extract symbol"
  47957. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  47958. - $echo "*** not find such a program. So, this module is probably useless."
  47959. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  47960. - fi
  47961. - if test "$build_old_libs" = no; then
  47962. - build_libtool_libs=module
  47963. - build_old_libs=yes
  47964. - else
  47965. - build_libtool_libs=no
  47966. - fi
  47967. - fi
  47968. + for my_xlib in $my_oldlibs; do
  47969. + # Extract the objects.
  47970. + case $my_xlib in
  47971. + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  47972. + *) my_xabs=`pwd`"/$my_xlib" ;;
  47973. + esac
  47974. + func_basename "$my_xlib"
  47975. + my_xlib="$func_basename_result"
  47976. + my_xlib_u=$my_xlib
  47977. + while :; do
  47978. + case " $extracted_archives " in
  47979. + *" $my_xlib_u "*)
  47980. + func_arith $extracted_serial + 1
  47981. + extracted_serial=$func_arith_result
  47982. + my_xlib_u=lt$extracted_serial-$my_xlib ;;
  47983. + *) break ;;
  47984. + esac
  47985. + done
  47986. + extracted_archives="$extracted_archives $my_xlib_u"
  47987. + my_xdir="$my_gentop/$my_xlib_u"
  47988. +
  47989. + func_mkdir_p "$my_xdir"
  47990. +
  47991. + case $host in
  47992. + *-darwin*)
  47993. + func_verbose "Extracting $my_xabs"
  47994. + # Do not bother doing anything if just a dry run
  47995. + $opt_dry_run || {
  47996. + darwin_orig_dir=`pwd`
  47997. + cd $my_xdir || exit $?
  47998. + darwin_archive=$my_xabs
  47999. + darwin_curdir=`pwd`
  48000. + darwin_base_archive=`basename "$darwin_archive"`
  48001. + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
  48002. + if test -n "$darwin_arches"; then
  48003. + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
  48004. + darwin_arch=
  48005. + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
  48006. + for darwin_arch in $darwin_arches ; do
  48007. + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  48008. + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  48009. + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  48010. + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  48011. + cd "$darwin_curdir"
  48012. + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  48013. + done # $darwin_arches
  48014. + ## Okay now we've a bunch of thin objects, gotta fatten them up :)
  48015. + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
  48016. + darwin_file=
  48017. + darwin_files=
  48018. + for darwin_file in $darwin_filelist; do
  48019. + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  48020. + $LIPO -create -output "$darwin_file" $darwin_files
  48021. + done # $darwin_filelist
  48022. + $RM -rf unfat-$$
  48023. + cd "$darwin_orig_dir"
  48024. else
  48025. - deplibs="$dir/$old_library $deplibs"
  48026. - link_static=yes
  48027. - fi
  48028. - fi # link shared/static library?
  48029. + cd $darwin_orig_dir
  48030. + func_extract_an_archive "$my_xdir" "$my_xabs"
  48031. + fi # $darwin_arches
  48032. + } # !$opt_dry_run
  48033. + ;;
  48034. + *)
  48035. + func_extract_an_archive "$my_xdir" "$my_xabs"
  48036. + ;;
  48037. + esac
  48038. + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  48039. + done
  48040. - if test "$linkmode" = lib; then
  48041. - if test -n "$dependency_libs" &&
  48042. - { test "$hardcode_into_libs" != yes ||
  48043. - test "$build_old_libs" = yes ||
  48044. - test "$link_static" = yes; }; then
  48045. - # Extract -R from dependency_libs
  48046. - temp_deplibs=
  48047. - for libdir in $dependency_libs; do
  48048. - case $libdir in
  48049. - -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
  48050. - case " $xrpath " in
  48051. - *" $temp_xrpath "*) ;;
  48052. - *) xrpath="$xrpath $temp_xrpath";;
  48053. - esac;;
  48054. - *) temp_deplibs="$temp_deplibs $libdir";;
  48055. - esac
  48056. - done
  48057. - dependency_libs="$temp_deplibs"
  48058. - fi
  48059. + func_extract_archives_result="$my_oldobjs"
  48060. +}
  48061. - newlib_search_path="$newlib_search_path $absdir"
  48062. - # Link against this library
  48063. - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  48064. - # ... and its dependency_libs
  48065. - tmp_libs=
  48066. - for deplib in $dependency_libs; do
  48067. - newdependency_libs="$deplib $newdependency_libs"
  48068. - if test "X$duplicate_deps" = "Xyes" ; then
  48069. - case "$tmp_libs " in
  48070. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  48071. - esac
  48072. - fi
  48073. - tmp_libs="$tmp_libs $deplib"
  48074. - done
  48075. - if test "$link_all_deplibs" != no; then
  48076. - # Add the search paths of all dependency libraries
  48077. - for deplib in $dependency_libs; do
  48078. - case $deplib in
  48079. - -L*) path="$deplib" ;;
  48080. - *.la)
  48081. - dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
  48082. - test "X$dir" = "X$deplib" && dir="."
  48083. - # We need an absolute path.
  48084. - case $dir in
  48085. - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  48086. - *)
  48087. - absdir=`cd "$dir" && pwd`
  48088. - if test -z "$absdir"; then
  48089. - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
  48090. - absdir="$dir"
  48091. - fi
  48092. - ;;
  48093. - esac
  48094. - if grep "^installed=no" $deplib > /dev/null; then
  48095. - path="$absdir/$objdir"
  48096. - else
  48097. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  48098. - if test -z "$libdir"; then
  48099. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  48100. - exit $EXIT_FAILURE
  48101. - fi
  48102. - if test "$absdir" != "$libdir"; then
  48103. - $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
  48104. - fi
  48105. - path="$absdir"
  48106. - fi
  48107. - depdepl=
  48108. - case $host in
  48109. - *-*-darwin*)
  48110. - # we do not want to link against static libs,
  48111. - # but need to link against shared
  48112. - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  48113. - if test -n "$deplibrary_names" ; then
  48114. - for tmp in $deplibrary_names ; do
  48115. - depdepl=$tmp
  48116. - done
  48117. - if test -f "$path/$depdepl" ; then
  48118. - depdepl="$path/$depdepl"
  48119. - fi
  48120. - # do not add paths which are already there
  48121. - case " $newlib_search_path " in
  48122. - *" $path "*) ;;
  48123. - *) newlib_search_path="$newlib_search_path $path";;
  48124. - esac
  48125. - fi
  48126. - path=""
  48127. - ;;
  48128. - *)
  48129. - path="-L$path"
  48130. - ;;
  48131. - esac
  48132. - ;;
  48133. - -l*)
  48134. - case $host in
  48135. - *-*-darwin*)
  48136. - # Again, we only want to link against shared libraries
  48137. - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
  48138. - for tmp in $newlib_search_path ; do
  48139. - if test -f "$tmp/lib$tmp_libs.dylib" ; then
  48140. - eval depdepl="$tmp/lib$tmp_libs.dylib"
  48141. - break
  48142. - fi
  48143. - done
  48144. - path=""
  48145. - ;;
  48146. - *) continue ;;
  48147. - esac
  48148. - ;;
  48149. - *) continue ;;
  48150. - esac
  48151. - case " $deplibs " in
  48152. - *" $path "*) ;;
  48153. - *) deplibs="$path $deplibs" ;;
  48154. - esac
  48155. - case " $deplibs " in
  48156. - *" $depdepl "*) ;;
  48157. - *) deplibs="$depdepl $deplibs" ;;
  48158. - esac
  48159. - done
  48160. - fi # link_all_deplibs != no
  48161. - fi # linkmode = lib
  48162. - done # for deplib in $libs
  48163. - dependency_libs="$newdependency_libs"
  48164. - if test "$pass" = dlpreopen; then
  48165. - # Link the dlpreopened libraries before other libraries
  48166. - for deplib in $save_deplibs; do
  48167. - deplibs="$deplib $deplibs"
  48168. - done
  48169. - fi
  48170. - if test "$pass" != dlopen; then
  48171. - if test "$pass" != conv; then
  48172. - # Make sure lib_search_path contains only unique directories.
  48173. - lib_search_path=
  48174. - for dir in $newlib_search_path; do
  48175. - case "$lib_search_path " in
  48176. - *" $dir "*) ;;
  48177. - *) lib_search_path="$lib_search_path $dir" ;;
  48178. - esac
  48179. - done
  48180. - newlib_search_path=
  48181. - fi
  48182. - if test "$linkmode,$pass" != "prog,link"; then
  48183. - vars="deplibs"
  48184. - else
  48185. - vars="compile_deplibs finalize_deplibs"
  48186. +# func_emit_wrapper_part1 [arg=no]
  48187. +#
  48188. +# Emit the first part of a libtool wrapper script on stdout.
  48189. +# For more information, see the description associated with
  48190. +# func_emit_wrapper(), below.
  48191. +func_emit_wrapper_part1 ()
  48192. +{
  48193. + func_emit_wrapper_part1_arg1=no
  48194. + if test -n "$1" ; then
  48195. + func_emit_wrapper_part1_arg1=$1
  48196. fi
  48197. - for var in $vars dependency_libs; do
  48198. - # Add libraries to $var in reverse order
  48199. - eval tmp_libs=\"\$$var\"
  48200. - new_libs=
  48201. - for deplib in $tmp_libs; do
  48202. - # FIXME: Pedantically, this is the right thing to do, so
  48203. - # that some nasty dependency loop isn't accidentally
  48204. - # broken:
  48205. - #new_libs="$deplib $new_libs"
  48206. - # Pragmatically, this seems to cause very few problems in
  48207. - # practice:
  48208. - case $deplib in
  48209. - -L*) new_libs="$deplib $new_libs" ;;
  48210. - -R*) ;;
  48211. - *)
  48212. - # And here is the reason: when a library appears more
  48213. - # than once as an explicit dependence of a library, or
  48214. - # is implicitly linked in more than once by the
  48215. - # compiler, it is considered special, and multiple
  48216. - # occurrences thereof are not removed. Compare this
  48217. - # with having the same library being listed as a
  48218. - # dependency of multiple other libraries: in this case,
  48219. - # we know (pedantically, we assume) the library does not
  48220. - # need to be listed more than once, so we keep only the
  48221. - # last copy. This is not always right, but it is rare
  48222. - # enough that we require users that really mean to play
  48223. - # such unportable linking tricks to link the library
  48224. - # using -Wl,-lname, so that libtool does not consider it
  48225. - # for duplicate removal.
  48226. - case " $specialdeplibs " in
  48227. - *" $deplib "*) new_libs="$deplib $new_libs" ;;
  48228. - *)
  48229. - case " $new_libs " in
  48230. - *" $deplib "*) ;;
  48231. - *) new_libs="$deplib $new_libs" ;;
  48232. - esac
  48233. - ;;
  48234. - esac
  48235. - ;;
  48236. - esac
  48237. - done
  48238. - tmp_libs=
  48239. - for deplib in $new_libs; do
  48240. - case $deplib in
  48241. - -L*)
  48242. - case " $tmp_libs " in
  48243. - *" $deplib "*) ;;
  48244. - *) tmp_libs="$tmp_libs $deplib" ;;
  48245. - esac
  48246. - ;;
  48247. - *) tmp_libs="$tmp_libs $deplib" ;;
  48248. - esac
  48249. - done
  48250. - eval $var=\"$tmp_libs\"
  48251. - done # for var
  48252. - fi
  48253. - # Last step: remove runtime libs from dependency_libs
  48254. - # (they stay in deplibs)
  48255. - tmp_libs=
  48256. - for i in $dependency_libs ; do
  48257. - case " $predeps $postdeps $compiler_lib_search_path " in
  48258. - *" $i "*)
  48259. - i=""
  48260. - ;;
  48261. - esac
  48262. - if test -n "$i" ; then
  48263. - tmp_libs="$tmp_libs $i"
  48264. - fi
  48265. - done
  48266. - dependency_libs=$tmp_libs
  48267. - done # for pass
  48268. - if test "$linkmode" = prog; then
  48269. - dlfiles="$newdlfiles"
  48270. - dlprefiles="$newdlprefiles"
  48271. - fi
  48272. - case $linkmode in
  48273. - oldlib)
  48274. - if test -n "$deplibs"; then
  48275. - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
  48276. - fi
  48277. + $ECHO "\
  48278. +#! $SHELL
  48279. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  48280. - $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
  48281. - fi
  48282. +# $output - temporary wrapper script for $objdir/$outputname
  48283. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  48284. +#
  48285. +# The $output program cannot be directly executed until all the libtool
  48286. +# libraries that it depends on are installed.
  48287. +#
  48288. +# This wrapper script should never be moved out of the build directory.
  48289. +# If it is, it will not operate correctly.
  48290. - if test -n "$rpath"; then
  48291. - $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
  48292. - fi
  48293. +# Sed substitution that helps us do robust quoting. It backslashifies
  48294. +# metacharacters that are still active within double-quoted strings.
  48295. +Xsed='${SED} -e 1s/^X//'
  48296. +sed_quote_subst='$sed_quote_subst'
  48297. - if test -n "$xrpath"; then
  48298. - $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
  48299. - fi
  48300. +# Be Bourne compatible
  48301. +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
  48302. + emulate sh
  48303. + NULLCMD=:
  48304. + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
  48305. + # is contrary to our usage. Disable this feature.
  48306. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  48307. + setopt NO_GLOB_SUBST
  48308. +else
  48309. + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  48310. +fi
  48311. +BIN_SH=xpg4; export BIN_SH # for Tru64
  48312. +DUALCASE=1; export DUALCASE # for MKS sh
  48313. - if test -n "$vinfo"; then
  48314. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
  48315. - fi
  48316. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  48317. +# if CDPATH is set.
  48318. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  48319. - if test -n "$release"; then
  48320. - $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
  48321. - fi
  48322. +relink_command=\"$relink_command\"
  48323. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  48324. - $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
  48325. - fi
  48326. +# This environment variable determines our operation mode.
  48327. +if test \"\$libtool_install_magic\" = \"$magic\"; then
  48328. + # install mode needs the following variables:
  48329. + generated_by_libtool_version='$macro_version'
  48330. + notinst_deplibs='$notinst_deplibs'
  48331. +else
  48332. + # When we are sourced in execute mode, \$file and \$ECHO are already set.
  48333. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  48334. + ECHO=\"$qecho\"
  48335. + file=\"\$0\"
  48336. + # Make sure echo works.
  48337. + if test \"X\$1\" = X--no-reexec; then
  48338. + # Discard the --no-reexec flag, and continue.
  48339. + shift
  48340. + elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  48341. + # Yippee, \$ECHO works!
  48342. + :
  48343. + else
  48344. + # Restart under the correct shell, and then maybe \$ECHO will work.
  48345. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  48346. + fi
  48347. + fi\
  48348. +"
  48349. + $ECHO "\
  48350. - # Now set the variables for building old libraries.
  48351. - build_libtool_libs=no
  48352. - oldlibs="$output"
  48353. - objs="$objs$old_deplibs"
  48354. - ;;
  48355. + # Find the directory that this script lives in.
  48356. + thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  48357. + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  48358. - lib)
  48359. - # Make sure we only generate libraries of the form `libNAME.la'.
  48360. - case $outputname in
  48361. - lib*)
  48362. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  48363. - eval shared_ext=\"$shrext_cmds\"
  48364. - eval libname=\"$libname_spec\"
  48365. - ;;
  48366. - *)
  48367. - if test "$module" = no; then
  48368. - $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
  48369. - $echo "$help" 1>&2
  48370. - exit $EXIT_FAILURE
  48371. - fi
  48372. - if test "$need_lib_prefix" != no; then
  48373. - # Add the "lib" prefix for modules if required
  48374. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  48375. - eval shared_ext=\"$shrext_cmds\"
  48376. - eval libname=\"$libname_spec\"
  48377. - else
  48378. - libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  48379. - fi
  48380. - ;;
  48381. + # Follow symbolic links until we get to the real thisdir.
  48382. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  48383. + while test -n \"\$file\"; do
  48384. + destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  48385. +
  48386. + # If there was a directory component, then change thisdir.
  48387. + if test \"x\$destdir\" != \"x\$file\"; then
  48388. + case \"\$destdir\" in
  48389. + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  48390. + *) thisdir=\"\$thisdir/\$destdir\" ;;
  48391. esac
  48392. + fi
  48393. - if test -n "$objs"; then
  48394. - if test "$deplibs_check_method" != pass_all; then
  48395. - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
  48396. - exit $EXIT_FAILURE
  48397. - else
  48398. - $echo
  48399. - $echo "*** Warning: Linking the shared library $output against the non-libtool"
  48400. - $echo "*** objects $objs is not portable!"
  48401. - libobjs="$libobjs $objs"
  48402. - fi
  48403. - fi
  48404. + file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  48405. + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  48406. + done
  48407. +"
  48408. +}
  48409. +# end: func_emit_wrapper_part1
  48410. - if test "$dlself" != no; then
  48411. - $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
  48412. - fi
  48413. +# func_emit_wrapper_part2 [arg=no]
  48414. +#
  48415. +# Emit the second part of a libtool wrapper script on stdout.
  48416. +# For more information, see the description associated with
  48417. +# func_emit_wrapper(), below.
  48418. +func_emit_wrapper_part2 ()
  48419. +{
  48420. + func_emit_wrapper_part2_arg1=no
  48421. + if test -n "$1" ; then
  48422. + func_emit_wrapper_part2_arg1=$1
  48423. + fi
  48424. +
  48425. + $ECHO "\
  48426. +
  48427. + # Usually 'no', except on cygwin/mingw when embedded into
  48428. + # the cwrapper.
  48429. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  48430. + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  48431. + # special case for '.'
  48432. + if test \"\$thisdir\" = \".\"; then
  48433. + thisdir=\`pwd\`
  48434. + fi
  48435. + # remove .libs from thisdir
  48436. + case \"\$thisdir\" in
  48437. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  48438. + $objdir ) thisdir=. ;;
  48439. + esac
  48440. + fi
  48441. - set dummy $rpath
  48442. - if test "$#" -gt 2; then
  48443. - $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
  48444. + # Try to get the absolute directory name.
  48445. + absdir=\`cd \"\$thisdir\" && pwd\`
  48446. + test -n \"\$absdir\" && thisdir=\"\$absdir\"
  48447. +"
  48448. +
  48449. + if test "$fast_install" = yes; then
  48450. + $ECHO "\
  48451. + program=lt-'$outputname'$exeext
  48452. + progdir=\"\$thisdir/$objdir\"
  48453. +
  48454. + if test ! -f \"\$progdir/\$program\" ||
  48455. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  48456. + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  48457. +
  48458. + file=\"\$\$-\$program\"
  48459. +
  48460. + if test ! -d \"\$progdir\"; then
  48461. + $MKDIR \"\$progdir\"
  48462. + else
  48463. + $RM \"\$progdir/\$file\"
  48464. + fi"
  48465. +
  48466. + $ECHO "\
  48467. +
  48468. + # relink executable if necessary
  48469. + if test -n \"\$relink_command\"; then
  48470. + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  48471. + else
  48472. + $ECHO \"\$relink_command_output\" >&2
  48473. + $RM \"\$progdir/\$file\"
  48474. + exit 1
  48475. fi
  48476. - install_libdir="$2"
  48477. + fi
  48478. - oldlibs=
  48479. - if test -z "$rpath"; then
  48480. - if test "$build_libtool_libs" = yes; then
  48481. - # Building a libtool convenience library.
  48482. - # Some compilers have problems with a `.al' extension so
  48483. - # convenience libraries should have the same extension an
  48484. - # archive normally would.
  48485. - oldlibs="$output_objdir/$libname.$libext $oldlibs"
  48486. - build_libtool_libs=convenience
  48487. - build_old_libs=yes
  48488. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  48489. + { $RM \"\$progdir/\$program\";
  48490. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  48491. + $RM \"\$progdir/\$file\"
  48492. + fi"
  48493. + else
  48494. + $ECHO "\
  48495. + program='$outputname'
  48496. + progdir=\"\$thisdir/$objdir\"
  48497. +"
  48498. fi
  48499. - if test -n "$vinfo"; then
  48500. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
  48501. - fi
  48502. + $ECHO "\
  48503. - if test -n "$release"; then
  48504. - $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
  48505. - fi
  48506. - else
  48507. + if test -f \"\$progdir/\$program\"; then"
  48508. - # Parse the version information argument.
  48509. - save_ifs="$IFS"; IFS=':'
  48510. - set dummy $vinfo 0 0 0
  48511. - IFS="$save_ifs"
  48512. + # Export our shlibpath_var if we have one.
  48513. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  48514. + $ECHO "\
  48515. + # Add our own library path to $shlibpath_var
  48516. + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  48517. - if test -n "$8"; then
  48518. - $echo "$modename: too many parameters to \`-version-info'" 1>&2
  48519. - $echo "$help" 1>&2
  48520. - exit $EXIT_FAILURE
  48521. - fi
  48522. + # Some systems cannot cope with colon-terminated $shlibpath_var
  48523. + # The second colon is a workaround for a bug in BeOS R4 sed
  48524. + $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  48525. - # convert absolute version numbers to libtool ages
  48526. - # this retains compatibility with .la files and attempts
  48527. - # to make the code below a bit more comprehensible
  48528. + export $shlibpath_var
  48529. +"
  48530. + fi
  48531. - case $vinfo_number in
  48532. - yes)
  48533. - number_major="$2"
  48534. - number_minor="$3"
  48535. - number_revision="$4"
  48536. - #
  48537. - # There are really only two kinds -- those that
  48538. - # use the current revision as the major version
  48539. - # and those that subtract age and use age as
  48540. - # a minor version. But, then there is irix
  48541. - # which has an extra 1 added just for fun
  48542. - #
  48543. - case $version_type in
  48544. - darwin|linux|osf|windows)
  48545. - current=`expr $number_major + $number_minor`
  48546. - age="$number_minor"
  48547. - revision="$number_revision"
  48548. - ;;
  48549. - freebsd-aout|freebsd-elf|sunos)
  48550. - current="$number_major"
  48551. - revision="$number_minor"
  48552. - age="0"
  48553. - ;;
  48554. - irix|nonstopux)
  48555. - current=`expr $number_major + $number_minor - 1`
  48556. - age="$number_minor"
  48557. - revision="$number_minor"
  48558. - ;;
  48559. - esac
  48560. - ;;
  48561. - no)
  48562. - current="$2"
  48563. - revision="$3"
  48564. - age="$4"
  48565. - ;;
  48566. - esac
  48567. + # fixup the dll searchpath if we need to.
  48568. + if test -n "$dllsearchpath"; then
  48569. + $ECHO "\
  48570. + # Add the dll search path components to the executable PATH
  48571. + PATH=$dllsearchpath:\$PATH
  48572. +"
  48573. + fi
  48574. - # Check that each of the things are valid numbers.
  48575. - case $current in
  48576. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  48577. - *)
  48578. - $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
  48579. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  48580. - exit $EXIT_FAILURE
  48581. + $ECHO "\
  48582. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  48583. + # Run the actual program with our arguments.
  48584. +"
  48585. + case $host in
  48586. + # Backslashes separate directories on plain windows
  48587. + *-*-mingw | *-*-os2* | *-cegcc*)
  48588. + $ECHO "\
  48589. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  48590. +"
  48591. ;;
  48592. - esac
  48593. - case $revision in
  48594. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  48595. *)
  48596. - $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
  48597. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  48598. - exit $EXIT_FAILURE
  48599. + $ECHO "\
  48600. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  48601. +"
  48602. ;;
  48603. esac
  48604. + $ECHO "\
  48605. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  48606. + exit 1
  48607. + fi
  48608. + else
  48609. + # The program doesn't exist.
  48610. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  48611. + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  48612. + $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  48613. + exit 1
  48614. + fi
  48615. +fi\
  48616. +"
  48617. +}
  48618. +# end: func_emit_wrapper_part2
  48619. - case $age in
  48620. - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  48621. - *)
  48622. - $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
  48623. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  48624. - exit $EXIT_FAILURE
  48625. - ;;
  48626. - esac
  48627. - if test "$age" -gt "$current"; then
  48628. - $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
  48629. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  48630. - exit $EXIT_FAILURE
  48631. +# func_emit_wrapper [arg=no]
  48632. +#
  48633. +# Emit a libtool wrapper script on stdout.
  48634. +# Don't directly open a file because we may want to
  48635. +# incorporate the script contents within a cygwin/mingw
  48636. +# wrapper executable. Must ONLY be called from within
  48637. +# func_mode_link because it depends on a number of variables
  48638. +# set therein.
  48639. +#
  48640. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  48641. +# variable will take. If 'yes', then the emitted script
  48642. +# will assume that the directory in which it is stored is
  48643. +# the $objdir directory. This is a cygwin/mingw-specific
  48644. +# behavior.
  48645. +func_emit_wrapper ()
  48646. +{
  48647. + func_emit_wrapper_arg1=no
  48648. + if test -n "$1" ; then
  48649. + func_emit_wrapper_arg1=$1
  48650. fi
  48651. - # Calculate the version variables.
  48652. - major=
  48653. - versuffix=
  48654. - verstring=
  48655. - case $version_type in
  48656. - none) ;;
  48657. -
  48658. - darwin)
  48659. - # Like Linux, but with the current version available in
  48660. - # verstring for coding it into the library header
  48661. - major=.`expr $current - $age`
  48662. - versuffix="$major.$age.$revision"
  48663. - # Darwin ld doesn't like 0 for these options...
  48664. - minor_current=`expr $current + 1`
  48665. - verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  48666. - ;;
  48667. + # split this up so that func_emit_cwrapperexe_src
  48668. + # can call each part independently.
  48669. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  48670. + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  48671. +}
  48672. - freebsd-aout)
  48673. - major=".$current"
  48674. - versuffix=".$current.$revision";
  48675. - ;;
  48676. - freebsd-elf)
  48677. - major=".$current"
  48678. - versuffix=".$current";
  48679. - ;;
  48680. +# func_to_host_path arg
  48681. +#
  48682. +# Convert paths to host format when used with build tools.
  48683. +# Intended for use with "native" mingw (where libtool itself
  48684. +# is running under the msys shell), or in the following cross-
  48685. +# build environments:
  48686. +# $build $host
  48687. +# mingw (msys) mingw [e.g. native]
  48688. +# cygwin mingw
  48689. +# *nix + wine mingw
  48690. +# where wine is equipped with the `winepath' executable.
  48691. +# In the native mingw case, the (msys) shell automatically
  48692. +# converts paths for any non-msys applications it launches,
  48693. +# but that facility isn't available from inside the cwrapper.
  48694. +# Similar accommodations are necessary for $host mingw and
  48695. +# $build cygwin. Calling this function does no harm for other
  48696. +# $host/$build combinations not listed above.
  48697. +#
  48698. +# ARG is the path (on $build) that should be converted to
  48699. +# the proper representation for $host. The result is stored
  48700. +# in $func_to_host_path_result.
  48701. +func_to_host_path ()
  48702. +{
  48703. + func_to_host_path_result="$1"
  48704. + if test -n "$1" ; then
  48705. + case $host in
  48706. + *mingw* )
  48707. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  48708. + case $build in
  48709. + *mingw* ) # actually, msys
  48710. + # awkward: cmd appends spaces to result
  48711. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  48712. + func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  48713. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  48714. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  48715. + $SED -e "$lt_sed_naive_backslashify"`
  48716. + ;;
  48717. + *cygwin* )
  48718. + func_to_host_path_tmp1=`cygpath -w "$1"`
  48719. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  48720. + $SED -e "$lt_sed_naive_backslashify"`
  48721. + ;;
  48722. + * )
  48723. + # Unfortunately, winepath does not exit with a non-zero
  48724. + # error code, so we are forced to check the contents of
  48725. + # stdout. On the other hand, if the command is not
  48726. + # found, the shell will set an exit code of 127 and print
  48727. + # *an error message* to stdout. So we must check for both
  48728. + # error code of zero AND non-empty stdout, which explains
  48729. + # the odd construction:
  48730. + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  48731. + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  48732. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  48733. + $SED -e "$lt_sed_naive_backslashify"`
  48734. + else
  48735. + # Allow warning below.
  48736. + func_to_host_path_result=""
  48737. + fi
  48738. + ;;
  48739. + esac
  48740. + if test -z "$func_to_host_path_result" ; then
  48741. + func_error "Could not determine host path corresponding to"
  48742. + func_error " '$1'"
  48743. + func_error "Continuing, but uninstalled executables may not work."
  48744. + # Fallback:
  48745. + func_to_host_path_result="$1"
  48746. + fi
  48747. + ;;
  48748. + esac
  48749. + fi
  48750. +}
  48751. +# end: func_to_host_path
  48752. - irix | nonstopux)
  48753. - major=`expr $current - $age + 1`
  48754. +# func_to_host_pathlist arg
  48755. +#
  48756. +# Convert pathlists to host format when used with build tools.
  48757. +# See func_to_host_path(), above. This function supports the
  48758. +# following $build/$host combinations (but does no harm for
  48759. +# combinations not listed here):
  48760. +# $build $host
  48761. +# mingw (msys) mingw [e.g. native]
  48762. +# cygwin mingw
  48763. +# *nix + wine mingw
  48764. +#
  48765. +# Path separators are also converted from $build format to
  48766. +# $host format. If ARG begins or ends with a path separator
  48767. +# character, it is preserved (but converted to $host format)
  48768. +# on output.
  48769. +#
  48770. +# ARG is a pathlist (on $build) that should be converted to
  48771. +# the proper representation on $host. The result is stored
  48772. +# in $func_to_host_pathlist_result.
  48773. +func_to_host_pathlist ()
  48774. +{
  48775. + func_to_host_pathlist_result="$1"
  48776. + if test -n "$1" ; then
  48777. + case $host in
  48778. + *mingw* )
  48779. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  48780. + # Remove leading and trailing path separator characters from
  48781. + # ARG. msys behavior is inconsistent here, cygpath turns them
  48782. + # into '.;' and ';.', and winepath ignores them completely.
  48783. + func_to_host_pathlist_tmp2="$1"
  48784. + # Once set for this call, this variable should not be
  48785. + # reassigned. It is used in tha fallback case.
  48786. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  48787. + $SED -e 's|^:*||' -e 's|:*$||'`
  48788. + case $build in
  48789. + *mingw* ) # Actually, msys.
  48790. + # Awkward: cmd appends spaces to result.
  48791. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  48792. + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  48793. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  48794. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  48795. + $SED -e "$lt_sed_naive_backslashify"`
  48796. + ;;
  48797. + *cygwin* )
  48798. + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  48799. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  48800. + $SED -e "$lt_sed_naive_backslashify"`
  48801. + ;;
  48802. + * )
  48803. + # unfortunately, winepath doesn't convert pathlists
  48804. + func_to_host_pathlist_result=""
  48805. + func_to_host_pathlist_oldIFS=$IFS
  48806. + IFS=:
  48807. + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  48808. + IFS=$func_to_host_pathlist_oldIFS
  48809. + if test -n "$func_to_host_pathlist_f" ; then
  48810. + func_to_host_path "$func_to_host_pathlist_f"
  48811. + if test -n "$func_to_host_path_result" ; then
  48812. + if test -z "$func_to_host_pathlist_result" ; then
  48813. + func_to_host_pathlist_result="$func_to_host_path_result"
  48814. + else
  48815. + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  48816. + fi
  48817. + fi
  48818. + fi
  48819. + IFS=:
  48820. + done
  48821. + IFS=$func_to_host_pathlist_oldIFS
  48822. + ;;
  48823. + esac
  48824. + if test -z "$func_to_host_pathlist_result" ; then
  48825. + func_error "Could not determine the host path(s) corresponding to"
  48826. + func_error " '$1'"
  48827. + func_error "Continuing, but uninstalled executables may not work."
  48828. + # Fallback. This may break if $1 contains DOS-style drive
  48829. + # specifications. The fix is not to complicate the expression
  48830. + # below, but for the user to provide a working wine installation
  48831. + # with winepath so that path translation in the cross-to-mingw
  48832. + # case works properly.
  48833. + lt_replace_pathsep_nix_to_dos="s|:|;|g"
  48834. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  48835. + $SED -e "$lt_replace_pathsep_nix_to_dos"`
  48836. + fi
  48837. + # Now, add the leading and trailing path separators back
  48838. + case "$1" in
  48839. + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  48840. + ;;
  48841. + esac
  48842. + case "$1" in
  48843. + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  48844. + ;;
  48845. + esac
  48846. + ;;
  48847. + esac
  48848. + fi
  48849. +}
  48850. +# end: func_to_host_pathlist
  48851. - case $version_type in
  48852. - nonstopux) verstring_prefix=nonstopux ;;
  48853. - *) verstring_prefix=sgi ;;
  48854. - esac
  48855. - verstring="$verstring_prefix$major.$revision"
  48856. +# func_emit_cwrapperexe_src
  48857. +# emit the source code for a wrapper executable on stdout
  48858. +# Must ONLY be called from within func_mode_link because
  48859. +# it depends on a number of variable set therein.
  48860. +func_emit_cwrapperexe_src ()
  48861. +{
  48862. + cat <<EOF
  48863. - # Add in all the interfaces that we are compatible with.
  48864. - loop=$revision
  48865. - while test "$loop" -ne 0; do
  48866. - iface=`expr $revision - $loop`
  48867. - loop=`expr $loop - 1`
  48868. - verstring="$verstring_prefix$major.$iface:$verstring"
  48869. - done
  48870. +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  48871. + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  48872. - # Before this point, $major must not contain `.'.
  48873. - major=.$major
  48874. - versuffix="$major.$revision"
  48875. - ;;
  48876. + The $output program cannot be directly executed until all the libtool
  48877. + libraries that it depends on are installed.
  48878. - linux)
  48879. - major=.`expr $current - $age`
  48880. - versuffix="$major.$age.$revision"
  48881. - ;;
  48882. + This wrapper executable should never be moved out of the build directory.
  48883. + If it is, it will not operate correctly.
  48884. - osf)
  48885. - major=.`expr $current - $age`
  48886. - versuffix=".$current.$age.$revision"
  48887. - verstring="$current.$age.$revision"
  48888. + Currently, it simply execs the wrapper *script* "$SHELL $output",
  48889. + but could eventually absorb all of the scripts functionality and
  48890. + exec $objdir/$outputname directly.
  48891. +*/
  48892. +EOF
  48893. + cat <<"EOF"
  48894. +#include <stdio.h>
  48895. +#include <stdlib.h>
  48896. +#ifdef _MSC_VER
  48897. +# include <direct.h>
  48898. +# include <process.h>
  48899. +# include <io.h>
  48900. +# define setmode _setmode
  48901. +#else
  48902. +# include <unistd.h>
  48903. +# include <stdint.h>
  48904. +# ifdef __CYGWIN__
  48905. +# include <io.h>
  48906. +# define HAVE_SETENV
  48907. +# ifdef __STRICT_ANSI__
  48908. +char *realpath (const char *, char *);
  48909. +int putenv (char *);
  48910. +int setenv (const char *, const char *, int);
  48911. +# endif
  48912. +# endif
  48913. +#endif
  48914. +#include <malloc.h>
  48915. +#include <stdarg.h>
  48916. +#include <assert.h>
  48917. +#include <string.h>
  48918. +#include <ctype.h>
  48919. +#include <errno.h>
  48920. +#include <fcntl.h>
  48921. +#include <sys/stat.h>
  48922. - # Add in all the interfaces that we are compatible with.
  48923. - loop=$age
  48924. - while test "$loop" -ne 0; do
  48925. - iface=`expr $current - $loop`
  48926. - loop=`expr $loop - 1`
  48927. - verstring="$verstring:${iface}.0"
  48928. - done
  48929. +#if defined(PATH_MAX)
  48930. +# define LT_PATHMAX PATH_MAX
  48931. +#elif defined(MAXPATHLEN)
  48932. +# define LT_PATHMAX MAXPATHLEN
  48933. +#else
  48934. +# define LT_PATHMAX 1024
  48935. +#endif
  48936. - # Make executables depend on our current version.
  48937. - verstring="$verstring:${current}.0"
  48938. - ;;
  48939. +#ifndef S_IXOTH
  48940. +# define S_IXOTH 0
  48941. +#endif
  48942. +#ifndef S_IXGRP
  48943. +# define S_IXGRP 0
  48944. +#endif
  48945. - sunos)
  48946. - major=".$current"
  48947. - versuffix=".$current.$revision"
  48948. - ;;
  48949. +#ifdef _MSC_VER
  48950. +# define S_IXUSR _S_IEXEC
  48951. +# define stat _stat
  48952. +# ifndef _INTPTR_T_DEFINED
  48953. +# define intptr_t int
  48954. +# endif
  48955. +#endif
  48956. - windows)
  48957. - # Use '-' rather than '.', since we only want one
  48958. - # extension on DOS 8.3 filesystems.
  48959. - major=`expr $current - $age`
  48960. - versuffix="-$major"
  48961. - ;;
  48962. +#ifndef DIR_SEPARATOR
  48963. +# define DIR_SEPARATOR '/'
  48964. +# define PATH_SEPARATOR ':'
  48965. +#endif
  48966. - *)
  48967. - $echo "$modename: unknown library version type \`$version_type'" 1>&2
  48968. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  48969. - exit $EXIT_FAILURE
  48970. - ;;
  48971. - esac
  48972. +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  48973. + defined (__OS2__)
  48974. +# define HAVE_DOS_BASED_FILE_SYSTEM
  48975. +# define FOPEN_WB "wb"
  48976. +# ifndef DIR_SEPARATOR_2
  48977. +# define DIR_SEPARATOR_2 '\\'
  48978. +# endif
  48979. +# ifndef PATH_SEPARATOR_2
  48980. +# define PATH_SEPARATOR_2 ';'
  48981. +# endif
  48982. +#endif
  48983. - # Clear the version info if we defaulted, and they specified a release.
  48984. - if test -z "$vinfo" && test -n "$release"; then
  48985. - major=
  48986. - case $version_type in
  48987. - darwin)
  48988. - # we can't check for "0.0" in archive_cmds due to quoting
  48989. - # problems, so we reset it completely
  48990. - verstring=
  48991. - ;;
  48992. - *)
  48993. - verstring="0.0"
  48994. - ;;
  48995. - esac
  48996. - if test "$need_version" = no; then
  48997. - versuffix=
  48998. - else
  48999. - versuffix=".0.0"
  49000. - fi
  49001. - fi
  49002. +#ifndef DIR_SEPARATOR_2
  49003. +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  49004. +#else /* DIR_SEPARATOR_2 */
  49005. +# define IS_DIR_SEPARATOR(ch) \
  49006. + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  49007. +#endif /* DIR_SEPARATOR_2 */
  49008. - # Remove version info from name if versioning should be avoided
  49009. - if test "$avoid_version" = yes && test "$need_version" = no; then
  49010. - major=
  49011. - versuffix=
  49012. - verstring=""
  49013. - fi
  49014. +#ifndef PATH_SEPARATOR_2
  49015. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  49016. +#else /* PATH_SEPARATOR_2 */
  49017. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  49018. +#endif /* PATH_SEPARATOR_2 */
  49019. - # Check to see if the archive will have undefined symbols.
  49020. - if test "$allow_undefined" = yes; then
  49021. - if test "$allow_undefined_flag" = unsupported; then
  49022. - $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
  49023. - build_libtool_libs=no
  49024. - build_old_libs=yes
  49025. - fi
  49026. - else
  49027. - # Don't allow undefined symbols.
  49028. - allow_undefined_flag="$no_undefined_flag"
  49029. - fi
  49030. - fi
  49031. +#ifdef __CYGWIN__
  49032. +# define FOPEN_WB "wb"
  49033. +#endif
  49034. - if test "$mode" != relink; then
  49035. - # Remove our outputs, but don't remove object files since they
  49036. - # may have been created when compiling PIC objects.
  49037. - removelist=
  49038. - tempremovelist=`$echo "$output_objdir/*"`
  49039. - for p in $tempremovelist; do
  49040. - case $p in
  49041. - *.$objext)
  49042. - ;;
  49043. - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  49044. - if test "X$precious_files_regex" != "X"; then
  49045. - if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  49046. - then
  49047. - continue
  49048. - fi
  49049. - fi
  49050. - removelist="$removelist $p"
  49051. - ;;
  49052. - *) ;;
  49053. - esac
  49054. - done
  49055. - if test -n "$removelist"; then
  49056. - $show "${rm}r $removelist"
  49057. - $run ${rm}r $removelist
  49058. - fi
  49059. - fi
  49060. +#ifndef FOPEN_WB
  49061. +# define FOPEN_WB "w"
  49062. +#endif
  49063. +#ifndef _O_BINARY
  49064. +# define _O_BINARY 0
  49065. +#endif
  49066. - # Now set the variables for building old libraries.
  49067. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  49068. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  49069. +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  49070. +#define XFREE(stale) do { \
  49071. + if (stale) { free ((void *) stale); stale = 0; } \
  49072. +} while (0)
  49073. - # Transform .lo files to .o files.
  49074. - oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  49075. - fi
  49076. +#undef LTWRAPPER_DEBUGPRINTF
  49077. +#if defined DEBUGWRAPPER
  49078. +# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  49079. +static void
  49080. +ltwrapper_debugprintf (const char *fmt, ...)
  49081. +{
  49082. + va_list args;
  49083. + va_start (args, fmt);
  49084. + (void) vfprintf (stderr, fmt, args);
  49085. + va_end (args);
  49086. +}
  49087. +#else
  49088. +# define LTWRAPPER_DEBUGPRINTF(args)
  49089. +#endif
  49090. - # Eliminate all temporary directories.
  49091. - for path in $notinst_path; do
  49092. - lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
  49093. - deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
  49094. - dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
  49095. - done
  49096. +const char *program_name = NULL;
  49097. - if test -n "$xrpath"; then
  49098. - # If the user specified any rpath flags, then add them.
  49099. - temp_xrpath=
  49100. - for libdir in $xrpath; do
  49101. - temp_xrpath="$temp_xrpath -R$libdir"
  49102. - case "$finalize_rpath " in
  49103. - *" $libdir "*) ;;
  49104. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  49105. - esac
  49106. - done
  49107. - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  49108. - dependency_libs="$temp_xrpath $dependency_libs"
  49109. - fi
  49110. - fi
  49111. +void *xmalloc (size_t num);
  49112. +char *xstrdup (const char *string);
  49113. +const char *base_name (const char *name);
  49114. +char *find_executable (const char *wrapper);
  49115. +char *chase_symlinks (const char *pathspec);
  49116. +int make_executable (const char *path);
  49117. +int check_executable (const char *path);
  49118. +char *strendzap (char *str, const char *pat);
  49119. +void lt_fatal (const char *message, ...);
  49120. +void lt_setenv (const char *name, const char *value);
  49121. +char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  49122. +void lt_opt_process_env_set (const char *arg);
  49123. +void lt_opt_process_env_prepend (const char *arg);
  49124. +void lt_opt_process_env_append (const char *arg);
  49125. +int lt_split_name_value (const char *arg, char** name, char** value);
  49126. +void lt_update_exe_path (const char *name, const char *value);
  49127. +void lt_update_lib_path (const char *name, const char *value);
  49128. - # Make sure dlfiles contains only unique files that won't be dlpreopened
  49129. - old_dlfiles="$dlfiles"
  49130. - dlfiles=
  49131. - for lib in $old_dlfiles; do
  49132. - case " $dlprefiles $dlfiles " in
  49133. - *" $lib "*) ;;
  49134. - *) dlfiles="$dlfiles $lib" ;;
  49135. - esac
  49136. - done
  49137. +static const char *script_text_part1 =
  49138. +EOF
  49139. - # Make sure dlprefiles contains only unique files
  49140. - old_dlprefiles="$dlprefiles"
  49141. - dlprefiles=
  49142. - for lib in $old_dlprefiles; do
  49143. - case "$dlprefiles " in
  49144. - *" $lib "*) ;;
  49145. - *) dlprefiles="$dlprefiles $lib" ;;
  49146. - esac
  49147. - done
  49148. + func_emit_wrapper_part1 yes |
  49149. + $SED -e 's/\([\\"]\)/\\\1/g' \
  49150. + -e 's/^/ "/' -e 's/$/\\n"/'
  49151. + echo ";"
  49152. + cat <<EOF
  49153. - if test "$build_libtool_libs" = yes; then
  49154. - if test -n "$rpath"; then
  49155. - case $host in
  49156. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
  49157. - # these systems don't actually have a c library (as such)!
  49158. - ;;
  49159. - *-*-rhapsody* | *-*-darwin1.[012])
  49160. - # Rhapsody C library is in the System framework
  49161. - deplibs="$deplibs -framework System"
  49162. - ;;
  49163. - *-*-netbsd*)
  49164. - # Don't link with libc until the a.out ld.so is fixed.
  49165. - ;;
  49166. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  49167. - # Do not include libc due to us having libc/libc_r.
  49168. - ;;
  49169. - *-*-sco3.2v5* | *-*-sco5v6*)
  49170. - # Causes problems with __ctype
  49171. - ;;
  49172. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  49173. - # Compiler inserts libc in the correct place for threads to work
  49174. - ;;
  49175. - *)
  49176. - # Add libc to deplibs on all other systems if necessary.
  49177. - if test "$build_libtool_need_lc" = "yes"; then
  49178. - deplibs="$deplibs -lc"
  49179. - fi
  49180. - ;;
  49181. - esac
  49182. - fi
  49183. +static const char *script_text_part2 =
  49184. +EOF
  49185. + func_emit_wrapper_part2 yes |
  49186. + $SED -e 's/\([\\"]\)/\\\1/g' \
  49187. + -e 's/^/ "/' -e 's/$/\\n"/'
  49188. + echo ";"
  49189. +
  49190. + cat <<EOF
  49191. +const char * MAGIC_EXE = "$magic_exe";
  49192. +const char * LIB_PATH_VARNAME = "$shlibpath_var";
  49193. +EOF
  49194. - # Transform deplibs into only deplibs that can be linked in shared.
  49195. - name_save=$name
  49196. - libname_save=$libname
  49197. - release_save=$release
  49198. - versuffix_save=$versuffix
  49199. - major_save=$major
  49200. - # I'm not sure if I'm treating the release correctly. I think
  49201. - # release should show up in the -l (ie -lgmp5) so we don't want to
  49202. - # add it in twice. Is that correct?
  49203. - release=""
  49204. - versuffix=""
  49205. - major=""
  49206. - newdeplibs=
  49207. - droppeddeps=no
  49208. - case $deplibs_check_method in
  49209. - pass_all)
  49210. - # Don't check for shared/static. Everything works.
  49211. - # This might be a little naive. We might want to check
  49212. - # whether the library exists or not. But this is on
  49213. - # osf3 & osf4 and I'm not really sure... Just
  49214. - # implementing what was already the behavior.
  49215. - newdeplibs=$deplibs
  49216. - ;;
  49217. - test_compile)
  49218. - # This code stresses the "libraries are programs" paradigm to its
  49219. - # limits. Maybe even breaks it. We compile a program, linking it
  49220. - # against the deplibs as a proxy for the library. Then we can check
  49221. - # whether they linked in statically or dynamically with ldd.
  49222. - $rm conftest.c
  49223. - cat > conftest.c <<EOF
  49224. - int main() { return 0; }
  49225. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  49226. + func_to_host_pathlist "$temp_rpath"
  49227. + cat <<EOF
  49228. +const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  49229. EOF
  49230. - $rm conftest
  49231. - $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
  49232. - if test "$?" -eq 0 ; then
  49233. - ldd_output=`ldd conftest`
  49234. - for i in $deplibs; do
  49235. - name=`expr $i : '-l\(.*\)'`
  49236. - # If $name is empty we are operating on a -L argument.
  49237. - if test "$name" != "" && test "$name" -ne "0"; then
  49238. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  49239. - case " $predeps $postdeps " in
  49240. - *" $i "*)
  49241. - newdeplibs="$newdeplibs $i"
  49242. - i=""
  49243. - ;;
  49244. - esac
  49245. - fi
  49246. - if test -n "$i" ; then
  49247. - libname=`eval \\$echo \"$libname_spec\"`
  49248. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  49249. - set dummy $deplib_matches
  49250. - deplib_match=$2
  49251. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  49252. - newdeplibs="$newdeplibs $i"
  49253. - else
  49254. - droppeddeps=yes
  49255. - $echo
  49256. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  49257. - $echo "*** I have the capability to make that library automatically link in when"
  49258. - $echo "*** you link to this library. But I can only do this if you have a"
  49259. - $echo "*** shared version of the library, which I believe you do not have"
  49260. - $echo "*** because a test_compile did reveal that the linker did not use it for"
  49261. - $echo "*** its dynamic dependency list that programs get resolved with at runtime."
  49262. - fi
  49263. - fi
  49264. - else
  49265. - newdeplibs="$newdeplibs $i"
  49266. - fi
  49267. - done
  49268. - else
  49269. - # Error occurred in the first compile. Let's try to salvage
  49270. - # the situation: Compile a separate program for each library.
  49271. - for i in $deplibs; do
  49272. - name=`expr $i : '-l\(.*\)'`
  49273. - # If $name is empty we are operating on a -L argument.
  49274. - if test "$name" != "" && test "$name" != "0"; then
  49275. - $rm conftest
  49276. - $LTCC $LTCFLAGS -o conftest conftest.c $i
  49277. - # Did it work?
  49278. - if test "$?" -eq 0 ; then
  49279. - ldd_output=`ldd conftest`
  49280. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  49281. - case " $predeps $postdeps " in
  49282. - *" $i "*)
  49283. - newdeplibs="$newdeplibs $i"
  49284. - i=""
  49285. - ;;
  49286. - esac
  49287. - fi
  49288. - if test -n "$i" ; then
  49289. - libname=`eval \\$echo \"$libname_spec\"`
  49290. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  49291. - set dummy $deplib_matches
  49292. - deplib_match=$2
  49293. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  49294. - newdeplibs="$newdeplibs $i"
  49295. - else
  49296. - droppeddeps=yes
  49297. - $echo
  49298. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  49299. - $echo "*** I have the capability to make that library automatically link in when"
  49300. - $echo "*** you link to this library. But I can only do this if you have a"
  49301. - $echo "*** shared version of the library, which you do not appear to have"
  49302. - $echo "*** because a test_compile did reveal that the linker did not use this one"
  49303. - $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  49304. - fi
  49305. - fi
  49306. - else
  49307. - droppeddeps=yes
  49308. - $echo
  49309. - $echo "*** Warning! Library $i is needed by this library but I was not able to"
  49310. - $echo "*** make it link in! You will probably need to install it or some"
  49311. - $echo "*** library that it depends on before this library will be fully"
  49312. - $echo "*** functional. Installing it before continuing would be even better."
  49313. - fi
  49314. - else
  49315. - newdeplibs="$newdeplibs $i"
  49316. - fi
  49317. - done
  49318. - fi
  49319. - ;;
  49320. - file_magic*)
  49321. - set dummy $deplibs_check_method
  49322. - file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  49323. - for a_deplib in $deplibs; do
  49324. - name=`expr $a_deplib : '-l\(.*\)'`
  49325. - # If $name is empty we are operating on a -L argument.
  49326. - if test "$name" != "" && test "$name" != "0"; then
  49327. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  49328. - case " $predeps $postdeps " in
  49329. - *" $a_deplib "*)
  49330. - newdeplibs="$newdeplibs $a_deplib"
  49331. - a_deplib=""
  49332. - ;;
  49333. - esac
  49334. - fi
  49335. - if test -n "$a_deplib" ; then
  49336. - libname=`eval \\$echo \"$libname_spec\"`
  49337. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  49338. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  49339. - for potent_lib in $potential_libs; do
  49340. - # Follow soft links.
  49341. - if ls -lLd "$potent_lib" 2>/dev/null \
  49342. - | grep " -> " >/dev/null; then
  49343. - continue
  49344. - fi
  49345. - # The statement above tries to avoid entering an
  49346. - # endless loop below, in case of cyclic links.
  49347. - # We might still enter an endless loop, since a link
  49348. - # loop can be closed while we follow links,
  49349. - # but so what?
  49350. - potlib="$potent_lib"
  49351. - while test -h "$potlib" 2>/dev/null; do
  49352. - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  49353. - case $potliblink in
  49354. - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  49355. - *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  49356. - esac
  49357. - done
  49358. - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
  49359. - | ${SED} 10q \
  49360. - | $EGREP "$file_magic_regex" > /dev/null; then
  49361. - newdeplibs="$newdeplibs $a_deplib"
  49362. - a_deplib=""
  49363. - break 2
  49364. - fi
  49365. - done
  49366. - done
  49367. - fi
  49368. - if test -n "$a_deplib" ; then
  49369. - droppeddeps=yes
  49370. - $echo
  49371. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  49372. - $echo "*** I have the capability to make that library automatically link in when"
  49373. - $echo "*** you link to this library. But I can only do this if you have a"
  49374. - $echo "*** shared version of the library, which you do not appear to have"
  49375. - $echo "*** because I did check the linker path looking for a file starting"
  49376. - if test -z "$potlib" ; then
  49377. - $echo "*** with $libname but no candidates were found. (...for file magic test)"
  49378. - else
  49379. - $echo "*** with $libname and none of the candidates passed a file format test"
  49380. - $echo "*** using a file magic. Last file checked: $potlib"
  49381. - fi
  49382. - fi
  49383. else
  49384. - # Add a -L argument.
  49385. - newdeplibs="$newdeplibs $a_deplib"
  49386. + cat <<"EOF"
  49387. +const char * LIB_PATH_VALUE = "";
  49388. +EOF
  49389. fi
  49390. - done # Gone through all deplibs.
  49391. - ;;
  49392. - match_pattern*)
  49393. - set dummy $deplibs_check_method
  49394. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  49395. - for a_deplib in $deplibs; do
  49396. - name=`expr $a_deplib : '-l\(.*\)'`
  49397. - # If $name is empty we are operating on a -L argument.
  49398. - if test -n "$name" && test "$name" != "0"; then
  49399. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  49400. - case " $predeps $postdeps " in
  49401. - *" $a_deplib "*)
  49402. - newdeplibs="$newdeplibs $a_deplib"
  49403. - a_deplib=""
  49404. - ;;
  49405. - esac
  49406. - fi
  49407. - if test -n "$a_deplib" ; then
  49408. - libname=`eval \\$echo \"$libname_spec\"`
  49409. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  49410. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  49411. - for potent_lib in $potential_libs; do
  49412. - potlib="$potent_lib" # see symlink-check above in file_magic test
  49413. - if eval $echo \"$potent_lib\" 2>/dev/null \
  49414. - | ${SED} 10q \
  49415. - | $EGREP "$match_pattern_regex" > /dev/null; then
  49416. - newdeplibs="$newdeplibs $a_deplib"
  49417. - a_deplib=""
  49418. - break 2
  49419. - fi
  49420. - done
  49421. - done
  49422. - fi
  49423. - if test -n "$a_deplib" ; then
  49424. - droppeddeps=yes
  49425. - $echo
  49426. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  49427. - $echo "*** I have the capability to make that library automatically link in when"
  49428. - $echo "*** you link to this library. But I can only do this if you have a"
  49429. - $echo "*** shared version of the library, which you do not appear to have"
  49430. - $echo "*** because I did check the linker path looking for a file starting"
  49431. - if test -z "$potlib" ; then
  49432. - $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
  49433. - else
  49434. - $echo "*** with $libname and none of the candidates passed a file format test"
  49435. - $echo "*** using a regex pattern. Last file checked: $potlib"
  49436. - fi
  49437. - fi
  49438. +
  49439. + if test -n "$dllsearchpath"; then
  49440. + func_to_host_pathlist "$dllsearchpath:"
  49441. + cat <<EOF
  49442. +const char * EXE_PATH_VARNAME = "PATH";
  49443. +const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  49444. +EOF
  49445. else
  49446. - # Add a -L argument.
  49447. - newdeplibs="$newdeplibs $a_deplib"
  49448. + cat <<"EOF"
  49449. +const char * EXE_PATH_VARNAME = "";
  49450. +const char * EXE_PATH_VALUE = "";
  49451. +EOF
  49452. fi
  49453. - done # Gone through all deplibs.
  49454. - ;;
  49455. - none | unknown | *)
  49456. - newdeplibs=""
  49457. - tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
  49458. - -e 's/ -[LR][^ ]*//g'`
  49459. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  49460. - for i in $predeps $postdeps ; do
  49461. - # can't use Xsed below, because $i might contain '/'
  49462. - tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
  49463. - done
  49464. - fi
  49465. - if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
  49466. - | grep . >/dev/null; then
  49467. - $echo
  49468. - if test "X$deplibs_check_method" = "Xnone"; then
  49469. - $echo "*** Warning: inter-library dependencies are not supported in this platform."
  49470. +
  49471. + if test "$fast_install" = yes; then
  49472. + cat <<EOF
  49473. +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  49474. +EOF
  49475. else
  49476. - $echo "*** Warning: inter-library dependencies are not known to be supported."
  49477. + cat <<EOF
  49478. +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
  49479. +EOF
  49480. fi
  49481. - $echo "*** All declared inter-library dependencies are being dropped."
  49482. - droppeddeps=yes
  49483. - fi
  49484. - ;;
  49485. - esac
  49486. - versuffix=$versuffix_save
  49487. - major=$major_save
  49488. - release=$release_save
  49489. - libname=$libname_save
  49490. - name=$name_save
  49491. - case $host in
  49492. - *-*-rhapsody* | *-*-darwin1.[012])
  49493. - # On Rhapsody replace the C library is the System framework
  49494. - newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
  49495. - ;;
  49496. - esac
  49497. - if test "$droppeddeps" = yes; then
  49498. - if test "$module" = yes; then
  49499. - $echo
  49500. - $echo "*** Warning: libtool could not satisfy all declared inter-library"
  49501. - $echo "*** dependencies of module $libname. Therefore, libtool will create"
  49502. - $echo "*** a static module, that should work as long as the dlopening"
  49503. - $echo "*** application is linked with the -dlopen flag."
  49504. - if test -z "$global_symbol_pipe"; then
  49505. - $echo
  49506. - $echo "*** However, this would only work if libtool was able to extract symbol"
  49507. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  49508. - $echo "*** not find such a program. So, this module is probably useless."
  49509. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  49510. - fi
  49511. - if test "$build_old_libs" = no; then
  49512. - oldlibs="$output_objdir/$libname.$libext"
  49513. - build_libtool_libs=module
  49514. - build_old_libs=yes
  49515. - else
  49516. - build_libtool_libs=no
  49517. - fi
  49518. - else
  49519. - $echo "*** The inter-library dependencies that have been dropped here will be"
  49520. - $echo "*** automatically added whenever a program is linked with this library"
  49521. - $echo "*** or is declared to -dlopen it."
  49522. + cat <<"EOF"
  49523. - if test "$allow_undefined" = no; then
  49524. - $echo
  49525. - $echo "*** Since this library must not contain undefined symbols,"
  49526. - $echo "*** because either the platform does not support them or"
  49527. - $echo "*** it was explicitly requested with -no-undefined,"
  49528. - $echo "*** libtool will only create a static version of it."
  49529. - if test "$build_old_libs" = no; then
  49530. - oldlibs="$output_objdir/$libname.$libext"
  49531. - build_libtool_libs=module
  49532. - build_old_libs=yes
  49533. - else
  49534. - build_libtool_libs=no
  49535. - fi
  49536. - fi
  49537. - fi
  49538. - fi
  49539. - # Done checking deplibs!
  49540. - deplibs=$newdeplibs
  49541. - fi
  49542. +#define LTWRAPPER_OPTION_PREFIX "--lt-"
  49543. +#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  49544. +static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  49545. +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  49546. - # move library search paths that coincide with paths to not yet
  49547. - # installed libraries to the beginning of the library search list
  49548. - new_libs=
  49549. - for path in $notinst_path; do
  49550. - case " $new_libs " in
  49551. - *" -L$path/$objdir "*) ;;
  49552. - *)
  49553. - case " $deplibs " in
  49554. - *" -L$path/$objdir "*)
  49555. - new_libs="$new_libs -L$path/$objdir" ;;
  49556. - esac
  49557. - ;;
  49558. - esac
  49559. - done
  49560. - for deplib in $deplibs; do
  49561. - case $deplib in
  49562. - -L*)
  49563. - case " $new_libs " in
  49564. - *" $deplib "*) ;;
  49565. - *) new_libs="$new_libs $deplib" ;;
  49566. - esac
  49567. - ;;
  49568. - *) new_libs="$new_libs $deplib" ;;
  49569. - esac
  49570. - done
  49571. - deplibs="$new_libs"
  49572. +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  49573. +static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  49574. +static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  49575. + /* argument is putenv-style "foo=bar", value of foo is set to bar */
  49576. - # All the library-specific variables (install_libdir is set above).
  49577. - library_names=
  49578. - old_library=
  49579. - dlname=
  49580. +static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  49581. +static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  49582. + /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  49583. - # Test again, we may have decided not to build it any more
  49584. - if test "$build_libtool_libs" = yes; then
  49585. - if test "$hardcode_into_libs" = yes; then
  49586. - # Hardcode the library paths
  49587. - hardcode_libdirs=
  49588. - dep_rpath=
  49589. - rpath="$finalize_rpath"
  49590. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  49591. - for libdir in $rpath; do
  49592. - if test -n "$hardcode_libdir_flag_spec"; then
  49593. - if test -n "$hardcode_libdir_separator"; then
  49594. - if test -z "$hardcode_libdirs"; then
  49595. - hardcode_libdirs="$libdir"
  49596. - else
  49597. - # Just accumulate the unique libdirs.
  49598. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  49599. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  49600. - ;;
  49601. - *)
  49602. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  49603. - ;;
  49604. - esac
  49605. - fi
  49606. - else
  49607. - eval flag=\"$hardcode_libdir_flag_spec\"
  49608. - dep_rpath="$dep_rpath $flag"
  49609. - fi
  49610. - elif test -n "$runpath_var"; then
  49611. - case "$perm_rpath " in
  49612. - *" $libdir "*) ;;
  49613. - *) perm_rpath="$perm_rpath $libdir" ;;
  49614. - esac
  49615. - fi
  49616. - done
  49617. - # Substitute the hardcoded libdirs into the rpath.
  49618. - if test -n "$hardcode_libdir_separator" &&
  49619. - test -n "$hardcode_libdirs"; then
  49620. - libdir="$hardcode_libdirs"
  49621. - if test -n "$hardcode_libdir_flag_spec_ld"; then
  49622. - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  49623. - else
  49624. - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  49625. - fi
  49626. - fi
  49627. - if test -n "$runpath_var" && test -n "$perm_rpath"; then
  49628. - # We should set the runpath_var.
  49629. - rpath=
  49630. - for dir in $perm_rpath; do
  49631. - rpath="$rpath$dir:"
  49632. - done
  49633. - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  49634. - fi
  49635. - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  49636. - fi
  49637. +static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  49638. +static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  49639. + /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  49640. - shlibpath="$finalize_shlibpath"
  49641. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  49642. - if test -n "$shlibpath"; then
  49643. - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  49644. - fi
  49645. +int
  49646. +main (int argc, char *argv[])
  49647. +{
  49648. + char **newargz;
  49649. + int newargc;
  49650. + char *tmp_pathspec;
  49651. + char *actual_cwrapper_path;
  49652. + char *actual_cwrapper_name;
  49653. + char *target_name;
  49654. + char *lt_argv_zero;
  49655. + intptr_t rval = 127;
  49656. - # Get the real and link names of the library.
  49657. - eval shared_ext=\"$shrext_cmds\"
  49658. - eval library_names=\"$library_names_spec\"
  49659. - set dummy $library_names
  49660. - realname="$2"
  49661. - shift; shift
  49662. + int i;
  49663. - if test -n "$soname_spec"; then
  49664. - eval soname=\"$soname_spec\"
  49665. - else
  49666. - soname="$realname"
  49667. - fi
  49668. - if test -z "$dlname"; then
  49669. - dlname=$soname
  49670. - fi
  49671. + program_name = (char *) xstrdup (base_name (argv[0]));
  49672. + LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  49673. + LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  49674. - lib="$output_objdir/$realname"
  49675. - linknames=
  49676. - for link
  49677. - do
  49678. - linknames="$linknames $link"
  49679. - done
  49680. + /* very simple arg parsing; don't want to rely on getopt */
  49681. + for (i = 1; i < argc; i++)
  49682. + {
  49683. + if (strcmp (argv[i], dumpscript_opt) == 0)
  49684. + {
  49685. +EOF
  49686. + case "$host" in
  49687. + *mingw* | *cygwin* )
  49688. + # make stdout use "unix" line endings
  49689. + echo " setmode(1,_O_BINARY);"
  49690. + ;;
  49691. + esac
  49692. - # Use standard objects if they are pic
  49693. - test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  49694. + cat <<"EOF"
  49695. + printf ("%s", script_text_part1);
  49696. + printf ("%s", script_text_part2);
  49697. + return 0;
  49698. + }
  49699. + }
  49700. - # Prepare the list of exported symbols
  49701. - if test -z "$export_symbols"; then
  49702. - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  49703. - $show "generating symbol list for \`$libname.la'"
  49704. - export_symbols="$output_objdir/$libname.exp"
  49705. - $run $rm $export_symbols
  49706. - cmds=$export_symbols_cmds
  49707. - save_ifs="$IFS"; IFS='~'
  49708. - for cmd in $cmds; do
  49709. - IFS="$save_ifs"
  49710. - eval cmd=\"$cmd\"
  49711. - if len=`expr "X$cmd" : ".*"` &&
  49712. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  49713. - $show "$cmd"
  49714. - $run eval "$cmd" || exit $?
  49715. - skipped_export=false
  49716. - else
  49717. - # The command line is too long to execute in one step.
  49718. - $show "using reloadable object file for export list..."
  49719. - skipped_export=:
  49720. - # Break out early, otherwise skipped_export may be
  49721. - # set to false by a later but shorter cmd.
  49722. - break
  49723. - fi
  49724. - done
  49725. - IFS="$save_ifs"
  49726. - if test -n "$export_symbols_regex"; then
  49727. - $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
  49728. - $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  49729. - $show "$mv \"${export_symbols}T\" \"$export_symbols\""
  49730. - $run eval '$mv "${export_symbols}T" "$export_symbols"'
  49731. - fi
  49732. - fi
  49733. - fi
  49734. + newargz = XMALLOC (char *, argc + 1);
  49735. + tmp_pathspec = find_executable (argv[0]);
  49736. + if (tmp_pathspec == NULL)
  49737. + lt_fatal ("Couldn't find %s", argv[0]);
  49738. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  49739. + tmp_pathspec));
  49740. +
  49741. + actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  49742. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  49743. + actual_cwrapper_path));
  49744. + XFREE (tmp_pathspec);
  49745. +
  49746. + actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  49747. + strendzap (actual_cwrapper_path, actual_cwrapper_name);
  49748. +
  49749. + /* wrapper name transforms */
  49750. + strendzap (actual_cwrapper_name, ".exe");
  49751. + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
  49752. + XFREE (actual_cwrapper_name);
  49753. + actual_cwrapper_name = tmp_pathspec;
  49754. + tmp_pathspec = 0;
  49755. +
  49756. + /* target_name transforms -- use actual target program name; might have lt- prefix */
  49757. + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
  49758. + strendzap (target_name, ".exe");
  49759. + tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
  49760. + XFREE (target_name);
  49761. + target_name = tmp_pathspec;
  49762. + tmp_pathspec = 0;
  49763. - if test -n "$export_symbols" && test -n "$include_expsyms"; then
  49764. - $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
  49765. - fi
  49766. + LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  49767. + target_name));
  49768. +EOF
  49769. - tmp_deplibs=
  49770. - for test_deplib in $deplibs; do
  49771. - case " $convenience " in
  49772. - *" $test_deplib "*) ;;
  49773. - *)
  49774. - tmp_deplibs="$tmp_deplibs $test_deplib"
  49775. - ;;
  49776. - esac
  49777. - done
  49778. - deplibs="$tmp_deplibs"
  49779. + cat <<EOF
  49780. + newargz[0] =
  49781. + XMALLOC (char, (strlen (actual_cwrapper_path) +
  49782. + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
  49783. + strcpy (newargz[0], actual_cwrapper_path);
  49784. + strcat (newargz[0], "$objdir");
  49785. + strcat (newargz[0], "/");
  49786. +EOF
  49787. - if test -n "$convenience"; then
  49788. - if test -n "$whole_archive_flag_spec"; then
  49789. - save_libobjs=$libobjs
  49790. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  49791. - else
  49792. - gentop="$output_objdir/${outputname}x"
  49793. - generated="$generated $gentop"
  49794. + cat <<"EOF"
  49795. + /* stop here, and copy so we don't have to do this twice */
  49796. + tmp_pathspec = xstrdup (newargz[0]);
  49797. +
  49798. + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
  49799. + strcat (newargz[0], actual_cwrapper_name);
  49800. +
  49801. + /* DO want the lt- prefix here if it exists, so use target_name */
  49802. + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
  49803. + XFREE (tmp_pathspec);
  49804. + tmp_pathspec = NULL;
  49805. +EOF
  49806. - func_extract_archives $gentop $convenience
  49807. - libobjs="$libobjs $func_extract_archives_result"
  49808. - fi
  49809. - fi
  49810. -
  49811. - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  49812. - eval flag=\"$thread_safe_flag_spec\"
  49813. - linker_flags="$linker_flags $flag"
  49814. - fi
  49815. + case $host_os in
  49816. + mingw*)
  49817. + cat <<"EOF"
  49818. + {
  49819. + char* p;
  49820. + while ((p = strchr (newargz[0], '\\')) != NULL)
  49821. + {
  49822. + *p = '/';
  49823. + }
  49824. + while ((p = strchr (lt_argv_zero, '\\')) != NULL)
  49825. + {
  49826. + *p = '/';
  49827. + }
  49828. + }
  49829. +EOF
  49830. + ;;
  49831. + esac
  49832. - # Make a backup of the uninstalled library when relinking
  49833. - if test "$mode" = relink; then
  49834. - $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
  49835. - fi
  49836. + cat <<"EOF"
  49837. + XFREE (target_name);
  49838. + XFREE (actual_cwrapper_path);
  49839. + XFREE (actual_cwrapper_name);
  49840. +
  49841. + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  49842. + lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  49843. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  49844. + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  49845. - # Do each of the archive commands.
  49846. - if test "$module" = yes && test -n "$module_cmds" ; then
  49847. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  49848. - eval test_cmds=\"$module_expsym_cmds\"
  49849. - cmds=$module_expsym_cmds
  49850. - else
  49851. - eval test_cmds=\"$module_cmds\"
  49852. - cmds=$module_cmds
  49853. - fi
  49854. - else
  49855. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  49856. - eval test_cmds=\"$archive_expsym_cmds\"
  49857. - cmds=$archive_expsym_cmds
  49858. - else
  49859. - eval test_cmds=\"$archive_cmds\"
  49860. - cmds=$archive_cmds
  49861. - fi
  49862. - fi
  49863. + newargc=0;
  49864. + for (i = 1; i < argc; i++)
  49865. + {
  49866. + if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  49867. + {
  49868. + if (argv[i][env_set_opt_len] == '=')
  49869. + {
  49870. + const char *p = argv[i] + env_set_opt_len + 1;
  49871. + lt_opt_process_env_set (p);
  49872. + }
  49873. + else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  49874. + {
  49875. + lt_opt_process_env_set (argv[++i]); /* don't copy */
  49876. + }
  49877. + else
  49878. + lt_fatal ("%s missing required argument", env_set_opt);
  49879. + continue;
  49880. + }
  49881. + if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  49882. + {
  49883. + if (argv[i][env_prepend_opt_len] == '=')
  49884. + {
  49885. + const char *p = argv[i] + env_prepend_opt_len + 1;
  49886. + lt_opt_process_env_prepend (p);
  49887. + }
  49888. + else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  49889. + {
  49890. + lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  49891. + }
  49892. + else
  49893. + lt_fatal ("%s missing required argument", env_prepend_opt);
  49894. + continue;
  49895. + }
  49896. + if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  49897. + {
  49898. + if (argv[i][env_append_opt_len] == '=')
  49899. + {
  49900. + const char *p = argv[i] + env_append_opt_len + 1;
  49901. + lt_opt_process_env_append (p);
  49902. + }
  49903. + else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  49904. + {
  49905. + lt_opt_process_env_append (argv[++i]); /* don't copy */
  49906. + }
  49907. + else
  49908. + lt_fatal ("%s missing required argument", env_append_opt);
  49909. + continue;
  49910. + }
  49911. + if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  49912. + {
  49913. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  49914. + namespace, but it is not one of the ones we know about and
  49915. + have already dealt with, above (inluding dump-script), then
  49916. + report an error. Otherwise, targets might begin to believe
  49917. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  49918. + namespace. The first time any user complains about this, we'll
  49919. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  49920. + or a configure.ac-settable value.
  49921. + */
  49922. + lt_fatal ("Unrecognized option in %s namespace: '%s'",
  49923. + ltwrapper_option_prefix, argv[i]);
  49924. + }
  49925. + /* otherwise ... */
  49926. + newargz[++newargc] = xstrdup (argv[i]);
  49927. + }
  49928. + newargz[++newargc] = NULL;
  49929. - if test "X$skipped_export" != "X:" &&
  49930. - len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  49931. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  49932. - :
  49933. - else
  49934. - # The command line is too long to link in one step, link piecewise.
  49935. - $echo "creating reloadable object files..."
  49936. + LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  49937. + for (i = 0; i < newargc; i++)
  49938. + {
  49939. + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  49940. + }
  49941. - # Save the value of $output and $libobjs because we want to
  49942. - # use them later. If we have whole_archive_flag_spec, we
  49943. - # want to use save_libobjs as it was before
  49944. - # whole_archive_flag_spec was expanded, because we can't
  49945. - # assume the linker understands whole_archive_flag_spec.
  49946. - # This may have to be revisited, in case too many
  49947. - # convenience libraries get linked in and end up exceeding
  49948. - # the spec.
  49949. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  49950. - save_libobjs=$libobjs
  49951. - fi
  49952. - save_output=$output
  49953. - output_la=`$echo "X$output" | $Xsed -e "$basename"`
  49954. +EOF
  49955. - # Clear the reloadable object creation command queue and
  49956. - # initialize k to one.
  49957. - test_cmds=
  49958. - concat_cmds=
  49959. - objlist=
  49960. - delfiles=
  49961. - last_robj=
  49962. - k=1
  49963. - output=$output_objdir/$output_la-${k}.$objext
  49964. - # Loop over the list of objects to be linked.
  49965. - for obj in $save_libobjs
  49966. - do
  49967. - eval test_cmds=\"$reload_cmds $objlist $last_robj\"
  49968. - if test "X$objlist" = X ||
  49969. - { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  49970. - test "$len" -le "$max_cmd_len"; }; then
  49971. - objlist="$objlist $obj"
  49972. - else
  49973. - # The command $test_cmds is almost too long, add a
  49974. - # command to the queue.
  49975. - if test "$k" -eq 1 ; then
  49976. - # The first file doesn't have a previous command to add.
  49977. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  49978. - else
  49979. - # All subsequent reloadable object files will link in
  49980. - # the last one created.
  49981. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
  49982. - fi
  49983. - last_robj=$output_objdir/$output_la-${k}.$objext
  49984. - k=`expr $k + 1`
  49985. - output=$output_objdir/$output_la-${k}.$objext
  49986. - objlist=$obj
  49987. - len=1
  49988. - fi
  49989. - done
  49990. - # Handle the remaining objects by creating one last
  49991. - # reloadable object file. All subsequent reloadable object
  49992. - # files will link in the last one created.
  49993. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  49994. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  49995. + case $host_os in
  49996. + mingw*)
  49997. + cat <<"EOF"
  49998. + /* execv doesn't actually work on mingw as expected on unix */
  49999. + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  50000. + if (rval == -1)
  50001. + {
  50002. + /* failed to start process */
  50003. + LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  50004. + return 127;
  50005. + }
  50006. + return rval;
  50007. +EOF
  50008. + ;;
  50009. + *)
  50010. + cat <<"EOF"
  50011. + execv (lt_argv_zero, newargz);
  50012. + return rval; /* =127, but avoids unused variable warning */
  50013. +EOF
  50014. + ;;
  50015. + esac
  50016. - if ${skipped_export-false}; then
  50017. - $show "generating symbol list for \`$libname.la'"
  50018. - export_symbols="$output_objdir/$libname.exp"
  50019. - $run $rm $export_symbols
  50020. - libobjs=$output
  50021. - # Append the command to create the export file.
  50022. - eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
  50023. - fi
  50024. -
  50025. - # Set up a command to remove the reloadable object files
  50026. - # after they are used.
  50027. - i=0
  50028. - while test "$i" -lt "$k"
  50029. - do
  50030. - i=`expr $i + 1`
  50031. - delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
  50032. - done
  50033. + cat <<"EOF"
  50034. +}
  50035. - $echo "creating a temporary reloadable object file: $output"
  50036. +void *
  50037. +xmalloc (size_t num)
  50038. +{
  50039. + void *p = (void *) malloc (num);
  50040. + if (!p)
  50041. + lt_fatal ("Memory exhausted");
  50042. - # Loop through the commands generated above and execute them.
  50043. - save_ifs="$IFS"; IFS='~'
  50044. - for cmd in $concat_cmds; do
  50045. - IFS="$save_ifs"
  50046. - $show "$cmd"
  50047. - $run eval "$cmd" || exit $?
  50048. - done
  50049. - IFS="$save_ifs"
  50050. + return p;
  50051. +}
  50052. - libobjs=$output
  50053. - # Restore the value of output.
  50054. - output=$save_output
  50055. +char *
  50056. +xstrdup (const char *string)
  50057. +{
  50058. + return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
  50059. + string) : NULL;
  50060. +}
  50061. - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  50062. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  50063. - fi
  50064. - # Expand the library linking commands again to reset the
  50065. - # value of $libobjs for piecewise linking.
  50066. +const char *
  50067. +base_name (const char *name)
  50068. +{
  50069. + const char *base;
  50070. - # Do each of the archive commands.
  50071. - if test "$module" = yes && test -n "$module_cmds" ; then
  50072. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  50073. - cmds=$module_expsym_cmds
  50074. - else
  50075. - cmds=$module_cmds
  50076. - fi
  50077. - else
  50078. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  50079. - cmds=$archive_expsym_cmds
  50080. - else
  50081. - cmds=$archive_cmds
  50082. - fi
  50083. - fi
  50084. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  50085. + /* Skip over the disk name in MSDOS pathnames. */
  50086. + if (isalpha ((unsigned char) name[0]) && name[1] == ':')
  50087. + name += 2;
  50088. +#endif
  50089. - # Append the command to remove the reloadable object files
  50090. - # to the just-reset $cmds.
  50091. - eval cmds=\"\$cmds~\$rm $delfiles\"
  50092. - fi
  50093. - save_ifs="$IFS"; IFS='~'
  50094. - for cmd in $cmds; do
  50095. - IFS="$save_ifs"
  50096. - eval cmd=\"$cmd\"
  50097. - $show "$cmd"
  50098. - $run eval "$cmd" || {
  50099. - lt_exit=$?
  50100. + for (base = name; *name; name++)
  50101. + if (IS_DIR_SEPARATOR (*name))
  50102. + base = name + 1;
  50103. + return base;
  50104. +}
  50105. - # Restore the uninstalled library and exit
  50106. - if test "$mode" = relink; then
  50107. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  50108. - fi
  50109. +int
  50110. +check_executable (const char *path)
  50111. +{
  50112. + struct stat st;
  50113. - exit $lt_exit
  50114. - }
  50115. - done
  50116. - IFS="$save_ifs"
  50117. + LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  50118. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  50119. + if ((!path) || (!*path))
  50120. + return 0;
  50121. - # Restore the uninstalled library and exit
  50122. - if test "$mode" = relink; then
  50123. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
  50124. + if ((stat (path, &st) >= 0)
  50125. + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
  50126. + return 1;
  50127. + else
  50128. + return 0;
  50129. +}
  50130. - if test -n "$convenience"; then
  50131. - if test -z "$whole_archive_flag_spec"; then
  50132. - $show "${rm}r $gentop"
  50133. - $run ${rm}r "$gentop"
  50134. - fi
  50135. - fi
  50136. +int
  50137. +make_executable (const char *path)
  50138. +{
  50139. + int rval = 0;
  50140. + struct stat st;
  50141. - exit $EXIT_SUCCESS
  50142. - fi
  50143. + LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  50144. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  50145. + if ((!path) || (!*path))
  50146. + return 0;
  50147. - # Create links to the real library.
  50148. - for linkname in $linknames; do
  50149. - if test "$realname" != "$linkname"; then
  50150. - $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
  50151. - $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
  50152. - fi
  50153. - done
  50154. + if (stat (path, &st) >= 0)
  50155. + {
  50156. + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
  50157. + }
  50158. + return rval;
  50159. +}
  50160. - # If -module or -export-dynamic was specified, set the dlname.
  50161. - if test "$module" = yes || test "$export_dynamic" = yes; then
  50162. - # On all known operating systems, these are identical.
  50163. - dlname="$soname"
  50164. - fi
  50165. - fi
  50166. - ;;
  50167. +/* Searches for the full path of the wrapper. Returns
  50168. + newly allocated full path name if found, NULL otherwise
  50169. + Does not chase symlinks, even on platforms that support them.
  50170. +*/
  50171. +char *
  50172. +find_executable (const char *wrapper)
  50173. +{
  50174. + int has_slash = 0;
  50175. + const char *p;
  50176. + const char *p_next;
  50177. + /* static buffer for getcwd */
  50178. + char tmp[LT_PATHMAX + 1];
  50179. + int tmp_len;
  50180. + char *concat_name;
  50181. - obj)
  50182. - if test -n "$deplibs"; then
  50183. - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
  50184. - fi
  50185. + LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  50186. + wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  50187. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  50188. - $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
  50189. - fi
  50190. + if ((wrapper == NULL) || (*wrapper == '\0'))
  50191. + return NULL;
  50192. - if test -n "$rpath"; then
  50193. - $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
  50194. - fi
  50195. + /* Absolute path? */
  50196. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  50197. + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
  50198. + {
  50199. + concat_name = xstrdup (wrapper);
  50200. + if (check_executable (concat_name))
  50201. + return concat_name;
  50202. + XFREE (concat_name);
  50203. + }
  50204. + else
  50205. + {
  50206. +#endif
  50207. + if (IS_DIR_SEPARATOR (wrapper[0]))
  50208. + {
  50209. + concat_name = xstrdup (wrapper);
  50210. + if (check_executable (concat_name))
  50211. + return concat_name;
  50212. + XFREE (concat_name);
  50213. + }
  50214. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  50215. + }
  50216. +#endif
  50217. - if test -n "$xrpath"; then
  50218. - $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
  50219. - fi
  50220. + for (p = wrapper; *p; p++)
  50221. + if (*p == '/')
  50222. + {
  50223. + has_slash = 1;
  50224. + break;
  50225. + }
  50226. + if (!has_slash)
  50227. + {
  50228. + /* no slashes; search PATH */
  50229. + const char *path = getenv ("PATH");
  50230. + if (path != NULL)
  50231. + {
  50232. + for (p = path; *p; p = p_next)
  50233. + {
  50234. + const char *q;
  50235. + size_t p_len;
  50236. + for (q = p; *q; q++)
  50237. + if (IS_PATH_SEPARATOR (*q))
  50238. + break;
  50239. + p_len = q - p;
  50240. + p_next = (*q == '\0' ? q : q + 1);
  50241. + if (p_len == 0)
  50242. + {
  50243. + /* empty path: current directory */
  50244. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  50245. + lt_fatal ("getcwd failed");
  50246. + tmp_len = strlen (tmp);
  50247. + concat_name =
  50248. + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  50249. + memcpy (concat_name, tmp, tmp_len);
  50250. + concat_name[tmp_len] = '/';
  50251. + strcpy (concat_name + tmp_len + 1, wrapper);
  50252. + }
  50253. + else
  50254. + {
  50255. + concat_name =
  50256. + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
  50257. + memcpy (concat_name, p, p_len);
  50258. + concat_name[p_len] = '/';
  50259. + strcpy (concat_name + p_len + 1, wrapper);
  50260. + }
  50261. + if (check_executable (concat_name))
  50262. + return concat_name;
  50263. + XFREE (concat_name);
  50264. + }
  50265. + }
  50266. + /* not found in PATH; assume curdir */
  50267. + }
  50268. + /* Relative path | not found in path: prepend cwd */
  50269. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  50270. + lt_fatal ("getcwd failed");
  50271. + tmp_len = strlen (tmp);
  50272. + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  50273. + memcpy (concat_name, tmp, tmp_len);
  50274. + concat_name[tmp_len] = '/';
  50275. + strcpy (concat_name + tmp_len + 1, wrapper);
  50276. - if test -n "$vinfo"; then
  50277. - $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
  50278. - fi
  50279. + if (check_executable (concat_name))
  50280. + return concat_name;
  50281. + XFREE (concat_name);
  50282. + return NULL;
  50283. +}
  50284. - if test -n "$release"; then
  50285. - $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
  50286. - fi
  50287. +char *
  50288. +chase_symlinks (const char *pathspec)
  50289. +{
  50290. +#ifndef S_ISLNK
  50291. + return xstrdup (pathspec);
  50292. +#else
  50293. + char buf[LT_PATHMAX];
  50294. + struct stat s;
  50295. + char *tmp_pathspec = xstrdup (pathspec);
  50296. + char *p;
  50297. + int has_symlinks = 0;
  50298. + while (strlen (tmp_pathspec) && !has_symlinks)
  50299. + {
  50300. + LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  50301. + tmp_pathspec));
  50302. + if (lstat (tmp_pathspec, &s) == 0)
  50303. + {
  50304. + if (S_ISLNK (s.st_mode) != 0)
  50305. + {
  50306. + has_symlinks = 1;
  50307. + break;
  50308. + }
  50309. - case $output in
  50310. - *.lo)
  50311. - if test -n "$objs$old_deplibs"; then
  50312. - $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
  50313. - exit $EXIT_FAILURE
  50314. - fi
  50315. - libobj="$output"
  50316. - obj=`$echo "X$output" | $Xsed -e "$lo2o"`
  50317. - ;;
  50318. - *)
  50319. - libobj=
  50320. - obj="$output"
  50321. - ;;
  50322. - esac
  50323. + /* search backwards for last DIR_SEPARATOR */
  50324. + p = tmp_pathspec + strlen (tmp_pathspec) - 1;
  50325. + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  50326. + p--;
  50327. + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  50328. + {
  50329. + /* no more DIR_SEPARATORS left */
  50330. + break;
  50331. + }
  50332. + *p = '\0';
  50333. + }
  50334. + else
  50335. + {
  50336. + char *errstr = strerror (errno);
  50337. + lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  50338. + }
  50339. + }
  50340. + XFREE (tmp_pathspec);
  50341. - # Delete the old objects.
  50342. - $run $rm $obj $libobj
  50343. + if (!has_symlinks)
  50344. + {
  50345. + return xstrdup (pathspec);
  50346. + }
  50347. - # Objects from convenience libraries. This assumes
  50348. - # single-version convenience libraries. Whenever we create
  50349. - # different ones for PIC/non-PIC, this we'll have to duplicate
  50350. - # the extraction.
  50351. - reload_conv_objs=
  50352. - gentop=
  50353. - # reload_cmds runs $LD directly, so let us get rid of
  50354. - # -Wl from whole_archive_flag_spec
  50355. - wl=
  50356. + tmp_pathspec = realpath (pathspec, buf);
  50357. + if (tmp_pathspec == 0)
  50358. + {
  50359. + lt_fatal ("Could not follow symlinks for %s", pathspec);
  50360. + }
  50361. + return xstrdup (tmp_pathspec);
  50362. +#endif
  50363. +}
  50364. - if test -n "$convenience"; then
  50365. - if test -n "$whole_archive_flag_spec"; then
  50366. - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
  50367. - else
  50368. - gentop="$output_objdir/${obj}x"
  50369. - generated="$generated $gentop"
  50370. +char *
  50371. +strendzap (char *str, const char *pat)
  50372. +{
  50373. + size_t len, patlen;
  50374. - func_extract_archives $gentop $convenience
  50375. - reload_conv_objs="$reload_objs $func_extract_archives_result"
  50376. - fi
  50377. - fi
  50378. + assert (str != NULL);
  50379. + assert (pat != NULL);
  50380. - # Create the old-style object.
  50381. - 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
  50382. + len = strlen (str);
  50383. + patlen = strlen (pat);
  50384. - output="$obj"
  50385. - cmds=$reload_cmds
  50386. - save_ifs="$IFS"; IFS='~'
  50387. - for cmd in $cmds; do
  50388. - IFS="$save_ifs"
  50389. - eval cmd=\"$cmd\"
  50390. - $show "$cmd"
  50391. - $run eval "$cmd" || exit $?
  50392. - done
  50393. - IFS="$save_ifs"
  50394. + if (patlen <= len)
  50395. + {
  50396. + str += len - patlen;
  50397. + if (strcmp (str, pat) == 0)
  50398. + *str = '\0';
  50399. + }
  50400. + return str;
  50401. +}
  50402. - # Exit if we aren't doing a library object file.
  50403. - if test -z "$libobj"; then
  50404. - if test -n "$gentop"; then
  50405. - $show "${rm}r $gentop"
  50406. - $run ${rm}r $gentop
  50407. - fi
  50408. +static void
  50409. +lt_error_core (int exit_status, const char *mode,
  50410. + const char *message, va_list ap)
  50411. +{
  50412. + fprintf (stderr, "%s: %s: ", program_name, mode);
  50413. + vfprintf (stderr, message, ap);
  50414. + fprintf (stderr, ".\n");
  50415. - exit $EXIT_SUCCESS
  50416. - fi
  50417. + if (exit_status >= 0)
  50418. + exit (exit_status);
  50419. +}
  50420. - if test "$build_libtool_libs" != yes; then
  50421. - if test -n "$gentop"; then
  50422. - $show "${rm}r $gentop"
  50423. - $run ${rm}r $gentop
  50424. - fi
  50425. +void
  50426. +lt_fatal (const char *message, ...)
  50427. +{
  50428. + va_list ap;
  50429. + va_start (ap, message);
  50430. + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  50431. + va_end (ap);
  50432. +}
  50433. - # Create an invalid libtool object if no PIC, so that we don't
  50434. - # accidentally link it into a program.
  50435. - # $show "echo timestamp > $libobj"
  50436. - # $run eval "echo timestamp > $libobj" || exit $?
  50437. - exit $EXIT_SUCCESS
  50438. - fi
  50439. +void
  50440. +lt_setenv (const char *name, const char *value)
  50441. +{
  50442. + LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  50443. + (name ? name : "<NULL>"),
  50444. + (value ? value : "<NULL>")));
  50445. + {
  50446. +#ifdef HAVE_SETENV
  50447. + /* always make a copy, for consistency with !HAVE_SETENV */
  50448. + char *str = xstrdup (value);
  50449. + setenv (name, str, 1);
  50450. +#else
  50451. + int len = strlen (name) + 1 + strlen (value) + 1;
  50452. + char *str = XMALLOC (char, len);
  50453. + sprintf (str, "%s=%s", name, value);
  50454. + if (putenv (str) != EXIT_SUCCESS)
  50455. + {
  50456. + XFREE (str);
  50457. + }
  50458. +#endif
  50459. + }
  50460. +}
  50461. - if test -n "$pic_flag" || test "$pic_mode" != default; then
  50462. - # Only do commands if we really have different PIC objects.
  50463. - reload_objs="$libobjs $reload_conv_objs"
  50464. - output="$libobj"
  50465. - cmds=$reload_cmds
  50466. - save_ifs="$IFS"; IFS='~'
  50467. - for cmd in $cmds; do
  50468. - IFS="$save_ifs"
  50469. - eval cmd=\"$cmd\"
  50470. - $show "$cmd"
  50471. - $run eval "$cmd" || exit $?
  50472. - done
  50473. - IFS="$save_ifs"
  50474. - fi
  50475. +char *
  50476. +lt_extend_str (const char *orig_value, const char *add, int to_end)
  50477. +{
  50478. + char *new_value;
  50479. + if (orig_value && *orig_value)
  50480. + {
  50481. + int orig_value_len = strlen (orig_value);
  50482. + int add_len = strlen (add);
  50483. + new_value = XMALLOC (char, add_len + orig_value_len + 1);
  50484. + if (to_end)
  50485. + {
  50486. + strcpy (new_value, orig_value);
  50487. + strcpy (new_value + orig_value_len, add);
  50488. + }
  50489. + else
  50490. + {
  50491. + strcpy (new_value, add);
  50492. + strcpy (new_value + add_len, orig_value);
  50493. + }
  50494. + }
  50495. + else
  50496. + {
  50497. + new_value = xstrdup (add);
  50498. + }
  50499. + return new_value;
  50500. +}
  50501. - if test -n "$gentop"; then
  50502. - $show "${rm}r $gentop"
  50503. - $run ${rm}r $gentop
  50504. - fi
  50505. +int
  50506. +lt_split_name_value (const char *arg, char** name, char** value)
  50507. +{
  50508. + const char *p;
  50509. + int len;
  50510. + if (!arg || !*arg)
  50511. + return 1;
  50512. - exit $EXIT_SUCCESS
  50513. - ;;
  50514. + p = strchr (arg, (int)'=');
  50515. - prog)
  50516. - case $host in
  50517. - *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
  50518. - esac
  50519. - if test -n "$vinfo"; then
  50520. - $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
  50521. - fi
  50522. + if (!p)
  50523. + return 1;
  50524. - if test -n "$release"; then
  50525. - $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
  50526. - fi
  50527. + *value = xstrdup (++p);
  50528. - if test "$preload" = yes; then
  50529. - if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
  50530. - test "$dlopen_self_static" = unknown; then
  50531. - $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
  50532. - fi
  50533. - fi
  50534. + len = strlen (arg) - strlen (*value);
  50535. + *name = XMALLOC (char, len);
  50536. + strncpy (*name, arg, len-1);
  50537. + (*name)[len - 1] = '\0';
  50538. - case $host in
  50539. - *-*-rhapsody* | *-*-darwin1.[012])
  50540. - # On Rhapsody replace the C library is the System framework
  50541. - compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  50542. - finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  50543. - ;;
  50544. - esac
  50545. + return 0;
  50546. +}
  50547. - case $host in
  50548. - *darwin*)
  50549. - # Don't allow lazy linking, it breaks C++ global constructors
  50550. - if test "$tagname" = CXX ; then
  50551. - compile_command="$compile_command ${wl}-bind_at_load"
  50552. - finalize_command="$finalize_command ${wl}-bind_at_load"
  50553. - fi
  50554. - ;;
  50555. - esac
  50556. +void
  50557. +lt_opt_process_env_set (const char *arg)
  50558. +{
  50559. + char *name = NULL;
  50560. + char *value = NULL;
  50561. + if (lt_split_name_value (arg, &name, &value) != 0)
  50562. + {
  50563. + XFREE (name);
  50564. + XFREE (value);
  50565. + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  50566. + }
  50567. - # move library search paths that coincide with paths to not yet
  50568. - # installed libraries to the beginning of the library search list
  50569. - new_libs=
  50570. - for path in $notinst_path; do
  50571. - case " $new_libs " in
  50572. - *" -L$path/$objdir "*) ;;
  50573. - *)
  50574. - case " $compile_deplibs " in
  50575. - *" -L$path/$objdir "*)
  50576. - new_libs="$new_libs -L$path/$objdir" ;;
  50577. - esac
  50578. - ;;
  50579. - esac
  50580. - done
  50581. - for deplib in $compile_deplibs; do
  50582. - case $deplib in
  50583. - -L*)
  50584. - case " $new_libs " in
  50585. - *" $deplib "*) ;;
  50586. - *) new_libs="$new_libs $deplib" ;;
  50587. - esac
  50588. - ;;
  50589. - *) new_libs="$new_libs $deplib" ;;
  50590. - esac
  50591. - done
  50592. - compile_deplibs="$new_libs"
  50593. -
  50594. + lt_setenv (name, value);
  50595. + XFREE (name);
  50596. + XFREE (value);
  50597. +}
  50598. - compile_command="$compile_command $compile_deplibs"
  50599. - finalize_command="$finalize_command $finalize_deplibs"
  50600. +void
  50601. +lt_opt_process_env_prepend (const char *arg)
  50602. +{
  50603. + char *name = NULL;
  50604. + char *value = NULL;
  50605. + char *new_value = NULL;
  50606. - if test -n "$rpath$xrpath"; then
  50607. - # If the user specified any rpath flags, then add them.
  50608. - for libdir in $rpath $xrpath; do
  50609. - # This is the magic to use -rpath.
  50610. - case "$finalize_rpath " in
  50611. - *" $libdir "*) ;;
  50612. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  50613. - esac
  50614. - done
  50615. - fi
  50616. + if (lt_split_name_value (arg, &name, &value) != 0)
  50617. + {
  50618. + XFREE (name);
  50619. + XFREE (value);
  50620. + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  50621. + }
  50622. - # Now hardcode the library paths
  50623. - rpath=
  50624. - hardcode_libdirs=
  50625. - for libdir in $compile_rpath $finalize_rpath; do
  50626. - if test -n "$hardcode_libdir_flag_spec"; then
  50627. - if test -n "$hardcode_libdir_separator"; then
  50628. - if test -z "$hardcode_libdirs"; then
  50629. - hardcode_libdirs="$libdir"
  50630. - else
  50631. - # Just accumulate the unique libdirs.
  50632. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  50633. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  50634. - ;;
  50635. - *)
  50636. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  50637. - ;;
  50638. - esac
  50639. - fi
  50640. - else
  50641. - eval flag=\"$hardcode_libdir_flag_spec\"
  50642. - rpath="$rpath $flag"
  50643. - fi
  50644. - elif test -n "$runpath_var"; then
  50645. - case "$perm_rpath " in
  50646. - *" $libdir "*) ;;
  50647. - *) perm_rpath="$perm_rpath $libdir" ;;
  50648. - esac
  50649. - fi
  50650. - case $host in
  50651. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  50652. - testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
  50653. - case :$dllsearchpath: in
  50654. - *":$libdir:"*) ;;
  50655. - *) dllsearchpath="$dllsearchpath:$libdir";;
  50656. - esac
  50657. - case :$dllsearchpath: in
  50658. - *":$testbindir:"*) ;;
  50659. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  50660. - esac
  50661. - ;;
  50662. - esac
  50663. - done
  50664. - # Substitute the hardcoded libdirs into the rpath.
  50665. - if test -n "$hardcode_libdir_separator" &&
  50666. - test -n "$hardcode_libdirs"; then
  50667. - libdir="$hardcode_libdirs"
  50668. - eval rpath=\" $hardcode_libdir_flag_spec\"
  50669. - fi
  50670. - compile_rpath="$rpath"
  50671. + new_value = lt_extend_str (getenv (name), value, 0);
  50672. + lt_setenv (name, new_value);
  50673. + XFREE (new_value);
  50674. + XFREE (name);
  50675. + XFREE (value);
  50676. +}
  50677. - rpath=
  50678. - hardcode_libdirs=
  50679. - for libdir in $finalize_rpath; do
  50680. - if test -n "$hardcode_libdir_flag_spec"; then
  50681. - if test -n "$hardcode_libdir_separator"; then
  50682. - if test -z "$hardcode_libdirs"; then
  50683. - hardcode_libdirs="$libdir"
  50684. - else
  50685. - # Just accumulate the unique libdirs.
  50686. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  50687. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  50688. - ;;
  50689. - *)
  50690. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  50691. - ;;
  50692. - esac
  50693. - fi
  50694. - else
  50695. - eval flag=\"$hardcode_libdir_flag_spec\"
  50696. - rpath="$rpath $flag"
  50697. - fi
  50698. - elif test -n "$runpath_var"; then
  50699. - case "$finalize_perm_rpath " in
  50700. - *" $libdir "*) ;;
  50701. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  50702. - esac
  50703. - fi
  50704. - done
  50705. - # Substitute the hardcoded libdirs into the rpath.
  50706. - if test -n "$hardcode_libdir_separator" &&
  50707. - test -n "$hardcode_libdirs"; then
  50708. - libdir="$hardcode_libdirs"
  50709. - eval rpath=\" $hardcode_libdir_flag_spec\"
  50710. - fi
  50711. - finalize_rpath="$rpath"
  50712. +void
  50713. +lt_opt_process_env_append (const char *arg)
  50714. +{
  50715. + char *name = NULL;
  50716. + char *value = NULL;
  50717. + char *new_value = NULL;
  50718. - if test -n "$libobjs" && test "$build_old_libs" = yes; then
  50719. - # Transform all the library objects into standard objects.
  50720. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  50721. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  50722. - fi
  50723. + if (lt_split_name_value (arg, &name, &value) != 0)
  50724. + {
  50725. + XFREE (name);
  50726. + XFREE (value);
  50727. + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  50728. + }
  50729. - dlsyms=
  50730. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  50731. - if test -n "$NM" && test -n "$global_symbol_pipe"; then
  50732. - dlsyms="${outputname}S.c"
  50733. - else
  50734. - $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
  50735. - fi
  50736. - fi
  50737. + new_value = lt_extend_str (getenv (name), value, 1);
  50738. + lt_setenv (name, new_value);
  50739. + XFREE (new_value);
  50740. + XFREE (name);
  50741. + XFREE (value);
  50742. +}
  50743. - if test -n "$dlsyms"; then
  50744. - case $dlsyms in
  50745. - "") ;;
  50746. - *.c)
  50747. - # Discover the nlist of each of the dlfiles.
  50748. - nlist="$output_objdir/${outputname}.nm"
  50749. +void
  50750. +lt_update_exe_path (const char *name, const char *value)
  50751. +{
  50752. + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  50753. + (name ? name : "<NULL>"),
  50754. + (value ? value : "<NULL>")));
  50755. - $show "$rm $nlist ${nlist}S ${nlist}T"
  50756. - $run $rm "$nlist" "${nlist}S" "${nlist}T"
  50757. + if (name && *name && value && *value)
  50758. + {
  50759. + char *new_value = lt_extend_str (getenv (name), value, 0);
  50760. + /* some systems can't cope with a ':'-terminated path #' */
  50761. + int len = strlen (new_value);
  50762. + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  50763. + {
  50764. + new_value[len-1] = '\0';
  50765. + }
  50766. + lt_setenv (name, new_value);
  50767. + XFREE (new_value);
  50768. + }
  50769. +}
  50770. - # Parse the name list into a source file.
  50771. - $show "creating $output_objdir/$dlsyms"
  50772. +void
  50773. +lt_update_lib_path (const char *name, const char *value)
  50774. +{
  50775. + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  50776. + (name ? name : "<NULL>"),
  50777. + (value ? value : "<NULL>")));
  50778. - test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
  50779. -/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
  50780. -/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
  50781. + if (name && *name && value && *value)
  50782. + {
  50783. + char *new_value = lt_extend_str (getenv (name), value, 0);
  50784. + lt_setenv (name, new_value);
  50785. + XFREE (new_value);
  50786. + }
  50787. +}
  50788. -#ifdef __cplusplus
  50789. -extern \"C\" {
  50790. -#endif
  50791. -/* Prevent the only kind of declaration conflicts we can make. */
  50792. -#define lt_preloaded_symbols some_other_symbol
  50793. +EOF
  50794. +}
  50795. +# end: func_emit_cwrapperexe_src
  50796. -/* External symbol declarations for the compiler. */\
  50797. -"
  50798. +# func_mode_link arg...
  50799. +func_mode_link ()
  50800. +{
  50801. + $opt_debug
  50802. + case $host in
  50803. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  50804. + # It is impossible to link a dll without this setting, and
  50805. + # we shouldn't force the makefile maintainer to figure out
  50806. + # which system we are compiling for in order to pass an extra
  50807. + # flag for every libtool invocation.
  50808. + # allow_undefined=no
  50809. - if test "$dlself" = yes; then
  50810. - $show "generating symbol list for \`$output'"
  50811. + # FIXME: Unfortunately, there are problems with the above when trying
  50812. + # to make a dll which has undefined symbols, in which case not
  50813. + # even a static library is built. For now, we need to specify
  50814. + # -no-undefined on the libtool link line when we can be certain
  50815. + # that all symbols are satisfied, otherwise we get a static library.
  50816. + allow_undefined=yes
  50817. + ;;
  50818. + *)
  50819. + allow_undefined=yes
  50820. + ;;
  50821. + esac
  50822. + libtool_args=$nonopt
  50823. + base_compile="$nonopt $@"
  50824. + compile_command=$nonopt
  50825. + finalize_command=$nonopt
  50826. - test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
  50827. + compile_rpath=
  50828. + finalize_rpath=
  50829. + compile_shlibpath=
  50830. + finalize_shlibpath=
  50831. + convenience=
  50832. + old_convenience=
  50833. + deplibs=
  50834. + old_deplibs=
  50835. + compiler_flags=
  50836. + linker_flags=
  50837. + dllsearchpath=
  50838. + lib_search_path=`pwd`
  50839. + inst_prefix_dir=
  50840. + new_inherited_linker_flags=
  50841. - # Add our own program objects to the symbol list.
  50842. - progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  50843. - for arg in $progfiles; do
  50844. - $show "extracting global C symbols from \`$arg'"
  50845. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  50846. - done
  50847. + avoid_version=no
  50848. + dlfiles=
  50849. + dlprefiles=
  50850. + dlself=no
  50851. + export_dynamic=no
  50852. + export_symbols=
  50853. + export_symbols_regex=
  50854. + generated=
  50855. + libobjs=
  50856. + ltlibs=
  50857. + module=no
  50858. + no_install=no
  50859. + objs=
  50860. + non_pic_objects=
  50861. + precious_files_regex=
  50862. + prefer_static_libs=no
  50863. + preload=no
  50864. + prev=
  50865. + prevarg=
  50866. + release=
  50867. + rpath=
  50868. + xrpath=
  50869. + perm_rpath=
  50870. + temp_rpath=
  50871. + thread_safe=no
  50872. + vinfo=
  50873. + vinfo_number=no
  50874. + weak_libs=
  50875. + single_module="${wl}-single_module"
  50876. + func_infer_tag $base_compile
  50877. - if test -n "$exclude_expsyms"; then
  50878. - $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  50879. - $run eval '$mv "$nlist"T "$nlist"'
  50880. - fi
  50881. -
  50882. - if test -n "$export_symbols_regex"; then
  50883. - $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  50884. - $run eval '$mv "$nlist"T "$nlist"'
  50885. - fi
  50886. -
  50887. - # Prepare the list of exported symbols
  50888. - if test -z "$export_symbols"; then
  50889. - export_symbols="$output_objdir/$outputname.exp"
  50890. - $run $rm $export_symbols
  50891. - $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  50892. - case $host in
  50893. - *cygwin* | *mingw* )
  50894. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  50895. - $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  50896. - ;;
  50897. - esac
  50898. - else
  50899. - $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  50900. - $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  50901. - $run eval 'mv "$nlist"T "$nlist"'
  50902. - case $host in
  50903. - *cygwin* | *mingw* )
  50904. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  50905. - $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  50906. - ;;
  50907. - esac
  50908. - fi
  50909. + # We need to know -static, to get the right output filenames.
  50910. + for arg
  50911. + do
  50912. + case $arg in
  50913. + -shared)
  50914. + test "$build_libtool_libs" != yes && \
  50915. + func_fatal_configuration "can not build a shared library"
  50916. + build_old_libs=no
  50917. + break
  50918. + ;;
  50919. + -all-static | -static | -static-libtool-libs)
  50920. + case $arg in
  50921. + -all-static)
  50922. + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  50923. + func_warning "complete static linking is impossible in this configuration"
  50924. fi
  50925. + if test -n "$link_static_flag"; then
  50926. + dlopen_self=$dlopen_self_static
  50927. + fi
  50928. + prefer_static_libs=yes
  50929. + ;;
  50930. + -static)
  50931. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  50932. + dlopen_self=$dlopen_self_static
  50933. + fi
  50934. + prefer_static_libs=built
  50935. + ;;
  50936. + -static-libtool-libs)
  50937. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  50938. + dlopen_self=$dlopen_self_static
  50939. + fi
  50940. + prefer_static_libs=yes
  50941. + ;;
  50942. + esac
  50943. + build_libtool_libs=no
  50944. + build_old_libs=yes
  50945. + break
  50946. + ;;
  50947. + esac
  50948. + done
  50949. - for arg in $dlprefiles; do
  50950. - $show "extracting global C symbols from \`$arg'"
  50951. - name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
  50952. - $run eval '$echo ": $name " >> "$nlist"'
  50953. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  50954. - done
  50955. -
  50956. - if test -z "$run"; then
  50957. - # Make sure we have at least an empty file.
  50958. - test -f "$nlist" || : > "$nlist"
  50959. -
  50960. - if test -n "$exclude_expsyms"; then
  50961. - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  50962. - $mv "$nlist"T "$nlist"
  50963. - fi
  50964. + # See if our shared archives depend on static archives.
  50965. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  50966. - # Try sorting and uniquifying the output.
  50967. - if grep -v "^: " < "$nlist" |
  50968. - if sort -k 3 </dev/null >/dev/null 2>&1; then
  50969. - sort -k 3
  50970. - else
  50971. - sort +2
  50972. - fi |
  50973. - uniq > "$nlist"S; then
  50974. - :
  50975. + # Go through the arguments, transforming them on the way.
  50976. + while test "$#" -gt 0; do
  50977. + arg="$1"
  50978. + shift
  50979. + func_quote_for_eval "$arg"
  50980. + qarg=$func_quote_for_eval_unquoted_result
  50981. + func_append libtool_args " $func_quote_for_eval_result"
  50982. +
  50983. + # If the previous option needs an argument, assign it.
  50984. + if test -n "$prev"; then
  50985. + case $prev in
  50986. + output)
  50987. + func_append compile_command " @OUTPUT@"
  50988. + func_append finalize_command " @OUTPUT@"
  50989. + ;;
  50990. + esac
  50991. +
  50992. + case $prev in
  50993. + dlfiles|dlprefiles)
  50994. + if test "$preload" = no; then
  50995. + # Add the symbol object into the linking commands.
  50996. + func_append compile_command " @SYMFILE@"
  50997. + func_append finalize_command " @SYMFILE@"
  50998. + preload=yes
  50999. + fi
  51000. + case $arg in
  51001. + *.la | *.lo) ;; # We handle these cases below.
  51002. + force)
  51003. + if test "$dlself" = no; then
  51004. + dlself=needless
  51005. + export_dynamic=yes
  51006. + fi
  51007. + prev=
  51008. + continue
  51009. + ;;
  51010. + self)
  51011. + if test "$prev" = dlprefiles; then
  51012. + dlself=yes
  51013. + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  51014. + dlself=yes
  51015. else
  51016. - grep -v "^: " < "$nlist" > "$nlist"S
  51017. + dlself=needless
  51018. + export_dynamic=yes
  51019. fi
  51020. -
  51021. - if test -f "$nlist"S; then
  51022. - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
  51023. + prev=
  51024. + continue
  51025. + ;;
  51026. + *)
  51027. + if test "$prev" = dlfiles; then
  51028. + dlfiles="$dlfiles $arg"
  51029. else
  51030. - $echo '/* NONE */' >> "$output_objdir/$dlsyms"
  51031. + dlprefiles="$dlprefiles $arg"
  51032. fi
  51033. + prev=
  51034. + continue
  51035. + ;;
  51036. + esac
  51037. + ;;
  51038. + expsyms)
  51039. + export_symbols="$arg"
  51040. + test -f "$arg" \
  51041. + || func_fatal_error "symbol file \`$arg' does not exist"
  51042. + prev=
  51043. + continue
  51044. + ;;
  51045. + expsyms_regex)
  51046. + export_symbols_regex="$arg"
  51047. + prev=
  51048. + continue
  51049. + ;;
  51050. + framework)
  51051. + case $host in
  51052. + *-*-darwin*)
  51053. + case "$deplibs " in
  51054. + *" $qarg.ltframework "*) ;;
  51055. + *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  51056. + ;;
  51057. + esac
  51058. + ;;
  51059. + esac
  51060. + prev=
  51061. + continue
  51062. + ;;
  51063. + inst_prefix)
  51064. + inst_prefix_dir="$arg"
  51065. + prev=
  51066. + continue
  51067. + ;;
  51068. + objectlist)
  51069. + if test -f "$arg"; then
  51070. + save_arg=$arg
  51071. + moreargs=
  51072. + for fil in `cat "$save_arg"`
  51073. + do
  51074. +# moreargs="$moreargs $fil"
  51075. + arg=$fil
  51076. + # A libtool-controlled object.
  51077. - $echo >> "$output_objdir/$dlsyms" "\
  51078. + # Check to see that this really is a libtool object.
  51079. + if func_lalib_unsafe_p "$arg"; then
  51080. + pic_object=
  51081. + non_pic_object=
  51082. -#undef lt_preloaded_symbols
  51083. + # Read the .lo file
  51084. + func_source "$arg"
  51085. -#if defined (__STDC__) && __STDC__
  51086. -# define lt_ptr void *
  51087. -#else
  51088. -# define lt_ptr char *
  51089. -# define const
  51090. -#endif
  51091. + if test -z "$pic_object" ||
  51092. + test -z "$non_pic_object" ||
  51093. + test "$pic_object" = none &&
  51094. + test "$non_pic_object" = none; then
  51095. + func_fatal_error "cannot find name of object for \`$arg'"
  51096. + fi
  51097. -/* The mapping between symbol names and symbols. */
  51098. -"
  51099. + # Extract subdirectory from the argument.
  51100. + func_dirname "$arg" "/" ""
  51101. + xdir="$func_dirname_result"
  51102. - case $host in
  51103. - *cygwin* | *mingw* )
  51104. - $echo >> "$output_objdir/$dlsyms" "\
  51105. -/* DATA imports from DLLs on WIN32 can't be const, because
  51106. - runtime relocations are performed -- see ld's documentation
  51107. - on pseudo-relocs */
  51108. -struct {
  51109. -"
  51110. - ;;
  51111. - * )
  51112. - $echo >> "$output_objdir/$dlsyms" "\
  51113. -const struct {
  51114. -"
  51115. - ;;
  51116. - esac
  51117. + if test "$pic_object" != none; then
  51118. + # Prepend the subdirectory the object is found in.
  51119. + pic_object="$xdir$pic_object"
  51120. + if test "$prev" = dlfiles; then
  51121. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  51122. + dlfiles="$dlfiles $pic_object"
  51123. + prev=
  51124. + continue
  51125. + else
  51126. + # If libtool objects are unsupported, then we need to preload.
  51127. + prev=dlprefiles
  51128. + fi
  51129. + fi
  51130. - $echo >> "$output_objdir/$dlsyms" "\
  51131. - const char *name;
  51132. - lt_ptr address;
  51133. -}
  51134. -lt_preloaded_symbols[] =
  51135. -{\
  51136. -"
  51137. + # CHECK ME: I think I busted this. -Ossama
  51138. + if test "$prev" = dlprefiles; then
  51139. + # Preload the old-style object.
  51140. + dlprefiles="$dlprefiles $pic_object"
  51141. + prev=
  51142. + fi
  51143. - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
  51144. + # A PIC object.
  51145. + func_append libobjs " $pic_object"
  51146. + arg="$pic_object"
  51147. + fi
  51148. - $echo >> "$output_objdir/$dlsyms" "\
  51149. - {0, (lt_ptr) 0}
  51150. -};
  51151. + # Non-PIC object.
  51152. + if test "$non_pic_object" != none; then
  51153. + # Prepend the subdirectory the object is found in.
  51154. + non_pic_object="$xdir$non_pic_object"
  51155. -/* This works around a problem in FreeBSD linker */
  51156. -#ifdef FREEBSD_WORKAROUND
  51157. -static const void *lt_preloaded_setup() {
  51158. - return lt_preloaded_symbols;
  51159. -}
  51160. -#endif
  51161. + # A standard non-PIC object
  51162. + func_append non_pic_objects " $non_pic_object"
  51163. + if test -z "$pic_object" || test "$pic_object" = none ; then
  51164. + arg="$non_pic_object"
  51165. + fi
  51166. + else
  51167. + # If the PIC object exists, use it instead.
  51168. + # $xdir was prepended to $pic_object above.
  51169. + non_pic_object="$pic_object"
  51170. + func_append non_pic_objects " $non_pic_object"
  51171. + fi
  51172. + else
  51173. + # Only an error if not doing a dry-run.
  51174. + if $opt_dry_run; then
  51175. + # Extract subdirectory from the argument.
  51176. + func_dirname "$arg" "/" ""
  51177. + xdir="$func_dirname_result"
  51178. -#ifdef __cplusplus
  51179. -}
  51180. -#endif\
  51181. -"
  51182. + func_lo2o "$arg"
  51183. + pic_object=$xdir$objdir/$func_lo2o_result
  51184. + non_pic_object=$xdir$func_lo2o_result
  51185. + func_append libobjs " $pic_object"
  51186. + func_append non_pic_objects " $non_pic_object"
  51187. + else
  51188. + func_fatal_error "\`$arg' is not a valid libtool object"
  51189. + fi
  51190. + fi
  51191. + done
  51192. + else
  51193. + func_fatal_error "link input file \`$arg' does not exist"
  51194. fi
  51195. -
  51196. - pic_flag_for_symtable=
  51197. - case $host in
  51198. - # compiling the symbol table file with pic_flag works around
  51199. - # a FreeBSD bug that causes programs to crash when -lm is
  51200. - # linked before any other PIC object. But we must not use
  51201. - # pic_flag when linking with -static. The problem exists in
  51202. - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  51203. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  51204. - case "$compile_command " in
  51205. - *" -static "*) ;;
  51206. - *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
  51207. - esac;;
  51208. - *-*-hpux*)
  51209. - case "$compile_command " in
  51210. - *" -static "*) ;;
  51211. - *) pic_flag_for_symtable=" $pic_flag";;
  51212. - esac
  51213. + arg=$save_arg
  51214. + prev=
  51215. + continue
  51216. + ;;
  51217. + precious_regex)
  51218. + precious_files_regex="$arg"
  51219. + prev=
  51220. + continue
  51221. + ;;
  51222. + release)
  51223. + release="-$arg"
  51224. + prev=
  51225. + continue
  51226. + ;;
  51227. + rpath | xrpath)
  51228. + # We need an absolute path.
  51229. + case $arg in
  51230. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  51231. + *)
  51232. + func_fatal_error "only absolute run-paths are allowed"
  51233. + ;;
  51234. esac
  51235. -
  51236. - # Now compile the dynamic symbol file.
  51237. - $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
  51238. - $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
  51239. -
  51240. - # Clean up the generated files.
  51241. - $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
  51242. - $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
  51243. -
  51244. - # Transform the symbol file into the correct name.
  51245. - case $host in
  51246. - *cygwin* | *mingw* )
  51247. - if test -f "$output_objdir/${outputname}.def" ; then
  51248. - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
  51249. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
  51250. - else
  51251. - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  51252. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  51253. - fi
  51254. - ;;
  51255. - * )
  51256. - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  51257. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  51258. - ;;
  51259. - esac
  51260. + if test "$prev" = rpath; then
  51261. + case "$rpath " in
  51262. + *" $arg "*) ;;
  51263. + *) rpath="$rpath $arg" ;;
  51264. + esac
  51265. + else
  51266. + case "$xrpath " in
  51267. + *" $arg "*) ;;
  51268. + *) xrpath="$xrpath $arg" ;;
  51269. + esac
  51270. + fi
  51271. + prev=
  51272. + continue
  51273. + ;;
  51274. + shrext)
  51275. + shrext_cmds="$arg"
  51276. + prev=
  51277. + continue
  51278. + ;;
  51279. + weak)
  51280. + weak_libs="$weak_libs $arg"
  51281. + prev=
  51282. + continue
  51283. + ;;
  51284. + xcclinker)
  51285. + linker_flags="$linker_flags $qarg"
  51286. + compiler_flags="$compiler_flags $qarg"
  51287. + prev=
  51288. + func_append compile_command " $qarg"
  51289. + func_append finalize_command " $qarg"
  51290. + continue
  51291. + ;;
  51292. + xcompiler)
  51293. + compiler_flags="$compiler_flags $qarg"
  51294. + prev=
  51295. + func_append compile_command " $qarg"
  51296. + func_append finalize_command " $qarg"
  51297. + continue
  51298. + ;;
  51299. + xlinker)
  51300. + linker_flags="$linker_flags $qarg"
  51301. + compiler_flags="$compiler_flags $wl$qarg"
  51302. + prev=
  51303. + func_append compile_command " $wl$qarg"
  51304. + func_append finalize_command " $wl$qarg"
  51305. + continue
  51306. ;;
  51307. *)
  51308. - $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
  51309. - exit $EXIT_FAILURE
  51310. + eval "$prev=\"\$arg\""
  51311. + prev=
  51312. + continue
  51313. ;;
  51314. esac
  51315. - else
  51316. - # We keep going just in case the user didn't refer to
  51317. - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  51318. - # really was required.
  51319. + fi # test -n "$prev"
  51320. - # Nullify the symbol file.
  51321. - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  51322. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  51323. - fi
  51324. + prevarg="$arg"
  51325. - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  51326. - # Replace the output file specification.
  51327. - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  51328. - link_command="$compile_command$compile_rpath"
  51329. + case $arg in
  51330. + -all-static)
  51331. + if test -n "$link_static_flag"; then
  51332. + # See comment for -static flag below, for more details.
  51333. + func_append compile_command " $link_static_flag"
  51334. + func_append finalize_command " $link_static_flag"
  51335. + fi
  51336. + continue
  51337. + ;;
  51338. - # We have no uninstalled library dependencies, so finalize right now.
  51339. - $show "$link_command"
  51340. - $run eval "$link_command"
  51341. - exit_status=$?
  51342. + -allow-undefined)
  51343. + # FIXME: remove this flag sometime in the future.
  51344. + func_fatal_error "\`-allow-undefined' must not be used because it is the default"
  51345. + ;;
  51346. - # Delete the generated files.
  51347. - if test -n "$dlsyms"; then
  51348. - $show "$rm $output_objdir/${outputname}S.${objext}"
  51349. - $run $rm "$output_objdir/${outputname}S.${objext}"
  51350. - fi
  51351. + -avoid-version)
  51352. + avoid_version=yes
  51353. + continue
  51354. + ;;
  51355. - exit $exit_status
  51356. - fi
  51357. + -dlopen)
  51358. + prev=dlfiles
  51359. + continue
  51360. + ;;
  51361. - if test -n "$shlibpath_var"; then
  51362. - # We should set the shlibpath_var
  51363. - rpath=
  51364. - for dir in $temp_rpath; do
  51365. - case $dir in
  51366. - [\\/]* | [A-Za-z]:[\\/]*)
  51367. - # Absolute path.
  51368. - rpath="$rpath$dir:"
  51369. - ;;
  51370. - *)
  51371. - # Relative path: add a thisdir entry.
  51372. - rpath="$rpath\$thisdir/$dir:"
  51373. - ;;
  51374. - esac
  51375. - done
  51376. - temp_rpath="$rpath"
  51377. - fi
  51378. + -dlpreopen)
  51379. + prev=dlprefiles
  51380. + continue
  51381. + ;;
  51382. - if test -n "$compile_shlibpath$finalize_shlibpath"; then
  51383. - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  51384. - fi
  51385. - if test -n "$finalize_shlibpath"; then
  51386. - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  51387. - fi
  51388. + -export-dynamic)
  51389. + export_dynamic=yes
  51390. + continue
  51391. + ;;
  51392. - compile_var=
  51393. - finalize_var=
  51394. - if test -n "$runpath_var"; then
  51395. - if test -n "$perm_rpath"; then
  51396. - # We should set the runpath_var.
  51397. - rpath=
  51398. - for dir in $perm_rpath; do
  51399. - rpath="$rpath$dir:"
  51400. - done
  51401. - compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  51402. + -export-symbols | -export-symbols-regex)
  51403. + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  51404. + func_fatal_error "more than one -exported-symbols argument is not allowed"
  51405. fi
  51406. - if test -n "$finalize_perm_rpath"; then
  51407. - # We should set the runpath_var.
  51408. - rpath=
  51409. - for dir in $finalize_perm_rpath; do
  51410. - rpath="$rpath$dir:"
  51411. - done
  51412. - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  51413. + if test "X$arg" = "X-export-symbols"; then
  51414. + prev=expsyms
  51415. + else
  51416. + prev=expsyms_regex
  51417. fi
  51418. - fi
  51419. + continue
  51420. + ;;
  51421. - if test "$no_install" = yes; then
  51422. - # We don't need to create a wrapper script.
  51423. - link_command="$compile_var$compile_command$compile_rpath"
  51424. - # Replace the output file specification.
  51425. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  51426. - # Delete the old output file.
  51427. - $run $rm $output
  51428. - # Link the executable and exit
  51429. - $show "$link_command"
  51430. - $run eval "$link_command" || exit $?
  51431. - exit $EXIT_SUCCESS
  51432. - fi
  51433. + -framework)
  51434. + prev=framework
  51435. + continue
  51436. + ;;
  51437. - if test "$hardcode_action" = relink; then
  51438. - # Fast installation is not supported
  51439. - link_command="$compile_var$compile_command$compile_rpath"
  51440. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  51441. + -inst-prefix-dir)
  51442. + prev=inst_prefix
  51443. + continue
  51444. + ;;
  51445. - $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
  51446. - $echo "$modename: \`$output' will be relinked during installation" 1>&2
  51447. - else
  51448. - if test "$fast_install" != no; then
  51449. - link_command="$finalize_var$compile_command$finalize_rpath"
  51450. - if test "$fast_install" = yes; then
  51451. - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  51452. + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  51453. + # so, if we see these flags be careful not to treat them like -L
  51454. + -L[A-Z][A-Z]*:*)
  51455. + case $with_gcc/$host in
  51456. + no/*-*-irix* | /*-*-irix*)
  51457. + func_append compile_command " $arg"
  51458. + func_append finalize_command " $arg"
  51459. + ;;
  51460. + esac
  51461. + continue
  51462. + ;;
  51463. +
  51464. + -L*)
  51465. + func_stripname '-L' '' "$arg"
  51466. + dir=$func_stripname_result
  51467. + if test -z "$dir"; then
  51468. + if test "$#" -gt 0; then
  51469. + func_fatal_error "require no space between \`-L' and \`$1'"
  51470. else
  51471. - # fast_install is set to needless
  51472. - relink_command=
  51473. + func_fatal_error "need path for \`-L' option"
  51474. fi
  51475. - else
  51476. - link_command="$compile_var$compile_command$compile_rpath"
  51477. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  51478. fi
  51479. - fi
  51480. + # We need an absolute path.
  51481. + case $dir in
  51482. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  51483. + *)
  51484. + absdir=`cd "$dir" && pwd`
  51485. + test -z "$absdir" && \
  51486. + func_fatal_error "cannot determine absolute directory name of \`$dir'"
  51487. + dir="$absdir"
  51488. + ;;
  51489. + esac
  51490. + case "$deplibs " in
  51491. + *" -L$dir "*) ;;
  51492. + *)
  51493. + deplibs="$deplibs -L$dir"
  51494. + lib_search_path="$lib_search_path $dir"
  51495. + ;;
  51496. + esac
  51497. + case $host in
  51498. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  51499. + testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  51500. + case :$dllsearchpath: in
  51501. + *":$dir:"*) ;;
  51502. + ::) dllsearchpath=$dir;;
  51503. + *) dllsearchpath="$dllsearchpath:$dir";;
  51504. + esac
  51505. + case :$dllsearchpath: in
  51506. + *":$testbindir:"*) ;;
  51507. + ::) dllsearchpath=$testbindir;;
  51508. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  51509. + esac
  51510. + ;;
  51511. + esac
  51512. + continue
  51513. + ;;
  51514. - # Replace the output file specification.
  51515. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  51516. + -l*)
  51517. + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  51518. + case $host in
  51519. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  51520. + # These systems don't actually have a C or math library (as such)
  51521. + continue
  51522. + ;;
  51523. + *-*-os2*)
  51524. + # These systems don't actually have a C library (as such)
  51525. + test "X$arg" = "X-lc" && continue
  51526. + ;;
  51527. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  51528. + # Do not include libc due to us having libc/libc_r.
  51529. + test "X$arg" = "X-lc" && continue
  51530. + ;;
  51531. + *-*-rhapsody* | *-*-darwin1.[012])
  51532. + # Rhapsody C and math libraries are in the System framework
  51533. + deplibs="$deplibs System.ltframework"
  51534. + continue
  51535. + ;;
  51536. + *-*-sco3.2v5* | *-*-sco5v6*)
  51537. + # Causes problems with __ctype
  51538. + test "X$arg" = "X-lc" && continue
  51539. + ;;
  51540. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  51541. + # Compiler inserts libc in the correct place for threads to work
  51542. + test "X$arg" = "X-lc" && continue
  51543. + ;;
  51544. + esac
  51545. + elif test "X$arg" = "X-lc_r"; then
  51546. + case $host in
  51547. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  51548. + # Do not include libc_r directly, use -pthread flag.
  51549. + continue
  51550. + ;;
  51551. + esac
  51552. + fi
  51553. + deplibs="$deplibs $arg"
  51554. + continue
  51555. + ;;
  51556. - # Delete the old output files.
  51557. - $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
  51558. + -module)
  51559. + module=yes
  51560. + continue
  51561. + ;;
  51562. - $show "$link_command"
  51563. - $run eval "$link_command" || exit $?
  51564. + # Tru64 UNIX uses -model [arg] to determine the layout of C++
  51565. + # classes, name mangling, and exception handling.
  51566. + # Darwin uses the -arch flag to determine output architecture.
  51567. + -model|-arch|-isysroot)
  51568. + compiler_flags="$compiler_flags $arg"
  51569. + func_append compile_command " $arg"
  51570. + func_append finalize_command " $arg"
  51571. + prev=xcompiler
  51572. + continue
  51573. + ;;
  51574. - # Now create the wrapper script.
  51575. - $show "creating $output"
  51576. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  51577. + compiler_flags="$compiler_flags $arg"
  51578. + func_append compile_command " $arg"
  51579. + func_append finalize_command " $arg"
  51580. + case "$new_inherited_linker_flags " in
  51581. + *" $arg "*) ;;
  51582. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  51583. + esac
  51584. + continue
  51585. + ;;
  51586. - # Quote the relink command for shipping.
  51587. - if test -n "$relink_command"; then
  51588. - # Preserve any variables that may affect compiler behavior
  51589. - for var in $variables_saved_for_relink; do
  51590. - if eval test -z \"\${$var+set}\"; then
  51591. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  51592. - elif eval var_value=\$$var; test -z "$var_value"; then
  51593. - relink_command="$var=; export $var; $relink_command"
  51594. - else
  51595. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  51596. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  51597. - fi
  51598. - done
  51599. - relink_command="(cd `pwd`; $relink_command)"
  51600. - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  51601. - fi
  51602. + -multi_module)
  51603. + single_module="${wl}-multi_module"
  51604. + continue
  51605. + ;;
  51606. - # Quote $echo for shipping.
  51607. - if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
  51608. - case $progpath in
  51609. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  51610. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  51611. - esac
  51612. - qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
  51613. - else
  51614. - qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
  51615. - fi
  51616. + -no-fast-install)
  51617. + fast_install=no
  51618. + continue
  51619. + ;;
  51620. - # Only actually do things if our run command is non-null.
  51621. - if test -z "$run"; then
  51622. - # win32 will think the script is a binary if it has
  51623. - # a .exe suffix, so we strip it off here.
  51624. - case $output in
  51625. - *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
  51626. - esac
  51627. - # test for cygwin because mv fails w/o .exe extensions
  51628. + -no-install)
  51629. case $host in
  51630. - *cygwin*)
  51631. - exeext=.exe
  51632. - outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
  51633. - *) exeext= ;;
  51634. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  51635. + # The PATH hackery in wrapper scripts is required on Windows
  51636. + # and Darwin in order for the loader to find any dlls it needs.
  51637. + func_warning "\`-no-install' is ignored for $host"
  51638. + func_warning "assuming \`-no-fast-install' instead"
  51639. + fast_install=no
  51640. + ;;
  51641. + *) no_install=yes ;;
  51642. esac
  51643. - case $host in
  51644. - *cygwin* | *mingw* )
  51645. - output_name=`basename $output`
  51646. - output_path=`dirname $output`
  51647. - cwrappersource="$output_path/$objdir/lt-$output_name.c"
  51648. - cwrapper="$output_path/$output_name.exe"
  51649. - $rm $cwrappersource $cwrapper
  51650. - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  51651. -
  51652. - cat > $cwrappersource <<EOF
  51653. + continue
  51654. + ;;
  51655. -/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  51656. - Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  51657. + -no-undefined)
  51658. + allow_undefined=no
  51659. + continue
  51660. + ;;
  51661. - The $output program cannot be directly executed until all the libtool
  51662. - libraries that it depends on are installed.
  51663. + -objectlist)
  51664. + prev=objectlist
  51665. + continue
  51666. + ;;
  51667. - This wrapper executable should never be moved out of the build directory.
  51668. - If it is, it will not operate correctly.
  51669. + -o) prev=output ;;
  51670. - Currently, it simply execs the wrapper *script* "/bin/sh $output",
  51671. - but could eventually absorb all of the scripts functionality and
  51672. - exec $objdir/$outputname directly.
  51673. -*/
  51674. -EOF
  51675. - cat >> $cwrappersource<<"EOF"
  51676. -#include <stdio.h>
  51677. -#include <stdlib.h>
  51678. -#include <unistd.h>
  51679. -#include <malloc.h>
  51680. -#include <stdarg.h>
  51681. -#include <assert.h>
  51682. -#include <string.h>
  51683. -#include <ctype.h>
  51684. -#include <sys/stat.h>
  51685. + -precious-files-regex)
  51686. + prev=precious_regex
  51687. + continue
  51688. + ;;
  51689. -#if defined(PATH_MAX)
  51690. -# define LT_PATHMAX PATH_MAX
  51691. -#elif defined(MAXPATHLEN)
  51692. -# define LT_PATHMAX MAXPATHLEN
  51693. -#else
  51694. -# define LT_PATHMAX 1024
  51695. -#endif
  51696. + -release)
  51697. + prev=release
  51698. + continue
  51699. + ;;
  51700. -#ifndef DIR_SEPARATOR
  51701. -# define DIR_SEPARATOR '/'
  51702. -# define PATH_SEPARATOR ':'
  51703. -#endif
  51704. + -rpath)
  51705. + prev=rpath
  51706. + continue
  51707. + ;;
  51708. -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  51709. - defined (__OS2__)
  51710. -# define HAVE_DOS_BASED_FILE_SYSTEM
  51711. -# ifndef DIR_SEPARATOR_2
  51712. -# define DIR_SEPARATOR_2 '\\'
  51713. -# endif
  51714. -# ifndef PATH_SEPARATOR_2
  51715. -# define PATH_SEPARATOR_2 ';'
  51716. -# endif
  51717. -#endif
  51718. + -R)
  51719. + prev=xrpath
  51720. + continue
  51721. + ;;
  51722. -#ifndef DIR_SEPARATOR_2
  51723. -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  51724. -#else /* DIR_SEPARATOR_2 */
  51725. -# define IS_DIR_SEPARATOR(ch) \
  51726. - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  51727. -#endif /* DIR_SEPARATOR_2 */
  51728. + -R*)
  51729. + func_stripname '-R' '' "$arg"
  51730. + dir=$func_stripname_result
  51731. + # We need an absolute path.
  51732. + case $dir in
  51733. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  51734. + *)
  51735. + func_fatal_error "only absolute run-paths are allowed"
  51736. + ;;
  51737. + esac
  51738. + case "$xrpath " in
  51739. + *" $dir "*) ;;
  51740. + *) xrpath="$xrpath $dir" ;;
  51741. + esac
  51742. + continue
  51743. + ;;
  51744. -#ifndef PATH_SEPARATOR_2
  51745. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  51746. -#else /* PATH_SEPARATOR_2 */
  51747. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  51748. -#endif /* PATH_SEPARATOR_2 */
  51749. + -shared)
  51750. + # The effects of -shared are defined in a previous loop.
  51751. + continue
  51752. + ;;
  51753. -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  51754. -#define XFREE(stale) do { \
  51755. - if (stale) { free ((void *) stale); stale = 0; } \
  51756. -} while (0)
  51757. + -shrext)
  51758. + prev=shrext
  51759. + continue
  51760. + ;;
  51761. -/* -DDEBUG is fairly common in CFLAGS. */
  51762. -#undef DEBUG
  51763. -#if defined DEBUGWRAPPER
  51764. -# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
  51765. -#else
  51766. -# define DEBUG(format, ...)
  51767. -#endif
  51768. + -static | -static-libtool-libs)
  51769. + # The effects of -static are defined in a previous loop.
  51770. + # We used to do the same as -all-static on platforms that
  51771. + # didn't have a PIC flag, but the assumption that the effects
  51772. + # would be equivalent was wrong. It would break on at least
  51773. + # Digital Unix and AIX.
  51774. + continue
  51775. + ;;
  51776. -const char *program_name = NULL;
  51777. + -thread-safe)
  51778. + thread_safe=yes
  51779. + continue
  51780. + ;;
  51781. -void * xmalloc (size_t num);
  51782. -char * xstrdup (const char *string);
  51783. -const char * base_name (const char *name);
  51784. -char * find_executable(const char *wrapper);
  51785. -int check_executable(const char *path);
  51786. -char * strendzap(char *str, const char *pat);
  51787. -void lt_fatal (const char *message, ...);
  51788. + -version-info)
  51789. + prev=vinfo
  51790. + continue
  51791. + ;;
  51792. -int
  51793. -main (int argc, char *argv[])
  51794. -{
  51795. - char **newargz;
  51796. - int i;
  51797. + -version-number)
  51798. + prev=vinfo
  51799. + vinfo_number=yes
  51800. + continue
  51801. + ;;
  51802. - program_name = (char *) xstrdup (base_name (argv[0]));
  51803. - DEBUG("(main) argv[0] : %s\n",argv[0]);
  51804. - DEBUG("(main) program_name : %s\n",program_name);
  51805. - newargz = XMALLOC(char *, argc+2);
  51806. -EOF
  51807. + -weak)
  51808. + prev=weak
  51809. + continue
  51810. + ;;
  51811. - cat >> $cwrappersource <<EOF
  51812. - newargz[0] = (char *) xstrdup("$SHELL");
  51813. -EOF
  51814. + -Wc,*)
  51815. + func_stripname '-Wc,' '' "$arg"
  51816. + args=$func_stripname_result
  51817. + arg=
  51818. + save_ifs="$IFS"; IFS=','
  51819. + for flag in $args; do
  51820. + IFS="$save_ifs"
  51821. + func_quote_for_eval "$flag"
  51822. + arg="$arg $wl$func_quote_for_eval_result"
  51823. + compiler_flags="$compiler_flags $func_quote_for_eval_result"
  51824. + done
  51825. + IFS="$save_ifs"
  51826. + func_stripname ' ' '' "$arg"
  51827. + arg=$func_stripname_result
  51828. + ;;
  51829. - cat >> $cwrappersource <<"EOF"
  51830. - newargz[1] = find_executable(argv[0]);
  51831. - if (newargz[1] == NULL)
  51832. - lt_fatal("Couldn't find %s", argv[0]);
  51833. - DEBUG("(main) found exe at : %s\n",newargz[1]);
  51834. - /* we know the script has the same name, without the .exe */
  51835. - /* so make sure newargz[1] doesn't end in .exe */
  51836. - strendzap(newargz[1],".exe");
  51837. - for (i = 1; i < argc; i++)
  51838. - newargz[i+1] = xstrdup(argv[i]);
  51839. - newargz[argc+1] = NULL;
  51840. + -Wl,*)
  51841. + func_stripname '-Wl,' '' "$arg"
  51842. + args=$func_stripname_result
  51843. + arg=
  51844. + save_ifs="$IFS"; IFS=','
  51845. + for flag in $args; do
  51846. + IFS="$save_ifs"
  51847. + func_quote_for_eval "$flag"
  51848. + arg="$arg $wl$func_quote_for_eval_result"
  51849. + compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  51850. + linker_flags="$linker_flags $func_quote_for_eval_result"
  51851. + done
  51852. + IFS="$save_ifs"
  51853. + func_stripname ' ' '' "$arg"
  51854. + arg=$func_stripname_result
  51855. + ;;
  51856. - for (i=0; i<argc+1; i++)
  51857. - {
  51858. - DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
  51859. - ;
  51860. - }
  51861. + -Xcompiler)
  51862. + prev=xcompiler
  51863. + continue
  51864. + ;;
  51865. -EOF
  51866. + -Xlinker)
  51867. + prev=xlinker
  51868. + continue
  51869. + ;;
  51870. - case $host_os in
  51871. - mingw*)
  51872. - cat >> $cwrappersource <<EOF
  51873. - execv("$SHELL",(char const **)newargz);
  51874. -EOF
  51875. - ;;
  51876. - *)
  51877. - cat >> $cwrappersource <<EOF
  51878. - execv("$SHELL",newargz);
  51879. -EOF
  51880. - ;;
  51881. - esac
  51882. + -XCClinker)
  51883. + prev=xcclinker
  51884. + continue
  51885. + ;;
  51886. - cat >> $cwrappersource <<"EOF"
  51887. - return 127;
  51888. -}
  51889. + # -msg_* for osf cc
  51890. + -msg_*)
  51891. + func_quote_for_eval "$arg"
  51892. + arg="$func_quote_for_eval_result"
  51893. + ;;
  51894. -void *
  51895. -xmalloc (size_t num)
  51896. -{
  51897. - void * p = (void *) malloc (num);
  51898. - if (!p)
  51899. - lt_fatal ("Memory exhausted");
  51900. + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  51901. + # -r[0-9][0-9]* specifies the processor on the SGI compiler
  51902. + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  51903. + # +DA*, +DD* enable 64-bit mode on the HP compiler
  51904. + # -q* pass through compiler args for the IBM compiler
  51905. + # -m*, -t[45]*, -txscale* pass through architecture-specific
  51906. + # compiler args for GCC
  51907. + # -F/path gives path to uninstalled frameworks, gcc on darwin
  51908. + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  51909. + # @file GCC response files
  51910. + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  51911. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto*)
  51912. + func_quote_for_eval "$arg"
  51913. + arg="$func_quote_for_eval_result"
  51914. + func_append compile_command " $arg"
  51915. + func_append finalize_command " $arg"
  51916. + compiler_flags="$compiler_flags $arg"
  51917. + continue
  51918. + ;;
  51919. - return p;
  51920. -}
  51921. + # Some other compiler flag.
  51922. + -* | +*)
  51923. + func_quote_for_eval "$arg"
  51924. + arg="$func_quote_for_eval_result"
  51925. + ;;
  51926. -char *
  51927. -xstrdup (const char *string)
  51928. -{
  51929. - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
  51930. -;
  51931. -}
  51932. + *.$objext)
  51933. + # A standard object.
  51934. + objs="$objs $arg"
  51935. + ;;
  51936. -const char *
  51937. -base_name (const char *name)
  51938. -{
  51939. - const char *base;
  51940. + *.lo)
  51941. + # A libtool-controlled object.
  51942. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  51943. - /* Skip over the disk name in MSDOS pathnames. */
  51944. - if (isalpha ((unsigned char)name[0]) && name[1] == ':')
  51945. - name += 2;
  51946. -#endif
  51947. + # Check to see that this really is a libtool object.
  51948. + if func_lalib_unsafe_p "$arg"; then
  51949. + pic_object=
  51950. + non_pic_object=
  51951. - for (base = name; *name; name++)
  51952. - if (IS_DIR_SEPARATOR (*name))
  51953. - base = name + 1;
  51954. - return base;
  51955. -}
  51956. + # Read the .lo file
  51957. + func_source "$arg"
  51958. -int
  51959. -check_executable(const char * path)
  51960. -{
  51961. - struct stat st;
  51962. + if test -z "$pic_object" ||
  51963. + test -z "$non_pic_object" ||
  51964. + test "$pic_object" = none &&
  51965. + test "$non_pic_object" = none; then
  51966. + func_fatal_error "cannot find name of object for \`$arg'"
  51967. + fi
  51968. - DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
  51969. - if ((!path) || (!*path))
  51970. - return 0;
  51971. + # Extract subdirectory from the argument.
  51972. + func_dirname "$arg" "/" ""
  51973. + xdir="$func_dirname_result"
  51974. - if ((stat (path, &st) >= 0) &&
  51975. - (
  51976. - /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
  51977. -#if defined (S_IXOTH)
  51978. - ((st.st_mode & S_IXOTH) == S_IXOTH) ||
  51979. -#endif
  51980. -#if defined (S_IXGRP)
  51981. - ((st.st_mode & S_IXGRP) == S_IXGRP) ||
  51982. -#endif
  51983. - ((st.st_mode & S_IXUSR) == S_IXUSR))
  51984. - )
  51985. - return 1;
  51986. - else
  51987. - return 0;
  51988. -}
  51989. + if test "$pic_object" != none; then
  51990. + # Prepend the subdirectory the object is found in.
  51991. + pic_object="$xdir$pic_object"
  51992. -/* Searches for the full path of the wrapper. Returns
  51993. - newly allocated full path name if found, NULL otherwise */
  51994. -char *
  51995. -find_executable (const char* wrapper)
  51996. -{
  51997. - int has_slash = 0;
  51998. - const char* p;
  51999. - const char* p_next;
  52000. - /* static buffer for getcwd */
  52001. - char tmp[LT_PATHMAX + 1];
  52002. - int tmp_len;
  52003. - char* concat_name;
  52004. + if test "$prev" = dlfiles; then
  52005. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  52006. + dlfiles="$dlfiles $pic_object"
  52007. + prev=
  52008. + continue
  52009. + else
  52010. + # If libtool objects are unsupported, then we need to preload.
  52011. + prev=dlprefiles
  52012. + fi
  52013. + fi
  52014. - DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
  52015. + # CHECK ME: I think I busted this. -Ossama
  52016. + if test "$prev" = dlprefiles; then
  52017. + # Preload the old-style object.
  52018. + dlprefiles="$dlprefiles $pic_object"
  52019. + prev=
  52020. + fi
  52021. - if ((wrapper == NULL) || (*wrapper == '\0'))
  52022. - return NULL;
  52023. + # A PIC object.
  52024. + func_append libobjs " $pic_object"
  52025. + arg="$pic_object"
  52026. + fi
  52027. - /* Absolute path? */
  52028. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  52029. - if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
  52030. - {
  52031. - concat_name = xstrdup (wrapper);
  52032. - if (check_executable(concat_name))
  52033. - return concat_name;
  52034. - XFREE(concat_name);
  52035. - }
  52036. - else
  52037. - {
  52038. -#endif
  52039. - if (IS_DIR_SEPARATOR (wrapper[0]))
  52040. - {
  52041. - concat_name = xstrdup (wrapper);
  52042. - if (check_executable(concat_name))
  52043. - return concat_name;
  52044. - XFREE(concat_name);
  52045. - }
  52046. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  52047. - }
  52048. -#endif
  52049. + # Non-PIC object.
  52050. + if test "$non_pic_object" != none; then
  52051. + # Prepend the subdirectory the object is found in.
  52052. + non_pic_object="$xdir$non_pic_object"
  52053. - for (p = wrapper; *p; p++)
  52054. - if (*p == '/')
  52055. - {
  52056. - has_slash = 1;
  52057. - break;
  52058. - }
  52059. - if (!has_slash)
  52060. - {
  52061. - /* no slashes; search PATH */
  52062. - const char* path = getenv ("PATH");
  52063. - if (path != NULL)
  52064. - {
  52065. - for (p = path; *p; p = p_next)
  52066. - {
  52067. - const char* q;
  52068. - size_t p_len;
  52069. - for (q = p; *q; q++)
  52070. - if (IS_PATH_SEPARATOR(*q))
  52071. - break;
  52072. - p_len = q - p;
  52073. - p_next = (*q == '\0' ? q : q + 1);
  52074. - if (p_len == 0)
  52075. - {
  52076. - /* empty path: current directory */
  52077. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  52078. - lt_fatal ("getcwd failed");
  52079. - tmp_len = strlen(tmp);
  52080. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  52081. - memcpy (concat_name, tmp, tmp_len);
  52082. - concat_name[tmp_len] = '/';
  52083. - strcpy (concat_name + tmp_len + 1, wrapper);
  52084. - }
  52085. - else
  52086. - {
  52087. - concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
  52088. - memcpy (concat_name, p, p_len);
  52089. - concat_name[p_len] = '/';
  52090. - strcpy (concat_name + p_len + 1, wrapper);
  52091. - }
  52092. - if (check_executable(concat_name))
  52093. - return concat_name;
  52094. - XFREE(concat_name);
  52095. - }
  52096. - }
  52097. - /* not found in PATH; assume curdir */
  52098. - }
  52099. - /* Relative path | not found in path: prepend cwd */
  52100. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  52101. - lt_fatal ("getcwd failed");
  52102. - tmp_len = strlen(tmp);
  52103. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  52104. - memcpy (concat_name, tmp, tmp_len);
  52105. - concat_name[tmp_len] = '/';
  52106. - strcpy (concat_name + tmp_len + 1, wrapper);
  52107. + # A standard non-PIC object
  52108. + func_append non_pic_objects " $non_pic_object"
  52109. + if test -z "$pic_object" || test "$pic_object" = none ; then
  52110. + arg="$non_pic_object"
  52111. + fi
  52112. + else
  52113. + # If the PIC object exists, use it instead.
  52114. + # $xdir was prepended to $pic_object above.
  52115. + non_pic_object="$pic_object"
  52116. + func_append non_pic_objects " $non_pic_object"
  52117. + fi
  52118. + else
  52119. + # Only an error if not doing a dry-run.
  52120. + if $opt_dry_run; then
  52121. + # Extract subdirectory from the argument.
  52122. + func_dirname "$arg" "/" ""
  52123. + xdir="$func_dirname_result"
  52124. - if (check_executable(concat_name))
  52125. - return concat_name;
  52126. - XFREE(concat_name);
  52127. - return NULL;
  52128. -}
  52129. + func_lo2o "$arg"
  52130. + pic_object=$xdir$objdir/$func_lo2o_result
  52131. + non_pic_object=$xdir$func_lo2o_result
  52132. + func_append libobjs " $pic_object"
  52133. + func_append non_pic_objects " $non_pic_object"
  52134. + else
  52135. + func_fatal_error "\`$arg' is not a valid libtool object"
  52136. + fi
  52137. + fi
  52138. + ;;
  52139. -char *
  52140. -strendzap(char *str, const char *pat)
  52141. -{
  52142. - size_t len, patlen;
  52143. + *.$libext)
  52144. + # An archive.
  52145. + deplibs="$deplibs $arg"
  52146. + old_deplibs="$old_deplibs $arg"
  52147. + continue
  52148. + ;;
  52149. - assert(str != NULL);
  52150. - assert(pat != NULL);
  52151. + *.la)
  52152. + # A libtool-controlled library.
  52153. - len = strlen(str);
  52154. - patlen = strlen(pat);
  52155. + if test "$prev" = dlfiles; then
  52156. + # This library was specified with -dlopen.
  52157. + dlfiles="$dlfiles $arg"
  52158. + prev=
  52159. + elif test "$prev" = dlprefiles; then
  52160. + # The library was specified with -dlpreopen.
  52161. + dlprefiles="$dlprefiles $arg"
  52162. + prev=
  52163. + else
  52164. + deplibs="$deplibs $arg"
  52165. + fi
  52166. + continue
  52167. + ;;
  52168. - if (patlen <= len)
  52169. - {
  52170. - str += len - patlen;
  52171. - if (strcmp(str, pat) == 0)
  52172. - *str = '\0';
  52173. - }
  52174. - return str;
  52175. -}
  52176. + # Some other compiler argument.
  52177. + *)
  52178. + # Unknown arguments in both finalize_command and compile_command need
  52179. + # to be aesthetically quoted because they are evaled later.
  52180. + func_quote_for_eval "$arg"
  52181. + arg="$func_quote_for_eval_result"
  52182. + ;;
  52183. + esac # arg
  52184. -static void
  52185. -lt_error_core (int exit_status, const char * mode,
  52186. - const char * message, va_list ap)
  52187. -{
  52188. - fprintf (stderr, "%s: %s: ", program_name, mode);
  52189. - vfprintf (stderr, message, ap);
  52190. - fprintf (stderr, ".\n");
  52191. + # Now actually substitute the argument into the commands.
  52192. + if test -n "$arg"; then
  52193. + func_append compile_command " $arg"
  52194. + func_append finalize_command " $arg"
  52195. + fi
  52196. + done # argument parsing loop
  52197. - if (exit_status >= 0)
  52198. - exit (exit_status);
  52199. -}
  52200. + test -n "$prev" && \
  52201. + func_fatal_help "the \`$prevarg' option requires an argument"
  52202. -void
  52203. -lt_fatal (const char *message, ...)
  52204. -{
  52205. - va_list ap;
  52206. - va_start (ap, message);
  52207. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  52208. - va_end (ap);
  52209. -}
  52210. -EOF
  52211. - # we should really use a build-platform specific compiler
  52212. - # here, but OTOH, the wrappers (shell script and this C one)
  52213. - # are only useful if you want to execute the "real" binary.
  52214. - # Since the "real" binary is built for $host, then this
  52215. - # wrapper might as well be built for $host, too.
  52216. - $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
  52217. - ;;
  52218. - esac
  52219. - $rm $output
  52220. - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
  52221. + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  52222. + eval arg=\"$export_dynamic_flag_spec\"
  52223. + func_append compile_command " $arg"
  52224. + func_append finalize_command " $arg"
  52225. + fi
  52226. - $echo > $output "\
  52227. -#! $SHELL
  52228. + oldlibs=
  52229. + # calculate the name of the file, without its directory
  52230. + func_basename "$output"
  52231. + outputname="$func_basename_result"
  52232. + libobjs_save="$libobjs"
  52233. -# $output - temporary wrapper script for $objdir/$outputname
  52234. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  52235. -#
  52236. -# The $output program cannot be directly executed until all the libtool
  52237. -# libraries that it depends on are installed.
  52238. -#
  52239. -# This wrapper script should never be moved out of the build directory.
  52240. -# If it is, it will not operate correctly.
  52241. + if test -n "$shlibpath_var"; then
  52242. + # get the directories listed in $shlibpath_var
  52243. + eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  52244. + else
  52245. + shlib_search_path=
  52246. + fi
  52247. + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  52248. + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  52249. -# Sed substitution that helps us do robust quoting. It backslashifies
  52250. -# metacharacters that are still active within double-quoted strings.
  52251. -Xsed='${SED} -e 1s/^X//'
  52252. -sed_quote_subst='$sed_quote_subst'
  52253. + func_dirname "$output" "/" ""
  52254. + output_objdir="$func_dirname_result$objdir"
  52255. + # Create the object directory.
  52256. + func_mkdir_p "$output_objdir"
  52257. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  52258. -# if CDPATH is set.
  52259. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  52260. + # Determine the type of output
  52261. + case $output in
  52262. + "")
  52263. + func_fatal_help "you must specify an output file"
  52264. + ;;
  52265. + *.$libext) linkmode=oldlib ;;
  52266. + *.lo | *.$objext) linkmode=obj ;;
  52267. + *.la) linkmode=lib ;;
  52268. + *) linkmode=prog ;; # Anything else should be a program.
  52269. + esac
  52270. -relink_command=\"$relink_command\"
  52271. + specialdeplibs=
  52272. -# This environment variable determines our operation mode.
  52273. -if test \"\$libtool_install_magic\" = \"$magic\"; then
  52274. - # install mode needs the following variable:
  52275. - notinst_deplibs='$notinst_deplibs'
  52276. -else
  52277. - # When we are sourced in execute mode, \$file and \$echo are already set.
  52278. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  52279. - echo=\"$qecho\"
  52280. - file=\"\$0\"
  52281. - # Make sure echo works.
  52282. - if test \"X\$1\" = X--no-reexec; then
  52283. - # Discard the --no-reexec flag, and continue.
  52284. - shift
  52285. - elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
  52286. - # Yippee, \$echo works!
  52287. - :
  52288. - else
  52289. - # Restart under the correct shell, and then maybe \$echo will work.
  52290. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  52291. + libs=
  52292. + # Find all interdependent deplibs by searching for libraries
  52293. + # that are linked more than once (e.g. -la -lb -la)
  52294. + for deplib in $deplibs; do
  52295. + if $opt_duplicate_deps ; then
  52296. + case "$libs " in
  52297. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  52298. + esac
  52299. + fi
  52300. + libs="$libs $deplib"
  52301. + done
  52302. +
  52303. + if test "$linkmode" = lib; then
  52304. + libs="$predeps $libs $compiler_lib_search_path $postdeps"
  52305. +
  52306. + # Compute libraries that are listed more than once in $predeps
  52307. + # $postdeps and mark them as special (i.e., whose duplicates are
  52308. + # not to be eliminated).
  52309. + pre_post_deps=
  52310. + if $opt_duplicate_compiler_generated_deps; then
  52311. + for pre_post_dep in $predeps $postdeps; do
  52312. + case "$pre_post_deps " in
  52313. + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  52314. + esac
  52315. + pre_post_deps="$pre_post_deps $pre_post_dep"
  52316. + done
  52317. + fi
  52318. + pre_post_deps=
  52319. fi
  52320. - fi\
  52321. -"
  52322. - $echo >> $output "\
  52323. - # Find the directory that this script lives in.
  52324. - thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  52325. - test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  52326. + deplibs=
  52327. + newdependency_libs=
  52328. + newlib_search_path=
  52329. + need_relink=no # whether we're linking any uninstalled libtool libraries
  52330. + notinst_deplibs= # not-installed libtool libraries
  52331. + notinst_path= # paths that contain not-installed libtool libraries
  52332. - # Follow symbolic links until we get to the real thisdir.
  52333. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  52334. - while test -n \"\$file\"; do
  52335. - destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  52336. + case $linkmode in
  52337. + lib)
  52338. + passes="conv dlpreopen link"
  52339. + for file in $dlfiles $dlprefiles; do
  52340. + case $file in
  52341. + *.la) ;;
  52342. + *)
  52343. + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
  52344. + ;;
  52345. + esac
  52346. + done
  52347. + ;;
  52348. + prog)
  52349. + compile_deplibs=
  52350. + finalize_deplibs=
  52351. + alldeplibs=no
  52352. + newdlfiles=
  52353. + newdlprefiles=
  52354. + passes="conv scan dlopen dlpreopen link"
  52355. + ;;
  52356. + *) passes="conv"
  52357. + ;;
  52358. + esac
  52359. - # If there was a directory component, then change thisdir.
  52360. - if test \"x\$destdir\" != \"x\$file\"; then
  52361. - case \"\$destdir\" in
  52362. - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  52363. - *) thisdir=\"\$thisdir/\$destdir\" ;;
  52364. - esac
  52365. - fi
  52366. + for pass in $passes; do
  52367. + # The preopen pass in lib mode reverses $deplibs; put it back here
  52368. + # so that -L comes before libs that need it for instance...
  52369. + if test "$linkmode,$pass" = "lib,link"; then
  52370. + ## FIXME: Find the place where the list is rebuilt in the wrong
  52371. + ## order, and fix it there properly
  52372. + tmp_deplibs=
  52373. + for deplib in $deplibs; do
  52374. + tmp_deplibs="$deplib $tmp_deplibs"
  52375. + done
  52376. + deplibs="$tmp_deplibs"
  52377. + fi
  52378. - file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  52379. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  52380. - done
  52381. + if test "$linkmode,$pass" = "lib,link" ||
  52382. + test "$linkmode,$pass" = "prog,scan"; then
  52383. + libs="$deplibs"
  52384. + deplibs=
  52385. + fi
  52386. + if test "$linkmode" = prog; then
  52387. + case $pass in
  52388. + dlopen) libs="$dlfiles" ;;
  52389. + dlpreopen) libs="$dlprefiles" ;;
  52390. + link)
  52391. + libs="$deplibs %DEPLIBS%"
  52392. + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  52393. + ;;
  52394. + esac
  52395. + fi
  52396. + if test "$linkmode,$pass" = "lib,dlpreopen"; then
  52397. + # Collect and forward deplibs of preopened libtool libs
  52398. + for lib in $dlprefiles; do
  52399. + # Ignore non-libtool-libs
  52400. + dependency_libs=
  52401. + case $lib in
  52402. + *.la) func_source "$lib" ;;
  52403. + esac
  52404. +
  52405. + # Collect preopened libtool deplibs, except any this library
  52406. + # has declared as weak libs
  52407. + for deplib in $dependency_libs; do
  52408. + deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  52409. + case " $weak_libs " in
  52410. + *" $deplib_base "*) ;;
  52411. + *) deplibs="$deplibs $deplib" ;;
  52412. + esac
  52413. + done
  52414. + done
  52415. + libs="$dlprefiles"
  52416. + fi
  52417. + if test "$pass" = dlopen; then
  52418. + # Collect dlpreopened libraries
  52419. + save_deplibs="$deplibs"
  52420. + deplibs=
  52421. + fi
  52422. +
  52423. + for deplib in $libs; do
  52424. + lib=
  52425. + found=no
  52426. + case $deplib in
  52427. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  52428. + if test "$linkmode,$pass" = "prog,link"; then
  52429. + compile_deplibs="$deplib $compile_deplibs"
  52430. + finalize_deplibs="$deplib $finalize_deplibs"
  52431. + else
  52432. + compiler_flags="$compiler_flags $deplib"
  52433. + if test "$linkmode" = lib ; then
  52434. + case "$new_inherited_linker_flags " in
  52435. + *" $deplib "*) ;;
  52436. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  52437. + esac
  52438. + fi
  52439. + fi
  52440. + continue
  52441. + ;;
  52442. + -l*)
  52443. + if test "$linkmode" != lib && test "$linkmode" != prog; then
  52444. + func_warning "\`-l' is ignored for archives/objects"
  52445. + continue
  52446. + fi
  52447. + func_stripname '-l' '' "$deplib"
  52448. + name=$func_stripname_result
  52449. + if test "$linkmode" = lib; then
  52450. + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  52451. + else
  52452. + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  52453. + fi
  52454. + for searchdir in $searchdirs; do
  52455. + for search_ext in .la $std_shrext .so .a; do
  52456. + # Search the libtool library
  52457. + lib="$searchdir/lib${name}${search_ext}"
  52458. + if test -f "$lib"; then
  52459. + if test "$search_ext" = ".la"; then
  52460. + found=yes
  52461. + else
  52462. + found=no
  52463. + fi
  52464. + break 2
  52465. + fi
  52466. + done
  52467. + done
  52468. + if test "$found" != yes; then
  52469. + # deplib doesn't seem to be a libtool library
  52470. + if test "$linkmode,$pass" = "prog,link"; then
  52471. + compile_deplibs="$deplib $compile_deplibs"
  52472. + finalize_deplibs="$deplib $finalize_deplibs"
  52473. + else
  52474. + deplibs="$deplib $deplibs"
  52475. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  52476. + fi
  52477. + continue
  52478. + else # deplib is a libtool library
  52479. + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  52480. + # We need to do some special things here, and not later.
  52481. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  52482. + case " $predeps $postdeps " in
  52483. + *" $deplib "*)
  52484. + if func_lalib_p "$lib"; then
  52485. + library_names=
  52486. + old_library=
  52487. + func_source "$lib"
  52488. + for l in $old_library $library_names; do
  52489. + ll="$l"
  52490. + done
  52491. + if test "X$ll" = "X$old_library" ; then # only static version available
  52492. + found=no
  52493. + func_dirname "$lib" "" "."
  52494. + ladir="$func_dirname_result"
  52495. + lib=$ladir/$old_library
  52496. + if test "$linkmode,$pass" = "prog,link"; then
  52497. + compile_deplibs="$deplib $compile_deplibs"
  52498. + finalize_deplibs="$deplib $finalize_deplibs"
  52499. + else
  52500. + deplibs="$deplib $deplibs"
  52501. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  52502. + fi
  52503. + continue
  52504. + fi
  52505. + fi
  52506. + ;;
  52507. + *) ;;
  52508. + esac
  52509. + fi
  52510. + fi
  52511. + ;; # -l
  52512. + *.ltframework)
  52513. + if test "$linkmode,$pass" = "prog,link"; then
  52514. + compile_deplibs="$deplib $compile_deplibs"
  52515. + finalize_deplibs="$deplib $finalize_deplibs"
  52516. + else
  52517. + deplibs="$deplib $deplibs"
  52518. + if test "$linkmode" = lib ; then
  52519. + case "$new_inherited_linker_flags " in
  52520. + *" $deplib "*) ;;
  52521. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  52522. + esac
  52523. + fi
  52524. + fi
  52525. + continue
  52526. + ;;
  52527. + -L*)
  52528. + case $linkmode in
  52529. + lib)
  52530. + deplibs="$deplib $deplibs"
  52531. + test "$pass" = conv && continue
  52532. + newdependency_libs="$deplib $newdependency_libs"
  52533. + func_stripname '-L' '' "$deplib"
  52534. + newlib_search_path="$newlib_search_path $func_stripname_result"
  52535. + ;;
  52536. + prog)
  52537. + if test "$pass" = conv; then
  52538. + deplibs="$deplib $deplibs"
  52539. + continue
  52540. + fi
  52541. + if test "$pass" = scan; then
  52542. + deplibs="$deplib $deplibs"
  52543. + else
  52544. + compile_deplibs="$deplib $compile_deplibs"
  52545. + finalize_deplibs="$deplib $finalize_deplibs"
  52546. + fi
  52547. + func_stripname '-L' '' "$deplib"
  52548. + newlib_search_path="$newlib_search_path $func_stripname_result"
  52549. + ;;
  52550. + *)
  52551. + func_warning "\`-L' is ignored for archives/objects"
  52552. + ;;
  52553. + esac # linkmode
  52554. + continue
  52555. + ;; # -L
  52556. + -R*)
  52557. + if test "$pass" = link; then
  52558. + func_stripname '-R' '' "$deplib"
  52559. + dir=$func_stripname_result
  52560. + # Make sure the xrpath contains only unique directories.
  52561. + case "$xrpath " in
  52562. + *" $dir "*) ;;
  52563. + *) xrpath="$xrpath $dir" ;;
  52564. + esac
  52565. + fi
  52566. + deplibs="$deplib $deplibs"
  52567. + continue
  52568. + ;;
  52569. + *.la) lib="$deplib" ;;
  52570. + *.$libext)
  52571. + if test "$pass" = conv; then
  52572. + deplibs="$deplib $deplibs"
  52573. + continue
  52574. + fi
  52575. + case $linkmode in
  52576. + lib)
  52577. + # Linking convenience modules into shared libraries is allowed,
  52578. + # but linking other static libraries is non-portable.
  52579. + case " $dlpreconveniencelibs " in
  52580. + *" $deplib "*) ;;
  52581. + *)
  52582. + valid_a_lib=no
  52583. + case $deplibs_check_method in
  52584. + match_pattern*)
  52585. + set dummy $deplibs_check_method; shift
  52586. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  52587. + if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  52588. + | $EGREP "$match_pattern_regex" > /dev/null; then
  52589. + valid_a_lib=yes
  52590. + fi
  52591. + ;;
  52592. + pass_all)
  52593. + valid_a_lib=yes
  52594. + ;;
  52595. + esac
  52596. + if test "$valid_a_lib" != yes; then
  52597. + $ECHO
  52598. + $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  52599. + $ECHO "*** I have the capability to make that library automatically link in when"
  52600. + $ECHO "*** you link to this library. But I can only do this if you have a"
  52601. + $ECHO "*** shared version of the library, which you do not appear to have"
  52602. + $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  52603. + $ECHO "*** that it is just a static archive that I should not use here."
  52604. + else
  52605. + $ECHO
  52606. + $ECHO "*** Warning: Linking the shared library $output against the"
  52607. + $ECHO "*** static library $deplib is not portable!"
  52608. + deplibs="$deplib $deplibs"
  52609. + fi
  52610. + ;;
  52611. + esac
  52612. + continue
  52613. + ;;
  52614. + prog)
  52615. + if test "$pass" != link; then
  52616. + deplibs="$deplib $deplibs"
  52617. + else
  52618. + compile_deplibs="$deplib $compile_deplibs"
  52619. + finalize_deplibs="$deplib $finalize_deplibs"
  52620. + fi
  52621. + continue
  52622. + ;;
  52623. + esac # linkmode
  52624. + ;; # *.$libext
  52625. + *.lo | *.$objext)
  52626. + if test "$pass" = conv; then
  52627. + deplibs="$deplib $deplibs"
  52628. + elif test "$linkmode" = prog; then
  52629. + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  52630. + # If there is no dlopen support or we're linking statically,
  52631. + # we need to preload.
  52632. + newdlprefiles="$newdlprefiles $deplib"
  52633. + compile_deplibs="$deplib $compile_deplibs"
  52634. + finalize_deplibs="$deplib $finalize_deplibs"
  52635. + else
  52636. + newdlfiles="$newdlfiles $deplib"
  52637. + fi
  52638. + fi
  52639. + continue
  52640. + ;;
  52641. + %DEPLIBS%)
  52642. + alldeplibs=yes
  52643. + continue
  52644. + ;;
  52645. + esac # case $deplib
  52646. +
  52647. + if test "$found" = yes || test -f "$lib"; then :
  52648. + else
  52649. + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
  52650. + fi
  52651. +
  52652. + # Check to see that this really is a libtool archive.
  52653. + func_lalib_unsafe_p "$lib" \
  52654. + || func_fatal_error "\`$lib' is not a valid libtool archive"
  52655. +
  52656. + func_dirname "$lib" "" "."
  52657. + ladir="$func_dirname_result"
  52658. +
  52659. + dlname=
  52660. + dlopen=
  52661. + dlpreopen=
  52662. + libdir=
  52663. + library_names=
  52664. + old_library=
  52665. + inherited_linker_flags=
  52666. + # If the library was installed with an old release of libtool,
  52667. + # it will not redefine variables installed, or shouldnotlink
  52668. + installed=yes
  52669. + shouldnotlink=no
  52670. + avoidtemprpath=
  52671. +
  52672. +
  52673. + # Read the .la file
  52674. + func_source "$lib"
  52675. +
  52676. + # Convert "-framework foo" to "foo.ltframework"
  52677. + if test -n "$inherited_linker_flags"; then
  52678. + tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  52679. + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  52680. + case " $new_inherited_linker_flags " in
  52681. + *" $tmp_inherited_linker_flag "*) ;;
  52682. + *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  52683. + esac
  52684. + done
  52685. + fi
  52686. + dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  52687. + if test "$linkmode,$pass" = "lib,link" ||
  52688. + test "$linkmode,$pass" = "prog,scan" ||
  52689. + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  52690. + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  52691. + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  52692. + fi
  52693. +
  52694. + if test "$pass" = conv; then
  52695. + # Only check for convenience libraries
  52696. + deplibs="$lib $deplibs"
  52697. + if test -z "$libdir"; then
  52698. + if test -z "$old_library"; then
  52699. + func_fatal_error "cannot find name of link library for \`$lib'"
  52700. + fi
  52701. + # It is a libtool convenience library, so add in its objects.
  52702. + convenience="$convenience $ladir/$objdir/$old_library"
  52703. + old_convenience="$old_convenience $ladir/$objdir/$old_library"
  52704. + tmp_libs=
  52705. + for deplib in $dependency_libs; do
  52706. + deplibs="$deplib $deplibs"
  52707. + if $opt_duplicate_deps ; then
  52708. + case "$tmp_libs " in
  52709. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  52710. + esac
  52711. + fi
  52712. + tmp_libs="$tmp_libs $deplib"
  52713. + done
  52714. + elif test "$linkmode" != prog && test "$linkmode" != lib; then
  52715. + func_fatal_error "\`$lib' is not a convenience library"
  52716. + fi
  52717. + continue
  52718. + fi # $pass = conv
  52719. +
  52720. +
  52721. + # Get the name of the library we link against.
  52722. + linklib=
  52723. + for l in $old_library $library_names; do
  52724. + linklib="$l"
  52725. + done
  52726. + if test -z "$linklib"; then
  52727. + func_fatal_error "cannot find name of link library for \`$lib'"
  52728. + fi
  52729. +
  52730. + # This library was specified with -dlopen.
  52731. + if test "$pass" = dlopen; then
  52732. + if test -z "$libdir"; then
  52733. + func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
  52734. + fi
  52735. + if test -z "$dlname" ||
  52736. + test "$dlopen_support" != yes ||
  52737. + test "$build_libtool_libs" = no; then
  52738. + # If there is no dlname, no dlopen support or we're linking
  52739. + # statically, we need to preload. We also need to preload any
  52740. + # dependent libraries so libltdl's deplib preloader doesn't
  52741. + # bomb out in the load deplibs phase.
  52742. + dlprefiles="$dlprefiles $lib $dependency_libs"
  52743. + else
  52744. + newdlfiles="$newdlfiles $lib"
  52745. + fi
  52746. + continue
  52747. + fi # $pass = dlopen
  52748. +
  52749. + # We need an absolute path.
  52750. + case $ladir in
  52751. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  52752. + *)
  52753. + abs_ladir=`cd "$ladir" && pwd`
  52754. + if test -z "$abs_ladir"; then
  52755. + func_warning "cannot determine absolute directory name of \`$ladir'"
  52756. + func_warning "passing it literally to the linker, although it might fail"
  52757. + abs_ladir="$ladir"
  52758. + fi
  52759. + ;;
  52760. + esac
  52761. + func_basename "$lib"
  52762. + laname="$func_basename_result"
  52763. +
  52764. + # Find the relevant object directory and library name.
  52765. + if test "X$installed" = Xyes; then
  52766. + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  52767. + func_warning "library \`$lib' was moved."
  52768. + dir="$ladir"
  52769. + absdir="$abs_ladir"
  52770. + libdir="$abs_ladir"
  52771. + else
  52772. + dir="$libdir"
  52773. + absdir="$libdir"
  52774. + fi
  52775. + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  52776. + else
  52777. + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  52778. + dir="$ladir"
  52779. + absdir="$abs_ladir"
  52780. + # Remove this search path later
  52781. + notinst_path="$notinst_path $abs_ladir"
  52782. + else
  52783. + dir="$ladir/$objdir"
  52784. + absdir="$abs_ladir/$objdir"
  52785. + # Remove this search path later
  52786. + notinst_path="$notinst_path $abs_ladir"
  52787. + fi
  52788. + fi # $installed = yes
  52789. + func_stripname 'lib' '.la' "$laname"
  52790. + name=$func_stripname_result
  52791. +
  52792. + # This library was specified with -dlpreopen.
  52793. + if test "$pass" = dlpreopen; then
  52794. + if test -z "$libdir" && test "$linkmode" = prog; then
  52795. + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  52796. + fi
  52797. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  52798. + # are required to link).
  52799. + if test -n "$old_library"; then
  52800. + newdlprefiles="$newdlprefiles $dir/$old_library"
  52801. + # Keep a list of preopened convenience libraries to check
  52802. + # that they are being used correctly in the link pass.
  52803. + test -z "$libdir" && \
  52804. + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  52805. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  52806. + elif test -n "$dlname"; then
  52807. + newdlprefiles="$newdlprefiles $dir/$dlname"
  52808. + else
  52809. + newdlprefiles="$newdlprefiles $dir/$linklib"
  52810. + fi
  52811. + fi # $pass = dlpreopen
  52812. +
  52813. + if test -z "$libdir"; then
  52814. + # Link the convenience library
  52815. + if test "$linkmode" = lib; then
  52816. + deplibs="$dir/$old_library $deplibs"
  52817. + elif test "$linkmode,$pass" = "prog,link"; then
  52818. + compile_deplibs="$dir/$old_library $compile_deplibs"
  52819. + finalize_deplibs="$dir/$old_library $finalize_deplibs"
  52820. + else
  52821. + deplibs="$lib $deplibs" # used for prog,scan pass
  52822. + fi
  52823. + continue
  52824. + fi
  52825. +
  52826. +
  52827. + if test "$linkmode" = prog && test "$pass" != link; then
  52828. + newlib_search_path="$newlib_search_path $ladir"
  52829. + deplibs="$lib $deplibs"
  52830. +
  52831. + linkalldeplibs=no
  52832. + if test "$link_all_deplibs" != no || test -z "$library_names" ||
  52833. + test "$build_libtool_libs" = no; then
  52834. + linkalldeplibs=yes
  52835. + fi
  52836. +
  52837. + tmp_libs=
  52838. + for deplib in $dependency_libs; do
  52839. + case $deplib in
  52840. + -L*) func_stripname '-L' '' "$deplib"
  52841. + newlib_search_path="$newlib_search_path $func_stripname_result"
  52842. + ;;
  52843. + esac
  52844. + # Need to link against all dependency_libs?
  52845. + if test "$linkalldeplibs" = yes; then
  52846. + deplibs="$deplib $deplibs"
  52847. + else
  52848. + # Need to hardcode shared library paths
  52849. + # or/and link against static libraries
  52850. + newdependency_libs="$deplib $newdependency_libs"
  52851. + fi
  52852. + if $opt_duplicate_deps ; then
  52853. + case "$tmp_libs " in
  52854. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  52855. + esac
  52856. + fi
  52857. + tmp_libs="$tmp_libs $deplib"
  52858. + done # for deplib
  52859. + continue
  52860. + fi # $linkmode = prog...
  52861. +
  52862. + if test "$linkmode,$pass" = "prog,link"; then
  52863. + if test -n "$library_names" &&
  52864. + { { test "$prefer_static_libs" = no ||
  52865. + test "$prefer_static_libs,$installed" = "built,yes"; } ||
  52866. + test -z "$old_library"; }; then
  52867. + # We need to hardcode the library path
  52868. + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  52869. + # Make sure the rpath contains only unique directories.
  52870. + case "$temp_rpath:" in
  52871. + *"$absdir:"*) ;;
  52872. + *) temp_rpath="$temp_rpath$absdir:" ;;
  52873. + esac
  52874. + fi
  52875. +
  52876. + # Hardcode the library path.
  52877. + # Skip directories that are in the system default run-time
  52878. + # search path.
  52879. + case " $sys_lib_dlsearch_path " in
  52880. + *" $absdir "*) ;;
  52881. + *)
  52882. + case "$compile_rpath " in
  52883. + *" $absdir "*) ;;
  52884. + *) compile_rpath="$compile_rpath $absdir"
  52885. + esac
  52886. + ;;
  52887. + esac
  52888. + case " $sys_lib_dlsearch_path " in
  52889. + *" $libdir "*) ;;
  52890. + *)
  52891. + case "$finalize_rpath " in
  52892. + *" $libdir "*) ;;
  52893. + *) finalize_rpath="$finalize_rpath $libdir"
  52894. + esac
  52895. + ;;
  52896. + esac
  52897. + fi # $linkmode,$pass = prog,link...
  52898. +
  52899. + if test "$alldeplibs" = yes &&
  52900. + { test "$deplibs_check_method" = pass_all ||
  52901. + { test "$build_libtool_libs" = yes &&
  52902. + test -n "$library_names"; }; }; then
  52903. + # We only need to search for static libraries
  52904. + continue
  52905. + fi
  52906. + fi
  52907. +
  52908. + link_static=no # Whether the deplib will be linked statically
  52909. + use_static_libs=$prefer_static_libs
  52910. + if test "$use_static_libs" = built && test "$installed" = yes; then
  52911. + use_static_libs=no
  52912. + fi
  52913. + if test -n "$library_names" &&
  52914. + { test "$use_static_libs" = no || test -z "$old_library"; }; then
  52915. + case $host in
  52916. + *cygwin* | *mingw* | *cegcc*)
  52917. + # No point in relinking DLLs because paths are not encoded
  52918. + notinst_deplibs="$notinst_deplibs $lib"
  52919. + need_relink=no
  52920. + ;;
  52921. + *)
  52922. + if test "$installed" = no; then
  52923. + notinst_deplibs="$notinst_deplibs $lib"
  52924. + need_relink=yes
  52925. + fi
  52926. + ;;
  52927. + esac
  52928. + # This is a shared library
  52929. +
  52930. + # Warn about portability, can't link against -module's on some
  52931. + # systems (darwin). Don't bleat about dlopened modules though!
  52932. + dlopenmodule=""
  52933. + for dlpremoduletest in $dlprefiles; do
  52934. + if test "X$dlpremoduletest" = "X$lib"; then
  52935. + dlopenmodule="$dlpremoduletest"
  52936. + break
  52937. + fi
  52938. + done
  52939. + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  52940. + $ECHO
  52941. + if test "$linkmode" = prog; then
  52942. + $ECHO "*** Warning: Linking the executable $output against the loadable module"
  52943. + else
  52944. + $ECHO "*** Warning: Linking the shared library $output against the loadable module"
  52945. + fi
  52946. + $ECHO "*** $linklib is not portable!"
  52947. + fi
  52948. + if test "$linkmode" = lib &&
  52949. + test "$hardcode_into_libs" = yes; then
  52950. + # Hardcode the library path.
  52951. + # Skip directories that are in the system default run-time
  52952. + # search path.
  52953. + case " $sys_lib_dlsearch_path " in
  52954. + *" $absdir "*) ;;
  52955. + *)
  52956. + case "$compile_rpath " in
  52957. + *" $absdir "*) ;;
  52958. + *) compile_rpath="$compile_rpath $absdir"
  52959. + esac
  52960. + ;;
  52961. + esac
  52962. + case " $sys_lib_dlsearch_path " in
  52963. + *" $libdir "*) ;;
  52964. + *)
  52965. + case "$finalize_rpath " in
  52966. + *" $libdir "*) ;;
  52967. + *) finalize_rpath="$finalize_rpath $libdir"
  52968. + esac
  52969. + ;;
  52970. + esac
  52971. + fi
  52972. +
  52973. + if test -n "$old_archive_from_expsyms_cmds"; then
  52974. + # figure out the soname
  52975. + set dummy $library_names
  52976. + shift
  52977. + realname="$1"
  52978. + shift
  52979. + libname=`eval "\\$ECHO \"$libname_spec\""`
  52980. + # use dlname if we got it. it's perfectly good, no?
  52981. + if test -n "$dlname"; then
  52982. + soname="$dlname"
  52983. + elif test -n "$soname_spec"; then
  52984. + # bleh windows
  52985. + case $host in
  52986. + *cygwin* | mingw* | *cegcc*)
  52987. + func_arith $current - $age
  52988. + major=$func_arith_result
  52989. + versuffix="-$major"
  52990. + ;;
  52991. + esac
  52992. + eval soname=\"$soname_spec\"
  52993. + else
  52994. + soname="$realname"
  52995. + fi
  52996. +
  52997. + # Make a new name for the extract_expsyms_cmds to use
  52998. + soroot="$soname"
  52999. + func_basename "$soroot"
  53000. + soname="$func_basename_result"
  53001. + func_stripname 'lib' '.dll' "$soname"
  53002. + newlib=libimp-$func_stripname_result.a
  53003. +
  53004. + # If the library has no export list, then create one now
  53005. + if test -f "$output_objdir/$soname-def"; then :
  53006. + else
  53007. + func_verbose "extracting exported symbol list from \`$soname'"
  53008. + func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
  53009. + fi
  53010. +
  53011. + # Create $newlib
  53012. + if test -f "$output_objdir/$newlib"; then :; else
  53013. + func_verbose "generating import library for \`$soname'"
  53014. + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
  53015. + fi
  53016. + # make sure the library variables are pointing to the new library
  53017. + dir=$output_objdir
  53018. + linklib=$newlib
  53019. + fi # test -n "$old_archive_from_expsyms_cmds"
  53020. +
  53021. + if test "$linkmode" = prog || test "$mode" != relink; then
  53022. + add_shlibpath=
  53023. + add_dir=
  53024. + add=
  53025. + lib_linked=yes
  53026. + case $hardcode_action in
  53027. + immediate | unsupported)
  53028. + if test "$hardcode_direct" = no; then
  53029. + add="$dir/$linklib"
  53030. + case $host in
  53031. + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  53032. + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  53033. + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  53034. + *-*-unixware7*) add_dir="-L$dir" ;;
  53035. + *-*-darwin* )
  53036. + # if the lib is a (non-dlopened) module then we can not
  53037. + # link against it, someone is ignoring the earlier warnings
  53038. + if /usr/bin/file -L $add 2> /dev/null |
  53039. + $GREP ": [^:]* bundle" >/dev/null ; then
  53040. + if test "X$dlopenmodule" != "X$lib"; then
  53041. + $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  53042. + if test -z "$old_library" ; then
  53043. + $ECHO
  53044. + $ECHO "*** And there doesn't seem to be a static archive available"
  53045. + $ECHO "*** The link will probably fail, sorry"
  53046. + else
  53047. + add="$dir/$old_library"
  53048. + fi
  53049. + elif test -n "$old_library"; then
  53050. + add="$dir/$old_library"
  53051. + fi
  53052. + fi
  53053. + esac
  53054. + elif test "$hardcode_minus_L" = no; then
  53055. + case $host in
  53056. + *-*-sunos*) add_shlibpath="$dir" ;;
  53057. + esac
  53058. + add_dir="-L$dir"
  53059. + add="-l$name"
  53060. + elif test "$hardcode_shlibpath_var" = no; then
  53061. + add_shlibpath="$dir"
  53062. + add="-l$name"
  53063. + else
  53064. + lib_linked=no
  53065. + fi
  53066. + ;;
  53067. + relink)
  53068. + if test "$hardcode_direct" = yes &&
  53069. + test "$hardcode_direct_absolute" = no; then
  53070. + add="$dir/$linklib"
  53071. + elif test "$hardcode_minus_L" = yes; then
  53072. + add_dir="-L$dir"
  53073. + # Try looking first in the location we're being installed to.
  53074. + if test -n "$inst_prefix_dir"; then
  53075. + case $libdir in
  53076. + [\\/]*)
  53077. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  53078. + ;;
  53079. + esac
  53080. + fi
  53081. + add="-l$name"
  53082. + elif test "$hardcode_shlibpath_var" = yes; then
  53083. + add_shlibpath="$dir"
  53084. + add="-l$name"
  53085. + else
  53086. + lib_linked=no
  53087. + fi
  53088. + ;;
  53089. + *) lib_linked=no ;;
  53090. + esac
  53091. +
  53092. + if test "$lib_linked" != yes; then
  53093. + func_fatal_configuration "unsupported hardcode properties"
  53094. + fi
  53095. +
  53096. + if test -n "$add_shlibpath"; then
  53097. + case :$compile_shlibpath: in
  53098. + *":$add_shlibpath:"*) ;;
  53099. + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  53100. + esac
  53101. + fi
  53102. + if test "$linkmode" = prog; then
  53103. + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  53104. + test -n "$add" && compile_deplibs="$add $compile_deplibs"
  53105. + else
  53106. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  53107. + test -n "$add" && deplibs="$add $deplibs"
  53108. + if test "$hardcode_direct" != yes &&
  53109. + test "$hardcode_minus_L" != yes &&
  53110. + test "$hardcode_shlibpath_var" = yes; then
  53111. + case :$finalize_shlibpath: in
  53112. + *":$libdir:"*) ;;
  53113. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  53114. + esac
  53115. + fi
  53116. + fi
  53117. + fi
  53118. +
  53119. + if test "$linkmode" = prog || test "$mode" = relink; then
  53120. + add_shlibpath=
  53121. + add_dir=
  53122. + add=
  53123. + # Finalize command for both is simple: just hardcode it.
  53124. + if test "$hardcode_direct" = yes &&
  53125. + test "$hardcode_direct_absolute" = no; then
  53126. + add="$libdir/$linklib"
  53127. + elif test "$hardcode_minus_L" = yes; then
  53128. + add_dir="-L$libdir"
  53129. + add="-l$name"
  53130. + elif test "$hardcode_shlibpath_var" = yes; then
  53131. + case :$finalize_shlibpath: in
  53132. + *":$libdir:"*) ;;
  53133. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  53134. + esac
  53135. + add="-l$name"
  53136. + elif test "$hardcode_automatic" = yes; then
  53137. + if test -n "$inst_prefix_dir" &&
  53138. + test -f "$inst_prefix_dir$libdir/$linklib" ; then
  53139. + add="$inst_prefix_dir$libdir/$linklib"
  53140. + else
  53141. + add="$libdir/$linklib"
  53142. + fi
  53143. + else
  53144. + # We cannot seem to hardcode it, guess we'll fake it.
  53145. + add_dir="-L$libdir"
  53146. + # Try looking first in the location we're being installed to.
  53147. + if test -n "$inst_prefix_dir"; then
  53148. + case $libdir in
  53149. + [\\/]*)
  53150. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  53151. + ;;
  53152. + esac
  53153. + fi
  53154. + add="-l$name"
  53155. + fi
  53156. +
  53157. + if test "$linkmode" = prog; then
  53158. + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  53159. + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  53160. + else
  53161. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  53162. + test -n "$add" && deplibs="$add $deplibs"
  53163. + fi
  53164. + fi
  53165. + elif test "$linkmode" = prog; then
  53166. + # Here we assume that one of hardcode_direct or hardcode_minus_L
  53167. + # is not unsupported. This is valid on all known static and
  53168. + # shared platforms.
  53169. + if test "$hardcode_direct" != unsupported; then
  53170. + test -n "$old_library" && linklib="$old_library"
  53171. + compile_deplibs="$dir/$linklib $compile_deplibs"
  53172. + finalize_deplibs="$dir/$linklib $finalize_deplibs"
  53173. + else
  53174. + compile_deplibs="-l$name -L$dir $compile_deplibs"
  53175. + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  53176. + fi
  53177. + elif test "$build_libtool_libs" = yes; then
  53178. + # Not a shared library
  53179. + if test "$deplibs_check_method" != pass_all; then
  53180. + # We're trying link a shared library against a static one
  53181. + # but the system doesn't support it.
  53182. +
  53183. + # Just print a warning and add the library to dependency_libs so
  53184. + # that the program can be linked against the static library.
  53185. + $ECHO
  53186. + $ECHO "*** Warning: This system can not link to static lib archive $lib."
  53187. + $ECHO "*** I have the capability to make that library automatically link in when"
  53188. + $ECHO "*** you link to this library. But I can only do this if you have a"
  53189. + $ECHO "*** shared version of the library, which you do not appear to have."
  53190. + if test "$module" = yes; then
  53191. + $ECHO "*** But as you try to build a module library, libtool will still create "
  53192. + $ECHO "*** a static module, that should work as long as the dlopening application"
  53193. + $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  53194. + if test -z "$global_symbol_pipe"; then
  53195. + $ECHO
  53196. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  53197. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  53198. + $ECHO "*** not find such a program. So, this module is probably useless."
  53199. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  53200. + fi
  53201. + if test "$build_old_libs" = no; then
  53202. + build_libtool_libs=module
  53203. + build_old_libs=yes
  53204. + else
  53205. + build_libtool_libs=no
  53206. + fi
  53207. + fi
  53208. + else
  53209. + deplibs="$dir/$old_library $deplibs"
  53210. + link_static=yes
  53211. + fi
  53212. + fi # link shared/static library?
  53213. +
  53214. + if test "$linkmode" = lib; then
  53215. + if test -n "$dependency_libs" &&
  53216. + { test "$hardcode_into_libs" != yes ||
  53217. + test "$build_old_libs" = yes ||
  53218. + test "$link_static" = yes; }; then
  53219. + # Extract -R from dependency_libs
  53220. + temp_deplibs=
  53221. + for libdir in $dependency_libs; do
  53222. + case $libdir in
  53223. + -R*) func_stripname '-R' '' "$libdir"
  53224. + temp_xrpath=$func_stripname_result
  53225. + case " $xrpath " in
  53226. + *" $temp_xrpath "*) ;;
  53227. + *) xrpath="$xrpath $temp_xrpath";;
  53228. + esac;;
  53229. + *) temp_deplibs="$temp_deplibs $libdir";;
  53230. + esac
  53231. + done
  53232. + dependency_libs="$temp_deplibs"
  53233. + fi
  53234. +
  53235. + newlib_search_path="$newlib_search_path $absdir"
  53236. + # Link against this library
  53237. + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  53238. + # ... and its dependency_libs
  53239. + tmp_libs=
  53240. + for deplib in $dependency_libs; do
  53241. + newdependency_libs="$deplib $newdependency_libs"
  53242. + if $opt_duplicate_deps ; then
  53243. + case "$tmp_libs " in
  53244. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  53245. + esac
  53246. + fi
  53247. + tmp_libs="$tmp_libs $deplib"
  53248. + done
  53249. +
  53250. + if test "$link_all_deplibs" != no; then
  53251. + # Add the search paths of all dependency libraries
  53252. + for deplib in $dependency_libs; do
  53253. + path=
  53254. + case $deplib in
  53255. + -L*) path="$deplib" ;;
  53256. + *.la)
  53257. + func_dirname "$deplib" "" "."
  53258. + dir="$func_dirname_result"
  53259. + # We need an absolute path.
  53260. + case $dir in
  53261. + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  53262. + *)
  53263. + absdir=`cd "$dir" && pwd`
  53264. + if test -z "$absdir"; then
  53265. + func_warning "cannot determine absolute directory name of \`$dir'"
  53266. + absdir="$dir"
  53267. + fi
  53268. + ;;
  53269. + esac
  53270. + if $GREP "^installed=no" $deplib > /dev/null; then
  53271. + case $host in
  53272. + *-*-darwin*)
  53273. + depdepl=
  53274. + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  53275. + if test -n "$deplibrary_names" ; then
  53276. + for tmp in $deplibrary_names ; do
  53277. + depdepl=$tmp
  53278. + done
  53279. + if test -f "$absdir/$objdir/$depdepl" ; then
  53280. + depdepl="$absdir/$objdir/$depdepl"
  53281. + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  53282. + if test -z "$darwin_install_name"; then
  53283. + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  53284. + fi
  53285. + compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  53286. + linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  53287. + path=
  53288. + fi
  53289. + fi
  53290. + ;;
  53291. + *)
  53292. + path="-L$absdir/$objdir"
  53293. + ;;
  53294. + esac
  53295. + else
  53296. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  53297. + test -z "$libdir" && \
  53298. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  53299. + test "$absdir" != "$libdir" && \
  53300. + func_warning "\`$deplib' seems to be moved"
  53301. +
  53302. + path="-L$absdir"
  53303. + fi
  53304. + ;;
  53305. + esac
  53306. + case " $deplibs " in
  53307. + *" $path "*) ;;
  53308. + *) deplibs="$path $deplibs" ;;
  53309. + esac
  53310. + done
  53311. + fi # link_all_deplibs != no
  53312. + fi # linkmode = lib
  53313. + done # for deplib in $libs
  53314. + if test "$pass" = link; then
  53315. + if test "$linkmode" = "prog"; then
  53316. + compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  53317. + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  53318. + else
  53319. + compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  53320. + fi
  53321. + fi
  53322. + dependency_libs="$newdependency_libs"
  53323. + if test "$pass" = dlpreopen; then
  53324. + # Link the dlpreopened libraries before other libraries
  53325. + for deplib in $save_deplibs; do
  53326. + deplibs="$deplib $deplibs"
  53327. + done
  53328. + fi
  53329. + if test "$pass" != dlopen; then
  53330. + if test "$pass" != conv; then
  53331. + # Make sure lib_search_path contains only unique directories.
  53332. + lib_search_path=
  53333. + for dir in $newlib_search_path; do
  53334. + case "$lib_search_path " in
  53335. + *" $dir "*) ;;
  53336. + *) lib_search_path="$lib_search_path $dir" ;;
  53337. + esac
  53338. + done
  53339. + newlib_search_path=
  53340. + fi
  53341. +
  53342. + if test "$linkmode,$pass" != "prog,link"; then
  53343. + vars="deplibs"
  53344. + else
  53345. + vars="compile_deplibs finalize_deplibs"
  53346. + fi
  53347. + for var in $vars dependency_libs; do
  53348. + # Add libraries to $var in reverse order
  53349. + eval tmp_libs=\"\$$var\"
  53350. + new_libs=
  53351. + for deplib in $tmp_libs; do
  53352. + # FIXME: Pedantically, this is the right thing to do, so
  53353. + # that some nasty dependency loop isn't accidentally
  53354. + # broken:
  53355. + #new_libs="$deplib $new_libs"
  53356. + # Pragmatically, this seems to cause very few problems in
  53357. + # practice:
  53358. + case $deplib in
  53359. + -L*) new_libs="$deplib $new_libs" ;;
  53360. + -R*) ;;
  53361. + *)
  53362. + # And here is the reason: when a library appears more
  53363. + # than once as an explicit dependence of a library, or
  53364. + # is implicitly linked in more than once by the
  53365. + # compiler, it is considered special, and multiple
  53366. + # occurrences thereof are not removed. Compare this
  53367. + # with having the same library being listed as a
  53368. + # dependency of multiple other libraries: in this case,
  53369. + # we know (pedantically, we assume) the library does not
  53370. + # need to be listed more than once, so we keep only the
  53371. + # last copy. This is not always right, but it is rare
  53372. + # enough that we require users that really mean to play
  53373. + # such unportable linking tricks to link the library
  53374. + # using -Wl,-lname, so that libtool does not consider it
  53375. + # for duplicate removal.
  53376. + case " $specialdeplibs " in
  53377. + *" $deplib "*) new_libs="$deplib $new_libs" ;;
  53378. + *)
  53379. + case " $new_libs " in
  53380. + *" $deplib "*) ;;
  53381. + *) new_libs="$deplib $new_libs" ;;
  53382. + esac
  53383. + ;;
  53384. + esac
  53385. + ;;
  53386. + esac
  53387. + done
  53388. + tmp_libs=
  53389. + for deplib in $new_libs; do
  53390. + case $deplib in
  53391. + -L*)
  53392. + case " $tmp_libs " in
  53393. + *" $deplib "*) ;;
  53394. + *) tmp_libs="$tmp_libs $deplib" ;;
  53395. + esac
  53396. + ;;
  53397. + *) tmp_libs="$tmp_libs $deplib" ;;
  53398. + esac
  53399. + done
  53400. + eval $var=\"$tmp_libs\"
  53401. + done # for var
  53402. + fi
  53403. + # Last step: remove runtime libs from dependency_libs
  53404. + # (they stay in deplibs)
  53405. + tmp_libs=
  53406. + for i in $dependency_libs ; do
  53407. + case " $predeps $postdeps $compiler_lib_search_path " in
  53408. + *" $i "*)
  53409. + i=""
  53410. + ;;
  53411. + esac
  53412. + if test -n "$i" ; then
  53413. + tmp_libs="$tmp_libs $i"
  53414. + fi
  53415. + done
  53416. + dependency_libs=$tmp_libs
  53417. + done # for pass
  53418. + if test "$linkmode" = prog; then
  53419. + dlfiles="$newdlfiles"
  53420. + fi
  53421. + if test "$linkmode" = prog || test "$linkmode" = lib; then
  53422. + dlprefiles="$newdlprefiles"
  53423. + fi
  53424. +
  53425. + case $linkmode in
  53426. + oldlib)
  53427. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  53428. + func_warning "\`-dlopen' is ignored for archives"
  53429. + fi
  53430. +
  53431. + case " $deplibs" in
  53432. + *\ -l* | *\ -L*)
  53433. + func_warning "\`-l' and \`-L' are ignored for archives" ;;
  53434. + esac
  53435. +
  53436. + test -n "$rpath" && \
  53437. + func_warning "\`-rpath' is ignored for archives"
  53438. +
  53439. + test -n "$xrpath" && \
  53440. + func_warning "\`-R' is ignored for archives"
  53441. +
  53442. + test -n "$vinfo" && \
  53443. + func_warning "\`-version-info/-version-number' is ignored for archives"
  53444. +
  53445. + test -n "$release" && \
  53446. + func_warning "\`-release' is ignored for archives"
  53447. +
  53448. + test -n "$export_symbols$export_symbols_regex" && \
  53449. + func_warning "\`-export-symbols' is ignored for archives"
  53450. +
  53451. + # Now set the variables for building old libraries.
  53452. + build_libtool_libs=no
  53453. + oldlibs="$output"
  53454. + objs="$objs$old_deplibs"
  53455. + ;;
  53456. +
  53457. + lib)
  53458. + # Make sure we only generate libraries of the form `libNAME.la'.
  53459. + case $outputname in
  53460. + lib*)
  53461. + func_stripname 'lib' '.la' "$outputname"
  53462. + name=$func_stripname_result
  53463. + eval shared_ext=\"$shrext_cmds\"
  53464. + eval libname=\"$libname_spec\"
  53465. + ;;
  53466. + *)
  53467. + test "$module" = no && \
  53468. + func_fatal_help "libtool library \`$output' must begin with \`lib'"
  53469. +
  53470. + if test "$need_lib_prefix" != no; then
  53471. + # Add the "lib" prefix for modules if required
  53472. + func_stripname '' '.la' "$outputname"
  53473. + name=$func_stripname_result
  53474. + eval shared_ext=\"$shrext_cmds\"
  53475. + eval libname=\"$libname_spec\"
  53476. + else
  53477. + func_stripname '' '.la' "$outputname"
  53478. + libname=$func_stripname_result
  53479. + fi
  53480. + ;;
  53481. + esac
  53482. +
  53483. + if test -n "$objs"; then
  53484. + if test "$deplibs_check_method" != pass_all; then
  53485. + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  53486. + else
  53487. + $ECHO
  53488. + $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  53489. + $ECHO "*** objects $objs is not portable!"
  53490. + libobjs="$libobjs $objs"
  53491. + fi
  53492. + fi
  53493. +
  53494. + test "$dlself" != no && \
  53495. + func_warning "\`-dlopen self' is ignored for libtool libraries"
  53496. +
  53497. + set dummy $rpath
  53498. + shift
  53499. + test "$#" -gt 1 && \
  53500. + func_warning "ignoring multiple \`-rpath's for a libtool library"
  53501. +
  53502. + install_libdir="$1"
  53503. +
  53504. + oldlibs=
  53505. + if test -z "$rpath"; then
  53506. + if test "$build_libtool_libs" = yes; then
  53507. + # Building a libtool convenience library.
  53508. + # Some compilers have problems with a `.al' extension so
  53509. + # convenience libraries should have the same extension an
  53510. + # archive normally would.
  53511. + oldlibs="$output_objdir/$libname.$libext $oldlibs"
  53512. + build_libtool_libs=convenience
  53513. + build_old_libs=yes
  53514. + fi
  53515. +
  53516. + test -n "$vinfo" && \
  53517. + func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
  53518. +
  53519. + test -n "$release" && \
  53520. + func_warning "\`-release' is ignored for convenience libraries"
  53521. + else
  53522. +
  53523. + # Parse the version information argument.
  53524. + save_ifs="$IFS"; IFS=':'
  53525. + set dummy $vinfo 0 0 0
  53526. + shift
  53527. + IFS="$save_ifs"
  53528. +
  53529. + test -n "$7" && \
  53530. + func_fatal_help "too many parameters to \`-version-info'"
  53531. +
  53532. + # convert absolute version numbers to libtool ages
  53533. + # this retains compatibility with .la files and attempts
  53534. + # to make the code below a bit more comprehensible
  53535. +
  53536. + case $vinfo_number in
  53537. + yes)
  53538. + number_major="$1"
  53539. + number_minor="$2"
  53540. + number_revision="$3"
  53541. + #
  53542. + # There are really only two kinds -- those that
  53543. + # use the current revision as the major version
  53544. + # and those that subtract age and use age as
  53545. + # a minor version. But, then there is irix
  53546. + # which has an extra 1 added just for fun
  53547. + #
  53548. + case $version_type in
  53549. + darwin|linux|osf|windows|none)
  53550. + func_arith $number_major + $number_minor
  53551. + current=$func_arith_result
  53552. + age="$number_minor"
  53553. + revision="$number_revision"
  53554. + ;;
  53555. + freebsd-aout|freebsd-elf|sunos)
  53556. + current="$number_major"
  53557. + revision="$number_minor"
  53558. + age="0"
  53559. + ;;
  53560. + irix|nonstopux)
  53561. + func_arith $number_major + $number_minor
  53562. + current=$func_arith_result
  53563. + age="$number_minor"
  53564. + revision="$number_minor"
  53565. + lt_irix_increment=no
  53566. + ;;
  53567. + *)
  53568. + func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  53569. + ;;
  53570. + esac
  53571. + ;;
  53572. + no)
  53573. + current="$1"
  53574. + revision="$2"
  53575. + age="$3"
  53576. + ;;
  53577. + esac
  53578. +
  53579. + # Check that each of the things are valid numbers.
  53580. + case $current in
  53581. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  53582. + *)
  53583. + func_error "CURRENT \`$current' must be a nonnegative integer"
  53584. + func_fatal_error "\`$vinfo' is not valid version information"
  53585. + ;;
  53586. + esac
  53587. +
  53588. + case $revision in
  53589. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  53590. + *)
  53591. + func_error "REVISION \`$revision' must be a nonnegative integer"
  53592. + func_fatal_error "\`$vinfo' is not valid version information"
  53593. + ;;
  53594. + esac
  53595. +
  53596. + case $age in
  53597. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  53598. + *)
  53599. + func_error "AGE \`$age' must be a nonnegative integer"
  53600. + func_fatal_error "\`$vinfo' is not valid version information"
  53601. + ;;
  53602. + esac
  53603. +
  53604. + if test "$age" -gt "$current"; then
  53605. + func_error "AGE \`$age' is greater than the current interface number \`$current'"
  53606. + func_fatal_error "\`$vinfo' is not valid version information"
  53607. + fi
  53608. +
  53609. + # Calculate the version variables.
  53610. + major=
  53611. + versuffix=
  53612. + verstring=
  53613. + case $version_type in
  53614. + none) ;;
  53615. +
  53616. + darwin)
  53617. + # Like Linux, but with the current version available in
  53618. + # verstring for coding it into the library header
  53619. + func_arith $current - $age
  53620. + major=.$func_arith_result
  53621. + versuffix="$major.$age.$revision"
  53622. + # Darwin ld doesn't like 0 for these options...
  53623. + func_arith $current + 1
  53624. + minor_current=$func_arith_result
  53625. + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  53626. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  53627. + ;;
  53628. +
  53629. + freebsd-aout)
  53630. + major=".$current"
  53631. + versuffix=".$current.$revision";
  53632. + ;;
  53633. +
  53634. + freebsd-elf)
  53635. + major=".$current"
  53636. + versuffix=".$current"
  53637. + ;;
  53638. +
  53639. + irix | nonstopux)
  53640. + if test "X$lt_irix_increment" = "Xno"; then
  53641. + func_arith $current - $age
  53642. + else
  53643. + func_arith $current - $age + 1
  53644. + fi
  53645. + major=$func_arith_result
  53646. +
  53647. + case $version_type in
  53648. + nonstopux) verstring_prefix=nonstopux ;;
  53649. + *) verstring_prefix=sgi ;;
  53650. + esac
  53651. + verstring="$verstring_prefix$major.$revision"
  53652. +
  53653. + # Add in all the interfaces that we are compatible with.
  53654. + loop=$revision
  53655. + while test "$loop" -ne 0; do
  53656. + func_arith $revision - $loop
  53657. + iface=$func_arith_result
  53658. + func_arith $loop - 1
  53659. + loop=$func_arith_result
  53660. + verstring="$verstring_prefix$major.$iface:$verstring"
  53661. + done
  53662. +
  53663. + # Before this point, $major must not contain `.'.
  53664. + major=.$major
  53665. + versuffix="$major.$revision"
  53666. + ;;
  53667. +
  53668. + linux)
  53669. + func_arith $current - $age
  53670. + major=.$func_arith_result
  53671. + versuffix="$major.$age.$revision"
  53672. + ;;
  53673. +
  53674. + osf)
  53675. + func_arith $current - $age
  53676. + major=.$func_arith_result
  53677. + versuffix=".$current.$age.$revision"
  53678. + verstring="$current.$age.$revision"
  53679. +
  53680. + # Add in all the interfaces that we are compatible with.
  53681. + loop=$age
  53682. + while test "$loop" -ne 0; do
  53683. + func_arith $current - $loop
  53684. + iface=$func_arith_result
  53685. + func_arith $loop - 1
  53686. + loop=$func_arith_result
  53687. + verstring="$verstring:${iface}.0"
  53688. + done
  53689. +
  53690. + # Make executables depend on our current version.
  53691. + verstring="$verstring:${current}.0"
  53692. + ;;
  53693. +
  53694. + qnx)
  53695. + major=".$current"
  53696. + versuffix=".$current"
  53697. + ;;
  53698. +
  53699. + sunos)
  53700. + major=".$current"
  53701. + versuffix=".$current.$revision"
  53702. + ;;
  53703. +
  53704. + windows)
  53705. + # Use '-' rather than '.', since we only want one
  53706. + # extension on DOS 8.3 filesystems.
  53707. + func_arith $current - $age
  53708. + major=$func_arith_result
  53709. + versuffix="-$major"
  53710. + ;;
  53711. +
  53712. + *)
  53713. + func_fatal_configuration "unknown library version type \`$version_type'"
  53714. + ;;
  53715. + esac
  53716. +
  53717. + # Clear the version info if we defaulted, and they specified a release.
  53718. + if test -z "$vinfo" && test -n "$release"; then
  53719. + major=
  53720. + case $version_type in
  53721. + darwin)
  53722. + # we can't check for "0.0" in archive_cmds due to quoting
  53723. + # problems, so we reset it completely
  53724. + verstring=
  53725. + ;;
  53726. + *)
  53727. + verstring="0.0"
  53728. + ;;
  53729. + esac
  53730. + if test "$need_version" = no; then
  53731. + versuffix=
  53732. + else
  53733. + versuffix=".0.0"
  53734. + fi
  53735. + fi
  53736. +
  53737. + # Remove version info from name if versioning should be avoided
  53738. + if test "$avoid_version" = yes && test "$need_version" = no; then
  53739. + major=
  53740. + versuffix=
  53741. + verstring=""
  53742. + fi
  53743. +
  53744. + # Check to see if the archive will have undefined symbols.
  53745. + if test "$allow_undefined" = yes; then
  53746. + if test "$allow_undefined_flag" = unsupported; then
  53747. + func_warning "undefined symbols not allowed in $host shared libraries"
  53748. + build_libtool_libs=no
  53749. + build_old_libs=yes
  53750. + fi
  53751. + else
  53752. + # Don't allow undefined symbols.
  53753. + allow_undefined_flag="$no_undefined_flag"
  53754. + fi
  53755. +
  53756. + fi
  53757. +
  53758. + func_generate_dlsyms "$libname" "$libname" "yes"
  53759. + libobjs="$libobjs $symfileobj"
  53760. + test "X$libobjs" = "X " && libobjs=
  53761. +
  53762. + if test "$mode" != relink; then
  53763. + # Remove our outputs, but don't remove object files since they
  53764. + # may have been created when compiling PIC objects.
  53765. + removelist=
  53766. + tempremovelist=`$ECHO "$output_objdir/*"`
  53767. + for p in $tempremovelist; do
  53768. + case $p in
  53769. + *.$objext | *.gcno)
  53770. + ;;
  53771. + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  53772. + if test "X$precious_files_regex" != "X"; then
  53773. + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  53774. + then
  53775. + continue
  53776. + fi
  53777. + fi
  53778. + removelist="$removelist $p"
  53779. + ;;
  53780. + *) ;;
  53781. + esac
  53782. + done
  53783. + test -n "$removelist" && \
  53784. + func_show_eval "${RM}r \$removelist"
  53785. + fi
  53786. +
  53787. + # Now set the variables for building old libraries.
  53788. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  53789. + oldlibs="$oldlibs $output_objdir/$libname.$libext"
  53790. +
  53791. + # Transform .lo files to .o files.
  53792. + oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  53793. + fi
  53794. +
  53795. + # Eliminate all temporary directories.
  53796. + #for path in $notinst_path; do
  53797. + # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  53798. + # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  53799. + # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  53800. + #done
  53801. +
  53802. + if test -n "$xrpath"; then
  53803. + # If the user specified any rpath flags, then add them.
  53804. + temp_xrpath=
  53805. + for libdir in $xrpath; do
  53806. + temp_xrpath="$temp_xrpath -R$libdir"
  53807. + case "$finalize_rpath " in
  53808. + *" $libdir "*) ;;
  53809. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  53810. + esac
  53811. + done
  53812. + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  53813. + dependency_libs="$temp_xrpath $dependency_libs"
  53814. + fi
  53815. + fi
  53816. +
  53817. + # Make sure dlfiles contains only unique files that won't be dlpreopened
  53818. + old_dlfiles="$dlfiles"
  53819. + dlfiles=
  53820. + for lib in $old_dlfiles; do
  53821. + case " $dlprefiles $dlfiles " in
  53822. + *" $lib "*) ;;
  53823. + *) dlfiles="$dlfiles $lib" ;;
  53824. + esac
  53825. + done
  53826. +
  53827. + # Make sure dlprefiles contains only unique files
  53828. + old_dlprefiles="$dlprefiles"
  53829. + dlprefiles=
  53830. + for lib in $old_dlprefiles; do
  53831. + case "$dlprefiles " in
  53832. + *" $lib "*) ;;
  53833. + *) dlprefiles="$dlprefiles $lib" ;;
  53834. + esac
  53835. + done
  53836. +
  53837. + if test "$build_libtool_libs" = yes; then
  53838. + if test -n "$rpath"; then
  53839. + case $host in
  53840. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  53841. + # these systems don't actually have a c library (as such)!
  53842. + ;;
  53843. + *-*-rhapsody* | *-*-darwin1.[012])
  53844. + # Rhapsody C library is in the System framework
  53845. + deplibs="$deplibs System.ltframework"
  53846. + ;;
  53847. + *-*-netbsd*)
  53848. + # Don't link with libc until the a.out ld.so is fixed.
  53849. + ;;
  53850. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  53851. + # Do not include libc due to us having libc/libc_r.
  53852. + ;;
  53853. + *-*-sco3.2v5* | *-*-sco5v6*)
  53854. + # Causes problems with __ctype
  53855. + ;;
  53856. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  53857. + # Compiler inserts libc in the correct place for threads to work
  53858. + ;;
  53859. + *)
  53860. + # Add libc to deplibs on all other systems if necessary.
  53861. + if test "$build_libtool_need_lc" = "yes"; then
  53862. + deplibs="$deplibs -lc"
  53863. + fi
  53864. + ;;
  53865. + esac
  53866. + fi
  53867. +
  53868. + # Transform deplibs into only deplibs that can be linked in shared.
  53869. + name_save=$name
  53870. + libname_save=$libname
  53871. + release_save=$release
  53872. + versuffix_save=$versuffix
  53873. + major_save=$major
  53874. + # I'm not sure if I'm treating the release correctly. I think
  53875. + # release should show up in the -l (ie -lgmp5) so we don't want to
  53876. + # add it in twice. Is that correct?
  53877. + release=""
  53878. + versuffix=""
  53879. + major=""
  53880. + newdeplibs=
  53881. + droppeddeps=no
  53882. + case $deplibs_check_method in
  53883. + pass_all)
  53884. + # Don't check for shared/static. Everything works.
  53885. + # This might be a little naive. We might want to check
  53886. + # whether the library exists or not. But this is on
  53887. + # osf3 & osf4 and I'm not really sure... Just
  53888. + # implementing what was already the behavior.
  53889. + newdeplibs=$deplibs
  53890. + ;;
  53891. + test_compile)
  53892. + # This code stresses the "libraries are programs" paradigm to its
  53893. + # limits. Maybe even breaks it. We compile a program, linking it
  53894. + # against the deplibs as a proxy for the library. Then we can check
  53895. + # whether they linked in statically or dynamically with ldd.
  53896. + $opt_dry_run || $RM conftest.c
  53897. + cat > conftest.c <<EOF
  53898. + int main() { return 0; }
  53899. +EOF
  53900. + $opt_dry_run || $RM conftest
  53901. + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  53902. + ldd_output=`ldd conftest`
  53903. + for i in $deplibs; do
  53904. + case $i in
  53905. + -l*)
  53906. + func_stripname -l '' "$i"
  53907. + name=$func_stripname_result
  53908. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  53909. + case " $predeps $postdeps " in
  53910. + *" $i "*)
  53911. + newdeplibs="$newdeplibs $i"
  53912. + i=""
  53913. + ;;
  53914. + esac
  53915. + fi
  53916. + if test -n "$i" ; then
  53917. + libname=`eval "\\$ECHO \"$libname_spec\""`
  53918. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  53919. + set dummy $deplib_matches; shift
  53920. + deplib_match=$1
  53921. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  53922. + newdeplibs="$newdeplibs $i"
  53923. + else
  53924. + droppeddeps=yes
  53925. + $ECHO
  53926. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  53927. + $ECHO "*** I have the capability to make that library automatically link in when"
  53928. + $ECHO "*** you link to this library. But I can only do this if you have a"
  53929. + $ECHO "*** shared version of the library, which I believe you do not have"
  53930. + $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  53931. + $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  53932. + fi
  53933. + fi
  53934. + ;;
  53935. + *)
  53936. + newdeplibs="$newdeplibs $i"
  53937. + ;;
  53938. + esac
  53939. + done
  53940. + else
  53941. + # Error occurred in the first compile. Let's try to salvage
  53942. + # the situation: Compile a separate program for each library.
  53943. + for i in $deplibs; do
  53944. + case $i in
  53945. + -l*)
  53946. + func_stripname -l '' "$i"
  53947. + name=$func_stripname_result
  53948. + $opt_dry_run || $RM conftest
  53949. + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  53950. + ldd_output=`ldd conftest`
  53951. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  53952. + case " $predeps $postdeps " in
  53953. + *" $i "*)
  53954. + newdeplibs="$newdeplibs $i"
  53955. + i=""
  53956. + ;;
  53957. + esac
  53958. + fi
  53959. + if test -n "$i" ; then
  53960. + libname=`eval "\\$ECHO \"$libname_spec\""`
  53961. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  53962. + set dummy $deplib_matches; shift
  53963. + deplib_match=$1
  53964. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  53965. + newdeplibs="$newdeplibs $i"
  53966. + else
  53967. + droppeddeps=yes
  53968. + $ECHO
  53969. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  53970. + $ECHO "*** I have the capability to make that library automatically link in when"
  53971. + $ECHO "*** you link to this library. But I can only do this if you have a"
  53972. + $ECHO "*** shared version of the library, which you do not appear to have"
  53973. + $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  53974. + $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  53975. + fi
  53976. + fi
  53977. + else
  53978. + droppeddeps=yes
  53979. + $ECHO
  53980. + $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  53981. + $ECHO "*** make it link in! You will probably need to install it or some"
  53982. + $ECHO "*** library that it depends on before this library will be fully"
  53983. + $ECHO "*** functional. Installing it before continuing would be even better."
  53984. + fi
  53985. + ;;
  53986. + *)
  53987. + newdeplibs="$newdeplibs $i"
  53988. + ;;
  53989. + esac
  53990. + done
  53991. + fi
  53992. + ;;
  53993. + file_magic*)
  53994. + set dummy $deplibs_check_method; shift
  53995. + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  53996. + for a_deplib in $deplibs; do
  53997. + case $a_deplib in
  53998. + -l*)
  53999. + func_stripname -l '' "$a_deplib"
  54000. + name=$func_stripname_result
  54001. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54002. + case " $predeps $postdeps " in
  54003. + *" $a_deplib "*)
  54004. + newdeplibs="$newdeplibs $a_deplib"
  54005. + a_deplib=""
  54006. + ;;
  54007. + esac
  54008. + fi
  54009. + if test -n "$a_deplib" ; then
  54010. + libname=`eval "\\$ECHO \"$libname_spec\""`
  54011. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  54012. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  54013. + for potent_lib in $potential_libs; do
  54014. + # Follow soft links.
  54015. + if ls -lLd "$potent_lib" 2>/dev/null |
  54016. + $GREP " -> " >/dev/null; then
  54017. + continue
  54018. + fi
  54019. + # The statement above tries to avoid entering an
  54020. + # endless loop below, in case of cyclic links.
  54021. + # We might still enter an endless loop, since a link
  54022. + # loop can be closed while we follow links,
  54023. + # but so what?
  54024. + potlib="$potent_lib"
  54025. + while test -h "$potlib" 2>/dev/null; do
  54026. + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  54027. + case $potliblink in
  54028. + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  54029. + *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  54030. + esac
  54031. + done
  54032. + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  54033. + $SED -e 10q |
  54034. + $EGREP "$file_magic_regex" > /dev/null; then
  54035. + newdeplibs="$newdeplibs $a_deplib"
  54036. + a_deplib=""
  54037. + break 2
  54038. + fi
  54039. + done
  54040. + done
  54041. + fi
  54042. + if test -n "$a_deplib" ; then
  54043. + droppeddeps=yes
  54044. + $ECHO
  54045. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  54046. + $ECHO "*** I have the capability to make that library automatically link in when"
  54047. + $ECHO "*** you link to this library. But I can only do this if you have a"
  54048. + $ECHO "*** shared version of the library, which you do not appear to have"
  54049. + $ECHO "*** because I did check the linker path looking for a file starting"
  54050. + if test -z "$potlib" ; then
  54051. + $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  54052. + else
  54053. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  54054. + $ECHO "*** using a file magic. Last file checked: $potlib"
  54055. + fi
  54056. + fi
  54057. + ;;
  54058. + *)
  54059. + # Add a -L argument.
  54060. + newdeplibs="$newdeplibs $a_deplib"
  54061. + ;;
  54062. + esac
  54063. + done # Gone through all deplibs.
  54064. + ;;
  54065. + match_pattern*)
  54066. + set dummy $deplibs_check_method; shift
  54067. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  54068. + for a_deplib in $deplibs; do
  54069. + case $a_deplib in
  54070. + -l*)
  54071. + func_stripname -l '' "$a_deplib"
  54072. + name=$func_stripname_result
  54073. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54074. + case " $predeps $postdeps " in
  54075. + *" $a_deplib "*)
  54076. + newdeplibs="$newdeplibs $a_deplib"
  54077. + a_deplib=""
  54078. + ;;
  54079. + esac
  54080. + fi
  54081. + if test -n "$a_deplib" ; then
  54082. + libname=`eval "\\$ECHO \"$libname_spec\""`
  54083. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  54084. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  54085. + for potent_lib in $potential_libs; do
  54086. + potlib="$potent_lib" # see symlink-check above in file_magic test
  54087. + if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  54088. + $EGREP "$match_pattern_regex" > /dev/null; then
  54089. + newdeplibs="$newdeplibs $a_deplib"
  54090. + a_deplib=""
  54091. + break 2
  54092. + fi
  54093. + done
  54094. + done
  54095. + fi
  54096. + if test -n "$a_deplib" ; then
  54097. + droppeddeps=yes
  54098. + $ECHO
  54099. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  54100. + $ECHO "*** I have the capability to make that library automatically link in when"
  54101. + $ECHO "*** you link to this library. But I can only do this if you have a"
  54102. + $ECHO "*** shared version of the library, which you do not appear to have"
  54103. + $ECHO "*** because I did check the linker path looking for a file starting"
  54104. + if test -z "$potlib" ; then
  54105. + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  54106. + else
  54107. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  54108. + $ECHO "*** using a regex pattern. Last file checked: $potlib"
  54109. + fi
  54110. + fi
  54111. + ;;
  54112. + *)
  54113. + # Add a -L argument.
  54114. + newdeplibs="$newdeplibs $a_deplib"
  54115. + ;;
  54116. + esac
  54117. + done # Gone through all deplibs.
  54118. + ;;
  54119. + none | unknown | *)
  54120. + newdeplibs=""
  54121. + tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  54122. + -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  54123. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54124. + for i in $predeps $postdeps ; do
  54125. + # can't use Xsed below, because $i might contain '/'
  54126. + tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  54127. + done
  54128. + fi
  54129. + if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  54130. + $GREP . >/dev/null; then
  54131. + $ECHO
  54132. + if test "X$deplibs_check_method" = "Xnone"; then
  54133. + $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  54134. + else
  54135. + $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  54136. + fi
  54137. + $ECHO "*** All declared inter-library dependencies are being dropped."
  54138. + droppeddeps=yes
  54139. + fi
  54140. + ;;
  54141. + esac
  54142. + versuffix=$versuffix_save
  54143. + major=$major_save
  54144. + release=$release_save
  54145. + libname=$libname_save
  54146. + name=$name_save
  54147. +
  54148. + case $host in
  54149. + *-*-rhapsody* | *-*-darwin1.[012])
  54150. + # On Rhapsody replace the C library with the System framework
  54151. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  54152. + ;;
  54153. + esac
  54154. +
  54155. + if test "$droppeddeps" = yes; then
  54156. + if test "$module" = yes; then
  54157. + $ECHO
  54158. + $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  54159. + $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  54160. + $ECHO "*** a static module, that should work as long as the dlopening"
  54161. + $ECHO "*** application is linked with the -dlopen flag."
  54162. + if test -z "$global_symbol_pipe"; then
  54163. + $ECHO
  54164. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  54165. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  54166. + $ECHO "*** not find such a program. So, this module is probably useless."
  54167. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  54168. + fi
  54169. + if test "$build_old_libs" = no; then
  54170. + oldlibs="$output_objdir/$libname.$libext"
  54171. + build_libtool_libs=module
  54172. + build_old_libs=yes
  54173. + else
  54174. + build_libtool_libs=no
  54175. + fi
  54176. + else
  54177. + $ECHO "*** The inter-library dependencies that have been dropped here will be"
  54178. + $ECHO "*** automatically added whenever a program is linked with this library"
  54179. + $ECHO "*** or is declared to -dlopen it."
  54180. +
  54181. + if test "$allow_undefined" = no; then
  54182. + $ECHO
  54183. + $ECHO "*** Since this library must not contain undefined symbols,"
  54184. + $ECHO "*** because either the platform does not support them or"
  54185. + $ECHO "*** it was explicitly requested with -no-undefined,"
  54186. + $ECHO "*** libtool will only create a static version of it."
  54187. + if test "$build_old_libs" = no; then
  54188. + oldlibs="$output_objdir/$libname.$libext"
  54189. + build_libtool_libs=module
  54190. + build_old_libs=yes
  54191. + else
  54192. + build_libtool_libs=no
  54193. + fi
  54194. + fi
  54195. + fi
  54196. + fi
  54197. + # Done checking deplibs!
  54198. + deplibs=$newdeplibs
  54199. + fi
  54200. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  54201. + case $host in
  54202. + *-*-darwin*)
  54203. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  54204. + new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  54205. + deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  54206. + ;;
  54207. + esac
  54208. +
  54209. + # move library search paths that coincide with paths to not yet
  54210. + # installed libraries to the beginning of the library search list
  54211. + new_libs=
  54212. + for path in $notinst_path; do
  54213. + case " $new_libs " in
  54214. + *" -L$path/$objdir "*) ;;
  54215. + *)
  54216. + case " $deplibs " in
  54217. + *" -L$path/$objdir "*)
  54218. + new_libs="$new_libs -L$path/$objdir" ;;
  54219. + esac
  54220. + ;;
  54221. + esac
  54222. + done
  54223. + for deplib in $deplibs; do
  54224. + case $deplib in
  54225. + -L*)
  54226. + case " $new_libs " in
  54227. + *" $deplib "*) ;;
  54228. + *) new_libs="$new_libs $deplib" ;;
  54229. + esac
  54230. + ;;
  54231. + *) new_libs="$new_libs $deplib" ;;
  54232. + esac
  54233. + done
  54234. + deplibs="$new_libs"
  54235. +
  54236. + # All the library-specific variables (install_libdir is set above).
  54237. + library_names=
  54238. + old_library=
  54239. + dlname=
  54240. +
  54241. + # Test again, we may have decided not to build it any more
  54242. + if test "$build_libtool_libs" = yes; then
  54243. + if test "$hardcode_into_libs" = yes; then
  54244. + # Hardcode the library paths
  54245. + hardcode_libdirs=
  54246. + dep_rpath=
  54247. + rpath="$finalize_rpath"
  54248. + test "$mode" != relink && rpath="$compile_rpath$rpath"
  54249. + for libdir in $rpath; do
  54250. + if test -n "$hardcode_libdir_flag_spec"; then
  54251. + if test -n "$hardcode_libdir_separator"; then
  54252. + if test -z "$hardcode_libdirs"; then
  54253. + hardcode_libdirs="$libdir"
  54254. + else
  54255. + # Just accumulate the unique libdirs.
  54256. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  54257. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  54258. + ;;
  54259. + *)
  54260. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  54261. + ;;
  54262. + esac
  54263. + fi
  54264. + else
  54265. + eval flag=\"$hardcode_libdir_flag_spec\"
  54266. + dep_rpath="$dep_rpath $flag"
  54267. + fi
  54268. + elif test -n "$runpath_var"; then
  54269. + case "$perm_rpath " in
  54270. + *" $libdir "*) ;;
  54271. + *) perm_rpath="$perm_rpath $libdir" ;;
  54272. + esac
  54273. + fi
  54274. + done
  54275. + # Substitute the hardcoded libdirs into the rpath.
  54276. + if test -n "$hardcode_libdir_separator" &&
  54277. + test -n "$hardcode_libdirs"; then
  54278. + libdir="$hardcode_libdirs"
  54279. + if test -n "$hardcode_libdir_flag_spec_ld"; then
  54280. + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  54281. + else
  54282. + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  54283. + fi
  54284. + fi
  54285. + if test -n "$runpath_var" && test -n "$perm_rpath"; then
  54286. + # We should set the runpath_var.
  54287. + rpath=
  54288. + for dir in $perm_rpath; do
  54289. + rpath="$rpath$dir:"
  54290. + done
  54291. + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  54292. + fi
  54293. + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  54294. + fi
  54295. - # Try to get the absolute directory name.
  54296. - absdir=\`cd \"\$thisdir\" && pwd\`
  54297. - test -n \"\$absdir\" && thisdir=\"\$absdir\"
  54298. -"
  54299. + shlibpath="$finalize_shlibpath"
  54300. + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  54301. + if test -n "$shlibpath"; then
  54302. + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  54303. + fi
  54304. - if test "$fast_install" = yes; then
  54305. - $echo >> $output "\
  54306. - program=lt-'$outputname'$exeext
  54307. - progdir=\"\$thisdir/$objdir\"
  54308. + # Get the real and link names of the library.
  54309. + eval shared_ext=\"$shrext_cmds\"
  54310. + eval library_names=\"$library_names_spec\"
  54311. + set dummy $library_names
  54312. + shift
  54313. + realname="$1"
  54314. + shift
  54315. - if test ! -f \"\$progdir/\$program\" || \\
  54316. - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  54317. - test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  54318. + if test -n "$soname_spec"; then
  54319. + eval soname=\"$soname_spec\"
  54320. + else
  54321. + soname="$realname"
  54322. + fi
  54323. + if test -z "$dlname"; then
  54324. + dlname=$soname
  54325. + fi
  54326. - file=\"\$\$-\$program\"
  54327. + lib="$output_objdir/$realname"
  54328. + linknames=
  54329. + for link
  54330. + do
  54331. + linknames="$linknames $link"
  54332. + done
  54333. - if test ! -d \"\$progdir\"; then
  54334. - $mkdir \"\$progdir\"
  54335. - else
  54336. - $rm \"\$progdir/\$file\"
  54337. - fi"
  54338. + # Use standard objects if they are pic
  54339. + test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  54340. + test "X$libobjs" = "X " && libobjs=
  54341. - $echo >> $output "\
  54342. + delfiles=
  54343. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  54344. + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  54345. + export_symbols="$output_objdir/$libname.uexp"
  54346. + delfiles="$delfiles $export_symbols"
  54347. + fi
  54348. +
  54349. + orig_export_symbols=
  54350. + case $host_os in
  54351. + cygwin* | mingw* | cegcc*)
  54352. + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  54353. + # exporting using user supplied symfile
  54354. + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  54355. + # and it's NOT already a .def file. Must figure out
  54356. + # which of the given symbols are data symbols and tag
  54357. + # them as such. So, trigger use of export_symbols_cmds.
  54358. + # export_symbols gets reassigned inside the "prepare
  54359. + # the list of exported symbols" if statement, so the
  54360. + # include_expsyms logic still works.
  54361. + orig_export_symbols="$export_symbols"
  54362. + export_symbols=
  54363. + always_export_symbols=yes
  54364. + fi
  54365. + fi
  54366. + ;;
  54367. + esac
  54368. - # relink executable if necessary
  54369. - if test -n \"\$relink_command\"; then
  54370. - if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  54371. - else
  54372. - $echo \"\$relink_command_output\" >&2
  54373. - $rm \"\$progdir/\$file\"
  54374. - exit $EXIT_FAILURE
  54375. - fi
  54376. - fi
  54377. + # Prepare the list of exported symbols
  54378. + if test -z "$export_symbols"; then
  54379. + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  54380. + func_verbose "generating symbol list for \`$libname.la'"
  54381. + export_symbols="$output_objdir/$libname.exp"
  54382. + $opt_dry_run || $RM $export_symbols
  54383. + cmds=$export_symbols_cmds
  54384. + save_ifs="$IFS"; IFS='~'
  54385. + for cmd in $cmds; do
  54386. + IFS="$save_ifs"
  54387. + eval cmd=\"$cmd\"
  54388. + func_len " $cmd"
  54389. + len=$func_len_result
  54390. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  54391. + func_show_eval "$cmd" 'exit $?'
  54392. + skipped_export=false
  54393. + else
  54394. + # The command line is too long to execute in one step.
  54395. + func_verbose "using reloadable object file for export list..."
  54396. + skipped_export=:
  54397. + # Break out early, otherwise skipped_export may be
  54398. + # set to false by a later but shorter cmd.
  54399. + break
  54400. + fi
  54401. + done
  54402. + IFS="$save_ifs"
  54403. + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
  54404. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  54405. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  54406. + fi
  54407. + fi
  54408. + fi
  54409. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  54410. - { $rm \"\$progdir/\$program\";
  54411. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  54412. - $rm \"\$progdir/\$file\"
  54413. - fi"
  54414. - else
  54415. - $echo >> $output "\
  54416. - program='$outputname'
  54417. - progdir=\"\$thisdir/$objdir\"
  54418. -"
  54419. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  54420. + tmp_export_symbols="$export_symbols"
  54421. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  54422. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  54423. + fi
  54424. +
  54425. + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  54426. + # The given exports_symbols file has to be filtered, so filter it.
  54427. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  54428. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  54429. + # 's' commands which not all seds can handle. GNU sed should be fine
  54430. + # though. Also, the filter scales superlinearly with the number of
  54431. + # global variables. join(1) would be nice here, but unfortunately
  54432. + # isn't a blessed tool.
  54433. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  54434. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  54435. + export_symbols=$output_objdir/$libname.def
  54436. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  54437. fi
  54438. - $echo >> $output "\
  54439. + tmp_deplibs=
  54440. + for test_deplib in $deplibs; do
  54441. + case " $convenience " in
  54442. + *" $test_deplib "*) ;;
  54443. + *)
  54444. + tmp_deplibs="$tmp_deplibs $test_deplib"
  54445. + ;;
  54446. + esac
  54447. + done
  54448. + deplibs="$tmp_deplibs"
  54449. - if test -f \"\$progdir/\$program\"; then"
  54450. + if test -n "$convenience"; then
  54451. + if test -n "$whole_archive_flag_spec" &&
  54452. + test "$compiler_needs_object" = yes &&
  54453. + test -z "$libobjs"; then
  54454. + # extract the archives, so we have objects to list.
  54455. + # TODO: could optimize this to just extract one archive.
  54456. + whole_archive_flag_spec=
  54457. + fi
  54458. + if test -n "$whole_archive_flag_spec"; then
  54459. + save_libobjs=$libobjs
  54460. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  54461. + test "X$libobjs" = "X " && libobjs=
  54462. + else
  54463. + gentop="$output_objdir/${outputname}x"
  54464. + generated="$generated $gentop"
  54465. - # Export our shlibpath_var if we have one.
  54466. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  54467. - $echo >> $output "\
  54468. - # Add our own library path to $shlibpath_var
  54469. - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  54470. + func_extract_archives $gentop $convenience
  54471. + libobjs="$libobjs $func_extract_archives_result"
  54472. + test "X$libobjs" = "X " && libobjs=
  54473. + fi
  54474. + fi
  54475. - # Some systems cannot cope with colon-terminated $shlibpath_var
  54476. - # The second colon is a workaround for a bug in BeOS R4 sed
  54477. - $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  54478. + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  54479. + eval flag=\"$thread_safe_flag_spec\"
  54480. + linker_flags="$linker_flags $flag"
  54481. + fi
  54482. - export $shlibpath_var
  54483. -"
  54484. + # Make a backup of the uninstalled library when relinking
  54485. + if test "$mode" = relink; then
  54486. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  54487. fi
  54488. - # fixup the dll searchpath if we need to.
  54489. - if test -n "$dllsearchpath"; then
  54490. - $echo >> $output "\
  54491. - # Add the dll search path components to the executable PATH
  54492. - PATH=$dllsearchpath:\$PATH
  54493. -"
  54494. + # Do each of the archive commands.
  54495. + if test "$module" = yes && test -n "$module_cmds" ; then
  54496. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  54497. + eval test_cmds=\"$module_expsym_cmds\"
  54498. + cmds=$module_expsym_cmds
  54499. + else
  54500. + eval test_cmds=\"$module_cmds\"
  54501. + cmds=$module_cmds
  54502. + fi
  54503. + else
  54504. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  54505. + eval test_cmds=\"$archive_expsym_cmds\"
  54506. + cmds=$archive_expsym_cmds
  54507. + else
  54508. + eval test_cmds=\"$archive_cmds\"
  54509. + cmds=$archive_cmds
  54510. + fi
  54511. fi
  54512. - $echo >> $output "\
  54513. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  54514. - # Run the actual program with our arguments.
  54515. -"
  54516. - case $host in
  54517. - # Backslashes separate directories on plain windows
  54518. - *-*-mingw | *-*-os2*)
  54519. - $echo >> $output "\
  54520. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  54521. -"
  54522. - ;;
  54523. + if test "X$skipped_export" != "X:" &&
  54524. + func_len " $test_cmds" &&
  54525. + len=$func_len_result &&
  54526. + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  54527. + :
  54528. + else
  54529. + # The command line is too long to link in one step, link piecewise
  54530. + # or, if using GNU ld and skipped_export is not :, use a linker
  54531. + # script.
  54532. - *)
  54533. - $echo >> $output "\
  54534. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  54535. -"
  54536. - ;;
  54537. - esac
  54538. - $echo >> $output "\
  54539. - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
  54540. - exit $EXIT_FAILURE
  54541. - fi
  54542. - else
  54543. - # The program doesn't exist.
  54544. - \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  54545. - \$echo \"This script is just a wrapper for \$program.\" 1>&2
  54546. - $echo \"See the $PACKAGE documentation for more information.\" 1>&2
  54547. - exit $EXIT_FAILURE
  54548. - fi
  54549. -fi\
  54550. -"
  54551. - chmod +x $output
  54552. - fi
  54553. - exit $EXIT_SUCCESS
  54554. - ;;
  54555. - esac
  54556. + # Save the value of $output and $libobjs because we want to
  54557. + # use them later. If we have whole_archive_flag_spec, we
  54558. + # want to use save_libobjs as it was before
  54559. + # whole_archive_flag_spec was expanded, because we can't
  54560. + # assume the linker understands whole_archive_flag_spec.
  54561. + # This may have to be revisited, in case too many
  54562. + # convenience libraries get linked in and end up exceeding
  54563. + # the spec.
  54564. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  54565. + save_libobjs=$libobjs
  54566. + fi
  54567. + save_output=$output
  54568. + output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  54569. - # See if we need to build an old-fashioned archive.
  54570. - for oldlib in $oldlibs; do
  54571. + # Clear the reloadable object creation command queue and
  54572. + # initialize k to one.
  54573. + test_cmds=
  54574. + concat_cmds=
  54575. + objlist=
  54576. + last_robj=
  54577. + k=1
  54578. - if test "$build_libtool_libs" = convenience; then
  54579. - oldobjs="$libobjs_save"
  54580. - addlibs="$convenience"
  54581. - build_libtool_libs=no
  54582. - else
  54583. - if test "$build_libtool_libs" = module; then
  54584. - oldobjs="$libobjs_save"
  54585. - build_libtool_libs=no
  54586. - else
  54587. - oldobjs="$old_deplibs $non_pic_objects"
  54588. - fi
  54589. - addlibs="$old_convenience"
  54590. - fi
  54591. + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  54592. + output=${output_objdir}/${output_la}.lnkscript
  54593. + func_verbose "creating GNU ld script: $output"
  54594. + $ECHO 'INPUT (' > $output
  54595. + for obj in $save_libobjs
  54596. + do
  54597. + $ECHO "$obj" >> $output
  54598. + done
  54599. + $ECHO ')' >> $output
  54600. + delfiles="$delfiles $output"
  54601. + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  54602. + output=${output_objdir}/${output_la}.lnk
  54603. + func_verbose "creating linker input file list: $output"
  54604. + : > $output
  54605. + set x $save_libobjs
  54606. + shift
  54607. + firstobj=
  54608. + if test "$compiler_needs_object" = yes; then
  54609. + firstobj="$1 "
  54610. + shift
  54611. + fi
  54612. + for obj
  54613. + do
  54614. + $ECHO "$obj" >> $output
  54615. + done
  54616. + delfiles="$delfiles $output"
  54617. + output=$firstobj\"$file_list_spec$output\"
  54618. + else
  54619. + if test -n "$save_libobjs"; then
  54620. + func_verbose "creating reloadable object files..."
  54621. + output=$output_objdir/$output_la-${k}.$objext
  54622. + eval test_cmds=\"$reload_cmds\"
  54623. + func_len " $test_cmds"
  54624. + len0=$func_len_result
  54625. + len=$len0
  54626. +
  54627. + # Loop over the list of objects to be linked.
  54628. + for obj in $save_libobjs
  54629. + do
  54630. + func_len " $obj"
  54631. + func_arith $len + $func_len_result
  54632. + len=$func_arith_result
  54633. + if test "X$objlist" = X ||
  54634. + test "$len" -lt "$max_cmd_len"; then
  54635. + func_append objlist " $obj"
  54636. + else
  54637. + # The command $test_cmds is almost too long, add a
  54638. + # command to the queue.
  54639. + if test "$k" -eq 1 ; then
  54640. + # The first file doesn't have a previous command to add.
  54641. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  54642. + else
  54643. + # All subsequent reloadable object files will link in
  54644. + # the last one created.
  54645. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  54646. + fi
  54647. + last_robj=$output_objdir/$output_la-${k}.$objext
  54648. + func_arith $k + 1
  54649. + k=$func_arith_result
  54650. + output=$output_objdir/$output_la-${k}.$objext
  54651. + objlist=$obj
  54652. + func_len " $last_robj"
  54653. + func_arith $len0 + $func_len_result
  54654. + len=$func_arith_result
  54655. + fi
  54656. + done
  54657. + # Handle the remaining objects by creating one last
  54658. + # reloadable object file. All subsequent reloadable object
  54659. + # files will link in the last one created.
  54660. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  54661. + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  54662. + if test -n "$last_robj"; then
  54663. + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  54664. + fi
  54665. + delfiles="$delfiles $output"
  54666. +
  54667. + else
  54668. + output=
  54669. + fi
  54670. - if test -n "$addlibs"; then
  54671. - gentop="$output_objdir/${outputname}x"
  54672. - generated="$generated $gentop"
  54673. + if ${skipped_export-false}; then
  54674. + func_verbose "generating symbol list for \`$libname.la'"
  54675. + export_symbols="$output_objdir/$libname.exp"
  54676. + $opt_dry_run || $RM $export_symbols
  54677. + libobjs=$output
  54678. + # Append the command to create the export file.
  54679. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  54680. + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
  54681. + if test -n "$last_robj"; then
  54682. + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  54683. + fi
  54684. + fi
  54685. - func_extract_archives $gentop $addlibs
  54686. - oldobjs="$oldobjs $func_extract_archives_result"
  54687. - fi
  54688. + test -n "$save_libobjs" &&
  54689. + func_verbose "creating a temporary reloadable object file: $output"
  54690. - # Do each command in the archive commands.
  54691. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  54692. - cmds=$old_archive_from_new_cmds
  54693. - else
  54694. - # POSIX demands no paths to be encoded in archives. We have
  54695. - # to avoid creating archives with duplicate basenames if we
  54696. - # might have to extract them afterwards, e.g., when creating a
  54697. - # static archive out of a convenience library, or when linking
  54698. - # the entirety of a libtool archive into another (currently
  54699. - # not supported by libtool).
  54700. - if (for obj in $oldobjs
  54701. - do
  54702. - $echo "X$obj" | $Xsed -e 's%^.*/%%'
  54703. - done | sort | sort -uc >/dev/null 2>&1); then
  54704. - :
  54705. - else
  54706. - $echo "copying selected object files to avoid basename conflicts..."
  54707. + # Loop through the commands generated above and execute them.
  54708. + save_ifs="$IFS"; IFS='~'
  54709. + for cmd in $concat_cmds; do
  54710. + IFS="$save_ifs"
  54711. + $opt_silent || {
  54712. + func_quote_for_expand "$cmd"
  54713. + eval "func_echo $func_quote_for_expand_result"
  54714. + }
  54715. + $opt_dry_run || eval "$cmd" || {
  54716. + lt_exit=$?
  54717. +
  54718. + # Restore the uninstalled library and exit
  54719. + if test "$mode" = relink; then
  54720. + ( cd "$output_objdir" && \
  54721. + $RM "${realname}T" && \
  54722. + $MV "${realname}U" "$realname" )
  54723. + fi
  54724. - if test -z "$gentop"; then
  54725. - gentop="$output_objdir/${outputname}x"
  54726. - generated="$generated $gentop"
  54727. + exit $lt_exit
  54728. + }
  54729. + done
  54730. + IFS="$save_ifs"
  54731. - $show "${rm}r $gentop"
  54732. - $run ${rm}r "$gentop"
  54733. - $show "$mkdir $gentop"
  54734. - $run $mkdir "$gentop"
  54735. - exit_status=$?
  54736. - if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
  54737. - exit $exit_status
  54738. + if test -n "$export_symbols_regex" && ${skipped_export-false}; then
  54739. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  54740. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  54741. fi
  54742. fi
  54743. - save_oldobjs=$oldobjs
  54744. - oldobjs=
  54745. - counter=1
  54746. - for obj in $save_oldobjs
  54747. - do
  54748. - objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  54749. - case " $oldobjs " in
  54750. - " ") oldobjs=$obj ;;
  54751. - *[\ /]"$objbase "*)
  54752. - while :; do
  54753. - # Make sure we don't pick an alternate name that also
  54754. - # overlaps.
  54755. - newobj=lt$counter-$objbase
  54756. - counter=`expr $counter + 1`
  54757. - case " $oldobjs " in
  54758. - *[\ /]"$newobj "*) ;;
  54759. - *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  54760. - esac
  54761. - done
  54762. - $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  54763. - $run ln "$obj" "$gentop/$newobj" ||
  54764. - $run cp "$obj" "$gentop/$newobj"
  54765. - oldobjs="$oldobjs $gentop/$newobj"
  54766. - ;;
  54767. - *) oldobjs="$oldobjs $obj" ;;
  54768. - esac
  54769. - done
  54770. - fi
  54771. + if ${skipped_export-false}; then
  54772. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  54773. + tmp_export_symbols="$export_symbols"
  54774. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  54775. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  54776. + fi
  54777. +
  54778. + if test -n "$orig_export_symbols"; then
  54779. + # The given exports_symbols file has to be filtered, so filter it.
  54780. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  54781. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  54782. + # 's' commands which not all seds can handle. GNU sed should be fine
  54783. + # though. Also, the filter scales superlinearly with the number of
  54784. + # global variables. join(1) would be nice here, but unfortunately
  54785. + # isn't a blessed tool.
  54786. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  54787. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  54788. + export_symbols=$output_objdir/$libname.def
  54789. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  54790. + fi
  54791. + fi
  54792. - eval cmds=\"$old_archive_cmds\"
  54793. + libobjs=$output
  54794. + # Restore the value of output.
  54795. + output=$save_output
  54796. - if len=`expr "X$cmds" : ".*"` &&
  54797. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  54798. - cmds=$old_archive_cmds
  54799. - else
  54800. - # the command line is too long to link in one step, link in parts
  54801. - $echo "using piecewise archive linking..."
  54802. - save_RANLIB=$RANLIB
  54803. - RANLIB=:
  54804. - objlist=
  54805. - concat_cmds=
  54806. - save_oldobjs=$oldobjs
  54807. + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  54808. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  54809. + test "X$libobjs" = "X " && libobjs=
  54810. + fi
  54811. + # Expand the library linking commands again to reset the
  54812. + # value of $libobjs for piecewise linking.
  54813. - # Is there a better way of finding the last object in the list?
  54814. - for obj in $save_oldobjs
  54815. - do
  54816. - last_oldobj=$obj
  54817. - done
  54818. - for obj in $save_oldobjs
  54819. - do
  54820. - oldobjs="$objlist $obj"
  54821. - objlist="$objlist $obj"
  54822. - eval test_cmds=\"$old_archive_cmds\"
  54823. - if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  54824. - test "$len" -le "$max_cmd_len"; then
  54825. - :
  54826. + # Do each of the archive commands.
  54827. + if test "$module" = yes && test -n "$module_cmds" ; then
  54828. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  54829. + cmds=$module_expsym_cmds
  54830. else
  54831. - # the above command should be used before it gets too long
  54832. - oldobjs=$objlist
  54833. - if test "$obj" = "$last_oldobj" ; then
  54834. - RANLIB=$save_RANLIB
  54835. - fi
  54836. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  54837. - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  54838. - objlist=
  54839. + cmds=$module_cmds
  54840. fi
  54841. - done
  54842. - RANLIB=$save_RANLIB
  54843. - oldobjs=$objlist
  54844. - if test "X$oldobjs" = "X" ; then
  54845. - eval cmds=\"\$concat_cmds\"
  54846. else
  54847. - eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  54848. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  54849. + cmds=$archive_expsym_cmds
  54850. + else
  54851. + cmds=$archive_cmds
  54852. + fi
  54853. fi
  54854. fi
  54855. - fi
  54856. - save_ifs="$IFS"; IFS='~'
  54857. - for cmd in $cmds; do
  54858. - eval cmd=\"$cmd\"
  54859. - IFS="$save_ifs"
  54860. - $show "$cmd"
  54861. - $run eval "$cmd" || exit $?
  54862. - done
  54863. - IFS="$save_ifs"
  54864. - done
  54865. - if test -n "$generated"; then
  54866. - $show "${rm}r$generated"
  54867. - $run ${rm}r$generated
  54868. - fi
  54869. + if test -n "$delfiles"; then
  54870. + # Append the command to remove temporary files to $cmds.
  54871. + eval cmds=\"\$cmds~\$RM $delfiles\"
  54872. + fi
  54873. - # Now create the libtool archive.
  54874. - case $output in
  54875. - *.la)
  54876. - old_library=
  54877. - test "$build_old_libs" = yes && old_library="$libname.$libext"
  54878. - $show "creating $output"
  54879. + # Add any objects from preloaded convenience libraries
  54880. + if test -n "$dlprefiles"; then
  54881. + gentop="$output_objdir/${outputname}x"
  54882. + generated="$generated $gentop"
  54883. - # Preserve any variables that may affect compiler behavior
  54884. - for var in $variables_saved_for_relink; do
  54885. - if eval test -z \"\${$var+set}\"; then
  54886. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  54887. - elif eval var_value=\$$var; test -z "$var_value"; then
  54888. - relink_command="$var=; export $var; $relink_command"
  54889. - else
  54890. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  54891. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  54892. + func_extract_archives $gentop $dlprefiles
  54893. + libobjs="$libobjs $func_extract_archives_result"
  54894. + test "X$libobjs" = "X " && libobjs=
  54895. fi
  54896. - done
  54897. - # Quote the link command for shipping.
  54898. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  54899. - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  54900. - if test "$hardcode_automatic" = yes ; then
  54901. - relink_command=
  54902. - fi
  54903. + save_ifs="$IFS"; IFS='~'
  54904. + for cmd in $cmds; do
  54905. + IFS="$save_ifs"
  54906. + eval cmd=\"$cmd\"
  54907. + $opt_silent || {
  54908. + func_quote_for_expand "$cmd"
  54909. + eval "func_echo $func_quote_for_expand_result"
  54910. + }
  54911. + $opt_dry_run || eval "$cmd" || {
  54912. + lt_exit=$?
  54913. - # Only create the output if not a dry run.
  54914. - if test -z "$run"; then
  54915. - for installed in no yes; do
  54916. - if test "$installed" = yes; then
  54917. - if test -z "$install_libdir"; then
  54918. - break
  54919. + # Restore the uninstalled library and exit
  54920. + if test "$mode" = relink; then
  54921. + ( cd "$output_objdir" && \
  54922. + $RM "${realname}T" && \
  54923. + $MV "${realname}U" "$realname" )
  54924. fi
  54925. - output="$output_objdir/$outputname"i
  54926. - # Replace all uninstalled libtool libraries with the installed ones
  54927. - newdependency_libs=
  54928. - for deplib in $dependency_libs; do
  54929. - case $deplib in
  54930. - *.la)
  54931. - name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
  54932. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  54933. - if test -z "$libdir"; then
  54934. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  54935. - exit $EXIT_FAILURE
  54936. - fi
  54937. - newdependency_libs="$newdependency_libs $libdir/$name"
  54938. - ;;
  54939. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  54940. - esac
  54941. - done
  54942. - dependency_libs="$newdependency_libs"
  54943. - newdlfiles=
  54944. - for lib in $dlfiles; do
  54945. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  54946. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  54947. - if test -z "$libdir"; then
  54948. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  54949. - exit $EXIT_FAILURE
  54950. - fi
  54951. - newdlfiles="$newdlfiles $libdir/$name"
  54952. - done
  54953. - dlfiles="$newdlfiles"
  54954. - newdlprefiles=
  54955. - for lib in $dlprefiles; do
  54956. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  54957. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  54958. - if test -z "$libdir"; then
  54959. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  54960. - exit $EXIT_FAILURE
  54961. - fi
  54962. - newdlprefiles="$newdlprefiles $libdir/$name"
  54963. - done
  54964. - dlprefiles="$newdlprefiles"
  54965. - else
  54966. - newdlfiles=
  54967. - for lib in $dlfiles; do
  54968. - case $lib in
  54969. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  54970. - *) abs=`pwd`"/$lib" ;;
  54971. - esac
  54972. - newdlfiles="$newdlfiles $abs"
  54973. - done
  54974. - dlfiles="$newdlfiles"
  54975. - newdlprefiles=
  54976. - for lib in $dlprefiles; do
  54977. - case $lib in
  54978. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  54979. - *) abs=`pwd`"/$lib" ;;
  54980. - esac
  54981. - newdlprefiles="$newdlprefiles $abs"
  54982. - done
  54983. - dlprefiles="$newdlprefiles"
  54984. - fi
  54985. - $rm $output
  54986. - # place dlname in correct position for cygwin
  54987. - tdlname=$dlname
  54988. - case $host,$output,$installed,$module,$dlname in
  54989. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  54990. - esac
  54991. - $echo > $output "\
  54992. -# $outputname - a libtool library file
  54993. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  54994. -#
  54995. -# Please DO NOT delete this file!
  54996. -# It is necessary for linking the library.
  54997. -
  54998. -# The name that we can dlopen(3).
  54999. -dlname='$tdlname'
  55000. -# Names of this library.
  55001. -library_names='$library_names'
  55002. -
  55003. -# The name of the static archive.
  55004. -old_library='$old_library'
  55005. -
  55006. -# Libraries that this one depends upon.
  55007. -dependency_libs='$dependency_libs'
  55008. -
  55009. -# Version information for $libname.
  55010. -current=$current
  55011. -age=$age
  55012. -revision=$revision
  55013. + exit $lt_exit
  55014. + }
  55015. + done
  55016. + IFS="$save_ifs"
  55017. -# Is this an already installed library?
  55018. -installed=$installed
  55019. + # Restore the uninstalled library and exit
  55020. + if test "$mode" = relink; then
  55021. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  55022. -# Should we warn about portability when linking against -modules?
  55023. -shouldnotlink=$module
  55024. + if test -n "$convenience"; then
  55025. + if test -z "$whole_archive_flag_spec"; then
  55026. + func_show_eval '${RM}r "$gentop"'
  55027. + fi
  55028. + fi
  55029. -# Files to dlopen/dlpreopen
  55030. -dlopen='$dlfiles'
  55031. -dlpreopen='$dlprefiles'
  55032. + exit $EXIT_SUCCESS
  55033. + fi
  55034. -# Directory that this library needs to be installed in:
  55035. -libdir='$install_libdir'"
  55036. - if test "$installed" = no && test "$need_relink" = yes; then
  55037. - $echo >> $output "\
  55038. -relink_command=\"$relink_command\""
  55039. + # Create links to the real library.
  55040. + for linkname in $linknames; do
  55041. + if test "$realname" != "$linkname"; then
  55042. + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
  55043. fi
  55044. done
  55045. - fi
  55046. -
  55047. - # Do a symbolic link so that the libtool archive can be found in
  55048. - # LD_LIBRARY_PATH before the program is installed.
  55049. - $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
  55050. - $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
  55051. - ;;
  55052. - esac
  55053. - exit $EXIT_SUCCESS
  55054. - ;;
  55055. -
  55056. - # libtool install mode
  55057. - install)
  55058. - modename="$modename: install"
  55059. -
  55060. - # There may be an optional sh(1) argument at the beginning of
  55061. - # install_prog (especially on Windows NT).
  55062. - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  55063. - # Allow the use of GNU shtool's install command.
  55064. - $echo "X$nonopt" | grep shtool > /dev/null; then
  55065. - # Aesthetically quote it.
  55066. - arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
  55067. - case $arg in
  55068. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  55069. - arg="\"$arg\""
  55070. - ;;
  55071. - esac
  55072. - install_prog="$arg "
  55073. - arg="$1"
  55074. - shift
  55075. - else
  55076. - install_prog=
  55077. - arg=$nonopt
  55078. - fi
  55079. - # The real first argument should be the name of the installation program.
  55080. - # Aesthetically quote it.
  55081. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  55082. - case $arg in
  55083. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  55084. - arg="\"$arg\""
  55085. + # If -module or -export-dynamic was specified, set the dlname.
  55086. + if test "$module" = yes || test "$export_dynamic" = yes; then
  55087. + # On all known operating systems, these are identical.
  55088. + dlname="$soname"
  55089. + fi
  55090. + fi
  55091. ;;
  55092. - esac
  55093. - install_prog="$install_prog$arg"
  55094. - # We need to accept at least all the BSD install flags.
  55095. - dest=
  55096. - files=
  55097. - opts=
  55098. - prev=
  55099. - install_type=
  55100. - isdir=no
  55101. - stripme=
  55102. - for arg
  55103. - do
  55104. - if test -n "$dest"; then
  55105. - files="$files $dest"
  55106. - dest=$arg
  55107. - continue
  55108. + obj)
  55109. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  55110. + func_warning "\`-dlopen' is ignored for objects"
  55111. fi
  55112. - case $arg in
  55113. - -d) isdir=yes ;;
  55114. - -f)
  55115. - case " $install_prog " in
  55116. - *[\\\ /]cp\ *) ;;
  55117. - *) prev=$arg ;;
  55118. - esac
  55119. - ;;
  55120. - -g | -m | -o) prev=$arg ;;
  55121. - -s)
  55122. - stripme=" -s"
  55123. - continue
  55124. - ;;
  55125. - -*)
  55126. + case " $deplibs" in
  55127. + *\ -l* | *\ -L*)
  55128. + func_warning "\`-l' and \`-L' are ignored for objects" ;;
  55129. + esac
  55130. +
  55131. + test -n "$rpath" && \
  55132. + func_warning "\`-rpath' is ignored for objects"
  55133. +
  55134. + test -n "$xrpath" && \
  55135. + func_warning "\`-R' is ignored for objects"
  55136. +
  55137. + test -n "$vinfo" && \
  55138. + func_warning "\`-version-info' is ignored for objects"
  55139. +
  55140. + test -n "$release" && \
  55141. + func_warning "\`-release' is ignored for objects"
  55142. +
  55143. + case $output in
  55144. + *.lo)
  55145. + test -n "$objs$old_deplibs" && \
  55146. + func_fatal_error "cannot build library object \`$output' from non-libtool objects"
  55147. +
  55148. + libobj=$output
  55149. + func_lo2o "$libobj"
  55150. + obj=$func_lo2o_result
  55151. ;;
  55152. *)
  55153. - # If the previous option needed an argument, then skip it.
  55154. - if test -n "$prev"; then
  55155. - prev=
  55156. - else
  55157. - dest=$arg
  55158. - continue
  55159. - fi
  55160. + libobj=
  55161. + obj="$output"
  55162. ;;
  55163. esac
  55164. - # Aesthetically quote the argument.
  55165. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  55166. - case $arg in
  55167. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  55168. - arg="\"$arg\""
  55169. - ;;
  55170. - esac
  55171. - install_prog="$install_prog $arg"
  55172. - done
  55173. + # Delete the old objects.
  55174. + $opt_dry_run || $RM $obj $libobj
  55175. - if test -z "$install_prog"; then
  55176. - $echo "$modename: you must specify an install program" 1>&2
  55177. - $echo "$help" 1>&2
  55178. - exit $EXIT_FAILURE
  55179. - fi
  55180. + # Objects from convenience libraries. This assumes
  55181. + # single-version convenience libraries. Whenever we create
  55182. + # different ones for PIC/non-PIC, this we'll have to duplicate
  55183. + # the extraction.
  55184. + reload_conv_objs=
  55185. + gentop=
  55186. + # reload_cmds runs $LD directly, so let us get rid of
  55187. + # -Wl from whole_archive_flag_spec and hope we can get by with
  55188. + # turning comma into space..
  55189. + wl=
  55190. - if test -n "$prev"; then
  55191. - $echo "$modename: the \`$prev' option requires an argument" 1>&2
  55192. - $echo "$help" 1>&2
  55193. - exit $EXIT_FAILURE
  55194. - fi
  55195. + if test -n "$convenience"; then
  55196. + if test -n "$whole_archive_flag_spec"; then
  55197. + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  55198. + reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  55199. + else
  55200. + gentop="$output_objdir/${obj}x"
  55201. + generated="$generated $gentop"
  55202. - if test -z "$files"; then
  55203. - if test -z "$dest"; then
  55204. - $echo "$modename: no file or destination specified" 1>&2
  55205. - else
  55206. - $echo "$modename: you must specify a destination" 1>&2
  55207. + func_extract_archives $gentop $convenience
  55208. + reload_conv_objs="$reload_objs $func_extract_archives_result"
  55209. + fi
  55210. fi
  55211. - $echo "$help" 1>&2
  55212. - exit $EXIT_FAILURE
  55213. - fi
  55214. - # Strip any trailing slash from the destination.
  55215. - dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
  55216. + # Create the old-style object.
  55217. + 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
  55218. - # Check to see that the destination is a directory.
  55219. - test -d "$dest" && isdir=yes
  55220. - if test "$isdir" = yes; then
  55221. - destdir="$dest"
  55222. - destname=
  55223. - else
  55224. - destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
  55225. - test "X$destdir" = "X$dest" && destdir=.
  55226. - destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
  55227. + output="$obj"
  55228. + func_execute_cmds "$reload_cmds" 'exit $?'
  55229. - # Not a directory, so check to see that there is only one file specified.
  55230. - set dummy $files
  55231. - if test "$#" -gt 2; then
  55232. - $echo "$modename: \`$dest' is not a directory" 1>&2
  55233. - $echo "$help" 1>&2
  55234. - exit $EXIT_FAILURE
  55235. + # Exit if we aren't doing a library object file.
  55236. + if test -z "$libobj"; then
  55237. + if test -n "$gentop"; then
  55238. + func_show_eval '${RM}r "$gentop"'
  55239. + fi
  55240. +
  55241. + exit $EXIT_SUCCESS
  55242. fi
  55243. - fi
  55244. - case $destdir in
  55245. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  55246. - *)
  55247. - for file in $files; do
  55248. - case $file in
  55249. - *.lo) ;;
  55250. - *)
  55251. - $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
  55252. - $echo "$help" 1>&2
  55253. - exit $EXIT_FAILURE
  55254. - ;;
  55255. - esac
  55256. - done
  55257. +
  55258. + if test "$build_libtool_libs" != yes; then
  55259. + if test -n "$gentop"; then
  55260. + func_show_eval '${RM}r "$gentop"'
  55261. + fi
  55262. +
  55263. + # Create an invalid libtool object if no PIC, so that we don't
  55264. + # accidentally link it into a program.
  55265. + # $show "echo timestamp > $libobj"
  55266. + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
  55267. + exit $EXIT_SUCCESS
  55268. + fi
  55269. +
  55270. + if test -n "$pic_flag" || test "$pic_mode" != default; then
  55271. + # Only do commands if we really have different PIC objects.
  55272. + reload_objs="$libobjs $reload_conv_objs"
  55273. + output="$libobj"
  55274. + func_execute_cmds "$reload_cmds" 'exit $?'
  55275. + fi
  55276. +
  55277. + if test -n "$gentop"; then
  55278. + func_show_eval '${RM}r "$gentop"'
  55279. + fi
  55280. +
  55281. + exit $EXIT_SUCCESS
  55282. ;;
  55283. - esac
  55284. - # This variable tells wrapper scripts just to set variables rather
  55285. - # than running their programs.
  55286. - libtool_install_magic="$magic"
  55287. + prog)
  55288. + case $host in
  55289. + *cygwin*) func_stripname '' '.exe' "$output"
  55290. + output=$func_stripname_result.exe;;
  55291. + esac
  55292. + test -n "$vinfo" && \
  55293. + func_warning "\`-version-info' is ignored for programs"
  55294. - staticlibs=
  55295. - future_libdirs=
  55296. - current_libdirs=
  55297. - for file in $files; do
  55298. + test -n "$release" && \
  55299. + func_warning "\`-release' is ignored for programs"
  55300. - # Do each installation.
  55301. - case $file in
  55302. - *.$libext)
  55303. - # Do the static libraries later.
  55304. - staticlibs="$staticlibs $file"
  55305. + test "$preload" = yes \
  55306. + && test "$dlopen_support" = unknown \
  55307. + && test "$dlopen_self" = unknown \
  55308. + && test "$dlopen_self_static" = unknown && \
  55309. + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
  55310. +
  55311. + case $host in
  55312. + *-*-rhapsody* | *-*-darwin1.[012])
  55313. + # On Rhapsody replace the C library is the System framework
  55314. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  55315. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  55316. ;;
  55317. + esac
  55318. - *.la)
  55319. - # Check to see that this really is a libtool archive.
  55320. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  55321. - else
  55322. - $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
  55323. - $echo "$help" 1>&2
  55324. - exit $EXIT_FAILURE
  55325. + case $host in
  55326. + *-*-darwin*)
  55327. + # Don't allow lazy linking, it breaks C++ global constructors
  55328. + # But is supposedly fixed on 10.4 or later (yay!).
  55329. + if test "$tagname" = CXX ; then
  55330. + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  55331. + 10.[0123])
  55332. + compile_command="$compile_command ${wl}-bind_at_load"
  55333. + finalize_command="$finalize_command ${wl}-bind_at_load"
  55334. + ;;
  55335. + esac
  55336. fi
  55337. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  55338. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  55339. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  55340. + ;;
  55341. + esac
  55342. - library_names=
  55343. - old_library=
  55344. - relink_command=
  55345. - # If there is no directory component, then add one.
  55346. - case $file in
  55347. - */* | *\\*) . $file ;;
  55348. - *) . ./$file ;;
  55349. - esac
  55350. - # Add the libdir to current_libdirs if it is the destination.
  55351. - if test "X$destdir" = "X$libdir"; then
  55352. - case "$current_libdirs " in
  55353. - *" $libdir "*) ;;
  55354. - *) current_libdirs="$current_libdirs $libdir" ;;
  55355. + # move library search paths that coincide with paths to not yet
  55356. + # installed libraries to the beginning of the library search list
  55357. + new_libs=
  55358. + for path in $notinst_path; do
  55359. + case " $new_libs " in
  55360. + *" -L$path/$objdir "*) ;;
  55361. + *)
  55362. + case " $compile_deplibs " in
  55363. + *" -L$path/$objdir "*)
  55364. + new_libs="$new_libs -L$path/$objdir" ;;
  55365. esac
  55366. - else
  55367. - # Note the libdir as a future libdir.
  55368. - case "$future_libdirs " in
  55369. - *" $libdir "*) ;;
  55370. - *) future_libdirs="$future_libdirs $libdir" ;;
  55371. + ;;
  55372. + esac
  55373. + done
  55374. + for deplib in $compile_deplibs; do
  55375. + case $deplib in
  55376. + -L*)
  55377. + case " $new_libs " in
  55378. + *" $deplib "*) ;;
  55379. + *) new_libs="$new_libs $deplib" ;;
  55380. esac
  55381. - fi
  55382. + ;;
  55383. + *) new_libs="$new_libs $deplib" ;;
  55384. + esac
  55385. + done
  55386. + compile_deplibs="$new_libs"
  55387. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
  55388. - test "X$dir" = "X$file/" && dir=
  55389. - dir="$dir$objdir"
  55390. - if test -n "$relink_command"; then
  55391. - # Determine the prefix the user has applied to our future dir.
  55392. - inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
  55393. + compile_command="$compile_command $compile_deplibs"
  55394. + finalize_command="$finalize_command $finalize_deplibs"
  55395. - # Don't allow the user to place us outside of our expected
  55396. - # location b/c this prevents finding dependent libraries that
  55397. - # are installed to the same prefix.
  55398. - # At present, this check doesn't affect windows .dll's that
  55399. - # are installed into $libdir/../bin (currently, that works fine)
  55400. - # but it's something to keep an eye on.
  55401. - if test "$inst_prefix_dir" = "$destdir"; then
  55402. - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
  55403. - exit $EXIT_FAILURE
  55404. - fi
  55405. + if test -n "$rpath$xrpath"; then
  55406. + # If the user specified any rpath flags, then add them.
  55407. + for libdir in $rpath $xrpath; do
  55408. + # This is the magic to use -rpath.
  55409. + case "$finalize_rpath " in
  55410. + *" $libdir "*) ;;
  55411. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  55412. + esac
  55413. + done
  55414. + fi
  55415. - if test -n "$inst_prefix_dir"; then
  55416. - # Stick the inst_prefix_dir data into the link command.
  55417. - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  55418. + # Now hardcode the library paths
  55419. + rpath=
  55420. + hardcode_libdirs=
  55421. + for libdir in $compile_rpath $finalize_rpath; do
  55422. + if test -n "$hardcode_libdir_flag_spec"; then
  55423. + if test -n "$hardcode_libdir_separator"; then
  55424. + if test -z "$hardcode_libdirs"; then
  55425. + hardcode_libdirs="$libdir"
  55426. + else
  55427. + # Just accumulate the unique libdirs.
  55428. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  55429. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  55430. + ;;
  55431. + *)
  55432. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  55433. + ;;
  55434. + esac
  55435. + fi
  55436. else
  55437. - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  55438. + eval flag=\"$hardcode_libdir_flag_spec\"
  55439. + rpath="$rpath $flag"
  55440. fi
  55441. + elif test -n "$runpath_var"; then
  55442. + case "$perm_rpath " in
  55443. + *" $libdir "*) ;;
  55444. + *) perm_rpath="$perm_rpath $libdir" ;;
  55445. + esac
  55446. + fi
  55447. + case $host in
  55448. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  55449. + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  55450. + case :$dllsearchpath: in
  55451. + *":$libdir:"*) ;;
  55452. + ::) dllsearchpath=$libdir;;
  55453. + *) dllsearchpath="$dllsearchpath:$libdir";;
  55454. + esac
  55455. + case :$dllsearchpath: in
  55456. + *":$testbindir:"*) ;;
  55457. + ::) dllsearchpath=$testbindir;;
  55458. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  55459. + esac
  55460. + ;;
  55461. + esac
  55462. + done
  55463. + # Substitute the hardcoded libdirs into the rpath.
  55464. + if test -n "$hardcode_libdir_separator" &&
  55465. + test -n "$hardcode_libdirs"; then
  55466. + libdir="$hardcode_libdirs"
  55467. + eval rpath=\" $hardcode_libdir_flag_spec\"
  55468. + fi
  55469. + compile_rpath="$rpath"
  55470. - $echo "$modename: warning: relinking \`$file'" 1>&2
  55471. - $show "$relink_command"
  55472. - if $run eval "$relink_command"; then :
  55473. + rpath=
  55474. + hardcode_libdirs=
  55475. + for libdir in $finalize_rpath; do
  55476. + if test -n "$hardcode_libdir_flag_spec"; then
  55477. + if test -n "$hardcode_libdir_separator"; then
  55478. + if test -z "$hardcode_libdirs"; then
  55479. + hardcode_libdirs="$libdir"
  55480. + else
  55481. + # Just accumulate the unique libdirs.
  55482. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  55483. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  55484. + ;;
  55485. + *)
  55486. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  55487. + ;;
  55488. + esac
  55489. + fi
  55490. else
  55491. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  55492. - exit $EXIT_FAILURE
  55493. + eval flag=\"$hardcode_libdir_flag_spec\"
  55494. + rpath="$rpath $flag"
  55495. fi
  55496. + elif test -n "$runpath_var"; then
  55497. + case "$finalize_perm_rpath " in
  55498. + *" $libdir "*) ;;
  55499. + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  55500. + esac
  55501. fi
  55502. + done
  55503. + # Substitute the hardcoded libdirs into the rpath.
  55504. + if test -n "$hardcode_libdir_separator" &&
  55505. + test -n "$hardcode_libdirs"; then
  55506. + libdir="$hardcode_libdirs"
  55507. + eval rpath=\" $hardcode_libdir_flag_spec\"
  55508. + fi
  55509. + finalize_rpath="$rpath"
  55510. - # See the names of the shared library.
  55511. - set dummy $library_names
  55512. - if test -n "$2"; then
  55513. - realname="$2"
  55514. - shift
  55515. - shift
  55516. + if test -n "$libobjs" && test "$build_old_libs" = yes; then
  55517. + # Transform all the library objects into standard objects.
  55518. + compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55519. + finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55520. + fi
  55521. - srcname="$realname"
  55522. - test -n "$relink_command" && srcname="$realname"T
  55523. + func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  55524. - # Install the shared library and build the symlinks.
  55525. - $show "$install_prog $dir/$srcname $destdir/$realname"
  55526. - $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
  55527. - if test -n "$stripme" && test -n "$striplib"; then
  55528. - $show "$striplib $destdir/$realname"
  55529. - $run eval "$striplib $destdir/$realname" || exit $?
  55530. - fi
  55531. + # template prelinking step
  55532. + if test -n "$prelink_cmds"; then
  55533. + func_execute_cmds "$prelink_cmds" 'exit $?'
  55534. + fi
  55535. - if test "$#" -gt 0; then
  55536. - # Delete the old symlinks, and create new ones.
  55537. - # Try `ln -sf' first, because the `ln' binary might depend on
  55538. - # the symlink we replace! Solaris /bin/ln does not understand -f,
  55539. - # so we also need to try rm && ln -s.
  55540. - for linkname
  55541. - do
  55542. - if test "$linkname" != "$realname"; then
  55543. - $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  55544. - $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  55545. - fi
  55546. - done
  55547. - fi
  55548. + wrappers_required=yes
  55549. + case $host in
  55550. + *cygwin* | *mingw* )
  55551. + if test "$build_libtool_libs" != yes; then
  55552. + wrappers_required=no
  55553. + fi
  55554. + ;;
  55555. + *cegcc)
  55556. + # Disable wrappers for cegcc, we are cross compiling anyway.
  55557. + wrappers_required=no
  55558. + ;;
  55559. + *)
  55560. + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  55561. + wrappers_required=no
  55562. + fi
  55563. + ;;
  55564. + esac
  55565. + if test "$wrappers_required" = no; then
  55566. + # Replace the output file specification.
  55567. + compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  55568. + link_command="$compile_command$compile_rpath"
  55569. - # Do each command in the postinstall commands.
  55570. - lib="$destdir/$realname"
  55571. - cmds=$postinstall_cmds
  55572. - save_ifs="$IFS"; IFS='~'
  55573. - for cmd in $cmds; do
  55574. - IFS="$save_ifs"
  55575. - eval cmd=\"$cmd\"
  55576. - $show "$cmd"
  55577. - $run eval "$cmd" || {
  55578. - lt_exit=$?
  55579. -
  55580. - # Restore the uninstalled library and exit
  55581. - if test "$mode" = relink; then
  55582. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  55583. - fi
  55584. + # We have no uninstalled library dependencies, so finalize right now.
  55585. + exit_status=0
  55586. + func_show_eval "$link_command" 'exit_status=$?'
  55587. - exit $lt_exit
  55588. - }
  55589. - done
  55590. - IFS="$save_ifs"
  55591. + # Delete the generated files.
  55592. + if test -f "$output_objdir/${outputname}S.${objext}"; then
  55593. + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  55594. fi
  55595. - # Install the pseudo-library for information purposes.
  55596. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  55597. - instname="$dir/$name"i
  55598. - $show "$install_prog $instname $destdir/$name"
  55599. - $run eval "$install_prog $instname $destdir/$name" || exit $?
  55600. -
  55601. - # Maybe install the static library, too.
  55602. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  55603. - ;;
  55604. + exit $exit_status
  55605. + fi
  55606. - *.lo)
  55607. - # Install (i.e. copy) a libtool object.
  55608. + if test -n "$compile_shlibpath$finalize_shlibpath"; then
  55609. + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  55610. + fi
  55611. + if test -n "$finalize_shlibpath"; then
  55612. + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  55613. + fi
  55614. - # Figure out destination file name, if it wasn't already specified.
  55615. - if test -n "$destname"; then
  55616. - destfile="$destdir/$destname"
  55617. - else
  55618. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  55619. - destfile="$destdir/$destfile"
  55620. + compile_var=
  55621. + finalize_var=
  55622. + if test -n "$runpath_var"; then
  55623. + if test -n "$perm_rpath"; then
  55624. + # We should set the runpath_var.
  55625. + rpath=
  55626. + for dir in $perm_rpath; do
  55627. + rpath="$rpath$dir:"
  55628. + done
  55629. + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  55630. fi
  55631. -
  55632. - # Deduce the name of the destination old-style object file.
  55633. - case $destfile in
  55634. - *.lo)
  55635. - staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
  55636. - ;;
  55637. - *.$objext)
  55638. - staticdest="$destfile"
  55639. - destfile=
  55640. - ;;
  55641. - *)
  55642. - $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
  55643. - $echo "$help" 1>&2
  55644. - exit $EXIT_FAILURE
  55645. - ;;
  55646. - esac
  55647. -
  55648. - # Install the libtool object if requested.
  55649. - if test -n "$destfile"; then
  55650. - $show "$install_prog $file $destfile"
  55651. - $run eval "$install_prog $file $destfile" || exit $?
  55652. + if test -n "$finalize_perm_rpath"; then
  55653. + # We should set the runpath_var.
  55654. + rpath=
  55655. + for dir in $finalize_perm_rpath; do
  55656. + rpath="$rpath$dir:"
  55657. + done
  55658. + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  55659. fi
  55660. + fi
  55661. - # Install the old object if enabled.
  55662. - if test "$build_old_libs" = yes; then
  55663. - # Deduce the name of the old-style object file.
  55664. - staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
  55665. -
  55666. - $show "$install_prog $staticobj $staticdest"
  55667. - $run eval "$install_prog \$staticobj \$staticdest" || exit $?
  55668. - fi
  55669. + if test "$no_install" = yes; then
  55670. + # We don't need to create a wrapper script.
  55671. + link_command="$compile_var$compile_command$compile_rpath"
  55672. + # Replace the output file specification.
  55673. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  55674. + # Delete the old output file.
  55675. + $opt_dry_run || $RM $output
  55676. + # Link the executable and exit
  55677. + func_show_eval "$link_command" 'exit $?'
  55678. exit $EXIT_SUCCESS
  55679. - ;;
  55680. + fi
  55681. - *)
  55682. - # Figure out destination file name, if it wasn't already specified.
  55683. - if test -n "$destname"; then
  55684. - destfile="$destdir/$destname"
  55685. + if test "$hardcode_action" = relink; then
  55686. + # Fast installation is not supported
  55687. + link_command="$compile_var$compile_command$compile_rpath"
  55688. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  55689. +
  55690. + func_warning "this platform does not like uninstalled shared libraries"
  55691. + func_warning "\`$output' will be relinked during installation"
  55692. + else
  55693. + if test "$fast_install" != no; then
  55694. + link_command="$finalize_var$compile_command$finalize_rpath"
  55695. + if test "$fast_install" = yes; then
  55696. + relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  55697. + else
  55698. + # fast_install is set to needless
  55699. + relink_command=
  55700. + fi
  55701. else
  55702. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  55703. - destfile="$destdir/$destfile"
  55704. + link_command="$compile_var$compile_command$compile_rpath"
  55705. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  55706. fi
  55707. + fi
  55708. - # If the file is missing, and there is a .exe on the end, strip it
  55709. - # because it is most likely a libtool script we actually want to
  55710. - # install
  55711. - stripped_ext=""
  55712. - case $file in
  55713. - *.exe)
  55714. - if test ! -f "$file"; then
  55715. - file=`$echo $file|${SED} 's,.exe$,,'`
  55716. - stripped_ext=".exe"
  55717. - fi
  55718. - ;;
  55719. - esac
  55720. -
  55721. - # Do a test to see if this is really a libtool program.
  55722. - case $host in
  55723. - *cygwin*|*mingw*)
  55724. - wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
  55725. - ;;
  55726. - *)
  55727. - wrapper=$file
  55728. - ;;
  55729. - esac
  55730. - if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
  55731. - notinst_deplibs=
  55732. - relink_command=
  55733. -
  55734. - # Note that it is not necessary on cygwin/mingw to append a dot to
  55735. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  55736. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  55737. - # `FILE.' does not work on cygwin managed mounts.
  55738. - #
  55739. - # If there is no directory component, then add one.
  55740. - case $wrapper in
  55741. - */* | *\\*) . ${wrapper} ;;
  55742. - *) . ./${wrapper} ;;
  55743. - esac
  55744. -
  55745. - # Check the variables that should have been set.
  55746. - if test -z "$notinst_deplibs"; then
  55747. - $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
  55748. - exit $EXIT_FAILURE
  55749. - fi
  55750. + # Replace the output file specification.
  55751. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  55752. - finalize=yes
  55753. - for lib in $notinst_deplibs; do
  55754. - # Check to see that each library is installed.
  55755. - libdir=
  55756. - if test -f "$lib"; then
  55757. - # If there is no directory component, then add one.
  55758. - case $lib in
  55759. - */* | *\\*) . $lib ;;
  55760. - *) . ./$lib ;;
  55761. - esac
  55762. - fi
  55763. - libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  55764. - if test -n "$libdir" && test ! -f "$libfile"; then
  55765. - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
  55766. - finalize=no
  55767. - fi
  55768. - done
  55769. + # Delete the old output files.
  55770. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  55771. - relink_command=
  55772. - # Note that it is not necessary on cygwin/mingw to append a dot to
  55773. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  55774. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  55775. - # `FILE.' does not work on cygwin managed mounts.
  55776. - #
  55777. - # If there is no directory component, then add one.
  55778. - case $wrapper in
  55779. - */* | *\\*) . ${wrapper} ;;
  55780. - *) . ./${wrapper} ;;
  55781. - esac
  55782. + func_show_eval "$link_command" 'exit $?'
  55783. - outputname=
  55784. - if test "$fast_install" = no && test -n "$relink_command"; then
  55785. - if test "$finalize" = yes && test -z "$run"; then
  55786. - tmpdir=`func_mktempdir`
  55787. - file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
  55788. - outputname="$tmpdir/$file"
  55789. - # Replace the output file specification.
  55790. - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  55791. + # Now create the wrapper script.
  55792. + func_verbose "creating $output"
  55793. - $show "$relink_command"
  55794. - if $run eval "$relink_command"; then :
  55795. - else
  55796. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  55797. - ${rm}r "$tmpdir"
  55798. - continue
  55799. - fi
  55800. - file="$outputname"
  55801. - else
  55802. - $echo "$modename: warning: cannot relink \`$file'" 1>&2
  55803. - fi
  55804. + # Quote the relink command for shipping.
  55805. + if test -n "$relink_command"; then
  55806. + # Preserve any variables that may affect compiler behavior
  55807. + for var in $variables_saved_for_relink; do
  55808. + if eval test -z \"\${$var+set}\"; then
  55809. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  55810. + elif eval var_value=\$$var; test -z "$var_value"; then
  55811. + relink_command="$var=; export $var; $relink_command"
  55812. else
  55813. - # Install the binary that we compiled earlier.
  55814. - file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  55815. + func_quote_for_eval "$var_value"
  55816. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  55817. fi
  55818. - fi
  55819. + done
  55820. + relink_command="(cd `pwd`; $relink_command)"
  55821. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  55822. + fi
  55823. - # remove .exe since cygwin /usr/bin/install will append another
  55824. - # one anyway
  55825. - case $install_prog,$host in
  55826. - */usr/bin/install*,*cygwin*)
  55827. - case $file:$destfile in
  55828. - *.exe:*.exe)
  55829. - # this is ok
  55830. - ;;
  55831. - *.exe:*)
  55832. - destfile=$destfile.exe
  55833. - ;;
  55834. - *:*.exe)
  55835. - destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
  55836. - ;;
  55837. - esac
  55838. - ;;
  55839. + # Quote $ECHO for shipping.
  55840. + if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  55841. + case $progpath in
  55842. + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  55843. + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  55844. + esac
  55845. + qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  55846. + else
  55847. + qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  55848. + fi
  55849. +
  55850. + # Only actually do things if not in dry run mode.
  55851. + $opt_dry_run || {
  55852. + # win32 will think the script is a binary if it has
  55853. + # a .exe suffix, so we strip it off here.
  55854. + case $output in
  55855. + *.exe) func_stripname '' '.exe' "$output"
  55856. + output=$func_stripname_result ;;
  55857. esac
  55858. - $show "$install_prog$stripme $file $destfile"
  55859. - $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
  55860. - test -n "$outputname" && ${rm}r "$tmpdir"
  55861. - ;;
  55862. - esac
  55863. - done
  55864. + # test for cygwin because mv fails w/o .exe extensions
  55865. + case $host in
  55866. + *cygwin*)
  55867. + exeext=.exe
  55868. + func_stripname '' '.exe' "$outputname"
  55869. + outputname=$func_stripname_result ;;
  55870. + *) exeext= ;;
  55871. + esac
  55872. + case $host in
  55873. + *cygwin* | *mingw* )
  55874. + func_dirname_and_basename "$output" "" "."
  55875. + output_name=$func_basename_result
  55876. + output_path=$func_dirname_result
  55877. + cwrappersource="$output_path/$objdir/lt-$output_name.c"
  55878. + cwrapper="$output_path/$output_name.exe"
  55879. + $RM $cwrappersource $cwrapper
  55880. + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  55881. +
  55882. + func_emit_cwrapperexe_src > $cwrappersource
  55883. +
  55884. + # The wrapper executable is built using the $host compiler,
  55885. + # because it contains $host paths and files. If cross-
  55886. + # compiling, it, like the target executable, must be
  55887. + # executed on the $host or under an emulation environment.
  55888. + $opt_dry_run || {
  55889. + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
  55890. + $STRIP $cwrapper
  55891. + }
  55892. - for file in $staticlibs; do
  55893. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  55894. + # Now, create the wrapper script for func_source use:
  55895. + func_ltwrapper_scriptname $cwrapper
  55896. + $RM $func_ltwrapper_scriptname_result
  55897. + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
  55898. + $opt_dry_run || {
  55899. + # note: this script will not be executed, so do not chmod.
  55900. + if test "x$build" = "x$host" ; then
  55901. + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
  55902. + else
  55903. + func_emit_wrapper no > $func_ltwrapper_scriptname_result
  55904. + fi
  55905. + }
  55906. + ;;
  55907. + * )
  55908. + $RM $output
  55909. + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
  55910. - # Set up the ranlib parameters.
  55911. - oldlib="$destdir/$name"
  55912. + func_emit_wrapper no > $output
  55913. + chmod +x $output
  55914. + ;;
  55915. + esac
  55916. + }
  55917. + exit $EXIT_SUCCESS
  55918. + ;;
  55919. + esac
  55920. - $show "$install_prog $file $oldlib"
  55921. - $run eval "$install_prog \$file \$oldlib" || exit $?
  55922. + # See if we need to build an old-fashioned archive.
  55923. + for oldlib in $oldlibs; do
  55924. - if test -n "$stripme" && test -n "$old_striplib"; then
  55925. - $show "$old_striplib $oldlib"
  55926. - $run eval "$old_striplib $oldlib" || exit $?
  55927. + if test "$build_libtool_libs" = convenience; then
  55928. + oldobjs="$libobjs_save $symfileobj"
  55929. + addlibs="$convenience"
  55930. + build_libtool_libs=no
  55931. + else
  55932. + if test "$build_libtool_libs" = module; then
  55933. + oldobjs="$libobjs_save"
  55934. + build_libtool_libs=no
  55935. + else
  55936. + oldobjs="$old_deplibs $non_pic_objects"
  55937. + if test "$preload" = yes && test -f "$symfileobj"; then
  55938. + oldobjs="$oldobjs $symfileobj"
  55939. + fi
  55940. + fi
  55941. + addlibs="$old_convenience"
  55942. fi
  55943. - # Do each command in the postinstall commands.
  55944. - cmds=$old_postinstall_cmds
  55945. - save_ifs="$IFS"; IFS='~'
  55946. - for cmd in $cmds; do
  55947. - IFS="$save_ifs"
  55948. - eval cmd=\"$cmd\"
  55949. - $show "$cmd"
  55950. - $run eval "$cmd" || exit $?
  55951. - done
  55952. - IFS="$save_ifs"
  55953. - done
  55954. + if test -n "$addlibs"; then
  55955. + gentop="$output_objdir/${outputname}x"
  55956. + generated="$generated $gentop"
  55957. - if test -n "$future_libdirs"; then
  55958. - $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
  55959. - fi
  55960. + func_extract_archives $gentop $addlibs
  55961. + oldobjs="$oldobjs $func_extract_archives_result"
  55962. + fi
  55963. - if test -n "$current_libdirs"; then
  55964. - # Maybe just do a dry run.
  55965. - test -n "$run" && current_libdirs=" -n$current_libdirs"
  55966. - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  55967. - else
  55968. - exit $EXIT_SUCCESS
  55969. - fi
  55970. - ;;
  55971. + # Do each command in the archive commands.
  55972. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  55973. + cmds=$old_archive_from_new_cmds
  55974. + else
  55975. - # libtool finish mode
  55976. - finish)
  55977. - modename="$modename: finish"
  55978. - libdirs="$nonopt"
  55979. - admincmds=
  55980. + # Add any objects from preloaded convenience libraries
  55981. + if test -n "$dlprefiles"; then
  55982. + gentop="$output_objdir/${outputname}x"
  55983. + generated="$generated $gentop"
  55984. - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  55985. - for dir
  55986. - do
  55987. - libdirs="$libdirs $dir"
  55988. - done
  55989. + func_extract_archives $gentop $dlprefiles
  55990. + oldobjs="$oldobjs $func_extract_archives_result"
  55991. + fi
  55992. - for libdir in $libdirs; do
  55993. - if test -n "$finish_cmds"; then
  55994. - # Do each command in the finish commands.
  55995. - cmds=$finish_cmds
  55996. - save_ifs="$IFS"; IFS='~'
  55997. - for cmd in $cmds; do
  55998. - IFS="$save_ifs"
  55999. - eval cmd=\"$cmd\"
  56000. - $show "$cmd"
  56001. - $run eval "$cmd" || admincmds="$admincmds
  56002. - $cmd"
  56003. + # POSIX demands no paths to be encoded in archives. We have
  56004. + # to avoid creating archives with duplicate basenames if we
  56005. + # might have to extract them afterwards, e.g., when creating a
  56006. + # static archive out of a convenience library, or when linking
  56007. + # the entirety of a libtool archive into another (currently
  56008. + # not supported by libtool).
  56009. + if (for obj in $oldobjs
  56010. + do
  56011. + func_basename "$obj"
  56012. + $ECHO "$func_basename_result"
  56013. + done | sort | sort -uc >/dev/null 2>&1); then
  56014. + :
  56015. + else
  56016. + $ECHO "copying selected object files to avoid basename conflicts..."
  56017. + gentop="$output_objdir/${outputname}x"
  56018. + generated="$generated $gentop"
  56019. + func_mkdir_p "$gentop"
  56020. + save_oldobjs=$oldobjs
  56021. + oldobjs=
  56022. + counter=1
  56023. + for obj in $save_oldobjs
  56024. + do
  56025. + func_basename "$obj"
  56026. + objbase="$func_basename_result"
  56027. + case " $oldobjs " in
  56028. + " ") oldobjs=$obj ;;
  56029. + *[\ /]"$objbase "*)
  56030. + while :; do
  56031. + # Make sure we don't pick an alternate name that also
  56032. + # overlaps.
  56033. + newobj=lt$counter-$objbase
  56034. + func_arith $counter + 1
  56035. + counter=$func_arith_result
  56036. + case " $oldobjs " in
  56037. + *[\ /]"$newobj "*) ;;
  56038. + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  56039. + esac
  56040. + done
  56041. + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  56042. + oldobjs="$oldobjs $gentop/$newobj"
  56043. + ;;
  56044. + *) oldobjs="$oldobjs $obj" ;;
  56045. + esac
  56046. done
  56047. - IFS="$save_ifs"
  56048. - fi
  56049. - if test -n "$finish_eval"; then
  56050. - # Do the single finish_eval.
  56051. - eval cmds=\"$finish_eval\"
  56052. - $run eval "$cmds" || admincmds="$admincmds
  56053. - $cmds"
  56054. fi
  56055. - done
  56056. - fi
  56057. -
  56058. - # Exit here if they wanted silent mode.
  56059. - test "$show" = : && exit $EXIT_SUCCESS
  56060. + eval cmds=\"$old_archive_cmds\"
  56061. - $echo "X----------------------------------------------------------------------" | $Xsed
  56062. - $echo "Libraries have been installed in:"
  56063. - for libdir in $libdirs; do
  56064. - $echo " $libdir"
  56065. + func_len " $cmds"
  56066. + len=$func_len_result
  56067. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  56068. + cmds=$old_archive_cmds
  56069. + else
  56070. + # the command line is too long to link in one step, link in parts
  56071. + func_verbose "using piecewise archive linking..."
  56072. + save_RANLIB=$RANLIB
  56073. + RANLIB=:
  56074. + objlist=
  56075. + concat_cmds=
  56076. + save_oldobjs=$oldobjs
  56077. + oldobjs=
  56078. + # Is there a better way of finding the last object in the list?
  56079. + for obj in $save_oldobjs
  56080. + do
  56081. + last_oldobj=$obj
  56082. + done
  56083. + eval test_cmds=\"$old_archive_cmds\"
  56084. + func_len " $test_cmds"
  56085. + len0=$func_len_result
  56086. + len=$len0
  56087. + for obj in $save_oldobjs
  56088. + do
  56089. + func_len " $obj"
  56090. + func_arith $len + $func_len_result
  56091. + len=$func_arith_result
  56092. + func_append objlist " $obj"
  56093. + if test "$len" -lt "$max_cmd_len"; then
  56094. + :
  56095. + else
  56096. + # the above command should be used before it gets too long
  56097. + oldobjs=$objlist
  56098. + if test "$obj" = "$last_oldobj" ; then
  56099. + RANLIB=$save_RANLIB
  56100. + fi
  56101. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  56102. + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  56103. + objlist=
  56104. + len=$len0
  56105. + fi
  56106. + done
  56107. + RANLIB=$save_RANLIB
  56108. + oldobjs=$objlist
  56109. + if test "X$oldobjs" = "X" ; then
  56110. + eval cmds=\"\$concat_cmds\"
  56111. + else
  56112. + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  56113. + fi
  56114. + fi
  56115. + fi
  56116. + func_execute_cmds "$cmds" 'exit $?'
  56117. done
  56118. - $echo
  56119. - $echo "If you ever happen to want to link against installed libraries"
  56120. - $echo "in a given directory, LIBDIR, you must either use libtool, and"
  56121. - $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
  56122. - $echo "flag during linking and do at least one of the following:"
  56123. - if test -n "$shlibpath_var"; then
  56124. - $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
  56125. - $echo " during execution"
  56126. - fi
  56127. - if test -n "$runpath_var"; then
  56128. - $echo " - add LIBDIR to the \`$runpath_var' environment variable"
  56129. - $echo " during linking"
  56130. - fi
  56131. - if test -n "$hardcode_libdir_flag_spec"; then
  56132. - libdir=LIBDIR
  56133. - eval flag=\"$hardcode_libdir_flag_spec\"
  56134. -
  56135. - $echo " - use the \`$flag' linker flag"
  56136. - fi
  56137. - if test -n "$admincmds"; then
  56138. - $echo " - have your system administrator run these commands:$admincmds"
  56139. - fi
  56140. - if test -f /etc/ld.so.conf; then
  56141. - $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  56142. - fi
  56143. - $echo
  56144. - $echo "See any operating system documentation about shared libraries for"
  56145. - $echo "more information, such as the ld(1) and ld.so(8) manual pages."
  56146. - $echo "X----------------------------------------------------------------------" | $Xsed
  56147. - exit $EXIT_SUCCESS
  56148. - ;;
  56149. - # libtool execute mode
  56150. - execute)
  56151. - modename="$modename: execute"
  56152. + test -n "$generated" && \
  56153. + func_show_eval "${RM}r$generated"
  56154. - # The first argument is the command name.
  56155. - cmd="$nonopt"
  56156. - if test -z "$cmd"; then
  56157. - $echo "$modename: you must specify a COMMAND" 1>&2
  56158. - $echo "$help"
  56159. - exit $EXIT_FAILURE
  56160. - fi
  56161. -
  56162. - # Handle -dlopen flags immediately.
  56163. - for file in $execute_dlfiles; do
  56164. - if test ! -f "$file"; then
  56165. - $echo "$modename: \`$file' is not a file" 1>&2
  56166. - $echo "$help" 1>&2
  56167. - exit $EXIT_FAILURE
  56168. - fi
  56169. + # Now create the libtool archive.
  56170. + case $output in
  56171. + *.la)
  56172. + old_library=
  56173. + test "$build_old_libs" = yes && old_library="$libname.$libext"
  56174. + func_verbose "creating $output"
  56175. - dir=
  56176. - case $file in
  56177. - *.la)
  56178. - # Check to see that this really is a libtool archive.
  56179. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  56180. + # Preserve any variables that may affect compiler behavior
  56181. + for var in $variables_saved_for_relink; do
  56182. + if eval test -z \"\${$var+set}\"; then
  56183. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  56184. + elif eval var_value=\$$var; test -z "$var_value"; then
  56185. + relink_command="$var=; export $var; $relink_command"
  56186. else
  56187. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  56188. - $echo "$help" 1>&2
  56189. - exit $EXIT_FAILURE
  56190. + func_quote_for_eval "$var_value"
  56191. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  56192. fi
  56193. + done
  56194. + # Quote the link command for shipping.
  56195. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  56196. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  56197. + if test "$hardcode_automatic" = yes ; then
  56198. + relink_command=
  56199. + fi
  56200. - # Read the libtool library.
  56201. - dlname=
  56202. - library_names=
  56203. + # Only create the output if not a dry run.
  56204. + $opt_dry_run || {
  56205. + for installed in no yes; do
  56206. + if test "$installed" = yes; then
  56207. + if test -z "$install_libdir"; then
  56208. + break
  56209. + fi
  56210. + output="$output_objdir/$outputname"i
  56211. + # Replace all uninstalled libtool libraries with the installed ones
  56212. + newdependency_libs=
  56213. + for deplib in $dependency_libs; do
  56214. + case $deplib in
  56215. + *.la)
  56216. + func_basename "$deplib"
  56217. + name="$func_basename_result"
  56218. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  56219. + test -z "$libdir" && \
  56220. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  56221. + newdependency_libs="$newdependency_libs $libdir/$name"
  56222. + ;;
  56223. + *) newdependency_libs="$newdependency_libs $deplib" ;;
  56224. + esac
  56225. + done
  56226. + dependency_libs="$newdependency_libs"
  56227. + newdlfiles=
  56228. +
  56229. + for lib in $dlfiles; do
  56230. + case $lib in
  56231. + *.la)
  56232. + func_basename "$lib"
  56233. + name="$func_basename_result"
  56234. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  56235. + test -z "$libdir" && \
  56236. + func_fatal_error "\`$lib' is not a valid libtool archive"
  56237. + newdlfiles="$newdlfiles $libdir/$name"
  56238. + ;;
  56239. + *) newdlfiles="$newdlfiles $lib" ;;
  56240. + esac
  56241. + done
  56242. + dlfiles="$newdlfiles"
  56243. + newdlprefiles=
  56244. + for lib in $dlprefiles; do
  56245. + case $lib in
  56246. + *.la)
  56247. + # Only pass preopened files to the pseudo-archive (for
  56248. + # eventual linking with the app. that links it) if we
  56249. + # didn't already link the preopened objects directly into
  56250. + # the library:
  56251. + func_basename "$lib"
  56252. + name="$func_basename_result"
  56253. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  56254. + test -z "$libdir" && \
  56255. + func_fatal_error "\`$lib' is not a valid libtool archive"
  56256. + newdlprefiles="$newdlprefiles $libdir/$name"
  56257. + ;;
  56258. + esac
  56259. + done
  56260. + dlprefiles="$newdlprefiles"
  56261. + else
  56262. + newdlfiles=
  56263. + for lib in $dlfiles; do
  56264. + case $lib in
  56265. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  56266. + *) abs=`pwd`"/$lib" ;;
  56267. + esac
  56268. + newdlfiles="$newdlfiles $abs"
  56269. + done
  56270. + dlfiles="$newdlfiles"
  56271. + newdlprefiles=
  56272. + for lib in $dlprefiles; do
  56273. + case $lib in
  56274. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  56275. + *) abs=`pwd`"/$lib" ;;
  56276. + esac
  56277. + newdlprefiles="$newdlprefiles $abs"
  56278. + done
  56279. + dlprefiles="$newdlprefiles"
  56280. + fi
  56281. + $RM $output
  56282. + # place dlname in correct position for cygwin
  56283. + tdlname=$dlname
  56284. + case $host,$output,$installed,$module,$dlname in
  56285. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  56286. + esac
  56287. + $ECHO > $output "\
  56288. +# $outputname - a libtool library file
  56289. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  56290. +#
  56291. +# Please DO NOT delete this file!
  56292. +# It is necessary for linking the library.
  56293. - # If there is no directory component, then add one.
  56294. - case $file in
  56295. - */* | *\\*) . $file ;;
  56296. - *) . ./$file ;;
  56297. - esac
  56298. +# The name that we can dlopen(3).
  56299. +dlname='$tdlname'
  56300. - # Skip this library if it cannot be dlopened.
  56301. - if test -z "$dlname"; then
  56302. - # Warn if it was a shared library.
  56303. - test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
  56304. - continue
  56305. - fi
  56306. +# Names of this library.
  56307. +library_names='$library_names'
  56308. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  56309. - test "X$dir" = "X$file" && dir=.
  56310. +# The name of the static archive.
  56311. +old_library='$old_library'
  56312. - if test -f "$dir/$objdir/$dlname"; then
  56313. - dir="$dir/$objdir"
  56314. - else
  56315. - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
  56316. - exit $EXIT_FAILURE
  56317. - fi
  56318. - ;;
  56319. +# Linker flags that can not go in dependency_libs.
  56320. +inherited_linker_flags='$new_inherited_linker_flags'
  56321. - *.lo)
  56322. - # Just add the directory containing the .lo file.
  56323. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  56324. - test "X$dir" = "X$file" && dir=.
  56325. - ;;
  56326. +# Libraries that this one depends upon.
  56327. +dependency_libs='$dependency_libs'
  56328. - *)
  56329. - $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
  56330. - continue
  56331. - ;;
  56332. - esac
  56333. +# Names of additional weak libraries provided by this library
  56334. +weak_library_names='$weak_libs'
  56335. - # Get the absolute pathname.
  56336. - absdir=`cd "$dir" && pwd`
  56337. - test -n "$absdir" && dir="$absdir"
  56338. +# Version information for $libname.
  56339. +current=$current
  56340. +age=$age
  56341. +revision=$revision
  56342. - # Now add the directory to shlibpath_var.
  56343. - if eval "test -z \"\$$shlibpath_var\""; then
  56344. - eval "$shlibpath_var=\"\$dir\""
  56345. - else
  56346. - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  56347. - fi
  56348. - done
  56349. +# Is this an already installed library?
  56350. +installed=$installed
  56351. - # This variable tells wrapper scripts just to set shlibpath_var
  56352. - # rather than running their programs.
  56353. - libtool_execute_magic="$magic"
  56354. +# Should we warn about portability when linking against -modules?
  56355. +shouldnotlink=$module
  56356. - # Check if any of the arguments is a wrapper script.
  56357. - args=
  56358. - for file
  56359. - do
  56360. - case $file in
  56361. - -*) ;;
  56362. - *)
  56363. - # Do a test to see if this is really a libtool program.
  56364. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  56365. - # If there is no directory component, then add one.
  56366. - case $file in
  56367. - */* | *\\*) . $file ;;
  56368. - *) . ./$file ;;
  56369. - esac
  56370. +# Files to dlopen/dlpreopen
  56371. +dlopen='$dlfiles'
  56372. +dlpreopen='$dlprefiles'
  56373. - # Transform arg to wrapped name.
  56374. - file="$progdir/$program"
  56375. - fi
  56376. - ;;
  56377. - esac
  56378. - # Quote arguments (to preserve shell metacharacters).
  56379. - file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
  56380. - args="$args \"$file\""
  56381. - done
  56382. +# Directory that this library needs to be installed in:
  56383. +libdir='$install_libdir'"
  56384. + if test "$installed" = no && test "$need_relink" = yes; then
  56385. + $ECHO >> $output "\
  56386. +relink_command=\"$relink_command\""
  56387. + fi
  56388. + done
  56389. + }
  56390. - if test -z "$run"; then
  56391. - if test -n "$shlibpath_var"; then
  56392. - # Export the shlibpath_var.
  56393. - eval "export $shlibpath_var"
  56394. - fi
  56395. + # Do a symbolic link so that the libtool archive can be found in
  56396. + # LD_LIBRARY_PATH before the program is installed.
  56397. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
  56398. + ;;
  56399. + esac
  56400. + exit $EXIT_SUCCESS
  56401. +}
  56402. - # Restore saved environment variables
  56403. - if test "${save_LC_ALL+set}" = set; then
  56404. - LC_ALL="$save_LC_ALL"; export LC_ALL
  56405. - fi
  56406. - if test "${save_LANG+set}" = set; then
  56407. - LANG="$save_LANG"; export LANG
  56408. - fi
  56409. +{ test "$mode" = link || test "$mode" = relink; } &&
  56410. + func_mode_link ${1+"$@"}
  56411. - # Now prepare to actually exec the command.
  56412. - exec_cmd="\$cmd$args"
  56413. - else
  56414. - # Display what would be done.
  56415. - if test -n "$shlibpath_var"; then
  56416. - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
  56417. - $echo "export $shlibpath_var"
  56418. - fi
  56419. - $echo "$cmd$args"
  56420. - exit $EXIT_SUCCESS
  56421. - fi
  56422. - ;;
  56423. - # libtool clean and uninstall mode
  56424. - clean | uninstall)
  56425. - modename="$modename: $mode"
  56426. - rm="$nonopt"
  56427. +# func_mode_uninstall arg...
  56428. +func_mode_uninstall ()
  56429. +{
  56430. + $opt_debug
  56431. + RM="$nonopt"
  56432. files=
  56433. rmforce=
  56434. exit_status=0
  56435. @@ -6448,30 +8209,28 @@
  56436. for arg
  56437. do
  56438. case $arg in
  56439. - -f) rm="$rm $arg"; rmforce=yes ;;
  56440. - -*) rm="$rm $arg" ;;
  56441. + -f) RM="$RM $arg"; rmforce=yes ;;
  56442. + -*) RM="$RM $arg" ;;
  56443. *) files="$files $arg" ;;
  56444. esac
  56445. done
  56446. - if test -z "$rm"; then
  56447. - $echo "$modename: you must specify an RM program" 1>&2
  56448. - $echo "$help" 1>&2
  56449. - exit $EXIT_FAILURE
  56450. - fi
  56451. + test -z "$RM" && \
  56452. + func_fatal_help "you must specify an RM program"
  56453. rmdirs=
  56454. origobjdir="$objdir"
  56455. for file in $files; do
  56456. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  56457. - if test "X$dir" = "X$file"; then
  56458. - dir=.
  56459. + func_dirname "$file" "" "."
  56460. + dir="$func_dirname_result"
  56461. + if test "X$dir" = X.; then
  56462. objdir="$origobjdir"
  56463. else
  56464. objdir="$dir/$origobjdir"
  56465. fi
  56466. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  56467. + func_basename "$file"
  56468. + name="$func_basename_result"
  56469. test "$mode" = uninstall && objdir="$dir"
  56470. # Remember objdir for removal later, being careful to avoid duplicates
  56471. @@ -6483,9 +8242,9 @@
  56472. fi
  56473. # Don't error if the file doesn't exist and rm -f was used.
  56474. - if (test -L "$file") >/dev/null 2>&1 \
  56475. - || (test -h "$file") >/dev/null 2>&1 \
  56476. - || test -f "$file"; then
  56477. + if { test -L "$file"; } >/dev/null 2>&1 ||
  56478. + { test -h "$file"; } >/dev/null 2>&1 ||
  56479. + test -f "$file"; then
  56480. :
  56481. elif test -d "$file"; then
  56482. exit_status=1
  56483. @@ -6499,8 +8258,8 @@
  56484. case $name in
  56485. *.la)
  56486. # Possibly a libtool archive, so verify it.
  56487. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  56488. - . $dir/$name
  56489. + if func_lalib_p "$file"; then
  56490. + func_source $dir/$name
  56491. # Delete the libtool libraries and symlinks.
  56492. for n in $library_names; do
  56493. @@ -6515,39 +8274,17 @@
  56494. *" $dlname "*) ;;
  56495. *) rmfiles="$rmfiles $objdir/$dlname" ;;
  56496. esac
  56497. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  56498. + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  56499. ;;
  56500. uninstall)
  56501. if test -n "$library_names"; then
  56502. # Do each command in the postuninstall commands.
  56503. - cmds=$postuninstall_cmds
  56504. - save_ifs="$IFS"; IFS='~'
  56505. - for cmd in $cmds; do
  56506. - IFS="$save_ifs"
  56507. - eval cmd=\"$cmd\"
  56508. - $show "$cmd"
  56509. - $run eval "$cmd"
  56510. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  56511. - exit_status=1
  56512. - fi
  56513. - done
  56514. - IFS="$save_ifs"
  56515. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  56516. fi
  56517. if test -n "$old_library"; then
  56518. # Do each command in the old_postuninstall commands.
  56519. - cmds=$old_postuninstall_cmds
  56520. - save_ifs="$IFS"; IFS='~'
  56521. - for cmd in $cmds; do
  56522. - IFS="$save_ifs"
  56523. - eval cmd=\"$cmd\"
  56524. - $show "$cmd"
  56525. - $run eval "$cmd"
  56526. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  56527. - exit_status=1
  56528. - fi
  56529. - done
  56530. - IFS="$save_ifs"
  56531. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  56532. fi
  56533. # FIXME: should reinstall the best remaining shared library.
  56534. ;;
  56535. @@ -6557,20 +8294,20 @@
  56536. *.lo)
  56537. # Possibly a libtool object, so verify it.
  56538. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  56539. + if func_lalib_p "$file"; then
  56540. # Read the .lo file
  56541. - . $dir/$name
  56542. + func_source $dir/$name
  56543. # Add PIC object to the list of files to remove.
  56544. - if test -n "$pic_object" \
  56545. - && test "$pic_object" != none; then
  56546. + if test -n "$pic_object" &&
  56547. + test "$pic_object" != none; then
  56548. rmfiles="$rmfiles $dir/$pic_object"
  56549. fi
  56550. # Add non-PIC object to the list of files to remove.
  56551. - if test -n "$non_pic_object" \
  56552. - && test "$non_pic_object" != none; then
  56553. + if test -n "$non_pic_object" &&
  56554. + test "$non_pic_object" != none; then
  56555. rmfiles="$rmfiles $dir/$non_pic_object"
  56556. fi
  56557. fi
  56558. @@ -6581,17 +8318,26 @@
  56559. noexename=$name
  56560. case $file in
  56561. *.exe)
  56562. - file=`$echo $file|${SED} 's,.exe$,,'`
  56563. - noexename=`$echo $name|${SED} 's,.exe$,,'`
  56564. + func_stripname '' '.exe' "$file"
  56565. + file=$func_stripname_result
  56566. + func_stripname '' '.exe' "$name"
  56567. + noexename=$func_stripname_result
  56568. # $file with .exe has already been added to rmfiles,
  56569. # add $file without .exe
  56570. rmfiles="$rmfiles $file"
  56571. ;;
  56572. esac
  56573. # Do a test to see if this is a libtool program.
  56574. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  56575. - relink_command=
  56576. - . $dir/$noexename
  56577. + if func_ltwrapper_p "$file"; then
  56578. + if func_ltwrapper_executable_p "$file"; then
  56579. + func_ltwrapper_scriptname "$file"
  56580. + relink_command=
  56581. + func_source $func_ltwrapper_scriptname_result
  56582. + rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  56583. + else
  56584. + relink_command=
  56585. + func_source $dir/$noexename
  56586. + fi
  56587. # note $name still contains .exe if it was in $file originally
  56588. # as does the version of $file that was added into $rmfiles
  56589. @@ -6606,237 +8352,38 @@
  56590. fi
  56591. ;;
  56592. esac
  56593. - $show "$rm $rmfiles"
  56594. - $run $rm $rmfiles || exit_status=1
  56595. + func_show_eval "$RM $rmfiles" 'exit_status=1'
  56596. done
  56597. objdir="$origobjdir"
  56598. # Try to remove the ${objdir}s in the directories where we deleted files
  56599. for dir in $rmdirs; do
  56600. if test -d "$dir"; then
  56601. - $show "rmdir $dir"
  56602. - $run rmdir $dir >/dev/null 2>&1
  56603. + func_show_eval "rmdir $dir >/dev/null 2>&1"
  56604. fi
  56605. done
  56606. exit $exit_status
  56607. - ;;
  56608. +}
  56609. - "")
  56610. - $echo "$modename: you must specify a MODE" 1>&2
  56611. - $echo "$generic_help" 1>&2
  56612. - exit $EXIT_FAILURE
  56613. - ;;
  56614. - esac
  56615. +{ test "$mode" = uninstall || test "$mode" = clean; } &&
  56616. + func_mode_uninstall ${1+"$@"}
  56617. - if test -z "$exec_cmd"; then
  56618. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  56619. - $echo "$generic_help" 1>&2
  56620. - exit $EXIT_FAILURE
  56621. - fi
  56622. -fi # test -z "$show_help"
  56623. +test -z "$mode" && {
  56624. + help="$generic_help"
  56625. + func_fatal_help "you must specify a MODE"
  56626. +}
  56627. +
  56628. +test -z "$exec_cmd" && \
  56629. + func_fatal_help "invalid operation mode \`$mode'"
  56630. if test -n "$exec_cmd"; then
  56631. - eval exec $exec_cmd
  56632. + eval exec "$exec_cmd"
  56633. exit $EXIT_FAILURE
  56634. fi
  56635. -# We need to display help for each of the modes.
  56636. -case $mode in
  56637. -"") $echo \
  56638. -"Usage: $modename [OPTION]... [MODE-ARG]...
  56639. -
  56640. -Provide generalized library-building support services.
  56641. -
  56642. - --config show all configuration variables
  56643. - --debug enable verbose shell tracing
  56644. --n, --dry-run display commands without modifying any files
  56645. - --features display basic configuration information and exit
  56646. - --finish same as \`--mode=finish'
  56647. - --help display this help message and exit
  56648. - --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
  56649. - --quiet same as \`--silent'
  56650. - --silent don't print informational messages
  56651. - --tag=TAG use configuration variables from tag TAG
  56652. - --version print version information
  56653. -
  56654. -MODE must be one of the following:
  56655. -
  56656. - clean remove files from the build directory
  56657. - compile compile a source file into a libtool object
  56658. - execute automatically set library path, then run a program
  56659. - finish complete the installation of libtool libraries
  56660. - install install libraries or executables
  56661. - link create a library or an executable
  56662. - uninstall remove libraries from an installed directory
  56663. -
  56664. -MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
  56665. -a more detailed description of MODE.
  56666. -
  56667. -Report bugs to <bug-libtool@gnu.org>."
  56668. - exit $EXIT_SUCCESS
  56669. - ;;
  56670. -
  56671. -clean)
  56672. - $echo \
  56673. -"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  56674. -
  56675. -Remove files from the build directory.
  56676. -
  56677. -RM is the name of the program to use to delete files associated with each FILE
  56678. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  56679. -to RM.
  56680. -
  56681. -If FILE is a libtool library, object or program, all the files associated
  56682. -with it are deleted. Otherwise, only FILE itself is deleted using RM."
  56683. - ;;
  56684. -
  56685. -compile)
  56686. - $echo \
  56687. -"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  56688. -
  56689. -Compile a source file into a libtool library object.
  56690. -
  56691. -This mode accepts the following additional options:
  56692. -
  56693. - -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  56694. - -prefer-pic try to building PIC objects only
  56695. - -prefer-non-pic try to building non-PIC objects only
  56696. - -static always build a \`.o' file suitable for static linking
  56697. -
  56698. -COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  56699. -from the given SOURCEFILE.
  56700. -
  56701. -The output file name is determined by removing the directory component from
  56702. -SOURCEFILE, then substituting the C source code suffix \`.c' with the
  56703. -library object suffix, \`.lo'."
  56704. - ;;
  56705. -
  56706. -execute)
  56707. - $echo \
  56708. -"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
  56709. -
  56710. -Automatically set library path, then run a program.
  56711. -
  56712. -This mode accepts the following additional options:
  56713. -
  56714. - -dlopen FILE add the directory containing FILE to the library path
  56715. -
  56716. -This mode sets the library path environment variable according to \`-dlopen'
  56717. -flags.
  56718. -
  56719. -If any of the ARGS are libtool executable wrappers, then they are translated
  56720. -into their corresponding uninstalled binary, and any of their required library
  56721. -directories are added to the library path.
  56722. -
  56723. -Then, COMMAND is executed, with ARGS as arguments."
  56724. - ;;
  56725. -
  56726. -finish)
  56727. - $echo \
  56728. -"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
  56729. -
  56730. -Complete the installation of libtool libraries.
  56731. -
  56732. -Each LIBDIR is a directory that contains libtool libraries.
  56733. -
  56734. -The commands that this mode executes may require superuser privileges. Use
  56735. -the \`--dry-run' option if you just want to see what would be executed."
  56736. - ;;
  56737. -
  56738. -install)
  56739. - $echo \
  56740. -"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
  56741. -
  56742. -Install executables or libraries.
  56743. -
  56744. -INSTALL-COMMAND is the installation command. The first component should be
  56745. -either the \`install' or \`cp' program.
  56746. -
  56747. -The rest of the components are interpreted as arguments to that command (only
  56748. -BSD-compatible install options are recognized)."
  56749. - ;;
  56750. -
  56751. -link)
  56752. - $echo \
  56753. -"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
  56754. -
  56755. -Link object files or libraries together to form another library, or to
  56756. -create an executable program.
  56757. -
  56758. -LINK-COMMAND is a command using the C compiler that you would use to create
  56759. -a program from several object files.
  56760. -
  56761. -The following components of LINK-COMMAND are treated specially:
  56762. -
  56763. - -all-static do not do any dynamic linking at all
  56764. - -avoid-version do not add a version suffix if possible
  56765. - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  56766. - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  56767. - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  56768. - -export-symbols SYMFILE
  56769. - try to export only the symbols listed in SYMFILE
  56770. - -export-symbols-regex REGEX
  56771. - try to export only the symbols matching REGEX
  56772. - -LLIBDIR search LIBDIR for required installed libraries
  56773. - -lNAME OUTPUT-FILE requires the installed library libNAME
  56774. - -module build a library that can dlopened
  56775. - -no-fast-install disable the fast-install mode
  56776. - -no-install link a not-installable executable
  56777. - -no-undefined declare that a library does not refer to external symbols
  56778. - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  56779. - -objectlist FILE Use a list of object files found in FILE to specify objects
  56780. - -precious-files-regex REGEX
  56781. - don't remove output files matching REGEX
  56782. - -release RELEASE specify package release information
  56783. - -rpath LIBDIR the created library will eventually be installed in LIBDIR
  56784. - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  56785. - -static do not do any dynamic linking of libtool libraries
  56786. - -version-info CURRENT[:REVISION[:AGE]]
  56787. - specify library version info [each variable defaults to 0]
  56788. -
  56789. -All other options (arguments beginning with \`-') are ignored.
  56790. -
  56791. -Every other argument is treated as a filename. Files ending in \`.la' are
  56792. -treated as uninstalled libtool libraries, other files are standard or library
  56793. -object files.
  56794. -
  56795. -If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  56796. -only library objects (\`.lo' files) may be specified, and \`-rpath' is
  56797. -required, except when creating a convenience library.
  56798. -
  56799. -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  56800. -using \`ar' and \`ranlib', or on Windows using \`lib'.
  56801. -
  56802. -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  56803. -is created, otherwise an executable program is created."
  56804. - ;;
  56805. -
  56806. -uninstall)
  56807. - $echo \
  56808. -"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  56809. -
  56810. -Remove libraries from an installation directory.
  56811. -
  56812. -RM is the name of the program to use to delete files associated with each FILE
  56813. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  56814. -to RM.
  56815. +exit $exit_status
  56816. -If FILE is a libtool library, all the files associated with it are deleted.
  56817. -Otherwise, only FILE itself is deleted using RM."
  56818. - ;;
  56819. -
  56820. -*)
  56821. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  56822. - $echo "$help" 1>&2
  56823. - exit $EXIT_FAILURE
  56824. - ;;
  56825. -esac
  56826. -
  56827. -$echo
  56828. -$echo "Try \`$modename --help' for more information about other modes."
  56829. -
  56830. -exit $?
  56831. # The TAGs below are defined such that we never get into a situation
  56832. # in which we disable both kinds of libraries. Given conflicting
  56833. @@ -6850,14 +8397,17 @@
  56834. # configuration. But we'll never go from static-only to shared-only.
  56835. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
  56836. -disable_libs=shared
  56837. +build_libtool_libs=no
  56838. +build_old_libs=yes
  56839. # ### END LIBTOOL TAG CONFIG: disable-shared
  56840. # ### BEGIN LIBTOOL TAG CONFIG: disable-static
  56841. -disable_libs=static
  56842. +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  56843. # ### END LIBTOOL TAG CONFIG: disable-static
  56844. # Local Variables:
  56845. # mode:shell-script
  56846. # sh-indentation:2
  56847. # End:
  56848. +# vi:sw=2
  56849. +
  56850. diff -Nur alsa-lib-1.0.22.orig/m4/libtool.m4 alsa-lib-1.0.22/m4/libtool.m4
  56851. --- alsa-lib-1.0.22.orig/m4/libtool.m4 1970-01-01 01:00:00.000000000 +0100
  56852. +++ alsa-lib-1.0.22/m4/libtool.m4 2011-02-24 20:33:10.423550891 +0100
  56853. @@ -0,0 +1,7377 @@
  56854. +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  56855. +#
  56856. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  56857. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  56858. +# Written by Gordon Matzigkeit, 1996
  56859. +#
  56860. +# This file is free software; the Free Software Foundation gives
  56861. +# unlimited permission to copy and/or distribute it, with or without
  56862. +# modifications, as long as this notice is preserved.
  56863. +
  56864. +m4_define([_LT_COPYING], [dnl
  56865. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  56866. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  56867. +# Written by Gordon Matzigkeit, 1996
  56868. +#
  56869. +# This file is part of GNU Libtool.
  56870. +#
  56871. +# GNU Libtool is free software; you can redistribute it and/or
  56872. +# modify it under the terms of the GNU General Public License as
  56873. +# published by the Free Software Foundation; either version 2 of
  56874. +# the License, or (at your option) any later version.
  56875. +#
  56876. +# As a special exception to the GNU General Public License,
  56877. +# if you distribute this file as part of a program or library that
  56878. +# is built using GNU Libtool, you may include this file under the
  56879. +# same distribution terms that you use for the rest of that program.
  56880. +#
  56881. +# GNU Libtool is distributed in the hope that it will be useful,
  56882. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  56883. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  56884. +# GNU General Public License for more details.
  56885. +#
  56886. +# You should have received a copy of the GNU General Public License
  56887. +# along with GNU Libtool; see the file COPYING. If not, a copy
  56888. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  56889. +# obtained by writing to the Free Software Foundation, Inc.,
  56890. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  56891. +])
  56892. +
  56893. +# serial 56 LT_INIT
  56894. +
  56895. +
  56896. +# LT_PREREQ(VERSION)
  56897. +# ------------------
  56898. +# Complain and exit if this libtool version is less that VERSION.
  56899. +m4_defun([LT_PREREQ],
  56900. +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
  56901. + [m4_default([$3],
  56902. + [m4_fatal([Libtool version $1 or higher is required],
  56903. + 63)])],
  56904. + [$2])])
  56905. +
  56906. +
  56907. +# _LT_CHECK_BUILDDIR
  56908. +# ------------------
  56909. +# Complain if the absolute build directory name contains unusual characters
  56910. +m4_defun([_LT_CHECK_BUILDDIR],
  56911. +[case `pwd` in
  56912. + *\ * | *\ *)
  56913. + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
  56914. +esac
  56915. +])
  56916. +
  56917. +
  56918. +# LT_INIT([OPTIONS])
  56919. +# ------------------
  56920. +AC_DEFUN([LT_INIT],
  56921. +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  56922. +AC_BEFORE([$0], [LT_LANG])dnl
  56923. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  56924. +AC_BEFORE([$0], [LTDL_INIT])dnl
  56925. +m4_require([_LT_CHECK_BUILDDIR])dnl
  56926. +
  56927. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  56928. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  56929. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  56930. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  56931. +dnl unless we require an AC_DEFUNed macro:
  56932. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  56933. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  56934. +AC_REQUIRE([LTVERSION_VERSION])dnl
  56935. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  56936. +m4_require([_LT_PROG_LTMAIN])dnl
  56937. +
  56938. +dnl Parse OPTIONS
  56939. +_LT_SET_OPTIONS([$0], [$1])
  56940. +
  56941. +# This can be used to rebuild libtool when needed
  56942. +LIBTOOL_DEPS="$ltmain"
  56943. +
  56944. +# Always use our own libtool.
  56945. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  56946. +AC_SUBST(LIBTOOL)dnl
  56947. +
  56948. +_LT_SETUP
  56949. +
  56950. +# Only expand once:
  56951. +m4_define([LT_INIT])
  56952. +])# LT_INIT
  56953. +
  56954. +# Old names:
  56955. +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  56956. +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  56957. +dnl aclocal-1.4 backwards compatibility:
  56958. +dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  56959. +dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  56960. +
  56961. +
  56962. +# _LT_CC_BASENAME(CC)
  56963. +# -------------------
  56964. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  56965. +m4_defun([_LT_CC_BASENAME],
  56966. +[for cc_temp in $1""; do
  56967. + case $cc_temp in
  56968. + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  56969. + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  56970. + \-*) ;;
  56971. + *) break;;
  56972. + esac
  56973. +done
  56974. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  56975. +])
  56976. +
  56977. +
  56978. +# _LT_FILEUTILS_DEFAULTS
  56979. +# ----------------------
  56980. +# It is okay to use these file commands and assume they have been set
  56981. +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  56982. +m4_defun([_LT_FILEUTILS_DEFAULTS],
  56983. +[: ${CP="cp -f"}
  56984. +: ${MV="mv -f"}
  56985. +: ${RM="rm -f"}
  56986. +])# _LT_FILEUTILS_DEFAULTS
  56987. +
  56988. +
  56989. +# _LT_SETUP
  56990. +# ---------
  56991. +m4_defun([_LT_SETUP],
  56992. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  56993. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  56994. +_LT_DECL([], [host_alias], [0], [The host system])dnl
  56995. +_LT_DECL([], [host], [0])dnl
  56996. +_LT_DECL([], [host_os], [0])dnl
  56997. +dnl
  56998. +_LT_DECL([], [build_alias], [0], [The build system])dnl
  56999. +_LT_DECL([], [build], [0])dnl
  57000. +_LT_DECL([], [build_os], [0])dnl
  57001. +dnl
  57002. +AC_REQUIRE([AC_PROG_CC])dnl
  57003. +AC_REQUIRE([LT_PATH_LD])dnl
  57004. +AC_REQUIRE([LT_PATH_NM])dnl
  57005. +dnl
  57006. +AC_REQUIRE([AC_PROG_LN_S])dnl
  57007. +test -z "$LN_S" && LN_S="ln -s"
  57008. +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  57009. +dnl
  57010. +AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  57011. +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  57012. +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  57013. +dnl
  57014. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  57015. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  57016. +m4_require([_LT_CMD_RELOAD])dnl
  57017. +m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  57018. +m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  57019. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  57020. +
  57021. +_LT_CONFIG_LIBTOOL_INIT([
  57022. +# See if we are running on zsh, and set the options which allow our
  57023. +# commands through without removal of \ escapes INIT.
  57024. +if test -n "\${ZSH_VERSION+set}" ; then
  57025. + setopt NO_GLOB_SUBST
  57026. +fi
  57027. +])
  57028. +if test -n "${ZSH_VERSION+set}" ; then
  57029. + setopt NO_GLOB_SUBST
  57030. +fi
  57031. +
  57032. +_LT_CHECK_OBJDIR
  57033. +
  57034. +m4_require([_LT_TAG_COMPILER])dnl
  57035. +_LT_PROG_ECHO_BACKSLASH
  57036. +
  57037. +case $host_os in
  57038. +aix3*)
  57039. + # AIX sometimes has problems with the GCC collect2 program. For some
  57040. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  57041. + # vanish in a puff of smoke.
  57042. + if test "X${COLLECT_NAMES+set}" != Xset; then
  57043. + COLLECT_NAMES=
  57044. + export COLLECT_NAMES
  57045. + fi
  57046. + ;;
  57047. +esac
  57048. +
  57049. +# Sed substitution that helps us do robust quoting. It backslashifies
  57050. +# metacharacters that are still active within double-quoted strings.
  57051. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  57052. +
  57053. +# Same as above, but do not quote variable references.
  57054. +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  57055. +
  57056. +# Sed substitution to delay expansion of an escaped shell variable in a
  57057. +# double_quote_subst'ed string.
  57058. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  57059. +
  57060. +# Sed substitution to delay expansion of an escaped single quote.
  57061. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  57062. +
  57063. +# Sed substitution to avoid accidental globbing in evaled expressions
  57064. +no_glob_subst='s/\*/\\\*/g'
  57065. +
  57066. +# Global variables:
  57067. +ofile=libtool
  57068. +can_build_shared=yes
  57069. +
  57070. +# All known linkers require a `.a' archive for static linking (except MSVC,
  57071. +# which needs '.lib').
  57072. +libext=a
  57073. +
  57074. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  57075. +
  57076. +old_CC="$CC"
  57077. +old_CFLAGS="$CFLAGS"
  57078. +
  57079. +# Set sane defaults for various variables
  57080. +test -z "$CC" && CC=cc
  57081. +test -z "$LTCC" && LTCC=$CC
  57082. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  57083. +test -z "$LD" && LD=ld
  57084. +test -z "$ac_objext" && ac_objext=o
  57085. +
  57086. +_LT_CC_BASENAME([$compiler])
  57087. +
  57088. +# Only perform the check for file, if the check method requires it
  57089. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  57090. +case $deplibs_check_method in
  57091. +file_magic*)
  57092. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  57093. + _LT_PATH_MAGIC
  57094. + fi
  57095. + ;;
  57096. +esac
  57097. +
  57098. +# Use C for the default configuration in the libtool script
  57099. +LT_SUPPORTED_TAG([CC])
  57100. +_LT_LANG_C_CONFIG
  57101. +_LT_LANG_DEFAULT_CONFIG
  57102. +_LT_CONFIG_COMMANDS
  57103. +])# _LT_SETUP
  57104. +
  57105. +
  57106. +# _LT_PROG_LTMAIN
  57107. +# ---------------
  57108. +# Note that this code is called both from `configure', and `config.status'
  57109. +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
  57110. +# `config.status' has no value for ac_aux_dir unless we are using Automake,
  57111. +# so we pass a copy along to make sure it has a sensible value anyway.
  57112. +m4_defun([_LT_PROG_LTMAIN],
  57113. +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  57114. +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  57115. +ltmain="$ac_aux_dir/ltmain.sh"
  57116. +])# _LT_PROG_LTMAIN
  57117. +
  57118. +
  57119. +## ------------------------------------- ##
  57120. +## Accumulate code for creating libtool. ##
  57121. +## ------------------------------------- ##
  57122. +
  57123. +# So that we can recreate a full libtool script including additional
  57124. +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  57125. +# in macros and then make a single call at the end using the `libtool'
  57126. +# label.
  57127. +
  57128. +
  57129. +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  57130. +# ----------------------------------------
  57131. +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  57132. +m4_define([_LT_CONFIG_LIBTOOL_INIT],
  57133. +[m4_ifval([$1],
  57134. + [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  57135. + [$1
  57136. +])])])
  57137. +
  57138. +# Initialize.
  57139. +m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  57140. +
  57141. +
  57142. +# _LT_CONFIG_LIBTOOL([COMMANDS])
  57143. +# ------------------------------
  57144. +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  57145. +m4_define([_LT_CONFIG_LIBTOOL],
  57146. +[m4_ifval([$1],
  57147. + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  57148. + [$1
  57149. +])])])
  57150. +
  57151. +# Initialize.
  57152. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  57153. +
  57154. +
  57155. +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  57156. +# -----------------------------------------------------
  57157. +m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  57158. +[_LT_CONFIG_LIBTOOL([$1])
  57159. +_LT_CONFIG_LIBTOOL_INIT([$2])
  57160. +])
  57161. +
  57162. +
  57163. +# _LT_FORMAT_COMMENT([COMMENT])
  57164. +# -----------------------------
  57165. +# Add leading comment marks to the start of each line, and a trailing
  57166. +# full-stop to the whole comment if one is not present already.
  57167. +m4_define([_LT_FORMAT_COMMENT],
  57168. +[m4_ifval([$1], [
  57169. +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  57170. + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  57171. +)])
  57172. +
  57173. +
  57174. +
  57175. +## ------------------------ ##
  57176. +## FIXME: Eliminate VARNAME ##
  57177. +## ------------------------ ##
  57178. +
  57179. +
  57180. +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  57181. +# -------------------------------------------------------------------
  57182. +# CONFIGNAME is the name given to the value in the libtool script.
  57183. +# VARNAME is the (base) name used in the configure script.
  57184. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  57185. +# VARNAME. Any other value will be used directly.
  57186. +m4_define([_LT_DECL],
  57187. +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  57188. + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  57189. + [m4_ifval([$1], [$1], [$2])])
  57190. + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  57191. + m4_ifval([$4],
  57192. + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  57193. + lt_dict_add_subkey([lt_decl_dict], [$2],
  57194. + [tagged?], [m4_ifval([$5], [yes], [no])])])
  57195. +])
  57196. +
  57197. +
  57198. +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  57199. +# --------------------------------------------------------
  57200. +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  57201. +
  57202. +
  57203. +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  57204. +# ------------------------------------------------
  57205. +m4_define([lt_decl_tag_varnames],
  57206. +[_lt_decl_filter([tagged?], [yes], $@)])
  57207. +
  57208. +
  57209. +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  57210. +# ---------------------------------------------------------
  57211. +m4_define([_lt_decl_filter],
  57212. +[m4_case([$#],
  57213. + [0], [m4_fatal([$0: too few arguments: $#])],
  57214. + [1], [m4_fatal([$0: too few arguments: $#: $1])],
  57215. + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  57216. + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  57217. + [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  57218. +])
  57219. +
  57220. +
  57221. +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  57222. +# --------------------------------------------------
  57223. +m4_define([lt_decl_quote_varnames],
  57224. +[_lt_decl_filter([value], [1], $@)])
  57225. +
  57226. +
  57227. +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  57228. +# ---------------------------------------------------
  57229. +m4_define([lt_decl_dquote_varnames],
  57230. +[_lt_decl_filter([value], [2], $@)])
  57231. +
  57232. +
  57233. +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  57234. +# ---------------------------------------------------
  57235. +m4_define([lt_decl_varnames_tagged],
  57236. +[m4_assert([$# <= 2])dnl
  57237. +_$0(m4_quote(m4_default([$1], [[, ]])),
  57238. + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  57239. + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  57240. +m4_define([_lt_decl_varnames_tagged],
  57241. +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  57242. +
  57243. +
  57244. +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  57245. +# ------------------------------------------------
  57246. +m4_define([lt_decl_all_varnames],
  57247. +[_$0(m4_quote(m4_default([$1], [[, ]])),
  57248. + m4_if([$2], [],
  57249. + m4_quote(lt_decl_varnames),
  57250. + m4_quote(m4_shift($@))))[]dnl
  57251. +])
  57252. +m4_define([_lt_decl_all_varnames],
  57253. +[lt_join($@, lt_decl_varnames_tagged([$1],
  57254. + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  57255. +])
  57256. +
  57257. +
  57258. +# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  57259. +# ------------------------------------
  57260. +# Quote a variable value, and forward it to `config.status' so that its
  57261. +# declaration there will have the same value as in `configure'. VARNAME
  57262. +# must have a single quote delimited value for this to work.
  57263. +m4_define([_LT_CONFIG_STATUS_DECLARE],
  57264. +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  57265. +
  57266. +
  57267. +# _LT_CONFIG_STATUS_DECLARATIONS
  57268. +# ------------------------------
  57269. +# We delimit libtool config variables with single quotes, so when
  57270. +# we write them to config.status, we have to be sure to quote all
  57271. +# embedded single quotes properly. In configure, this macro expands
  57272. +# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  57273. +#
  57274. +# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  57275. +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  57276. +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  57277. + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  57278. +
  57279. +
  57280. +# _LT_LIBTOOL_TAGS
  57281. +# ----------------
  57282. +# Output comment and list of tags supported by the script
  57283. +m4_defun([_LT_LIBTOOL_TAGS],
  57284. +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  57285. +available_tags="_LT_TAGS"dnl
  57286. +])
  57287. +
  57288. +
  57289. +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  57290. +# -----------------------------------
  57291. +# Extract the dictionary values for VARNAME (optionally with TAG) and
  57292. +# expand to a commented shell variable setting:
  57293. +#
  57294. +# # Some comment about what VAR is for.
  57295. +# visible_name=$lt_internal_name
  57296. +m4_define([_LT_LIBTOOL_DECLARE],
  57297. +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  57298. + [description])))[]dnl
  57299. +m4_pushdef([_libtool_name],
  57300. + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  57301. +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  57302. + [0], [_libtool_name=[$]$1],
  57303. + [1], [_libtool_name=$lt_[]$1],
  57304. + [2], [_libtool_name=$lt_[]$1],
  57305. + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  57306. +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  57307. +])
  57308. +
  57309. +
  57310. +# _LT_LIBTOOL_CONFIG_VARS
  57311. +# -----------------------
  57312. +# Produce commented declarations of non-tagged libtool config variables
  57313. +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  57314. +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
  57315. +# section) are produced by _LT_LIBTOOL_TAG_VARS.
  57316. +m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  57317. +[m4_foreach([_lt_var],
  57318. + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  57319. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  57320. +
  57321. +
  57322. +# _LT_LIBTOOL_TAG_VARS(TAG)
  57323. +# -------------------------
  57324. +m4_define([_LT_LIBTOOL_TAG_VARS],
  57325. +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  57326. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  57327. +
  57328. +
  57329. +# _LT_TAGVAR(VARNAME, [TAGNAME])
  57330. +# ------------------------------
  57331. +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  57332. +
  57333. +
  57334. +# _LT_CONFIG_COMMANDS
  57335. +# -------------------
  57336. +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
  57337. +# variables for single and double quote escaping we saved from calls
  57338. +# to _LT_DECL, we can put quote escaped variables declarations
  57339. +# into `config.status', and then the shell code to quote escape them in
  57340. +# for loops in `config.status'. Finally, any additional code accumulated
  57341. +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  57342. +m4_defun([_LT_CONFIG_COMMANDS],
  57343. +[AC_PROVIDE_IFELSE([LT_OUTPUT],
  57344. + dnl If the libtool generation code has been placed in $CONFIG_LT,
  57345. + dnl instead of duplicating it all over again into config.status,
  57346. + dnl then we will have config.status run $CONFIG_LT later, so it
  57347. + dnl needs to know what name is stored there:
  57348. + [AC_CONFIG_COMMANDS([libtool],
  57349. + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  57350. + dnl If the libtool generation code is destined for config.status,
  57351. + dnl expand the accumulated commands and init code now:
  57352. + [AC_CONFIG_COMMANDS([libtool],
  57353. + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  57354. +])#_LT_CONFIG_COMMANDS
  57355. +
  57356. +
  57357. +# Initialize.
  57358. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  57359. +[
  57360. +
  57361. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  57362. +# if CDPATH is set.
  57363. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  57364. +
  57365. +sed_quote_subst='$sed_quote_subst'
  57366. +double_quote_subst='$double_quote_subst'
  57367. +delay_variable_subst='$delay_variable_subst'
  57368. +_LT_CONFIG_STATUS_DECLARATIONS
  57369. +LTCC='$LTCC'
  57370. +LTCFLAGS='$LTCFLAGS'
  57371. +compiler='$compiler_DEFAULT'
  57372. +
  57373. +# Quote evaled strings.
  57374. +for var in lt_decl_all_varnames([[ \
  57375. +]], lt_decl_quote_varnames); do
  57376. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  57377. + *[[\\\\\\\`\\"\\\$]]*)
  57378. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  57379. + ;;
  57380. + *)
  57381. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  57382. + ;;
  57383. + esac
  57384. +done
  57385. +
  57386. +# Double-quote double-evaled strings.
  57387. +for var in lt_decl_all_varnames([[ \
  57388. +]], lt_decl_dquote_varnames); do
  57389. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  57390. + *[[\\\\\\\`\\"\\\$]]*)
  57391. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  57392. + ;;
  57393. + *)
  57394. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  57395. + ;;
  57396. + esac
  57397. +done
  57398. +
  57399. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  57400. +case \$lt_ECHO in
  57401. +*'\\\[$]0 --fallback-echo"')dnl "
  57402. + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  57403. + ;;
  57404. +esac
  57405. +
  57406. +_LT_OUTPUT_LIBTOOL_INIT
  57407. +])
  57408. +
  57409. +
  57410. +# LT_OUTPUT
  57411. +# ---------
  57412. +# This macro allows early generation of the libtool script (before
  57413. +# AC_OUTPUT is called), incase it is used in configure for compilation
  57414. +# tests.
  57415. +AC_DEFUN([LT_OUTPUT],
  57416. +[: ${CONFIG_LT=./config.lt}
  57417. +AC_MSG_NOTICE([creating $CONFIG_LT])
  57418. +cat >"$CONFIG_LT" <<_LTEOF
  57419. +#! $SHELL
  57420. +# Generated by $as_me.
  57421. +# Run this file to recreate a libtool stub with the current configuration.
  57422. +
  57423. +lt_cl_silent=false
  57424. +SHELL=\${CONFIG_SHELL-$SHELL}
  57425. +_LTEOF
  57426. +
  57427. +cat >>"$CONFIG_LT" <<\_LTEOF
  57428. +AS_SHELL_SANITIZE
  57429. +_AS_PREPARE
  57430. +
  57431. +exec AS_MESSAGE_FD>&1
  57432. +exec AS_MESSAGE_LOG_FD>>config.log
  57433. +{
  57434. + echo
  57435. + AS_BOX([Running $as_me.])
  57436. +} >&AS_MESSAGE_LOG_FD
  57437. +
  57438. +lt_cl_help="\
  57439. +\`$as_me' creates a local libtool stub from the current configuration,
  57440. +for use in further configure time tests before the real libtool is
  57441. +generated.
  57442. +
  57443. +Usage: $[0] [[OPTIONS]]
  57444. +
  57445. + -h, --help print this help, then exit
  57446. + -V, --version print version number, then exit
  57447. + -q, --quiet do not print progress messages
  57448. + -d, --debug don't remove temporary files
  57449. +
  57450. +Report bugs to <bug-libtool@gnu.org>."
  57451. +
  57452. +lt_cl_version="\
  57453. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  57454. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  57455. +configured by $[0], generated by m4_PACKAGE_STRING.
  57456. +
  57457. +Copyright (C) 2008 Free Software Foundation, Inc.
  57458. +This config.lt script is free software; the Free Software Foundation
  57459. +gives unlimited permision to copy, distribute and modify it."
  57460. +
  57461. +while test $[#] != 0
  57462. +do
  57463. + case $[1] in
  57464. + --version | --v* | -V )
  57465. + echo "$lt_cl_version"; exit 0 ;;
  57466. + --help | --h* | -h )
  57467. + echo "$lt_cl_help"; exit 0 ;;
  57468. + --debug | --d* | -d )
  57469. + debug=: ;;
  57470. + --quiet | --q* | --silent | --s* | -q )
  57471. + lt_cl_silent=: ;;
  57472. +
  57473. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  57474. +Try \`$[0] --help' for more information.]) ;;
  57475. +
  57476. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  57477. +Try \`$[0] --help' for more information.]) ;;
  57478. + esac
  57479. + shift
  57480. +done
  57481. +
  57482. +if $lt_cl_silent; then
  57483. + exec AS_MESSAGE_FD>/dev/null
  57484. +fi
  57485. +_LTEOF
  57486. +
  57487. +cat >>"$CONFIG_LT" <<_LTEOF
  57488. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  57489. +_LTEOF
  57490. +
  57491. +cat >>"$CONFIG_LT" <<\_LTEOF
  57492. +AC_MSG_NOTICE([creating $ofile])
  57493. +_LT_OUTPUT_LIBTOOL_COMMANDS
  57494. +AS_EXIT(0)
  57495. +_LTEOF
  57496. +chmod +x "$CONFIG_LT"
  57497. +
  57498. +# configure is writing to config.log, but config.lt does its own redirection,
  57499. +# appending to config.log, which fails on DOS, as config.log is still kept
  57500. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  57501. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  57502. +if test "$no_create" != yes; then
  57503. + lt_cl_success=:
  57504. + test "$silent" = yes &&
  57505. + lt_config_lt_args="$lt_config_lt_args --quiet"
  57506. + exec AS_MESSAGE_LOG_FD>/dev/null
  57507. + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  57508. + exec AS_MESSAGE_LOG_FD>>config.log
  57509. + $lt_cl_success || AS_EXIT(1)
  57510. +fi
  57511. +])# LT_OUTPUT
  57512. +
  57513. +
  57514. +# _LT_CONFIG(TAG)
  57515. +# ---------------
  57516. +# If TAG is the built-in tag, create an initial libtool script with a
  57517. +# default configuration from the untagged config vars. Otherwise add code
  57518. +# to config.status for appending the configuration named by TAG from the
  57519. +# matching tagged config vars.
  57520. +m4_defun([_LT_CONFIG],
  57521. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  57522. +_LT_CONFIG_SAVE_COMMANDS([
  57523. + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  57524. + m4_if(_LT_TAG, [C], [
  57525. + # See if we are running on zsh, and set the options which allow our
  57526. + # commands through without removal of \ escapes.
  57527. + if test -n "${ZSH_VERSION+set}" ; then
  57528. + setopt NO_GLOB_SUBST
  57529. + fi
  57530. +
  57531. + cfgfile="${ofile}T"
  57532. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  57533. + $RM "$cfgfile"
  57534. +
  57535. + cat <<_LT_EOF >> "$cfgfile"
  57536. +#! $SHELL
  57537. +
  57538. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  57539. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  57540. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  57541. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  57542. +#
  57543. +_LT_COPYING
  57544. +_LT_LIBTOOL_TAGS
  57545. +
  57546. +# ### BEGIN LIBTOOL CONFIG
  57547. +_LT_LIBTOOL_CONFIG_VARS
  57548. +_LT_LIBTOOL_TAG_VARS
  57549. +# ### END LIBTOOL CONFIG
  57550. +
  57551. +_LT_EOF
  57552. +
  57553. + case $host_os in
  57554. + aix3*)
  57555. + cat <<\_LT_EOF >> "$cfgfile"
  57556. +# AIX sometimes has problems with the GCC collect2 program. For some
  57557. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  57558. +# vanish in a puff of smoke.
  57559. +if test "X${COLLECT_NAMES+set}" != Xset; then
  57560. + COLLECT_NAMES=
  57561. + export COLLECT_NAMES
  57562. +fi
  57563. +_LT_EOF
  57564. + ;;
  57565. + esac
  57566. +
  57567. + _LT_PROG_LTMAIN
  57568. +
  57569. + # We use sed instead of cat because bash on DJGPP gets confused if
  57570. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  57571. + # text mode, it properly converts lines to CR/LF. This bash problem
  57572. + # is reportedly fixed, but why not run on old versions too?
  57573. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  57574. + || (rm -f "$cfgfile"; exit 1)
  57575. +
  57576. + _LT_PROG_XSI_SHELLFNS
  57577. +
  57578. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  57579. + || (rm -f "$cfgfile"; exit 1)
  57580. +
  57581. + mv -f "$cfgfile" "$ofile" ||
  57582. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  57583. + chmod +x "$ofile"
  57584. +],
  57585. +[cat <<_LT_EOF >> "$ofile"
  57586. +
  57587. +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  57588. +dnl in a comment (ie after a #).
  57589. +# ### BEGIN LIBTOOL TAG CONFIG: $1
  57590. +_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  57591. +# ### END LIBTOOL TAG CONFIG: $1
  57592. +_LT_EOF
  57593. +])dnl /m4_if
  57594. +],
  57595. +[m4_if([$1], [], [
  57596. + PACKAGE='$PACKAGE'
  57597. + VERSION='$VERSION'
  57598. + TIMESTAMP='$TIMESTAMP'
  57599. + RM='$RM'
  57600. + ofile='$ofile'], [])
  57601. +])dnl /_LT_CONFIG_SAVE_COMMANDS
  57602. +])# _LT_CONFIG
  57603. +
  57604. +
  57605. +# LT_SUPPORTED_TAG(TAG)
  57606. +# ---------------------
  57607. +# Trace this macro to discover what tags are supported by the libtool
  57608. +# --tag option, using:
  57609. +# autoconf --trace 'LT_SUPPORTED_TAG:$1'
  57610. +AC_DEFUN([LT_SUPPORTED_TAG], [])
  57611. +
  57612. +
  57613. +# C support is built-in for now
  57614. +m4_define([_LT_LANG_C_enabled], [])
  57615. +m4_define([_LT_TAGS], [])
  57616. +
  57617. +
  57618. +# LT_LANG(LANG)
  57619. +# -------------
  57620. +# Enable libtool support for the given language if not already enabled.
  57621. +AC_DEFUN([LT_LANG],
  57622. +[AC_BEFORE([$0], [LT_OUTPUT])dnl
  57623. +m4_case([$1],
  57624. + [C], [_LT_LANG(C)],
  57625. + [C++], [_LT_LANG(CXX)],
  57626. + [Java], [_LT_LANG(GCJ)],
  57627. + [Fortran 77], [_LT_LANG(F77)],
  57628. + [Fortran], [_LT_LANG(FC)],
  57629. + [Windows Resource], [_LT_LANG(RC)],
  57630. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  57631. + [_LT_LANG($1)],
  57632. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  57633. +])# LT_LANG
  57634. +
  57635. +
  57636. +# _LT_LANG(LANGNAME)
  57637. +# ------------------
  57638. +m4_defun([_LT_LANG],
  57639. +[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  57640. + [LT_SUPPORTED_TAG([$1])dnl
  57641. + m4_append([_LT_TAGS], [$1 ])dnl
  57642. + m4_define([_LT_LANG_]$1[_enabled], [])dnl
  57643. + _LT_LANG_$1_CONFIG($1)])dnl
  57644. +])# _LT_LANG
  57645. +
  57646. +
  57647. +# _LT_LANG_DEFAULT_CONFIG
  57648. +# -----------------------
  57649. +m4_defun([_LT_LANG_DEFAULT_CONFIG],
  57650. +[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  57651. + [LT_LANG(CXX)],
  57652. + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  57653. +
  57654. +AC_PROVIDE_IFELSE([AC_PROG_F77],
  57655. + [LT_LANG(F77)],
  57656. + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  57657. +
  57658. +AC_PROVIDE_IFELSE([AC_PROG_FC],
  57659. + [LT_LANG(FC)],
  57660. + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  57661. +
  57662. +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  57663. +dnl pulling things in needlessly.
  57664. +AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  57665. + [LT_LANG(GCJ)],
  57666. + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  57667. + [LT_LANG(GCJ)],
  57668. + [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  57669. + [LT_LANG(GCJ)],
  57670. + [m4_ifdef([AC_PROG_GCJ],
  57671. + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  57672. + m4_ifdef([A][M_PROG_GCJ],
  57673. + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  57674. + m4_ifdef([LT_PROG_GCJ],
  57675. + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  57676. +
  57677. +AC_PROVIDE_IFELSE([LT_PROG_RC],
  57678. + [LT_LANG(RC)],
  57679. + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  57680. +])# _LT_LANG_DEFAULT_CONFIG
  57681. +
  57682. +# Obsolete macros:
  57683. +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  57684. +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  57685. +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  57686. +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  57687. +dnl aclocal-1.4 backwards compatibility:
  57688. +dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  57689. +dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  57690. +dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  57691. +dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  57692. +
  57693. +
  57694. +# _LT_TAG_COMPILER
  57695. +# ----------------
  57696. +m4_defun([_LT_TAG_COMPILER],
  57697. +[AC_REQUIRE([AC_PROG_CC])dnl
  57698. +
  57699. +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  57700. +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  57701. +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  57702. +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  57703. +
  57704. +# If no C compiler was specified, use CC.
  57705. +LTCC=${LTCC-"$CC"}
  57706. +
  57707. +# If no C compiler flags were specified, use CFLAGS.
  57708. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  57709. +
  57710. +# Allow CC to be a program name with arguments.
  57711. +compiler=$CC
  57712. +])# _LT_TAG_COMPILER
  57713. +
  57714. +
  57715. +# _LT_COMPILER_BOILERPLATE
  57716. +# ------------------------
  57717. +# Check for compiler boilerplate output or warnings with
  57718. +# the simple compiler test code.
  57719. +m4_defun([_LT_COMPILER_BOILERPLATE],
  57720. +[m4_require([_LT_DECL_SED])dnl
  57721. +ac_outfile=conftest.$ac_objext
  57722. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  57723. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  57724. +_lt_compiler_boilerplate=`cat conftest.err`
  57725. +$RM conftest*
  57726. +])# _LT_COMPILER_BOILERPLATE
  57727. +
  57728. +
  57729. +# _LT_LINKER_BOILERPLATE
  57730. +# ----------------------
  57731. +# Check for linker boilerplate output or warnings with
  57732. +# the simple link test code.
  57733. +m4_defun([_LT_LINKER_BOILERPLATE],
  57734. +[m4_require([_LT_DECL_SED])dnl
  57735. +ac_outfile=conftest.$ac_objext
  57736. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  57737. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  57738. +_lt_linker_boilerplate=`cat conftest.err`
  57739. +$RM -r conftest*
  57740. +])# _LT_LINKER_BOILERPLATE
  57741. +
  57742. +# _LT_REQUIRED_DARWIN_CHECKS
  57743. +# -------------------------
  57744. +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  57745. + case $host_os in
  57746. + rhapsody* | darwin*)
  57747. + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  57748. + AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  57749. + AC_CHECK_TOOL([LIPO], [lipo], [:])
  57750. + AC_CHECK_TOOL([OTOOL], [otool], [:])
  57751. + AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  57752. + _LT_DECL([], [DSYMUTIL], [1],
  57753. + [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  57754. + _LT_DECL([], [NMEDIT], [1],
  57755. + [Tool to change global to local symbols on Mac OS X])
  57756. + _LT_DECL([], [LIPO], [1],
  57757. + [Tool to manipulate fat objects and archives on Mac OS X])
  57758. + _LT_DECL([], [OTOOL], [1],
  57759. + [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  57760. + _LT_DECL([], [OTOOL64], [1],
  57761. + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  57762. +
  57763. + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  57764. + [lt_cv_apple_cc_single_mod=no
  57765. + if test -z "${LT_MULTI_MODULE}"; then
  57766. + # By default we will add the -single_module flag. You can override
  57767. + # by either setting the environment variable LT_MULTI_MODULE
  57768. + # non-empty at configure time, or by adding -multi_module to the
  57769. + # link flags.
  57770. + rm -rf libconftest.dylib*
  57771. + echo "int foo(void){return 1;}" > conftest.c
  57772. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  57773. +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  57774. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  57775. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  57776. + _lt_result=$?
  57777. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  57778. + lt_cv_apple_cc_single_mod=yes
  57779. + else
  57780. + cat conftest.err >&AS_MESSAGE_LOG_FD
  57781. + fi
  57782. + rm -rf libconftest.dylib*
  57783. + rm -f conftest.*
  57784. + fi])
  57785. + AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  57786. + [lt_cv_ld_exported_symbols_list],
  57787. + [lt_cv_ld_exported_symbols_list=no
  57788. + save_LDFLAGS=$LDFLAGS
  57789. + echo "_main" > conftest.sym
  57790. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  57791. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  57792. + [lt_cv_ld_exported_symbols_list=yes],
  57793. + [lt_cv_ld_exported_symbols_list=no])
  57794. + LDFLAGS="$save_LDFLAGS"
  57795. + ])
  57796. + case $host_os in
  57797. + rhapsody* | darwin1.[[012]])
  57798. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  57799. + darwin1.*)
  57800. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  57801. + darwin*) # darwin 5.x on
  57802. + # if running on 10.5 or later, the deployment target defaults
  57803. + # to the OS version, if on x86, and 10.4, the deployment
  57804. + # target defaults to 10.4. Don't you love it?
  57805. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  57806. + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  57807. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  57808. + 10.[[012]]*)
  57809. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  57810. + 10.*)
  57811. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  57812. + esac
  57813. + ;;
  57814. + esac
  57815. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  57816. + _lt_dar_single_mod='$single_module'
  57817. + fi
  57818. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  57819. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  57820. + else
  57821. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  57822. + fi
  57823. + if test "$DSYMUTIL" != ":"; then
  57824. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  57825. + else
  57826. + _lt_dsymutil=
  57827. + fi
  57828. + ;;
  57829. + esac
  57830. +])
  57831. +
  57832. +
  57833. +# _LT_DARWIN_LINKER_FEATURES
  57834. +# --------------------------
  57835. +# Checks for linker and compiler features on darwin
  57836. +m4_defun([_LT_DARWIN_LINKER_FEATURES],
  57837. +[
  57838. + m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  57839. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  57840. + _LT_TAGVAR(hardcode_direct, $1)=no
  57841. + _LT_TAGVAR(hardcode_automatic, $1)=yes
  57842. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  57843. + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  57844. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  57845. + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  57846. + case $cc_basename in
  57847. + ifort*) _lt_dar_can_shared=yes ;;
  57848. + *) _lt_dar_can_shared=$GCC ;;
  57849. + esac
  57850. + if test "$_lt_dar_can_shared" = "yes"; then
  57851. + output_verbose_link_cmd=echo
  57852. + _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}"
  57853. + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  57854. + _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}"
  57855. + _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}"
  57856. + m4_if([$1], [CXX],
  57857. +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  57858. + _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}"
  57859. + _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}"
  57860. + fi
  57861. +],[])
  57862. + else
  57863. + _LT_TAGVAR(ld_shlibs, $1)=no
  57864. + fi
  57865. +])
  57866. +
  57867. +# _LT_SYS_MODULE_PATH_AIX
  57868. +# -----------------------
  57869. +# Links a minimal program and checks the executable
  57870. +# for the system default hardcoded library path. In most cases,
  57871. +# this is /usr/lib:/lib, but when the MPI compilers are used
  57872. +# the location of the communication and MPI libs are included too.
  57873. +# If we don't find anything, use the default library path according
  57874. +# to the aix ld manual.
  57875. +m4_defun([_LT_SYS_MODULE_PATH_AIX],
  57876. +[m4_require([_LT_DECL_SED])dnl
  57877. +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  57878. +lt_aix_libpath_sed='
  57879. + /Import File Strings/,/^$/ {
  57880. + /^0/ {
  57881. + s/^0 *\(.*\)$/\1/
  57882. + p
  57883. + }
  57884. + }'
  57885. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  57886. +# Check for a 64-bit object if we didn't find anything.
  57887. +if test -z "$aix_libpath"; then
  57888. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  57889. +fi],[])
  57890. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  57891. +])# _LT_SYS_MODULE_PATH_AIX
  57892. +
  57893. +
  57894. +# _LT_SHELL_INIT(ARG)
  57895. +# -------------------
  57896. +m4_define([_LT_SHELL_INIT],
  57897. +[ifdef([AC_DIVERSION_NOTICE],
  57898. + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  57899. + [AC_DIVERT_PUSH(NOTICE)])
  57900. +$1
  57901. +AC_DIVERT_POP
  57902. +])# _LT_SHELL_INIT
  57903. +
  57904. +
  57905. +# _LT_PROG_ECHO_BACKSLASH
  57906. +# -----------------------
  57907. +# Add some code to the start of the generated configure script which
  57908. +# will find an echo command which doesn't interpret backslashes.
  57909. +m4_defun([_LT_PROG_ECHO_BACKSLASH],
  57910. +[_LT_SHELL_INIT([
  57911. +# Check that we are running under the correct shell.
  57912. +SHELL=${CONFIG_SHELL-/bin/sh}
  57913. +
  57914. +case X$lt_ECHO in
  57915. +X*--fallback-echo)
  57916. + # Remove one level of quotation (which was required for Make).
  57917. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  57918. + ;;
  57919. +esac
  57920. +
  57921. +ECHO=${lt_ECHO-echo}
  57922. +if test "X[$]1" = X--no-reexec; then
  57923. + # Discard the --no-reexec flag, and continue.
  57924. + shift
  57925. +elif test "X[$]1" = X--fallback-echo; then
  57926. + # Avoid inline document here, it may be left over
  57927. + :
  57928. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  57929. + # Yippee, $ECHO works!
  57930. + :
  57931. +else
  57932. + # Restart under the correct shell.
  57933. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  57934. +fi
  57935. +
  57936. +if test "X[$]1" = X--fallback-echo; then
  57937. + # used as fallback echo
  57938. + shift
  57939. + cat <<_LT_EOF
  57940. +[$]*
  57941. +_LT_EOF
  57942. + exit 0
  57943. +fi
  57944. +
  57945. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  57946. +# if CDPATH is set.
  57947. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  57948. +
  57949. +if test -z "$lt_ECHO"; then
  57950. + if test "X${echo_test_string+set}" != Xset; then
  57951. + # find a string as large as possible, as long as the shell can cope with it
  57952. + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  57953. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  57954. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  57955. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  57956. + then
  57957. + break
  57958. + fi
  57959. + done
  57960. + fi
  57961. +
  57962. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  57963. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  57964. + test "X$echo_testing_string" = "X$echo_test_string"; then
  57965. + :
  57966. + else
  57967. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  57968. + # backslashes. This makes it impossible to quote backslashes using
  57969. + # echo "$something" | sed 's/\\/\\\\/g'
  57970. + #
  57971. + # So, first we look for a working echo in the user's PATH.
  57972. +
  57973. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  57974. + for dir in $PATH /usr/ucb; do
  57975. + IFS="$lt_save_ifs"
  57976. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  57977. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  57978. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  57979. + test "X$echo_testing_string" = "X$echo_test_string"; then
  57980. + ECHO="$dir/echo"
  57981. + break
  57982. + fi
  57983. + done
  57984. + IFS="$lt_save_ifs"
  57985. +
  57986. + if test "X$ECHO" = Xecho; then
  57987. + # We didn't find a better echo, so look for alternatives.
  57988. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  57989. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  57990. + test "X$echo_testing_string" = "X$echo_test_string"; then
  57991. + # This shell has a builtin print -r that does the trick.
  57992. + ECHO='print -r'
  57993. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  57994. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  57995. + # If we have ksh, try running configure again with it.
  57996. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  57997. + export ORIGINAL_CONFIG_SHELL
  57998. + CONFIG_SHELL=/bin/ksh
  57999. + export CONFIG_SHELL
  58000. + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  58001. + else
  58002. + # Try using printf.
  58003. + ECHO='printf %s\n'
  58004. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  58005. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  58006. + test "X$echo_testing_string" = "X$echo_test_string"; then
  58007. + # Cool, printf works
  58008. + :
  58009. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  58010. + test "X$echo_testing_string" = 'X\t' &&
  58011. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  58012. + test "X$echo_testing_string" = "X$echo_test_string"; then
  58013. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  58014. + export CONFIG_SHELL
  58015. + SHELL="$CONFIG_SHELL"
  58016. + export SHELL
  58017. + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  58018. + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  58019. + test "X$echo_testing_string" = 'X\t' &&
  58020. + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  58021. + test "X$echo_testing_string" = "X$echo_test_string"; then
  58022. + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  58023. + else
  58024. + # maybe with a smaller string...
  58025. + prev=:
  58026. +
  58027. + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  58028. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  58029. + then
  58030. + break
  58031. + fi
  58032. + prev="$cmd"
  58033. + done
  58034. +
  58035. + if test "$prev" != 'sed 50q "[$]0"'; then
  58036. + echo_test_string=`eval $prev`
  58037. + export echo_test_string
  58038. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  58039. + else
  58040. + # Oops. We lost completely, so just stick with echo.
  58041. + ECHO=echo
  58042. + fi
  58043. + fi
  58044. + fi
  58045. + fi
  58046. + fi
  58047. +fi
  58048. +
  58049. +# Copy echo and quote the copy suitably for passing to libtool from
  58050. +# the Makefile, instead of quoting the original, which is used later.
  58051. +lt_ECHO=$ECHO
  58052. +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  58053. + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  58054. +fi
  58055. +
  58056. +AC_SUBST(lt_ECHO)
  58057. +])
  58058. +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  58059. +_LT_DECL([], [ECHO], [1],
  58060. + [An echo program that does not interpret backslashes])
  58061. +])# _LT_PROG_ECHO_BACKSLASH
  58062. +
  58063. +
  58064. +# _LT_ENABLE_LOCK
  58065. +# ---------------
  58066. +m4_defun([_LT_ENABLE_LOCK],
  58067. +[AC_ARG_ENABLE([libtool-lock],
  58068. + [AS_HELP_STRING([--disable-libtool-lock],
  58069. + [avoid locking (might break parallel builds)])])
  58070. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  58071. +
  58072. +# Some flags need to be propagated to the compiler or linker for good
  58073. +# libtool support.
  58074. +case $host in
  58075. +ia64-*-hpux*)
  58076. + # Find out which ABI we are using.
  58077. + echo 'int i;' > conftest.$ac_ext
  58078. + if AC_TRY_EVAL(ac_compile); then
  58079. + case `/usr/bin/file conftest.$ac_objext` in
  58080. + *ELF-32*)
  58081. + HPUX_IA64_MODE="32"
  58082. + ;;
  58083. + *ELF-64*)
  58084. + HPUX_IA64_MODE="64"
  58085. + ;;
  58086. + esac
  58087. + fi
  58088. + rm -rf conftest*
  58089. + ;;
  58090. +*-*-irix6*)
  58091. + # Find out which ABI we are using.
  58092. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  58093. + if AC_TRY_EVAL(ac_compile); then
  58094. + if test "$lt_cv_prog_gnu_ld" = yes; then
  58095. + case `/usr/bin/file conftest.$ac_objext` in
  58096. + *32-bit*)
  58097. + LD="${LD-ld} -melf32bsmip"
  58098. + ;;
  58099. + *N32*)
  58100. + LD="${LD-ld} -melf32bmipn32"
  58101. + ;;
  58102. + *64-bit*)
  58103. + LD="${LD-ld} -melf64bmip"
  58104. + ;;
  58105. + esac
  58106. + else
  58107. + case `/usr/bin/file conftest.$ac_objext` in
  58108. + *32-bit*)
  58109. + LD="${LD-ld} -32"
  58110. + ;;
  58111. + *N32*)
  58112. + LD="${LD-ld} -n32"
  58113. + ;;
  58114. + *64-bit*)
  58115. + LD="${LD-ld} -64"
  58116. + ;;
  58117. + esac
  58118. + fi
  58119. + fi
  58120. + rm -rf conftest*
  58121. + ;;
  58122. +
  58123. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  58124. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  58125. + # Find out which ABI we are using.
  58126. + echo 'int i;' > conftest.$ac_ext
  58127. + if AC_TRY_EVAL(ac_compile); then
  58128. + case `/usr/bin/file conftest.o` in
  58129. + *32-bit*)
  58130. + case $host in
  58131. + x86_64-*kfreebsd*-gnu)
  58132. + LD="${LD-ld} -m elf_i386_fbsd"
  58133. + ;;
  58134. + x86_64-*linux*)
  58135. + LD="${LD-ld} -m elf_i386"
  58136. + ;;
  58137. + ppc64-*linux*|powerpc64-*linux*)
  58138. + LD="${LD-ld} -m elf32ppclinux"
  58139. + ;;
  58140. + s390x-*linux*)
  58141. + LD="${LD-ld} -m elf_s390"
  58142. + ;;
  58143. + sparc64-*linux*)
  58144. + LD="${LD-ld} -m elf32_sparc"
  58145. + ;;
  58146. + esac
  58147. + ;;
  58148. + *64-bit*)
  58149. + case $host in
  58150. + x86_64-*kfreebsd*-gnu)
  58151. + LD="${LD-ld} -m elf_x86_64_fbsd"
  58152. + ;;
  58153. + x86_64-*linux*)
  58154. + LD="${LD-ld} -m elf_x86_64"
  58155. + ;;
  58156. + ppc*-*linux*|powerpc*-*linux*)
  58157. + LD="${LD-ld} -m elf64ppc"
  58158. + ;;
  58159. + s390*-*linux*|s390*-*tpf*)
  58160. + LD="${LD-ld} -m elf64_s390"
  58161. + ;;
  58162. + sparc*-*linux*)
  58163. + LD="${LD-ld} -m elf64_sparc"
  58164. + ;;
  58165. + esac
  58166. + ;;
  58167. + esac
  58168. + fi
  58169. + rm -rf conftest*
  58170. + ;;
  58171. +
  58172. +*-*-sco3.2v5*)
  58173. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  58174. + SAVE_CFLAGS="$CFLAGS"
  58175. + CFLAGS="$CFLAGS -belf"
  58176. + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  58177. + [AC_LANG_PUSH(C)
  58178. + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  58179. + AC_LANG_POP])
  58180. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  58181. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  58182. + CFLAGS="$SAVE_CFLAGS"
  58183. + fi
  58184. + ;;
  58185. +sparc*-*solaris*)
  58186. + # Find out which ABI we are using.
  58187. + echo 'int i;' > conftest.$ac_ext
  58188. + if AC_TRY_EVAL(ac_compile); then
  58189. + case `/usr/bin/file conftest.o` in
  58190. + *64-bit*)
  58191. + case $lt_cv_prog_gnu_ld in
  58192. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  58193. + *)
  58194. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  58195. + LD="${LD-ld} -64"
  58196. + fi
  58197. + ;;
  58198. + esac
  58199. + ;;
  58200. + esac
  58201. + fi
  58202. + rm -rf conftest*
  58203. + ;;
  58204. +esac
  58205. +
  58206. +need_locks="$enable_libtool_lock"
  58207. +])# _LT_ENABLE_LOCK
  58208. +
  58209. +
  58210. +# _LT_CMD_OLD_ARCHIVE
  58211. +# -------------------
  58212. +m4_defun([_LT_CMD_OLD_ARCHIVE],
  58213. +[AC_CHECK_TOOL(AR, ar, false)
  58214. +test -z "$AR" && AR=ar
  58215. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  58216. +_LT_DECL([], [AR], [1], [The archiver])
  58217. +_LT_DECL([], [AR_FLAGS], [1])
  58218. +
  58219. +AC_CHECK_TOOL(STRIP, strip, :)
  58220. +test -z "$STRIP" && STRIP=:
  58221. +_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  58222. +
  58223. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  58224. +test -z "$RANLIB" && RANLIB=:
  58225. +_LT_DECL([], [RANLIB], [1],
  58226. + [Commands used to install an old-style archive])
  58227. +
  58228. +# Determine commands to create old-style static archives.
  58229. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  58230. +old_postinstall_cmds='chmod 644 $oldlib'
  58231. +old_postuninstall_cmds=
  58232. +
  58233. +if test -n "$RANLIB"; then
  58234. + case $host_os in
  58235. + openbsd*)
  58236. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  58237. + ;;
  58238. + *)
  58239. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  58240. + ;;
  58241. + esac
  58242. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  58243. +fi
  58244. +_LT_DECL([], [old_postinstall_cmds], [2])
  58245. +_LT_DECL([], [old_postuninstall_cmds], [2])
  58246. +_LT_TAGDECL([], [old_archive_cmds], [2],
  58247. + [Commands used to build an old-style archive])
  58248. +])# _LT_CMD_OLD_ARCHIVE
  58249. +
  58250. +
  58251. +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  58252. +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  58253. +# ----------------------------------------------------------------
  58254. +# Check whether the given compiler option works
  58255. +AC_DEFUN([_LT_COMPILER_OPTION],
  58256. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58257. +m4_require([_LT_DECL_SED])dnl
  58258. +AC_CACHE_CHECK([$1], [$2],
  58259. + [$2=no
  58260. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  58261. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  58262. + lt_compiler_flag="$3"
  58263. + # Insert the option either (1) after the last *FLAGS variable, or
  58264. + # (2) before a word containing "conftest.", or (3) at the end.
  58265. + # Note that $ac_compile itself does not contain backslashes and begins
  58266. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  58267. + # The option is referenced via a variable to avoid confusing sed.
  58268. + lt_compile=`echo "$ac_compile" | $SED \
  58269. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  58270. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  58271. + -e 's:$: $lt_compiler_flag:'`
  58272. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  58273. + (eval "$lt_compile" 2>conftest.err)
  58274. + ac_status=$?
  58275. + cat conftest.err >&AS_MESSAGE_LOG_FD
  58276. + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  58277. + if (exit $ac_status) && test -s "$ac_outfile"; then
  58278. + # The compiler can only warn and ignore the option if not recognized
  58279. + # So say no if there are warnings other than the usual output.
  58280. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  58281. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  58282. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  58283. + $2=yes
  58284. + fi
  58285. + fi
  58286. + $RM conftest*
  58287. +])
  58288. +
  58289. +if test x"[$]$2" = xyes; then
  58290. + m4_if([$5], , :, [$5])
  58291. +else
  58292. + m4_if([$6], , :, [$6])
  58293. +fi
  58294. +])# _LT_COMPILER_OPTION
  58295. +
  58296. +# Old name:
  58297. +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  58298. +dnl aclocal-1.4 backwards compatibility:
  58299. +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  58300. +
  58301. +
  58302. +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  58303. +# [ACTION-SUCCESS], [ACTION-FAILURE])
  58304. +# ----------------------------------------------------
  58305. +# Check whether the given linker option works
  58306. +AC_DEFUN([_LT_LINKER_OPTION],
  58307. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58308. +m4_require([_LT_DECL_SED])dnl
  58309. +AC_CACHE_CHECK([$1], [$2],
  58310. + [$2=no
  58311. + save_LDFLAGS="$LDFLAGS"
  58312. + LDFLAGS="$LDFLAGS $3"
  58313. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  58314. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  58315. + # The linker can only warn and ignore the option if not recognized
  58316. + # So say no if there are warnings
  58317. + if test -s conftest.err; then
  58318. + # Append any errors to the config.log.
  58319. + cat conftest.err 1>&AS_MESSAGE_LOG_FD
  58320. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  58321. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  58322. + if diff conftest.exp conftest.er2 >/dev/null; then
  58323. + $2=yes
  58324. + fi
  58325. + else
  58326. + $2=yes
  58327. + fi
  58328. + fi
  58329. + $RM -r conftest*
  58330. + LDFLAGS="$save_LDFLAGS"
  58331. +])
  58332. +
  58333. +if test x"[$]$2" = xyes; then
  58334. + m4_if([$4], , :, [$4])
  58335. +else
  58336. + m4_if([$5], , :, [$5])
  58337. +fi
  58338. +])# _LT_LINKER_OPTION
  58339. +
  58340. +# Old name:
  58341. +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  58342. +dnl aclocal-1.4 backwards compatibility:
  58343. +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  58344. +
  58345. +
  58346. +# LT_CMD_MAX_LEN
  58347. +#---------------
  58348. +AC_DEFUN([LT_CMD_MAX_LEN],
  58349. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58350. +# find the maximum length of command line arguments
  58351. +AC_MSG_CHECKING([the maximum length of command line arguments])
  58352. +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  58353. + i=0
  58354. + teststring="ABCD"
  58355. +
  58356. + case $build_os in
  58357. + msdosdjgpp*)
  58358. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  58359. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  58360. + # during glob expansion). Even if it were fixed, the result of this
  58361. + # check would be larger than it should be.
  58362. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  58363. + ;;
  58364. +
  58365. + gnu*)
  58366. + # Under GNU Hurd, this test is not required because there is
  58367. + # no limit to the length of command line arguments.
  58368. + # Libtool will interpret -1 as no limit whatsoever
  58369. + lt_cv_sys_max_cmd_len=-1;
  58370. + ;;
  58371. +
  58372. + cygwin* | mingw* | cegcc*)
  58373. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  58374. + # about 5 minutes as the teststring grows exponentially.
  58375. + # Worse, since 9x/ME are not pre-emptively multitasking,
  58376. + # you end up with a "frozen" computer, even though with patience
  58377. + # the test eventually succeeds (with a max line length of 256k).
  58378. + # Instead, let's just punt: use the minimum linelength reported by
  58379. + # all of the supported platforms: 8192 (on NT/2K/XP).
  58380. + lt_cv_sys_max_cmd_len=8192;
  58381. + ;;
  58382. +
  58383. + amigaos*)
  58384. + # On AmigaOS with pdksh, this test takes hours, literally.
  58385. + # So we just punt and use a minimum line length of 8192.
  58386. + lt_cv_sys_max_cmd_len=8192;
  58387. + ;;
  58388. +
  58389. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  58390. + # This has been around since 386BSD, at least. Likely further.
  58391. + if test -x /sbin/sysctl; then
  58392. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  58393. + elif test -x /usr/sbin/sysctl; then
  58394. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  58395. + else
  58396. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  58397. + fi
  58398. + # And add a safety zone
  58399. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  58400. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  58401. + ;;
  58402. +
  58403. + interix*)
  58404. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  58405. + lt_cv_sys_max_cmd_len=196608
  58406. + ;;
  58407. +
  58408. + osf*)
  58409. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  58410. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  58411. + # nice to cause kernel panics so lets avoid the loop below.
  58412. + # First set a reasonable default.
  58413. + lt_cv_sys_max_cmd_len=16384
  58414. + #
  58415. + if test -x /sbin/sysconfig; then
  58416. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  58417. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  58418. + esac
  58419. + fi
  58420. + ;;
  58421. + sco3.2v5*)
  58422. + lt_cv_sys_max_cmd_len=102400
  58423. + ;;
  58424. + sysv5* | sco5v6* | sysv4.2uw2*)
  58425. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  58426. + if test -n "$kargmax"; then
  58427. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  58428. + else
  58429. + lt_cv_sys_max_cmd_len=32768
  58430. + fi
  58431. + ;;
  58432. + *)
  58433. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  58434. + if test -n "$lt_cv_sys_max_cmd_len"; then
  58435. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  58436. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  58437. + else
  58438. + # Make teststring a little bigger before we do anything with it.
  58439. + # a 1K string should be a reasonable start.
  58440. + for i in 1 2 3 4 5 6 7 8 ; do
  58441. + teststring=$teststring$teststring
  58442. + done
  58443. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  58444. + # If test is not a shell built-in, we'll probably end up computing a
  58445. + # maximum length that is only half of the actual maximum length, but
  58446. + # we can't tell.
  58447. + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  58448. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  58449. + test $i != 17 # 1/2 MB should be enough
  58450. + do
  58451. + i=`expr $i + 1`
  58452. + teststring=$teststring$teststring
  58453. + done
  58454. + # Only check the string length outside the loop.
  58455. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  58456. + teststring=
  58457. + # Add a significant safety factor because C++ compilers can tack on
  58458. + # massive amounts of additional arguments before passing them to the
  58459. + # linker. It appears as though 1/2 is a usable value.
  58460. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  58461. + fi
  58462. + ;;
  58463. + esac
  58464. +])
  58465. +if test -n $lt_cv_sys_max_cmd_len ; then
  58466. + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  58467. +else
  58468. + AC_MSG_RESULT(none)
  58469. +fi
  58470. +max_cmd_len=$lt_cv_sys_max_cmd_len
  58471. +_LT_DECL([], [max_cmd_len], [0],
  58472. + [What is the maximum length of a command?])
  58473. +])# LT_CMD_MAX_LEN
  58474. +
  58475. +# Old name:
  58476. +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  58477. +dnl aclocal-1.4 backwards compatibility:
  58478. +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  58479. +
  58480. +
  58481. +# _LT_HEADER_DLFCN
  58482. +# ----------------
  58483. +m4_defun([_LT_HEADER_DLFCN],
  58484. +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  58485. +])# _LT_HEADER_DLFCN
  58486. +
  58487. +
  58488. +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  58489. +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  58490. +# ----------------------------------------------------------------
  58491. +m4_defun([_LT_TRY_DLOPEN_SELF],
  58492. +[m4_require([_LT_HEADER_DLFCN])dnl
  58493. +if test "$cross_compiling" = yes; then :
  58494. + [$4]
  58495. +else
  58496. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  58497. + lt_status=$lt_dlunknown
  58498. + cat > conftest.$ac_ext <<_LT_EOF
  58499. +[#line __oline__ "configure"
  58500. +#include "confdefs.h"
  58501. +
  58502. +#if HAVE_DLFCN_H
  58503. +#include <dlfcn.h>
  58504. +#endif
  58505. +
  58506. +#include <stdio.h>
  58507. +
  58508. +#ifdef RTLD_GLOBAL
  58509. +# define LT_DLGLOBAL RTLD_GLOBAL
  58510. +#else
  58511. +# ifdef DL_GLOBAL
  58512. +# define LT_DLGLOBAL DL_GLOBAL
  58513. +# else
  58514. +# define LT_DLGLOBAL 0
  58515. +# endif
  58516. +#endif
  58517. +
  58518. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  58519. + find out it does not work in some platform. */
  58520. +#ifndef LT_DLLAZY_OR_NOW
  58521. +# ifdef RTLD_LAZY
  58522. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  58523. +# else
  58524. +# ifdef DL_LAZY
  58525. +# define LT_DLLAZY_OR_NOW DL_LAZY
  58526. +# else
  58527. +# ifdef RTLD_NOW
  58528. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  58529. +# else
  58530. +# ifdef DL_NOW
  58531. +# define LT_DLLAZY_OR_NOW DL_NOW
  58532. +# else
  58533. +# define LT_DLLAZY_OR_NOW 0
  58534. +# endif
  58535. +# endif
  58536. +# endif
  58537. +# endif
  58538. +#endif
  58539. +
  58540. +void fnord() { int i=42;}
  58541. +int main ()
  58542. +{
  58543. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  58544. + int status = $lt_dlunknown;
  58545. +
  58546. + if (self)
  58547. + {
  58548. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  58549. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  58550. + /* dlclose (self); */
  58551. + }
  58552. + else
  58553. + puts (dlerror ());
  58554. +
  58555. + return status;
  58556. +}]
  58557. +_LT_EOF
  58558. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  58559. + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  58560. + lt_status=$?
  58561. + case x$lt_status in
  58562. + x$lt_dlno_uscore) $1 ;;
  58563. + x$lt_dlneed_uscore) $2 ;;
  58564. + x$lt_dlunknown|x*) $3 ;;
  58565. + esac
  58566. + else :
  58567. + # compilation failed
  58568. + $3
  58569. + fi
  58570. +fi
  58571. +rm -fr conftest*
  58572. +])# _LT_TRY_DLOPEN_SELF
  58573. +
  58574. +
  58575. +# LT_SYS_DLOPEN_SELF
  58576. +# ------------------
  58577. +AC_DEFUN([LT_SYS_DLOPEN_SELF],
  58578. +[m4_require([_LT_HEADER_DLFCN])dnl
  58579. +if test "x$enable_dlopen" != xyes; then
  58580. + enable_dlopen=unknown
  58581. + enable_dlopen_self=unknown
  58582. + enable_dlopen_self_static=unknown
  58583. +else
  58584. + lt_cv_dlopen=no
  58585. + lt_cv_dlopen_libs=
  58586. +
  58587. + case $host_os in
  58588. + beos*)
  58589. + lt_cv_dlopen="load_add_on"
  58590. + lt_cv_dlopen_libs=
  58591. + lt_cv_dlopen_self=yes
  58592. + ;;
  58593. +
  58594. + mingw* | pw32* | cegcc*)
  58595. + lt_cv_dlopen="LoadLibrary"
  58596. + lt_cv_dlopen_libs=
  58597. + ;;
  58598. +
  58599. + cygwin*)
  58600. + lt_cv_dlopen="dlopen"
  58601. + lt_cv_dlopen_libs=
  58602. + ;;
  58603. +
  58604. + darwin*)
  58605. + # if libdl is installed we need to link against it
  58606. + AC_CHECK_LIB([dl], [dlopen],
  58607. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  58608. + lt_cv_dlopen="dyld"
  58609. + lt_cv_dlopen_libs=
  58610. + lt_cv_dlopen_self=yes
  58611. + ])
  58612. + ;;
  58613. +
  58614. + *)
  58615. + AC_CHECK_FUNC([shl_load],
  58616. + [lt_cv_dlopen="shl_load"],
  58617. + [AC_CHECK_LIB([dld], [shl_load],
  58618. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  58619. + [AC_CHECK_FUNC([dlopen],
  58620. + [lt_cv_dlopen="dlopen"],
  58621. + [AC_CHECK_LIB([dl], [dlopen],
  58622. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  58623. + [AC_CHECK_LIB([svld], [dlopen],
  58624. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  58625. + [AC_CHECK_LIB([dld], [dld_link],
  58626. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  58627. + ])
  58628. + ])
  58629. + ])
  58630. + ])
  58631. + ])
  58632. + ;;
  58633. + esac
  58634. +
  58635. + if test "x$lt_cv_dlopen" != xno; then
  58636. + enable_dlopen=yes
  58637. + else
  58638. + enable_dlopen=no
  58639. + fi
  58640. +
  58641. + case $lt_cv_dlopen in
  58642. + dlopen)
  58643. + save_CPPFLAGS="$CPPFLAGS"
  58644. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  58645. +
  58646. + save_LDFLAGS="$LDFLAGS"
  58647. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  58648. +
  58649. + save_LIBS="$LIBS"
  58650. + LIBS="$lt_cv_dlopen_libs $LIBS"
  58651. +
  58652. + AC_CACHE_CHECK([whether a program can dlopen itself],
  58653. + lt_cv_dlopen_self, [dnl
  58654. + _LT_TRY_DLOPEN_SELF(
  58655. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  58656. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  58657. + ])
  58658. +
  58659. + if test "x$lt_cv_dlopen_self" = xyes; then
  58660. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  58661. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  58662. + lt_cv_dlopen_self_static, [dnl
  58663. + _LT_TRY_DLOPEN_SELF(
  58664. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  58665. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  58666. + ])
  58667. + fi
  58668. +
  58669. + CPPFLAGS="$save_CPPFLAGS"
  58670. + LDFLAGS="$save_LDFLAGS"
  58671. + LIBS="$save_LIBS"
  58672. + ;;
  58673. + esac
  58674. +
  58675. + case $lt_cv_dlopen_self in
  58676. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  58677. + *) enable_dlopen_self=unknown ;;
  58678. + esac
  58679. +
  58680. + case $lt_cv_dlopen_self_static in
  58681. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  58682. + *) enable_dlopen_self_static=unknown ;;
  58683. + esac
  58684. +fi
  58685. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  58686. + [Whether dlopen is supported])
  58687. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  58688. + [Whether dlopen of programs is supported])
  58689. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  58690. + [Whether dlopen of statically linked programs is supported])
  58691. +])# LT_SYS_DLOPEN_SELF
  58692. +
  58693. +# Old name:
  58694. +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  58695. +dnl aclocal-1.4 backwards compatibility:
  58696. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  58697. +
  58698. +
  58699. +# _LT_COMPILER_C_O([TAGNAME])
  58700. +# ---------------------------
  58701. +# Check to see if options -c and -o are simultaneously supported by compiler.
  58702. +# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  58703. +m4_defun([_LT_COMPILER_C_O],
  58704. +[m4_require([_LT_DECL_SED])dnl
  58705. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58706. +m4_require([_LT_TAG_COMPILER])dnl
  58707. +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  58708. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  58709. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  58710. + $RM -r conftest 2>/dev/null
  58711. + mkdir conftest
  58712. + cd conftest
  58713. + mkdir out
  58714. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  58715. +
  58716. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  58717. + # Insert the option either (1) after the last *FLAGS variable, or
  58718. + # (2) before a word containing "conftest.", or (3) at the end.
  58719. + # Note that $ac_compile itself does not contain backslashes and begins
  58720. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  58721. + lt_compile=`echo "$ac_compile" | $SED \
  58722. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  58723. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  58724. + -e 's:$: $lt_compiler_flag:'`
  58725. + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  58726. + (eval "$lt_compile" 2>out/conftest.err)
  58727. + ac_status=$?
  58728. + cat out/conftest.err >&AS_MESSAGE_LOG_FD
  58729. + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  58730. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  58731. + then
  58732. + # The compiler can only warn and ignore the option if not recognized
  58733. + # So say no if there are warnings
  58734. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  58735. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  58736. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  58737. + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  58738. + fi
  58739. + fi
  58740. + chmod u+w . 2>&AS_MESSAGE_LOG_FD
  58741. + $RM conftest*
  58742. + # SGI C++ compiler will create directory out/ii_files/ for
  58743. + # template instantiation
  58744. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  58745. + $RM out/* && rmdir out
  58746. + cd ..
  58747. + $RM -r conftest
  58748. + $RM conftest*
  58749. +])
  58750. +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  58751. + [Does compiler simultaneously support -c and -o options?])
  58752. +])# _LT_COMPILER_C_O
  58753. +
  58754. +
  58755. +# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  58756. +# ----------------------------------
  58757. +# Check to see if we can do hard links to lock some files if needed
  58758. +m4_defun([_LT_COMPILER_FILE_LOCKS],
  58759. +[m4_require([_LT_ENABLE_LOCK])dnl
  58760. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58761. +_LT_COMPILER_C_O([$1])
  58762. +
  58763. +hard_links="nottested"
  58764. +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  58765. + # do not overwrite the value of need_locks provided by the user
  58766. + AC_MSG_CHECKING([if we can lock with hard links])
  58767. + hard_links=yes
  58768. + $RM conftest*
  58769. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  58770. + touch conftest.a
  58771. + ln conftest.a conftest.b 2>&5 || hard_links=no
  58772. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  58773. + AC_MSG_RESULT([$hard_links])
  58774. + if test "$hard_links" = no; then
  58775. + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  58776. + need_locks=warn
  58777. + fi
  58778. +else
  58779. + need_locks=no
  58780. +fi
  58781. +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  58782. +])# _LT_COMPILER_FILE_LOCKS
  58783. +
  58784. +
  58785. +# _LT_CHECK_OBJDIR
  58786. +# ----------------
  58787. +m4_defun([_LT_CHECK_OBJDIR],
  58788. +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  58789. +[rm -f .libs 2>/dev/null
  58790. +mkdir .libs 2>/dev/null
  58791. +if test -d .libs; then
  58792. + lt_cv_objdir=.libs
  58793. +else
  58794. + # MS-DOS does not allow filenames that begin with a dot.
  58795. + lt_cv_objdir=_libs
  58796. +fi
  58797. +rmdir .libs 2>/dev/null])
  58798. +objdir=$lt_cv_objdir
  58799. +_LT_DECL([], [objdir], [0],
  58800. + [The name of the directory that contains temporary libtool files])dnl
  58801. +m4_pattern_allow([LT_OBJDIR])dnl
  58802. +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  58803. + [Define to the sub-directory in which libtool stores uninstalled libraries.])
  58804. +])# _LT_CHECK_OBJDIR
  58805. +
  58806. +
  58807. +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  58808. +# --------------------------------------
  58809. +# Check hardcoding attributes.
  58810. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  58811. +[AC_MSG_CHECKING([how to hardcode library paths into programs])
  58812. +_LT_TAGVAR(hardcode_action, $1)=
  58813. +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  58814. + test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  58815. + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  58816. +
  58817. + # We can hardcode non-existent directories.
  58818. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  58819. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  58820. + # have to relink, otherwise we might link with an installed library
  58821. + # when we should be linking with a yet-to-be-installed one
  58822. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  58823. + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  58824. + # Linking always hardcodes the temporary library directory.
  58825. + _LT_TAGVAR(hardcode_action, $1)=relink
  58826. + else
  58827. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  58828. + _LT_TAGVAR(hardcode_action, $1)=immediate
  58829. + fi
  58830. +else
  58831. + # We cannot hardcode anything, or else we can only hardcode existing
  58832. + # directories.
  58833. + _LT_TAGVAR(hardcode_action, $1)=unsupported
  58834. +fi
  58835. +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  58836. +
  58837. +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  58838. + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  58839. + # Fast installation is not supported
  58840. + enable_fast_install=no
  58841. +elif test "$shlibpath_overrides_runpath" = yes ||
  58842. + test "$enable_shared" = no; then
  58843. + # Fast installation is not necessary
  58844. + enable_fast_install=needless
  58845. +fi
  58846. +_LT_TAGDECL([], [hardcode_action], [0],
  58847. + [How to hardcode a shared library path into an executable])
  58848. +])# _LT_LINKER_HARDCODE_LIBPATH
  58849. +
  58850. +
  58851. +# _LT_CMD_STRIPLIB
  58852. +# ----------------
  58853. +m4_defun([_LT_CMD_STRIPLIB],
  58854. +[m4_require([_LT_DECL_EGREP])
  58855. +striplib=
  58856. +old_striplib=
  58857. +AC_MSG_CHECKING([whether stripping libraries is possible])
  58858. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  58859. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  58860. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  58861. + AC_MSG_RESULT([yes])
  58862. +else
  58863. +# FIXME - insert some real tests, host_os isn't really good enough
  58864. + case $host_os in
  58865. + darwin*)
  58866. + if test -n "$STRIP" ; then
  58867. + striplib="$STRIP -x"
  58868. + old_striplib="$STRIP -S"
  58869. + AC_MSG_RESULT([yes])
  58870. + else
  58871. + AC_MSG_RESULT([no])
  58872. + fi
  58873. + ;;
  58874. + *)
  58875. + AC_MSG_RESULT([no])
  58876. + ;;
  58877. + esac
  58878. +fi
  58879. +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  58880. +_LT_DECL([], [striplib], [1])
  58881. +])# _LT_CMD_STRIPLIB
  58882. +
  58883. +
  58884. +# _LT_SYS_DYNAMIC_LINKER([TAG])
  58885. +# -----------------------------
  58886. +# PORTME Fill in your ld.so characteristics
  58887. +m4_defun([_LT_SYS_DYNAMIC_LINKER],
  58888. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  58889. +m4_require([_LT_DECL_EGREP])dnl
  58890. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  58891. +m4_require([_LT_DECL_OBJDUMP])dnl
  58892. +m4_require([_LT_DECL_SED])dnl
  58893. +AC_MSG_CHECKING([dynamic linker characteristics])
  58894. +m4_if([$1],
  58895. + [], [
  58896. +if test "$GCC" = yes; then
  58897. + case $host_os in
  58898. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  58899. + *) lt_awk_arg="/^libraries:/" ;;
  58900. + esac
  58901. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  58902. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  58903. + # if the path contains ";" then we assume it to be the separator
  58904. + # otherwise default to the standard path separator (i.e. ":") - it is
  58905. + # assumed that no part of a normal pathname contains ";" but that should
  58906. + # okay in the real world where ";" in dirpaths is itself problematic.
  58907. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  58908. + else
  58909. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  58910. + fi
  58911. + # Ok, now we have the path, separated by spaces, we can step through it
  58912. + # and add multilib dir if necessary.
  58913. + lt_tmp_lt_search_path_spec=
  58914. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  58915. + for lt_sys_path in $lt_search_path_spec; do
  58916. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  58917. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  58918. + else
  58919. + test -d "$lt_sys_path" && \
  58920. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  58921. + fi
  58922. + done
  58923. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  58924. +BEGIN {RS=" "; FS="/|\n";} {
  58925. + lt_foo="";
  58926. + lt_count=0;
  58927. + for (lt_i = NF; lt_i > 0; lt_i--) {
  58928. + if ($lt_i != "" && $lt_i != ".") {
  58929. + if ($lt_i == "..") {
  58930. + lt_count++;
  58931. + } else {
  58932. + if (lt_count == 0) {
  58933. + lt_foo="/" $lt_i lt_foo;
  58934. + } else {
  58935. + lt_count--;
  58936. + }
  58937. + }
  58938. + }
  58939. + }
  58940. + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  58941. + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  58942. +}'`
  58943. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  58944. +else
  58945. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  58946. +fi])
  58947. +library_names_spec=
  58948. +libname_spec='lib$name'
  58949. +soname_spec=
  58950. +shrext_cmds=".so"
  58951. +postinstall_cmds=
  58952. +postuninstall_cmds=
  58953. +finish_cmds=
  58954. +finish_eval=
  58955. +shlibpath_var=
  58956. +shlibpath_overrides_runpath=unknown
  58957. +version_type=none
  58958. +dynamic_linker="$host_os ld.so"
  58959. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  58960. +need_lib_prefix=unknown
  58961. +hardcode_into_libs=no
  58962. +
  58963. +# when you set need_version to no, make sure it does not cause -set_version
  58964. +# flags to be left without arguments
  58965. +need_version=unknown
  58966. +
  58967. +case $host_os in
  58968. +aix3*)
  58969. + version_type=linux
  58970. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  58971. + shlibpath_var=LIBPATH
  58972. +
  58973. + # AIX 3 has no versioning support, so we append a major version to the name.
  58974. + soname_spec='${libname}${release}${shared_ext}$major'
  58975. + ;;
  58976. +
  58977. +aix[[4-9]]*)
  58978. + version_type=linux
  58979. + need_lib_prefix=no
  58980. + need_version=no
  58981. + hardcode_into_libs=yes
  58982. + if test "$host_cpu" = ia64; then
  58983. + # AIX 5 supports IA64
  58984. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  58985. + shlibpath_var=LD_LIBRARY_PATH
  58986. + else
  58987. + # With GCC up to 2.95.x, collect2 would create an import file
  58988. + # for dependence libraries. The import file would start with
  58989. + # the line `#! .'. This would cause the generated library to
  58990. + # depend on `.', always an invalid library. This was fixed in
  58991. + # development snapshots of GCC prior to 3.0.
  58992. + case $host_os in
  58993. + aix4 | aix4.[[01]] | aix4.[[01]].*)
  58994. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  58995. + echo ' yes '
  58996. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  58997. + :
  58998. + else
  58999. + can_build_shared=no
  59000. + fi
  59001. + ;;
  59002. + esac
  59003. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  59004. + # soname into executable. Probably we can add versioning support to
  59005. + # collect2, so additional links can be useful in future.
  59006. + if test "$aix_use_runtimelinking" = yes; then
  59007. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  59008. + # instead of lib<name>.a to let people know that these are not
  59009. + # typical AIX shared libraries.
  59010. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59011. + else
  59012. + # We preserve .a as extension for shared libraries through AIX4.2
  59013. + # and later when we are not doing run time linking.
  59014. + library_names_spec='${libname}${release}.a $libname.a'
  59015. + soname_spec='${libname}${release}${shared_ext}$major'
  59016. + fi
  59017. + shlibpath_var=LIBPATH
  59018. + fi
  59019. + ;;
  59020. +
  59021. +amigaos*)
  59022. + case $host_cpu in
  59023. + powerpc)
  59024. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  59025. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  59026. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59027. + ;;
  59028. + m68k)
  59029. + library_names_spec='$libname.ixlibrary $libname.a'
  59030. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  59031. + 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'
  59032. + ;;
  59033. + esac
  59034. + ;;
  59035. +
  59036. +beos*)
  59037. + library_names_spec='${libname}${shared_ext}'
  59038. + dynamic_linker="$host_os ld.so"
  59039. + shlibpath_var=LIBRARY_PATH
  59040. + ;;
  59041. +
  59042. +bsdi[[45]]*)
  59043. + version_type=linux
  59044. + need_version=no
  59045. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59046. + soname_spec='${libname}${release}${shared_ext}$major'
  59047. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  59048. + shlibpath_var=LD_LIBRARY_PATH
  59049. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  59050. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  59051. + # the default ld.so.conf also contains /usr/contrib/lib and
  59052. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  59053. + # libtool to hard-code these into programs
  59054. + ;;
  59055. +
  59056. +cygwin* | mingw* | pw32* | cegcc*)
  59057. + version_type=windows
  59058. + shrext_cmds=".dll"
  59059. + need_version=no
  59060. + need_lib_prefix=no
  59061. +
  59062. + case $GCC,$host_os in
  59063. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  59064. + library_names_spec='$libname.dll.a'
  59065. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  59066. + postinstall_cmds='base_file=`basename \${file}`~
  59067. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  59068. + dldir=$destdir/`dirname \$dlpath`~
  59069. + test -d \$dldir || mkdir -p \$dldir~
  59070. + $install_prog $dir/$dlname \$dldir/$dlname~
  59071. + chmod a+x \$dldir/$dlname~
  59072. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  59073. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  59074. + fi'
  59075. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  59076. + dlpath=$dir/\$dldll~
  59077. + $RM \$dlpath'
  59078. + shlibpath_overrides_runpath=yes
  59079. +
  59080. + case $host_os in
  59081. + cygwin*)
  59082. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  59083. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  59084. + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  59085. + ;;
  59086. + mingw* | cegcc*)
  59087. + # MinGW DLLs use traditional 'lib' prefix
  59088. + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  59089. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  59090. + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  59091. + # It is most probably a Windows format PATH printed by
  59092. + # mingw gcc, but we are running on Cygwin. Gcc prints its search
  59093. + # path with ; separators, and with drive letters. We can handle the
  59094. + # drive letters (cygwin fileutils understands them), so leave them,
  59095. + # especially as we might pass files found there to a mingw objdump,
  59096. + # which wouldn't understand a cygwinified path. Ahh.
  59097. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  59098. + else
  59099. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  59100. + fi
  59101. + ;;
  59102. + pw32*)
  59103. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  59104. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  59105. + ;;
  59106. + esac
  59107. + ;;
  59108. +
  59109. + *)
  59110. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  59111. + ;;
  59112. + esac
  59113. + dynamic_linker='Win32 ld.exe'
  59114. + # FIXME: first we should search . and the directory the executable is in
  59115. + shlibpath_var=PATH
  59116. + ;;
  59117. +
  59118. +darwin* | rhapsody*)
  59119. + dynamic_linker="$host_os dyld"
  59120. + version_type=darwin
  59121. + need_lib_prefix=no
  59122. + need_version=no
  59123. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  59124. + soname_spec='${libname}${release}${major}$shared_ext'
  59125. + shlibpath_overrides_runpath=yes
  59126. + shlibpath_var=DYLD_LIBRARY_PATH
  59127. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  59128. +m4_if([$1], [],[
  59129. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  59130. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  59131. + ;;
  59132. +
  59133. +dgux*)
  59134. + version_type=linux
  59135. + need_lib_prefix=no
  59136. + need_version=no
  59137. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  59138. + soname_spec='${libname}${release}${shared_ext}$major'
  59139. + shlibpath_var=LD_LIBRARY_PATH
  59140. + ;;
  59141. +
  59142. +freebsd1*)
  59143. + dynamic_linker=no
  59144. + ;;
  59145. +
  59146. +freebsd* | dragonfly*)
  59147. + # DragonFly does not have aout. When/if they implement a new
  59148. + # versioning mechanism, adjust this.
  59149. + if test -x /usr/bin/objformat; then
  59150. + objformat=`/usr/bin/objformat`
  59151. + else
  59152. + case $host_os in
  59153. + freebsd[[123]]*) objformat=aout ;;
  59154. + *) objformat=elf ;;
  59155. + esac
  59156. + fi
  59157. + version_type=freebsd-$objformat
  59158. + case $version_type in
  59159. + freebsd-elf*)
  59160. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  59161. + need_version=no
  59162. + need_lib_prefix=no
  59163. + ;;
  59164. + freebsd-*)
  59165. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  59166. + need_version=yes
  59167. + ;;
  59168. + esac
  59169. + shlibpath_var=LD_LIBRARY_PATH
  59170. + case $host_os in
  59171. + freebsd2*)
  59172. + shlibpath_overrides_runpath=yes
  59173. + ;;
  59174. + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  59175. + shlibpath_overrides_runpath=yes
  59176. + hardcode_into_libs=yes
  59177. + ;;
  59178. + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
  59179. + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
  59180. + shlibpath_overrides_runpath=no
  59181. + hardcode_into_libs=yes
  59182. + ;;
  59183. + *) # from 4.6 on, and DragonFly
  59184. + shlibpath_overrides_runpath=yes
  59185. + hardcode_into_libs=yes
  59186. + ;;
  59187. + esac
  59188. + ;;
  59189. +
  59190. +gnu*)
  59191. + version_type=linux
  59192. + need_lib_prefix=no
  59193. + need_version=no
  59194. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  59195. + soname_spec='${libname}${release}${shared_ext}$major'
  59196. + shlibpath_var=LD_LIBRARY_PATH
  59197. + hardcode_into_libs=yes
  59198. + ;;
  59199. +
  59200. +hpux9* | hpux10* | hpux11*)
  59201. + # Give a soname corresponding to the major version so that dld.sl refuses to
  59202. + # link against other versions.
  59203. + version_type=sunos
  59204. + need_lib_prefix=no
  59205. + need_version=no
  59206. + case $host_cpu in
  59207. + ia64*)
  59208. + shrext_cmds='.so'
  59209. + hardcode_into_libs=yes
  59210. + dynamic_linker="$host_os dld.so"
  59211. + shlibpath_var=LD_LIBRARY_PATH
  59212. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  59213. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59214. + soname_spec='${libname}${release}${shared_ext}$major'
  59215. + if test "X$HPUX_IA64_MODE" = X32; then
  59216. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  59217. + else
  59218. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  59219. + fi
  59220. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  59221. + ;;
  59222. + hppa*64*)
  59223. + shrext_cmds='.sl'
  59224. + hardcode_into_libs=yes
  59225. + dynamic_linker="$host_os dld.sl"
  59226. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  59227. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  59228. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59229. + soname_spec='${libname}${release}${shared_ext}$major'
  59230. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  59231. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  59232. + ;;
  59233. + *)
  59234. + shrext_cmds='.sl'
  59235. + dynamic_linker="$host_os dld.sl"
  59236. + shlibpath_var=SHLIB_PATH
  59237. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  59238. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59239. + soname_spec='${libname}${release}${shared_ext}$major'
  59240. + ;;
  59241. + esac
  59242. + # HP-UX runs *really* slowly unless shared libraries are mode 555.
  59243. + postinstall_cmds='chmod 555 $lib'
  59244. + ;;
  59245. +
  59246. +interix[[3-9]]*)
  59247. + version_type=linux
  59248. + need_lib_prefix=no
  59249. + need_version=no
  59250. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  59251. + soname_spec='${libname}${release}${shared_ext}$major'
  59252. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  59253. + shlibpath_var=LD_LIBRARY_PATH
  59254. + shlibpath_overrides_runpath=no
  59255. + hardcode_into_libs=yes
  59256. + ;;
  59257. +
  59258. +irix5* | irix6* | nonstopux*)
  59259. + case $host_os in
  59260. + nonstopux*) version_type=nonstopux ;;
  59261. + *)
  59262. + if test "$lt_cv_prog_gnu_ld" = yes; then
  59263. + version_type=linux
  59264. + else
  59265. + version_type=irix
  59266. + fi ;;
  59267. + esac
  59268. + need_lib_prefix=no
  59269. + need_version=no
  59270. + soname_spec='${libname}${release}${shared_ext}$major'
  59271. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  59272. + case $host_os in
  59273. + irix5* | nonstopux*)
  59274. + libsuff= shlibsuff=
  59275. + ;;
  59276. + *)
  59277. + case $LD in # libtool.m4 will add one of these switches to LD
  59278. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  59279. + libsuff= shlibsuff= libmagic=32-bit;;
  59280. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  59281. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  59282. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  59283. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  59284. + *) libsuff= shlibsuff= libmagic=never-match;;
  59285. + esac
  59286. + ;;
  59287. + esac
  59288. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  59289. + shlibpath_overrides_runpath=no
  59290. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  59291. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  59292. + hardcode_into_libs=yes
  59293. + ;;
  59294. +
  59295. +# No shared lib support for Linux oldld, aout, or coff.
  59296. +linux*oldld* | linux*aout* | linux*coff*)
  59297. + dynamic_linker=no
  59298. + ;;
  59299. +
  59300. +# This must be Linux ELF.
  59301. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  59302. + version_type=linux
  59303. + need_lib_prefix=no
  59304. + need_version=no
  59305. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59306. + soname_spec='${libname}${release}${shared_ext}$major'
  59307. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  59308. + shlibpath_var=LD_LIBRARY_PATH
  59309. + shlibpath_overrides_runpath=no
  59310. + # Some binutils ld are patched to set DT_RUNPATH
  59311. + save_LDFLAGS=$LDFLAGS
  59312. + save_libdir=$libdir
  59313. + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  59314. + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  59315. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  59316. + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  59317. + [shlibpath_overrides_runpath=yes])])
  59318. + LDFLAGS=$save_LDFLAGS
  59319. + libdir=$save_libdir
  59320. +
  59321. + # This implies no fast_install, which is unacceptable.
  59322. + # Some rework will be needed to allow for fast_install
  59323. + # before this can be enabled.
  59324. + hardcode_into_libs=yes
  59325. +
  59326. + # Append ld.so.conf contents to the search path
  59327. + if test -f /etc/ld.so.conf; then
  59328. + 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' ' '`
  59329. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  59330. + fi
  59331. +
  59332. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  59333. + # powerpc, because MkLinux only supported shared libraries with the
  59334. + # GNU dynamic linker. Since this was broken with cross compilers,
  59335. + # most powerpc-linux boxes support dynamic linking these days and
  59336. + # people can always --disable-shared, the test was removed, and we
  59337. + # assume the GNU/Linux dynamic linker is in use.
  59338. + dynamic_linker='GNU/Linux ld.so'
  59339. + ;;
  59340. +
  59341. +netbsdelf*-gnu)
  59342. + version_type=linux
  59343. + need_lib_prefix=no
  59344. + need_version=no
  59345. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  59346. + soname_spec='${libname}${release}${shared_ext}$major'
  59347. + shlibpath_var=LD_LIBRARY_PATH
  59348. + shlibpath_overrides_runpath=no
  59349. + hardcode_into_libs=yes
  59350. + dynamic_linker='NetBSD ld.elf_so'
  59351. + ;;
  59352. +
  59353. +netbsd*)
  59354. + version_type=sunos
  59355. + need_lib_prefix=no
  59356. + need_version=no
  59357. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  59358. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  59359. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  59360. + dynamic_linker='NetBSD (a.out) ld.so'
  59361. + else
  59362. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  59363. + soname_spec='${libname}${release}${shared_ext}$major'
  59364. + dynamic_linker='NetBSD ld.elf_so'
  59365. + fi
  59366. + shlibpath_var=LD_LIBRARY_PATH
  59367. + shlibpath_overrides_runpath=yes
  59368. + hardcode_into_libs=yes
  59369. + ;;
  59370. +
  59371. +newsos6)
  59372. + version_type=linux
  59373. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59374. + shlibpath_var=LD_LIBRARY_PATH
  59375. + shlibpath_overrides_runpath=yes
  59376. + ;;
  59377. +
  59378. +*nto* | *qnx*)
  59379. + version_type=qnx
  59380. + need_lib_prefix=no
  59381. + need_version=no
  59382. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59383. + soname_spec='${libname}${release}${shared_ext}$major'
  59384. + shlibpath_var=LD_LIBRARY_PATH
  59385. + shlibpath_overrides_runpath=no
  59386. + hardcode_into_libs=yes
  59387. + dynamic_linker='ldqnx.so'
  59388. + ;;
  59389. +
  59390. +openbsd*)
  59391. + version_type=sunos
  59392. + sys_lib_dlsearch_path_spec="/usr/lib"
  59393. + need_lib_prefix=no
  59394. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  59395. + case $host_os in
  59396. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  59397. + *) need_version=no ;;
  59398. + esac
  59399. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  59400. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  59401. + shlibpath_var=LD_LIBRARY_PATH
  59402. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  59403. + case $host_os in
  59404. + openbsd2.[[89]] | openbsd2.[[89]].*)
  59405. + shlibpath_overrides_runpath=no
  59406. + ;;
  59407. + *)
  59408. + shlibpath_overrides_runpath=yes
  59409. + ;;
  59410. + esac
  59411. + else
  59412. + shlibpath_overrides_runpath=yes
  59413. + fi
  59414. + ;;
  59415. +
  59416. +os2*)
  59417. + libname_spec='$name'
  59418. + shrext_cmds=".dll"
  59419. + need_lib_prefix=no
  59420. + library_names_spec='$libname${shared_ext} $libname.a'
  59421. + dynamic_linker='OS/2 ld.exe'
  59422. + shlibpath_var=LIBPATH
  59423. + ;;
  59424. +
  59425. +osf3* | osf4* | osf5*)
  59426. + version_type=osf
  59427. + need_lib_prefix=no
  59428. + need_version=no
  59429. + soname_spec='${libname}${release}${shared_ext}$major'
  59430. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59431. + shlibpath_var=LD_LIBRARY_PATH
  59432. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  59433. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  59434. + ;;
  59435. +
  59436. +rdos*)
  59437. + dynamic_linker=no
  59438. + ;;
  59439. +
  59440. +solaris*)
  59441. + version_type=linux
  59442. + need_lib_prefix=no
  59443. + need_version=no
  59444. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59445. + soname_spec='${libname}${release}${shared_ext}$major'
  59446. + shlibpath_var=LD_LIBRARY_PATH
  59447. + shlibpath_overrides_runpath=yes
  59448. + hardcode_into_libs=yes
  59449. + # ldd complains unless libraries are executable
  59450. + postinstall_cmds='chmod +x $lib'
  59451. + ;;
  59452. +
  59453. +sunos4*)
  59454. + version_type=sunos
  59455. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  59456. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  59457. + shlibpath_var=LD_LIBRARY_PATH
  59458. + shlibpath_overrides_runpath=yes
  59459. + if test "$with_gnu_ld" = yes; then
  59460. + need_lib_prefix=no
  59461. + fi
  59462. + need_version=yes
  59463. + ;;
  59464. +
  59465. +sysv4 | sysv4.3*)
  59466. + version_type=linux
  59467. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59468. + soname_spec='${libname}${release}${shared_ext}$major'
  59469. + shlibpath_var=LD_LIBRARY_PATH
  59470. + case $host_vendor in
  59471. + sni)
  59472. + shlibpath_overrides_runpath=no
  59473. + need_lib_prefix=no
  59474. + runpath_var=LD_RUN_PATH
  59475. + ;;
  59476. + siemens)
  59477. + need_lib_prefix=no
  59478. + ;;
  59479. + motorola)
  59480. + need_lib_prefix=no
  59481. + need_version=no
  59482. + shlibpath_overrides_runpath=no
  59483. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  59484. + ;;
  59485. + esac
  59486. + ;;
  59487. +
  59488. +sysv4*MP*)
  59489. + if test -d /usr/nec ;then
  59490. + version_type=linux
  59491. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  59492. + soname_spec='$libname${shared_ext}.$major'
  59493. + shlibpath_var=LD_LIBRARY_PATH
  59494. + fi
  59495. + ;;
  59496. +
  59497. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  59498. + version_type=freebsd-elf
  59499. + need_lib_prefix=no
  59500. + need_version=no
  59501. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  59502. + soname_spec='${libname}${release}${shared_ext}$major'
  59503. + shlibpath_var=LD_LIBRARY_PATH
  59504. + shlibpath_overrides_runpath=yes
  59505. + hardcode_into_libs=yes
  59506. + if test "$with_gnu_ld" = yes; then
  59507. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  59508. + else
  59509. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  59510. + case $host_os in
  59511. + sco3.2v5*)
  59512. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  59513. + ;;
  59514. + esac
  59515. + fi
  59516. + sys_lib_dlsearch_path_spec='/usr/lib'
  59517. + ;;
  59518. +
  59519. +tpf*)
  59520. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  59521. + version_type=linux
  59522. + need_lib_prefix=no
  59523. + need_version=no
  59524. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59525. + shlibpath_var=LD_LIBRARY_PATH
  59526. + shlibpath_overrides_runpath=no
  59527. + hardcode_into_libs=yes
  59528. + ;;
  59529. +
  59530. +uts4*)
  59531. + version_type=linux
  59532. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  59533. + soname_spec='${libname}${release}${shared_ext}$major'
  59534. + shlibpath_var=LD_LIBRARY_PATH
  59535. + ;;
  59536. +
  59537. +*)
  59538. + dynamic_linker=no
  59539. + ;;
  59540. +esac
  59541. +AC_MSG_RESULT([$dynamic_linker])
  59542. +test "$dynamic_linker" = no && can_build_shared=no
  59543. +
  59544. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  59545. +if test "$GCC" = yes; then
  59546. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  59547. +fi
  59548. +
  59549. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  59550. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  59551. +fi
  59552. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  59553. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  59554. +fi
  59555. +
  59556. +_LT_DECL([], [variables_saved_for_relink], [1],
  59557. + [Variables whose values should be saved in libtool wrapper scripts and
  59558. + restored at link time])
  59559. +_LT_DECL([], [need_lib_prefix], [0],
  59560. + [Do we need the "lib" prefix for modules?])
  59561. +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  59562. +_LT_DECL([], [version_type], [0], [Library versioning type])
  59563. +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
  59564. +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  59565. +_LT_DECL([], [shlibpath_overrides_runpath], [0],
  59566. + [Is shlibpath searched before the hard-coded library search path?])
  59567. +_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  59568. +_LT_DECL([], [library_names_spec], [1],
  59569. + [[List of archive names. First name is the real one, the rest are links.
  59570. + The last name is the one that the linker finds with -lNAME]])
  59571. +_LT_DECL([], [soname_spec], [1],
  59572. + [[The coded name of the library, if different from the real name]])
  59573. +_LT_DECL([], [postinstall_cmds], [2],
  59574. + [Command to use after installation of a shared archive])
  59575. +_LT_DECL([], [postuninstall_cmds], [2],
  59576. + [Command to use after uninstallation of a shared archive])
  59577. +_LT_DECL([], [finish_cmds], [2],
  59578. + [Commands used to finish a libtool library installation in a directory])
  59579. +_LT_DECL([], [finish_eval], [1],
  59580. + [[As "finish_cmds", except a single script fragment to be evaled but
  59581. + not shown]])
  59582. +_LT_DECL([], [hardcode_into_libs], [0],
  59583. + [Whether we should hardcode library paths into libraries])
  59584. +_LT_DECL([], [sys_lib_search_path_spec], [2],
  59585. + [Compile-time system search path for libraries])
  59586. +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  59587. + [Run-time system search path for libraries])
  59588. +])# _LT_SYS_DYNAMIC_LINKER
  59589. +
  59590. +
  59591. +# _LT_PATH_TOOL_PREFIX(TOOL)
  59592. +# --------------------------
  59593. +# find a file program which can recognize shared library
  59594. +AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  59595. +[m4_require([_LT_DECL_EGREP])dnl
  59596. +AC_MSG_CHECKING([for $1])
  59597. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  59598. +[case $MAGIC_CMD in
  59599. +[[\\/*] | ?:[\\/]*])
  59600. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  59601. + ;;
  59602. +*)
  59603. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  59604. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  59605. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  59606. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  59607. +dnl not every word. This closes a longstanding sh security hole.
  59608. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  59609. + for ac_dir in $ac_dummy; do
  59610. + IFS="$lt_save_ifs"
  59611. + test -z "$ac_dir" && ac_dir=.
  59612. + if test -f $ac_dir/$1; then
  59613. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  59614. + if test -n "$file_magic_test_file"; then
  59615. + case $deplibs_check_method in
  59616. + "file_magic "*)
  59617. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  59618. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  59619. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  59620. + $EGREP "$file_magic_regex" > /dev/null; then
  59621. + :
  59622. + else
  59623. + cat <<_LT_EOF 1>&2
  59624. +
  59625. +*** Warning: the command libtool uses to detect shared libraries,
  59626. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  59627. +*** The result is that libtool may fail to recognize shared libraries
  59628. +*** as such. This will affect the creation of libtool libraries that
  59629. +*** depend on shared libraries, but programs linked with such libtool
  59630. +*** libraries will work regardless of this problem. Nevertheless, you
  59631. +*** may want to report the problem to your system manager and/or to
  59632. +*** bug-libtool@gnu.org
  59633. +
  59634. +_LT_EOF
  59635. + fi ;;
  59636. + esac
  59637. + fi
  59638. + break
  59639. + fi
  59640. + done
  59641. + IFS="$lt_save_ifs"
  59642. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  59643. + ;;
  59644. +esac])
  59645. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  59646. +if test -n "$MAGIC_CMD"; then
  59647. + AC_MSG_RESULT($MAGIC_CMD)
  59648. +else
  59649. + AC_MSG_RESULT(no)
  59650. +fi
  59651. +_LT_DECL([], [MAGIC_CMD], [0],
  59652. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  59653. +])# _LT_PATH_TOOL_PREFIX
  59654. +
  59655. +# Old name:
  59656. +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  59657. +dnl aclocal-1.4 backwards compatibility:
  59658. +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  59659. +
  59660. +
  59661. +# _LT_PATH_MAGIC
  59662. +# --------------
  59663. +# find a file program which can recognize a shared library
  59664. +m4_defun([_LT_PATH_MAGIC],
  59665. +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  59666. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  59667. + if test -n "$ac_tool_prefix"; then
  59668. + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  59669. + else
  59670. + MAGIC_CMD=:
  59671. + fi
  59672. +fi
  59673. +])# _LT_PATH_MAGIC
  59674. +
  59675. +
  59676. +# LT_PATH_LD
  59677. +# ----------
  59678. +# find the pathname to the GNU or non-GNU linker
  59679. +AC_DEFUN([LT_PATH_LD],
  59680. +[AC_REQUIRE([AC_PROG_CC])dnl
  59681. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  59682. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  59683. +m4_require([_LT_DECL_SED])dnl
  59684. +m4_require([_LT_DECL_EGREP])dnl
  59685. +
  59686. +AC_ARG_WITH([gnu-ld],
  59687. + [AS_HELP_STRING([--with-gnu-ld],
  59688. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  59689. + [test "$withval" = no || with_gnu_ld=yes],
  59690. + [with_gnu_ld=no])dnl
  59691. +
  59692. +ac_prog=ld
  59693. +if test "$GCC" = yes; then
  59694. + # Check if gcc -print-prog-name=ld gives a path.
  59695. + AC_MSG_CHECKING([for ld used by $CC])
  59696. + case $host in
  59697. + *-*-mingw*)
  59698. + # gcc leaves a trailing carriage return which upsets mingw
  59699. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  59700. + *)
  59701. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  59702. + esac
  59703. + case $ac_prog in
  59704. + # Accept absolute paths.
  59705. + [[\\/]]* | ?:[[\\/]]*)
  59706. + re_direlt='/[[^/]][[^/]]*/\.\./'
  59707. + # Canonicalize the pathname of ld
  59708. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  59709. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  59710. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  59711. + done
  59712. + test -z "$LD" && LD="$ac_prog"
  59713. + ;;
  59714. + "")
  59715. + # If it fails, then pretend we aren't using GCC.
  59716. + ac_prog=ld
  59717. + ;;
  59718. + *)
  59719. + # If it is relative, then search for the first ld in PATH.
  59720. + with_gnu_ld=unknown
  59721. + ;;
  59722. + esac
  59723. +elif test "$with_gnu_ld" = yes; then
  59724. + AC_MSG_CHECKING([for GNU ld])
  59725. +else
  59726. + AC_MSG_CHECKING([for non-GNU ld])
  59727. +fi
  59728. +AC_CACHE_VAL(lt_cv_path_LD,
  59729. +[if test -z "$LD"; then
  59730. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  59731. + for ac_dir in $PATH; do
  59732. + IFS="$lt_save_ifs"
  59733. + test -z "$ac_dir" && ac_dir=.
  59734. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  59735. + lt_cv_path_LD="$ac_dir/$ac_prog"
  59736. + # Check to see if the program is GNU ld. I'd rather use --version,
  59737. + # but apparently some variants of GNU ld only accept -v.
  59738. + # Break only if it was the GNU/non-GNU ld that we prefer.
  59739. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  59740. + *GNU* | *'with BFD'*)
  59741. + test "$with_gnu_ld" != no && break
  59742. + ;;
  59743. + *)
  59744. + test "$with_gnu_ld" != yes && break
  59745. + ;;
  59746. + esac
  59747. + fi
  59748. + done
  59749. + IFS="$lt_save_ifs"
  59750. +else
  59751. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  59752. +fi])
  59753. +LD="$lt_cv_path_LD"
  59754. +if test -n "$LD"; then
  59755. + AC_MSG_RESULT($LD)
  59756. +else
  59757. + AC_MSG_RESULT(no)
  59758. +fi
  59759. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  59760. +_LT_PATH_LD_GNU
  59761. +AC_SUBST([LD])
  59762. +
  59763. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  59764. +])# LT_PATH_LD
  59765. +
  59766. +# Old names:
  59767. +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  59768. +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  59769. +dnl aclocal-1.4 backwards compatibility:
  59770. +dnl AC_DEFUN([AM_PROG_LD], [])
  59771. +dnl AC_DEFUN([AC_PROG_LD], [])
  59772. +
  59773. +
  59774. +# _LT_PATH_LD_GNU
  59775. +#- --------------
  59776. +m4_defun([_LT_PATH_LD_GNU],
  59777. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  59778. +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  59779. +case `$LD -v 2>&1 </dev/null` in
  59780. +*GNU* | *'with BFD'*)
  59781. + lt_cv_prog_gnu_ld=yes
  59782. + ;;
  59783. +*)
  59784. + lt_cv_prog_gnu_ld=no
  59785. + ;;
  59786. +esac])
  59787. +with_gnu_ld=$lt_cv_prog_gnu_ld
  59788. +])# _LT_PATH_LD_GNU
  59789. +
  59790. +
  59791. +# _LT_CMD_RELOAD
  59792. +# --------------
  59793. +# find reload flag for linker
  59794. +# -- PORTME Some linkers may need a different reload flag.
  59795. +m4_defun([_LT_CMD_RELOAD],
  59796. +[AC_CACHE_CHECK([for $LD option to reload object files],
  59797. + lt_cv_ld_reload_flag,
  59798. + [lt_cv_ld_reload_flag='-r'])
  59799. +reload_flag=$lt_cv_ld_reload_flag
  59800. +case $reload_flag in
  59801. +"" | " "*) ;;
  59802. +*) reload_flag=" $reload_flag" ;;
  59803. +esac
  59804. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  59805. +case $host_os in
  59806. + darwin*)
  59807. + if test "$GCC" = yes; then
  59808. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  59809. + else
  59810. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  59811. + fi
  59812. + ;;
  59813. +esac
  59814. +_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  59815. +_LT_DECL([], [reload_cmds], [2])dnl
  59816. +])# _LT_CMD_RELOAD
  59817. +
  59818. +
  59819. +# _LT_CHECK_MAGIC_METHOD
  59820. +# ----------------------
  59821. +# how to check for library dependencies
  59822. +# -- PORTME fill in with the dynamic library characteristics
  59823. +m4_defun([_LT_CHECK_MAGIC_METHOD],
  59824. +[m4_require([_LT_DECL_EGREP])
  59825. +m4_require([_LT_DECL_OBJDUMP])
  59826. +AC_CACHE_CHECK([how to recognize dependent libraries],
  59827. +lt_cv_deplibs_check_method,
  59828. +[lt_cv_file_magic_cmd='$MAGIC_CMD'
  59829. +lt_cv_file_magic_test_file=
  59830. +lt_cv_deplibs_check_method='unknown'
  59831. +# Need to set the preceding variable on all platforms that support
  59832. +# interlibrary dependencies.
  59833. +# 'none' -- dependencies not supported.
  59834. +# `unknown' -- same as none, but documents that we really don't know.
  59835. +# 'pass_all' -- all dependencies passed with no checks.
  59836. +# 'test_compile' -- check by making test program.
  59837. +# 'file_magic [[regex]]' -- check by looking for files in library path
  59838. +# which responds to the $file_magic_cmd with a given extended regex.
  59839. +# If you have `file' or equivalent on your system and you're not sure
  59840. +# whether `pass_all' will *always* work, you probably want this one.
  59841. +
  59842. +case $host_os in
  59843. +aix[[4-9]]*)
  59844. + lt_cv_deplibs_check_method=pass_all
  59845. + ;;
  59846. +
  59847. +beos*)
  59848. + lt_cv_deplibs_check_method=pass_all
  59849. + ;;
  59850. +
  59851. +bsdi[[45]]*)
  59852. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  59853. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  59854. + lt_cv_file_magic_test_file=/shlib/libc.so
  59855. + ;;
  59856. +
  59857. +cygwin*)
  59858. + # func_win32_libid is a shell function defined in ltmain.sh
  59859. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  59860. + lt_cv_file_magic_cmd='func_win32_libid'
  59861. + ;;
  59862. +
  59863. +mingw* | pw32*)
  59864. + # Base MSYS/MinGW do not provide the 'file' command needed by
  59865. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  59866. + # unless we find 'file', for example because we are cross-compiling.
  59867. + if ( file / ) >/dev/null 2>&1; then
  59868. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  59869. + lt_cv_file_magic_cmd='func_win32_libid'
  59870. + else
  59871. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  59872. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  59873. + fi
  59874. + ;;
  59875. +
  59876. +cegcc)
  59877. + # use the weaker test based on 'objdump'. See mingw*.
  59878. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  59879. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  59880. + ;;
  59881. +
  59882. +darwin* | rhapsody*)
  59883. + lt_cv_deplibs_check_method=pass_all
  59884. + ;;
  59885. +
  59886. +freebsd* | dragonfly*)
  59887. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  59888. + case $host_cpu in
  59889. + i*86 )
  59890. + # Not sure whether the presence of OpenBSD here was a mistake.
  59891. + # Let's accept both of them until this is cleared up.
  59892. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  59893. + lt_cv_file_magic_cmd=/usr/bin/file
  59894. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  59895. + ;;
  59896. + esac
  59897. + else
  59898. + lt_cv_deplibs_check_method=pass_all
  59899. + fi
  59900. + ;;
  59901. +
  59902. +gnu*)
  59903. + lt_cv_deplibs_check_method=pass_all
  59904. + ;;
  59905. +
  59906. +hpux10.20* | hpux11*)
  59907. + lt_cv_file_magic_cmd=/usr/bin/file
  59908. + case $host_cpu in
  59909. + ia64*)
  59910. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  59911. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  59912. + ;;
  59913. + hppa*64*)
  59914. + [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]']
  59915. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  59916. + ;;
  59917. + *)
  59918. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  59919. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  59920. + ;;
  59921. + esac
  59922. + ;;
  59923. +
  59924. +interix[[3-9]]*)
  59925. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  59926. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  59927. + ;;
  59928. +
  59929. +irix5* | irix6* | nonstopux*)
  59930. + case $LD in
  59931. + *-32|*"-32 ") libmagic=32-bit;;
  59932. + *-n32|*"-n32 ") libmagic=N32;;
  59933. + *-64|*"-64 ") libmagic=64-bit;;
  59934. + *) libmagic=never-match;;
  59935. + esac
  59936. + lt_cv_deplibs_check_method=pass_all
  59937. + ;;
  59938. +
  59939. +# This must be Linux ELF.
  59940. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  59941. + lt_cv_deplibs_check_method=pass_all
  59942. + ;;
  59943. +
  59944. +netbsd* | netbsdelf*-gnu)
  59945. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  59946. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  59947. + else
  59948. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  59949. + fi
  59950. + ;;
  59951. +
  59952. +newos6*)
  59953. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  59954. + lt_cv_file_magic_cmd=/usr/bin/file
  59955. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  59956. + ;;
  59957. +
  59958. +*nto* | *qnx*)
  59959. + lt_cv_deplibs_check_method=pass_all
  59960. + ;;
  59961. +
  59962. +openbsd*)
  59963. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  59964. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  59965. + else
  59966. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  59967. + fi
  59968. + ;;
  59969. +
  59970. +osf3* | osf4* | osf5*)
  59971. + lt_cv_deplibs_check_method=pass_all
  59972. + ;;
  59973. +
  59974. +rdos*)
  59975. + lt_cv_deplibs_check_method=pass_all
  59976. + ;;
  59977. +
  59978. +solaris*)
  59979. + lt_cv_deplibs_check_method=pass_all
  59980. + ;;
  59981. +
  59982. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  59983. + lt_cv_deplibs_check_method=pass_all
  59984. + ;;
  59985. +
  59986. +sysv4 | sysv4.3*)
  59987. + case $host_vendor in
  59988. + motorola)
  59989. + 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]]'
  59990. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  59991. + ;;
  59992. + ncr)
  59993. + lt_cv_deplibs_check_method=pass_all
  59994. + ;;
  59995. + sequent)
  59996. + lt_cv_file_magic_cmd='/bin/file'
  59997. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  59998. + ;;
  59999. + sni)
  60000. + lt_cv_file_magic_cmd='/bin/file'
  60001. + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  60002. + lt_cv_file_magic_test_file=/lib/libc.so
  60003. + ;;
  60004. + siemens)
  60005. + lt_cv_deplibs_check_method=pass_all
  60006. + ;;
  60007. + pc)
  60008. + lt_cv_deplibs_check_method=pass_all
  60009. + ;;
  60010. + esac
  60011. + ;;
  60012. +
  60013. +tpf*)
  60014. + lt_cv_deplibs_check_method=pass_all
  60015. + ;;
  60016. +esac
  60017. +])
  60018. +file_magic_cmd=$lt_cv_file_magic_cmd
  60019. +deplibs_check_method=$lt_cv_deplibs_check_method
  60020. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  60021. +
  60022. +_LT_DECL([], [deplibs_check_method], [1],
  60023. + [Method to check whether dependent libraries are shared objects])
  60024. +_LT_DECL([], [file_magic_cmd], [1],
  60025. + [Command to use when deplibs_check_method == "file_magic"])
  60026. +])# _LT_CHECK_MAGIC_METHOD
  60027. +
  60028. +
  60029. +# LT_PATH_NM
  60030. +# ----------
  60031. +# find the pathname to a BSD- or MS-compatible name lister
  60032. +AC_DEFUN([LT_PATH_NM],
  60033. +[AC_REQUIRE([AC_PROG_CC])dnl
  60034. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  60035. +[if test -n "$NM"; then
  60036. + # Let the user override the test.
  60037. + lt_cv_path_NM="$NM"
  60038. +else
  60039. + lt_nm_to_check="${ac_tool_prefix}nm"
  60040. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  60041. + lt_nm_to_check="$lt_nm_to_check nm"
  60042. + fi
  60043. + for lt_tmp_nm in $lt_nm_to_check; do
  60044. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  60045. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  60046. + IFS="$lt_save_ifs"
  60047. + test -z "$ac_dir" && ac_dir=.
  60048. + tmp_nm="$ac_dir/$lt_tmp_nm"
  60049. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  60050. + # Check to see if the nm accepts a BSD-compat flag.
  60051. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  60052. + # nm: unknown option "B" ignored
  60053. + # Tru64's nm complains that /dev/null is an invalid object file
  60054. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  60055. + */dev/null* | *'Invalid file or object type'*)
  60056. + lt_cv_path_NM="$tmp_nm -B"
  60057. + break
  60058. + ;;
  60059. + *)
  60060. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  60061. + */dev/null*)
  60062. + lt_cv_path_NM="$tmp_nm -p"
  60063. + break
  60064. + ;;
  60065. + *)
  60066. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  60067. + continue # so that we can try to find one that supports BSD flags
  60068. + ;;
  60069. + esac
  60070. + ;;
  60071. + esac
  60072. + fi
  60073. + done
  60074. + IFS="$lt_save_ifs"
  60075. + done
  60076. + : ${lt_cv_path_NM=no}
  60077. +fi])
  60078. +if test "$lt_cv_path_NM" != "no"; then
  60079. + NM="$lt_cv_path_NM"
  60080. +else
  60081. + # Didn't find any BSD compatible name lister, look for dumpbin.
  60082. + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  60083. + AC_SUBST([DUMPBIN])
  60084. + if test "$DUMPBIN" != ":"; then
  60085. + NM="$DUMPBIN"
  60086. + fi
  60087. +fi
  60088. +test -z "$NM" && NM=nm
  60089. +AC_SUBST([NM])
  60090. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  60091. +
  60092. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  60093. + [lt_cv_nm_interface="BSD nm"
  60094. + echo "int some_variable = 0;" > conftest.$ac_ext
  60095. + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  60096. + (eval "$ac_compile" 2>conftest.err)
  60097. + cat conftest.err >&AS_MESSAGE_LOG_FD
  60098. + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  60099. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  60100. + cat conftest.err >&AS_MESSAGE_LOG_FD
  60101. + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  60102. + cat conftest.out >&AS_MESSAGE_LOG_FD
  60103. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  60104. + lt_cv_nm_interface="MS dumpbin"
  60105. + fi
  60106. + rm -f conftest*])
  60107. +])# LT_PATH_NM
  60108. +
  60109. +# Old names:
  60110. +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  60111. +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  60112. +dnl aclocal-1.4 backwards compatibility:
  60113. +dnl AC_DEFUN([AM_PROG_NM], [])
  60114. +dnl AC_DEFUN([AC_PROG_NM], [])
  60115. +
  60116. +
  60117. +# LT_LIB_M
  60118. +# --------
  60119. +# check for math library
  60120. +AC_DEFUN([LT_LIB_M],
  60121. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  60122. +LIBM=
  60123. +case $host in
  60124. +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  60125. + # These system don't have libm, or don't need it
  60126. + ;;
  60127. +*-ncr-sysv4.3*)
  60128. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  60129. + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  60130. + ;;
  60131. +*)
  60132. + AC_CHECK_LIB(m, cos, LIBM="-lm")
  60133. + ;;
  60134. +esac
  60135. +AC_SUBST([LIBM])
  60136. +])# LT_LIB_M
  60137. +
  60138. +# Old name:
  60139. +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  60140. +dnl aclocal-1.4 backwards compatibility:
  60141. +dnl AC_DEFUN([AC_CHECK_LIBM], [])
  60142. +
  60143. +
  60144. +# _LT_COMPILER_NO_RTTI([TAGNAME])
  60145. +# -------------------------------
  60146. +m4_defun([_LT_COMPILER_NO_RTTI],
  60147. +[m4_require([_LT_TAG_COMPILER])dnl
  60148. +
  60149. +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  60150. +
  60151. +if test "$GCC" = yes; then
  60152. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  60153. +
  60154. + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  60155. + lt_cv_prog_compiler_rtti_exceptions,
  60156. + [-fno-rtti -fno-exceptions], [],
  60157. + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  60158. +fi
  60159. +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  60160. + [Compiler flag to turn off builtin functions])
  60161. +])# _LT_COMPILER_NO_RTTI
  60162. +
  60163. +
  60164. +# _LT_CMD_GLOBAL_SYMBOLS
  60165. +# ----------------------
  60166. +m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  60167. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  60168. +AC_REQUIRE([AC_PROG_CC])dnl
  60169. +AC_REQUIRE([LT_PATH_NM])dnl
  60170. +AC_REQUIRE([LT_PATH_LD])dnl
  60171. +m4_require([_LT_DECL_SED])dnl
  60172. +m4_require([_LT_DECL_EGREP])dnl
  60173. +m4_require([_LT_TAG_COMPILER])dnl
  60174. +
  60175. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  60176. +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  60177. +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  60178. +[
  60179. +# These are sane defaults that work on at least a few old systems.
  60180. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  60181. +
  60182. +# Character class describing NM global symbol codes.
  60183. +symcode='[[BCDEGRST]]'
  60184. +
  60185. +# Regexp to match symbols that can be accessed directly from C.
  60186. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  60187. +
  60188. +# Define system-specific variables.
  60189. +case $host_os in
  60190. +aix*)
  60191. + symcode='[[BCDT]]'
  60192. + ;;
  60193. +cygwin* | mingw* | pw32* | cegcc*)
  60194. + symcode='[[ABCDGISTW]]'
  60195. + ;;
  60196. +hpux*)
  60197. + if test "$host_cpu" = ia64; then
  60198. + symcode='[[ABCDEGRST]]'
  60199. + fi
  60200. + ;;
  60201. +irix* | nonstopux*)
  60202. + symcode='[[BCDEGRST]]'
  60203. + ;;
  60204. +osf*)
  60205. + symcode='[[BCDEGQRST]]'
  60206. + ;;
  60207. +solaris*)
  60208. + symcode='[[BDRT]]'
  60209. + ;;
  60210. +sco3.2v5*)
  60211. + symcode='[[DT]]'
  60212. + ;;
  60213. +sysv4.2uw2*)
  60214. + symcode='[[DT]]'
  60215. + ;;
  60216. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  60217. + symcode='[[ABDT]]'
  60218. + ;;
  60219. +sysv4)
  60220. + symcode='[[DFNSTU]]'
  60221. + ;;
  60222. +esac
  60223. +
  60224. +# If we're using GNU nm, then use its standard symbol codes.
  60225. +case `$NM -V 2>&1` in
  60226. +*GNU* | *'with BFD'*)
  60227. + symcode='[[ABCDGIRSTW]]' ;;
  60228. +esac
  60229. +
  60230. +# Transform an extracted symbol line into a proper C declaration.
  60231. +# Some systems (esp. on ia64) link data and code symbols differently,
  60232. +# so use this general approach.
  60233. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  60234. +
  60235. +# Transform an extracted symbol line into symbol name and symbol address
  60236. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  60237. +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'"
  60238. +
  60239. +# Handle CRLF in mingw tool chain
  60240. +opt_cr=
  60241. +case $build_os in
  60242. +mingw*)
  60243. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  60244. + ;;
  60245. +esac
  60246. +
  60247. +# Try without a prefix underscore, then with it.
  60248. +for ac_symprfx in "" "_"; do
  60249. +
  60250. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  60251. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  60252. +
  60253. + # Write the raw and C identifiers.
  60254. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  60255. + # Fake it for dumpbin and say T for any non-static function
  60256. + # and D for any global variable.
  60257. + # Also find C++ and __fastcall symbols from MSVC++,
  60258. + # which start with @ or ?.
  60259. + lt_cv_sys_global_symbol_pipe="$AWK ['"\
  60260. +" {last_section=section; section=\$ 3};"\
  60261. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  60262. +" \$ 0!~/External *\|/{next};"\
  60263. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  60264. +" {if(hide[section]) next};"\
  60265. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  60266. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  60267. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  60268. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  60269. +" ' prfx=^$ac_symprfx]"
  60270. + else
  60271. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  60272. + fi
  60273. +
  60274. + # Check to see that the pipe works correctly.
  60275. + pipe_works=no
  60276. +
  60277. + rm -f conftest*
  60278. + cat > conftest.$ac_ext <<_LT_EOF
  60279. +#ifdef __cplusplus
  60280. +extern "C" {
  60281. +#endif
  60282. +char nm_test_var;
  60283. +void nm_test_func(void);
  60284. +void nm_test_func(void){}
  60285. +#ifdef __cplusplus
  60286. +}
  60287. +#endif
  60288. +int main(){nm_test_var='a';nm_test_func();return(0);}
  60289. +_LT_EOF
  60290. +
  60291. + if AC_TRY_EVAL(ac_compile); then
  60292. + # Now try to grab the symbols.
  60293. + nlist=conftest.nm
  60294. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  60295. + # Try sorting and uniquifying the output.
  60296. + if sort "$nlist" | uniq > "$nlist"T; then
  60297. + mv -f "$nlist"T "$nlist"
  60298. + else
  60299. + rm -f "$nlist"T
  60300. + fi
  60301. +
  60302. + # Make sure that we snagged all the symbols we need.
  60303. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  60304. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  60305. + cat <<_LT_EOF > conftest.$ac_ext
  60306. +#ifdef __cplusplus
  60307. +extern "C" {
  60308. +#endif
  60309. +
  60310. +_LT_EOF
  60311. + # Now generate the symbol file.
  60312. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  60313. +
  60314. + cat <<_LT_EOF >> conftest.$ac_ext
  60315. +
  60316. +/* The mapping between symbol names and symbols. */
  60317. +const struct {
  60318. + const char *name;
  60319. + void *address;
  60320. +}
  60321. +lt__PROGRAM__LTX_preloaded_symbols[[]] =
  60322. +{
  60323. + { "@PROGRAM@", (void *) 0 },
  60324. +_LT_EOF
  60325. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  60326. + cat <<\_LT_EOF >> conftest.$ac_ext
  60327. + {0, (void *) 0}
  60328. +};
  60329. +
  60330. +/* This works around a problem in FreeBSD linker */
  60331. +#ifdef FREEBSD_WORKAROUND
  60332. +static const void *lt_preloaded_setup() {
  60333. + return lt__PROGRAM__LTX_preloaded_symbols;
  60334. +}
  60335. +#endif
  60336. +
  60337. +#ifdef __cplusplus
  60338. +}
  60339. +#endif
  60340. +_LT_EOF
  60341. + # Now try linking the two files.
  60342. + mv conftest.$ac_objext conftstm.$ac_objext
  60343. + lt_save_LIBS="$LIBS"
  60344. + lt_save_CFLAGS="$CFLAGS"
  60345. + LIBS="conftstm.$ac_objext"
  60346. + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  60347. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  60348. + pipe_works=yes
  60349. + fi
  60350. + LIBS="$lt_save_LIBS"
  60351. + CFLAGS="$lt_save_CFLAGS"
  60352. + else
  60353. + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  60354. + fi
  60355. + else
  60356. + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  60357. + fi
  60358. + else
  60359. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  60360. + fi
  60361. + else
  60362. + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  60363. + cat conftest.$ac_ext >&5
  60364. + fi
  60365. + rm -rf conftest* conftst*
  60366. +
  60367. + # Do not use the global_symbol_pipe unless it works.
  60368. + if test "$pipe_works" = yes; then
  60369. + break
  60370. + else
  60371. + lt_cv_sys_global_symbol_pipe=
  60372. + fi
  60373. +done
  60374. +])
  60375. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  60376. + lt_cv_sys_global_symbol_to_cdecl=
  60377. +fi
  60378. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  60379. + AC_MSG_RESULT(failed)
  60380. +else
  60381. + AC_MSG_RESULT(ok)
  60382. +fi
  60383. +
  60384. +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  60385. + [Take the output of nm and produce a listing of raw symbols and C names])
  60386. +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  60387. + [Transform the output of nm in a proper C declaration])
  60388. +_LT_DECL([global_symbol_to_c_name_address],
  60389. + [lt_cv_sys_global_symbol_to_c_name_address], [1],
  60390. + [Transform the output of nm in a C name address pair])
  60391. +_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  60392. + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  60393. + [Transform the output of nm in a C name address pair when lib prefix is needed])
  60394. +]) # _LT_CMD_GLOBAL_SYMBOLS
  60395. +
  60396. +
  60397. +# _LT_COMPILER_PIC([TAGNAME])
  60398. +# ---------------------------
  60399. +m4_defun([_LT_COMPILER_PIC],
  60400. +[m4_require([_LT_TAG_COMPILER])dnl
  60401. +_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  60402. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  60403. +_LT_TAGVAR(lt_prog_compiler_static, $1)=
  60404. +
  60405. +AC_MSG_CHECKING([for $compiler option to produce PIC])
  60406. +m4_if([$1], [CXX], [
  60407. + # C++ specific cases for pic, static, wl, etc.
  60408. + if test "$GXX" = yes; then
  60409. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60410. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  60411. +
  60412. + case $host_os in
  60413. + aix*)
  60414. + # All AIX code is PIC.
  60415. + if test "$host_cpu" = ia64; then
  60416. + # AIX 5 now supports IA64 processor
  60417. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60418. + fi
  60419. + ;;
  60420. +
  60421. + amigaos*)
  60422. + case $host_cpu in
  60423. + powerpc)
  60424. + # see comment about AmigaOS4 .so support
  60425. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60426. + ;;
  60427. + m68k)
  60428. + # FIXME: we need at least 68020 code to build shared libraries, but
  60429. + # adding the `-m68020' flag to GCC prevents building anything better,
  60430. + # like `-m68040'.
  60431. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  60432. + ;;
  60433. + esac
  60434. + ;;
  60435. +
  60436. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  60437. + # PIC is the default for these OSes.
  60438. + ;;
  60439. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  60440. + # This hack is so that the source file can tell whether it is being
  60441. + # built for inclusion in a dll (and should export symbols for example).
  60442. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  60443. + # (--disable-auto-import) libraries
  60444. + m4_if([$1], [GCJ], [],
  60445. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  60446. + ;;
  60447. + darwin* | rhapsody*)
  60448. + # PIC is the default on this platform
  60449. + # Common symbols not allowed in MH_DYLIB files
  60450. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  60451. + ;;
  60452. + *djgpp*)
  60453. + # DJGPP does not support shared libraries at all
  60454. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  60455. + ;;
  60456. + interix[[3-9]]*)
  60457. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  60458. + # Instead, we relocate shared libraries at runtime.
  60459. + ;;
  60460. + sysv4*MP*)
  60461. + if test -d /usr/nec; then
  60462. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  60463. + fi
  60464. + ;;
  60465. + hpux*)
  60466. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  60467. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  60468. + # sets the default TLS model and affects inlining.
  60469. + case $host_cpu in
  60470. + hppa*64*)
  60471. + ;;
  60472. + *)
  60473. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60474. + ;;
  60475. + esac
  60476. + ;;
  60477. + *qnx* | *nto*)
  60478. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  60479. + # it will coredump.
  60480. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  60481. + ;;
  60482. + *)
  60483. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60484. + ;;
  60485. + esac
  60486. + else
  60487. + case $host_os in
  60488. + aix[[4-9]]*)
  60489. + # All AIX code is PIC.
  60490. + if test "$host_cpu" = ia64; then
  60491. + # AIX 5 now supports IA64 processor
  60492. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60493. + else
  60494. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  60495. + fi
  60496. + ;;
  60497. + chorus*)
  60498. + case $cc_basename in
  60499. + cxch68*)
  60500. + # Green Hills C++ Compiler
  60501. + # _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"
  60502. + ;;
  60503. + esac
  60504. + ;;
  60505. + dgux*)
  60506. + case $cc_basename in
  60507. + ec++*)
  60508. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60509. + ;;
  60510. + ghcx*)
  60511. + # Green Hills C++ Compiler
  60512. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  60513. + ;;
  60514. + *)
  60515. + ;;
  60516. + esac
  60517. + ;;
  60518. + freebsd* | dragonfly*)
  60519. + # FreeBSD uses GNU C++
  60520. + ;;
  60521. + hpux9* | hpux10* | hpux11*)
  60522. + case $cc_basename in
  60523. + CC*)
  60524. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60525. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  60526. + if test "$host_cpu" != ia64; then
  60527. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  60528. + fi
  60529. + ;;
  60530. + aCC*)
  60531. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60532. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  60533. + case $host_cpu in
  60534. + hppa*64*|ia64*)
  60535. + # +Z the default
  60536. + ;;
  60537. + *)
  60538. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  60539. + ;;
  60540. + esac
  60541. + ;;
  60542. + *)
  60543. + ;;
  60544. + esac
  60545. + ;;
  60546. + interix*)
  60547. + # This is c89, which is MS Visual C++ (no shared libs)
  60548. + # Anyone wants to do a port?
  60549. + ;;
  60550. + irix5* | irix6* | nonstopux*)
  60551. + case $cc_basename in
  60552. + CC*)
  60553. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60554. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  60555. + # CC pic flag -KPIC is the default.
  60556. + ;;
  60557. + *)
  60558. + ;;
  60559. + esac
  60560. + ;;
  60561. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  60562. + case $cc_basename in
  60563. + KCC*)
  60564. + # KAI C++ Compiler
  60565. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  60566. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60567. + ;;
  60568. + ecpc* )
  60569. + # old Intel C++ for x86_64 which still supported -KPIC.
  60570. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60571. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60572. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  60573. + ;;
  60574. + icpc* )
  60575. + # Intel C++, used to be incompatible with GCC.
  60576. + # ICC 10 doesn't accept -KPIC any more.
  60577. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60578. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60579. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  60580. + ;;
  60581. + pgCC* | pgcpp*)
  60582. + # Portland Group C++ compiler
  60583. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60584. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  60585. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60586. + ;;
  60587. + cxx*)
  60588. + # Compaq C++
  60589. + # Make sure the PIC flag is empty. It appears that all Alpha
  60590. + # Linux and Compaq Tru64 Unix objects are PIC.
  60591. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  60592. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  60593. + ;;
  60594. + xlc* | xlC*)
  60595. + # IBM XL 8.0 on PPC
  60596. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60597. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  60598. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  60599. + ;;
  60600. + *)
  60601. + case `$CC -V 2>&1 | sed 5q` in
  60602. + *Sun\ C*)
  60603. + # Sun C++ 5.9
  60604. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60605. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60606. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  60607. + ;;
  60608. + esac
  60609. + ;;
  60610. + esac
  60611. + ;;
  60612. + lynxos*)
  60613. + ;;
  60614. + m88k*)
  60615. + ;;
  60616. + mvs*)
  60617. + case $cc_basename in
  60618. + cxx*)
  60619. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  60620. + ;;
  60621. + *)
  60622. + ;;
  60623. + esac
  60624. + ;;
  60625. + netbsd* | netbsdelf*-gnu)
  60626. + ;;
  60627. + *qnx* | *nto*)
  60628. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  60629. + # it will coredump.
  60630. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  60631. + ;;
  60632. + osf3* | osf4* | osf5*)
  60633. + case $cc_basename in
  60634. + KCC*)
  60635. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  60636. + ;;
  60637. + RCC*)
  60638. + # Rational C++ 2.4.1
  60639. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  60640. + ;;
  60641. + cxx*)
  60642. + # Digital/Compaq C++
  60643. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60644. + # Make sure the PIC flag is empty. It appears that all Alpha
  60645. + # Linux and Compaq Tru64 Unix objects are PIC.
  60646. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  60647. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  60648. + ;;
  60649. + *)
  60650. + ;;
  60651. + esac
  60652. + ;;
  60653. + psos*)
  60654. + ;;
  60655. + solaris*)
  60656. + case $cc_basename in
  60657. + CC*)
  60658. + # Sun C++ 4.2, 5.x and Centerline C++
  60659. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60660. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60661. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  60662. + ;;
  60663. + gcx*)
  60664. + # Green Hills C++ Compiler
  60665. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  60666. + ;;
  60667. + *)
  60668. + ;;
  60669. + esac
  60670. + ;;
  60671. + sunos4*)
  60672. + case $cc_basename in
  60673. + CC*)
  60674. + # Sun C++ 4.x
  60675. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  60676. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60677. + ;;
  60678. + lcc*)
  60679. + # Lucid
  60680. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  60681. + ;;
  60682. + *)
  60683. + ;;
  60684. + esac
  60685. + ;;
  60686. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  60687. + case $cc_basename in
  60688. + CC*)
  60689. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60690. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60691. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60692. + ;;
  60693. + esac
  60694. + ;;
  60695. + tandem*)
  60696. + case $cc_basename in
  60697. + NCC*)
  60698. + # NonStop-UX NCC 3.20
  60699. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60700. + ;;
  60701. + *)
  60702. + ;;
  60703. + esac
  60704. + ;;
  60705. + vxworks*)
  60706. + ;;
  60707. + *)
  60708. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  60709. + ;;
  60710. + esac
  60711. + fi
  60712. +],
  60713. +[
  60714. + if test "$GCC" = yes; then
  60715. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60716. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  60717. +
  60718. + case $host_os in
  60719. + aix*)
  60720. + # All AIX code is PIC.
  60721. + if test "$host_cpu" = ia64; then
  60722. + # AIX 5 now supports IA64 processor
  60723. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60724. + fi
  60725. + ;;
  60726. +
  60727. + amigaos*)
  60728. + case $host_cpu in
  60729. + powerpc)
  60730. + # see comment about AmigaOS4 .so support
  60731. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60732. + ;;
  60733. + m68k)
  60734. + # FIXME: we need at least 68020 code to build shared libraries, but
  60735. + # adding the `-m68020' flag to GCC prevents building anything better,
  60736. + # like `-m68040'.
  60737. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  60738. + ;;
  60739. + esac
  60740. + ;;
  60741. +
  60742. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  60743. + # PIC is the default for these OSes.
  60744. + ;;
  60745. +
  60746. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  60747. + # This hack is so that the source file can tell whether it is being
  60748. + # built for inclusion in a dll (and should export symbols for example).
  60749. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  60750. + # (--disable-auto-import) libraries
  60751. + m4_if([$1], [GCJ], [],
  60752. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  60753. + ;;
  60754. +
  60755. + darwin* | rhapsody*)
  60756. + # PIC is the default on this platform
  60757. + # Common symbols not allowed in MH_DYLIB files
  60758. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  60759. + ;;
  60760. +
  60761. + hpux*)
  60762. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  60763. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  60764. + # sets the default TLS model and affects inlining.
  60765. + case $host_cpu in
  60766. + hppa*64*)
  60767. + # +Z the default
  60768. + ;;
  60769. + *)
  60770. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60771. + ;;
  60772. + esac
  60773. + ;;
  60774. +
  60775. + interix[[3-9]]*)
  60776. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  60777. + # Instead, we relocate shared libraries at runtime.
  60778. + ;;
  60779. +
  60780. + msdosdjgpp*)
  60781. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  60782. + # on systems that don't support them.
  60783. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  60784. + enable_shared=no
  60785. + ;;
  60786. +
  60787. + *nto* | *qnx*)
  60788. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  60789. + # it will coredump.
  60790. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  60791. + ;;
  60792. +
  60793. + sysv4*MP*)
  60794. + if test -d /usr/nec; then
  60795. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  60796. + fi
  60797. + ;;
  60798. +
  60799. + *)
  60800. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60801. + ;;
  60802. + esac
  60803. + else
  60804. + # PORTME Check for flag to pass linker flags through the system compiler.
  60805. + case $host_os in
  60806. + aix*)
  60807. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60808. + if test "$host_cpu" = ia64; then
  60809. + # AIX 5 now supports IA64 processor
  60810. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60811. + else
  60812. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  60813. + fi
  60814. + ;;
  60815. +
  60816. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  60817. + # This hack is so that the source file can tell whether it is being
  60818. + # built for inclusion in a dll (and should export symbols for example).
  60819. + m4_if([$1], [GCJ], [],
  60820. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  60821. + ;;
  60822. +
  60823. + hpux9* | hpux10* | hpux11*)
  60824. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60825. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  60826. + # not for PA HP-UX.
  60827. + case $host_cpu in
  60828. + hppa*64*|ia64*)
  60829. + # +Z the default
  60830. + ;;
  60831. + *)
  60832. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  60833. + ;;
  60834. + esac
  60835. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  60836. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  60837. + ;;
  60838. +
  60839. + irix5* | irix6* | nonstopux*)
  60840. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60841. + # PIC (with -KPIC) is the default.
  60842. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  60843. + ;;
  60844. +
  60845. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  60846. + case $cc_basename in
  60847. + # old Intel for x86_64 which still supported -KPIC.
  60848. + ecc*)
  60849. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60850. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60851. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  60852. + ;;
  60853. + # icc used to be incompatible with GCC.
  60854. + # ICC 10 doesn't accept -KPIC any more.
  60855. + icc* | ifort*)
  60856. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60857. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  60858. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  60859. + ;;
  60860. + # Lahey Fortran 8.1.
  60861. + lf95*)
  60862. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60863. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  60864. + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  60865. + ;;
  60866. + pgcc* | pgf77* | pgf90* | pgf95*)
  60867. + # Portland Group compilers (*not* the Pentium gcc compiler,
  60868. + # which looks to be a dead project)
  60869. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60870. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  60871. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60872. + ;;
  60873. + ccc*)
  60874. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60875. + # All Alpha code is PIC.
  60876. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  60877. + ;;
  60878. + xl*)
  60879. + # IBM XL C 8.0/Fortran 10.1 on PPC
  60880. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60881. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  60882. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  60883. + ;;
  60884. + *)
  60885. + case `$CC -V 2>&1 | sed 5q` in
  60886. + *Sun\ C*)
  60887. + # Sun C 5.9
  60888. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60889. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60890. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60891. + ;;
  60892. + *Sun\ F*)
  60893. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  60894. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60895. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60896. + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  60897. + ;;
  60898. + esac
  60899. + ;;
  60900. + esac
  60901. + ;;
  60902. +
  60903. + newsos6)
  60904. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60905. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60906. + ;;
  60907. +
  60908. + *nto* | *qnx*)
  60909. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  60910. + # it will coredump.
  60911. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  60912. + ;;
  60913. +
  60914. + osf3* | osf4* | osf5*)
  60915. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60916. + # All OSF/1 code is PIC.
  60917. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  60918. + ;;
  60919. +
  60920. + rdos*)
  60921. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  60922. + ;;
  60923. +
  60924. + solaris*)
  60925. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60926. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60927. + case $cc_basename in
  60928. + f77* | f90* | f95*)
  60929. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  60930. + *)
  60931. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  60932. + esac
  60933. + ;;
  60934. +
  60935. + sunos4*)
  60936. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  60937. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  60938. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60939. + ;;
  60940. +
  60941. + sysv4 | sysv4.2uw2* | sysv4.3*)
  60942. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60943. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60944. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60945. + ;;
  60946. +
  60947. + sysv4*MP*)
  60948. + if test -d /usr/nec ;then
  60949. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  60950. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60951. + fi
  60952. + ;;
  60953. +
  60954. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  60955. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60956. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  60957. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60958. + ;;
  60959. +
  60960. + unicos*)
  60961. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  60962. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  60963. + ;;
  60964. +
  60965. + uts4*)
  60966. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  60967. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  60968. + ;;
  60969. +
  60970. + *)
  60971. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  60972. + ;;
  60973. + esac
  60974. + fi
  60975. +])
  60976. +case $host_os in
  60977. + # For platforms which do not support PIC, -DPIC is meaningless:
  60978. + *djgpp*)
  60979. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  60980. + ;;
  60981. + *)
  60982. + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  60983. + ;;
  60984. +esac
  60985. +AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  60986. +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  60987. + [How to pass a linker flag through the compiler])
  60988. +
  60989. +#
  60990. +# Check to make sure the PIC flag actually works.
  60991. +#
  60992. +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  60993. + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  60994. + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  60995. + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  60996. + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  60997. + "" | " "*) ;;
  60998. + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  60999. + esac],
  61000. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  61001. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  61002. +fi
  61003. +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  61004. + [Additional compiler flags for building library objects])
  61005. +
  61006. +#
  61007. +# Check to make sure the static flag actually works.
  61008. +#
  61009. +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  61010. +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  61011. + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  61012. + $lt_tmp_static_flag,
  61013. + [],
  61014. + [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  61015. +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  61016. + [Compiler flag to prevent dynamic linking])
  61017. +])# _LT_COMPILER_PIC
  61018. +
  61019. +
  61020. +# _LT_LINKER_SHLIBS([TAGNAME])
  61021. +# ----------------------------
  61022. +# See if the linker supports building shared libraries.
  61023. +m4_defun([_LT_LINKER_SHLIBS],
  61024. +[AC_REQUIRE([LT_PATH_LD])dnl
  61025. +AC_REQUIRE([LT_PATH_NM])dnl
  61026. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  61027. +m4_require([_LT_DECL_EGREP])dnl
  61028. +m4_require([_LT_DECL_SED])dnl
  61029. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  61030. +m4_require([_LT_TAG_COMPILER])dnl
  61031. +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  61032. +m4_if([$1], [CXX], [
  61033. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  61034. + case $host_os in
  61035. + aix[[4-9]]*)
  61036. + # If we're using GNU nm, then we don't want the "-C" option.
  61037. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  61038. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  61039. + _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'
  61040. + else
  61041. + _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'
  61042. + fi
  61043. + ;;
  61044. + pw32*)
  61045. + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  61046. + ;;
  61047. + cygwin* | mingw* | cegcc*)
  61048. + _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'
  61049. + ;;
  61050. + linux* | k*bsd*-gnu)
  61051. + _LT_TAGVAR(link_all_deplibs, $1)=no
  61052. + ;;
  61053. + *)
  61054. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  61055. + ;;
  61056. + esac
  61057. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  61058. +], [
  61059. + runpath_var=
  61060. + _LT_TAGVAR(allow_undefined_flag, $1)=
  61061. + _LT_TAGVAR(always_export_symbols, $1)=no
  61062. + _LT_TAGVAR(archive_cmds, $1)=
  61063. + _LT_TAGVAR(archive_expsym_cmds, $1)=
  61064. + _LT_TAGVAR(compiler_needs_object, $1)=no
  61065. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  61066. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  61067. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  61068. + _LT_TAGVAR(hardcode_automatic, $1)=no
  61069. + _LT_TAGVAR(hardcode_direct, $1)=no
  61070. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  61071. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  61072. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  61073. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  61074. + _LT_TAGVAR(hardcode_minus_L, $1)=no
  61075. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  61076. + _LT_TAGVAR(inherit_rpath, $1)=no
  61077. + _LT_TAGVAR(link_all_deplibs, $1)=unknown
  61078. + _LT_TAGVAR(module_cmds, $1)=
  61079. + _LT_TAGVAR(module_expsym_cmds, $1)=
  61080. + _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  61081. + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  61082. + _LT_TAGVAR(thread_safe_flag_spec, $1)=
  61083. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  61084. + # include_expsyms should be a list of space-separated symbols to be *always*
  61085. + # included in the symbol list
  61086. + _LT_TAGVAR(include_expsyms, $1)=
  61087. + # exclude_expsyms can be an extended regexp of symbols to exclude
  61088. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  61089. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  61090. + # as well as any symbol that contains `d'.
  61091. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  61092. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  61093. + # platforms (ab)use it in PIC code, but their linkers get confused if
  61094. + # the symbol is explicitly referenced. Since portable code cannot
  61095. + # rely on this symbol name, it's probably fine to never include it in
  61096. + # preloaded symbol tables.
  61097. + # Exclude shared library initialization/finalization symbols.
  61098. +dnl Note also adjust exclude_expsyms for C++ above.
  61099. + extract_expsyms_cmds=
  61100. +
  61101. + case $host_os in
  61102. + cygwin* | mingw* | pw32* | cegcc*)
  61103. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  61104. + # When not using gcc, we currently assume that we are using
  61105. + # Microsoft Visual C++.
  61106. + if test "$GCC" != yes; then
  61107. + with_gnu_ld=no
  61108. + fi
  61109. + ;;
  61110. + interix*)
  61111. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  61112. + with_gnu_ld=yes
  61113. + ;;
  61114. + openbsd*)
  61115. + with_gnu_ld=no
  61116. + ;;
  61117. + linux* | k*bsd*-gnu)
  61118. + _LT_TAGVAR(link_all_deplibs, $1)=no
  61119. + ;;
  61120. + esac
  61121. +
  61122. + _LT_TAGVAR(ld_shlibs, $1)=yes
  61123. + if test "$with_gnu_ld" = yes; then
  61124. + # If archive_cmds runs LD, not CC, wlarc should be empty
  61125. + wlarc='${wl}'
  61126. +
  61127. + # Set some defaults for GNU ld with shared library support. These
  61128. + # are reset later if shared libraries are not supported. Putting them
  61129. + # here allows them to be overridden if necessary.
  61130. + runpath_var=LD_RUN_PATH
  61131. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  61132. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  61133. + # ancient GNU ld didn't support --whole-archive et. al.
  61134. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  61135. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  61136. + else
  61137. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  61138. + fi
  61139. + supports_anon_versioning=no
  61140. + case `$LD -v 2>&1` in
  61141. + *GNU\ gold*) supports_anon_versioning=yes ;;
  61142. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  61143. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  61144. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  61145. + *\ 2.11.*) ;; # other 2.11 versions
  61146. + *) supports_anon_versioning=yes ;;
  61147. + esac
  61148. +
  61149. + # See if GNU ld supports shared libraries.
  61150. + case $host_os in
  61151. + aix[[3-9]]*)
  61152. + # On AIX/PPC, the GNU linker is very broken
  61153. + if test "$host_cpu" != ia64; then
  61154. + _LT_TAGVAR(ld_shlibs, $1)=no
  61155. + cat <<_LT_EOF 1>&2
  61156. +
  61157. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  61158. +*** to be unable to reliably create shared libraries on AIX.
  61159. +*** Therefore, libtool is disabling shared libraries support. If you
  61160. +*** really care for shared libraries, you may want to modify your PATH
  61161. +*** so that a non-GNU linker is found, and then restart.
  61162. +
  61163. +_LT_EOF
  61164. + fi
  61165. + ;;
  61166. +
  61167. + amigaos*)
  61168. + case $host_cpu in
  61169. + powerpc)
  61170. + # see comment about AmigaOS4 .so support
  61171. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61172. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  61173. + ;;
  61174. + m68k)
  61175. + _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)'
  61176. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61177. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61178. + ;;
  61179. + esac
  61180. + ;;
  61181. +
  61182. + beos*)
  61183. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  61184. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  61185. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  61186. + # support --undefined. This deserves some investigation. FIXME
  61187. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61188. + else
  61189. + _LT_TAGVAR(ld_shlibs, $1)=no
  61190. + fi
  61191. + ;;
  61192. +
  61193. + cygwin* | mingw* | pw32* | cegcc*)
  61194. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  61195. + # as there is no search path for DLLs.
  61196. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61197. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  61198. + _LT_TAGVAR(always_export_symbols, $1)=no
  61199. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  61200. + _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'
  61201. +
  61202. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  61203. + _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'
  61204. + # If the export-symbols file already is a .def file (1st line
  61205. + # is EXPORTS), use it as is; otherwise, prepend...
  61206. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  61207. + cp $export_symbols $output_objdir/$soname.def;
  61208. + else
  61209. + echo EXPORTS > $output_objdir/$soname.def;
  61210. + cat $export_symbols >> $output_objdir/$soname.def;
  61211. + fi~
  61212. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  61213. + else
  61214. + _LT_TAGVAR(ld_shlibs, $1)=no
  61215. + fi
  61216. + ;;
  61217. +
  61218. + interix[[3-9]]*)
  61219. + _LT_TAGVAR(hardcode_direct, $1)=no
  61220. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61221. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  61222. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  61223. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  61224. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  61225. + # default) and relocated if they conflict, which is a slow very memory
  61226. + # consuming and fragmenting process. To avoid this, we pick a random,
  61227. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  61228. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  61229. + _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'
  61230. + _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'
  61231. + ;;
  61232. +
  61233. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  61234. + tmp_diet=no
  61235. + if test "$host_os" = linux-dietlibc; then
  61236. + case $cc_basename in
  61237. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  61238. + esac
  61239. + fi
  61240. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  61241. + && test "$tmp_diet" = no
  61242. + then
  61243. + tmp_addflag=
  61244. + tmp_sharedflag='-shared'
  61245. + case $cc_basename,$host_cpu in
  61246. + pgcc*) # Portland Group C compiler
  61247. + _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'
  61248. + tmp_addflag=' $pic_flag'
  61249. + ;;
  61250. + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  61251. + _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'
  61252. + tmp_addflag=' $pic_flag -Mnomain' ;;
  61253. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  61254. + tmp_addflag=' -i_dynamic' ;;
  61255. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  61256. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  61257. + ifc* | ifort*) # Intel Fortran compiler
  61258. + tmp_addflag=' -nofor_main' ;;
  61259. + lf95*) # Lahey Fortran 8.1
  61260. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  61261. + tmp_sharedflag='--shared' ;;
  61262. + xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  61263. + tmp_sharedflag='-qmkshrobj'
  61264. + tmp_addflag= ;;
  61265. + esac
  61266. + case `$CC -V 2>&1 | sed 5q` in
  61267. + *Sun\ C*) # Sun C 5.9
  61268. + _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'
  61269. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  61270. + tmp_sharedflag='-G' ;;
  61271. + *Sun\ F*) # Sun Fortran 8.3
  61272. + tmp_sharedflag='-G' ;;
  61273. + esac
  61274. + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61275. +
  61276. + if test "x$supports_anon_versioning" = xyes; then
  61277. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  61278. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  61279. + echo "local: *; };" >> $output_objdir/$libname.ver~
  61280. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  61281. + fi
  61282. +
  61283. + case $cc_basename in
  61284. + xlf*)
  61285. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  61286. + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  61287. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  61288. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  61289. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  61290. + if test "x$supports_anon_versioning" = xyes; then
  61291. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  61292. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  61293. + echo "local: *; };" >> $output_objdir/$libname.ver~
  61294. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  61295. + fi
  61296. + ;;
  61297. + esac
  61298. + else
  61299. + _LT_TAGVAR(ld_shlibs, $1)=no
  61300. + fi
  61301. + ;;
  61302. +
  61303. + netbsd* | netbsdelf*-gnu)
  61304. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  61305. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  61306. + wlarc=
  61307. + else
  61308. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61309. + _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'
  61310. + fi
  61311. + ;;
  61312. +
  61313. + solaris*)
  61314. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  61315. + _LT_TAGVAR(ld_shlibs, $1)=no
  61316. + cat <<_LT_EOF 1>&2
  61317. +
  61318. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  61319. +*** create shared libraries on Solaris systems. Therefore, libtool
  61320. +*** is disabling shared libraries support. We urge you to upgrade GNU
  61321. +*** binutils to release 2.9.1 or newer. Another option is to modify
  61322. +*** your PATH or compiler configuration so that the native linker is
  61323. +*** used, and then restart.
  61324. +
  61325. +_LT_EOF
  61326. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  61327. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61328. + _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'
  61329. + else
  61330. + _LT_TAGVAR(ld_shlibs, $1)=no
  61331. + fi
  61332. + ;;
  61333. +
  61334. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  61335. + case `$LD -v 2>&1` in
  61336. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  61337. + _LT_TAGVAR(ld_shlibs, $1)=no
  61338. + cat <<_LT_EOF 1>&2
  61339. +
  61340. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  61341. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  61342. +*** is disabling shared libraries support. We urge you to upgrade GNU
  61343. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  61344. +*** your PATH or compiler configuration so that the native linker is
  61345. +*** used, and then restart.
  61346. +
  61347. +_LT_EOF
  61348. + ;;
  61349. + *)
  61350. + # For security reasons, it is highly recommended that you always
  61351. + # use absolute paths for naming shared libraries, and exclude the
  61352. + # DT_RUNPATH tag from executables and libraries. But doing so
  61353. + # requires that you compile everything twice, which is a pain.
  61354. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  61355. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  61356. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61357. + _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'
  61358. + else
  61359. + _LT_TAGVAR(ld_shlibs, $1)=no
  61360. + fi
  61361. + ;;
  61362. + esac
  61363. + ;;
  61364. +
  61365. + sunos4*)
  61366. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  61367. + wlarc=
  61368. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61369. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61370. + ;;
  61371. +
  61372. + *)
  61373. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  61374. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61375. + _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'
  61376. + else
  61377. + _LT_TAGVAR(ld_shlibs, $1)=no
  61378. + fi
  61379. + ;;
  61380. + esac
  61381. +
  61382. + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  61383. + runpath_var=
  61384. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  61385. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  61386. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  61387. + fi
  61388. + else
  61389. + # PORTME fill in a description of your system's linker (not GNU ld)
  61390. + case $host_os in
  61391. + aix3*)
  61392. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  61393. + _LT_TAGVAR(always_export_symbols, $1)=yes
  61394. + _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'
  61395. + # Note: this linker hardcodes the directories in LIBPATH if there
  61396. + # are no directories specified by -L.
  61397. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61398. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  61399. + # Neither direct hardcoding nor static linking is supported with a
  61400. + # broken collect2.
  61401. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  61402. + fi
  61403. + ;;
  61404. +
  61405. + aix[[4-9]]*)
  61406. + if test "$host_cpu" = ia64; then
  61407. + # On IA64, the linker does run time linking by default, so we don't
  61408. + # have to do anything special.
  61409. + aix_use_runtimelinking=no
  61410. + exp_sym_flag='-Bexport'
  61411. + no_entry_flag=""
  61412. + else
  61413. + # If we're using GNU nm, then we don't want the "-C" option.
  61414. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  61415. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  61416. + _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'
  61417. + else
  61418. + _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'
  61419. + fi
  61420. + aix_use_runtimelinking=no
  61421. +
  61422. + # Test if we are trying to use run time linking or normal
  61423. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  61424. + # need to do runtime linking.
  61425. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  61426. + for ld_flag in $LDFLAGS; do
  61427. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  61428. + aix_use_runtimelinking=yes
  61429. + break
  61430. + fi
  61431. + done
  61432. + ;;
  61433. + esac
  61434. +
  61435. + exp_sym_flag='-bexport'
  61436. + no_entry_flag='-bnoentry'
  61437. + fi
  61438. +
  61439. + # When large executables or shared objects are built, AIX ld can
  61440. + # have problems creating the table of contents. If linking a library
  61441. + # or program results in "error TOC overflow" add -mminimal-toc to
  61442. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  61443. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  61444. +
  61445. + _LT_TAGVAR(archive_cmds, $1)=''
  61446. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61447. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  61448. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  61449. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  61450. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  61451. +
  61452. + if test "$GCC" = yes; then
  61453. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  61454. + # We only want to do this on AIX 4.2 and lower, the check
  61455. + # below for broken collect2 doesn't work under 4.3+
  61456. + collect2name=`${CC} -print-prog-name=collect2`
  61457. + if test -f "$collect2name" &&
  61458. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  61459. + then
  61460. + # We have reworked collect2
  61461. + :
  61462. + else
  61463. + # We have old collect2
  61464. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  61465. + # It fails to find uninstalled libraries when the uninstalled
  61466. + # path is not listed in the libpath. Setting hardcode_minus_L
  61467. + # to unsupported forces relinking
  61468. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61469. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61470. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  61471. + fi
  61472. + ;;
  61473. + esac
  61474. + shared_flag='-shared'
  61475. + if test "$aix_use_runtimelinking" = yes; then
  61476. + shared_flag="$shared_flag "'${wl}-G'
  61477. + fi
  61478. + _LT_TAGVAR(link_all_deplibs, $1)=no
  61479. + else
  61480. + # not using gcc
  61481. + if test "$host_cpu" = ia64; then
  61482. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  61483. + # chokes on -Wl,-G. The following line is correct:
  61484. + shared_flag='-G'
  61485. + else
  61486. + if test "$aix_use_runtimelinking" = yes; then
  61487. + shared_flag='${wl}-G'
  61488. + else
  61489. + shared_flag='${wl}-bM:SRE'
  61490. + fi
  61491. + fi
  61492. + fi
  61493. +
  61494. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  61495. + # It seems that -bexpall does not export symbols beginning with
  61496. + # underscore (_), so it is better to generate a list of symbols to export.
  61497. + _LT_TAGVAR(always_export_symbols, $1)=yes
  61498. + if test "$aix_use_runtimelinking" = yes; then
  61499. + # Warning - without using the other runtime loading flags (-brtl),
  61500. + # -berok will link without error, but may produce a broken library.
  61501. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  61502. + # Determine the default libpath from the value encoded in an
  61503. + # empty executable.
  61504. + _LT_SYS_MODULE_PATH_AIX
  61505. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  61506. + _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"
  61507. + else
  61508. + if test "$host_cpu" = ia64; then
  61509. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  61510. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  61511. + _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"
  61512. + else
  61513. + # Determine the default libpath from the value encoded in an
  61514. + # empty executable.
  61515. + _LT_SYS_MODULE_PATH_AIX
  61516. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  61517. + # Warning - without using the other run time loading flags,
  61518. + # -berok will link without error, but may produce a broken library.
  61519. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  61520. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  61521. + # Exported symbols can be pulled into shared objects from archives
  61522. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  61523. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  61524. + # This is similar to how AIX traditionally builds its shared libraries.
  61525. + _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'
  61526. + fi
  61527. + fi
  61528. + ;;
  61529. +
  61530. + amigaos*)
  61531. + case $host_cpu in
  61532. + powerpc)
  61533. + # see comment about AmigaOS4 .so support
  61534. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  61535. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  61536. + ;;
  61537. + m68k)
  61538. + _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)'
  61539. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61540. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61541. + ;;
  61542. + esac
  61543. + ;;
  61544. +
  61545. + bsdi[[45]]*)
  61546. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  61547. + ;;
  61548. +
  61549. + cygwin* | mingw* | pw32* | cegcc*)
  61550. + # When not using gcc, we currently assume that we are using
  61551. + # Microsoft Visual C++.
  61552. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  61553. + # no search path for DLLs.
  61554. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  61555. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  61556. + # Tell ltmain to make .lib files, not .a files.
  61557. + libext=lib
  61558. + # Tell ltmain to make .dll files, not .so files.
  61559. + shrext_cmds=".dll"
  61560. + # FIXME: Setting linknames here is a bad hack.
  61561. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  61562. + # The linker will automatically build a .lib file if we build a DLL.
  61563. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  61564. + # FIXME: Should let the user specify the lib program.
  61565. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  61566. + _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  61567. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  61568. + ;;
  61569. +
  61570. + darwin* | rhapsody*)
  61571. + _LT_DARWIN_LINKER_FEATURES($1)
  61572. + ;;
  61573. +
  61574. + dgux*)
  61575. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61576. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61577. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61578. + ;;
  61579. +
  61580. + freebsd1*)
  61581. + _LT_TAGVAR(ld_shlibs, $1)=no
  61582. + ;;
  61583. +
  61584. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  61585. + # support. Future versions do this automatically, but an explicit c++rt0.o
  61586. + # does not break anything, and helps significantly (at the cost of a little
  61587. + # extra space).
  61588. + freebsd2.2*)
  61589. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  61590. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  61591. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61592. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61593. + ;;
  61594. +
  61595. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  61596. + freebsd2*)
  61597. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  61598. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61599. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61600. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61601. + ;;
  61602. +
  61603. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  61604. + freebsd* | dragonfly*)
  61605. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  61606. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  61607. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61608. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61609. + ;;
  61610. +
  61611. + hpux9*)
  61612. + if test "$GCC" = yes; then
  61613. + _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'
  61614. + else
  61615. + _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'
  61616. + fi
  61617. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  61618. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  61619. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61620. +
  61621. + # hardcode_minus_L: Not really in the search PATH,
  61622. + # but as the default location of the library.
  61623. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61624. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  61625. + ;;
  61626. +
  61627. + hpux10*)
  61628. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  61629. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  61630. + else
  61631. + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  61632. + fi
  61633. + if test "$with_gnu_ld" = no; then
  61634. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  61635. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  61636. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  61637. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61638. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  61639. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  61640. + # hardcode_minus_L: Not really in the search PATH,
  61641. + # but as the default location of the library.
  61642. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61643. + fi
  61644. + ;;
  61645. +
  61646. + hpux11*)
  61647. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  61648. + case $host_cpu in
  61649. + hppa*64*)
  61650. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  61651. + ;;
  61652. + ia64*)
  61653. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  61654. + ;;
  61655. + *)
  61656. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  61657. + ;;
  61658. + esac
  61659. + else
  61660. + case $host_cpu in
  61661. + hppa*64*)
  61662. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  61663. + ;;
  61664. + ia64*)
  61665. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  61666. + ;;
  61667. + *)
  61668. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  61669. + ;;
  61670. + esac
  61671. + fi
  61672. + if test "$with_gnu_ld" = no; then
  61673. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  61674. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  61675. +
  61676. + case $host_cpu in
  61677. + hppa*64*|ia64*)
  61678. + _LT_TAGVAR(hardcode_direct, $1)=no
  61679. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61680. + ;;
  61681. + *)
  61682. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61683. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  61684. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  61685. +
  61686. + # hardcode_minus_L: Not really in the search PATH,
  61687. + # but as the default location of the library.
  61688. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61689. + ;;
  61690. + esac
  61691. + fi
  61692. + ;;
  61693. +
  61694. + irix5* | irix6* | nonstopux*)
  61695. + if test "$GCC" = yes; then
  61696. + _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'
  61697. + # Try to use the -exported_symbol ld option, if it does not
  61698. + # work, assume that -exports_file does not work either and
  61699. + # implicitly export all symbols.
  61700. + save_LDFLAGS="$LDFLAGS"
  61701. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  61702. + AC_LINK_IFELSE(int foo(void) {},
  61703. + _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'
  61704. + )
  61705. + LDFLAGS="$save_LDFLAGS"
  61706. + else
  61707. + _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'
  61708. + _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'
  61709. + fi
  61710. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  61711. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  61712. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  61713. + _LT_TAGVAR(inherit_rpath, $1)=yes
  61714. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  61715. + ;;
  61716. +
  61717. + netbsd* | netbsdelf*-gnu)
  61718. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  61719. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  61720. + else
  61721. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  61722. + fi
  61723. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  61724. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61725. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61726. + ;;
  61727. +
  61728. + newsos6)
  61729. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61730. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61731. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  61732. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  61733. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61734. + ;;
  61735. +
  61736. + *nto* | *qnx*)
  61737. + ;;
  61738. +
  61739. + openbsd*)
  61740. + if test -f /usr/libexec/ld.so; then
  61741. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61742. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61743. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  61744. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  61745. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  61746. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  61747. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  61748. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  61749. + else
  61750. + case $host_os in
  61751. + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  61752. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  61753. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  61754. + ;;
  61755. + *)
  61756. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  61757. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  61758. + ;;
  61759. + esac
  61760. + fi
  61761. + else
  61762. + _LT_TAGVAR(ld_shlibs, $1)=no
  61763. + fi
  61764. + ;;
  61765. +
  61766. + os2*)
  61767. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61768. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61769. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  61770. + _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'
  61771. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  61772. + ;;
  61773. +
  61774. + osf3*)
  61775. + if test "$GCC" = yes; then
  61776. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  61777. + _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'
  61778. + else
  61779. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  61780. + _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'
  61781. + fi
  61782. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  61783. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  61784. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  61785. + ;;
  61786. +
  61787. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  61788. + if test "$GCC" = yes; then
  61789. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  61790. + _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'
  61791. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  61792. + else
  61793. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  61794. + _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'
  61795. + _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~
  61796. + $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'
  61797. +
  61798. + # Both c and cxx compiler support -rpath directly
  61799. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  61800. + fi
  61801. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  61802. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  61803. + ;;
  61804. +
  61805. + solaris*)
  61806. + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  61807. + if test "$GCC" = yes; then
  61808. + wlarc='${wl}'
  61809. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  61810. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  61811. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  61812. + else
  61813. + case `$CC -V 2>&1` in
  61814. + *"Compilers 5.0"*)
  61815. + wlarc=''
  61816. + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61817. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  61818. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  61819. + ;;
  61820. + *)
  61821. + wlarc='${wl}'
  61822. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  61823. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  61824. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  61825. + ;;
  61826. + esac
  61827. + fi
  61828. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  61829. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61830. + case $host_os in
  61831. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  61832. + *)
  61833. + # The compiler driver will combine and reorder linker options,
  61834. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  61835. + # but is careful enough not to reorder.
  61836. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  61837. + if test "$GCC" = yes; then
  61838. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  61839. + else
  61840. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  61841. + fi
  61842. + ;;
  61843. + esac
  61844. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  61845. + ;;
  61846. +
  61847. + sunos4*)
  61848. + if test "x$host_vendor" = xsequent; then
  61849. + # Use $CC to link under sequent, because it throws in some extra .o
  61850. + # files that make .init and .fini sections work.
  61851. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  61852. + else
  61853. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  61854. + fi
  61855. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61856. + _LT_TAGVAR(hardcode_direct, $1)=yes
  61857. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  61858. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61859. + ;;
  61860. +
  61861. + sysv4)
  61862. + case $host_vendor in
  61863. + sni)
  61864. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61865. + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  61866. + ;;
  61867. + siemens)
  61868. + ## LD is ld it makes a PLAMLIB
  61869. + ## CC just makes a GrossModule.
  61870. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  61871. + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  61872. + _LT_TAGVAR(hardcode_direct, $1)=no
  61873. + ;;
  61874. + motorola)
  61875. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61876. + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  61877. + ;;
  61878. + esac
  61879. + runpath_var='LD_RUN_PATH'
  61880. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61881. + ;;
  61882. +
  61883. + sysv4.3*)
  61884. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61885. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61886. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  61887. + ;;
  61888. +
  61889. + sysv4*MP*)
  61890. + if test -d /usr/nec; then
  61891. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61892. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61893. + runpath_var=LD_RUN_PATH
  61894. + hardcode_runpath_var=yes
  61895. + _LT_TAGVAR(ld_shlibs, $1)=yes
  61896. + fi
  61897. + ;;
  61898. +
  61899. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  61900. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  61901. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  61902. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61903. + runpath_var='LD_RUN_PATH'
  61904. +
  61905. + if test "$GCC" = yes; then
  61906. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61907. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61908. + else
  61909. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61910. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61911. + fi
  61912. + ;;
  61913. +
  61914. + sysv5* | sco3.2v5* | sco5v6*)
  61915. + # Note: We can NOT use -z defs as we might desire, because we do not
  61916. + # link with -lc, and that would cause any symbols used from libc to
  61917. + # always be unresolved, which means just about no library would
  61918. + # ever link correctly. If we're not using GNU ld we use -z text
  61919. + # though, which does catch some bad symbols but isn't as heavy-handed
  61920. + # as -z defs.
  61921. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  61922. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  61923. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  61924. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61925. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  61926. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  61927. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  61928. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  61929. + runpath_var='LD_RUN_PATH'
  61930. +
  61931. + if test "$GCC" = yes; then
  61932. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61933. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61934. + else
  61935. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61936. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  61937. + fi
  61938. + ;;
  61939. +
  61940. + uts4*)
  61941. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  61942. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  61943. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  61944. + ;;
  61945. +
  61946. + *)
  61947. + _LT_TAGVAR(ld_shlibs, $1)=no
  61948. + ;;
  61949. + esac
  61950. +
  61951. + if test x$host_vendor = xsni; then
  61952. + case $host in
  61953. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  61954. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  61955. + ;;
  61956. + esac
  61957. + fi
  61958. + fi
  61959. +])
  61960. +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  61961. +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  61962. +
  61963. +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  61964. +
  61965. +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  61966. +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  61967. +_LT_DECL([], [extract_expsyms_cmds], [2],
  61968. + [The commands to extract the exported symbol list from a shared archive])
  61969. +
  61970. +#
  61971. +# Do we need to explicitly link libc?
  61972. +#
  61973. +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  61974. +x|xyes)
  61975. + # Assume -lc should be added
  61976. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  61977. +
  61978. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  61979. + case $_LT_TAGVAR(archive_cmds, $1) in
  61980. + *'~'*)
  61981. + # FIXME: we may have to deal with multi-command sequences.
  61982. + ;;
  61983. + '$CC '*)
  61984. + # Test whether the compiler implicitly links with -lc since on some
  61985. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  61986. + # to ld, don't add -lc before -lgcc.
  61987. + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  61988. + $RM conftest*
  61989. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  61990. +
  61991. + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  61992. + soname=conftest
  61993. + lib=conftest
  61994. + libobjs=conftest.$ac_objext
  61995. + deplibs=
  61996. + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  61997. + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  61998. + compiler_flags=-v
  61999. + linker_flags=-v
  62000. + verstring=
  62001. + output_objdir=.
  62002. + libname=conftest
  62003. + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  62004. + _LT_TAGVAR(allow_undefined_flag, $1)=
  62005. + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  62006. + then
  62007. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  62008. + else
  62009. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  62010. + fi
  62011. + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  62012. + else
  62013. + cat conftest.err 1>&5
  62014. + fi
  62015. + $RM conftest*
  62016. + AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  62017. + ;;
  62018. + esac
  62019. + fi
  62020. + ;;
  62021. +esac
  62022. +
  62023. +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  62024. + [Whether or not to add -lc for building shared libraries])
  62025. +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  62026. + [enable_shared_with_static_runtimes], [0],
  62027. + [Whether or not to disallow shared libs when runtime libs are static])
  62028. +_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  62029. + [Compiler flag to allow reflexive dlopens])
  62030. +_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  62031. + [Compiler flag to generate shared objects directly from archives])
  62032. +_LT_TAGDECL([], [compiler_needs_object], [1],
  62033. + [Whether the compiler copes with passing no objects directly])
  62034. +_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  62035. + [Create an old-style archive from a shared archive])
  62036. +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  62037. + [Create a temporary old-style archive to link instead of a shared archive])
  62038. +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  62039. +_LT_TAGDECL([], [archive_expsym_cmds], [2])
  62040. +_LT_TAGDECL([], [module_cmds], [2],
  62041. + [Commands used to build a loadable module if different from building
  62042. + a shared archive.])
  62043. +_LT_TAGDECL([], [module_expsym_cmds], [2])
  62044. +_LT_TAGDECL([], [with_gnu_ld], [1],
  62045. + [Whether we are building with GNU ld or not])
  62046. +_LT_TAGDECL([], [allow_undefined_flag], [1],
  62047. + [Flag that allows shared libraries with undefined symbols to be built])
  62048. +_LT_TAGDECL([], [no_undefined_flag], [1],
  62049. + [Flag that enforces no undefined symbols])
  62050. +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  62051. + [Flag to hardcode $libdir into a binary during linking.
  62052. + This must work even if $libdir does not exist])
  62053. +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  62054. + [[If ld is used when linking, flag to hardcode $libdir into a binary
  62055. + during linking. This must work even if $libdir does not exist]])
  62056. +_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  62057. + [Whether we need a single "-rpath" flag with a separated argument])
  62058. +_LT_TAGDECL([], [hardcode_direct], [0],
  62059. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  62060. + DIR into the resulting binary])
  62061. +_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  62062. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  62063. + DIR into the resulting binary and the resulting library dependency is
  62064. + "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  62065. + library is relocated])
  62066. +_LT_TAGDECL([], [hardcode_minus_L], [0],
  62067. + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  62068. + into the resulting binary])
  62069. +_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  62070. + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  62071. + into the resulting binary])
  62072. +_LT_TAGDECL([], [hardcode_automatic], [0],
  62073. + [Set to "yes" if building a shared library automatically hardcodes DIR
  62074. + into the library and all subsequent libraries and executables linked
  62075. + against it])
  62076. +_LT_TAGDECL([], [inherit_rpath], [0],
  62077. + [Set to yes if linker adds runtime paths of dependent libraries
  62078. + to runtime path list])
  62079. +_LT_TAGDECL([], [link_all_deplibs], [0],
  62080. + [Whether libtool must link a program against all its dependency libraries])
  62081. +_LT_TAGDECL([], [fix_srcfile_path], [1],
  62082. + [Fix the shell variable $srcfile for the compiler])
  62083. +_LT_TAGDECL([], [always_export_symbols], [0],
  62084. + [Set to "yes" if exported symbols are required])
  62085. +_LT_TAGDECL([], [export_symbols_cmds], [2],
  62086. + [The commands to list exported symbols])
  62087. +_LT_TAGDECL([], [exclude_expsyms], [1],
  62088. + [Symbols that should not be listed in the preloaded symbols])
  62089. +_LT_TAGDECL([], [include_expsyms], [1],
  62090. + [Symbols that must always be exported])
  62091. +_LT_TAGDECL([], [prelink_cmds], [2],
  62092. + [Commands necessary for linking programs (against libraries) with templates])
  62093. +_LT_TAGDECL([], [file_list_spec], [1],
  62094. + [Specify filename containing input files])
  62095. +dnl FIXME: Not yet implemented
  62096. +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  62097. +dnl [Compiler flag to generate thread safe objects])
  62098. +])# _LT_LINKER_SHLIBS
  62099. +
  62100. +
  62101. +# _LT_LANG_C_CONFIG([TAG])
  62102. +# ------------------------
  62103. +# Ensure that the configuration variables for a C compiler are suitably
  62104. +# defined. These variables are subsequently used by _LT_CONFIG to write
  62105. +# the compiler configuration to `libtool'.
  62106. +m4_defun([_LT_LANG_C_CONFIG],
  62107. +[m4_require([_LT_DECL_EGREP])dnl
  62108. +lt_save_CC="$CC"
  62109. +AC_LANG_PUSH(C)
  62110. +
  62111. +# Source file extension for C test sources.
  62112. +ac_ext=c
  62113. +
  62114. +# Object file extension for compiled C test sources.
  62115. +objext=o
  62116. +_LT_TAGVAR(objext, $1)=$objext
  62117. +
  62118. +# Code to be used in simple compile tests
  62119. +lt_simple_compile_test_code="int some_variable = 0;"
  62120. +
  62121. +# Code to be used in simple link tests
  62122. +lt_simple_link_test_code='int main(){return(0);}'
  62123. +
  62124. +_LT_TAG_COMPILER
  62125. +# Save the default compiler, since it gets overwritten when the other
  62126. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  62127. +compiler_DEFAULT=$CC
  62128. +
  62129. +# save warnings/boilerplate of simple test code
  62130. +_LT_COMPILER_BOILERPLATE
  62131. +_LT_LINKER_BOILERPLATE
  62132. +
  62133. +## CAVEAT EMPTOR:
  62134. +## There is no encapsulation within the following macros, do not change
  62135. +## the running order or otherwise move them around unless you know exactly
  62136. +## what you are doing...
  62137. +if test -n "$compiler"; then
  62138. + _LT_COMPILER_NO_RTTI($1)
  62139. + _LT_COMPILER_PIC($1)
  62140. + _LT_COMPILER_C_O($1)
  62141. + _LT_COMPILER_FILE_LOCKS($1)
  62142. + _LT_LINKER_SHLIBS($1)
  62143. + _LT_SYS_DYNAMIC_LINKER($1)
  62144. + _LT_LINKER_HARDCODE_LIBPATH($1)
  62145. + LT_SYS_DLOPEN_SELF
  62146. + _LT_CMD_STRIPLIB
  62147. +
  62148. + # Report which library types will actually be built
  62149. + AC_MSG_CHECKING([if libtool supports shared libraries])
  62150. + AC_MSG_RESULT([$can_build_shared])
  62151. +
  62152. + AC_MSG_CHECKING([whether to build shared libraries])
  62153. + test "$can_build_shared" = "no" && enable_shared=no
  62154. +
  62155. + # On AIX, shared libraries and static libraries use the same namespace, and
  62156. + # are all built from PIC.
  62157. + case $host_os in
  62158. + aix3*)
  62159. + test "$enable_shared" = yes && enable_static=no
  62160. + if test -n "$RANLIB"; then
  62161. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  62162. + postinstall_cmds='$RANLIB $lib'
  62163. + fi
  62164. + ;;
  62165. +
  62166. + aix[[4-9]]*)
  62167. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  62168. + test "$enable_shared" = yes && enable_static=no
  62169. + fi
  62170. + ;;
  62171. + esac
  62172. + AC_MSG_RESULT([$enable_shared])
  62173. +
  62174. + AC_MSG_CHECKING([whether to build static libraries])
  62175. + # Make sure either enable_shared or enable_static is yes.
  62176. + test "$enable_shared" = yes || enable_static=yes
  62177. + AC_MSG_RESULT([$enable_static])
  62178. +
  62179. + _LT_CONFIG($1)
  62180. +fi
  62181. +AC_LANG_POP
  62182. +CC="$lt_save_CC"
  62183. +])# _LT_LANG_C_CONFIG
  62184. +
  62185. +
  62186. +# _LT_PROG_CXX
  62187. +# ------------
  62188. +# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  62189. +# compiler, we have our own version here.
  62190. +m4_defun([_LT_PROG_CXX],
  62191. +[
  62192. +pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  62193. +AC_PROG_CXX
  62194. +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  62195. + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  62196. + (test "X$CXX" != "Xg++"))) ; then
  62197. + AC_PROG_CXXCPP
  62198. +else
  62199. + _lt_caught_CXX_error=yes
  62200. +fi
  62201. +popdef([AC_MSG_ERROR])
  62202. +])# _LT_PROG_CXX
  62203. +
  62204. +dnl aclocal-1.4 backwards compatibility:
  62205. +dnl AC_DEFUN([_LT_PROG_CXX], [])
  62206. +
  62207. +
  62208. +# _LT_LANG_CXX_CONFIG([TAG])
  62209. +# --------------------------
  62210. +# Ensure that the configuration variables for a C++ compiler are suitably
  62211. +# defined. These variables are subsequently used by _LT_CONFIG to write
  62212. +# the compiler configuration to `libtool'.
  62213. +m4_defun([_LT_LANG_CXX_CONFIG],
  62214. +[AC_REQUIRE([_LT_PROG_CXX])dnl
  62215. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  62216. +m4_require([_LT_DECL_EGREP])dnl
  62217. +
  62218. +AC_LANG_PUSH(C++)
  62219. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  62220. +_LT_TAGVAR(allow_undefined_flag, $1)=
  62221. +_LT_TAGVAR(always_export_symbols, $1)=no
  62222. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  62223. +_LT_TAGVAR(compiler_needs_object, $1)=no
  62224. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  62225. +_LT_TAGVAR(hardcode_direct, $1)=no
  62226. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  62227. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  62228. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  62229. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  62230. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  62231. +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  62232. +_LT_TAGVAR(hardcode_automatic, $1)=no
  62233. +_LT_TAGVAR(inherit_rpath, $1)=no
  62234. +_LT_TAGVAR(module_cmds, $1)=
  62235. +_LT_TAGVAR(module_expsym_cmds, $1)=
  62236. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  62237. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  62238. +_LT_TAGVAR(no_undefined_flag, $1)=
  62239. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  62240. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  62241. +
  62242. +# Source file extension for C++ test sources.
  62243. +ac_ext=cpp
  62244. +
  62245. +# Object file extension for compiled C++ test sources.
  62246. +objext=o
  62247. +_LT_TAGVAR(objext, $1)=$objext
  62248. +
  62249. +# No sense in running all these tests if we already determined that
  62250. +# the CXX compiler isn't working. Some variables (like enable_shared)
  62251. +# are currently assumed to apply to all compilers on this platform,
  62252. +# and will be corrupted by setting them based on a non-working compiler.
  62253. +if test "$_lt_caught_CXX_error" != yes; then
  62254. + # Code to be used in simple compile tests
  62255. + lt_simple_compile_test_code="int some_variable = 0;"
  62256. +
  62257. + # Code to be used in simple link tests
  62258. + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  62259. +
  62260. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  62261. + _LT_TAG_COMPILER
  62262. +
  62263. + # save warnings/boilerplate of simple test code
  62264. + _LT_COMPILER_BOILERPLATE
  62265. + _LT_LINKER_BOILERPLATE
  62266. +
  62267. + # Allow CC to be a program name with arguments.
  62268. + lt_save_CC=$CC
  62269. + lt_save_LD=$LD
  62270. + lt_save_GCC=$GCC
  62271. + GCC=$GXX
  62272. + lt_save_with_gnu_ld=$with_gnu_ld
  62273. + lt_save_path_LD=$lt_cv_path_LD
  62274. + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  62275. + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  62276. + else
  62277. + $as_unset lt_cv_prog_gnu_ld
  62278. + fi
  62279. + if test -n "${lt_cv_path_LDCXX+set}"; then
  62280. + lt_cv_path_LD=$lt_cv_path_LDCXX
  62281. + else
  62282. + $as_unset lt_cv_path_LD
  62283. + fi
  62284. + test -z "${LDCXX+set}" || LD=$LDCXX
  62285. + CC=${CXX-"c++"}
  62286. + compiler=$CC
  62287. + _LT_TAGVAR(compiler, $1)=$CC
  62288. + _LT_CC_BASENAME([$compiler])
  62289. +
  62290. + if test -n "$compiler"; then
  62291. + # We don't want -fno-exception when compiling C++ code, so set the
  62292. + # no_builtin_flag separately
  62293. + if test "$GXX" = yes; then
  62294. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  62295. + else
  62296. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  62297. + fi
  62298. +
  62299. + if test "$GXX" = yes; then
  62300. + # Set up default GNU C++ configuration
  62301. +
  62302. + LT_PATH_LD
  62303. +
  62304. + # Check if GNU C++ uses GNU ld as the underlying linker, since the
  62305. + # archiving commands below assume that GNU ld is being used.
  62306. + if test "$with_gnu_ld" = yes; then
  62307. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  62308. + _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'
  62309. +
  62310. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  62311. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  62312. +
  62313. + # If archive_cmds runs LD, not CC, wlarc should be empty
  62314. + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  62315. + # investigate it a little bit more. (MM)
  62316. + wlarc='${wl}'
  62317. +
  62318. + # ancient GNU ld didn't support --whole-archive et. al.
  62319. + if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  62320. + $GREP 'no-whole-archive' > /dev/null; then
  62321. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  62322. + else
  62323. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  62324. + fi
  62325. + else
  62326. + with_gnu_ld=no
  62327. + wlarc=
  62328. +
  62329. + # A generic and very simple default shared library creation
  62330. + # command for GNU C++ for the case where it uses the native
  62331. + # linker, instead of GNU ld. If possible, this setting should
  62332. + # overridden to take advantage of the native linker features on
  62333. + # the platform it is being used on.
  62334. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  62335. + fi
  62336. +
  62337. + # Commands to make compiler produce verbose output that lists
  62338. + # what "hidden" libraries, object files and flags are used when
  62339. + # linking a shared library.
  62340. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  62341. +
  62342. + else
  62343. + GXX=no
  62344. + with_gnu_ld=no
  62345. + wlarc=
  62346. + fi
  62347. +
  62348. + # PORTME: fill in a description of your system's C++ link characteristics
  62349. + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  62350. + _LT_TAGVAR(ld_shlibs, $1)=yes
  62351. + case $host_os in
  62352. + aix3*)
  62353. + # FIXME: insert proper C++ library support
  62354. + _LT_TAGVAR(ld_shlibs, $1)=no
  62355. + ;;
  62356. + aix[[4-9]]*)
  62357. + if test "$host_cpu" = ia64; then
  62358. + # On IA64, the linker does run time linking by default, so we don't
  62359. + # have to do anything special.
  62360. + aix_use_runtimelinking=no
  62361. + exp_sym_flag='-Bexport'
  62362. + no_entry_flag=""
  62363. + else
  62364. + aix_use_runtimelinking=no
  62365. +
  62366. + # Test if we are trying to use run time linking or normal
  62367. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  62368. + # need to do runtime linking.
  62369. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  62370. + for ld_flag in $LDFLAGS; do
  62371. + case $ld_flag in
  62372. + *-brtl*)
  62373. + aix_use_runtimelinking=yes
  62374. + break
  62375. + ;;
  62376. + esac
  62377. + done
  62378. + ;;
  62379. + esac
  62380. +
  62381. + exp_sym_flag='-bexport'
  62382. + no_entry_flag='-bnoentry'
  62383. + fi
  62384. +
  62385. + # When large executables or shared objects are built, AIX ld can
  62386. + # have problems creating the table of contents. If linking a library
  62387. + # or program results in "error TOC overflow" add -mminimal-toc to
  62388. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  62389. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  62390. +
  62391. + _LT_TAGVAR(archive_cmds, $1)=''
  62392. + _LT_TAGVAR(hardcode_direct, $1)=yes
  62393. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  62394. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  62395. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  62396. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  62397. +
  62398. + if test "$GXX" = yes; then
  62399. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  62400. + # We only want to do this on AIX 4.2 and lower, the check
  62401. + # below for broken collect2 doesn't work under 4.3+
  62402. + collect2name=`${CC} -print-prog-name=collect2`
  62403. + if test -f "$collect2name" &&
  62404. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  62405. + then
  62406. + # We have reworked collect2
  62407. + :
  62408. + else
  62409. + # We have old collect2
  62410. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  62411. + # It fails to find uninstalled libraries when the uninstalled
  62412. + # path is not listed in the libpath. Setting hardcode_minus_L
  62413. + # to unsupported forces relinking
  62414. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  62415. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  62416. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  62417. + fi
  62418. + esac
  62419. + shared_flag='-shared'
  62420. + if test "$aix_use_runtimelinking" = yes; then
  62421. + shared_flag="$shared_flag "'${wl}-G'
  62422. + fi
  62423. + else
  62424. + # not using gcc
  62425. + if test "$host_cpu" = ia64; then
  62426. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  62427. + # chokes on -Wl,-G. The following line is correct:
  62428. + shared_flag='-G'
  62429. + else
  62430. + if test "$aix_use_runtimelinking" = yes; then
  62431. + shared_flag='${wl}-G'
  62432. + else
  62433. + shared_flag='${wl}-bM:SRE'
  62434. + fi
  62435. + fi
  62436. + fi
  62437. +
  62438. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  62439. + # It seems that -bexpall does not export symbols beginning with
  62440. + # underscore (_), so it is better to generate a list of symbols to
  62441. + # export.
  62442. + _LT_TAGVAR(always_export_symbols, $1)=yes
  62443. + if test "$aix_use_runtimelinking" = yes; then
  62444. + # Warning - without using the other runtime loading flags (-brtl),
  62445. + # -berok will link without error, but may produce a broken library.
  62446. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  62447. + # Determine the default libpath from the value encoded in an empty
  62448. + # executable.
  62449. + _LT_SYS_MODULE_PATH_AIX
  62450. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  62451. +
  62452. + _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"
  62453. + else
  62454. + if test "$host_cpu" = ia64; then
  62455. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  62456. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  62457. + _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"
  62458. + else
  62459. + # Determine the default libpath from the value encoded in an
  62460. + # empty executable.
  62461. + _LT_SYS_MODULE_PATH_AIX
  62462. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  62463. + # Warning - without using the other run time loading flags,
  62464. + # -berok will link without error, but may produce a broken library.
  62465. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  62466. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  62467. + # Exported symbols can be pulled into shared objects from archives
  62468. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  62469. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  62470. + # This is similar to how AIX traditionally builds its shared
  62471. + # libraries.
  62472. + _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'
  62473. + fi
  62474. + fi
  62475. + ;;
  62476. +
  62477. + beos*)
  62478. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  62479. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  62480. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  62481. + # support --undefined. This deserves some investigation. FIXME
  62482. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  62483. + else
  62484. + _LT_TAGVAR(ld_shlibs, $1)=no
  62485. + fi
  62486. + ;;
  62487. +
  62488. + chorus*)
  62489. + case $cc_basename in
  62490. + *)
  62491. + # FIXME: insert proper C++ library support
  62492. + _LT_TAGVAR(ld_shlibs, $1)=no
  62493. + ;;
  62494. + esac
  62495. + ;;
  62496. +
  62497. + cygwin* | mingw* | pw32* | cegcc*)
  62498. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  62499. + # as there is no search path for DLLs.
  62500. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  62501. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  62502. + _LT_TAGVAR(always_export_symbols, $1)=no
  62503. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  62504. +
  62505. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  62506. + _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'
  62507. + # If the export-symbols file already is a .def file (1st line
  62508. + # is EXPORTS), use it as is; otherwise, prepend...
  62509. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  62510. + cp $export_symbols $output_objdir/$soname.def;
  62511. + else
  62512. + echo EXPORTS > $output_objdir/$soname.def;
  62513. + cat $export_symbols >> $output_objdir/$soname.def;
  62514. + fi~
  62515. + $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'
  62516. + else
  62517. + _LT_TAGVAR(ld_shlibs, $1)=no
  62518. + fi
  62519. + ;;
  62520. + darwin* | rhapsody*)
  62521. + _LT_DARWIN_LINKER_FEATURES($1)
  62522. + ;;
  62523. +
  62524. + dgux*)
  62525. + case $cc_basename in
  62526. + ec++*)
  62527. + # FIXME: insert proper C++ library support
  62528. + _LT_TAGVAR(ld_shlibs, $1)=no
  62529. + ;;
  62530. + ghcx*)
  62531. + # Green Hills C++ Compiler
  62532. + # FIXME: insert proper C++ library support
  62533. + _LT_TAGVAR(ld_shlibs, $1)=no
  62534. + ;;
  62535. + *)
  62536. + # FIXME: insert proper C++ library support
  62537. + _LT_TAGVAR(ld_shlibs, $1)=no
  62538. + ;;
  62539. + esac
  62540. + ;;
  62541. +
  62542. + freebsd[[12]]*)
  62543. + # C++ shared libraries reported to be fairly broken before
  62544. + # switch to ELF
  62545. + _LT_TAGVAR(ld_shlibs, $1)=no
  62546. + ;;
  62547. +
  62548. + freebsd-elf*)
  62549. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  62550. + ;;
  62551. +
  62552. + freebsd* | dragonfly*)
  62553. + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  62554. + # conventions
  62555. + _LT_TAGVAR(ld_shlibs, $1)=yes
  62556. + ;;
  62557. +
  62558. + gnu*)
  62559. + ;;
  62560. +
  62561. + hpux9*)
  62562. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  62563. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  62564. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  62565. + _LT_TAGVAR(hardcode_direct, $1)=yes
  62566. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  62567. + # but as the default
  62568. + # location of the library.
  62569. +
  62570. + case $cc_basename in
  62571. + CC*)
  62572. + # FIXME: insert proper C++ library support
  62573. + _LT_TAGVAR(ld_shlibs, $1)=no
  62574. + ;;
  62575. + aCC*)
  62576. + _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'
  62577. + # Commands to make compiler produce verbose output that lists
  62578. + # what "hidden" libraries, object files and flags are used when
  62579. + # linking a shared library.
  62580. + #
  62581. + # There doesn't appear to be a way to prevent this compiler from
  62582. + # explicitly linking system object files so we need to strip them
  62583. + # from the output so that they don't get included in the library
  62584. + # dependencies.
  62585. + 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'
  62586. + ;;
  62587. + *)
  62588. + if test "$GXX" = yes; then
  62589. + _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'
  62590. + else
  62591. + # FIXME: insert proper C++ library support
  62592. + _LT_TAGVAR(ld_shlibs, $1)=no
  62593. + fi
  62594. + ;;
  62595. + esac
  62596. + ;;
  62597. +
  62598. + hpux10*|hpux11*)
  62599. + if test $with_gnu_ld = no; then
  62600. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  62601. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  62602. +
  62603. + case $host_cpu in
  62604. + hppa*64*|ia64*)
  62605. + ;;
  62606. + *)
  62607. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  62608. + ;;
  62609. + esac
  62610. + fi
  62611. + case $host_cpu in
  62612. + hppa*64*|ia64*)
  62613. + _LT_TAGVAR(hardcode_direct, $1)=no
  62614. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  62615. + ;;
  62616. + *)
  62617. + _LT_TAGVAR(hardcode_direct, $1)=yes
  62618. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  62619. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  62620. + # but as the default
  62621. + # location of the library.
  62622. + ;;
  62623. + esac
  62624. +
  62625. + case $cc_basename in
  62626. + CC*)
  62627. + # FIXME: insert proper C++ library support
  62628. + _LT_TAGVAR(ld_shlibs, $1)=no
  62629. + ;;
  62630. + aCC*)
  62631. + case $host_cpu in
  62632. + hppa*64*)
  62633. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  62634. + ;;
  62635. + ia64*)
  62636. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  62637. + ;;
  62638. + *)
  62639. + _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'
  62640. + ;;
  62641. + esac
  62642. + # Commands to make compiler produce verbose output that lists
  62643. + # what "hidden" libraries, object files and flags are used when
  62644. + # linking a shared library.
  62645. + #
  62646. + # There doesn't appear to be a way to prevent this compiler from
  62647. + # explicitly linking system object files so we need to strip them
  62648. + # from the output so that they don't get included in the library
  62649. + # dependencies.
  62650. + 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'
  62651. + ;;
  62652. + *)
  62653. + if test "$GXX" = yes; then
  62654. + if test $with_gnu_ld = no; then
  62655. + case $host_cpu in
  62656. + hppa*64*)
  62657. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  62658. + ;;
  62659. + ia64*)
  62660. + _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'
  62661. + ;;
  62662. + *)
  62663. + _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'
  62664. + ;;
  62665. + esac
  62666. + fi
  62667. + else
  62668. + # FIXME: insert proper C++ library support
  62669. + _LT_TAGVAR(ld_shlibs, $1)=no
  62670. + fi
  62671. + ;;
  62672. + esac
  62673. + ;;
  62674. +
  62675. + interix[[3-9]]*)
  62676. + _LT_TAGVAR(hardcode_direct, $1)=no
  62677. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  62678. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  62679. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  62680. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  62681. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  62682. + # default) and relocated if they conflict, which is a slow very memory
  62683. + # consuming and fragmenting process. To avoid this, we pick a random,
  62684. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  62685. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  62686. + _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'
  62687. + _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'
  62688. + ;;
  62689. + irix5* | irix6*)
  62690. + case $cc_basename in
  62691. + CC*)
  62692. + # SGI C++
  62693. + _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'
  62694. +
  62695. + # Archives containing C++ object files must be created using
  62696. + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  62697. + # necessary to make sure instantiated templates are included
  62698. + # in the archive.
  62699. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  62700. + ;;
  62701. + *)
  62702. + if test "$GXX" = yes; then
  62703. + if test "$with_gnu_ld" = no; then
  62704. + _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'
  62705. + else
  62706. + _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'
  62707. + fi
  62708. + fi
  62709. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  62710. + ;;
  62711. + esac
  62712. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  62713. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  62714. + _LT_TAGVAR(inherit_rpath, $1)=yes
  62715. + ;;
  62716. +
  62717. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  62718. + case $cc_basename in
  62719. + KCC*)
  62720. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  62721. +
  62722. + # KCC will only create a shared library if the output file
  62723. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  62724. + # to its proper name (with version) after linking.
  62725. + _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'
  62726. + _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'
  62727. + # Commands to make compiler produce verbose output that lists
  62728. + # what "hidden" libraries, object files and flags are used when
  62729. + # linking a shared library.
  62730. + #
  62731. + # There doesn't appear to be a way to prevent this compiler from
  62732. + # explicitly linking system object files so we need to strip them
  62733. + # from the output so that they don't get included in the library
  62734. + # dependencies.
  62735. + 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'
  62736. +
  62737. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  62738. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  62739. +
  62740. + # Archives containing C++ object files must be created using
  62741. + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  62742. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  62743. + ;;
  62744. + icpc* | ecpc* )
  62745. + # Intel C++
  62746. + with_gnu_ld=yes
  62747. + # version 8.0 and above of icpc choke on multiply defined symbols
  62748. + # if we add $predep_objects and $postdep_objects, however 7.1 and
  62749. + # earlier do not add the objects themselves.
  62750. + case `$CC -V 2>&1` in
  62751. + *"Version 7."*)
  62752. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  62753. + _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'
  62754. + ;;
  62755. + *) # Version 8.0 or newer
  62756. + tmp_idyn=
  62757. + case $host_cpu in
  62758. + ia64*) tmp_idyn=' -i_dynamic';;
  62759. + esac
  62760. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  62761. + _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'
  62762. + ;;
  62763. + esac
  62764. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  62765. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  62766. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  62767. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  62768. + ;;
  62769. + pgCC* | pgcpp*)
  62770. + # Portland Group C++ compiler
  62771. + case `$CC -V` in
  62772. + *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  62773. + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  62774. + rm -rf $tpldir~
  62775. + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  62776. + compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  62777. + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  62778. + rm -rf $tpldir~
  62779. + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  62780. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  62781. + $RANLIB $oldlib'
  62782. + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  62783. + rm -rf $tpldir~
  62784. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  62785. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  62786. + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  62787. + rm -rf $tpldir~
  62788. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  62789. + $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'
  62790. + ;;
  62791. + *) # Version 6 will use weak symbols
  62792. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  62793. + _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'
  62794. + ;;
  62795. + esac
  62796. +
  62797. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  62798. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  62799. + _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'
  62800. + ;;
  62801. + cxx*)
  62802. + # Compaq C++
  62803. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  62804. + _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'
  62805. +
  62806. + runpath_var=LD_RUN_PATH
  62807. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  62808. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  62809. +
  62810. + # Commands to make compiler produce verbose output that lists
  62811. + # what "hidden" libraries, object files and flags are used when
  62812. + # linking a shared library.
  62813. + #
  62814. + # There doesn't appear to be a way to prevent this compiler from
  62815. + # explicitly linking system object files so we need to strip them
  62816. + # from the output so that they don't get included in the library
  62817. + # dependencies.
  62818. + 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'
  62819. + ;;
  62820. + xl*)
  62821. + # IBM XL 8.0 on PPC, with GNU ld
  62822. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  62823. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  62824. + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  62825. + if test "x$supports_anon_versioning" = xyes; then
  62826. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  62827. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  62828. + echo "local: *; };" >> $output_objdir/$libname.ver~
  62829. + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  62830. + fi
  62831. + ;;
  62832. + *)
  62833. + case `$CC -V 2>&1 | sed 5q` in
  62834. + *Sun\ C*)
  62835. + # Sun C++ 5.9
  62836. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  62837. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  62838. + _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'
  62839. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  62840. + _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'
  62841. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  62842. +
  62843. + # Not sure whether something based on
  62844. + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  62845. + # would be better.
  62846. + output_verbose_link_cmd='echo'
  62847. +
  62848. + # Archives containing C++ object files must be created using
  62849. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  62850. + # necessary to make sure instantiated templates are included
  62851. + # in the archive.
  62852. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  62853. + ;;
  62854. + esac
  62855. + ;;
  62856. + esac
  62857. + ;;
  62858. +
  62859. + lynxos*)
  62860. + # FIXME: insert proper C++ library support
  62861. + _LT_TAGVAR(ld_shlibs, $1)=no
  62862. + ;;
  62863. +
  62864. + m88k*)
  62865. + # FIXME: insert proper C++ library support
  62866. + _LT_TAGVAR(ld_shlibs, $1)=no
  62867. + ;;
  62868. +
  62869. + mvs*)
  62870. + case $cc_basename in
  62871. + cxx*)
  62872. + # FIXME: insert proper C++ library support
  62873. + _LT_TAGVAR(ld_shlibs, $1)=no
  62874. + ;;
  62875. + *)
  62876. + # FIXME: insert proper C++ library support
  62877. + _LT_TAGVAR(ld_shlibs, $1)=no
  62878. + ;;
  62879. + esac
  62880. + ;;
  62881. +
  62882. + netbsd*)
  62883. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  62884. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  62885. + wlarc=
  62886. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  62887. + _LT_TAGVAR(hardcode_direct, $1)=yes
  62888. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  62889. + fi
  62890. + # Workaround some broken pre-1.5 toolchains
  62891. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  62892. + ;;
  62893. +
  62894. + *nto* | *qnx*)
  62895. + _LT_TAGVAR(ld_shlibs, $1)=yes
  62896. + ;;
  62897. +
  62898. + openbsd2*)
  62899. + # C++ shared libraries are fairly broken
  62900. + _LT_TAGVAR(ld_shlibs, $1)=no
  62901. + ;;
  62902. +
  62903. + openbsd*)
  62904. + if test -f /usr/libexec/ld.so; then
  62905. + _LT_TAGVAR(hardcode_direct, $1)=yes
  62906. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  62907. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  62908. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  62909. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  62910. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  62911. + _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'
  62912. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  62913. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  62914. + fi
  62915. + output_verbose_link_cmd=echo
  62916. + else
  62917. + _LT_TAGVAR(ld_shlibs, $1)=no
  62918. + fi
  62919. + ;;
  62920. +
  62921. + osf3* | osf4* | osf5*)
  62922. + case $cc_basename in
  62923. + KCC*)
  62924. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  62925. +
  62926. + # KCC will only create a shared library if the output file
  62927. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  62928. + # to its proper name (with version) after linking.
  62929. + _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'
  62930. +
  62931. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  62932. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  62933. +
  62934. + # Archives containing C++ object files must be created using
  62935. + # the KAI C++ compiler.
  62936. + case $host in
  62937. + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  62938. + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  62939. + esac
  62940. + ;;
  62941. + RCC*)
  62942. + # Rational C++ 2.4.1
  62943. + # FIXME: insert proper C++ library support
  62944. + _LT_TAGVAR(ld_shlibs, $1)=no
  62945. + ;;
  62946. + cxx*)
  62947. + case $host in
  62948. + osf3*)
  62949. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  62950. + _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'
  62951. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  62952. + ;;
  62953. + *)
  62954. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  62955. + _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'
  62956. + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  62957. + echo "-hidden">> $lib.exp~
  62958. + $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~
  62959. + $RM $lib.exp'
  62960. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  62961. + ;;
  62962. + esac
  62963. +
  62964. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  62965. +
  62966. + # Commands to make compiler produce verbose output that lists
  62967. + # what "hidden" libraries, object files and flags are used when
  62968. + # linking a shared library.
  62969. + #
  62970. + # There doesn't appear to be a way to prevent this compiler from
  62971. + # explicitly linking system object files so we need to strip them
  62972. + # from the output so that they don't get included in the library
  62973. + # dependencies.
  62974. + 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'
  62975. + ;;
  62976. + *)
  62977. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  62978. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  62979. + case $host in
  62980. + osf3*)
  62981. + _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'
  62982. + ;;
  62983. + *)
  62984. + _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'
  62985. + ;;
  62986. + esac
  62987. +
  62988. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  62989. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  62990. +
  62991. + # Commands to make compiler produce verbose output that lists
  62992. + # what "hidden" libraries, object files and flags are used when
  62993. + # linking a shared library.
  62994. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  62995. +
  62996. + else
  62997. + # FIXME: insert proper C++ library support
  62998. + _LT_TAGVAR(ld_shlibs, $1)=no
  62999. + fi
  63000. + ;;
  63001. + esac
  63002. + ;;
  63003. +
  63004. + psos*)
  63005. + # FIXME: insert proper C++ library support
  63006. + _LT_TAGVAR(ld_shlibs, $1)=no
  63007. + ;;
  63008. +
  63009. + sunos4*)
  63010. + case $cc_basename in
  63011. + CC*)
  63012. + # Sun C++ 4.x
  63013. + # FIXME: insert proper C++ library support
  63014. + _LT_TAGVAR(ld_shlibs, $1)=no
  63015. + ;;
  63016. + lcc*)
  63017. + # Lucid
  63018. + # FIXME: insert proper C++ library support
  63019. + _LT_TAGVAR(ld_shlibs, $1)=no
  63020. + ;;
  63021. + *)
  63022. + # FIXME: insert proper C++ library support
  63023. + _LT_TAGVAR(ld_shlibs, $1)=no
  63024. + ;;
  63025. + esac
  63026. + ;;
  63027. +
  63028. + solaris*)
  63029. + case $cc_basename in
  63030. + CC*)
  63031. + # Sun C++ 4.2, 5.x and Centerline C++
  63032. + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  63033. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  63034. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  63035. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  63036. + $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'
  63037. +
  63038. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  63039. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  63040. + case $host_os in
  63041. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  63042. + *)
  63043. + # The compiler driver will combine and reorder linker options,
  63044. + # but understands `-z linker_flag'.
  63045. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  63046. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  63047. + ;;
  63048. + esac
  63049. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  63050. +
  63051. + output_verbose_link_cmd='echo'
  63052. +
  63053. + # Archives containing C++ object files must be created using
  63054. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  63055. + # necessary to make sure instantiated templates are included
  63056. + # in the archive.
  63057. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  63058. + ;;
  63059. + gcx*)
  63060. + # Green Hills C++ Compiler
  63061. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  63062. +
  63063. + # The C++ compiler must be used to create the archive.
  63064. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  63065. + ;;
  63066. + *)
  63067. + # GNU C++ compiler with Solaris linker
  63068. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  63069. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  63070. + if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  63071. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  63072. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  63073. + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  63074. +
  63075. + # Commands to make compiler produce verbose output that lists
  63076. + # what "hidden" libraries, object files and flags are used when
  63077. + # linking a shared library.
  63078. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  63079. + else
  63080. + # g++ 2.7 appears to require `-G' NOT `-shared' on this
  63081. + # platform.
  63082. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  63083. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  63084. + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  63085. +
  63086. + # Commands to make compiler produce verbose output that lists
  63087. + # what "hidden" libraries, object files and flags are used when
  63088. + # linking a shared library.
  63089. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  63090. + fi
  63091. +
  63092. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  63093. + case $host_os in
  63094. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  63095. + *)
  63096. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  63097. + ;;
  63098. + esac
  63099. + fi
  63100. + ;;
  63101. + esac
  63102. + ;;
  63103. +
  63104. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  63105. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  63106. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  63107. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  63108. + runpath_var='LD_RUN_PATH'
  63109. +
  63110. + case $cc_basename in
  63111. + CC*)
  63112. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63113. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63114. + ;;
  63115. + *)
  63116. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63117. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63118. + ;;
  63119. + esac
  63120. + ;;
  63121. +
  63122. + sysv5* | sco3.2v5* | sco5v6*)
  63123. + # Note: We can NOT use -z defs as we might desire, because we do not
  63124. + # link with -lc, and that would cause any symbols used from libc to
  63125. + # always be unresolved, which means just about no library would
  63126. + # ever link correctly. If we're not using GNU ld we use -z text
  63127. + # though, which does catch some bad symbols but isn't as heavy-handed
  63128. + # as -z defs.
  63129. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  63130. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  63131. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  63132. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  63133. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  63134. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  63135. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  63136. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  63137. + runpath_var='LD_RUN_PATH'
  63138. +
  63139. + case $cc_basename in
  63140. + CC*)
  63141. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63142. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63143. + ;;
  63144. + *)
  63145. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63146. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  63147. + ;;
  63148. + esac
  63149. + ;;
  63150. +
  63151. + tandem*)
  63152. + case $cc_basename in
  63153. + NCC*)
  63154. + # NonStop-UX NCC 3.20
  63155. + # FIXME: insert proper C++ library support
  63156. + _LT_TAGVAR(ld_shlibs, $1)=no
  63157. + ;;
  63158. + *)
  63159. + # FIXME: insert proper C++ library support
  63160. + _LT_TAGVAR(ld_shlibs, $1)=no
  63161. + ;;
  63162. + esac
  63163. + ;;
  63164. +
  63165. + vxworks*)
  63166. + # FIXME: insert proper C++ library support
  63167. + _LT_TAGVAR(ld_shlibs, $1)=no
  63168. + ;;
  63169. +
  63170. + *)
  63171. + # FIXME: insert proper C++ library support
  63172. + _LT_TAGVAR(ld_shlibs, $1)=no
  63173. + ;;
  63174. + esac
  63175. +
  63176. + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  63177. + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  63178. +
  63179. + _LT_TAGVAR(GCC, $1)="$GXX"
  63180. + _LT_TAGVAR(LD, $1)="$LD"
  63181. +
  63182. + ## CAVEAT EMPTOR:
  63183. + ## There is no encapsulation within the following macros, do not change
  63184. + ## the running order or otherwise move them around unless you know exactly
  63185. + ## what you are doing...
  63186. + _LT_SYS_HIDDEN_LIBDEPS($1)
  63187. + _LT_COMPILER_PIC($1)
  63188. + _LT_COMPILER_C_O($1)
  63189. + _LT_COMPILER_FILE_LOCKS($1)
  63190. + _LT_LINKER_SHLIBS($1)
  63191. + _LT_SYS_DYNAMIC_LINKER($1)
  63192. + _LT_LINKER_HARDCODE_LIBPATH($1)
  63193. +
  63194. + _LT_CONFIG($1)
  63195. + fi # test -n "$compiler"
  63196. +
  63197. + CC=$lt_save_CC
  63198. + LDCXX=$LD
  63199. + LD=$lt_save_LD
  63200. + GCC=$lt_save_GCC
  63201. + with_gnu_ld=$lt_save_with_gnu_ld
  63202. + lt_cv_path_LDCXX=$lt_cv_path_LD
  63203. + lt_cv_path_LD=$lt_save_path_LD
  63204. + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  63205. + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  63206. +fi # test "$_lt_caught_CXX_error" != yes
  63207. +
  63208. +AC_LANG_POP
  63209. +])# _LT_LANG_CXX_CONFIG
  63210. +
  63211. +
  63212. +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  63213. +# ---------------------------------
  63214. +# Figure out "hidden" library dependencies from verbose
  63215. +# compiler output when linking a shared library.
  63216. +# Parse the compiler output and extract the necessary
  63217. +# objects, libraries and library flags.
  63218. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  63219. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  63220. +# Dependencies to place before and after the object being linked:
  63221. +_LT_TAGVAR(predep_objects, $1)=
  63222. +_LT_TAGVAR(postdep_objects, $1)=
  63223. +_LT_TAGVAR(predeps, $1)=
  63224. +_LT_TAGVAR(postdeps, $1)=
  63225. +_LT_TAGVAR(compiler_lib_search_path, $1)=
  63226. +
  63227. +dnl we can't use the lt_simple_compile_test_code here,
  63228. +dnl because it contains code intended for an executable,
  63229. +dnl not a library. It's possible we should let each
  63230. +dnl tag define a new lt_????_link_test_code variable,
  63231. +dnl but it's only used here...
  63232. +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  63233. +int a;
  63234. +void foo (void) { a = 0; }
  63235. +_LT_EOF
  63236. +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  63237. +class Foo
  63238. +{
  63239. +public:
  63240. + Foo (void) { a = 0; }
  63241. +private:
  63242. + int a;
  63243. +};
  63244. +_LT_EOF
  63245. +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  63246. + subroutine foo
  63247. + implicit none
  63248. + integer*4 a
  63249. + a=0
  63250. + return
  63251. + end
  63252. +_LT_EOF
  63253. +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  63254. + subroutine foo
  63255. + implicit none
  63256. + integer a
  63257. + a=0
  63258. + return
  63259. + end
  63260. +_LT_EOF
  63261. +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  63262. +public class foo {
  63263. + private int a;
  63264. + public void bar (void) {
  63265. + a = 0;
  63266. + }
  63267. +};
  63268. +_LT_EOF
  63269. +])
  63270. +dnl Parse the compiler output and extract the necessary
  63271. +dnl objects, libraries and library flags.
  63272. +if AC_TRY_EVAL(ac_compile); then
  63273. + # Parse the compiler output and extract the necessary
  63274. + # objects, libraries and library flags.
  63275. +
  63276. + # Sentinel used to keep track of whether or not we are before
  63277. + # the conftest object file.
  63278. + pre_test_object_deps_done=no
  63279. +
  63280. + for p in `eval "$output_verbose_link_cmd"`; do
  63281. + case $p in
  63282. +
  63283. + -L* | -R* | -l*)
  63284. + # Some compilers place space between "-{L,R}" and the path.
  63285. + # Remove the space.
  63286. + if test $p = "-L" ||
  63287. + test $p = "-R"; then
  63288. + prev=$p
  63289. + continue
  63290. + else
  63291. + prev=
  63292. + fi
  63293. +
  63294. + if test "$pre_test_object_deps_done" = no; then
  63295. + case $p in
  63296. + -L* | -R*)
  63297. + # Internal compiler library paths should come after those
  63298. + # provided the user. The postdeps already come after the
  63299. + # user supplied libs so there is no need to process them.
  63300. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  63301. + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  63302. + else
  63303. + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  63304. + fi
  63305. + ;;
  63306. + # The "-l" case would never come before the object being
  63307. + # linked, so don't bother handling this case.
  63308. + esac
  63309. + else
  63310. + if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  63311. + _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  63312. + else
  63313. + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  63314. + fi
  63315. + fi
  63316. + ;;
  63317. +
  63318. + *.$objext)
  63319. + # This assumes that the test object file only shows up
  63320. + # once in the compiler output.
  63321. + if test "$p" = "conftest.$objext"; then
  63322. + pre_test_object_deps_done=yes
  63323. + continue
  63324. + fi
  63325. +
  63326. + if test "$pre_test_object_deps_done" = no; then
  63327. + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  63328. + _LT_TAGVAR(predep_objects, $1)="$p"
  63329. + else
  63330. + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  63331. + fi
  63332. + else
  63333. + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  63334. + _LT_TAGVAR(postdep_objects, $1)="$p"
  63335. + else
  63336. + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  63337. + fi
  63338. + fi
  63339. + ;;
  63340. +
  63341. + *) ;; # Ignore the rest.
  63342. +
  63343. + esac
  63344. + done
  63345. +
  63346. + # Clean up.
  63347. + rm -f a.out a.exe
  63348. +else
  63349. + echo "libtool.m4: error: problem compiling $1 test program"
  63350. +fi
  63351. +
  63352. +$RM -f confest.$objext
  63353. +
  63354. +# PORTME: override above test on systems where it is broken
  63355. +m4_if([$1], [CXX],
  63356. +[case $host_os in
  63357. +interix[[3-9]]*)
  63358. + # Interix 3.5 installs completely hosed .la files for C++, so rather than
  63359. + # hack all around it, let's just trust "g++" to DTRT.
  63360. + _LT_TAGVAR(predep_objects,$1)=
  63361. + _LT_TAGVAR(postdep_objects,$1)=
  63362. + _LT_TAGVAR(postdeps,$1)=
  63363. + ;;
  63364. +
  63365. +linux*)
  63366. + case `$CC -V 2>&1 | sed 5q` in
  63367. + *Sun\ C*)
  63368. + # Sun C++ 5.9
  63369. +
  63370. + # The more standards-conforming stlport4 library is
  63371. + # incompatible with the Cstd library. Avoid specifying
  63372. + # it if it's in CXXFLAGS. Ignore libCrun as
  63373. + # -library=stlport4 depends on it.
  63374. + case " $CXX $CXXFLAGS " in
  63375. + *" -library=stlport4 "*)
  63376. + solaris_use_stlport4=yes
  63377. + ;;
  63378. + esac
  63379. +
  63380. + if test "$solaris_use_stlport4" != yes; then
  63381. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  63382. + fi
  63383. + ;;
  63384. + esac
  63385. + ;;
  63386. +
  63387. +solaris*)
  63388. + case $cc_basename in
  63389. + CC*)
  63390. + # The more standards-conforming stlport4 library is
  63391. + # incompatible with the Cstd library. Avoid specifying
  63392. + # it if it's in CXXFLAGS. Ignore libCrun as
  63393. + # -library=stlport4 depends on it.
  63394. + case " $CXX $CXXFLAGS " in
  63395. + *" -library=stlport4 "*)
  63396. + solaris_use_stlport4=yes
  63397. + ;;
  63398. + esac
  63399. +
  63400. + # Adding this requires a known-good setup of shared libraries for
  63401. + # Sun compiler versions before 5.6, else PIC objects from an old
  63402. + # archive will be linked into the output, leading to subtle bugs.
  63403. + if test "$solaris_use_stlport4" != yes; then
  63404. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  63405. + fi
  63406. + ;;
  63407. + esac
  63408. + ;;
  63409. +esac
  63410. +])
  63411. +
  63412. +case " $_LT_TAGVAR(postdeps, $1) " in
  63413. +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  63414. +esac
  63415. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  63416. +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  63417. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  63418. +fi
  63419. +_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  63420. + [The directories searched by this compiler when creating a shared library])
  63421. +_LT_TAGDECL([], [predep_objects], [1],
  63422. + [Dependencies to place before and after the objects being linked to
  63423. + create a shared library])
  63424. +_LT_TAGDECL([], [postdep_objects], [1])
  63425. +_LT_TAGDECL([], [predeps], [1])
  63426. +_LT_TAGDECL([], [postdeps], [1])
  63427. +_LT_TAGDECL([], [compiler_lib_search_path], [1],
  63428. + [The library search path used internally by the compiler when linking
  63429. + a shared library])
  63430. +])# _LT_SYS_HIDDEN_LIBDEPS
  63431. +
  63432. +
  63433. +# _LT_PROG_F77
  63434. +# ------------
  63435. +# Since AC_PROG_F77 is broken, in that it returns the empty string
  63436. +# if there is no fortran compiler, we have our own version here.
  63437. +m4_defun([_LT_PROG_F77],
  63438. +[
  63439. +pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  63440. +AC_PROG_F77
  63441. +if test -z "$F77" || test "X$F77" = "Xno"; then
  63442. + _lt_disable_F77=yes
  63443. +fi
  63444. +popdef([AC_MSG_ERROR])
  63445. +])# _LT_PROG_F77
  63446. +
  63447. +dnl aclocal-1.4 backwards compatibility:
  63448. +dnl AC_DEFUN([_LT_PROG_F77], [])
  63449. +
  63450. +
  63451. +# _LT_LANG_F77_CONFIG([TAG])
  63452. +# --------------------------
  63453. +# Ensure that the configuration variables for a Fortran 77 compiler are
  63454. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  63455. +# to write the compiler configuration to `libtool'.
  63456. +m4_defun([_LT_LANG_F77_CONFIG],
  63457. +[AC_REQUIRE([_LT_PROG_F77])dnl
  63458. +AC_LANG_PUSH(Fortran 77)
  63459. +
  63460. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  63461. +_LT_TAGVAR(allow_undefined_flag, $1)=
  63462. +_LT_TAGVAR(always_export_symbols, $1)=no
  63463. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  63464. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  63465. +_LT_TAGVAR(hardcode_direct, $1)=no
  63466. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  63467. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  63468. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  63469. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  63470. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  63471. +_LT_TAGVAR(hardcode_automatic, $1)=no
  63472. +_LT_TAGVAR(inherit_rpath, $1)=no
  63473. +_LT_TAGVAR(module_cmds, $1)=
  63474. +_LT_TAGVAR(module_expsym_cmds, $1)=
  63475. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  63476. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  63477. +_LT_TAGVAR(no_undefined_flag, $1)=
  63478. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  63479. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  63480. +
  63481. +# Source file extension for f77 test sources.
  63482. +ac_ext=f
  63483. +
  63484. +# Object file extension for compiled f77 test sources.
  63485. +objext=o
  63486. +_LT_TAGVAR(objext, $1)=$objext
  63487. +
  63488. +# No sense in running all these tests if we already determined that
  63489. +# the F77 compiler isn't working. Some variables (like enable_shared)
  63490. +# are currently assumed to apply to all compilers on this platform,
  63491. +# and will be corrupted by setting them based on a non-working compiler.
  63492. +if test "$_lt_disable_F77" != yes; then
  63493. + # Code to be used in simple compile tests
  63494. + lt_simple_compile_test_code="\
  63495. + subroutine t
  63496. + return
  63497. + end
  63498. +"
  63499. +
  63500. + # Code to be used in simple link tests
  63501. + lt_simple_link_test_code="\
  63502. + program t
  63503. + end
  63504. +"
  63505. +
  63506. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  63507. + _LT_TAG_COMPILER
  63508. +
  63509. + # save warnings/boilerplate of simple test code
  63510. + _LT_COMPILER_BOILERPLATE
  63511. + _LT_LINKER_BOILERPLATE
  63512. +
  63513. + # Allow CC to be a program name with arguments.
  63514. + lt_save_CC="$CC"
  63515. + lt_save_GCC=$GCC
  63516. + CC=${F77-"f77"}
  63517. + compiler=$CC
  63518. + _LT_TAGVAR(compiler, $1)=$CC
  63519. + _LT_CC_BASENAME([$compiler])
  63520. + GCC=$G77
  63521. + if test -n "$compiler"; then
  63522. + AC_MSG_CHECKING([if libtool supports shared libraries])
  63523. + AC_MSG_RESULT([$can_build_shared])
  63524. +
  63525. + AC_MSG_CHECKING([whether to build shared libraries])
  63526. + test "$can_build_shared" = "no" && enable_shared=no
  63527. +
  63528. + # On AIX, shared libraries and static libraries use the same namespace, and
  63529. + # are all built from PIC.
  63530. + case $host_os in
  63531. + aix3*)
  63532. + test "$enable_shared" = yes && enable_static=no
  63533. + if test -n "$RANLIB"; then
  63534. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  63535. + postinstall_cmds='$RANLIB $lib'
  63536. + fi
  63537. + ;;
  63538. + aix[[4-9]]*)
  63539. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  63540. + test "$enable_shared" = yes && enable_static=no
  63541. + fi
  63542. + ;;
  63543. + esac
  63544. + AC_MSG_RESULT([$enable_shared])
  63545. +
  63546. + AC_MSG_CHECKING([whether to build static libraries])
  63547. + # Make sure either enable_shared or enable_static is yes.
  63548. + test "$enable_shared" = yes || enable_static=yes
  63549. + AC_MSG_RESULT([$enable_static])
  63550. +
  63551. + _LT_TAGVAR(GCC, $1)="$G77"
  63552. + _LT_TAGVAR(LD, $1)="$LD"
  63553. +
  63554. + ## CAVEAT EMPTOR:
  63555. + ## There is no encapsulation within the following macros, do not change
  63556. + ## the running order or otherwise move them around unless you know exactly
  63557. + ## what you are doing...
  63558. + _LT_COMPILER_PIC($1)
  63559. + _LT_COMPILER_C_O($1)
  63560. + _LT_COMPILER_FILE_LOCKS($1)
  63561. + _LT_LINKER_SHLIBS($1)
  63562. + _LT_SYS_DYNAMIC_LINKER($1)
  63563. + _LT_LINKER_HARDCODE_LIBPATH($1)
  63564. +
  63565. + _LT_CONFIG($1)
  63566. + fi # test -n "$compiler"
  63567. +
  63568. + GCC=$lt_save_GCC
  63569. + CC="$lt_save_CC"
  63570. +fi # test "$_lt_disable_F77" != yes
  63571. +
  63572. +AC_LANG_POP
  63573. +])# _LT_LANG_F77_CONFIG
  63574. +
  63575. +
  63576. +# _LT_PROG_FC
  63577. +# -----------
  63578. +# Since AC_PROG_FC is broken, in that it returns the empty string
  63579. +# if there is no fortran compiler, we have our own version here.
  63580. +m4_defun([_LT_PROG_FC],
  63581. +[
  63582. +pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  63583. +AC_PROG_FC
  63584. +if test -z "$FC" || test "X$FC" = "Xno"; then
  63585. + _lt_disable_FC=yes
  63586. +fi
  63587. +popdef([AC_MSG_ERROR])
  63588. +])# _LT_PROG_FC
  63589. +
  63590. +dnl aclocal-1.4 backwards compatibility:
  63591. +dnl AC_DEFUN([_LT_PROG_FC], [])
  63592. +
  63593. +
  63594. +# _LT_LANG_FC_CONFIG([TAG])
  63595. +# -------------------------
  63596. +# Ensure that the configuration variables for a Fortran compiler are
  63597. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  63598. +# to write the compiler configuration to `libtool'.
  63599. +m4_defun([_LT_LANG_FC_CONFIG],
  63600. +[AC_REQUIRE([_LT_PROG_FC])dnl
  63601. +AC_LANG_PUSH(Fortran)
  63602. +
  63603. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  63604. +_LT_TAGVAR(allow_undefined_flag, $1)=
  63605. +_LT_TAGVAR(always_export_symbols, $1)=no
  63606. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  63607. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  63608. +_LT_TAGVAR(hardcode_direct, $1)=no
  63609. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  63610. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  63611. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  63612. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  63613. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  63614. +_LT_TAGVAR(hardcode_automatic, $1)=no
  63615. +_LT_TAGVAR(inherit_rpath, $1)=no
  63616. +_LT_TAGVAR(module_cmds, $1)=
  63617. +_LT_TAGVAR(module_expsym_cmds, $1)=
  63618. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  63619. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  63620. +_LT_TAGVAR(no_undefined_flag, $1)=
  63621. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  63622. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  63623. +
  63624. +# Source file extension for fc test sources.
  63625. +ac_ext=${ac_fc_srcext-f}
  63626. +
  63627. +# Object file extension for compiled fc test sources.
  63628. +objext=o
  63629. +_LT_TAGVAR(objext, $1)=$objext
  63630. +
  63631. +# No sense in running all these tests if we already determined that
  63632. +# the FC compiler isn't working. Some variables (like enable_shared)
  63633. +# are currently assumed to apply to all compilers on this platform,
  63634. +# and will be corrupted by setting them based on a non-working compiler.
  63635. +if test "$_lt_disable_FC" != yes; then
  63636. + # Code to be used in simple compile tests
  63637. + lt_simple_compile_test_code="\
  63638. + subroutine t
  63639. + return
  63640. + end
  63641. +"
  63642. +
  63643. + # Code to be used in simple link tests
  63644. + lt_simple_link_test_code="\
  63645. + program t
  63646. + end
  63647. +"
  63648. +
  63649. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  63650. + _LT_TAG_COMPILER
  63651. +
  63652. + # save warnings/boilerplate of simple test code
  63653. + _LT_COMPILER_BOILERPLATE
  63654. + _LT_LINKER_BOILERPLATE
  63655. +
  63656. + # Allow CC to be a program name with arguments.
  63657. + lt_save_CC="$CC"
  63658. + lt_save_GCC=$GCC
  63659. + CC=${FC-"f95"}
  63660. + compiler=$CC
  63661. + GCC=$ac_cv_fc_compiler_gnu
  63662. +
  63663. + _LT_TAGVAR(compiler, $1)=$CC
  63664. + _LT_CC_BASENAME([$compiler])
  63665. +
  63666. + if test -n "$compiler"; then
  63667. + AC_MSG_CHECKING([if libtool supports shared libraries])
  63668. + AC_MSG_RESULT([$can_build_shared])
  63669. +
  63670. + AC_MSG_CHECKING([whether to build shared libraries])
  63671. + test "$can_build_shared" = "no" && enable_shared=no
  63672. +
  63673. + # On AIX, shared libraries and static libraries use the same namespace, and
  63674. + # are all built from PIC.
  63675. + case $host_os in
  63676. + aix3*)
  63677. + test "$enable_shared" = yes && enable_static=no
  63678. + if test -n "$RANLIB"; then
  63679. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  63680. + postinstall_cmds='$RANLIB $lib'
  63681. + fi
  63682. + ;;
  63683. + aix[[4-9]]*)
  63684. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  63685. + test "$enable_shared" = yes && enable_static=no
  63686. + fi
  63687. + ;;
  63688. + esac
  63689. + AC_MSG_RESULT([$enable_shared])
  63690. +
  63691. + AC_MSG_CHECKING([whether to build static libraries])
  63692. + # Make sure either enable_shared or enable_static is yes.
  63693. + test "$enable_shared" = yes || enable_static=yes
  63694. + AC_MSG_RESULT([$enable_static])
  63695. +
  63696. + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  63697. + _LT_TAGVAR(LD, $1)="$LD"
  63698. +
  63699. + ## CAVEAT EMPTOR:
  63700. + ## There is no encapsulation within the following macros, do not change
  63701. + ## the running order or otherwise move them around unless you know exactly
  63702. + ## what you are doing...
  63703. + _LT_SYS_HIDDEN_LIBDEPS($1)
  63704. + _LT_COMPILER_PIC($1)
  63705. + _LT_COMPILER_C_O($1)
  63706. + _LT_COMPILER_FILE_LOCKS($1)
  63707. + _LT_LINKER_SHLIBS($1)
  63708. + _LT_SYS_DYNAMIC_LINKER($1)
  63709. + _LT_LINKER_HARDCODE_LIBPATH($1)
  63710. +
  63711. + _LT_CONFIG($1)
  63712. + fi # test -n "$compiler"
  63713. +
  63714. + GCC=$lt_save_GCC
  63715. + CC="$lt_save_CC"
  63716. +fi # test "$_lt_disable_FC" != yes
  63717. +
  63718. +AC_LANG_POP
  63719. +])# _LT_LANG_FC_CONFIG
  63720. +
  63721. +
  63722. +# _LT_LANG_GCJ_CONFIG([TAG])
  63723. +# --------------------------
  63724. +# Ensure that the configuration variables for the GNU Java Compiler compiler
  63725. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  63726. +# to write the compiler configuration to `libtool'.
  63727. +m4_defun([_LT_LANG_GCJ_CONFIG],
  63728. +[AC_REQUIRE([LT_PROG_GCJ])dnl
  63729. +AC_LANG_SAVE
  63730. +
  63731. +# Source file extension for Java test sources.
  63732. +ac_ext=java
  63733. +
  63734. +# Object file extension for compiled Java test sources.
  63735. +objext=o
  63736. +_LT_TAGVAR(objext, $1)=$objext
  63737. +
  63738. +# Code to be used in simple compile tests
  63739. +lt_simple_compile_test_code="class foo {}"
  63740. +
  63741. +# Code to be used in simple link tests
  63742. +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  63743. +
  63744. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  63745. +_LT_TAG_COMPILER
  63746. +
  63747. +# save warnings/boilerplate of simple test code
  63748. +_LT_COMPILER_BOILERPLATE
  63749. +_LT_LINKER_BOILERPLATE
  63750. +
  63751. +# Allow CC to be a program name with arguments.
  63752. +lt_save_CC="$CC"
  63753. +lt_save_GCC=$GCC
  63754. +GCC=yes
  63755. +CC=${GCJ-"gcj"}
  63756. +compiler=$CC
  63757. +_LT_TAGVAR(compiler, $1)=$CC
  63758. +_LT_TAGVAR(LD, $1)="$LD"
  63759. +_LT_CC_BASENAME([$compiler])
  63760. +
  63761. +# GCJ did not exist at the time GCC didn't implicitly link libc in.
  63762. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  63763. +
  63764. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  63765. +
  63766. +## CAVEAT EMPTOR:
  63767. +## There is no encapsulation within the following macros, do not change
  63768. +## the running order or otherwise move them around unless you know exactly
  63769. +## what you are doing...
  63770. +if test -n "$compiler"; then
  63771. + _LT_COMPILER_NO_RTTI($1)
  63772. + _LT_COMPILER_PIC($1)
  63773. + _LT_COMPILER_C_O($1)
  63774. + _LT_COMPILER_FILE_LOCKS($1)
  63775. + _LT_LINKER_SHLIBS($1)
  63776. + _LT_LINKER_HARDCODE_LIBPATH($1)
  63777. +
  63778. + _LT_CONFIG($1)
  63779. +fi
  63780. +
  63781. +AC_LANG_RESTORE
  63782. +
  63783. +GCC=$lt_save_GCC
  63784. +CC="$lt_save_CC"
  63785. +])# _LT_LANG_GCJ_CONFIG
  63786. +
  63787. +
  63788. +# _LT_LANG_RC_CONFIG([TAG])
  63789. +# -------------------------
  63790. +# Ensure that the configuration variables for the Windows resource compiler
  63791. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  63792. +# to write the compiler configuration to `libtool'.
  63793. +m4_defun([_LT_LANG_RC_CONFIG],
  63794. +[AC_REQUIRE([LT_PROG_RC])dnl
  63795. +AC_LANG_SAVE
  63796. +
  63797. +# Source file extension for RC test sources.
  63798. +ac_ext=rc
  63799. +
  63800. +# Object file extension for compiled RC test sources.
  63801. +objext=o
  63802. +_LT_TAGVAR(objext, $1)=$objext
  63803. +
  63804. +# Code to be used in simple compile tests
  63805. +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  63806. +
  63807. +# Code to be used in simple link tests
  63808. +lt_simple_link_test_code="$lt_simple_compile_test_code"
  63809. +
  63810. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  63811. +_LT_TAG_COMPILER
  63812. +
  63813. +# save warnings/boilerplate of simple test code
  63814. +_LT_COMPILER_BOILERPLATE
  63815. +_LT_LINKER_BOILERPLATE
  63816. +
  63817. +# Allow CC to be a program name with arguments.
  63818. +lt_save_CC="$CC"
  63819. +lt_save_GCC=$GCC
  63820. +GCC=
  63821. +CC=${RC-"windres"}
  63822. +compiler=$CC
  63823. +_LT_TAGVAR(compiler, $1)=$CC
  63824. +_LT_CC_BASENAME([$compiler])
  63825. +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  63826. +
  63827. +if test -n "$compiler"; then
  63828. + :
  63829. + _LT_CONFIG($1)
  63830. +fi
  63831. +
  63832. +GCC=$lt_save_GCC
  63833. +AC_LANG_RESTORE
  63834. +CC="$lt_save_CC"
  63835. +])# _LT_LANG_RC_CONFIG
  63836. +
  63837. +
  63838. +# LT_PROG_GCJ
  63839. +# -----------
  63840. +AC_DEFUN([LT_PROG_GCJ],
  63841. +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  63842. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  63843. + [AC_CHECK_TOOL(GCJ, gcj,)
  63844. + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  63845. + AC_SUBST(GCJFLAGS)])])[]dnl
  63846. +])
  63847. +
  63848. +# Old name:
  63849. +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  63850. +dnl aclocal-1.4 backwards compatibility:
  63851. +dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  63852. +
  63853. +
  63854. +# LT_PROG_RC
  63855. +# ----------
  63856. +AC_DEFUN([LT_PROG_RC],
  63857. +[AC_CHECK_TOOL(RC, windres,)
  63858. +])
  63859. +
  63860. +# Old name:
  63861. +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  63862. +dnl aclocal-1.4 backwards compatibility:
  63863. +dnl AC_DEFUN([LT_AC_PROG_RC], [])
  63864. +
  63865. +
  63866. +# _LT_DECL_EGREP
  63867. +# --------------
  63868. +# If we don't have a new enough Autoconf to choose the best grep
  63869. +# available, choose the one first in the user's PATH.
  63870. +m4_defun([_LT_DECL_EGREP],
  63871. +[AC_REQUIRE([AC_PROG_EGREP])dnl
  63872. +AC_REQUIRE([AC_PROG_FGREP])dnl
  63873. +test -z "$GREP" && GREP=grep
  63874. +_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  63875. +_LT_DECL([], [EGREP], [1], [An ERE matcher])
  63876. +_LT_DECL([], [FGREP], [1], [A literal string matcher])
  63877. +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  63878. +AC_SUBST([GREP])
  63879. +])
  63880. +
  63881. +
  63882. +# _LT_DECL_OBJDUMP
  63883. +# --------------
  63884. +# If we don't have a new enough Autoconf to choose the best objdump
  63885. +# available, choose the one first in the user's PATH.
  63886. +m4_defun([_LT_DECL_OBJDUMP],
  63887. +[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  63888. +test -z "$OBJDUMP" && OBJDUMP=objdump
  63889. +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  63890. +AC_SUBST([OBJDUMP])
  63891. +])
  63892. +
  63893. +
  63894. +# _LT_DECL_SED
  63895. +# ------------
  63896. +# Check for a fully-functional sed program, that truncates
  63897. +# as few characters as possible. Prefer GNU sed if found.
  63898. +m4_defun([_LT_DECL_SED],
  63899. +[AC_PROG_SED
  63900. +test -z "$SED" && SED=sed
  63901. +Xsed="$SED -e 1s/^X//"
  63902. +_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  63903. +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  63904. + [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  63905. +])# _LT_DECL_SED
  63906. +
  63907. +m4_ifndef([AC_PROG_SED], [
  63908. +############################################################
  63909. +# NOTE: This macro has been submitted for inclusion into #
  63910. +# GNU Autoconf as AC_PROG_SED. When it is available in #
  63911. +# a released version of Autoconf we should remove this #
  63912. +# macro and use it instead. #
  63913. +############################################################
  63914. +
  63915. +m4_defun([AC_PROG_SED],
  63916. +[AC_MSG_CHECKING([for a sed that does not truncate output])
  63917. +AC_CACHE_VAL(lt_cv_path_SED,
  63918. +[# Loop through the user's path and test for sed and gsed.
  63919. +# Then use that list of sed's as ones to test for truncation.
  63920. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  63921. +for as_dir in $PATH
  63922. +do
  63923. + IFS=$as_save_IFS
  63924. + test -z "$as_dir" && as_dir=.
  63925. + for lt_ac_prog in sed gsed; do
  63926. + for ac_exec_ext in '' $ac_executable_extensions; do
  63927. + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  63928. + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  63929. + fi
  63930. + done
  63931. + done
  63932. +done
  63933. +IFS=$as_save_IFS
  63934. +lt_ac_max=0
  63935. +lt_ac_count=0
  63936. +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  63937. +# along with /bin/sed that truncates output.
  63938. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  63939. + test ! -f $lt_ac_sed && continue
  63940. + cat /dev/null > conftest.in
  63941. + lt_ac_count=0
  63942. + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  63943. + # Check for GNU sed and select it if it is found.
  63944. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  63945. + lt_cv_path_SED=$lt_ac_sed
  63946. + break
  63947. + fi
  63948. + while true; do
  63949. + cat conftest.in conftest.in >conftest.tmp
  63950. + mv conftest.tmp conftest.in
  63951. + cp conftest.in conftest.nl
  63952. + echo >>conftest.nl
  63953. + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  63954. + cmp -s conftest.out conftest.nl || break
  63955. + # 10000 chars as input seems more than enough
  63956. + test $lt_ac_count -gt 10 && break
  63957. + lt_ac_count=`expr $lt_ac_count + 1`
  63958. + if test $lt_ac_count -gt $lt_ac_max; then
  63959. + lt_ac_max=$lt_ac_count
  63960. + lt_cv_path_SED=$lt_ac_sed
  63961. + fi
  63962. + done
  63963. +done
  63964. +])
  63965. +SED=$lt_cv_path_SED
  63966. +AC_SUBST([SED])
  63967. +AC_MSG_RESULT([$SED])
  63968. +])#AC_PROG_SED
  63969. +])#m4_ifndef
  63970. +
  63971. +# Old name:
  63972. +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  63973. +dnl aclocal-1.4 backwards compatibility:
  63974. +dnl AC_DEFUN([LT_AC_PROG_SED], [])
  63975. +
  63976. +
  63977. +# _LT_CHECK_SHELL_FEATURES
  63978. +# ------------------------
  63979. +# Find out whether the shell is Bourne or XSI compatible,
  63980. +# or has some other useful features.
  63981. +m4_defun([_LT_CHECK_SHELL_FEATURES],
  63982. +[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  63983. +# Try some XSI features
  63984. +xsi_shell=no
  63985. +( _lt_dummy="a/b/c"
  63986. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  63987. + = c,a/b,, \
  63988. + && eval 'test $(( 1 + 1 )) -eq 2 \
  63989. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  63990. + && xsi_shell=yes
  63991. +AC_MSG_RESULT([$xsi_shell])
  63992. +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  63993. +
  63994. +AC_MSG_CHECKING([whether the shell understands "+="])
  63995. +lt_shell_append=no
  63996. +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  63997. + >/dev/null 2>&1 \
  63998. + && lt_shell_append=yes
  63999. +AC_MSG_RESULT([$lt_shell_append])
  64000. +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  64001. +
  64002. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  64003. + lt_unset=unset
  64004. +else
  64005. + lt_unset=false
  64006. +fi
  64007. +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  64008. +
  64009. +# test EBCDIC or ASCII
  64010. +case `echo X|tr X '\101'` in
  64011. + A) # ASCII based system
  64012. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  64013. + lt_SP2NL='tr \040 \012'
  64014. + lt_NL2SP='tr \015\012 \040\040'
  64015. + ;;
  64016. + *) # EBCDIC based system
  64017. + lt_SP2NL='tr \100 \n'
  64018. + lt_NL2SP='tr \r\n \100\100'
  64019. + ;;
  64020. +esac
  64021. +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  64022. +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  64023. +])# _LT_CHECK_SHELL_FEATURES
  64024. +
  64025. +
  64026. +# _LT_PROG_XSI_SHELLFNS
  64027. +# ---------------------
  64028. +# Bourne and XSI compatible variants of some useful shell functions.
  64029. +m4_defun([_LT_PROG_XSI_SHELLFNS],
  64030. +[case $xsi_shell in
  64031. + yes)
  64032. + cat << \_LT_EOF >> "$cfgfile"
  64033. +
  64034. +# func_dirname file append nondir_replacement
  64035. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  64036. +# otherwise set result to NONDIR_REPLACEMENT.
  64037. +func_dirname ()
  64038. +{
  64039. + case ${1} in
  64040. + */*) func_dirname_result="${1%/*}${2}" ;;
  64041. + * ) func_dirname_result="${3}" ;;
  64042. + esac
  64043. +}
  64044. +
  64045. +# func_basename file
  64046. +func_basename ()
  64047. +{
  64048. + func_basename_result="${1##*/}"
  64049. +}
  64050. +
  64051. +# func_dirname_and_basename file append nondir_replacement
  64052. +# perform func_basename and func_dirname in a single function
  64053. +# call:
  64054. +# dirname: Compute the dirname of FILE. If nonempty,
  64055. +# add APPEND to the result, otherwise set result
  64056. +# to NONDIR_REPLACEMENT.
  64057. +# value returned in "$func_dirname_result"
  64058. +# basename: Compute filename of FILE.
  64059. +# value retuned in "$func_basename_result"
  64060. +# Implementation must be kept synchronized with func_dirname
  64061. +# and func_basename. For efficiency, we do not delegate to
  64062. +# those functions but instead duplicate the functionality here.
  64063. +func_dirname_and_basename ()
  64064. +{
  64065. + case ${1} in
  64066. + */*) func_dirname_result="${1%/*}${2}" ;;
  64067. + * ) func_dirname_result="${3}" ;;
  64068. + esac
  64069. + func_basename_result="${1##*/}"
  64070. +}
  64071. +
  64072. +# func_stripname prefix suffix name
  64073. +# strip PREFIX and SUFFIX off of NAME.
  64074. +# PREFIX and SUFFIX must not contain globbing or regex special
  64075. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  64076. +# dot (in which case that matches only a dot).
  64077. +func_stripname ()
  64078. +{
  64079. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  64080. + # positional parameters, so assign one to ordinary parameter first.
  64081. + func_stripname_result=${3}
  64082. + func_stripname_result=${func_stripname_result#"${1}"}
  64083. + func_stripname_result=${func_stripname_result%"${2}"}
  64084. +}
  64085. +
  64086. +# func_opt_split
  64087. +func_opt_split ()
  64088. +{
  64089. + func_opt_split_opt=${1%%=*}
  64090. + func_opt_split_arg=${1#*=}
  64091. +}
  64092. +
  64093. +# func_lo2o object
  64094. +func_lo2o ()
  64095. +{
  64096. + case ${1} in
  64097. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  64098. + *) func_lo2o_result=${1} ;;
  64099. + esac
  64100. +}
  64101. +
  64102. +# func_xform libobj-or-source
  64103. +func_xform ()
  64104. +{
  64105. + func_xform_result=${1%.*}.lo
  64106. +}
  64107. +
  64108. +# func_arith arithmetic-term...
  64109. +func_arith ()
  64110. +{
  64111. + func_arith_result=$(( $[*] ))
  64112. +}
  64113. +
  64114. +# func_len string
  64115. +# STRING may not start with a hyphen.
  64116. +func_len ()
  64117. +{
  64118. + func_len_result=${#1}
  64119. +}
  64120. +
  64121. +_LT_EOF
  64122. + ;;
  64123. + *) # Bourne compatible functions.
  64124. + cat << \_LT_EOF >> "$cfgfile"
  64125. +
  64126. +# func_dirname file append nondir_replacement
  64127. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  64128. +# otherwise set result to NONDIR_REPLACEMENT.
  64129. +func_dirname ()
  64130. +{
  64131. + # Extract subdirectory from the argument.
  64132. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  64133. + if test "X$func_dirname_result" = "X${1}"; then
  64134. + func_dirname_result="${3}"
  64135. + else
  64136. + func_dirname_result="$func_dirname_result${2}"
  64137. + fi
  64138. +}
  64139. +
  64140. +# func_basename file
  64141. +func_basename ()
  64142. +{
  64143. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  64144. +}
  64145. +
  64146. +dnl func_dirname_and_basename
  64147. +dnl A portable version of this function is already defined in general.m4sh
  64148. +dnl so there is no need for it here.
  64149. +
  64150. +# func_stripname prefix suffix name
  64151. +# strip PREFIX and SUFFIX off of NAME.
  64152. +# PREFIX and SUFFIX must not contain globbing or regex special
  64153. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  64154. +# dot (in which case that matches only a dot).
  64155. +# func_strip_suffix prefix name
  64156. +func_stripname ()
  64157. +{
  64158. + case ${2} in
  64159. + .*) func_stripname_result=`$ECHO "X${3}" \
  64160. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  64161. + *) func_stripname_result=`$ECHO "X${3}" \
  64162. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  64163. + esac
  64164. +}
  64165. +
  64166. +# sed scripts:
  64167. +my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  64168. +my_sed_long_arg='1s/^-[[^=]]*=//'
  64169. +
  64170. +# func_opt_split
  64171. +func_opt_split ()
  64172. +{
  64173. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  64174. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  64175. +}
  64176. +
  64177. +# func_lo2o object
  64178. +func_lo2o ()
  64179. +{
  64180. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  64181. +}
  64182. +
  64183. +# func_xform libobj-or-source
  64184. +func_xform ()
  64185. +{
  64186. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  64187. +}
  64188. +
  64189. +# func_arith arithmetic-term...
  64190. +func_arith ()
  64191. +{
  64192. + func_arith_result=`expr "$[@]"`
  64193. +}
  64194. +
  64195. +# func_len string
  64196. +# STRING may not start with a hyphen.
  64197. +func_len ()
  64198. +{
  64199. + func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  64200. +}
  64201. +
  64202. +_LT_EOF
  64203. +esac
  64204. +
  64205. +case $lt_shell_append in
  64206. + yes)
  64207. + cat << \_LT_EOF >> "$cfgfile"
  64208. +
  64209. +# func_append var value
  64210. +# Append VALUE to the end of shell variable VAR.
  64211. +func_append ()
  64212. +{
  64213. + eval "$[1]+=\$[2]"
  64214. +}
  64215. +_LT_EOF
  64216. + ;;
  64217. + *)
  64218. + cat << \_LT_EOF >> "$cfgfile"
  64219. +
  64220. +# func_append var value
  64221. +# Append VALUE to the end of shell variable VAR.
  64222. +func_append ()
  64223. +{
  64224. + eval "$[1]=\$$[1]\$[2]"
  64225. +}
  64226. +
  64227. +_LT_EOF
  64228. + ;;
  64229. + esac
  64230. +])
  64231. diff -Nur alsa-lib-1.0.22.orig/m4/lt~obsolete.m4 alsa-lib-1.0.22/m4/lt~obsolete.m4
  64232. --- alsa-lib-1.0.22.orig/m4/lt~obsolete.m4 1970-01-01 01:00:00.000000000 +0100
  64233. +++ alsa-lib-1.0.22/m4/lt~obsolete.m4 2011-02-24 20:33:10.553551242 +0100
  64234. @@ -0,0 +1,92 @@
  64235. +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  64236. +#
  64237. +# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  64238. +# Written by Scott James Remnant, 2004.
  64239. +#
  64240. +# This file is free software; the Free Software Foundation gives
  64241. +# unlimited permission to copy and/or distribute it, with or without
  64242. +# modifications, as long as this notice is preserved.
  64243. +
  64244. +# serial 4 lt~obsolete.m4
  64245. +
  64246. +# These exist entirely to fool aclocal when bootstrapping libtool.
  64247. +#
  64248. +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  64249. +# which have later been changed to m4_define as they aren't part of the
  64250. +# exported API, or moved to Autoconf or Automake where they belong.
  64251. +#
  64252. +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
  64253. +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  64254. +# using a macro with the same name in our local m4/libtool.m4 it'll
  64255. +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  64256. +# and doesn't know about Autoconf macros at all.)
  64257. +#
  64258. +# So we provide this file, which has a silly filename so it's always
  64259. +# included after everything else. This provides aclocal with the
  64260. +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  64261. +# because those macros already exist, or will be overwritten later.
  64262. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  64263. +#
  64264. +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  64265. +# Yes, that means every name once taken will need to remain here until
  64266. +# we give up compatibility with versions before 1.7, at which point
  64267. +# we need to keep only those names which we still refer to.
  64268. +
  64269. +# This is to help aclocal find these macros, as it can't see m4_define.
  64270. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  64271. +
  64272. +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  64273. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
  64274. +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  64275. +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
  64276. +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  64277. +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
  64278. +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
  64279. +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  64280. +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
  64281. +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  64282. +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
  64283. +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  64284. +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  64285. +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  64286. +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  64287. +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  64288. +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
  64289. +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  64290. +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  64291. +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
  64292. +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
  64293. +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  64294. +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  64295. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  64296. +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  64297. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  64298. +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  64299. +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  64300. +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
  64301. +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
  64302. +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
  64303. +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  64304. +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  64305. +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
  64306. +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
  64307. +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  64308. +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  64309. +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
  64310. +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  64311. +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  64312. +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  64313. +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  64314. +m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  64315. +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  64316. +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  64317. +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  64318. +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  64319. +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  64320. +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  64321. +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  64322. +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  64323. +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  64324. +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  64325. +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  64326. +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  64327. diff -Nur alsa-lib-1.0.22.orig/m4/ltoptions.m4 alsa-lib-1.0.22/m4/ltoptions.m4
  64328. --- alsa-lib-1.0.22.orig/m4/ltoptions.m4 1970-01-01 01:00:00.000000000 +0100
  64329. +++ alsa-lib-1.0.22/m4/ltoptions.m4 2011-02-24 20:33:10.453551078 +0100
  64330. @@ -0,0 +1,368 @@
  64331. +# Helper functions for option handling. -*- Autoconf -*-
  64332. +#
  64333. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  64334. +# Written by Gary V. Vaughan, 2004
  64335. +#
  64336. +# This file is free software; the Free Software Foundation gives
  64337. +# unlimited permission to copy and/or distribute it, with or without
  64338. +# modifications, as long as this notice is preserved.
  64339. +
  64340. +# serial 6 ltoptions.m4
  64341. +
  64342. +# This is to help aclocal find these macros, as it can't see m4_define.
  64343. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  64344. +
  64345. +
  64346. +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  64347. +# ------------------------------------------
  64348. +m4_define([_LT_MANGLE_OPTION],
  64349. +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  64350. +
  64351. +
  64352. +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  64353. +# ---------------------------------------
  64354. +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  64355. +# matching handler defined, dispatch to it. Other OPTION-NAMEs are
  64356. +# saved as a flag.
  64357. +m4_define([_LT_SET_OPTION],
  64358. +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  64359. +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  64360. + _LT_MANGLE_DEFUN([$1], [$2]),
  64361. + [m4_warning([Unknown $1 option `$2'])])[]dnl
  64362. +])
  64363. +
  64364. +
  64365. +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  64366. +# ------------------------------------------------------------
  64367. +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  64368. +m4_define([_LT_IF_OPTION],
  64369. +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  64370. +
  64371. +
  64372. +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  64373. +# -------------------------------------------------------
  64374. +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  64375. +# are set.
  64376. +m4_define([_LT_UNLESS_OPTIONS],
  64377. +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  64378. + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  64379. + [m4_define([$0_found])])])[]dnl
  64380. +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  64381. +])[]dnl
  64382. +])
  64383. +
  64384. +
  64385. +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  64386. +# ----------------------------------------
  64387. +# OPTION-LIST is a space-separated list of Libtool options associated
  64388. +# with MACRO-NAME. If any OPTION has a matching handler declared with
  64389. +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  64390. +# the unknown option and exit.
  64391. +m4_defun([_LT_SET_OPTIONS],
  64392. +[# Set options
  64393. +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  64394. + [_LT_SET_OPTION([$1], _LT_Option)])
  64395. +
  64396. +m4_if([$1],[LT_INIT],[
  64397. + dnl
  64398. + dnl Simply set some default values (i.e off) if boolean options were not
  64399. + dnl specified:
  64400. + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  64401. + ])
  64402. + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  64403. + ])
  64404. + dnl
  64405. + dnl If no reference was made to various pairs of opposing options, then
  64406. + dnl we run the default mode handler for the pair. For example, if neither
  64407. + dnl `shared' nor `disable-shared' was passed, we enable building of shared
  64408. + dnl archives by default:
  64409. + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  64410. + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  64411. + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  64412. + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  64413. + [_LT_ENABLE_FAST_INSTALL])
  64414. + ])
  64415. +])# _LT_SET_OPTIONS
  64416. +
  64417. +
  64418. +## --------------------------------- ##
  64419. +## Macros to handle LT_INIT options. ##
  64420. +## --------------------------------- ##
  64421. +
  64422. +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  64423. +# -----------------------------------------
  64424. +m4_define([_LT_MANGLE_DEFUN],
  64425. +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  64426. +
  64427. +
  64428. +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  64429. +# -----------------------------------------------
  64430. +m4_define([LT_OPTION_DEFINE],
  64431. +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  64432. +])# LT_OPTION_DEFINE
  64433. +
  64434. +
  64435. +# dlopen
  64436. +# ------
  64437. +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  64438. +])
  64439. +
  64440. +AU_DEFUN([AC_LIBTOOL_DLOPEN],
  64441. +[_LT_SET_OPTION([LT_INIT], [dlopen])
  64442. +AC_DIAGNOSE([obsolete],
  64443. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  64444. +put the `dlopen' option into LT_INIT's first parameter.])
  64445. +])
  64446. +
  64447. +dnl aclocal-1.4 backwards compatibility:
  64448. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  64449. +
  64450. +
  64451. +# win32-dll
  64452. +# ---------
  64453. +# Declare package support for building win32 dll's.
  64454. +LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  64455. +[enable_win32_dll=yes
  64456. +
  64457. +case $host in
  64458. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  64459. + AC_CHECK_TOOL(AS, as, false)
  64460. + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  64461. + AC_CHECK_TOOL(OBJDUMP, objdump, false)
  64462. + ;;
  64463. +esac
  64464. +
  64465. +test -z "$AS" && AS=as
  64466. +_LT_DECL([], [AS], [0], [Assembler program])dnl
  64467. +
  64468. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  64469. +_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  64470. +
  64471. +test -z "$OBJDUMP" && OBJDUMP=objdump
  64472. +_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  64473. +])# win32-dll
  64474. +
  64475. +AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  64476. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  64477. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  64478. +AC_DIAGNOSE([obsolete],
  64479. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  64480. +put the `win32-dll' option into LT_INIT's first parameter.])
  64481. +])
  64482. +
  64483. +dnl aclocal-1.4 backwards compatibility:
  64484. +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  64485. +
  64486. +
  64487. +# _LT_ENABLE_SHARED([DEFAULT])
  64488. +# ----------------------------
  64489. +# implement the --enable-shared flag, and supports the `shared' and
  64490. +# `disable-shared' LT_INIT options.
  64491. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  64492. +m4_define([_LT_ENABLE_SHARED],
  64493. +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  64494. +AC_ARG_ENABLE([shared],
  64495. + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  64496. + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  64497. + [p=${PACKAGE-default}
  64498. + case $enableval in
  64499. + yes) enable_shared=yes ;;
  64500. + no) enable_shared=no ;;
  64501. + *)
  64502. + enable_shared=no
  64503. + # Look at the argument we got. We use all the common list separators.
  64504. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  64505. + for pkg in $enableval; do
  64506. + IFS="$lt_save_ifs"
  64507. + if test "X$pkg" = "X$p"; then
  64508. + enable_shared=yes
  64509. + fi
  64510. + done
  64511. + IFS="$lt_save_ifs"
  64512. + ;;
  64513. + esac],
  64514. + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  64515. +
  64516. + _LT_DECL([build_libtool_libs], [enable_shared], [0],
  64517. + [Whether or not to build shared libraries])
  64518. +])# _LT_ENABLE_SHARED
  64519. +
  64520. +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  64521. +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  64522. +
  64523. +# Old names:
  64524. +AC_DEFUN([AC_ENABLE_SHARED],
  64525. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  64526. +])
  64527. +
  64528. +AC_DEFUN([AC_DISABLE_SHARED],
  64529. +[_LT_SET_OPTION([LT_INIT], [disable-shared])
  64530. +])
  64531. +
  64532. +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  64533. +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  64534. +
  64535. +dnl aclocal-1.4 backwards compatibility:
  64536. +dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  64537. +dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  64538. +
  64539. +
  64540. +
  64541. +# _LT_ENABLE_STATIC([DEFAULT])
  64542. +# ----------------------------
  64543. +# implement the --enable-static flag, and support the `static' and
  64544. +# `disable-static' LT_INIT options.
  64545. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  64546. +m4_define([_LT_ENABLE_STATIC],
  64547. +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  64548. +AC_ARG_ENABLE([static],
  64549. + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  64550. + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  64551. + [p=${PACKAGE-default}
  64552. + case $enableval in
  64553. + yes) enable_static=yes ;;
  64554. + no) enable_static=no ;;
  64555. + *)
  64556. + enable_static=no
  64557. + # Look at the argument we got. We use all the common list separators.
  64558. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  64559. + for pkg in $enableval; do
  64560. + IFS="$lt_save_ifs"
  64561. + if test "X$pkg" = "X$p"; then
  64562. + enable_static=yes
  64563. + fi
  64564. + done
  64565. + IFS="$lt_save_ifs"
  64566. + ;;
  64567. + esac],
  64568. + [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  64569. +
  64570. + _LT_DECL([build_old_libs], [enable_static], [0],
  64571. + [Whether or not to build static libraries])
  64572. +])# _LT_ENABLE_STATIC
  64573. +
  64574. +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  64575. +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  64576. +
  64577. +# Old names:
  64578. +AC_DEFUN([AC_ENABLE_STATIC],
  64579. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  64580. +])
  64581. +
  64582. +AC_DEFUN([AC_DISABLE_STATIC],
  64583. +[_LT_SET_OPTION([LT_INIT], [disable-static])
  64584. +])
  64585. +
  64586. +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  64587. +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  64588. +
  64589. +dnl aclocal-1.4 backwards compatibility:
  64590. +dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  64591. +dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  64592. +
  64593. +
  64594. +
  64595. +# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  64596. +# ----------------------------------
  64597. +# implement the --enable-fast-install flag, and support the `fast-install'
  64598. +# and `disable-fast-install' LT_INIT options.
  64599. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  64600. +m4_define([_LT_ENABLE_FAST_INSTALL],
  64601. +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  64602. +AC_ARG_ENABLE([fast-install],
  64603. + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  64604. + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  64605. + [p=${PACKAGE-default}
  64606. + case $enableval in
  64607. + yes) enable_fast_install=yes ;;
  64608. + no) enable_fast_install=no ;;
  64609. + *)
  64610. + enable_fast_install=no
  64611. + # Look at the argument we got. We use all the common list separators.
  64612. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  64613. + for pkg in $enableval; do
  64614. + IFS="$lt_save_ifs"
  64615. + if test "X$pkg" = "X$p"; then
  64616. + enable_fast_install=yes
  64617. + fi
  64618. + done
  64619. + IFS="$lt_save_ifs"
  64620. + ;;
  64621. + esac],
  64622. + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  64623. +
  64624. +_LT_DECL([fast_install], [enable_fast_install], [0],
  64625. + [Whether or not to optimize for fast installation])dnl
  64626. +])# _LT_ENABLE_FAST_INSTALL
  64627. +
  64628. +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  64629. +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  64630. +
  64631. +# Old names:
  64632. +AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  64633. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  64634. +AC_DIAGNOSE([obsolete],
  64635. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  64636. +the `fast-install' option into LT_INIT's first parameter.])
  64637. +])
  64638. +
  64639. +AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  64640. +[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  64641. +AC_DIAGNOSE([obsolete],
  64642. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  64643. +the `disable-fast-install' option into LT_INIT's first parameter.])
  64644. +])
  64645. +
  64646. +dnl aclocal-1.4 backwards compatibility:
  64647. +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  64648. +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  64649. +
  64650. +
  64651. +# _LT_WITH_PIC([MODE])
  64652. +# --------------------
  64653. +# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  64654. +# LT_INIT options.
  64655. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  64656. +m4_define([_LT_WITH_PIC],
  64657. +[AC_ARG_WITH([pic],
  64658. + [AS_HELP_STRING([--with-pic],
  64659. + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  64660. + [pic_mode="$withval"],
  64661. + [pic_mode=default])
  64662. +
  64663. +test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  64664. +
  64665. +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  64666. +])# _LT_WITH_PIC
  64667. +
  64668. +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  64669. +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  64670. +
  64671. +# Old name:
  64672. +AU_DEFUN([AC_LIBTOOL_PICMODE],
  64673. +[_LT_SET_OPTION([LT_INIT], [pic-only])
  64674. +AC_DIAGNOSE([obsolete],
  64675. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  64676. +put the `pic-only' option into LT_INIT's first parameter.])
  64677. +])
  64678. +
  64679. +dnl aclocal-1.4 backwards compatibility:
  64680. +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  64681. +
  64682. +## ----------------- ##
  64683. +## LTDL_INIT Options ##
  64684. +## ----------------- ##
  64685. +
  64686. +m4_define([_LTDL_MODE], [])
  64687. +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  64688. + [m4_define([_LTDL_MODE], [nonrecursive])])
  64689. +LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  64690. + [m4_define([_LTDL_MODE], [recursive])])
  64691. +LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  64692. + [m4_define([_LTDL_MODE], [subproject])])
  64693. +
  64694. +m4_define([_LTDL_TYPE], [])
  64695. +LT_OPTION_DEFINE([LTDL_INIT], [installable],
  64696. + [m4_define([_LTDL_TYPE], [installable])])
  64697. +LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  64698. + [m4_define([_LTDL_TYPE], [convenience])])
  64699. diff -Nur alsa-lib-1.0.22.orig/m4/ltsugar.m4 alsa-lib-1.0.22/m4/ltsugar.m4
  64700. --- alsa-lib-1.0.22.orig/m4/ltsugar.m4 1970-01-01 01:00:00.000000000 +0100
  64701. +++ alsa-lib-1.0.22/m4/ltsugar.m4 2011-02-24 20:33:10.483550995 +0100
  64702. @@ -0,0 +1,123 @@
  64703. +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  64704. +#
  64705. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  64706. +# Written by Gary V. Vaughan, 2004
  64707. +#
  64708. +# This file is free software; the Free Software Foundation gives
  64709. +# unlimited permission to copy and/or distribute it, with or without
  64710. +# modifications, as long as this notice is preserved.
  64711. +
  64712. +# serial 6 ltsugar.m4
  64713. +
  64714. +# This is to help aclocal find these macros, as it can't see m4_define.
  64715. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  64716. +
  64717. +
  64718. +# lt_join(SEP, ARG1, [ARG2...])
  64719. +# -----------------------------
  64720. +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  64721. +# associated separator.
  64722. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  64723. +# versions in m4sugar had bugs.
  64724. +m4_define([lt_join],
  64725. +[m4_if([$#], [1], [],
  64726. + [$#], [2], [[$2]],
  64727. + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  64728. +m4_define([_lt_join],
  64729. +[m4_if([$#$2], [2], [],
  64730. + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  64731. +
  64732. +
  64733. +# lt_car(LIST)
  64734. +# lt_cdr(LIST)
  64735. +# ------------
  64736. +# Manipulate m4 lists.
  64737. +# These macros are necessary as long as will still need to support
  64738. +# Autoconf-2.59 which quotes differently.
  64739. +m4_define([lt_car], [[$1]])
  64740. +m4_define([lt_cdr],
  64741. +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  64742. + [$#], 1, [],
  64743. + [m4_dquote(m4_shift($@))])])
  64744. +m4_define([lt_unquote], $1)
  64745. +
  64746. +
  64747. +# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  64748. +# ------------------------------------------
  64749. +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  64750. +# Note that neither SEPARATOR nor STRING are expanded; they are appended
  64751. +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  64752. +# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  64753. +# than defined and empty).
  64754. +#
  64755. +# This macro is needed until we can rely on Autoconf 2.62, since earlier
  64756. +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  64757. +m4_define([lt_append],
  64758. +[m4_define([$1],
  64759. + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  64760. +
  64761. +
  64762. +
  64763. +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  64764. +# ----------------------------------------------------------
  64765. +# Produce a SEP delimited list of all paired combinations of elements of
  64766. +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  64767. +# has the form PREFIXmINFIXSUFFIXn.
  64768. +# Needed until we can rely on m4_combine added in Autoconf 2.62.
  64769. +m4_define([lt_combine],
  64770. +[m4_if(m4_eval([$# > 3]), [1],
  64771. + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  64772. +[[m4_foreach([_Lt_prefix], [$2],
  64773. + [m4_foreach([_Lt_suffix],
  64774. + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  64775. + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  64776. +
  64777. +
  64778. +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  64779. +# -----------------------------------------------------------------------
  64780. +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  64781. +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  64782. +m4_define([lt_if_append_uniq],
  64783. +[m4_ifdef([$1],
  64784. + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  64785. + [lt_append([$1], [$2], [$3])$4],
  64786. + [$5])],
  64787. + [lt_append([$1], [$2], [$3])$4])])
  64788. +
  64789. +
  64790. +# lt_dict_add(DICT, KEY, VALUE)
  64791. +# -----------------------------
  64792. +m4_define([lt_dict_add],
  64793. +[m4_define([$1($2)], [$3])])
  64794. +
  64795. +
  64796. +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  64797. +# --------------------------------------------
  64798. +m4_define([lt_dict_add_subkey],
  64799. +[m4_define([$1($2:$3)], [$4])])
  64800. +
  64801. +
  64802. +# lt_dict_fetch(DICT, KEY, [SUBKEY])
  64803. +# ----------------------------------
  64804. +m4_define([lt_dict_fetch],
  64805. +[m4_ifval([$3],
  64806. + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  64807. + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  64808. +
  64809. +
  64810. +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  64811. +# -----------------------------------------------------------------
  64812. +m4_define([lt_if_dict_fetch],
  64813. +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  64814. + [$5],
  64815. + [$6])])
  64816. +
  64817. +
  64818. +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  64819. +# --------------------------------------------------------------
  64820. +m4_define([lt_dict_filter],
  64821. +[m4_if([$5], [], [],
  64822. + [lt_join(m4_quote(m4_default([$4], [[, ]])),
  64823. + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  64824. + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  64825. +])
  64826. diff -Nur alsa-lib-1.0.22.orig/m4/ltversion.m4 alsa-lib-1.0.22/m4/ltversion.m4
  64827. --- alsa-lib-1.0.22.orig/m4/ltversion.m4 1970-01-01 01:00:00.000000000 +0100
  64828. +++ alsa-lib-1.0.22/m4/ltversion.m4 2011-02-24 20:33:10.513551979 +0100
  64829. @@ -0,0 +1,23 @@
  64830. +# ltversion.m4 -- version numbers -*- Autoconf -*-
  64831. +#
  64832. +# Copyright (C) 2004 Free Software Foundation, Inc.
  64833. +# Written by Scott James Remnant, 2004
  64834. +#
  64835. +# This file is free software; the Free Software Foundation gives
  64836. +# unlimited permission to copy and/or distribute it, with or without
  64837. +# modifications, as long as this notice is preserved.
  64838. +
  64839. +# Generated from ltversion.in.
  64840. +
  64841. +# serial 3017 ltversion.m4
  64842. +# This file is part of GNU Libtool
  64843. +
  64844. +m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  64845. +m4_define([LT_PACKAGE_REVISION], [1.3017])
  64846. +
  64847. +AC_DEFUN([LTVERSION_VERSION],
  64848. +[macro_version='2.2.6b'
  64849. +macro_revision='1.3017'
  64850. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  64851. +_LT_DECL(, macro_revision, 0)
  64852. +])
  64853. diff -Nur alsa-lib-1.0.22.orig/Makefile.in alsa-lib-1.0.22/Makefile.in
  64854. --- alsa-lib-1.0.22.orig/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  64855. +++ alsa-lib-1.0.22/Makefile.in 2011-02-24 20:33:16.283552572 +0100
  64856. @@ -1,8 +1,9 @@
  64857. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  64858. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  64859. # @configure_input@
  64860. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  64861. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  64862. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  64863. +# Inc.
  64864. # This Makefile.in is free software; the Free Software Foundation
  64865. # gives unlimited permission to copy and/or distribute it,
  64866. # with or without modifications, as long as this notice is preserved.
  64867. @@ -13,15 +14,12 @@
  64868. # PARTICULAR PURPOSE.
  64869. @SET_MAKE@
  64870. -srcdir = @srcdir@
  64871. -top_srcdir = @top_srcdir@
  64872. VPATH = @srcdir@
  64873. pkgdatadir = $(datadir)/@PACKAGE@
  64874. -pkglibdir = $(libdir)/@PACKAGE@
  64875. pkgincludedir = $(includedir)/@PACKAGE@
  64876. -top_builddir = .
  64877. +pkglibdir = $(libdir)/@PACKAGE@
  64878. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  64879. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  64880. -INSTALL = @INSTALL@
  64881. install_sh_DATA = $(install_sh) -c -m 644
  64882. install_sh_PROGRAM = $(install_sh) -c
  64883. install_sh_SCRIPT = $(install_sh) -c
  64884. @@ -38,29 +36,45 @@
  64885. @BUILD_MODULES_TRUE@am__append_1 = modules
  64886. @BUILD_PCM_PLUGIN_SHM_TRUE@am__append_2 = aserver
  64887. @BUILD_ALISP_TRUE@@BUILD_MIXER_TRUE@am__append_3 = alsalisp
  64888. +subdir = .
  64889. DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
  64890. $(srcdir)/Makefile.in $(top_srcdir)/configure COPYING \
  64891. ChangeLog INSTALL TODO compile config.guess config.sub depcomp \
  64892. install-sh ltconfig ltmain.sh missing
  64893. -subdir = .
  64894. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  64895. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  64896. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  64897. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  64898. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  64899. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  64900. $(top_srcdir)/configure.in
  64901. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  64902. $(ACLOCAL_M4)
  64903. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  64904. - configure.lineno configure.status.lineno
  64905. + configure.lineno config.status.lineno
  64906. mkinstalldirs = $(install_sh) -d
  64907. CONFIG_HEADER = $(top_builddir)/include/config.h
  64908. CONFIG_CLEAN_FILES =
  64909. +CONFIG_CLEAN_VPATH_FILES =
  64910. +AM_V_GEN = $(am__v_GEN_$(V))
  64911. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  64912. +am__v_GEN_0 = @echo " GEN " $@;
  64913. +AM_V_at = $(am__v_at_$(V))
  64914. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  64915. +am__v_at_0 = @
  64916. SOURCES =
  64917. DIST_SOURCES =
  64918. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  64919. html-recursive info-recursive install-data-recursive \
  64920. - install-exec-recursive install-info-recursive \
  64921. - install-recursive installcheck-recursive installdirs-recursive \
  64922. - pdf-recursive ps-recursive uninstall-info-recursive \
  64923. - uninstall-recursive
  64924. + install-dvi-recursive install-exec-recursive \
  64925. + install-html-recursive install-info-recursive \
  64926. + install-pdf-recursive install-ps-recursive install-recursive \
  64927. + installcheck-recursive installdirs-recursive pdf-recursive \
  64928. + ps-recursive uninstall-recursive
  64929. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  64930. + distclean-recursive maintainer-clean-recursive
  64931. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  64932. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  64933. + distdir dist dist-all distcheck
  64934. ETAGS = etags
  64935. CTAGS = ctags
  64936. DIST_SUBDIRS = doc include src modules aserver alsalisp test utils
  64937. @@ -68,9 +82,34 @@
  64938. distdir = $(PACKAGE)-$(VERSION)
  64939. top_distdir = $(distdir)
  64940. am__remove_distdir = \
  64941. - { test ! -d $(distdir) \
  64942. - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  64943. - && rm -fr $(distdir); }; }
  64944. + { test ! -d "$(distdir)" \
  64945. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  64946. + && rm -fr "$(distdir)"; }; }
  64947. +am__relativize = \
  64948. + dir0=`pwd`; \
  64949. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  64950. + sed_rest='s,^[^/]*/*,,'; \
  64951. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  64952. + sed_butlast='s,/*[^/]*$$,,'; \
  64953. + while test -n "$$dir1"; do \
  64954. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  64955. + if test "$$first" != "."; then \
  64956. + if test "$$first" = ".."; then \
  64957. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  64958. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  64959. + else \
  64960. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  64961. + if test "$$first2" = "$$first"; then \
  64962. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  64963. + else \
  64964. + dir2="../$$dir2"; \
  64965. + fi; \
  64966. + dir0="$$dir0"/"$$first"; \
  64967. + fi; \
  64968. + fi; \
  64969. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  64970. + done; \
  64971. + reldir="$$dir2"
  64972. DIST_ARCHIVES = $(distdir).tar.gz
  64973. GZIP_ENV = --best
  64974. distuninstallcheck_listfiles = find . -type f -print
  64975. @@ -78,143 +117,66 @@
  64976. ACLOCAL = @ACLOCAL@
  64977. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  64978. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  64979. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  64980. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  64981. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  64982. -AMDEP_FALSE = @AMDEP_FALSE@
  64983. -AMDEP_TRUE = @AMDEP_TRUE@
  64984. AMTAR = @AMTAR@
  64985. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  64986. AR = @AR@
  64987. AUTOCONF = @AUTOCONF@
  64988. AUTOHEADER = @AUTOHEADER@
  64989. AUTOMAKE = @AUTOMAKE@
  64990. AWK = @AWK@
  64991. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  64992. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  64993. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  64994. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  64995. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  64996. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  64997. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  64998. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  64999. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  65000. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  65001. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  65002. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  65003. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  65004. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  65005. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  65006. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  65007. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  65008. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  65009. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  65010. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  65011. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  65012. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  65013. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  65014. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  65015. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  65016. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  65017. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  65018. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  65019. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  65020. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  65021. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  65022. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  65023. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  65024. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  65025. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  65026. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  65027. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  65028. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  65029. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  65030. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  65031. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  65032. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  65033. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  65034. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  65035. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  65036. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  65037. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  65038. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  65039. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  65040. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  65041. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  65042. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  65043. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  65044. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  65045. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  65046. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  65047. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  65048. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  65049. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  65050. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  65051. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  65052. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  65053. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  65054. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  65055. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  65056. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  65057. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  65058. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  65059. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  65060. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  65061. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  65062. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  65063. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  65064. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  65065. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  65066. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  65067. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  65068. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  65069. CC = @CC@
  65070. CCDEPMODE = @CCDEPMODE@
  65071. CFLAGS = @CFLAGS@
  65072. CPP = @CPP@
  65073. CPPFLAGS = @CPPFLAGS@
  65074. -CXX = @CXX@
  65075. -CXXCPP = @CXXCPP@
  65076. -CXXDEPMODE = @CXXDEPMODE@
  65077. -CXXFLAGS = @CXXFLAGS@
  65078. CYGPATH_W = @CYGPATH_W@
  65079. DEFS = @DEFS@
  65080. DEPDIR = @DEPDIR@
  65081. -ECHO = @ECHO@
  65082. +DSYMUTIL = @DSYMUTIL@
  65083. +DUMPBIN = @DUMPBIN@
  65084. ECHO_C = @ECHO_C@
  65085. ECHO_N = @ECHO_N@
  65086. ECHO_T = @ECHO_T@
  65087. EGREP = @EGREP@
  65088. EXEEXT = @EXEEXT@
  65089. -F77 = @F77@
  65090. -FFLAGS = @FFLAGS@
  65091. +FGREP = @FGREP@
  65092. GREP = @GREP@
  65093. +INSTALL = @INSTALL@
  65094. INSTALL_DATA = @INSTALL_DATA@
  65095. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  65096. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  65097. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  65098. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  65099. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  65100. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  65101. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  65102. +LD = @LD@
  65103. LDFLAGS = @LDFLAGS@
  65104. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  65105. LIBOBJS = @LIBOBJS@
  65106. LIBS = @LIBS@
  65107. LIBTOOL = @LIBTOOL@
  65108. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  65109. +LIPO = @LIPO@
  65110. LN_S = @LN_S@
  65111. LTLIBOBJS = @LTLIBOBJS@
  65112. MAKEINFO = @MAKEINFO@
  65113. +MKDIR_P = @MKDIR_P@
  65114. +NM = @NM@
  65115. +NMEDIT = @NMEDIT@
  65116. +OBJDUMP = @OBJDUMP@
  65117. OBJEXT = @OBJEXT@
  65118. +OTOOL = @OTOOL@
  65119. +OTOOL64 = @OTOOL64@
  65120. PACKAGE = @PACKAGE@
  65121. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  65122. PACKAGE_NAME = @PACKAGE_NAME@
  65123. PACKAGE_STRING = @PACKAGE_STRING@
  65124. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  65125. +PACKAGE_URL = @PACKAGE_URL@
  65126. PACKAGE_VERSION = @PACKAGE_VERSION@
  65127. PATH_SEPARATOR = @PATH_SEPARATOR@
  65128. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  65129. PYTHON_LIBS = @PYTHON_LIBS@
  65130. RANLIB = @RANLIB@
  65131. +SED = @SED@
  65132. SET_MAKE = @SET_MAKE@
  65133. SHELL = @SHELL@
  65134. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  65135. @@ -223,19 +185,14 @@
  65136. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  65137. SND_LIB_VERSION = @SND_LIB_VERSION@
  65138. STRIP = @STRIP@
  65139. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  65140. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  65141. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  65142. VERSION = @VERSION@
  65143. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  65144. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  65145. +abs_builddir = @abs_builddir@
  65146. +abs_srcdir = @abs_srcdir@
  65147. +abs_top_builddir = @abs_top_builddir@
  65148. +abs_top_srcdir = @abs_top_srcdir@
  65149. ac_ct_CC = @ac_ct_CC@
  65150. -ac_ct_CXX = @ac_ct_CXX@
  65151. -ac_ct_F77 = @ac_ct_F77@
  65152. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  65153. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  65154. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  65155. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  65156. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  65157. am__include = @am__include@
  65158. am__leading_dot = @am__leading_dot@
  65159. am__quote = @am__quote@
  65160. @@ -247,6 +204,7 @@
  65161. build_cpu = @build_cpu@
  65162. build_os = @build_os@
  65163. build_vendor = @build_vendor@
  65164. +builddir = @builddir@
  65165. datadir = @datadir@
  65166. datarootdir = @datarootdir@
  65167. docdir = @docdir@
  65168. @@ -265,6 +223,7 @@
  65169. libexecdir = @libexecdir@
  65170. localedir = @localedir@
  65171. localstatedir = @localstatedir@
  65172. +lt_ECHO = @lt_ECHO@
  65173. mandir = @mandir@
  65174. mkdir_p = @mkdir_p@
  65175. oldincludedir = @oldincludedir@
  65176. @@ -274,8 +233,12 @@
  65177. psdir = @psdir@
  65178. sbindir = @sbindir@
  65179. sharedstatedir = @sharedstatedir@
  65180. +srcdir = @srcdir@
  65181. sysconfdir = @sysconfdir@
  65182. target_alias = @target_alias@
  65183. +top_build_prefix = @top_build_prefix@
  65184. +top_builddir = @top_builddir@
  65185. +top_srcdir = @top_srcdir@
  65186. ACLOCAL_AMFLAGS = -I m4
  65187. SUBDIRS = doc include src $(am__append_1) $(am__append_2) \
  65188. $(am__append_3) test utils
  65189. @@ -293,15 +256,15 @@
  65190. @for dep in $?; do \
  65191. case '$(am__configure_deps)' in \
  65192. *$$dep*) \
  65193. - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  65194. - cd $(srcdir) && $(AUTOMAKE) --foreign \
  65195. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  65196. + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  65197. && exit 0; \
  65198. exit 1;; \
  65199. esac; \
  65200. done; \
  65201. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  65202. - cd $(top_srcdir) && \
  65203. - $(AUTOMAKE) --foreign Makefile
  65204. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  65205. + $(am__cd) $(top_srcdir) && \
  65206. + $(AUTOMAKE) --foreign Makefile
  65207. .PRECIOUS: Makefile
  65208. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  65209. @case '$?' in \
  65210. @@ -317,9 +280,10 @@
  65211. $(SHELL) ./config.status --recheck
  65212. $(top_srcdir)/configure: $(am__configure_deps)
  65213. - cd $(srcdir) && $(AUTOCONF)
  65214. + $(am__cd) $(srcdir) && $(AUTOCONF)
  65215. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  65216. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  65217. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  65218. +$(am__aclocal_m4_deps):
  65219. mostlyclean-libtool:
  65220. -rm -f *.lo
  65221. @@ -328,8 +292,7 @@
  65222. -rm -rf .libs _libs
  65223. distclean-libtool:
  65224. - -rm -f libtool
  65225. -uninstall-info-am:
  65226. + -rm -f libtool config.lt
  65227. # This directory's subdirectories are mostly independent; you can cd
  65228. # into them and run `make' without going through this Makefile.
  65229. @@ -338,7 +301,7 @@
  65230. # (which will cause the Makefiles to be regenerated when you run `make');
  65231. # (2) otherwise, pass the desired values on the `make' command line.
  65232. $(RECURSIVE_TARGETS):
  65233. - @failcom='exit 1'; \
  65234. + @fail= failcom='exit 1'; \
  65235. for f in x $$MAKEFLAGS; do \
  65236. case $$f in \
  65237. *=* | --[!k]*);; \
  65238. @@ -355,16 +318,15 @@
  65239. else \
  65240. local_target="$$target"; \
  65241. fi; \
  65242. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  65243. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  65244. || eval $$failcom; \
  65245. done; \
  65246. if test "$$dot_seen" = "no"; then \
  65247. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  65248. fi; test -z "$$fail"
  65249. -mostlyclean-recursive clean-recursive distclean-recursive \
  65250. -maintainer-clean-recursive:
  65251. - @failcom='exit 1'; \
  65252. +$(RECURSIVE_CLEAN_TARGETS):
  65253. + @fail= failcom='exit 1'; \
  65254. for f in x $$MAKEFLAGS; do \
  65255. case $$f in \
  65256. *=* | --[!k]*);; \
  65257. @@ -390,16 +352,16 @@
  65258. else \
  65259. local_target="$$target"; \
  65260. fi; \
  65261. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  65262. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  65263. || eval $$failcom; \
  65264. done && test -z "$$fail"
  65265. tags-recursive:
  65266. list='$(SUBDIRS)'; for subdir in $$list; do \
  65267. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  65268. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  65269. done
  65270. ctags-recursive:
  65271. list='$(SUBDIRS)'; for subdir in $$list; do \
  65272. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  65273. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  65274. done
  65275. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  65276. @@ -407,14 +369,14 @@
  65277. unique=`for i in $$list; do \
  65278. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  65279. done | \
  65280. - $(AWK) ' { files[$$0] = 1; } \
  65281. - END { for (i in files) print i; }'`; \
  65282. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  65283. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  65284. mkid -fID $$unique
  65285. tags: TAGS
  65286. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  65287. $(TAGS_FILES) $(LISP)
  65288. - tags=; \
  65289. + set x; \
  65290. here=`pwd`; \
  65291. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  65292. include_option=--etags-include; \
  65293. @@ -426,84 +388,103 @@
  65294. list='$(SUBDIRS)'; for subdir in $$list; do \
  65295. if test "$$subdir" = .; then :; else \
  65296. test ! -f $$subdir/TAGS || \
  65297. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  65298. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  65299. fi; \
  65300. done; \
  65301. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  65302. unique=`for i in $$list; do \
  65303. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  65304. done | \
  65305. - $(AWK) ' { files[$$0] = 1; } \
  65306. - END { for (i in files) print i; }'`; \
  65307. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  65308. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  65309. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  65310. + shift; \
  65311. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  65312. test -n "$$unique" || unique=$$empty_fix; \
  65313. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  65314. - $$tags $$unique; \
  65315. + if test $$# -gt 0; then \
  65316. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  65317. + "$$@" $$unique; \
  65318. + else \
  65319. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  65320. + $$unique; \
  65321. + fi; \
  65322. fi
  65323. ctags: CTAGS
  65324. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  65325. $(TAGS_FILES) $(LISP)
  65326. - tags=; \
  65327. - here=`pwd`; \
  65328. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  65329. unique=`for i in $$list; do \
  65330. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  65331. done | \
  65332. - $(AWK) ' { files[$$0] = 1; } \
  65333. - END { for (i in files) print i; }'`; \
  65334. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  65335. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  65336. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  65337. + test -z "$(CTAGS_ARGS)$$unique" \
  65338. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  65339. - $$tags $$unique
  65340. + $$unique
  65341. GTAGS:
  65342. here=`$(am__cd) $(top_builddir) && pwd` \
  65343. - && cd $(top_srcdir) \
  65344. - && gtags -i $(GTAGS_ARGS) $$here
  65345. + && $(am__cd) $(top_srcdir) \
  65346. + && gtags -i $(GTAGS_ARGS) "$$here"
  65347. distclean-tags:
  65348. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  65349. distdir: $(DISTFILES)
  65350. $(am__remove_distdir)
  65351. - mkdir $(distdir)
  65352. - $(mkdir_p) $(distdir)/doc $(distdir)/m4 $(distdir)/src $(distdir)/utils
  65353. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  65354. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  65355. - list='$(DISTFILES)'; for file in $$list; do \
  65356. - case $$file in \
  65357. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  65358. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  65359. - esac; \
  65360. + test -d "$(distdir)" || mkdir "$(distdir)"
  65361. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  65362. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  65363. + list='$(DISTFILES)'; \
  65364. + dist_files=`for file in $$list; do echo $$file; done | \
  65365. + sed -e "s|^$$srcdirstrip/||;t" \
  65366. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  65367. + case $$dist_files in \
  65368. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  65369. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  65370. + sort -u` ;; \
  65371. + esac; \
  65372. + for file in $$dist_files; do \
  65373. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  65374. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  65375. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  65376. - dir="/$$dir"; \
  65377. - $(mkdir_p) "$(distdir)$$dir"; \
  65378. - else \
  65379. - dir=''; \
  65380. - fi; \
  65381. if test -d $$d/$$file; then \
  65382. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  65383. + if test -d "$(distdir)/$$file"; then \
  65384. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  65385. + fi; \
  65386. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  65387. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  65388. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  65389. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  65390. fi; \
  65391. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  65392. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  65393. else \
  65394. - test -f $(distdir)/$$file \
  65395. - || cp -p $$d/$$file $(distdir)/$$file \
  65396. + test -f "$(distdir)/$$file" \
  65397. + || cp -p $$d/$$file "$(distdir)/$$file" \
  65398. || exit 1; \
  65399. fi; \
  65400. done
  65401. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  65402. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  65403. if test "$$subdir" = .; then :; else \
  65404. test -d "$(distdir)/$$subdir" \
  65405. - || $(mkdir_p) "$(distdir)/$$subdir" \
  65406. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  65407. || exit 1; \
  65408. - distdir=`$(am__cd) $(distdir) && pwd`; \
  65409. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  65410. - (cd $$subdir && \
  65411. + fi; \
  65412. + done
  65413. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  65414. + if test "$$subdir" = .; then :; else \
  65415. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  65416. + $(am__relativize); \
  65417. + new_distdir=$$reldir; \
  65418. + dir1=$$subdir; dir2="$(top_distdir)"; \
  65419. + $(am__relativize); \
  65420. + new_top_distdir=$$reldir; \
  65421. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  65422. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  65423. + ($(am__cd) $$subdir && \
  65424. $(MAKE) $(AM_MAKEFLAGS) \
  65425. - top_distdir="$$top_distdir" \
  65426. - distdir="$$distdir/$$subdir" \
  65427. + top_distdir="$$new_top_distdir" \
  65428. + distdir="$$new_distdir" \
  65429. + am__remove_distdir=: \
  65430. + am__skip_length_check=: \
  65431. + am__skip_mode_fix=: \
  65432. distdir) \
  65433. || exit 1; \
  65434. fi; \
  65435. @@ -511,11 +492,13 @@
  65436. $(MAKE) $(AM_MAKEFLAGS) \
  65437. top_distdir="$(top_distdir)" distdir="$(distdir)" \
  65438. dist-hook
  65439. - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  65440. + -test -n "$(am__skip_mode_fix)" \
  65441. + || find "$(distdir)" -type d ! -perm -755 \
  65442. + -exec chmod u+rwx,go+rx {} \; -o \
  65443. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  65444. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  65445. - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  65446. - || chmod -R a+r $(distdir)
  65447. + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  65448. + || chmod -R a+r "$(distdir)"
  65449. dist-gzip: distdir
  65450. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  65451. $(am__remove_distdir)
  65452. @@ -524,6 +507,14 @@
  65453. tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  65454. $(am__remove_distdir)
  65455. +dist-lzma: distdir
  65456. + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  65457. + $(am__remove_distdir)
  65458. +
  65459. +dist-xz: distdir
  65460. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  65461. + $(am__remove_distdir)
  65462. +
  65463. dist-tarZ: distdir
  65464. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  65465. $(am__remove_distdir)
  65466. @@ -547,13 +538,17 @@
  65467. distcheck: dist
  65468. case '$(DIST_ARCHIVES)' in \
  65469. *.tar.gz*) \
  65470. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  65471. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  65472. *.tar.bz2*) \
  65473. - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  65474. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  65475. + *.tar.lzma*) \
  65476. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  65477. + *.tar.xz*) \
  65478. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  65479. *.tar.Z*) \
  65480. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  65481. *.shar.gz*) \
  65482. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  65483. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  65484. *.zip*) \
  65485. unzip $(distdir).zip ;;\
  65486. esac
  65487. @@ -561,9 +556,11 @@
  65488. mkdir $(distdir)/_build
  65489. mkdir $(distdir)/_inst
  65490. chmod a-w $(distdir)
  65491. + test -d $(distdir)/_build || exit 0; \
  65492. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  65493. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  65494. - && cd $(distdir)/_build \
  65495. + && am__cwd=`pwd` \
  65496. + && $(am__cd) $(distdir)/_build \
  65497. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  65498. $(DISTCHECK_CONFIGURE_FLAGS) \
  65499. && $(MAKE) $(AM_MAKEFLAGS) \
  65500. @@ -585,13 +582,15 @@
  65501. && rm -rf "$$dc_destdir" \
  65502. && $(MAKE) $(AM_MAKEFLAGS) dist \
  65503. && rm -rf $(DIST_ARCHIVES) \
  65504. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  65505. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  65506. + && cd "$$am__cwd" \
  65507. + || exit 1
  65508. $(am__remove_distdir)
  65509. @(echo "$(distdir) archives ready for distribution: "; \
  65510. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  65511. - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
  65512. + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  65513. distuninstallcheck:
  65514. - @cd $(distuninstallcheck_dir) \
  65515. + @$(am__cd) '$(distuninstallcheck_dir)' \
  65516. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  65517. || { echo "ERROR: files left after uninstall:" ; \
  65518. if test -n "$(DESTDIR)"; then \
  65519. @@ -633,6 +632,7 @@
  65520. distclean-generic:
  65521. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  65522. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  65523. maintainer-clean-generic:
  65524. @echo "This command is intended for maintainers to use"
  65525. @@ -653,18 +653,38 @@
  65526. html: html-recursive
  65527. +html-am:
  65528. +
  65529. info: info-recursive
  65530. info-am:
  65531. install-data-am:
  65532. +install-dvi: install-dvi-recursive
  65533. +
  65534. +install-dvi-am:
  65535. +
  65536. install-exec-am:
  65537. +install-html: install-html-recursive
  65538. +
  65539. +install-html-am:
  65540. +
  65541. install-info: install-info-recursive
  65542. +install-info-am:
  65543. +
  65544. install-man:
  65545. +install-pdf: install-pdf-recursive
  65546. +
  65547. +install-pdf-am:
  65548. +
  65549. +install-ps: install-ps-recursive
  65550. +
  65551. +install-ps-am:
  65552. +
  65553. installcheck-am:
  65554. maintainer-clean: maintainer-clean-recursive
  65555. @@ -685,24 +705,26 @@
  65556. ps-am:
  65557. -uninstall-am: uninstall-info-am
  65558. +uninstall-am:
  65559. -uninstall-info: uninstall-info-recursive
  65560. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  65561. + install-am install-strip tags-recursive
  65562. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
  65563. - check-am clean clean-generic clean-libtool clean-recursive \
  65564. - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
  65565. - dist-hook dist-shar dist-tarZ dist-zip distcheck distclean \
  65566. - distclean-generic distclean-libtool distclean-recursive \
  65567. - distclean-tags distcleancheck distdir distuninstallcheck dvi \
  65568. - dvi-am html html-am info info-am install install-am \
  65569. - install-data install-data-am install-exec install-exec-am \
  65570. - install-info install-info-am install-man install-strip \
  65571. - installcheck installcheck-am installdirs installdirs-am \
  65572. - maintainer-clean maintainer-clean-generic \
  65573. - maintainer-clean-recursive mostlyclean mostlyclean-generic \
  65574. - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
  65575. - tags tags-recursive uninstall uninstall-am uninstall-info-am
  65576. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  65577. + all all-am am--refresh check check-am clean clean-generic \
  65578. + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
  65579. + dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
  65580. + dist-zip distcheck distclean distclean-generic \
  65581. + distclean-libtool distclean-tags distcleancheck distdir \
  65582. + distuninstallcheck dvi dvi-am html html-am info info-am \
  65583. + install install-am install-data install-data-am install-dvi \
  65584. + install-dvi-am install-exec install-exec-am install-html \
  65585. + install-html-am install-info install-info-am install-man \
  65586. + install-pdf install-pdf-am install-ps install-ps-am \
  65587. + install-strip installcheck installcheck-am installdirs \
  65588. + installdirs-am maintainer-clean maintainer-clean-generic \
  65589. + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  65590. + ps ps-am tags tags-recursive uninstall uninstall-am
  65591. rpm: dist
  65592. @@ -721,6 +743,7 @@
  65593. doc: doc-dummy
  65594. $(MAKE) -C include all
  65595. $(MAKE) -C doc doc
  65596. +
  65597. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  65598. # Otherwise a system limit (for SysV at least) may be exceeded.
  65599. .NOEXPORT:
  65600. diff -Nur alsa-lib-1.0.22.orig/missing alsa-lib-1.0.22/missing
  65601. --- alsa-lib-1.0.22.orig/missing 2009-12-16 16:27:26.000000000 +0100
  65602. +++ alsa-lib-1.0.22/missing 2011-02-24 20:33:14.683553980 +0100
  65603. @@ -1,10 +1,10 @@
  65604. #! /bin/sh
  65605. # Common stub for a few missing GNU programs while installing.
  65606. -scriptversion=2005-06-08.21
  65607. +scriptversion=2009-04-28.21; # UTC
  65608. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
  65609. -# Free Software Foundation, Inc.
  65610. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  65611. +# 2008, 2009 Free Software Foundation, Inc.
  65612. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  65613. # This program is free software; you can redistribute it and/or modify
  65614. @@ -18,9 +18,7 @@
  65615. # GNU General Public License for more details.
  65616. # You should have received a copy of the GNU General Public License
  65617. -# along with this program; if not, write to the Free Software
  65618. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  65619. -# 02110-1301, USA.
  65620. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  65621. # As a special exception to the GNU General Public License, if you
  65622. # distribute this file as part of a program that contains a
  65623. @@ -33,6 +31,8 @@
  65624. fi
  65625. run=:
  65626. +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
  65627. +sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
  65628. # In the cases where this matters, `missing' is being run in the
  65629. # srcdir already.
  65630. @@ -44,7 +44,7 @@
  65631. msg="missing on your system"
  65632. -case "$1" in
  65633. +case $1 in
  65634. --run)
  65635. # Try to run requested program, and just exit if it succeeds.
  65636. run=
  65637. @@ -77,6 +77,7 @@
  65638. aclocal touch file \`aclocal.m4'
  65639. autoconf touch file \`configure'
  65640. autoheader touch file \`config.h.in'
  65641. + autom4te touch the output file, or create a stub one
  65642. automake touch all \`Makefile.in' files
  65643. bison create \`y.tab.[ch]', if possible, from existing .[ch]
  65644. flex create \`lex.yy.c', if possible, from existing .c
  65645. @@ -86,6 +87,9 @@
  65646. tar try tar, gnutar, gtar, then tar without non-portable flags
  65647. yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  65648. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  65649. +\`g' are ignored when checking the name.
  65650. +
  65651. Send bug reports to <bug-automake@gnu.org>."
  65652. exit $?
  65653. ;;
  65654. @@ -103,15 +107,22 @@
  65655. esac
  65656. +# normalize program name to check for.
  65657. +program=`echo "$1" | sed '
  65658. + s/^gnu-//; t
  65659. + s/^gnu//; t
  65660. + s/^g//; t'`
  65661. +
  65662. # Now exit if we have it, but it failed. Also exit now if we
  65663. # don't have it and --version was passed (most likely to detect
  65664. -# the program).
  65665. -case "$1" in
  65666. - lex|yacc)
  65667. +# the program). This is about non-GNU programs, so use $1 not
  65668. +# $program.
  65669. +case $1 in
  65670. + lex*|yacc*)
  65671. # Not GNU programs, they don't have --version.
  65672. ;;
  65673. - tar)
  65674. + tar*)
  65675. if test -n "$run"; then
  65676. echo 1>&2 "ERROR: \`tar' requires --run"
  65677. exit 1
  65678. @@ -135,7 +146,7 @@
  65679. # If it does not exist, or fails to run (possibly an outdated version),
  65680. # try to emulate it.
  65681. -case "$1" in
  65682. +case $program in
  65683. aclocal*)
  65684. echo 1>&2 "\
  65685. WARNING: \`$1' is $msg. You should only need it if
  65686. @@ -145,7 +156,7 @@
  65687. touch aclocal.m4
  65688. ;;
  65689. - autoconf)
  65690. + autoconf*)
  65691. echo 1>&2 "\
  65692. WARNING: \`$1' is $msg. You should only need it if
  65693. you modified \`${configure_ac}'. You might want to install the
  65694. @@ -154,7 +165,7 @@
  65695. touch configure
  65696. ;;
  65697. - autoheader)
  65698. + autoheader*)
  65699. echo 1>&2 "\
  65700. WARNING: \`$1' is $msg. You should only need it if
  65701. you modified \`acconfig.h' or \`${configure_ac}'. You might want
  65702. @@ -164,7 +175,7 @@
  65703. test -z "$files" && files="config.h"
  65704. touch_files=
  65705. for f in $files; do
  65706. - case "$f" in
  65707. + case $f in
  65708. *:*) touch_files="$touch_files "`echo "$f" |
  65709. sed -e 's/^[^:]*://' -e 's/:.*//'`;;
  65710. *) touch_files="$touch_files $f.in";;
  65711. @@ -184,7 +195,7 @@
  65712. while read f; do touch "$f"; done
  65713. ;;
  65714. - autom4te)
  65715. + autom4te*)
  65716. echo 1>&2 "\
  65717. WARNING: \`$1' is needed, but is $msg.
  65718. You might have modified some files without having the
  65719. @@ -192,8 +203,8 @@
  65720. You can get \`$1' as part of \`Autoconf' from any GNU
  65721. archive site."
  65722. - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
  65723. - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
  65724. + file=`echo "$*" | sed -n "$sed_output"`
  65725. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  65726. if test -f "$file"; then
  65727. touch $file
  65728. else
  65729. @@ -207,80 +218,78 @@
  65730. fi
  65731. ;;
  65732. - bison|yacc)
  65733. + bison*|yacc*)
  65734. echo 1>&2 "\
  65735. WARNING: \`$1' $msg. You should only need it if
  65736. you modified a \`.y' file. You may need the \`Bison' package
  65737. in order for those modifications to take effect. You can get
  65738. \`Bison' from any GNU archive site."
  65739. rm -f y.tab.c y.tab.h
  65740. - if [ $# -ne 1 ]; then
  65741. + if test $# -ne 1; then
  65742. eval LASTARG="\${$#}"
  65743. - case "$LASTARG" in
  65744. + case $LASTARG in
  65745. *.y)
  65746. SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
  65747. - if [ -f "$SRCFILE" ]; then
  65748. + if test -f "$SRCFILE"; then
  65749. cp "$SRCFILE" y.tab.c
  65750. fi
  65751. SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
  65752. - if [ -f "$SRCFILE" ]; then
  65753. + if test -f "$SRCFILE"; then
  65754. cp "$SRCFILE" y.tab.h
  65755. fi
  65756. ;;
  65757. esac
  65758. fi
  65759. - if [ ! -f y.tab.h ]; then
  65760. + if test ! -f y.tab.h; then
  65761. echo >y.tab.h
  65762. fi
  65763. - if [ ! -f y.tab.c ]; then
  65764. + if test ! -f y.tab.c; then
  65765. echo 'main() { return 0; }' >y.tab.c
  65766. fi
  65767. ;;
  65768. - lex|flex)
  65769. + lex*|flex*)
  65770. echo 1>&2 "\
  65771. WARNING: \`$1' is $msg. You should only need it if
  65772. you modified a \`.l' file. You may need the \`Flex' package
  65773. in order for those modifications to take effect. You can get
  65774. \`Flex' from any GNU archive site."
  65775. rm -f lex.yy.c
  65776. - if [ $# -ne 1 ]; then
  65777. + if test $# -ne 1; then
  65778. eval LASTARG="\${$#}"
  65779. - case "$LASTARG" in
  65780. + case $LASTARG in
  65781. *.l)
  65782. SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
  65783. - if [ -f "$SRCFILE" ]; then
  65784. + if test -f "$SRCFILE"; then
  65785. cp "$SRCFILE" lex.yy.c
  65786. fi
  65787. ;;
  65788. esac
  65789. fi
  65790. - if [ ! -f lex.yy.c ]; then
  65791. + if test ! -f lex.yy.c; then
  65792. echo 'main() { return 0; }' >lex.yy.c
  65793. fi
  65794. ;;
  65795. - help2man)
  65796. + help2man*)
  65797. echo 1>&2 "\
  65798. WARNING: \`$1' is $msg. You should only need it if
  65799. you modified a dependency of a manual page. You may need the
  65800. \`Help2man' package in order for those modifications to take
  65801. effect. You can get \`Help2man' from any GNU archive site."
  65802. - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
  65803. - if test -z "$file"; then
  65804. - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
  65805. - fi
  65806. - if [ -f "$file" ]; then
  65807. + file=`echo "$*" | sed -n "$sed_output"`
  65808. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  65809. + if test -f "$file"; then
  65810. touch $file
  65811. else
  65812. test -z "$file" || exec >$file
  65813. echo ".ab help2man is required to generate this page"
  65814. - exit 1
  65815. + exit $?
  65816. fi
  65817. ;;
  65818. - makeinfo)
  65819. + makeinfo*)
  65820. echo 1>&2 "\
  65821. WARNING: \`$1' is $msg. You should only need it if
  65822. you modified a \`.texi' or \`.texinfo' file, or any other file
  65823. @@ -289,11 +298,17 @@
  65824. DU, IRIX). You might want to install the \`Texinfo' package or
  65825. the \`GNU make' package. Grab either from any GNU archive site."
  65826. # The file to touch is that specified with -o ...
  65827. - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
  65828. + file=`echo "$*" | sed -n "$sed_output"`
  65829. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  65830. if test -z "$file"; then
  65831. # ... or it is the one specified with @setfilename ...
  65832. infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
  65833. - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
  65834. + file=`sed -n '
  65835. + /^@setfilename/{
  65836. + s/.* \([^ ]*\) *$/\1/
  65837. + p
  65838. + q
  65839. + }' $infile`
  65840. # ... or it is derived from the source name (dir/f.texi becomes f.info)
  65841. test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
  65842. fi
  65843. @@ -303,7 +318,7 @@
  65844. touch $file
  65845. ;;
  65846. - tar)
  65847. + tar*)
  65848. shift
  65849. # We have already tried tar in the generic part.
  65850. @@ -317,13 +332,13 @@
  65851. fi
  65852. firstarg="$1"
  65853. if shift; then
  65854. - case "$firstarg" in
  65855. + case $firstarg in
  65856. *o*)
  65857. firstarg=`echo "$firstarg" | sed s/o//`
  65858. tar "$firstarg" "$@" && exit 0
  65859. ;;
  65860. esac
  65861. - case "$firstarg" in
  65862. + case $firstarg in
  65863. *h*)
  65864. firstarg=`echo "$firstarg" | sed s/h//`
  65865. tar "$firstarg" "$@" && exit 0
  65866. @@ -356,5 +371,6 @@
  65867. # eval: (add-hook 'write-file-hooks 'time-stamp)
  65868. # time-stamp-start: "scriptversion="
  65869. # time-stamp-format: "%:y-%02m-%02d.%02H"
  65870. -# time-stamp-end: "$"
  65871. +# time-stamp-time-zone: "UTC"
  65872. +# time-stamp-end: "; # UTC"
  65873. # End:
  65874. diff -Nur alsa-lib-1.0.22.orig/modules/Makefile.in alsa-lib-1.0.22/modules/Makefile.in
  65875. --- alsa-lib-1.0.22.orig/modules/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  65876. +++ alsa-lib-1.0.22/modules/Makefile.in 2011-02-24 20:33:15.023552733 +0100
  65877. @@ -1,8 +1,9 @@
  65878. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  65879. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  65880. # @configure_input@
  65881. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  65882. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  65883. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  65884. +# Inc.
  65885. # This Makefile.in is free software; the Free Software Foundation
  65886. # gives unlimited permission to copy and/or distribute it,
  65887. # with or without modifications, as long as this notice is preserved.
  65888. @@ -13,15 +14,12 @@
  65889. # PARTICULAR PURPOSE.
  65890. @SET_MAKE@
  65891. -srcdir = @srcdir@
  65892. -top_srcdir = @top_srcdir@
  65893. VPATH = @srcdir@
  65894. pkgdatadir = $(datadir)/@PACKAGE@
  65895. -pkglibdir = $(libdir)/@PACKAGE@
  65896. pkgincludedir = $(includedir)/@PACKAGE@
  65897. -top_builddir = ..
  65898. +pkglibdir = $(libdir)/@PACKAGE@
  65899. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  65900. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  65901. -INSTALL = @INSTALL@
  65902. install_sh_DATA = $(install_sh) -c -m 644
  65903. install_sh_PROGRAM = $(install_sh) -c
  65904. install_sh_SCRIPT = $(install_sh) -c
  65905. @@ -38,165 +36,129 @@
  65906. subdir = modules
  65907. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  65908. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  65909. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  65910. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  65911. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  65912. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  65913. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  65914. $(top_srcdir)/configure.in
  65915. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  65916. $(ACLOCAL_M4)
  65917. mkinstalldirs = $(install_sh) -d
  65918. CONFIG_HEADER = $(top_builddir)/include/config.h
  65919. CONFIG_CLEAN_FILES =
  65920. +CONFIG_CLEAN_VPATH_FILES =
  65921. +AM_V_GEN = $(am__v_GEN_$(V))
  65922. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  65923. +am__v_GEN_0 = @echo " GEN " $@;
  65924. +AM_V_at = $(am__v_at_$(V))
  65925. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  65926. +am__v_at_0 = @
  65927. SOURCES =
  65928. DIST_SOURCES =
  65929. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  65930. html-recursive info-recursive install-data-recursive \
  65931. - install-exec-recursive install-info-recursive \
  65932. - install-recursive installcheck-recursive installdirs-recursive \
  65933. - pdf-recursive ps-recursive uninstall-info-recursive \
  65934. - uninstall-recursive
  65935. + install-dvi-recursive install-exec-recursive \
  65936. + install-html-recursive install-info-recursive \
  65937. + install-pdf-recursive install-ps-recursive install-recursive \
  65938. + installcheck-recursive installdirs-recursive pdf-recursive \
  65939. + ps-recursive uninstall-recursive
  65940. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  65941. + distclean-recursive maintainer-clean-recursive
  65942. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  65943. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  65944. + distdir
  65945. ETAGS = etags
  65946. CTAGS = ctags
  65947. DIST_SUBDIRS = mixer
  65948. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  65949. +am__relativize = \
  65950. + dir0=`pwd`; \
  65951. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  65952. + sed_rest='s,^[^/]*/*,,'; \
  65953. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  65954. + sed_butlast='s,/*[^/]*$$,,'; \
  65955. + while test -n "$$dir1"; do \
  65956. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  65957. + if test "$$first" != "."; then \
  65958. + if test "$$first" = ".."; then \
  65959. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  65960. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  65961. + else \
  65962. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  65963. + if test "$$first2" = "$$first"; then \
  65964. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  65965. + else \
  65966. + dir2="../$$dir2"; \
  65967. + fi; \
  65968. + dir0="$$dir0"/"$$first"; \
  65969. + fi; \
  65970. + fi; \
  65971. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  65972. + done; \
  65973. + reldir="$$dir2"
  65974. ACLOCAL = @ACLOCAL@
  65975. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  65976. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  65977. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  65978. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  65979. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  65980. -AMDEP_FALSE = @AMDEP_FALSE@
  65981. -AMDEP_TRUE = @AMDEP_TRUE@
  65982. AMTAR = @AMTAR@
  65983. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  65984. AR = @AR@
  65985. AUTOCONF = @AUTOCONF@
  65986. AUTOHEADER = @AUTOHEADER@
  65987. AUTOMAKE = @AUTOMAKE@
  65988. AWK = @AWK@
  65989. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  65990. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  65991. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  65992. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  65993. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  65994. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  65995. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  65996. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  65997. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  65998. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  65999. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  66000. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  66001. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  66002. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  66003. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  66004. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  66005. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  66006. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  66007. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  66008. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  66009. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  66010. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  66011. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  66012. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  66013. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  66014. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  66015. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  66016. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  66017. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  66018. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  66019. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  66020. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  66021. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  66022. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  66023. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  66024. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  66025. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  66026. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  66027. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  66028. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  66029. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  66030. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  66031. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  66032. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  66033. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  66034. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  66035. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  66036. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  66037. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  66038. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  66039. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  66040. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  66041. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  66042. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  66043. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  66044. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  66045. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  66046. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  66047. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  66048. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  66049. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  66050. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  66051. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  66052. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  66053. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  66054. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  66055. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  66056. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  66057. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  66058. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  66059. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  66060. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  66061. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  66062. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  66063. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  66064. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  66065. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  66066. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  66067. CC = @CC@
  66068. CCDEPMODE = @CCDEPMODE@
  66069. CFLAGS = @CFLAGS@
  66070. CPP = @CPP@
  66071. CPPFLAGS = @CPPFLAGS@
  66072. -CXX = @CXX@
  66073. -CXXCPP = @CXXCPP@
  66074. -CXXDEPMODE = @CXXDEPMODE@
  66075. -CXXFLAGS = @CXXFLAGS@
  66076. CYGPATH_W = @CYGPATH_W@
  66077. DEFS = @DEFS@
  66078. DEPDIR = @DEPDIR@
  66079. -ECHO = @ECHO@
  66080. +DSYMUTIL = @DSYMUTIL@
  66081. +DUMPBIN = @DUMPBIN@
  66082. ECHO_C = @ECHO_C@
  66083. ECHO_N = @ECHO_N@
  66084. ECHO_T = @ECHO_T@
  66085. EGREP = @EGREP@
  66086. EXEEXT = @EXEEXT@
  66087. -F77 = @F77@
  66088. -FFLAGS = @FFLAGS@
  66089. +FGREP = @FGREP@
  66090. GREP = @GREP@
  66091. +INSTALL = @INSTALL@
  66092. INSTALL_DATA = @INSTALL_DATA@
  66093. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  66094. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  66095. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  66096. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  66097. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  66098. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  66099. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  66100. +LD = @LD@
  66101. LDFLAGS = @LDFLAGS@
  66102. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  66103. LIBOBJS = @LIBOBJS@
  66104. LIBS = @LIBS@
  66105. LIBTOOL = @LIBTOOL@
  66106. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  66107. +LIPO = @LIPO@
  66108. LN_S = @LN_S@
  66109. LTLIBOBJS = @LTLIBOBJS@
  66110. MAKEINFO = @MAKEINFO@
  66111. +MKDIR_P = @MKDIR_P@
  66112. +NM = @NM@
  66113. +NMEDIT = @NMEDIT@
  66114. +OBJDUMP = @OBJDUMP@
  66115. OBJEXT = @OBJEXT@
  66116. +OTOOL = @OTOOL@
  66117. +OTOOL64 = @OTOOL64@
  66118. PACKAGE = @PACKAGE@
  66119. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  66120. PACKAGE_NAME = @PACKAGE_NAME@
  66121. PACKAGE_STRING = @PACKAGE_STRING@
  66122. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  66123. +PACKAGE_URL = @PACKAGE_URL@
  66124. PACKAGE_VERSION = @PACKAGE_VERSION@
  66125. PATH_SEPARATOR = @PATH_SEPARATOR@
  66126. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  66127. PYTHON_LIBS = @PYTHON_LIBS@
  66128. RANLIB = @RANLIB@
  66129. +SED = @SED@
  66130. SET_MAKE = @SET_MAKE@
  66131. SHELL = @SHELL@
  66132. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  66133. @@ -205,19 +167,14 @@
  66134. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  66135. SND_LIB_VERSION = @SND_LIB_VERSION@
  66136. STRIP = @STRIP@
  66137. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  66138. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  66139. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  66140. VERSION = @VERSION@
  66141. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  66142. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  66143. +abs_builddir = @abs_builddir@
  66144. +abs_srcdir = @abs_srcdir@
  66145. +abs_top_builddir = @abs_top_builddir@
  66146. +abs_top_srcdir = @abs_top_srcdir@
  66147. ac_ct_CC = @ac_ct_CC@
  66148. -ac_ct_CXX = @ac_ct_CXX@
  66149. -ac_ct_F77 = @ac_ct_F77@
  66150. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  66151. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  66152. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  66153. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  66154. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  66155. am__include = @am__include@
  66156. am__leading_dot = @am__leading_dot@
  66157. am__quote = @am__quote@
  66158. @@ -229,6 +186,7 @@
  66159. build_cpu = @build_cpu@
  66160. build_os = @build_os@
  66161. build_vendor = @build_vendor@
  66162. +builddir = @builddir@
  66163. datadir = @datadir@
  66164. datarootdir = @datarootdir@
  66165. docdir = @docdir@
  66166. @@ -247,6 +205,7 @@
  66167. libexecdir = @libexecdir@
  66168. localedir = @localedir@
  66169. localstatedir = @localstatedir@
  66170. +lt_ECHO = @lt_ECHO@
  66171. mandir = @mandir@
  66172. mkdir_p = @mkdir_p@
  66173. oldincludedir = @oldincludedir@
  66174. @@ -256,8 +215,12 @@
  66175. psdir = @psdir@
  66176. sbindir = @sbindir@
  66177. sharedstatedir = @sharedstatedir@
  66178. +srcdir = @srcdir@
  66179. sysconfdir = @sysconfdir@
  66180. target_alias = @target_alias@
  66181. +top_build_prefix = @top_build_prefix@
  66182. +top_builddir = @top_builddir@
  66183. +top_srcdir = @top_srcdir@
  66184. @BUILD_MIXER_TRUE@SUBDIRS = mixer
  66185. all: all-recursive
  66186. @@ -266,14 +229,14 @@
  66187. @for dep in $?; do \
  66188. case '$(am__configure_deps)' in \
  66189. *$$dep*) \
  66190. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  66191. - && exit 0; \
  66192. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  66193. + && { if test -f $@; then exit 0; else break; fi; }; \
  66194. exit 1;; \
  66195. esac; \
  66196. done; \
  66197. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/Makefile'; \
  66198. - cd $(top_srcdir) && \
  66199. - $(AUTOMAKE) --foreign modules/Makefile
  66200. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu modules/Makefile'; \
  66201. + $(am__cd) $(top_srcdir) && \
  66202. + $(AUTOMAKE) --gnu modules/Makefile
  66203. .PRECIOUS: Makefile
  66204. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  66205. @case '$?' in \
  66206. @@ -291,6 +254,7 @@
  66207. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66208. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  66209. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66210. +$(am__aclocal_m4_deps):
  66211. mostlyclean-libtool:
  66212. -rm -f *.lo
  66213. @@ -298,10 +262,6 @@
  66214. clean-libtool:
  66215. -rm -rf .libs _libs
  66216. -distclean-libtool:
  66217. - -rm -f libtool
  66218. -uninstall-info-am:
  66219. -
  66220. # This directory's subdirectories are mostly independent; you can cd
  66221. # into them and run `make' without going through this Makefile.
  66222. # To change the values of `make' variables: instead of editing Makefiles,
  66223. @@ -309,7 +269,7 @@
  66224. # (which will cause the Makefiles to be regenerated when you run `make');
  66225. # (2) otherwise, pass the desired values on the `make' command line.
  66226. $(RECURSIVE_TARGETS):
  66227. - @failcom='exit 1'; \
  66228. + @fail= failcom='exit 1'; \
  66229. for f in x $$MAKEFLAGS; do \
  66230. case $$f in \
  66231. *=* | --[!k]*);; \
  66232. @@ -326,16 +286,15 @@
  66233. else \
  66234. local_target="$$target"; \
  66235. fi; \
  66236. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66237. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66238. || eval $$failcom; \
  66239. done; \
  66240. if test "$$dot_seen" = "no"; then \
  66241. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  66242. fi; test -z "$$fail"
  66243. -mostlyclean-recursive clean-recursive distclean-recursive \
  66244. -maintainer-clean-recursive:
  66245. - @failcom='exit 1'; \
  66246. +$(RECURSIVE_CLEAN_TARGETS):
  66247. + @fail= failcom='exit 1'; \
  66248. for f in x $$MAKEFLAGS; do \
  66249. case $$f in \
  66250. *=* | --[!k]*);; \
  66251. @@ -361,16 +320,16 @@
  66252. else \
  66253. local_target="$$target"; \
  66254. fi; \
  66255. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66256. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66257. || eval $$failcom; \
  66258. done && test -z "$$fail"
  66259. tags-recursive:
  66260. list='$(SUBDIRS)'; for subdir in $$list; do \
  66261. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  66262. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  66263. done
  66264. ctags-recursive:
  66265. list='$(SUBDIRS)'; for subdir in $$list; do \
  66266. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  66267. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  66268. done
  66269. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  66270. @@ -378,14 +337,14 @@
  66271. unique=`for i in $$list; do \
  66272. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66273. done | \
  66274. - $(AWK) ' { files[$$0] = 1; } \
  66275. - END { for (i in files) print i; }'`; \
  66276. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66277. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66278. mkid -fID $$unique
  66279. tags: TAGS
  66280. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  66281. $(TAGS_FILES) $(LISP)
  66282. - tags=; \
  66283. + set x; \
  66284. here=`pwd`; \
  66285. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  66286. include_option=--etags-include; \
  66287. @@ -397,81 +356,101 @@
  66288. list='$(SUBDIRS)'; for subdir in $$list; do \
  66289. if test "$$subdir" = .; then :; else \
  66290. test ! -f $$subdir/TAGS || \
  66291. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  66292. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  66293. fi; \
  66294. done; \
  66295. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  66296. unique=`for i in $$list; do \
  66297. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66298. done | \
  66299. - $(AWK) ' { files[$$0] = 1; } \
  66300. - END { for (i in files) print i; }'`; \
  66301. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  66302. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66303. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66304. + shift; \
  66305. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  66306. test -n "$$unique" || unique=$$empty_fix; \
  66307. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66308. - $$tags $$unique; \
  66309. + if test $$# -gt 0; then \
  66310. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66311. + "$$@" $$unique; \
  66312. + else \
  66313. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66314. + $$unique; \
  66315. + fi; \
  66316. fi
  66317. ctags: CTAGS
  66318. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  66319. $(TAGS_FILES) $(LISP)
  66320. - tags=; \
  66321. - here=`pwd`; \
  66322. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  66323. unique=`for i in $$list; do \
  66324. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66325. done | \
  66326. - $(AWK) ' { files[$$0] = 1; } \
  66327. - END { for (i in files) print i; }'`; \
  66328. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  66329. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66330. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66331. + test -z "$(CTAGS_ARGS)$$unique" \
  66332. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  66333. - $$tags $$unique
  66334. + $$unique
  66335. GTAGS:
  66336. here=`$(am__cd) $(top_builddir) && pwd` \
  66337. - && cd $(top_srcdir) \
  66338. - && gtags -i $(GTAGS_ARGS) $$here
  66339. + && $(am__cd) $(top_srcdir) \
  66340. + && gtags -i $(GTAGS_ARGS) "$$here"
  66341. distclean-tags:
  66342. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  66343. distdir: $(DISTFILES)
  66344. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  66345. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  66346. - list='$(DISTFILES)'; for file in $$list; do \
  66347. - case $$file in \
  66348. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  66349. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  66350. - esac; \
  66351. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66352. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66353. + list='$(DISTFILES)'; \
  66354. + dist_files=`for file in $$list; do echo $$file; done | \
  66355. + sed -e "s|^$$srcdirstrip/||;t" \
  66356. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  66357. + case $$dist_files in \
  66358. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  66359. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  66360. + sort -u` ;; \
  66361. + esac; \
  66362. + for file in $$dist_files; do \
  66363. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  66364. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  66365. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  66366. - dir="/$$dir"; \
  66367. - $(mkdir_p) "$(distdir)$$dir"; \
  66368. - else \
  66369. - dir=''; \
  66370. - fi; \
  66371. if test -d $$d/$$file; then \
  66372. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  66373. + if test -d "$(distdir)/$$file"; then \
  66374. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66375. + fi; \
  66376. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  66377. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  66378. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  66379. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66380. fi; \
  66381. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  66382. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  66383. else \
  66384. - test -f $(distdir)/$$file \
  66385. - || cp -p $$d/$$file $(distdir)/$$file \
  66386. + test -f "$(distdir)/$$file" \
  66387. + || cp -p $$d/$$file "$(distdir)/$$file" \
  66388. || exit 1; \
  66389. fi; \
  66390. done
  66391. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  66392. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  66393. if test "$$subdir" = .; then :; else \
  66394. test -d "$(distdir)/$$subdir" \
  66395. - || $(mkdir_p) "$(distdir)/$$subdir" \
  66396. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  66397. || exit 1; \
  66398. - distdir=`$(am__cd) $(distdir) && pwd`; \
  66399. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  66400. - (cd $$subdir && \
  66401. + fi; \
  66402. + done
  66403. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  66404. + if test "$$subdir" = .; then :; else \
  66405. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  66406. + $(am__relativize); \
  66407. + new_distdir=$$reldir; \
  66408. + dir1=$$subdir; dir2="$(top_distdir)"; \
  66409. + $(am__relativize); \
  66410. + new_top_distdir=$$reldir; \
  66411. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  66412. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  66413. + ($(am__cd) $$subdir && \
  66414. $(MAKE) $(AM_MAKEFLAGS) \
  66415. - top_distdir="$$top_distdir" \
  66416. - distdir="$$distdir/$$subdir" \
  66417. + top_distdir="$$new_top_distdir" \
  66418. + distdir="$$new_distdir" \
  66419. + am__remove_distdir=: \
  66420. + am__skip_length_check=: \
  66421. + am__skip_mode_fix=: \
  66422. distdir) \
  66423. || exit 1; \
  66424. fi; \
  66425. @@ -501,6 +480,7 @@
  66426. distclean-generic:
  66427. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  66428. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  66429. maintainer-clean-generic:
  66430. @echo "This command is intended for maintainers to use"
  66431. @@ -511,8 +491,7 @@
  66432. distclean: distclean-recursive
  66433. -rm -f Makefile
  66434. -distclean-am: clean-am distclean-generic distclean-libtool \
  66435. - distclean-tags
  66436. +distclean-am: clean-am distclean-generic distclean-tags
  66437. dvi: dvi-recursive
  66438. @@ -520,18 +499,38 @@
  66439. html: html-recursive
  66440. +html-am:
  66441. +
  66442. info: info-recursive
  66443. info-am:
  66444. install-data-am:
  66445. +install-dvi: install-dvi-recursive
  66446. +
  66447. +install-dvi-am:
  66448. +
  66449. install-exec-am:
  66450. +install-html: install-html-recursive
  66451. +
  66452. +install-html-am:
  66453. +
  66454. install-info: install-info-recursive
  66455. +install-info-am:
  66456. +
  66457. install-man:
  66458. +install-pdf: install-pdf-recursive
  66459. +
  66460. +install-pdf-am:
  66461. +
  66462. +install-ps: install-ps-recursive
  66463. +
  66464. +install-ps-am:
  66465. +
  66466. installcheck-am:
  66467. maintainer-clean: maintainer-clean-recursive
  66468. @@ -550,22 +549,25 @@
  66469. ps-am:
  66470. -uninstall-am: uninstall-info-am
  66471. +uninstall-am:
  66472. -uninstall-info: uninstall-info-recursive
  66473. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  66474. + install-am install-strip tags-recursive
  66475. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  66476. - clean clean-generic clean-libtool clean-recursive ctags \
  66477. - ctags-recursive distclean distclean-generic distclean-libtool \
  66478. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  66479. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  66480. + all all-am check check-am clean clean-generic clean-libtool \
  66481. + ctags ctags-recursive distclean distclean-generic \
  66482. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  66483. html-am info info-am install install-am install-data \
  66484. - install-data-am install-exec install-exec-am install-info \
  66485. - install-info-am install-man install-strip installcheck \
  66486. + install-data-am install-dvi install-dvi-am install-exec \
  66487. + install-exec-am install-html install-html-am install-info \
  66488. + install-info-am install-man install-pdf install-pdf-am \
  66489. + install-ps install-ps-am install-strip installcheck \
  66490. installcheck-am installdirs installdirs-am maintainer-clean \
  66491. - maintainer-clean-generic maintainer-clean-recursive \
  66492. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  66493. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  66494. - uninstall uninstall-am uninstall-info-am
  66495. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  66496. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  66497. + uninstall uninstall-am
  66498. +
  66499. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  66500. # Otherwise a system limit (for SysV at least) may be exceeded.
  66501. diff -Nur alsa-lib-1.0.22.orig/modules/mixer/Makefile.in alsa-lib-1.0.22/modules/mixer/Makefile.in
  66502. --- alsa-lib-1.0.22.orig/modules/mixer/Makefile.in 2009-12-16 16:27:26.000000000 +0100
  66503. +++ alsa-lib-1.0.22/modules/mixer/Makefile.in 2011-02-24 20:33:15.063552718 +0100
  66504. @@ -1,8 +1,9 @@
  66505. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  66506. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  66507. # @configure_input@
  66508. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  66509. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  66510. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  66511. +# Inc.
  66512. # This Makefile.in is free software; the Free Software Foundation
  66513. # gives unlimited permission to copy and/or distribute it,
  66514. # with or without modifications, as long as this notice is preserved.
  66515. @@ -13,15 +14,12 @@
  66516. # PARTICULAR PURPOSE.
  66517. @SET_MAKE@
  66518. -srcdir = @srcdir@
  66519. -top_srcdir = @top_srcdir@
  66520. VPATH = @srcdir@
  66521. pkgdatadir = $(datadir)/@PACKAGE@
  66522. -pkglibdir = $(libdir)/@PACKAGE@
  66523. pkgincludedir = $(includedir)/@PACKAGE@
  66524. -top_builddir = ../..
  66525. +pkglibdir = $(libdir)/@PACKAGE@
  66526. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  66527. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  66528. -INSTALL = @INSTALL@
  66529. install_sh_DATA = $(install_sh) -c -m 644
  66530. install_sh_PROGRAM = $(install_sh) -c
  66531. install_sh_SCRIPT = $(install_sh) -c
  66532. @@ -38,165 +36,129 @@
  66533. subdir = modules/mixer
  66534. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  66535. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  66536. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  66537. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  66538. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  66539. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  66540. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  66541. $(top_srcdir)/configure.in
  66542. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  66543. $(ACLOCAL_M4)
  66544. mkinstalldirs = $(install_sh) -d
  66545. CONFIG_HEADER = $(top_builddir)/include/config.h
  66546. CONFIG_CLEAN_FILES =
  66547. +CONFIG_CLEAN_VPATH_FILES =
  66548. +AM_V_GEN = $(am__v_GEN_$(V))
  66549. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  66550. +am__v_GEN_0 = @echo " GEN " $@;
  66551. +AM_V_at = $(am__v_at_$(V))
  66552. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  66553. +am__v_at_0 = @
  66554. SOURCES =
  66555. DIST_SOURCES =
  66556. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  66557. html-recursive info-recursive install-data-recursive \
  66558. - install-exec-recursive install-info-recursive \
  66559. - install-recursive installcheck-recursive installdirs-recursive \
  66560. - pdf-recursive ps-recursive uninstall-info-recursive \
  66561. - uninstall-recursive
  66562. + install-dvi-recursive install-exec-recursive \
  66563. + install-html-recursive install-info-recursive \
  66564. + install-pdf-recursive install-ps-recursive install-recursive \
  66565. + installcheck-recursive installdirs-recursive pdf-recursive \
  66566. + ps-recursive uninstall-recursive
  66567. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  66568. + distclean-recursive maintainer-clean-recursive
  66569. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  66570. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  66571. + distdir
  66572. ETAGS = etags
  66573. CTAGS = ctags
  66574. DIST_SUBDIRS = $(SUBDIRS)
  66575. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  66576. +am__relativize = \
  66577. + dir0=`pwd`; \
  66578. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  66579. + sed_rest='s,^[^/]*/*,,'; \
  66580. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  66581. + sed_butlast='s,/*[^/]*$$,,'; \
  66582. + while test -n "$$dir1"; do \
  66583. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  66584. + if test "$$first" != "."; then \
  66585. + if test "$$first" = ".."; then \
  66586. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  66587. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  66588. + else \
  66589. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  66590. + if test "$$first2" = "$$first"; then \
  66591. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  66592. + else \
  66593. + dir2="../$$dir2"; \
  66594. + fi; \
  66595. + dir0="$$dir0"/"$$first"; \
  66596. + fi; \
  66597. + fi; \
  66598. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  66599. + done; \
  66600. + reldir="$$dir2"
  66601. ACLOCAL = @ACLOCAL@
  66602. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  66603. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  66604. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  66605. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  66606. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  66607. -AMDEP_FALSE = @AMDEP_FALSE@
  66608. -AMDEP_TRUE = @AMDEP_TRUE@
  66609. AMTAR = @AMTAR@
  66610. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  66611. AR = @AR@
  66612. AUTOCONF = @AUTOCONF@
  66613. AUTOHEADER = @AUTOHEADER@
  66614. AUTOMAKE = @AUTOMAKE@
  66615. AWK = @AWK@
  66616. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  66617. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  66618. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  66619. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  66620. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  66621. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  66622. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  66623. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  66624. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  66625. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  66626. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  66627. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  66628. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  66629. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  66630. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  66631. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  66632. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  66633. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  66634. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  66635. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  66636. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  66637. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  66638. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  66639. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  66640. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  66641. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  66642. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  66643. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  66644. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  66645. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  66646. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  66647. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  66648. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  66649. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  66650. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  66651. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  66652. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  66653. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  66654. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  66655. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  66656. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  66657. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  66658. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  66659. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  66660. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  66661. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  66662. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  66663. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  66664. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  66665. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  66666. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  66667. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  66668. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  66669. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  66670. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  66671. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  66672. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  66673. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  66674. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  66675. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  66676. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  66677. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  66678. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  66679. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  66680. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  66681. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  66682. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  66683. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  66684. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  66685. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  66686. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  66687. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  66688. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  66689. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  66690. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  66691. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  66692. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  66693. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  66694. CC = @CC@
  66695. CCDEPMODE = @CCDEPMODE@
  66696. CFLAGS = @CFLAGS@
  66697. CPP = @CPP@
  66698. CPPFLAGS = @CPPFLAGS@
  66699. -CXX = @CXX@
  66700. -CXXCPP = @CXXCPP@
  66701. -CXXDEPMODE = @CXXDEPMODE@
  66702. -CXXFLAGS = @CXXFLAGS@
  66703. CYGPATH_W = @CYGPATH_W@
  66704. DEFS = @DEFS@
  66705. DEPDIR = @DEPDIR@
  66706. -ECHO = @ECHO@
  66707. +DSYMUTIL = @DSYMUTIL@
  66708. +DUMPBIN = @DUMPBIN@
  66709. ECHO_C = @ECHO_C@
  66710. ECHO_N = @ECHO_N@
  66711. ECHO_T = @ECHO_T@
  66712. EGREP = @EGREP@
  66713. EXEEXT = @EXEEXT@
  66714. -F77 = @F77@
  66715. -FFLAGS = @FFLAGS@
  66716. +FGREP = @FGREP@
  66717. GREP = @GREP@
  66718. +INSTALL = @INSTALL@
  66719. INSTALL_DATA = @INSTALL_DATA@
  66720. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  66721. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  66722. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  66723. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  66724. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  66725. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  66726. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  66727. +LD = @LD@
  66728. LDFLAGS = @LDFLAGS@
  66729. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  66730. LIBOBJS = @LIBOBJS@
  66731. LIBS = @LIBS@
  66732. LIBTOOL = @LIBTOOL@
  66733. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  66734. +LIPO = @LIPO@
  66735. LN_S = @LN_S@
  66736. LTLIBOBJS = @LTLIBOBJS@
  66737. MAKEINFO = @MAKEINFO@
  66738. +MKDIR_P = @MKDIR_P@
  66739. +NM = @NM@
  66740. +NMEDIT = @NMEDIT@
  66741. +OBJDUMP = @OBJDUMP@
  66742. OBJEXT = @OBJEXT@
  66743. +OTOOL = @OTOOL@
  66744. +OTOOL64 = @OTOOL64@
  66745. PACKAGE = @PACKAGE@
  66746. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  66747. PACKAGE_NAME = @PACKAGE_NAME@
  66748. PACKAGE_STRING = @PACKAGE_STRING@
  66749. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  66750. +PACKAGE_URL = @PACKAGE_URL@
  66751. PACKAGE_VERSION = @PACKAGE_VERSION@
  66752. PATH_SEPARATOR = @PATH_SEPARATOR@
  66753. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  66754. PYTHON_LIBS = @PYTHON_LIBS@
  66755. RANLIB = @RANLIB@
  66756. +SED = @SED@
  66757. SET_MAKE = @SET_MAKE@
  66758. SHELL = @SHELL@
  66759. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  66760. @@ -205,19 +167,14 @@
  66761. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  66762. SND_LIB_VERSION = @SND_LIB_VERSION@
  66763. STRIP = @STRIP@
  66764. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  66765. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  66766. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  66767. VERSION = @VERSION@
  66768. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  66769. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  66770. +abs_builddir = @abs_builddir@
  66771. +abs_srcdir = @abs_srcdir@
  66772. +abs_top_builddir = @abs_top_builddir@
  66773. +abs_top_srcdir = @abs_top_srcdir@
  66774. ac_ct_CC = @ac_ct_CC@
  66775. -ac_ct_CXX = @ac_ct_CXX@
  66776. -ac_ct_F77 = @ac_ct_F77@
  66777. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  66778. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  66779. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  66780. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  66781. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  66782. am__include = @am__include@
  66783. am__leading_dot = @am__leading_dot@
  66784. am__quote = @am__quote@
  66785. @@ -229,6 +186,7 @@
  66786. build_cpu = @build_cpu@
  66787. build_os = @build_os@
  66788. build_vendor = @build_vendor@
  66789. +builddir = @builddir@
  66790. datadir = @datadir@
  66791. datarootdir = @datarootdir@
  66792. docdir = @docdir@
  66793. @@ -247,6 +205,7 @@
  66794. libexecdir = @libexecdir@
  66795. localedir = @localedir@
  66796. localstatedir = @localstatedir@
  66797. +lt_ECHO = @lt_ECHO@
  66798. mandir = @mandir@
  66799. mkdir_p = @mkdir_p@
  66800. oldincludedir = @oldincludedir@
  66801. @@ -256,8 +215,12 @@
  66802. psdir = @psdir@
  66803. sbindir = @sbindir@
  66804. sharedstatedir = @sharedstatedir@
  66805. +srcdir = @srcdir@
  66806. sysconfdir = @sysconfdir@
  66807. target_alias = @target_alias@
  66808. +top_build_prefix = @top_build_prefix@
  66809. +top_builddir = @top_builddir@
  66810. +top_srcdir = @top_srcdir@
  66811. SUBDIRS = simple
  66812. all: all-recursive
  66813. @@ -266,14 +229,14 @@
  66814. @for dep in $?; do \
  66815. case '$(am__configure_deps)' in \
  66816. *$$dep*) \
  66817. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  66818. - && exit 0; \
  66819. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  66820. + && { if test -f $@; then exit 0; else break; fi; }; \
  66821. exit 1;; \
  66822. esac; \
  66823. done; \
  66824. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/mixer/Makefile'; \
  66825. - cd $(top_srcdir) && \
  66826. - $(AUTOMAKE) --foreign modules/mixer/Makefile
  66827. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu modules/mixer/Makefile'; \
  66828. + $(am__cd) $(top_srcdir) && \
  66829. + $(AUTOMAKE) --gnu modules/mixer/Makefile
  66830. .PRECIOUS: Makefile
  66831. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  66832. @case '$?' in \
  66833. @@ -291,6 +254,7 @@
  66834. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66835. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  66836. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66837. +$(am__aclocal_m4_deps):
  66838. mostlyclean-libtool:
  66839. -rm -f *.lo
  66840. @@ -298,10 +262,6 @@
  66841. clean-libtool:
  66842. -rm -rf .libs _libs
  66843. -distclean-libtool:
  66844. - -rm -f libtool
  66845. -uninstall-info-am:
  66846. -
  66847. # This directory's subdirectories are mostly independent; you can cd
  66848. # into them and run `make' without going through this Makefile.
  66849. # To change the values of `make' variables: instead of editing Makefiles,
  66850. @@ -309,7 +269,7 @@
  66851. # (which will cause the Makefiles to be regenerated when you run `make');
  66852. # (2) otherwise, pass the desired values on the `make' command line.
  66853. $(RECURSIVE_TARGETS):
  66854. - @failcom='exit 1'; \
  66855. + @fail= failcom='exit 1'; \
  66856. for f in x $$MAKEFLAGS; do \
  66857. case $$f in \
  66858. *=* | --[!k]*);; \
  66859. @@ -326,16 +286,15 @@
  66860. else \
  66861. local_target="$$target"; \
  66862. fi; \
  66863. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66864. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66865. || eval $$failcom; \
  66866. done; \
  66867. if test "$$dot_seen" = "no"; then \
  66868. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  66869. fi; test -z "$$fail"
  66870. -mostlyclean-recursive clean-recursive distclean-recursive \
  66871. -maintainer-clean-recursive:
  66872. - @failcom='exit 1'; \
  66873. +$(RECURSIVE_CLEAN_TARGETS):
  66874. + @fail= failcom='exit 1'; \
  66875. for f in x $$MAKEFLAGS; do \
  66876. case $$f in \
  66877. *=* | --[!k]*);; \
  66878. @@ -361,16 +320,16 @@
  66879. else \
  66880. local_target="$$target"; \
  66881. fi; \
  66882. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66883. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66884. || eval $$failcom; \
  66885. done && test -z "$$fail"
  66886. tags-recursive:
  66887. list='$(SUBDIRS)'; for subdir in $$list; do \
  66888. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  66889. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  66890. done
  66891. ctags-recursive:
  66892. list='$(SUBDIRS)'; for subdir in $$list; do \
  66893. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  66894. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  66895. done
  66896. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  66897. @@ -378,14 +337,14 @@
  66898. unique=`for i in $$list; do \
  66899. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66900. done | \
  66901. - $(AWK) ' { files[$$0] = 1; } \
  66902. - END { for (i in files) print i; }'`; \
  66903. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66904. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66905. mkid -fID $$unique
  66906. tags: TAGS
  66907. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  66908. $(TAGS_FILES) $(LISP)
  66909. - tags=; \
  66910. + set x; \
  66911. here=`pwd`; \
  66912. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  66913. include_option=--etags-include; \
  66914. @@ -397,81 +356,101 @@
  66915. list='$(SUBDIRS)'; for subdir in $$list; do \
  66916. if test "$$subdir" = .; then :; else \
  66917. test ! -f $$subdir/TAGS || \
  66918. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  66919. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  66920. fi; \
  66921. done; \
  66922. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  66923. unique=`for i in $$list; do \
  66924. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66925. done | \
  66926. - $(AWK) ' { files[$$0] = 1; } \
  66927. - END { for (i in files) print i; }'`; \
  66928. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  66929. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66930. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66931. + shift; \
  66932. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  66933. test -n "$$unique" || unique=$$empty_fix; \
  66934. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66935. - $$tags $$unique; \
  66936. + if test $$# -gt 0; then \
  66937. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66938. + "$$@" $$unique; \
  66939. + else \
  66940. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66941. + $$unique; \
  66942. + fi; \
  66943. fi
  66944. ctags: CTAGS
  66945. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  66946. $(TAGS_FILES) $(LISP)
  66947. - tags=; \
  66948. - here=`pwd`; \
  66949. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  66950. unique=`for i in $$list; do \
  66951. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66952. done | \
  66953. - $(AWK) ' { files[$$0] = 1; } \
  66954. - END { for (i in files) print i; }'`; \
  66955. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  66956. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66957. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66958. + test -z "$(CTAGS_ARGS)$$unique" \
  66959. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  66960. - $$tags $$unique
  66961. + $$unique
  66962. GTAGS:
  66963. here=`$(am__cd) $(top_builddir) && pwd` \
  66964. - && cd $(top_srcdir) \
  66965. - && gtags -i $(GTAGS_ARGS) $$here
  66966. + && $(am__cd) $(top_srcdir) \
  66967. + && gtags -i $(GTAGS_ARGS) "$$here"
  66968. distclean-tags:
  66969. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  66970. distdir: $(DISTFILES)
  66971. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  66972. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  66973. - list='$(DISTFILES)'; for file in $$list; do \
  66974. - case $$file in \
  66975. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  66976. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  66977. - esac; \
  66978. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66979. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66980. + list='$(DISTFILES)'; \
  66981. + dist_files=`for file in $$list; do echo $$file; done | \
  66982. + sed -e "s|^$$srcdirstrip/||;t" \
  66983. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  66984. + case $$dist_files in \
  66985. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  66986. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  66987. + sort -u` ;; \
  66988. + esac; \
  66989. + for file in $$dist_files; do \
  66990. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  66991. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  66992. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  66993. - dir="/$$dir"; \
  66994. - $(mkdir_p) "$(distdir)$$dir"; \
  66995. - else \
  66996. - dir=''; \
  66997. - fi; \
  66998. if test -d $$d/$$file; then \
  66999. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  67000. + if test -d "$(distdir)/$$file"; then \
  67001. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67002. + fi; \
  67003. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  67004. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  67005. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  67006. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67007. fi; \
  67008. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  67009. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  67010. else \
  67011. - test -f $(distdir)/$$file \
  67012. - || cp -p $$d/$$file $(distdir)/$$file \
  67013. + test -f "$(distdir)/$$file" \
  67014. + || cp -p $$d/$$file "$(distdir)/$$file" \
  67015. || exit 1; \
  67016. fi; \
  67017. done
  67018. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  67019. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  67020. if test "$$subdir" = .; then :; else \
  67021. test -d "$(distdir)/$$subdir" \
  67022. - || $(mkdir_p) "$(distdir)/$$subdir" \
  67023. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  67024. || exit 1; \
  67025. - distdir=`$(am__cd) $(distdir) && pwd`; \
  67026. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  67027. - (cd $$subdir && \
  67028. + fi; \
  67029. + done
  67030. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  67031. + if test "$$subdir" = .; then :; else \
  67032. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  67033. + $(am__relativize); \
  67034. + new_distdir=$$reldir; \
  67035. + dir1=$$subdir; dir2="$(top_distdir)"; \
  67036. + $(am__relativize); \
  67037. + new_top_distdir=$$reldir; \
  67038. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  67039. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  67040. + ($(am__cd) $$subdir && \
  67041. $(MAKE) $(AM_MAKEFLAGS) \
  67042. - top_distdir="$$top_distdir" \
  67043. - distdir="$$distdir/$$subdir" \
  67044. + top_distdir="$$new_top_distdir" \
  67045. + distdir="$$new_distdir" \
  67046. + am__remove_distdir=: \
  67047. + am__skip_length_check=: \
  67048. + am__skip_mode_fix=: \
  67049. distdir) \
  67050. || exit 1; \
  67051. fi; \
  67052. @@ -501,6 +480,7 @@
  67053. distclean-generic:
  67054. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  67055. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  67056. maintainer-clean-generic:
  67057. @echo "This command is intended for maintainers to use"
  67058. @@ -511,8 +491,7 @@
  67059. distclean: distclean-recursive
  67060. -rm -f Makefile
  67061. -distclean-am: clean-am distclean-generic distclean-libtool \
  67062. - distclean-tags
  67063. +distclean-am: clean-am distclean-generic distclean-tags
  67064. dvi: dvi-recursive
  67065. @@ -520,18 +499,38 @@
  67066. html: html-recursive
  67067. +html-am:
  67068. +
  67069. info: info-recursive
  67070. info-am:
  67071. install-data-am:
  67072. +install-dvi: install-dvi-recursive
  67073. +
  67074. +install-dvi-am:
  67075. +
  67076. install-exec-am:
  67077. +install-html: install-html-recursive
  67078. +
  67079. +install-html-am:
  67080. +
  67081. install-info: install-info-recursive
  67082. +install-info-am:
  67083. +
  67084. install-man:
  67085. +install-pdf: install-pdf-recursive
  67086. +
  67087. +install-pdf-am:
  67088. +
  67089. +install-ps: install-ps-recursive
  67090. +
  67091. +install-ps-am:
  67092. +
  67093. installcheck-am:
  67094. maintainer-clean: maintainer-clean-recursive
  67095. @@ -550,22 +549,25 @@
  67096. ps-am:
  67097. -uninstall-am: uninstall-info-am
  67098. +uninstall-am:
  67099. -uninstall-info: uninstall-info-recursive
  67100. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  67101. + install-am install-strip tags-recursive
  67102. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  67103. - clean clean-generic clean-libtool clean-recursive ctags \
  67104. - ctags-recursive distclean distclean-generic distclean-libtool \
  67105. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  67106. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  67107. + all all-am check check-am clean clean-generic clean-libtool \
  67108. + ctags ctags-recursive distclean distclean-generic \
  67109. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  67110. html-am info info-am install install-am install-data \
  67111. - install-data-am install-exec install-exec-am install-info \
  67112. - install-info-am install-man install-strip installcheck \
  67113. + install-data-am install-dvi install-dvi-am install-exec \
  67114. + install-exec-am install-html install-html-am install-info \
  67115. + install-info-am install-man install-pdf install-pdf-am \
  67116. + install-ps install-ps-am install-strip installcheck \
  67117. installcheck-am installdirs installdirs-am maintainer-clean \
  67118. - maintainer-clean-generic maintainer-clean-recursive \
  67119. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  67120. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  67121. - uninstall uninstall-am uninstall-info-am
  67122. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  67123. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  67124. + uninstall uninstall-am
  67125. +
  67126. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  67127. # Otherwise a system limit (for SysV at least) may be exceeded.
  67128. diff -Nur alsa-lib-1.0.22.orig/modules/mixer/simple/Makefile.in alsa-lib-1.0.22/modules/mixer/simple/Makefile.in
  67129. --- alsa-lib-1.0.22.orig/modules/mixer/simple/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  67130. +++ alsa-lib-1.0.22/modules/mixer/simple/Makefile.in 2011-02-24 20:33:15.133551019 +0100
  67131. @@ -1,8 +1,9 @@
  67132. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  67133. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  67134. # @configure_input@
  67135. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  67136. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  67137. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  67138. +# Inc.
  67139. # This Makefile.in is free software; the Free Software Foundation
  67140. # gives unlimited permission to copy and/or distribute it,
  67141. # with or without modifications, as long as this notice is preserved.
  67142. @@ -15,14 +16,11 @@
  67143. @SET_MAKE@
  67144. -srcdir = @srcdir@
  67145. -top_srcdir = @top_srcdir@
  67146. VPATH = @srcdir@
  67147. pkgdatadir = $(datadir)/@PACKAGE@
  67148. pkgincludedir = $(includedir)/@PACKAGE@
  67149. -top_builddir = ../../..
  67150. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  67151. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  67152. -INSTALL = @INSTALL@
  67153. install_sh_DATA = $(install_sh) -c -m 644
  67154. install_sh_PROGRAM = $(install_sh) -c
  67155. install_sh_SCRIPT = $(install_sh) -c
  67156. @@ -41,28 +39,56 @@
  67157. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  67158. $(srcdir)/Makefile.in
  67159. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  67160. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  67161. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  67162. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  67163. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  67164. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  67165. $(top_srcdir)/configure.in
  67166. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  67167. $(ACLOCAL_M4)
  67168. mkinstalldirs = $(install_sh) -d
  67169. CONFIG_HEADER = $(top_builddir)/include/config.h
  67170. CONFIG_CLEAN_FILES =
  67171. +CONFIG_CLEAN_VPATH_FILES =
  67172. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  67173. am__vpath_adj = case $$p in \
  67174. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  67175. *) f=$$p;; \
  67176. esac;
  67177. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  67178. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  67179. +am__install_max = 40
  67180. +am__nobase_strip_setup = \
  67181. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  67182. +am__nobase_strip = \
  67183. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  67184. +am__nobase_list = $(am__nobase_strip_setup); \
  67185. + for p in $$list; do echo "$$p $$p"; done | \
  67186. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  67187. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  67188. + if (++n[$$2] == $(am__install_max)) \
  67189. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  67190. + END { for (dir in files) print dir, files[dir] }'
  67191. +am__base_list = \
  67192. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  67193. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  67194. am__installdirs = "$(DESTDIR)$(pkglibdir)"
  67195. -pkglibLTLIBRARIES_INSTALL = $(INSTALL)
  67196. LTLIBRARIES = $(pkglib_LTLIBRARIES)
  67197. smixer_ac97_la_DEPENDENCIES = ../../../src/libasound.la
  67198. am_smixer_ac97_la_OBJECTS = ac97.lo sbasedl.lo
  67199. smixer_ac97_la_OBJECTS = $(am_smixer_ac97_la_OBJECTS)
  67200. +AM_V_lt = $(am__v_lt_$(V))
  67201. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  67202. +am__v_lt_0 = --silent
  67203. +smixer_ac97_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
  67204. + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
  67205. + $(AM_CFLAGS) $(CFLAGS) $(smixer_ac97_la_LDFLAGS) $(LDFLAGS) -o \
  67206. + $@
  67207. smixer_hda_la_DEPENDENCIES = ../../../src/libasound.la
  67208. am_smixer_hda_la_OBJECTS = hda.lo sbasedl.lo
  67209. smixer_hda_la_OBJECTS = $(am_smixer_hda_la_OBJECTS)
  67210. +smixer_hda_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  67211. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  67212. + $(smixer_hda_la_LDFLAGS) $(LDFLAGS) -o $@
  67213. am__DEPENDENCIES_1 =
  67214. @BUILD_PYTHON_TRUE@smixer_python_la_DEPENDENCIES = \
  67215. @BUILD_PYTHON_TRUE@ ../../../src/libasound.la \
  67216. @@ -71,21 +97,44 @@
  67217. @BUILD_PYTHON_TRUE@am_smixer_python_la_OBJECTS = \
  67218. @BUILD_PYTHON_TRUE@ smixer_python_la-python.lo
  67219. smixer_python_la_OBJECTS = $(am_smixer_python_la_OBJECTS)
  67220. +smixer_python_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
  67221. + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
  67222. + $(smixer_python_la_CFLAGS) $(CFLAGS) \
  67223. + $(smixer_python_la_LDFLAGS) $(LDFLAGS) -o $@
  67224. @BUILD_PYTHON_TRUE@am_smixer_python_la_rpath = -rpath $(pkglibdir)
  67225. smixer_sbase_la_DEPENDENCIES = ../../../src/libasound.la
  67226. am_smixer_sbase_la_OBJECTS = sbase.lo
  67227. smixer_sbase_la_OBJECTS = $(am_smixer_sbase_la_OBJECTS)
  67228. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  67229. +smixer_sbase_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
  67230. + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
  67231. + $(AM_CFLAGS) $(CFLAGS) $(smixer_sbase_la_LDFLAGS) $(LDFLAGS) \
  67232. + -o $@
  67233. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  67234. depcomp = $(SHELL) $(top_srcdir)/depcomp
  67235. am__depfiles_maybe = depfiles
  67236. +am__mv = mv -f
  67237. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  67238. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  67239. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  67240. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  67241. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  67242. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  67243. $(AM_CFLAGS) $(CFLAGS)
  67244. +AM_V_CC = $(am__v_CC_$(V))
  67245. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  67246. +am__v_CC_0 = @echo " CC " $@;
  67247. +AM_V_at = $(am__v_at_$(V))
  67248. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  67249. +am__v_at_0 = @
  67250. CCLD = $(CC)
  67251. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  67252. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  67253. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  67254. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  67255. +AM_V_CCLD = $(am__v_CCLD_$(V))
  67256. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  67257. +am__v_CCLD_0 = @echo " CCLD " $@;
  67258. +AM_V_GEN = $(am__v_GEN_$(V))
  67259. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  67260. +am__v_GEN_0 = @echo " GEN " $@;
  67261. SOURCES = $(smixer_ac97_la_SOURCES) $(smixer_hda_la_SOURCES) \
  67262. $(smixer_python_la_SOURCES) $(smixer_sbase_la_SOURCES)
  67263. DIST_SOURCES = $(smixer_ac97_la_SOURCES) $(smixer_hda_la_SOURCES) \
  67264. @@ -99,143 +148,66 @@
  67265. ACLOCAL = @ACLOCAL@
  67266. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  67267. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  67268. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  67269. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  67270. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  67271. -AMDEP_FALSE = @AMDEP_FALSE@
  67272. -AMDEP_TRUE = @AMDEP_TRUE@
  67273. AMTAR = @AMTAR@
  67274. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  67275. AR = @AR@
  67276. AUTOCONF = @AUTOCONF@
  67277. AUTOHEADER = @AUTOHEADER@
  67278. AUTOMAKE = @AUTOMAKE@
  67279. AWK = @AWK@
  67280. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  67281. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  67282. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  67283. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  67284. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  67285. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  67286. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  67287. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  67288. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  67289. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  67290. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  67291. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  67292. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  67293. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  67294. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  67295. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  67296. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  67297. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  67298. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  67299. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  67300. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  67301. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  67302. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  67303. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  67304. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  67305. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  67306. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  67307. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  67308. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  67309. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  67310. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  67311. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  67312. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  67313. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  67314. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  67315. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  67316. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  67317. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  67318. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  67319. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  67320. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  67321. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  67322. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  67323. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  67324. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  67325. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  67326. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  67327. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  67328. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  67329. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  67330. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  67331. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  67332. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  67333. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  67334. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  67335. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  67336. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  67337. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  67338. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  67339. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  67340. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  67341. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  67342. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  67343. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  67344. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  67345. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  67346. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  67347. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  67348. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  67349. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  67350. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  67351. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  67352. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  67353. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  67354. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  67355. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  67356. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  67357. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  67358. CC = @CC@
  67359. CCDEPMODE = @CCDEPMODE@
  67360. CFLAGS = @CFLAGS@
  67361. CPP = @CPP@
  67362. CPPFLAGS = @CPPFLAGS@
  67363. -CXX = @CXX@
  67364. -CXXCPP = @CXXCPP@
  67365. -CXXDEPMODE = @CXXDEPMODE@
  67366. -CXXFLAGS = @CXXFLAGS@
  67367. CYGPATH_W = @CYGPATH_W@
  67368. DEFS = @DEFS@
  67369. DEPDIR = @DEPDIR@
  67370. -ECHO = @ECHO@
  67371. +DSYMUTIL = @DSYMUTIL@
  67372. +DUMPBIN = @DUMPBIN@
  67373. ECHO_C = @ECHO_C@
  67374. ECHO_N = @ECHO_N@
  67375. ECHO_T = @ECHO_T@
  67376. EGREP = @EGREP@
  67377. EXEEXT = @EXEEXT@
  67378. -F77 = @F77@
  67379. -FFLAGS = @FFLAGS@
  67380. +FGREP = @FGREP@
  67381. GREP = @GREP@
  67382. +INSTALL = @INSTALL@
  67383. INSTALL_DATA = @INSTALL_DATA@
  67384. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  67385. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  67386. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  67387. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  67388. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  67389. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  67390. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  67391. +LD = @LD@
  67392. LDFLAGS = @LDFLAGS@
  67393. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  67394. LIBOBJS = @LIBOBJS@
  67395. LIBS = @LIBS@
  67396. LIBTOOL = @LIBTOOL@
  67397. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  67398. +LIPO = @LIPO@
  67399. LN_S = @LN_S@
  67400. LTLIBOBJS = @LTLIBOBJS@
  67401. MAKEINFO = @MAKEINFO@
  67402. +MKDIR_P = @MKDIR_P@
  67403. +NM = @NM@
  67404. +NMEDIT = @NMEDIT@
  67405. +OBJDUMP = @OBJDUMP@
  67406. OBJEXT = @OBJEXT@
  67407. +OTOOL = @OTOOL@
  67408. +OTOOL64 = @OTOOL64@
  67409. PACKAGE = @PACKAGE@
  67410. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  67411. PACKAGE_NAME = @PACKAGE_NAME@
  67412. PACKAGE_STRING = @PACKAGE_STRING@
  67413. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  67414. +PACKAGE_URL = @PACKAGE_URL@
  67415. PACKAGE_VERSION = @PACKAGE_VERSION@
  67416. PATH_SEPARATOR = @PATH_SEPARATOR@
  67417. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  67418. PYTHON_LIBS = @PYTHON_LIBS@
  67419. RANLIB = @RANLIB@
  67420. +SED = @SED@
  67421. SET_MAKE = @SET_MAKE@
  67422. SHELL = @SHELL@
  67423. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  67424. @@ -244,19 +216,14 @@
  67425. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  67426. SND_LIB_VERSION = @SND_LIB_VERSION@
  67427. STRIP = @STRIP@
  67428. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  67429. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  67430. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  67431. VERSION = @VERSION@
  67432. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  67433. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  67434. +abs_builddir = @abs_builddir@
  67435. +abs_srcdir = @abs_srcdir@
  67436. +abs_top_builddir = @abs_top_builddir@
  67437. +abs_top_srcdir = @abs_top_srcdir@
  67438. ac_ct_CC = @ac_ct_CC@
  67439. -ac_ct_CXX = @ac_ct_CXX@
  67440. -ac_ct_F77 = @ac_ct_F77@
  67441. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  67442. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  67443. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  67444. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  67445. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  67446. am__include = @am__include@
  67447. am__leading_dot = @am__leading_dot@
  67448. am__quote = @am__quote@
  67449. @@ -268,6 +235,7 @@
  67450. build_cpu = @build_cpu@
  67451. build_os = @build_os@
  67452. build_vendor = @build_vendor@
  67453. +builddir = @builddir@
  67454. datadir = @datadir@
  67455. datarootdir = @datarootdir@
  67456. docdir = @docdir@
  67457. @@ -286,6 +254,7 @@
  67458. libexecdir = @libexecdir@
  67459. localedir = @localedir@
  67460. localstatedir = @localstatedir@
  67461. +lt_ECHO = @lt_ECHO@
  67462. mandir = @mandir@
  67463. mkdir_p = @mkdir_p@
  67464. oldincludedir = @oldincludedir@
  67465. @@ -295,8 +264,12 @@
  67466. psdir = @psdir@
  67467. sbindir = @sbindir@
  67468. sharedstatedir = @sharedstatedir@
  67469. +srcdir = @srcdir@
  67470. sysconfdir = @sysconfdir@
  67471. target_alias = @target_alias@
  67472. +top_build_prefix = @top_build_prefix@
  67473. +top_builddir = @top_builddir@
  67474. +top_srcdir = @top_srcdir@
  67475. alsaplugindir = @ALSA_PLUGIN_DIR@
  67476. AM_CFLAGS = -g -O2 -W -Wall
  67477. INCLUDES = -I$(top_srcdir)/include
  67478. @@ -324,14 +297,14 @@
  67479. @for dep in $?; do \
  67480. case '$(am__configure_deps)' in \
  67481. *$$dep*) \
  67482. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  67483. - && exit 0; \
  67484. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  67485. + && { if test -f $@; then exit 0; else break; fi; }; \
  67486. exit 1;; \
  67487. esac; \
  67488. done; \
  67489. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/mixer/simple/Makefile'; \
  67490. - cd $(top_srcdir) && \
  67491. - $(AUTOMAKE) --foreign modules/mixer/simple/Makefile
  67492. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu modules/mixer/simple/Makefile'; \
  67493. + $(am__cd) $(top_srcdir) && \
  67494. + $(AUTOMAKE) --gnu modules/mixer/simple/Makefile
  67495. .PRECIOUS: Makefile
  67496. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  67497. @case '$?' in \
  67498. @@ -349,23 +322,28 @@
  67499. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67500. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  67501. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67502. +$(am__aclocal_m4_deps):
  67503. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  67504. @$(NORMAL_INSTALL)
  67505. - test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"
  67506. - @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  67507. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  67508. + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  67509. + list2=; for p in $$list; do \
  67510. if test -f $$p; then \
  67511. - f=$(am__strip_dir) \
  67512. - echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
  67513. - $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
  67514. + list2="$$list2 $$p"; \
  67515. else :; fi; \
  67516. - done
  67517. + done; \
  67518. + test -z "$$list2" || { \
  67519. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  67520. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  67521. + }
  67522. uninstall-pkglibLTLIBRARIES:
  67523. @$(NORMAL_UNINSTALL)
  67524. - @set -x; list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  67525. - p=$(am__strip_dir) \
  67526. - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
  67527. - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
  67528. + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  67529. + for p in $$list; do \
  67530. + $(am__strip_dir) \
  67531. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
  67532. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
  67533. done
  67534. clean-pkglibLTLIBRARIES:
  67535. @@ -377,13 +355,13 @@
  67536. rm -f "$${dir}/so_locations"; \
  67537. done
  67538. smixer-ac97.la: $(smixer_ac97_la_OBJECTS) $(smixer_ac97_la_DEPENDENCIES)
  67539. - $(LINK) -rpath $(pkglibdir) $(smixer_ac97_la_LDFLAGS) $(smixer_ac97_la_OBJECTS) $(smixer_ac97_la_LIBADD) $(LIBS)
  67540. + $(AM_V_CCLD)$(smixer_ac97_la_LINK) -rpath $(pkglibdir) $(smixer_ac97_la_OBJECTS) $(smixer_ac97_la_LIBADD) $(LIBS)
  67541. smixer-hda.la: $(smixer_hda_la_OBJECTS) $(smixer_hda_la_DEPENDENCIES)
  67542. - $(LINK) -rpath $(pkglibdir) $(smixer_hda_la_LDFLAGS) $(smixer_hda_la_OBJECTS) $(smixer_hda_la_LIBADD) $(LIBS)
  67543. + $(AM_V_CCLD)$(smixer_hda_la_LINK) -rpath $(pkglibdir) $(smixer_hda_la_OBJECTS) $(smixer_hda_la_LIBADD) $(LIBS)
  67544. smixer-python.la: $(smixer_python_la_OBJECTS) $(smixer_python_la_DEPENDENCIES)
  67545. - $(LINK) $(am_smixer_python_la_rpath) $(smixer_python_la_LDFLAGS) $(smixer_python_la_OBJECTS) $(smixer_python_la_LIBADD) $(LIBS)
  67546. + $(AM_V_CCLD)$(smixer_python_la_LINK) $(am_smixer_python_la_rpath) $(smixer_python_la_OBJECTS) $(smixer_python_la_LIBADD) $(LIBS)
  67547. smixer-sbase.la: $(smixer_sbase_la_OBJECTS) $(smixer_sbase_la_DEPENDENCIES)
  67548. - $(LINK) -rpath $(pkglibdir) $(smixer_sbase_la_LDFLAGS) $(smixer_sbase_la_OBJECTS) $(smixer_sbase_la_LIBADD) $(LIBS)
  67549. + $(AM_V_CCLD)$(smixer_sbase_la_LINK) -rpath $(pkglibdir) $(smixer_sbase_la_OBJECTS) $(smixer_sbase_la_LIBADD) $(LIBS)
  67550. mostlyclean-compile:
  67551. -rm -f *.$(OBJEXT)
  67552. @@ -398,32 +376,36 @@
  67553. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smixer_python_la-python.Plo@am__quote@
  67554. .c.o:
  67555. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  67556. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  67557. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  67558. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  67559. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  67560. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  67561. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  67562. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  67563. .c.obj:
  67564. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  67565. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  67566. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  67567. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  67568. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  67569. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  67570. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  67571. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  67572. .c.lo:
  67573. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  67574. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  67575. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  67576. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  67577. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  67578. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  67579. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  67580. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  67581. smixer_python_la-python.lo: python.c
  67582. -@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smixer_python_la_CFLAGS) $(CFLAGS) -MT smixer_python_la-python.lo -MD -MP -MF "$(DEPDIR)/smixer_python_la-python.Tpo" -c -o smixer_python_la-python.lo `test -f 'python.c' || echo '$(srcdir)/'`python.c; \
  67583. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/smixer_python_la-python.Tpo" "$(DEPDIR)/smixer_python_la-python.Plo"; else rm -f "$(DEPDIR)/smixer_python_la-python.Tpo"; exit 1; fi
  67584. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smixer_python_la_CFLAGS) $(CFLAGS) -MT smixer_python_la-python.lo -MD -MP -MF $(DEPDIR)/smixer_python_la-python.Tpo -c -o smixer_python_la-python.lo `test -f 'python.c' || echo '$(srcdir)/'`python.c
  67585. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/smixer_python_la-python.Tpo $(DEPDIR)/smixer_python_la-python.Plo
  67586. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  67587. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='python.c' object='smixer_python_la-python.lo' libtool=yes @AMDEPBACKSLASH@
  67588. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  67589. -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smixer_python_la_CFLAGS) $(CFLAGS) -c -o smixer_python_la-python.lo `test -f 'python.c' || echo '$(srcdir)/'`python.c
  67590. +@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(smixer_python_la_CFLAGS) $(CFLAGS) -c -o smixer_python_la-python.lo `test -f 'python.c' || echo '$(srcdir)/'`python.c
  67591. mostlyclean-libtool:
  67592. -rm -f *.lo
  67593. @@ -431,82 +413,85 @@
  67594. clean-libtool:
  67595. -rm -rf .libs _libs
  67596. -distclean-libtool:
  67597. - -rm -f libtool
  67598. -uninstall-info-am:
  67599. -
  67600. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  67601. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  67602. unique=`for i in $$list; do \
  67603. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  67604. done | \
  67605. - $(AWK) ' { files[$$0] = 1; } \
  67606. - END { for (i in files) print i; }'`; \
  67607. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  67608. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  67609. mkid -fID $$unique
  67610. tags: TAGS
  67611. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  67612. $(TAGS_FILES) $(LISP)
  67613. - tags=; \
  67614. + set x; \
  67615. here=`pwd`; \
  67616. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  67617. unique=`for i in $$list; do \
  67618. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  67619. done | \
  67620. - $(AWK) ' { files[$$0] = 1; } \
  67621. - END { for (i in files) print i; }'`; \
  67622. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  67623. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  67624. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  67625. + shift; \
  67626. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  67627. test -n "$$unique" || unique=$$empty_fix; \
  67628. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  67629. - $$tags $$unique; \
  67630. + if test $$# -gt 0; then \
  67631. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  67632. + "$$@" $$unique; \
  67633. + else \
  67634. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  67635. + $$unique; \
  67636. + fi; \
  67637. fi
  67638. ctags: CTAGS
  67639. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  67640. $(TAGS_FILES) $(LISP)
  67641. - tags=; \
  67642. - here=`pwd`; \
  67643. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  67644. unique=`for i in $$list; do \
  67645. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  67646. done | \
  67647. - $(AWK) ' { files[$$0] = 1; } \
  67648. - END { for (i in files) print i; }'`; \
  67649. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  67650. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  67651. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  67652. + test -z "$(CTAGS_ARGS)$$unique" \
  67653. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  67654. - $$tags $$unique
  67655. + $$unique
  67656. GTAGS:
  67657. here=`$(am__cd) $(top_builddir) && pwd` \
  67658. - && cd $(top_srcdir) \
  67659. - && gtags -i $(GTAGS_ARGS) $$here
  67660. + && $(am__cd) $(top_srcdir) \
  67661. + && gtags -i $(GTAGS_ARGS) "$$here"
  67662. distclean-tags:
  67663. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  67664. distdir: $(DISTFILES)
  67665. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  67666. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  67667. - list='$(DISTFILES)'; for file in $$list; do \
  67668. - case $$file in \
  67669. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  67670. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  67671. - esac; \
  67672. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  67673. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  67674. + list='$(DISTFILES)'; \
  67675. + dist_files=`for file in $$list; do echo $$file; done | \
  67676. + sed -e "s|^$$srcdirstrip/||;t" \
  67677. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  67678. + case $$dist_files in \
  67679. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  67680. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  67681. + sort -u` ;; \
  67682. + esac; \
  67683. + for file in $$dist_files; do \
  67684. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  67685. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  67686. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  67687. - dir="/$$dir"; \
  67688. - $(mkdir_p) "$(distdir)$$dir"; \
  67689. - else \
  67690. - dir=''; \
  67691. - fi; \
  67692. if test -d $$d/$$file; then \
  67693. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  67694. + if test -d "$(distdir)/$$file"; then \
  67695. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67696. + fi; \
  67697. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  67698. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  67699. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  67700. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67701. fi; \
  67702. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  67703. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  67704. else \
  67705. - test -f $(distdir)/$$file \
  67706. - || cp -p $$d/$$file $(distdir)/$$file \
  67707. + test -f "$(distdir)/$$file" \
  67708. + || cp -p $$d/$$file "$(distdir)/$$file" \
  67709. || exit 1; \
  67710. fi; \
  67711. done
  67712. @@ -515,7 +500,7 @@
  67713. all-am: Makefile $(LTLIBRARIES) $(HEADERS)
  67714. installdirs:
  67715. for dir in "$(DESTDIR)$(pkglibdir)"; do \
  67716. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  67717. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  67718. done
  67719. install: install-am
  67720. install-exec: install-exec-am
  67721. @@ -537,6 +522,7 @@
  67722. distclean-generic:
  67723. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  67724. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  67725. maintainer-clean-generic:
  67726. @echo "This command is intended for maintainers to use"
  67727. @@ -550,7 +536,7 @@
  67728. -rm -rf ./$(DEPDIR)
  67729. -rm -f Makefile
  67730. distclean-am: clean-am distclean-compile distclean-generic \
  67731. - distclean-libtool distclean-tags
  67732. + distclean-tags
  67733. dvi: dvi-am
  67734. @@ -558,18 +544,38 @@
  67735. html: html-am
  67736. +html-am:
  67737. +
  67738. info: info-am
  67739. info-am:
  67740. install-data-am:
  67741. +install-dvi: install-dvi-am
  67742. +
  67743. +install-dvi-am:
  67744. +
  67745. install-exec-am: install-pkglibLTLIBRARIES
  67746. +install-html: install-html-am
  67747. +
  67748. +install-html-am:
  67749. +
  67750. install-info: install-info-am
  67751. +install-info-am:
  67752. +
  67753. install-man:
  67754. +install-pdf: install-pdf-am
  67755. +
  67756. +install-pdf-am:
  67757. +
  67758. +install-ps: install-ps-am
  67759. +
  67760. +install-ps-am:
  67761. +
  67762. installcheck-am:
  67763. maintainer-clean: maintainer-clean-am
  67764. @@ -590,20 +596,24 @@
  67765. ps-am:
  67766. -uninstall-am: uninstall-info-am uninstall-pkglibLTLIBRARIES
  67767. +uninstall-am: uninstall-pkglibLTLIBRARIES
  67768. +
  67769. +.MAKE: install-am install-strip
  67770. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  67771. clean-libtool clean-pkglibLTLIBRARIES ctags distclean \
  67772. distclean-compile distclean-generic distclean-libtool \
  67773. distclean-tags distdir dvi dvi-am html html-am info info-am \
  67774. - install install-am install-data install-data-am install-exec \
  67775. - install-exec-am install-info install-info-am install-man \
  67776. - install-pkglibLTLIBRARIES install-strip installcheck \
  67777. + install install-am install-data install-data-am install-dvi \
  67778. + install-dvi-am install-exec install-exec-am install-html \
  67779. + install-html-am install-info install-info-am install-man \
  67780. + install-pdf install-pdf-am install-pkglibLTLIBRARIES \
  67781. + install-ps install-ps-am install-strip installcheck \
  67782. installcheck-am installdirs maintainer-clean \
  67783. maintainer-clean-generic mostlyclean mostlyclean-compile \
  67784. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  67785. - tags uninstall uninstall-am uninstall-info-am \
  67786. - uninstall-pkglibLTLIBRARIES
  67787. + tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES
  67788. +
  67789. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  67790. # Otherwise a system limit (for SysV at least) may be exceeded.
  67791. diff -Nur alsa-lib-1.0.22.orig/src/alisp/Makefile.in alsa-lib-1.0.22/src/alisp/Makefile.in
  67792. --- alsa-lib-1.0.22.orig/src/alisp/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  67793. +++ alsa-lib-1.0.22/src/alisp/Makefile.in 2011-02-24 20:33:15.253556181 +0100
  67794. @@ -1,8 +1,9 @@
  67795. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  67796. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  67797. # @configure_input@
  67798. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  67799. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  67800. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  67801. +# Inc.
  67802. # This Makefile.in is free software; the Free Software Foundation
  67803. # gives unlimited permission to copy and/or distribute it,
  67804. # with or without modifications, as long as this notice is preserved.
  67805. @@ -14,15 +15,12 @@
  67806. @SET_MAKE@
  67807. -srcdir = @srcdir@
  67808. -top_srcdir = @top_srcdir@
  67809. VPATH = @srcdir@
  67810. pkgdatadir = $(datadir)/@PACKAGE@
  67811. -pkglibdir = $(libdir)/@PACKAGE@
  67812. pkgincludedir = $(includedir)/@PACKAGE@
  67813. -top_builddir = ../..
  67814. +pkglibdir = $(libdir)/@PACKAGE@
  67815. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  67816. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  67817. -INSTALL = @INSTALL@
  67818. install_sh_DATA = $(install_sh) -c -m 644
  67819. install_sh_PROGRAM = $(install_sh) -c
  67820. install_sh_SCRIPT = $(install_sh) -c
  67821. @@ -40,27 +38,49 @@
  67822. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  67823. $(srcdir)/Makefile.in
  67824. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  67825. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  67826. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  67827. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  67828. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  67829. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  67830. $(top_srcdir)/configure.in
  67831. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  67832. $(ACLOCAL_M4)
  67833. mkinstalldirs = $(install_sh) -d
  67834. CONFIG_HEADER = $(top_builddir)/include/config.h
  67835. CONFIG_CLEAN_FILES =
  67836. +CONFIG_CLEAN_VPATH_FILES =
  67837. libalisp_la_LIBADD =
  67838. am_libalisp_la_OBJECTS = alisp.lo
  67839. libalisp_la_OBJECTS = $(am_libalisp_la_OBJECTS)
  67840. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  67841. +AM_V_lt = $(am__v_lt_$(V))
  67842. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  67843. +am__v_lt_0 = --silent
  67844. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  67845. depcomp = $(SHELL) $(top_srcdir)/depcomp
  67846. am__depfiles_maybe = depfiles
  67847. +am__mv = mv -f
  67848. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  67849. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  67850. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  67851. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  67852. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  67853. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  67854. $(AM_CFLAGS) $(CFLAGS)
  67855. +AM_V_CC = $(am__v_CC_$(V))
  67856. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  67857. +am__v_CC_0 = @echo " CC " $@;
  67858. +AM_V_at = $(am__v_at_$(V))
  67859. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  67860. +am__v_at_0 = @
  67861. CCLD = $(CC)
  67862. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  67863. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  67864. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  67865. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  67866. +AM_V_CCLD = $(am__v_CCLD_$(V))
  67867. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  67868. +am__v_CCLD_0 = @echo " CCLD " $@;
  67869. +AM_V_GEN = $(am__v_GEN_$(V))
  67870. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  67871. +am__v_GEN_0 = @echo " GEN " $@;
  67872. SOURCES = $(libalisp_la_SOURCES)
  67873. DIST_SOURCES = $(libalisp_la_SOURCES)
  67874. HEADERS = $(noinst_HEADERS)
  67875. @@ -70,143 +90,66 @@
  67876. ACLOCAL = @ACLOCAL@
  67877. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  67878. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  67879. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  67880. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  67881. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  67882. -AMDEP_FALSE = @AMDEP_FALSE@
  67883. -AMDEP_TRUE = @AMDEP_TRUE@
  67884. AMTAR = @AMTAR@
  67885. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  67886. AR = @AR@
  67887. AUTOCONF = @AUTOCONF@
  67888. AUTOHEADER = @AUTOHEADER@
  67889. AUTOMAKE = @AUTOMAKE@
  67890. AWK = @AWK@
  67891. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  67892. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  67893. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  67894. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  67895. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  67896. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  67897. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  67898. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  67899. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  67900. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  67901. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  67902. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  67903. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  67904. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  67905. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  67906. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  67907. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  67908. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  67909. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  67910. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  67911. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  67912. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  67913. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  67914. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  67915. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  67916. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  67917. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  67918. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  67919. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  67920. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  67921. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  67922. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  67923. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  67924. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  67925. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  67926. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  67927. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  67928. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  67929. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  67930. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  67931. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  67932. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  67933. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  67934. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  67935. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  67936. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  67937. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  67938. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  67939. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  67940. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  67941. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  67942. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  67943. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  67944. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  67945. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  67946. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  67947. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  67948. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  67949. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  67950. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  67951. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  67952. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  67953. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  67954. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  67955. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  67956. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  67957. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  67958. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  67959. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  67960. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  67961. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  67962. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  67963. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  67964. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  67965. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  67966. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  67967. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  67968. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  67969. CC = @CC@
  67970. CCDEPMODE = @CCDEPMODE@
  67971. CFLAGS = @CFLAGS@
  67972. CPP = @CPP@
  67973. CPPFLAGS = @CPPFLAGS@
  67974. -CXX = @CXX@
  67975. -CXXCPP = @CXXCPP@
  67976. -CXXDEPMODE = @CXXDEPMODE@
  67977. -CXXFLAGS = @CXXFLAGS@
  67978. CYGPATH_W = @CYGPATH_W@
  67979. DEFS = @DEFS@
  67980. DEPDIR = @DEPDIR@
  67981. -ECHO = @ECHO@
  67982. +DSYMUTIL = @DSYMUTIL@
  67983. +DUMPBIN = @DUMPBIN@
  67984. ECHO_C = @ECHO_C@
  67985. ECHO_N = @ECHO_N@
  67986. ECHO_T = @ECHO_T@
  67987. EGREP = @EGREP@
  67988. EXEEXT = @EXEEXT@
  67989. -F77 = @F77@
  67990. -FFLAGS = @FFLAGS@
  67991. +FGREP = @FGREP@
  67992. GREP = @GREP@
  67993. +INSTALL = @INSTALL@
  67994. INSTALL_DATA = @INSTALL_DATA@
  67995. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  67996. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  67997. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  67998. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  67999. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  68000. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  68001. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  68002. +LD = @LD@
  68003. LDFLAGS = @LDFLAGS@
  68004. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  68005. LIBOBJS = @LIBOBJS@
  68006. LIBS = @LIBS@
  68007. LIBTOOL = @LIBTOOL@
  68008. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  68009. +LIPO = @LIPO@
  68010. LN_S = @LN_S@
  68011. LTLIBOBJS = @LTLIBOBJS@
  68012. MAKEINFO = @MAKEINFO@
  68013. +MKDIR_P = @MKDIR_P@
  68014. +NM = @NM@
  68015. +NMEDIT = @NMEDIT@
  68016. +OBJDUMP = @OBJDUMP@
  68017. OBJEXT = @OBJEXT@
  68018. +OTOOL = @OTOOL@
  68019. +OTOOL64 = @OTOOL64@
  68020. PACKAGE = @PACKAGE@
  68021. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  68022. PACKAGE_NAME = @PACKAGE_NAME@
  68023. PACKAGE_STRING = @PACKAGE_STRING@
  68024. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  68025. +PACKAGE_URL = @PACKAGE_URL@
  68026. PACKAGE_VERSION = @PACKAGE_VERSION@
  68027. PATH_SEPARATOR = @PATH_SEPARATOR@
  68028. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  68029. PYTHON_LIBS = @PYTHON_LIBS@
  68030. RANLIB = @RANLIB@
  68031. +SED = @SED@
  68032. SET_MAKE = @SET_MAKE@
  68033. SHELL = @SHELL@
  68034. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  68035. @@ -215,19 +158,14 @@
  68036. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  68037. SND_LIB_VERSION = @SND_LIB_VERSION@
  68038. STRIP = @STRIP@
  68039. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  68040. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  68041. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  68042. VERSION = @VERSION@
  68043. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  68044. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  68045. +abs_builddir = @abs_builddir@
  68046. +abs_srcdir = @abs_srcdir@
  68047. +abs_top_builddir = @abs_top_builddir@
  68048. +abs_top_srcdir = @abs_top_srcdir@
  68049. ac_ct_CC = @ac_ct_CC@
  68050. -ac_ct_CXX = @ac_ct_CXX@
  68051. -ac_ct_F77 = @ac_ct_F77@
  68052. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  68053. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  68054. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  68055. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  68056. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  68057. am__include = @am__include@
  68058. am__leading_dot = @am__leading_dot@
  68059. am__quote = @am__quote@
  68060. @@ -239,6 +177,7 @@
  68061. build_cpu = @build_cpu@
  68062. build_os = @build_os@
  68063. build_vendor = @build_vendor@
  68064. +builddir = @builddir@
  68065. datadir = @datadir@
  68066. datarootdir = @datarootdir@
  68067. docdir = @docdir@
  68068. @@ -257,6 +196,7 @@
  68069. libexecdir = @libexecdir@
  68070. localedir = @localedir@
  68071. localstatedir = @localstatedir@
  68072. +lt_ECHO = @lt_ECHO@
  68073. mandir = @mandir@
  68074. mkdir_p = @mkdir_p@
  68075. oldincludedir = @oldincludedir@
  68076. @@ -266,8 +206,12 @@
  68077. psdir = @psdir@
  68078. sbindir = @sbindir@
  68079. sharedstatedir = @sharedstatedir@
  68080. +srcdir = @srcdir@
  68081. sysconfdir = @sysconfdir@
  68082. target_alias = @target_alias@
  68083. +top_build_prefix = @top_build_prefix@
  68084. +top_builddir = @top_builddir@
  68085. +top_srcdir = @top_srcdir@
  68086. EXTRA_LTLIBRARIES = libalisp.la
  68087. EXTRA_DIST = alisp_snd.c
  68088. libalisp_la_SOURCES = alisp.c
  68089. @@ -281,14 +225,14 @@
  68090. @for dep in $?; do \
  68091. case '$(am__configure_deps)' in \
  68092. *$$dep*) \
  68093. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  68094. - && exit 0; \
  68095. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  68096. + && { if test -f $@; then exit 0; else break; fi; }; \
  68097. exit 1;; \
  68098. esac; \
  68099. done; \
  68100. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/alisp/Makefile'; \
  68101. - cd $(top_srcdir) && \
  68102. - $(AUTOMAKE) --foreign src/alisp/Makefile
  68103. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/alisp/Makefile'; \
  68104. + $(am__cd) $(top_srcdir) && \
  68105. + $(AUTOMAKE) --gnu src/alisp/Makefile
  68106. .PRECIOUS: Makefile
  68107. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  68108. @case '$?' in \
  68109. @@ -306,8 +250,9 @@
  68110. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68111. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  68112. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68113. +$(am__aclocal_m4_deps):
  68114. libalisp.la: $(libalisp_la_OBJECTS) $(libalisp_la_DEPENDENCIES)
  68115. - $(LINK) $(libalisp_la_LDFLAGS) $(libalisp_la_OBJECTS) $(libalisp_la_LIBADD) $(LIBS)
  68116. + $(AM_V_CCLD)$(LINK) $(libalisp_la_OBJECTS) $(libalisp_la_LIBADD) $(LIBS)
  68117. mostlyclean-compile:
  68118. -rm -f *.$(OBJEXT)
  68119. @@ -318,22 +263,25 @@
  68120. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alisp.Plo@am__quote@
  68121. .c.o:
  68122. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  68123. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  68124. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  68125. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  68126. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  68127. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  68128. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  68129. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  68130. .c.obj:
  68131. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  68132. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  68133. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  68134. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  68135. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  68136. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  68137. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  68138. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  68139. .c.lo:
  68140. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  68141. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  68142. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  68143. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  68144. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  68145. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  68146. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  68147. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  68148. @@ -344,82 +292,85 @@
  68149. clean-libtool:
  68150. -rm -rf .libs _libs
  68151. -distclean-libtool:
  68152. - -rm -f libtool
  68153. -uninstall-info-am:
  68154. -
  68155. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  68156. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  68157. unique=`for i in $$list; do \
  68158. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  68159. done | \
  68160. - $(AWK) ' { files[$$0] = 1; } \
  68161. - END { for (i in files) print i; }'`; \
  68162. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  68163. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  68164. mkid -fID $$unique
  68165. tags: TAGS
  68166. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  68167. $(TAGS_FILES) $(LISP)
  68168. - tags=; \
  68169. + set x; \
  68170. here=`pwd`; \
  68171. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  68172. unique=`for i in $$list; do \
  68173. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  68174. done | \
  68175. - $(AWK) ' { files[$$0] = 1; } \
  68176. - END { for (i in files) print i; }'`; \
  68177. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  68178. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  68179. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  68180. + shift; \
  68181. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  68182. test -n "$$unique" || unique=$$empty_fix; \
  68183. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  68184. - $$tags $$unique; \
  68185. + if test $$# -gt 0; then \
  68186. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  68187. + "$$@" $$unique; \
  68188. + else \
  68189. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  68190. + $$unique; \
  68191. + fi; \
  68192. fi
  68193. ctags: CTAGS
  68194. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  68195. $(TAGS_FILES) $(LISP)
  68196. - tags=; \
  68197. - here=`pwd`; \
  68198. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  68199. unique=`for i in $$list; do \
  68200. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  68201. done | \
  68202. - $(AWK) ' { files[$$0] = 1; } \
  68203. - END { for (i in files) print i; }'`; \
  68204. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  68205. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  68206. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  68207. + test -z "$(CTAGS_ARGS)$$unique" \
  68208. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  68209. - $$tags $$unique
  68210. + $$unique
  68211. GTAGS:
  68212. here=`$(am__cd) $(top_builddir) && pwd` \
  68213. - && cd $(top_srcdir) \
  68214. - && gtags -i $(GTAGS_ARGS) $$here
  68215. + && $(am__cd) $(top_srcdir) \
  68216. + && gtags -i $(GTAGS_ARGS) "$$here"
  68217. distclean-tags:
  68218. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  68219. distdir: $(DISTFILES)
  68220. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  68221. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  68222. - list='$(DISTFILES)'; for file in $$list; do \
  68223. - case $$file in \
  68224. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  68225. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  68226. - esac; \
  68227. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68228. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68229. + list='$(DISTFILES)'; \
  68230. + dist_files=`for file in $$list; do echo $$file; done | \
  68231. + sed -e "s|^$$srcdirstrip/||;t" \
  68232. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  68233. + case $$dist_files in \
  68234. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  68235. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  68236. + sort -u` ;; \
  68237. + esac; \
  68238. + for file in $$dist_files; do \
  68239. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  68240. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  68241. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  68242. - dir="/$$dir"; \
  68243. - $(mkdir_p) "$(distdir)$$dir"; \
  68244. - else \
  68245. - dir=''; \
  68246. - fi; \
  68247. if test -d $$d/$$file; then \
  68248. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  68249. + if test -d "$(distdir)/$$file"; then \
  68250. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68251. + fi; \
  68252. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  68253. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  68254. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  68255. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68256. fi; \
  68257. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  68258. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  68259. else \
  68260. - test -f $(distdir)/$$file \
  68261. - || cp -p $$d/$$file $(distdir)/$$file \
  68262. + test -f "$(distdir)/$$file" \
  68263. + || cp -p $$d/$$file "$(distdir)/$$file" \
  68264. || exit 1; \
  68265. fi; \
  68266. done
  68267. @@ -447,6 +398,7 @@
  68268. distclean-generic:
  68269. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  68270. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  68271. maintainer-clean-generic:
  68272. @echo "This command is intended for maintainers to use"
  68273. @@ -459,7 +411,7 @@
  68274. -rm -rf ./$(DEPDIR)
  68275. -rm -f Makefile
  68276. distclean-am: clean-am distclean-compile distclean-generic \
  68277. - distclean-libtool distclean-tags
  68278. + distclean-tags
  68279. dvi: dvi-am
  68280. @@ -467,18 +419,38 @@
  68281. html: html-am
  68282. +html-am:
  68283. +
  68284. info: info-am
  68285. info-am:
  68286. install-data-am:
  68287. +install-dvi: install-dvi-am
  68288. +
  68289. +install-dvi-am:
  68290. +
  68291. install-exec-am:
  68292. +install-html: install-html-am
  68293. +
  68294. +install-html-am:
  68295. +
  68296. install-info: install-info-am
  68297. +install-info-am:
  68298. +
  68299. install-man:
  68300. +install-pdf: install-pdf-am
  68301. +
  68302. +install-pdf-am:
  68303. +
  68304. +install-ps: install-ps-am
  68305. +
  68306. +install-ps-am:
  68307. +
  68308. installcheck-am:
  68309. maintainer-clean: maintainer-clean-am
  68310. @@ -499,21 +471,26 @@
  68311. ps-am:
  68312. -uninstall-am: uninstall-info-am
  68313. +uninstall-am:
  68314. +
  68315. +.MAKE: install-am install-strip
  68316. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  68317. clean-libtool ctags distclean distclean-compile \
  68318. distclean-generic distclean-libtool distclean-tags distdir dvi \
  68319. dvi-am html html-am info info-am install install-am \
  68320. - install-data install-data-am install-exec install-exec-am \
  68321. - install-info install-info-am install-man install-strip \
  68322. + install-data install-data-am install-dvi install-dvi-am \
  68323. + install-exec install-exec-am install-html install-html-am \
  68324. + install-info install-info-am install-man install-pdf \
  68325. + install-pdf-am install-ps install-ps-am install-strip \
  68326. installcheck installcheck-am installdirs maintainer-clean \
  68327. maintainer-clean-generic mostlyclean mostlyclean-compile \
  68328. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  68329. - tags uninstall uninstall-am uninstall-info-am
  68330. + tags uninstall uninstall-am
  68331. all: libalisp.la
  68332. +
  68333. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  68334. # Otherwise a system limit (for SysV at least) may be exceeded.
  68335. .NOEXPORT:
  68336. diff -Nur alsa-lib-1.0.22.orig/src/compat/Makefile.in alsa-lib-1.0.22/src/compat/Makefile.in
  68337. --- alsa-lib-1.0.22.orig/src/compat/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  68338. +++ alsa-lib-1.0.22/src/compat/Makefile.in 2011-02-24 20:33:15.313562190 +0100
  68339. @@ -1,8 +1,9 @@
  68340. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  68341. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  68342. # @configure_input@
  68343. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  68344. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  68345. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  68346. +# Inc.
  68347. # This Makefile.in is free software; the Free Software Foundation
  68348. # gives unlimited permission to copy and/or distribute it,
  68349. # with or without modifications, as long as this notice is preserved.
  68350. @@ -14,15 +15,12 @@
  68351. @SET_MAKE@
  68352. -srcdir = @srcdir@
  68353. -top_srcdir = @top_srcdir@
  68354. VPATH = @srcdir@
  68355. pkgdatadir = $(datadir)/@PACKAGE@
  68356. -pkglibdir = $(libdir)/@PACKAGE@
  68357. pkgincludedir = $(includedir)/@PACKAGE@
  68358. -top_builddir = ../..
  68359. +pkglibdir = $(libdir)/@PACKAGE@
  68360. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  68361. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  68362. -INSTALL = @INSTALL@
  68363. install_sh_DATA = $(install_sh) -c -m 644
  68364. install_sh_PROGRAM = $(install_sh) -c
  68365. install_sh_SCRIPT = $(install_sh) -c
  68366. @@ -39,30 +37,52 @@
  68367. subdir = src/compat
  68368. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  68369. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  68370. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  68371. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  68372. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  68373. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  68374. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  68375. $(top_srcdir)/configure.in
  68376. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  68377. $(ACLOCAL_M4)
  68378. mkinstalldirs = $(install_sh) -d
  68379. CONFIG_HEADER = $(top_builddir)/include/config.h
  68380. CONFIG_CLEAN_FILES =
  68381. +CONFIG_CLEAN_VPATH_FILES =
  68382. LTLIBRARIES = $(noinst_LTLIBRARIES)
  68383. libcompat_la_LIBADD =
  68384. am__libcompat_la_SOURCES_DIST = empty.c hsearch_r.c
  68385. @ALSA_HSEARCH_R_FALSE@am_libcompat_la_OBJECTS = empty.lo
  68386. @ALSA_HSEARCH_R_TRUE@am_libcompat_la_OBJECTS = empty.lo hsearch_r.lo
  68387. libcompat_la_OBJECTS = $(am_libcompat_la_OBJECTS)
  68388. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  68389. +AM_V_lt = $(am__v_lt_$(V))
  68390. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  68391. +am__v_lt_0 = --silent
  68392. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  68393. depcomp = $(SHELL) $(top_srcdir)/depcomp
  68394. am__depfiles_maybe = depfiles
  68395. +am__mv = mv -f
  68396. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  68397. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  68398. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  68399. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  68400. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  68401. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  68402. $(AM_CFLAGS) $(CFLAGS)
  68403. +AM_V_CC = $(am__v_CC_$(V))
  68404. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  68405. +am__v_CC_0 = @echo " CC " $@;
  68406. +AM_V_at = $(am__v_at_$(V))
  68407. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  68408. +am__v_at_0 = @
  68409. CCLD = $(CC)
  68410. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  68411. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  68412. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  68413. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  68414. +AM_V_CCLD = $(am__v_CCLD_$(V))
  68415. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  68416. +am__v_CCLD_0 = @echo " CCLD " $@;
  68417. +AM_V_GEN = $(am__v_GEN_$(V))
  68418. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  68419. +am__v_GEN_0 = @echo " GEN " $@;
  68420. SOURCES = $(libcompat_la_SOURCES) $(EXTRA_libcompat_la_SOURCES)
  68421. DIST_SOURCES = $(am__libcompat_la_SOURCES_DIST) \
  68422. $(EXTRA_libcompat_la_SOURCES)
  68423. @@ -72,143 +92,66 @@
  68424. ACLOCAL = @ACLOCAL@
  68425. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  68426. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  68427. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  68428. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  68429. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  68430. -AMDEP_FALSE = @AMDEP_FALSE@
  68431. -AMDEP_TRUE = @AMDEP_TRUE@
  68432. AMTAR = @AMTAR@
  68433. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  68434. AR = @AR@
  68435. AUTOCONF = @AUTOCONF@
  68436. AUTOHEADER = @AUTOHEADER@
  68437. AUTOMAKE = @AUTOMAKE@
  68438. AWK = @AWK@
  68439. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  68440. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  68441. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  68442. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  68443. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  68444. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  68445. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  68446. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  68447. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  68448. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  68449. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  68450. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  68451. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  68452. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  68453. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  68454. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  68455. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  68456. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  68457. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  68458. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  68459. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  68460. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  68461. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  68462. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  68463. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  68464. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  68465. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  68466. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  68467. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  68468. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  68469. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  68470. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  68471. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  68472. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  68473. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  68474. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  68475. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  68476. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  68477. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  68478. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  68479. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  68480. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  68481. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  68482. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  68483. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  68484. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  68485. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  68486. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  68487. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  68488. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  68489. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  68490. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  68491. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  68492. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  68493. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  68494. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  68495. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  68496. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  68497. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  68498. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  68499. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  68500. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  68501. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  68502. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  68503. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  68504. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  68505. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  68506. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  68507. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  68508. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  68509. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  68510. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  68511. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  68512. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  68513. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  68514. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  68515. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  68516. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  68517. CC = @CC@
  68518. CCDEPMODE = @CCDEPMODE@
  68519. CFLAGS = @CFLAGS@
  68520. CPP = @CPP@
  68521. CPPFLAGS = @CPPFLAGS@
  68522. -CXX = @CXX@
  68523. -CXXCPP = @CXXCPP@
  68524. -CXXDEPMODE = @CXXDEPMODE@
  68525. -CXXFLAGS = @CXXFLAGS@
  68526. CYGPATH_W = @CYGPATH_W@
  68527. DEFS = @DEFS@
  68528. DEPDIR = @DEPDIR@
  68529. -ECHO = @ECHO@
  68530. +DSYMUTIL = @DSYMUTIL@
  68531. +DUMPBIN = @DUMPBIN@
  68532. ECHO_C = @ECHO_C@
  68533. ECHO_N = @ECHO_N@
  68534. ECHO_T = @ECHO_T@
  68535. EGREP = @EGREP@
  68536. EXEEXT = @EXEEXT@
  68537. -F77 = @F77@
  68538. -FFLAGS = @FFLAGS@
  68539. +FGREP = @FGREP@
  68540. GREP = @GREP@
  68541. +INSTALL = @INSTALL@
  68542. INSTALL_DATA = @INSTALL_DATA@
  68543. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  68544. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  68545. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  68546. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  68547. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  68548. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  68549. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  68550. +LD = @LD@
  68551. LDFLAGS = @LDFLAGS@
  68552. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  68553. LIBOBJS = @LIBOBJS@
  68554. LIBS = @LIBS@
  68555. LIBTOOL = @LIBTOOL@
  68556. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  68557. +LIPO = @LIPO@
  68558. LN_S = @LN_S@
  68559. LTLIBOBJS = @LTLIBOBJS@
  68560. MAKEINFO = @MAKEINFO@
  68561. +MKDIR_P = @MKDIR_P@
  68562. +NM = @NM@
  68563. +NMEDIT = @NMEDIT@
  68564. +OBJDUMP = @OBJDUMP@
  68565. OBJEXT = @OBJEXT@
  68566. +OTOOL = @OTOOL@
  68567. +OTOOL64 = @OTOOL64@
  68568. PACKAGE = @PACKAGE@
  68569. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  68570. PACKAGE_NAME = @PACKAGE_NAME@
  68571. PACKAGE_STRING = @PACKAGE_STRING@
  68572. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  68573. +PACKAGE_URL = @PACKAGE_URL@
  68574. PACKAGE_VERSION = @PACKAGE_VERSION@
  68575. PATH_SEPARATOR = @PATH_SEPARATOR@
  68576. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  68577. PYTHON_LIBS = @PYTHON_LIBS@
  68578. RANLIB = @RANLIB@
  68579. +SED = @SED@
  68580. SET_MAKE = @SET_MAKE@
  68581. SHELL = @SHELL@
  68582. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  68583. @@ -217,19 +160,14 @@
  68584. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  68585. SND_LIB_VERSION = @SND_LIB_VERSION@
  68586. STRIP = @STRIP@
  68587. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  68588. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  68589. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  68590. VERSION = @VERSION@
  68591. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  68592. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  68593. +abs_builddir = @abs_builddir@
  68594. +abs_srcdir = @abs_srcdir@
  68595. +abs_top_builddir = @abs_top_builddir@
  68596. +abs_top_srcdir = @abs_top_srcdir@
  68597. ac_ct_CC = @ac_ct_CC@
  68598. -ac_ct_CXX = @ac_ct_CXX@
  68599. -ac_ct_F77 = @ac_ct_F77@
  68600. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  68601. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  68602. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  68603. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  68604. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  68605. am__include = @am__include@
  68606. am__leading_dot = @am__leading_dot@
  68607. am__quote = @am__quote@
  68608. @@ -241,6 +179,7 @@
  68609. build_cpu = @build_cpu@
  68610. build_os = @build_os@
  68611. build_vendor = @build_vendor@
  68612. +builddir = @builddir@
  68613. datadir = @datadir@
  68614. datarootdir = @datarootdir@
  68615. docdir = @docdir@
  68616. @@ -259,6 +198,7 @@
  68617. libexecdir = @libexecdir@
  68618. localedir = @localedir@
  68619. localstatedir = @localstatedir@
  68620. +lt_ECHO = @lt_ECHO@
  68621. mandir = @mandir@
  68622. mkdir_p = @mkdir_p@
  68623. oldincludedir = @oldincludedir@
  68624. @@ -268,8 +208,12 @@
  68625. psdir = @psdir@
  68626. sbindir = @sbindir@
  68627. sharedstatedir = @sharedstatedir@
  68628. +srcdir = @srcdir@
  68629. sysconfdir = @sysconfdir@
  68630. target_alias = @target_alias@
  68631. +top_build_prefix = @top_build_prefix@
  68632. +top_builddir = @top_builddir@
  68633. +top_srcdir = @top_srcdir@
  68634. noinst_LTLIBRARIES = libcompat.la
  68635. EXTRA_libcompat_la_SOURCES = hsearch_r.c
  68636. @ALSA_HSEARCH_R_FALSE@libcompat_la_SOURCES = empty.c
  68637. @@ -282,14 +226,14 @@
  68638. @for dep in $?; do \
  68639. case '$(am__configure_deps)' in \
  68640. *$$dep*) \
  68641. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  68642. - && exit 0; \
  68643. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  68644. + && { if test -f $@; then exit 0; else break; fi; }; \
  68645. exit 1;; \
  68646. esac; \
  68647. done; \
  68648. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/compat/Makefile'; \
  68649. - cd $(top_srcdir) && \
  68650. - $(AUTOMAKE) --foreign src/compat/Makefile
  68651. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/compat/Makefile'; \
  68652. + $(am__cd) $(top_srcdir) && \
  68653. + $(AUTOMAKE) --gnu src/compat/Makefile
  68654. .PRECIOUS: Makefile
  68655. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  68656. @case '$?' in \
  68657. @@ -307,6 +251,7 @@
  68658. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68659. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  68660. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68661. +$(am__aclocal_m4_deps):
  68662. clean-noinstLTLIBRARIES:
  68663. -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
  68664. @@ -317,7 +262,7 @@
  68665. rm -f "$${dir}/so_locations"; \
  68666. done
  68667. libcompat.la: $(libcompat_la_OBJECTS) $(libcompat_la_DEPENDENCIES)
  68668. - $(LINK) $(libcompat_la_LDFLAGS) $(libcompat_la_OBJECTS) $(libcompat_la_LIBADD) $(LIBS)
  68669. + $(AM_V_CCLD)$(LINK) $(libcompat_la_OBJECTS) $(libcompat_la_LIBADD) $(LIBS)
  68670. mostlyclean-compile:
  68671. -rm -f *.$(OBJEXT)
  68672. @@ -329,22 +274,25 @@
  68673. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hsearch_r.Plo@am__quote@
  68674. .c.o:
  68675. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  68676. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  68677. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  68678. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  68679. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  68680. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  68681. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  68682. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  68683. .c.obj:
  68684. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  68685. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  68686. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  68687. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  68688. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  68689. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  68690. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  68691. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  68692. .c.lo:
  68693. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  68694. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  68695. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  68696. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  68697. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  68698. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  68699. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  68700. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  68701. @@ -355,82 +303,85 @@
  68702. clean-libtool:
  68703. -rm -rf .libs _libs
  68704. -distclean-libtool:
  68705. - -rm -f libtool
  68706. -uninstall-info-am:
  68707. -
  68708. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  68709. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  68710. unique=`for i in $$list; do \
  68711. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  68712. done | \
  68713. - $(AWK) ' { files[$$0] = 1; } \
  68714. - END { for (i in files) print i; }'`; \
  68715. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  68716. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  68717. mkid -fID $$unique
  68718. tags: TAGS
  68719. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  68720. $(TAGS_FILES) $(LISP)
  68721. - tags=; \
  68722. + set x; \
  68723. here=`pwd`; \
  68724. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  68725. unique=`for i in $$list; do \
  68726. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  68727. done | \
  68728. - $(AWK) ' { files[$$0] = 1; } \
  68729. - END { for (i in files) print i; }'`; \
  68730. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  68731. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  68732. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  68733. + shift; \
  68734. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  68735. test -n "$$unique" || unique=$$empty_fix; \
  68736. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  68737. - $$tags $$unique; \
  68738. + if test $$# -gt 0; then \
  68739. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  68740. + "$$@" $$unique; \
  68741. + else \
  68742. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  68743. + $$unique; \
  68744. + fi; \
  68745. fi
  68746. ctags: CTAGS
  68747. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  68748. $(TAGS_FILES) $(LISP)
  68749. - tags=; \
  68750. - here=`pwd`; \
  68751. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  68752. unique=`for i in $$list; do \
  68753. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  68754. done | \
  68755. - $(AWK) ' { files[$$0] = 1; } \
  68756. - END { for (i in files) print i; }'`; \
  68757. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  68758. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  68759. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  68760. + test -z "$(CTAGS_ARGS)$$unique" \
  68761. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  68762. - $$tags $$unique
  68763. + $$unique
  68764. GTAGS:
  68765. here=`$(am__cd) $(top_builddir) && pwd` \
  68766. - && cd $(top_srcdir) \
  68767. - && gtags -i $(GTAGS_ARGS) $$here
  68768. + && $(am__cd) $(top_srcdir) \
  68769. + && gtags -i $(GTAGS_ARGS) "$$here"
  68770. distclean-tags:
  68771. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  68772. distdir: $(DISTFILES)
  68773. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  68774. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  68775. - list='$(DISTFILES)'; for file in $$list; do \
  68776. - case $$file in \
  68777. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  68778. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  68779. - esac; \
  68780. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68781. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68782. + list='$(DISTFILES)'; \
  68783. + dist_files=`for file in $$list; do echo $$file; done | \
  68784. + sed -e "s|^$$srcdirstrip/||;t" \
  68785. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  68786. + case $$dist_files in \
  68787. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  68788. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  68789. + sort -u` ;; \
  68790. + esac; \
  68791. + for file in $$dist_files; do \
  68792. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  68793. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  68794. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  68795. - dir="/$$dir"; \
  68796. - $(mkdir_p) "$(distdir)$$dir"; \
  68797. - else \
  68798. - dir=''; \
  68799. - fi; \
  68800. if test -d $$d/$$file; then \
  68801. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  68802. + if test -d "$(distdir)/$$file"; then \
  68803. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68804. + fi; \
  68805. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  68806. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  68807. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  68808. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68809. fi; \
  68810. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  68811. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  68812. else \
  68813. - test -f $(distdir)/$$file \
  68814. - || cp -p $$d/$$file $(distdir)/$$file \
  68815. + test -f "$(distdir)/$$file" \
  68816. + || cp -p $$d/$$file "$(distdir)/$$file" \
  68817. || exit 1; \
  68818. fi; \
  68819. done
  68820. @@ -458,6 +409,7 @@
  68821. distclean-generic:
  68822. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  68823. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  68824. maintainer-clean-generic:
  68825. @echo "This command is intended for maintainers to use"
  68826. @@ -471,7 +423,7 @@
  68827. -rm -rf ./$(DEPDIR)
  68828. -rm -f Makefile
  68829. distclean-am: clean-am distclean-compile distclean-generic \
  68830. - distclean-libtool distclean-tags
  68831. + distclean-tags
  68832. dvi: dvi-am
  68833. @@ -479,18 +431,38 @@
  68834. html: html-am
  68835. +html-am:
  68836. +
  68837. info: info-am
  68838. info-am:
  68839. install-data-am:
  68840. +install-dvi: install-dvi-am
  68841. +
  68842. +install-dvi-am:
  68843. +
  68844. install-exec-am:
  68845. +install-html: install-html-am
  68846. +
  68847. +install-html-am:
  68848. +
  68849. install-info: install-info-am
  68850. +install-info-am:
  68851. +
  68852. install-man:
  68853. +install-pdf: install-pdf-am
  68854. +
  68855. +install-pdf-am:
  68856. +
  68857. +install-ps: install-ps-am
  68858. +
  68859. +install-ps-am:
  68860. +
  68861. installcheck-am:
  68862. maintainer-clean: maintainer-clean-am
  68863. @@ -511,19 +483,23 @@
  68864. ps-am:
  68865. -uninstall-am: uninstall-info-am
  68866. +uninstall-am:
  68867. +
  68868. +.MAKE: install-am install-strip
  68869. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  68870. clean-libtool clean-noinstLTLIBRARIES ctags distclean \
  68871. distclean-compile distclean-generic distclean-libtool \
  68872. distclean-tags distdir dvi dvi-am html html-am info info-am \
  68873. - install install-am install-data install-data-am install-exec \
  68874. - install-exec-am install-info install-info-am install-man \
  68875. + install install-am install-data install-data-am install-dvi \
  68876. + install-dvi-am install-exec install-exec-am install-html \
  68877. + install-html-am install-info install-info-am install-man \
  68878. + install-pdf install-pdf-am install-ps install-ps-am \
  68879. install-strip installcheck installcheck-am installdirs \
  68880. maintainer-clean maintainer-clean-generic mostlyclean \
  68881. mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  68882. - pdf pdf-am ps ps-am tags uninstall uninstall-am \
  68883. - uninstall-info-am
  68884. + pdf pdf-am ps ps-am tags uninstall uninstall-am
  68885. +
  68886. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  68887. # Otherwise a system limit (for SysV at least) may be exceeded.
  68888. diff -Nur alsa-lib-1.0.22.orig/src/conf/cards/Makefile.in alsa-lib-1.0.22/src/conf/cards/Makefile.in
  68889. --- alsa-lib-1.0.22.orig/src/conf/cards/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  68890. +++ alsa-lib-1.0.22/src/conf/cards/Makefile.in 2011-02-24 20:33:15.403553487 +0100
  68891. @@ -1,8 +1,9 @@
  68892. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  68893. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  68894. # @configure_input@
  68895. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  68896. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  68897. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  68898. +# Inc.
  68899. # This Makefile.in is free software; the Free Software Foundation
  68900. # gives unlimited permission to copy and/or distribute it,
  68901. # with or without modifications, as long as this notice is preserved.
  68902. @@ -14,15 +15,12 @@
  68903. @SET_MAKE@
  68904. -srcdir = @srcdir@
  68905. -top_srcdir = @top_srcdir@
  68906. VPATH = @srcdir@
  68907. pkgdatadir = $(datadir)/@PACKAGE@
  68908. -pkglibdir = $(libdir)/@PACKAGE@
  68909. pkgincludedir = $(includedir)/@PACKAGE@
  68910. -top_builddir = ../../..
  68911. +pkglibdir = $(libdir)/@PACKAGE@
  68912. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  68913. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  68914. -INSTALL = @INSTALL@
  68915. install_sh_DATA = $(install_sh) -c -m 644
  68916. install_sh_PROGRAM = $(install_sh) -c
  68917. install_sh_SCRIPT = $(install_sh) -c
  68918. @@ -40,13 +38,23 @@
  68919. subdir = src/conf/cards
  68920. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  68921. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  68922. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  68923. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  68924. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  68925. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  68926. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  68927. $(top_srcdir)/configure.in
  68928. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  68929. $(ACLOCAL_M4)
  68930. mkinstalldirs = $(install_sh) -d
  68931. CONFIG_HEADER = $(top_builddir)/include/config.h
  68932. CONFIG_CLEAN_FILES =
  68933. +CONFIG_CLEAN_VPATH_FILES =
  68934. +AM_V_GEN = $(am__v_GEN_$(V))
  68935. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  68936. +am__v_GEN_0 = @echo " GEN " $@;
  68937. +AM_V_at = $(am__v_at_$(V))
  68938. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  68939. +am__v_at_0 = @
  68940. SOURCES =
  68941. DIST_SOURCES =
  68942. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  68943. @@ -54,152 +62,88 @@
  68944. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  68945. *) f=$$p;; \
  68946. esac;
  68947. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  68948. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  68949. +am__install_max = 40
  68950. +am__nobase_strip_setup = \
  68951. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  68952. +am__nobase_strip = \
  68953. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  68954. +am__nobase_list = $(am__nobase_strip_setup); \
  68955. + for p in $$list; do echo "$$p $$p"; done | \
  68956. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  68957. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  68958. + if (++n[$$2] == $(am__install_max)) \
  68959. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  68960. + END { for (dir in files) print dir, files[dir] }'
  68961. +am__base_list = \
  68962. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  68963. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  68964. am__installdirs = "$(DESTDIR)$(SI7018dir)" "$(DESTDIR)$(alsadir)"
  68965. -SI7018DATA_INSTALL = $(INSTALL_DATA)
  68966. -alsaDATA_INSTALL = $(INSTALL_DATA)
  68967. DATA = $(SI7018_DATA) $(alsa_DATA)
  68968. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  68969. ACLOCAL = @ACLOCAL@
  68970. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  68971. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  68972. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  68973. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  68974. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  68975. -AMDEP_FALSE = @AMDEP_FALSE@
  68976. -AMDEP_TRUE = @AMDEP_TRUE@
  68977. AMTAR = @AMTAR@
  68978. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  68979. AR = @AR@
  68980. AUTOCONF = @AUTOCONF@
  68981. AUTOHEADER = @AUTOHEADER@
  68982. AUTOMAKE = @AUTOMAKE@
  68983. AWK = @AWK@
  68984. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  68985. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  68986. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  68987. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  68988. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  68989. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  68990. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  68991. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  68992. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  68993. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  68994. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  68995. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  68996. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  68997. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  68998. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  68999. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  69000. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  69001. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  69002. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  69003. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  69004. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  69005. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  69006. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  69007. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  69008. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  69009. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  69010. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  69011. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  69012. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  69013. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  69014. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  69015. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  69016. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  69017. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  69018. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  69019. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  69020. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  69021. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  69022. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  69023. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  69024. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  69025. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  69026. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  69027. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  69028. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  69029. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  69030. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  69031. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  69032. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  69033. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  69034. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  69035. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  69036. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  69037. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  69038. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  69039. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  69040. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  69041. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  69042. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  69043. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  69044. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  69045. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  69046. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  69047. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  69048. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  69049. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  69050. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  69051. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  69052. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  69053. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  69054. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  69055. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  69056. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  69057. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  69058. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  69059. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  69060. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  69061. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  69062. CC = @CC@
  69063. CCDEPMODE = @CCDEPMODE@
  69064. CFLAGS = @CFLAGS@
  69065. CPP = @CPP@
  69066. CPPFLAGS = @CPPFLAGS@
  69067. -CXX = @CXX@
  69068. -CXXCPP = @CXXCPP@
  69069. -CXXDEPMODE = @CXXDEPMODE@
  69070. -CXXFLAGS = @CXXFLAGS@
  69071. CYGPATH_W = @CYGPATH_W@
  69072. DEFS = @DEFS@
  69073. DEPDIR = @DEPDIR@
  69074. -ECHO = @ECHO@
  69075. +DSYMUTIL = @DSYMUTIL@
  69076. +DUMPBIN = @DUMPBIN@
  69077. ECHO_C = @ECHO_C@
  69078. ECHO_N = @ECHO_N@
  69079. ECHO_T = @ECHO_T@
  69080. EGREP = @EGREP@
  69081. EXEEXT = @EXEEXT@
  69082. -F77 = @F77@
  69083. -FFLAGS = @FFLAGS@
  69084. +FGREP = @FGREP@
  69085. GREP = @GREP@
  69086. +INSTALL = @INSTALL@
  69087. INSTALL_DATA = @INSTALL_DATA@
  69088. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  69089. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  69090. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  69091. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  69092. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  69093. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  69094. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  69095. +LD = @LD@
  69096. LDFLAGS = @LDFLAGS@
  69097. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  69098. LIBOBJS = @LIBOBJS@
  69099. LIBS = @LIBS@
  69100. LIBTOOL = @LIBTOOL@
  69101. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  69102. +LIPO = @LIPO@
  69103. LN_S = @LN_S@
  69104. LTLIBOBJS = @LTLIBOBJS@
  69105. MAKEINFO = @MAKEINFO@
  69106. +MKDIR_P = @MKDIR_P@
  69107. +NM = @NM@
  69108. +NMEDIT = @NMEDIT@
  69109. +OBJDUMP = @OBJDUMP@
  69110. OBJEXT = @OBJEXT@
  69111. +OTOOL = @OTOOL@
  69112. +OTOOL64 = @OTOOL64@
  69113. PACKAGE = @PACKAGE@
  69114. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  69115. PACKAGE_NAME = @PACKAGE_NAME@
  69116. PACKAGE_STRING = @PACKAGE_STRING@
  69117. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  69118. +PACKAGE_URL = @PACKAGE_URL@
  69119. PACKAGE_VERSION = @PACKAGE_VERSION@
  69120. PATH_SEPARATOR = @PATH_SEPARATOR@
  69121. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  69122. PYTHON_LIBS = @PYTHON_LIBS@
  69123. RANLIB = @RANLIB@
  69124. +SED = @SED@
  69125. SET_MAKE = @SET_MAKE@
  69126. SHELL = @SHELL@
  69127. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  69128. @@ -208,19 +152,14 @@
  69129. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  69130. SND_LIB_VERSION = @SND_LIB_VERSION@
  69131. STRIP = @STRIP@
  69132. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  69133. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  69134. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  69135. VERSION = @VERSION@
  69136. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  69137. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  69138. +abs_builddir = @abs_builddir@
  69139. +abs_srcdir = @abs_srcdir@
  69140. +abs_top_builddir = @abs_top_builddir@
  69141. +abs_top_srcdir = @abs_top_srcdir@
  69142. ac_ct_CC = @ac_ct_CC@
  69143. -ac_ct_CXX = @ac_ct_CXX@
  69144. -ac_ct_F77 = @ac_ct_F77@
  69145. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  69146. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  69147. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  69148. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  69149. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  69150. am__include = @am__include@
  69151. am__leading_dot = @am__leading_dot@
  69152. am__quote = @am__quote@
  69153. @@ -232,6 +171,7 @@
  69154. build_cpu = @build_cpu@
  69155. build_os = @build_os@
  69156. build_vendor = @build_vendor@
  69157. +builddir = @builddir@
  69158. datadir = @datadir@
  69159. datarootdir = @datarootdir@
  69160. docdir = @docdir@
  69161. @@ -250,6 +190,7 @@
  69162. libexecdir = @libexecdir@
  69163. localedir = @localedir@
  69164. localstatedir = @localstatedir@
  69165. +lt_ECHO = @lt_ECHO@
  69166. mandir = @mandir@
  69167. mkdir_p = @mkdir_p@
  69168. oldincludedir = @oldincludedir@
  69169. @@ -259,8 +200,12 @@
  69170. psdir = @psdir@
  69171. sbindir = @sbindir@
  69172. sharedstatedir = @sharedstatedir@
  69173. +srcdir = @srcdir@
  69174. sysconfdir = @sysconfdir@
  69175. target_alias = @target_alias@
  69176. +top_build_prefix = @top_build_prefix@
  69177. +top_builddir = @top_builddir@
  69178. +top_srcdir = @top_srcdir@
  69179. alsaconfigdir = @ALSA_CONFIG_DIR@
  69180. alsadir = $(alsaconfigdir)/cards
  69181. cfg_files = aliases.conf AACI.conf ATIIXP.conf ATIIXP-SPDMA.conf \
  69182. @@ -295,14 +240,14 @@
  69183. @for dep in $?; do \
  69184. case '$(am__configure_deps)' in \
  69185. *$$dep*) \
  69186. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  69187. - && exit 0; \
  69188. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  69189. + && { if test -f $@; then exit 0; else break; fi; }; \
  69190. exit 1;; \
  69191. esac; \
  69192. done; \
  69193. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/conf/cards/Makefile'; \
  69194. - cd $(top_srcdir) && \
  69195. - $(AUTOMAKE) --foreign src/conf/cards/Makefile
  69196. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/conf/cards/Makefile'; \
  69197. + $(am__cd) $(top_srcdir) && \
  69198. + $(AUTOMAKE) --gnu src/conf/cards/Makefile
  69199. .PRECIOUS: Makefile
  69200. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  69201. @case '$?' in \
  69202. @@ -320,50 +265,53 @@
  69203. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69204. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  69205. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69206. +$(am__aclocal_m4_deps):
  69207. mostlyclean-libtool:
  69208. -rm -f *.lo
  69209. clean-libtool:
  69210. -rm -rf .libs _libs
  69211. -
  69212. -distclean-libtool:
  69213. - -rm -f libtool
  69214. -uninstall-info-am:
  69215. install-SI7018DATA: $(SI7018_DATA)
  69216. @$(NORMAL_INSTALL)
  69217. - test -z "$(SI7018dir)" || $(mkdir_p) "$(DESTDIR)$(SI7018dir)"
  69218. - @list='$(SI7018_DATA)'; for p in $$list; do \
  69219. + test -z "$(SI7018dir)" || $(MKDIR_P) "$(DESTDIR)$(SI7018dir)"
  69220. + @list='$(SI7018_DATA)'; test -n "$(SI7018dir)" || list=; \
  69221. + for p in $$list; do \
  69222. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  69223. - f=$(am__strip_dir) \
  69224. - echo " $(SI7018DATA_INSTALL) '$$d$$p' '$(DESTDIR)$(SI7018dir)/$$f'"; \
  69225. - $(SI7018DATA_INSTALL) "$$d$$p" "$(DESTDIR)$(SI7018dir)/$$f"; \
  69226. + echo "$$d$$p"; \
  69227. + done | $(am__base_list) | \
  69228. + while read files; do \
  69229. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(SI7018dir)'"; \
  69230. + $(INSTALL_DATA) $$files "$(DESTDIR)$(SI7018dir)" || exit $$?; \
  69231. done
  69232. uninstall-SI7018DATA:
  69233. @$(NORMAL_UNINSTALL)
  69234. - @list='$(SI7018_DATA)'; for p in $$list; do \
  69235. - f=$(am__strip_dir) \
  69236. - echo " rm -f '$(DESTDIR)$(SI7018dir)/$$f'"; \
  69237. - rm -f "$(DESTDIR)$(SI7018dir)/$$f"; \
  69238. - done
  69239. + @list='$(SI7018_DATA)'; test -n "$(SI7018dir)" || list=; \
  69240. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  69241. + test -n "$$files" || exit 0; \
  69242. + echo " ( cd '$(DESTDIR)$(SI7018dir)' && rm -f" $$files ")"; \
  69243. + cd "$(DESTDIR)$(SI7018dir)" && rm -f $$files
  69244. install-alsaDATA: $(alsa_DATA)
  69245. @$(NORMAL_INSTALL)
  69246. - test -z "$(alsadir)" || $(mkdir_p) "$(DESTDIR)$(alsadir)"
  69247. - @list='$(alsa_DATA)'; for p in $$list; do \
  69248. + test -z "$(alsadir)" || $(MKDIR_P) "$(DESTDIR)$(alsadir)"
  69249. + @list='$(alsa_DATA)'; test -n "$(alsadir)" || list=; \
  69250. + for p in $$list; do \
  69251. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  69252. - f=$(am__strip_dir) \
  69253. - echo " $(alsaDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(alsadir)/$$f'"; \
  69254. - $(alsaDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(alsadir)/$$f"; \
  69255. + echo "$$d$$p"; \
  69256. + done | $(am__base_list) | \
  69257. + while read files; do \
  69258. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(alsadir)'"; \
  69259. + $(INSTALL_DATA) $$files "$(DESTDIR)$(alsadir)" || exit $$?; \
  69260. done
  69261. uninstall-alsaDATA:
  69262. @$(NORMAL_UNINSTALL)
  69263. - @list='$(alsa_DATA)'; for p in $$list; do \
  69264. - f=$(am__strip_dir) \
  69265. - echo " rm -f '$(DESTDIR)$(alsadir)/$$f'"; \
  69266. - rm -f "$(DESTDIR)$(alsadir)/$$f"; \
  69267. - done
  69268. + @list='$(alsa_DATA)'; test -n "$(alsadir)" || list=; \
  69269. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  69270. + test -n "$$files" || exit 0; \
  69271. + echo " ( cd '$(DESTDIR)$(alsadir)' && rm -f" $$files ")"; \
  69272. + cd "$(DESTDIR)$(alsadir)" && rm -f $$files
  69273. tags: TAGS
  69274. TAGS:
  69275. @@ -372,30 +320,32 @@
  69276. distdir: $(DISTFILES)
  69277. - $(mkdir_p) $(distdir)/SI7018
  69278. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  69279. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  69280. - list='$(DISTFILES)'; for file in $$list; do \
  69281. - case $$file in \
  69282. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  69283. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  69284. - esac; \
  69285. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69286. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69287. + list='$(DISTFILES)'; \
  69288. + dist_files=`for file in $$list; do echo $$file; done | \
  69289. + sed -e "s|^$$srcdirstrip/||;t" \
  69290. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  69291. + case $$dist_files in \
  69292. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  69293. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  69294. + sort -u` ;; \
  69295. + esac; \
  69296. + for file in $$dist_files; do \
  69297. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  69298. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  69299. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  69300. - dir="/$$dir"; \
  69301. - $(mkdir_p) "$(distdir)$$dir"; \
  69302. - else \
  69303. - dir=''; \
  69304. - fi; \
  69305. if test -d $$d/$$file; then \
  69306. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  69307. + if test -d "$(distdir)/$$file"; then \
  69308. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69309. + fi; \
  69310. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  69311. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  69312. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  69313. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69314. fi; \
  69315. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  69316. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  69317. else \
  69318. - test -f $(distdir)/$$file \
  69319. - || cp -p $$d/$$file $(distdir)/$$file \
  69320. + test -f "$(distdir)/$$file" \
  69321. + || cp -p $$d/$$file "$(distdir)/$$file" \
  69322. || exit 1; \
  69323. fi; \
  69324. done
  69325. @@ -404,7 +354,7 @@
  69326. all-am: Makefile $(DATA)
  69327. installdirs:
  69328. for dir in "$(DESTDIR)$(SI7018dir)" "$(DESTDIR)$(alsadir)"; do \
  69329. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  69330. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  69331. done
  69332. install: install-am
  69333. install-exec: install-exec-am
  69334. @@ -426,6 +376,7 @@
  69335. distclean-generic:
  69336. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  69337. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  69338. maintainer-clean-generic:
  69339. @echo "This command is intended for maintainers to use"
  69340. @@ -436,7 +387,7 @@
  69341. distclean: distclean-am
  69342. -rm -f Makefile
  69343. -distclean-am: clean-am distclean-generic distclean-libtool
  69344. +distclean-am: clean-am distclean-generic
  69345. dvi: dvi-am
  69346. @@ -444,18 +395,38 @@
  69347. html: html-am
  69348. +html-am:
  69349. +
  69350. info: info-am
  69351. info-am:
  69352. install-data-am: install-SI7018DATA install-alsaDATA
  69353. +install-dvi: install-dvi-am
  69354. +
  69355. +install-dvi-am:
  69356. +
  69357. install-exec-am:
  69358. +install-html: install-html-am
  69359. +
  69360. +install-html-am:
  69361. +
  69362. install-info: install-info-am
  69363. +install-info-am:
  69364. +
  69365. install-man:
  69366. +install-pdf: install-pdf-am
  69367. +
  69368. +install-pdf-am:
  69369. +
  69370. +install-ps: install-ps-am
  69371. +
  69372. +install-ps-am:
  69373. +
  69374. installcheck-am:
  69375. maintainer-clean: maintainer-clean-am
  69376. @@ -474,19 +445,23 @@
  69377. ps-am:
  69378. -uninstall-am: uninstall-SI7018DATA uninstall-alsaDATA \
  69379. - uninstall-info-am
  69380. +uninstall-am: uninstall-SI7018DATA uninstall-alsaDATA
  69381. +
  69382. +.MAKE: install-am install-strip
  69383. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  69384. distclean distclean-generic distclean-libtool distdir dvi \
  69385. dvi-am html html-am info info-am install install-SI7018DATA \
  69386. install-alsaDATA install-am install-data install-data-am \
  69387. - install-exec install-exec-am install-info install-info-am \
  69388. - install-man install-strip installcheck installcheck-am \
  69389. + install-dvi install-dvi-am install-exec install-exec-am \
  69390. + install-html install-html-am install-info install-info-am \
  69391. + install-man install-pdf install-pdf-am install-ps \
  69392. + install-ps-am install-strip installcheck installcheck-am \
  69393. installdirs maintainer-clean maintainer-clean-generic \
  69394. mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  69395. ps ps-am uninstall uninstall-SI7018DATA uninstall-alsaDATA \
  69396. - uninstall-am uninstall-info-am
  69397. + uninstall-am
  69398. +
  69399. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  69400. # Otherwise a system limit (for SysV at least) may be exceeded.
  69401. diff -Nur alsa-lib-1.0.22.orig/src/conf/Makefile.in alsa-lib-1.0.22/src/conf/Makefile.in
  69402. --- alsa-lib-1.0.22.orig/src/conf/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  69403. +++ alsa-lib-1.0.22/src/conf/Makefile.in 2011-02-24 20:33:15.363552086 +0100
  69404. @@ -1,8 +1,9 @@
  69405. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  69406. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  69407. # @configure_input@
  69408. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  69409. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  69410. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  69411. +# Inc.
  69412. # This Makefile.in is free software; the Free Software Foundation
  69413. # gives unlimited permission to copy and/or distribute it,
  69414. # with or without modifications, as long as this notice is preserved.
  69415. @@ -14,15 +15,12 @@
  69416. @SET_MAKE@
  69417. -srcdir = @srcdir@
  69418. -top_srcdir = @top_srcdir@
  69419. VPATH = @srcdir@
  69420. pkgdatadir = $(datadir)/@PACKAGE@
  69421. -pkglibdir = $(libdir)/@PACKAGE@
  69422. pkgincludedir = $(includedir)/@PACKAGE@
  69423. -top_builddir = ../..
  69424. +pkglibdir = $(libdir)/@PACKAGE@
  69425. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  69426. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  69427. -INSTALL = @INSTALL@
  69428. install_sh_DATA = $(install_sh) -c -m 644
  69429. install_sh_PROGRAM = $(install_sh) -c
  69430. install_sh_SCRIPT = $(install_sh) -c
  69431. @@ -41,174 +39,152 @@
  69432. subdir = src/conf
  69433. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  69434. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  69435. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  69436. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  69437. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  69438. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  69439. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  69440. $(top_srcdir)/configure.in
  69441. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  69442. $(ACLOCAL_M4)
  69443. mkinstalldirs = $(install_sh) -d
  69444. CONFIG_HEADER = $(top_builddir)/include/config.h
  69445. CONFIG_CLEAN_FILES =
  69446. +CONFIG_CLEAN_VPATH_FILES =
  69447. +AM_V_GEN = $(am__v_GEN_$(V))
  69448. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  69449. +am__v_GEN_0 = @echo " GEN " $@;
  69450. +AM_V_at = $(am__v_at_$(V))
  69451. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  69452. +am__v_at_0 = @
  69453. SOURCES =
  69454. DIST_SOURCES =
  69455. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  69456. html-recursive info-recursive install-data-recursive \
  69457. - install-exec-recursive install-info-recursive \
  69458. - install-recursive installcheck-recursive installdirs-recursive \
  69459. - pdf-recursive ps-recursive uninstall-info-recursive \
  69460. - uninstall-recursive
  69461. + install-dvi-recursive install-exec-recursive \
  69462. + install-html-recursive install-info-recursive \
  69463. + install-pdf-recursive install-ps-recursive install-recursive \
  69464. + installcheck-recursive installdirs-recursive pdf-recursive \
  69465. + ps-recursive uninstall-recursive
  69466. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  69467. am__vpath_adj = case $$p in \
  69468. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  69469. *) f=$$p;; \
  69470. esac;
  69471. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  69472. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  69473. +am__install_max = 40
  69474. +am__nobase_strip_setup = \
  69475. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  69476. +am__nobase_strip = \
  69477. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  69478. +am__nobase_list = $(am__nobase_strip_setup); \
  69479. + for p in $$list; do echo "$$p $$p"; done | \
  69480. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  69481. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  69482. + if (++n[$$2] == $(am__install_max)) \
  69483. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  69484. + END { for (dir in files) print dir, files[dir] }'
  69485. +am__base_list = \
  69486. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  69487. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  69488. am__installdirs = "$(DESTDIR)$(alsadir)"
  69489. -alsaDATA_INSTALL = $(INSTALL_DATA)
  69490. DATA = $(alsa_DATA)
  69491. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  69492. + distclean-recursive maintainer-clean-recursive
  69493. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  69494. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  69495. + distdir
  69496. ETAGS = etags
  69497. CTAGS = ctags
  69498. DIST_SUBDIRS = $(SUBDIRS)
  69499. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  69500. +am__relativize = \
  69501. + dir0=`pwd`; \
  69502. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  69503. + sed_rest='s,^[^/]*/*,,'; \
  69504. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  69505. + sed_butlast='s,/*[^/]*$$,,'; \
  69506. + while test -n "$$dir1"; do \
  69507. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  69508. + if test "$$first" != "."; then \
  69509. + if test "$$first" = ".."; then \
  69510. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  69511. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  69512. + else \
  69513. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  69514. + if test "$$first2" = "$$first"; then \
  69515. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  69516. + else \
  69517. + dir2="../$$dir2"; \
  69518. + fi; \
  69519. + dir0="$$dir0"/"$$first"; \
  69520. + fi; \
  69521. + fi; \
  69522. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  69523. + done; \
  69524. + reldir="$$dir2"
  69525. ACLOCAL = @ACLOCAL@
  69526. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  69527. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  69528. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  69529. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  69530. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  69531. -AMDEP_FALSE = @AMDEP_FALSE@
  69532. -AMDEP_TRUE = @AMDEP_TRUE@
  69533. AMTAR = @AMTAR@
  69534. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  69535. AR = @AR@
  69536. AUTOCONF = @AUTOCONF@
  69537. AUTOHEADER = @AUTOHEADER@
  69538. AUTOMAKE = @AUTOMAKE@
  69539. AWK = @AWK@
  69540. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  69541. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  69542. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  69543. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  69544. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  69545. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  69546. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  69547. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  69548. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  69549. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  69550. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  69551. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  69552. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  69553. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  69554. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  69555. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  69556. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  69557. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  69558. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  69559. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  69560. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  69561. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  69562. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  69563. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  69564. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  69565. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  69566. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  69567. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  69568. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  69569. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  69570. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  69571. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  69572. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  69573. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  69574. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  69575. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  69576. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  69577. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  69578. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  69579. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  69580. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  69581. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  69582. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  69583. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  69584. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  69585. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  69586. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  69587. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  69588. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  69589. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  69590. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  69591. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  69592. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  69593. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  69594. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  69595. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  69596. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  69597. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  69598. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  69599. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  69600. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  69601. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  69602. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  69603. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  69604. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  69605. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  69606. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  69607. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  69608. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  69609. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  69610. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  69611. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  69612. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  69613. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  69614. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  69615. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  69616. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  69617. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  69618. CC = @CC@
  69619. CCDEPMODE = @CCDEPMODE@
  69620. CFLAGS = @CFLAGS@
  69621. CPP = @CPP@
  69622. CPPFLAGS = @CPPFLAGS@
  69623. -CXX = @CXX@
  69624. -CXXCPP = @CXXCPP@
  69625. -CXXDEPMODE = @CXXDEPMODE@
  69626. -CXXFLAGS = @CXXFLAGS@
  69627. CYGPATH_W = @CYGPATH_W@
  69628. DEFS = @DEFS@
  69629. DEPDIR = @DEPDIR@
  69630. -ECHO = @ECHO@
  69631. +DSYMUTIL = @DSYMUTIL@
  69632. +DUMPBIN = @DUMPBIN@
  69633. ECHO_C = @ECHO_C@
  69634. ECHO_N = @ECHO_N@
  69635. ECHO_T = @ECHO_T@
  69636. EGREP = @EGREP@
  69637. EXEEXT = @EXEEXT@
  69638. -F77 = @F77@
  69639. -FFLAGS = @FFLAGS@
  69640. +FGREP = @FGREP@
  69641. GREP = @GREP@
  69642. +INSTALL = @INSTALL@
  69643. INSTALL_DATA = @INSTALL_DATA@
  69644. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  69645. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  69646. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  69647. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  69648. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  69649. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  69650. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  69651. +LD = @LD@
  69652. LDFLAGS = @LDFLAGS@
  69653. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  69654. LIBOBJS = @LIBOBJS@
  69655. LIBS = @LIBS@
  69656. LIBTOOL = @LIBTOOL@
  69657. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  69658. +LIPO = @LIPO@
  69659. LN_S = @LN_S@
  69660. LTLIBOBJS = @LTLIBOBJS@
  69661. MAKEINFO = @MAKEINFO@
  69662. +MKDIR_P = @MKDIR_P@
  69663. +NM = @NM@
  69664. +NMEDIT = @NMEDIT@
  69665. +OBJDUMP = @OBJDUMP@
  69666. OBJEXT = @OBJEXT@
  69667. +OTOOL = @OTOOL@
  69668. +OTOOL64 = @OTOOL64@
  69669. PACKAGE = @PACKAGE@
  69670. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  69671. PACKAGE_NAME = @PACKAGE_NAME@
  69672. PACKAGE_STRING = @PACKAGE_STRING@
  69673. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  69674. +PACKAGE_URL = @PACKAGE_URL@
  69675. PACKAGE_VERSION = @PACKAGE_VERSION@
  69676. PATH_SEPARATOR = @PATH_SEPARATOR@
  69677. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  69678. PYTHON_LIBS = @PYTHON_LIBS@
  69679. RANLIB = @RANLIB@
  69680. +SED = @SED@
  69681. SET_MAKE = @SET_MAKE@
  69682. SHELL = @SHELL@
  69683. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  69684. @@ -217,19 +193,14 @@
  69685. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  69686. SND_LIB_VERSION = @SND_LIB_VERSION@
  69687. STRIP = @STRIP@
  69688. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  69689. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  69690. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  69691. VERSION = @VERSION@
  69692. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  69693. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  69694. +abs_builddir = @abs_builddir@
  69695. +abs_srcdir = @abs_srcdir@
  69696. +abs_top_builddir = @abs_top_builddir@
  69697. +abs_top_srcdir = @abs_top_srcdir@
  69698. ac_ct_CC = @ac_ct_CC@
  69699. -ac_ct_CXX = @ac_ct_CXX@
  69700. -ac_ct_F77 = @ac_ct_F77@
  69701. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  69702. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  69703. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  69704. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  69705. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  69706. am__include = @am__include@
  69707. am__leading_dot = @am__leading_dot@
  69708. am__quote = @am__quote@
  69709. @@ -241,6 +212,7 @@
  69710. build_cpu = @build_cpu@
  69711. build_os = @build_os@
  69712. build_vendor = @build_vendor@
  69713. +builddir = @builddir@
  69714. datadir = @datadir@
  69715. datarootdir = @datarootdir@
  69716. docdir = @docdir@
  69717. @@ -259,6 +231,7 @@
  69718. libexecdir = @libexecdir@
  69719. localedir = @localedir@
  69720. localstatedir = @localstatedir@
  69721. +lt_ECHO = @lt_ECHO@
  69722. mandir = @mandir@
  69723. mkdir_p = @mkdir_p@
  69724. oldincludedir = @oldincludedir@
  69725. @@ -268,8 +241,12 @@
  69726. psdir = @psdir@
  69727. sbindir = @sbindir@
  69728. sharedstatedir = @sharedstatedir@
  69729. +srcdir = @srcdir@
  69730. sysconfdir = @sysconfdir@
  69731. target_alias = @target_alias@
  69732. +top_build_prefix = @top_build_prefix@
  69733. +top_builddir = @top_builddir@
  69734. +top_srcdir = @top_srcdir@
  69735. SUBDIRS = cards pcm
  69736. cfg_files = alsa.conf $(am__append_1) $(am__append_2)
  69737. EXTRA_DIST = $(cfg_files)
  69738. @@ -283,14 +260,14 @@
  69739. @for dep in $?; do \
  69740. case '$(am__configure_deps)' in \
  69741. *$$dep*) \
  69742. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  69743. - && exit 0; \
  69744. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  69745. + && { if test -f $@; then exit 0; else break; fi; }; \
  69746. exit 1;; \
  69747. esac; \
  69748. done; \
  69749. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/conf/Makefile'; \
  69750. - cd $(top_srcdir) && \
  69751. - $(AUTOMAKE) --foreign src/conf/Makefile
  69752. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/conf/Makefile'; \
  69753. + $(am__cd) $(top_srcdir) && \
  69754. + $(AUTOMAKE) --gnu src/conf/Makefile
  69755. .PRECIOUS: Makefile
  69756. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  69757. @case '$?' in \
  69758. @@ -308,33 +285,33 @@
  69759. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69760. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  69761. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69762. +$(am__aclocal_m4_deps):
  69763. mostlyclean-libtool:
  69764. -rm -f *.lo
  69765. clean-libtool:
  69766. -rm -rf .libs _libs
  69767. -
  69768. -distclean-libtool:
  69769. - -rm -f libtool
  69770. -uninstall-info-am:
  69771. install-alsaDATA: $(alsa_DATA)
  69772. @$(NORMAL_INSTALL)
  69773. - test -z "$(alsadir)" || $(mkdir_p) "$(DESTDIR)$(alsadir)"
  69774. - @list='$(alsa_DATA)'; for p in $$list; do \
  69775. + test -z "$(alsadir)" || $(MKDIR_P) "$(DESTDIR)$(alsadir)"
  69776. + @list='$(alsa_DATA)'; test -n "$(alsadir)" || list=; \
  69777. + for p in $$list; do \
  69778. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  69779. - f=$(am__strip_dir) \
  69780. - echo " $(alsaDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(alsadir)/$$f'"; \
  69781. - $(alsaDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(alsadir)/$$f"; \
  69782. + echo "$$d$$p"; \
  69783. + done | $(am__base_list) | \
  69784. + while read files; do \
  69785. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(alsadir)'"; \
  69786. + $(INSTALL_DATA) $$files "$(DESTDIR)$(alsadir)" || exit $$?; \
  69787. done
  69788. uninstall-alsaDATA:
  69789. @$(NORMAL_UNINSTALL)
  69790. - @list='$(alsa_DATA)'; for p in $$list; do \
  69791. - f=$(am__strip_dir) \
  69792. - echo " rm -f '$(DESTDIR)$(alsadir)/$$f'"; \
  69793. - rm -f "$(DESTDIR)$(alsadir)/$$f"; \
  69794. - done
  69795. + @list='$(alsa_DATA)'; test -n "$(alsadir)" || list=; \
  69796. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  69797. + test -n "$$files" || exit 0; \
  69798. + echo " ( cd '$(DESTDIR)$(alsadir)' && rm -f" $$files ")"; \
  69799. + cd "$(DESTDIR)$(alsadir)" && rm -f $$files
  69800. # This directory's subdirectories are mostly independent; you can cd
  69801. # into them and run `make' without going through this Makefile.
  69802. @@ -343,7 +320,7 @@
  69803. # (which will cause the Makefiles to be regenerated when you run `make');
  69804. # (2) otherwise, pass the desired values on the `make' command line.
  69805. $(RECURSIVE_TARGETS):
  69806. - @failcom='exit 1'; \
  69807. + @fail= failcom='exit 1'; \
  69808. for f in x $$MAKEFLAGS; do \
  69809. case $$f in \
  69810. *=* | --[!k]*);; \
  69811. @@ -360,16 +337,15 @@
  69812. else \
  69813. local_target="$$target"; \
  69814. fi; \
  69815. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  69816. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  69817. || eval $$failcom; \
  69818. done; \
  69819. if test "$$dot_seen" = "no"; then \
  69820. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  69821. fi; test -z "$$fail"
  69822. -mostlyclean-recursive clean-recursive distclean-recursive \
  69823. -maintainer-clean-recursive:
  69824. - @failcom='exit 1'; \
  69825. +$(RECURSIVE_CLEAN_TARGETS):
  69826. + @fail= failcom='exit 1'; \
  69827. for f in x $$MAKEFLAGS; do \
  69828. case $$f in \
  69829. *=* | --[!k]*);; \
  69830. @@ -395,16 +371,16 @@
  69831. else \
  69832. local_target="$$target"; \
  69833. fi; \
  69834. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  69835. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  69836. || eval $$failcom; \
  69837. done && test -z "$$fail"
  69838. tags-recursive:
  69839. list='$(SUBDIRS)'; for subdir in $$list; do \
  69840. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  69841. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  69842. done
  69843. ctags-recursive:
  69844. list='$(SUBDIRS)'; for subdir in $$list; do \
  69845. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  69846. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  69847. done
  69848. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  69849. @@ -412,14 +388,14 @@
  69850. unique=`for i in $$list; do \
  69851. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  69852. done | \
  69853. - $(AWK) ' { files[$$0] = 1; } \
  69854. - END { for (i in files) print i; }'`; \
  69855. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  69856. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  69857. mkid -fID $$unique
  69858. tags: TAGS
  69859. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  69860. $(TAGS_FILES) $(LISP)
  69861. - tags=; \
  69862. + set x; \
  69863. here=`pwd`; \
  69864. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  69865. include_option=--etags-include; \
  69866. @@ -431,81 +407,101 @@
  69867. list='$(SUBDIRS)'; for subdir in $$list; do \
  69868. if test "$$subdir" = .; then :; else \
  69869. test ! -f $$subdir/TAGS || \
  69870. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  69871. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  69872. fi; \
  69873. done; \
  69874. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  69875. unique=`for i in $$list; do \
  69876. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  69877. done | \
  69878. - $(AWK) ' { files[$$0] = 1; } \
  69879. - END { for (i in files) print i; }'`; \
  69880. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  69881. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  69882. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  69883. + shift; \
  69884. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  69885. test -n "$$unique" || unique=$$empty_fix; \
  69886. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  69887. - $$tags $$unique; \
  69888. + if test $$# -gt 0; then \
  69889. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  69890. + "$$@" $$unique; \
  69891. + else \
  69892. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  69893. + $$unique; \
  69894. + fi; \
  69895. fi
  69896. ctags: CTAGS
  69897. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  69898. $(TAGS_FILES) $(LISP)
  69899. - tags=; \
  69900. - here=`pwd`; \
  69901. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  69902. unique=`for i in $$list; do \
  69903. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  69904. done | \
  69905. - $(AWK) ' { files[$$0] = 1; } \
  69906. - END { for (i in files) print i; }'`; \
  69907. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  69908. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  69909. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  69910. + test -z "$(CTAGS_ARGS)$$unique" \
  69911. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  69912. - $$tags $$unique
  69913. + $$unique
  69914. GTAGS:
  69915. here=`$(am__cd) $(top_builddir) && pwd` \
  69916. - && cd $(top_srcdir) \
  69917. - && gtags -i $(GTAGS_ARGS) $$here
  69918. + && $(am__cd) $(top_srcdir) \
  69919. + && gtags -i $(GTAGS_ARGS) "$$here"
  69920. distclean-tags:
  69921. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  69922. distdir: $(DISTFILES)
  69923. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  69924. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  69925. - list='$(DISTFILES)'; for file in $$list; do \
  69926. - case $$file in \
  69927. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  69928. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  69929. - esac; \
  69930. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69931. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69932. + list='$(DISTFILES)'; \
  69933. + dist_files=`for file in $$list; do echo $$file; done | \
  69934. + sed -e "s|^$$srcdirstrip/||;t" \
  69935. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  69936. + case $$dist_files in \
  69937. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  69938. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  69939. + sort -u` ;; \
  69940. + esac; \
  69941. + for file in $$dist_files; do \
  69942. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  69943. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  69944. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  69945. - dir="/$$dir"; \
  69946. - $(mkdir_p) "$(distdir)$$dir"; \
  69947. - else \
  69948. - dir=''; \
  69949. - fi; \
  69950. if test -d $$d/$$file; then \
  69951. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  69952. + if test -d "$(distdir)/$$file"; then \
  69953. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69954. + fi; \
  69955. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  69956. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  69957. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  69958. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69959. fi; \
  69960. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  69961. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  69962. else \
  69963. - test -f $(distdir)/$$file \
  69964. - || cp -p $$d/$$file $(distdir)/$$file \
  69965. + test -f "$(distdir)/$$file" \
  69966. + || cp -p $$d/$$file "$(distdir)/$$file" \
  69967. || exit 1; \
  69968. fi; \
  69969. done
  69970. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  69971. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  69972. if test "$$subdir" = .; then :; else \
  69973. test -d "$(distdir)/$$subdir" \
  69974. - || $(mkdir_p) "$(distdir)/$$subdir" \
  69975. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  69976. || exit 1; \
  69977. - distdir=`$(am__cd) $(distdir) && pwd`; \
  69978. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  69979. - (cd $$subdir && \
  69980. + fi; \
  69981. + done
  69982. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  69983. + if test "$$subdir" = .; then :; else \
  69984. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  69985. + $(am__relativize); \
  69986. + new_distdir=$$reldir; \
  69987. + dir1=$$subdir; dir2="$(top_distdir)"; \
  69988. + $(am__relativize); \
  69989. + new_top_distdir=$$reldir; \
  69990. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  69991. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  69992. + ($(am__cd) $$subdir && \
  69993. $(MAKE) $(AM_MAKEFLAGS) \
  69994. - top_distdir="$$top_distdir" \
  69995. - distdir="$$distdir/$$subdir" \
  69996. + top_distdir="$$new_top_distdir" \
  69997. + distdir="$$new_distdir" \
  69998. + am__remove_distdir=: \
  69999. + am__skip_length_check=: \
  70000. + am__skip_mode_fix=: \
  70001. distdir) \
  70002. || exit 1; \
  70003. fi; \
  70004. @@ -516,7 +512,7 @@
  70005. installdirs: installdirs-recursive
  70006. installdirs-am:
  70007. for dir in "$(DESTDIR)$(alsadir)"; do \
  70008. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  70009. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  70010. done
  70011. install: install-recursive
  70012. install-exec: install-exec-recursive
  70013. @@ -538,6 +534,7 @@
  70014. distclean-generic:
  70015. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  70016. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  70017. maintainer-clean-generic:
  70018. @echo "This command is intended for maintainers to use"
  70019. @@ -548,8 +545,7 @@
  70020. distclean: distclean-recursive
  70021. -rm -f Makefile
  70022. -distclean-am: clean-am distclean-generic distclean-libtool \
  70023. - distclean-tags
  70024. +distclean-am: clean-am distclean-generic distclean-tags
  70025. dvi: dvi-recursive
  70026. @@ -557,18 +553,38 @@
  70027. html: html-recursive
  70028. +html-am:
  70029. +
  70030. info: info-recursive
  70031. info-am:
  70032. install-data-am: install-alsaDATA
  70033. +install-dvi: install-dvi-recursive
  70034. +
  70035. +install-dvi-am:
  70036. +
  70037. install-exec-am:
  70038. +install-html: install-html-recursive
  70039. +
  70040. +install-html-am:
  70041. +
  70042. install-info: install-info-recursive
  70043. +install-info-am:
  70044. +
  70045. install-man:
  70046. +install-pdf: install-pdf-recursive
  70047. +
  70048. +install-pdf-am:
  70049. +
  70050. +install-ps: install-ps-recursive
  70051. +
  70052. +install-ps-am:
  70053. +
  70054. installcheck-am:
  70055. maintainer-clean: maintainer-clean-recursive
  70056. @@ -587,23 +603,25 @@
  70057. ps-am:
  70058. -uninstall-am: uninstall-alsaDATA uninstall-info-am
  70059. +uninstall-am: uninstall-alsaDATA
  70060. -uninstall-info: uninstall-info-recursive
  70061. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  70062. + install-am install-strip tags-recursive
  70063. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  70064. - clean clean-generic clean-libtool clean-recursive ctags \
  70065. - ctags-recursive distclean distclean-generic distclean-libtool \
  70066. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  70067. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  70068. + all all-am check check-am clean clean-generic clean-libtool \
  70069. + ctags ctags-recursive distclean distclean-generic \
  70070. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  70071. html-am info info-am install install-alsaDATA install-am \
  70072. - install-data install-data-am install-exec install-exec-am \
  70073. - install-info install-info-am install-man install-strip \
  70074. + install-data install-data-am install-dvi install-dvi-am \
  70075. + install-exec install-exec-am install-html install-html-am \
  70076. + install-info install-info-am install-man install-pdf \
  70077. + install-pdf-am install-ps install-ps-am install-strip \
  70078. installcheck installcheck-am installdirs installdirs-am \
  70079. - maintainer-clean maintainer-clean-generic \
  70080. - maintainer-clean-recursive mostlyclean mostlyclean-generic \
  70081. - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
  70082. - tags tags-recursive uninstall uninstall-alsaDATA uninstall-am \
  70083. - uninstall-info-am
  70084. + maintainer-clean maintainer-clean-generic mostlyclean \
  70085. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  70086. + tags tags-recursive uninstall uninstall-alsaDATA uninstall-am
  70087. +
  70088. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  70089. # Otherwise a system limit (for SysV at least) may be exceeded.
  70090. diff -Nur alsa-lib-1.0.22.orig/src/conf/pcm/Makefile.in alsa-lib-1.0.22/src/conf/pcm/Makefile.in
  70091. --- alsa-lib-1.0.22.orig/src/conf/pcm/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  70092. +++ alsa-lib-1.0.22/src/conf/pcm/Makefile.in 2011-02-24 20:33:15.443552403 +0100
  70093. @@ -1,8 +1,9 @@
  70094. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  70095. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  70096. # @configure_input@
  70097. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  70098. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  70099. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  70100. +# Inc.
  70101. # This Makefile.in is free software; the Free Software Foundation
  70102. # gives unlimited permission to copy and/or distribute it,
  70103. # with or without modifications, as long as this notice is preserved.
  70104. @@ -14,15 +15,12 @@
  70105. @SET_MAKE@
  70106. -srcdir = @srcdir@
  70107. -top_srcdir = @top_srcdir@
  70108. VPATH = @srcdir@
  70109. pkgdatadir = $(datadir)/@PACKAGE@
  70110. -pkglibdir = $(libdir)/@PACKAGE@
  70111. pkgincludedir = $(includedir)/@PACKAGE@
  70112. -top_builddir = ../../..
  70113. +pkglibdir = $(libdir)/@PACKAGE@
  70114. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  70115. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  70116. -INSTALL = @INSTALL@
  70117. install_sh_DATA = $(install_sh) -c -m 644
  70118. install_sh_PROGRAM = $(install_sh) -c
  70119. install_sh_SCRIPT = $(install_sh) -c
  70120. @@ -39,13 +37,23 @@
  70121. subdir = src/conf/pcm
  70122. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  70123. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  70124. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  70125. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  70126. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  70127. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  70128. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  70129. $(top_srcdir)/configure.in
  70130. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  70131. $(ACLOCAL_M4)
  70132. mkinstalldirs = $(install_sh) -d
  70133. CONFIG_HEADER = $(top_builddir)/include/config.h
  70134. CONFIG_CLEAN_FILES =
  70135. +CONFIG_CLEAN_VPATH_FILES =
  70136. +AM_V_GEN = $(am__v_GEN_$(V))
  70137. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  70138. +am__v_GEN_0 = @echo " GEN " $@;
  70139. +AM_V_at = $(am__v_at_$(V))
  70140. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  70141. +am__v_at_0 = @
  70142. SOURCES =
  70143. DIST_SOURCES =
  70144. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  70145. @@ -53,151 +61,88 @@
  70146. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  70147. *) f=$$p;; \
  70148. esac;
  70149. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  70150. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  70151. +am__install_max = 40
  70152. +am__nobase_strip_setup = \
  70153. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  70154. +am__nobase_strip = \
  70155. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  70156. +am__nobase_list = $(am__nobase_strip_setup); \
  70157. + for p in $$list; do echo "$$p $$p"; done | \
  70158. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  70159. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  70160. + if (++n[$$2] == $(am__install_max)) \
  70161. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  70162. + END { for (dir in files) print dir, files[dir] }'
  70163. +am__base_list = \
  70164. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  70165. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  70166. am__installdirs = "$(DESTDIR)$(alsadir)"
  70167. -alsaDATA_INSTALL = $(INSTALL_DATA)
  70168. DATA = $(alsa_DATA)
  70169. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  70170. ACLOCAL = @ACLOCAL@
  70171. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  70172. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  70173. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  70174. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  70175. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  70176. -AMDEP_FALSE = @AMDEP_FALSE@
  70177. -AMDEP_TRUE = @AMDEP_TRUE@
  70178. AMTAR = @AMTAR@
  70179. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  70180. AR = @AR@
  70181. AUTOCONF = @AUTOCONF@
  70182. AUTOHEADER = @AUTOHEADER@
  70183. AUTOMAKE = @AUTOMAKE@
  70184. AWK = @AWK@
  70185. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  70186. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  70187. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  70188. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  70189. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  70190. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  70191. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  70192. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  70193. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  70194. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  70195. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  70196. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  70197. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  70198. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  70199. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  70200. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  70201. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  70202. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  70203. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  70204. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  70205. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  70206. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  70207. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  70208. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  70209. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  70210. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  70211. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  70212. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  70213. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  70214. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  70215. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  70216. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  70217. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  70218. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  70219. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  70220. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  70221. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  70222. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  70223. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  70224. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  70225. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  70226. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  70227. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  70228. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  70229. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  70230. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  70231. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  70232. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  70233. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  70234. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  70235. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  70236. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  70237. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  70238. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  70239. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  70240. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  70241. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  70242. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  70243. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  70244. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  70245. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  70246. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  70247. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  70248. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  70249. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  70250. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  70251. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  70252. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  70253. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  70254. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  70255. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  70256. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  70257. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  70258. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  70259. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  70260. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  70261. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  70262. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  70263. CC = @CC@
  70264. CCDEPMODE = @CCDEPMODE@
  70265. CFLAGS = @CFLAGS@
  70266. CPP = @CPP@
  70267. CPPFLAGS = @CPPFLAGS@
  70268. -CXX = @CXX@
  70269. -CXXCPP = @CXXCPP@
  70270. -CXXDEPMODE = @CXXDEPMODE@
  70271. -CXXFLAGS = @CXXFLAGS@
  70272. CYGPATH_W = @CYGPATH_W@
  70273. DEFS = @DEFS@
  70274. DEPDIR = @DEPDIR@
  70275. -ECHO = @ECHO@
  70276. +DSYMUTIL = @DSYMUTIL@
  70277. +DUMPBIN = @DUMPBIN@
  70278. ECHO_C = @ECHO_C@
  70279. ECHO_N = @ECHO_N@
  70280. ECHO_T = @ECHO_T@
  70281. EGREP = @EGREP@
  70282. EXEEXT = @EXEEXT@
  70283. -F77 = @F77@
  70284. -FFLAGS = @FFLAGS@
  70285. +FGREP = @FGREP@
  70286. GREP = @GREP@
  70287. +INSTALL = @INSTALL@
  70288. INSTALL_DATA = @INSTALL_DATA@
  70289. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  70290. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  70291. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  70292. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  70293. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  70294. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  70295. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  70296. +LD = @LD@
  70297. LDFLAGS = @LDFLAGS@
  70298. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  70299. LIBOBJS = @LIBOBJS@
  70300. LIBS = @LIBS@
  70301. LIBTOOL = @LIBTOOL@
  70302. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  70303. +LIPO = @LIPO@
  70304. LN_S = @LN_S@
  70305. LTLIBOBJS = @LTLIBOBJS@
  70306. MAKEINFO = @MAKEINFO@
  70307. +MKDIR_P = @MKDIR_P@
  70308. +NM = @NM@
  70309. +NMEDIT = @NMEDIT@
  70310. +OBJDUMP = @OBJDUMP@
  70311. OBJEXT = @OBJEXT@
  70312. +OTOOL = @OTOOL@
  70313. +OTOOL64 = @OTOOL64@
  70314. PACKAGE = @PACKAGE@
  70315. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  70316. PACKAGE_NAME = @PACKAGE_NAME@
  70317. PACKAGE_STRING = @PACKAGE_STRING@
  70318. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  70319. +PACKAGE_URL = @PACKAGE_URL@
  70320. PACKAGE_VERSION = @PACKAGE_VERSION@
  70321. PATH_SEPARATOR = @PATH_SEPARATOR@
  70322. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  70323. PYTHON_LIBS = @PYTHON_LIBS@
  70324. RANLIB = @RANLIB@
  70325. +SED = @SED@
  70326. SET_MAKE = @SET_MAKE@
  70327. SHELL = @SHELL@
  70328. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  70329. @@ -206,19 +151,14 @@
  70330. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  70331. SND_LIB_VERSION = @SND_LIB_VERSION@
  70332. STRIP = @STRIP@
  70333. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  70334. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  70335. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  70336. VERSION = @VERSION@
  70337. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  70338. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  70339. +abs_builddir = @abs_builddir@
  70340. +abs_srcdir = @abs_srcdir@
  70341. +abs_top_builddir = @abs_top_builddir@
  70342. +abs_top_srcdir = @abs_top_srcdir@
  70343. ac_ct_CC = @ac_ct_CC@
  70344. -ac_ct_CXX = @ac_ct_CXX@
  70345. -ac_ct_F77 = @ac_ct_F77@
  70346. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  70347. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  70348. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  70349. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  70350. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  70351. am__include = @am__include@
  70352. am__leading_dot = @am__leading_dot@
  70353. am__quote = @am__quote@
  70354. @@ -230,6 +170,7 @@
  70355. build_cpu = @build_cpu@
  70356. build_os = @build_os@
  70357. build_vendor = @build_vendor@
  70358. +builddir = @builddir@
  70359. datadir = @datadir@
  70360. datarootdir = @datarootdir@
  70361. docdir = @docdir@
  70362. @@ -248,6 +189,7 @@
  70363. libexecdir = @libexecdir@
  70364. localedir = @localedir@
  70365. localstatedir = @localstatedir@
  70366. +lt_ECHO = @lt_ECHO@
  70367. mandir = @mandir@
  70368. mkdir_p = @mkdir_p@
  70369. oldincludedir = @oldincludedir@
  70370. @@ -257,8 +199,12 @@
  70371. psdir = @psdir@
  70372. sbindir = @sbindir@
  70373. sharedstatedir = @sharedstatedir@
  70374. +srcdir = @srcdir@
  70375. sysconfdir = @sysconfdir@
  70376. target_alias = @target_alias@
  70377. +top_build_prefix = @top_build_prefix@
  70378. +top_builddir = @top_builddir@
  70379. +top_srcdir = @top_srcdir@
  70380. cfg_files = default.conf front.conf rear.conf center_lfe.conf side.conf\
  70381. surround40.conf surround41.conf \
  70382. surround50.conf surround51.conf \
  70383. @@ -277,14 +223,14 @@
  70384. @for dep in $?; do \
  70385. case '$(am__configure_deps)' in \
  70386. *$$dep*) \
  70387. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  70388. - && exit 0; \
  70389. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  70390. + && { if test -f $@; then exit 0; else break; fi; }; \
  70391. exit 1;; \
  70392. esac; \
  70393. done; \
  70394. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/conf/pcm/Makefile'; \
  70395. - cd $(top_srcdir) && \
  70396. - $(AUTOMAKE) --foreign src/conf/pcm/Makefile
  70397. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/conf/pcm/Makefile'; \
  70398. + $(am__cd) $(top_srcdir) && \
  70399. + $(AUTOMAKE) --gnu src/conf/pcm/Makefile
  70400. .PRECIOUS: Makefile
  70401. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  70402. @case '$?' in \
  70403. @@ -302,33 +248,33 @@
  70404. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70405. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  70406. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70407. +$(am__aclocal_m4_deps):
  70408. mostlyclean-libtool:
  70409. -rm -f *.lo
  70410. clean-libtool:
  70411. -rm -rf .libs _libs
  70412. -
  70413. -distclean-libtool:
  70414. - -rm -f libtool
  70415. -uninstall-info-am:
  70416. install-alsaDATA: $(alsa_DATA)
  70417. @$(NORMAL_INSTALL)
  70418. - test -z "$(alsadir)" || $(mkdir_p) "$(DESTDIR)$(alsadir)"
  70419. - @list='$(alsa_DATA)'; for p in $$list; do \
  70420. + test -z "$(alsadir)" || $(MKDIR_P) "$(DESTDIR)$(alsadir)"
  70421. + @list='$(alsa_DATA)'; test -n "$(alsadir)" || list=; \
  70422. + for p in $$list; do \
  70423. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  70424. - f=$(am__strip_dir) \
  70425. - echo " $(alsaDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(alsadir)/$$f'"; \
  70426. - $(alsaDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(alsadir)/$$f"; \
  70427. + echo "$$d$$p"; \
  70428. + done | $(am__base_list) | \
  70429. + while read files; do \
  70430. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(alsadir)'"; \
  70431. + $(INSTALL_DATA) $$files "$(DESTDIR)$(alsadir)" || exit $$?; \
  70432. done
  70433. uninstall-alsaDATA:
  70434. @$(NORMAL_UNINSTALL)
  70435. - @list='$(alsa_DATA)'; for p in $$list; do \
  70436. - f=$(am__strip_dir) \
  70437. - echo " rm -f '$(DESTDIR)$(alsadir)/$$f'"; \
  70438. - rm -f "$(DESTDIR)$(alsadir)/$$f"; \
  70439. - done
  70440. + @list='$(alsa_DATA)'; test -n "$(alsadir)" || list=; \
  70441. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  70442. + test -n "$$files" || exit 0; \
  70443. + echo " ( cd '$(DESTDIR)$(alsadir)' && rm -f" $$files ")"; \
  70444. + cd "$(DESTDIR)$(alsadir)" && rm -f $$files
  70445. tags: TAGS
  70446. TAGS:
  70447. @@ -337,29 +283,32 @@
  70448. distdir: $(DISTFILES)
  70449. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  70450. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  70451. - list='$(DISTFILES)'; for file in $$list; do \
  70452. - case $$file in \
  70453. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  70454. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  70455. - esac; \
  70456. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70457. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70458. + list='$(DISTFILES)'; \
  70459. + dist_files=`for file in $$list; do echo $$file; done | \
  70460. + sed -e "s|^$$srcdirstrip/||;t" \
  70461. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  70462. + case $$dist_files in \
  70463. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  70464. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  70465. + sort -u` ;; \
  70466. + esac; \
  70467. + for file in $$dist_files; do \
  70468. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  70469. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  70470. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  70471. - dir="/$$dir"; \
  70472. - $(mkdir_p) "$(distdir)$$dir"; \
  70473. - else \
  70474. - dir=''; \
  70475. - fi; \
  70476. if test -d $$d/$$file; then \
  70477. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  70478. + if test -d "$(distdir)/$$file"; then \
  70479. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70480. + fi; \
  70481. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  70482. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  70483. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  70484. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70485. fi; \
  70486. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  70487. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  70488. else \
  70489. - test -f $(distdir)/$$file \
  70490. - || cp -p $$d/$$file $(distdir)/$$file \
  70491. + test -f "$(distdir)/$$file" \
  70492. + || cp -p $$d/$$file "$(distdir)/$$file" \
  70493. || exit 1; \
  70494. fi; \
  70495. done
  70496. @@ -368,7 +317,7 @@
  70497. all-am: Makefile $(DATA)
  70498. installdirs:
  70499. for dir in "$(DESTDIR)$(alsadir)"; do \
  70500. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  70501. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  70502. done
  70503. install: install-am
  70504. install-exec: install-exec-am
  70505. @@ -390,6 +339,7 @@
  70506. distclean-generic:
  70507. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  70508. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  70509. maintainer-clean-generic:
  70510. @echo "This command is intended for maintainers to use"
  70511. @@ -400,7 +350,7 @@
  70512. distclean: distclean-am
  70513. -rm -f Makefile
  70514. -distclean-am: clean-am distclean-generic distclean-libtool
  70515. +distclean-am: clean-am distclean-generic
  70516. dvi: dvi-am
  70517. @@ -408,18 +358,38 @@
  70518. html: html-am
  70519. +html-am:
  70520. +
  70521. info: info-am
  70522. info-am:
  70523. install-data-am: install-alsaDATA
  70524. +install-dvi: install-dvi-am
  70525. +
  70526. +install-dvi-am:
  70527. +
  70528. install-exec-am:
  70529. +install-html: install-html-am
  70530. +
  70531. +install-html-am:
  70532. +
  70533. install-info: install-info-am
  70534. +install-info-am:
  70535. +
  70536. install-man:
  70537. +install-pdf: install-pdf-am
  70538. +
  70539. +install-pdf-am:
  70540. +
  70541. +install-ps: install-ps-am
  70542. +
  70543. +install-ps-am:
  70544. +
  70545. installcheck-am:
  70546. maintainer-clean: maintainer-clean-am
  70547. @@ -438,17 +408,22 @@
  70548. ps-am:
  70549. -uninstall-am: uninstall-alsaDATA uninstall-info-am
  70550. +uninstall-am: uninstall-alsaDATA
  70551. +
  70552. +.MAKE: install-am install-strip
  70553. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  70554. distclean distclean-generic distclean-libtool distdir dvi \
  70555. dvi-am html html-am info info-am install install-alsaDATA \
  70556. - install-am install-data install-data-am install-exec \
  70557. - install-exec-am install-info install-info-am install-man \
  70558. + install-am install-data install-data-am install-dvi \
  70559. + install-dvi-am install-exec install-exec-am install-html \
  70560. + install-html-am install-info install-info-am install-man \
  70561. + install-pdf install-pdf-am install-ps install-ps-am \
  70562. install-strip installcheck installcheck-am installdirs \
  70563. maintainer-clean maintainer-clean-generic mostlyclean \
  70564. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  70565. - uninstall uninstall-alsaDATA uninstall-am uninstall-info-am
  70566. + uninstall uninstall-alsaDATA uninstall-am
  70567. +
  70568. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  70569. # Otherwise a system limit (for SysV at least) may be exceeded.
  70570. diff -Nur alsa-lib-1.0.22.orig/src/control/Makefile.in alsa-lib-1.0.22/src/control/Makefile.in
  70571. --- alsa-lib-1.0.22.orig/src/control/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  70572. +++ alsa-lib-1.0.22/src/control/Makefile.in 2011-02-24 20:33:15.503554780 +0100
  70573. @@ -1,8 +1,9 @@
  70574. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  70575. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  70576. # @configure_input@
  70577. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  70578. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  70579. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  70580. +# Inc.
  70581. # This Makefile.in is free software; the Free Software Foundation
  70582. # gives unlimited permission to copy and/or distribute it,
  70583. # with or without modifications, as long as this notice is preserved.
  70584. @@ -14,15 +15,12 @@
  70585. @SET_MAKE@
  70586. -srcdir = @srcdir@
  70587. -top_srcdir = @top_srcdir@
  70588. VPATH = @srcdir@
  70589. pkgdatadir = $(datadir)/@PACKAGE@
  70590. -pkglibdir = $(libdir)/@PACKAGE@
  70591. pkgincludedir = $(includedir)/@PACKAGE@
  70592. -top_builddir = ../..
  70593. +pkglibdir = $(libdir)/@PACKAGE@
  70594. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  70595. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  70596. -INSTALL = @INSTALL@
  70597. install_sh_DATA = $(install_sh) -c -m 644
  70598. install_sh_PROGRAM = $(install_sh) -c
  70599. install_sh_SCRIPT = $(install_sh) -c
  70600. @@ -42,13 +40,17 @@
  70601. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  70602. $(srcdir)/Makefile.in
  70603. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  70604. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  70605. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  70606. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  70607. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  70608. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  70609. $(top_srcdir)/configure.in
  70610. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  70611. $(ACLOCAL_M4)
  70612. mkinstalldirs = $(install_sh) -d
  70613. CONFIG_HEADER = $(top_builddir)/include/config.h
  70614. CONFIG_CLEAN_FILES =
  70615. +CONFIG_CLEAN_VPATH_FILES =
  70616. libcontrol_la_LIBADD =
  70617. am__libcontrol_la_SOURCES_DIST = cards.c tlv.c namehint.c hcontrol.c \
  70618. control.c control_hw.c setup.c control_symbols.c control_shm.c \
  70619. @@ -59,17 +61,35 @@
  70620. control.lo control_hw.lo setup.lo control_symbols.lo \
  70621. $(am__objects_1) $(am__objects_2)
  70622. libcontrol_la_OBJECTS = $(am_libcontrol_la_OBJECTS)
  70623. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  70624. +AM_V_lt = $(am__v_lt_$(V))
  70625. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  70626. +am__v_lt_0 = --silent
  70627. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  70628. depcomp = $(SHELL) $(top_srcdir)/depcomp
  70629. am__depfiles_maybe = depfiles
  70630. +am__mv = mv -f
  70631. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  70632. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  70633. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  70634. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  70635. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  70636. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  70637. $(AM_CFLAGS) $(CFLAGS)
  70638. +AM_V_CC = $(am__v_CC_$(V))
  70639. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  70640. +am__v_CC_0 = @echo " CC " $@;
  70641. +AM_V_at = $(am__v_at_$(V))
  70642. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  70643. +am__v_at_0 = @
  70644. CCLD = $(CC)
  70645. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  70646. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  70647. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  70648. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  70649. +AM_V_CCLD = $(am__v_CCLD_$(V))
  70650. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  70651. +am__v_CCLD_0 = @echo " CCLD " $@;
  70652. +AM_V_GEN = $(am__v_GEN_$(V))
  70653. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  70654. +am__v_GEN_0 = @echo " GEN " $@;
  70655. SOURCES = $(libcontrol_la_SOURCES)
  70656. DIST_SOURCES = $(am__libcontrol_la_SOURCES_DIST)
  70657. HEADERS = $(noinst_HEADERS)
  70658. @@ -79,143 +99,66 @@
  70659. ACLOCAL = @ACLOCAL@
  70660. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  70661. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  70662. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  70663. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  70664. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  70665. -AMDEP_FALSE = @AMDEP_FALSE@
  70666. -AMDEP_TRUE = @AMDEP_TRUE@
  70667. AMTAR = @AMTAR@
  70668. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  70669. AR = @AR@
  70670. AUTOCONF = @AUTOCONF@
  70671. AUTOHEADER = @AUTOHEADER@
  70672. AUTOMAKE = @AUTOMAKE@
  70673. AWK = @AWK@
  70674. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  70675. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  70676. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  70677. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  70678. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  70679. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  70680. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  70681. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  70682. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  70683. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  70684. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  70685. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  70686. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  70687. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  70688. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  70689. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  70690. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  70691. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  70692. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  70693. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  70694. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  70695. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  70696. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  70697. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  70698. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  70699. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  70700. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  70701. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  70702. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  70703. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  70704. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  70705. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  70706. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  70707. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  70708. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  70709. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  70710. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  70711. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  70712. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  70713. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  70714. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  70715. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  70716. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  70717. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  70718. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  70719. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  70720. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  70721. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  70722. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  70723. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  70724. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  70725. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  70726. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  70727. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  70728. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  70729. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  70730. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  70731. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  70732. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  70733. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  70734. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  70735. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  70736. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  70737. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  70738. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  70739. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  70740. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  70741. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  70742. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  70743. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  70744. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  70745. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  70746. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  70747. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  70748. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  70749. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  70750. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  70751. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  70752. CC = @CC@
  70753. CCDEPMODE = @CCDEPMODE@
  70754. CFLAGS = @CFLAGS@
  70755. CPP = @CPP@
  70756. CPPFLAGS = @CPPFLAGS@
  70757. -CXX = @CXX@
  70758. -CXXCPP = @CXXCPP@
  70759. -CXXDEPMODE = @CXXDEPMODE@
  70760. -CXXFLAGS = @CXXFLAGS@
  70761. CYGPATH_W = @CYGPATH_W@
  70762. DEFS = @DEFS@
  70763. DEPDIR = @DEPDIR@
  70764. -ECHO = @ECHO@
  70765. +DSYMUTIL = @DSYMUTIL@
  70766. +DUMPBIN = @DUMPBIN@
  70767. ECHO_C = @ECHO_C@
  70768. ECHO_N = @ECHO_N@
  70769. ECHO_T = @ECHO_T@
  70770. EGREP = @EGREP@
  70771. EXEEXT = @EXEEXT@
  70772. -F77 = @F77@
  70773. -FFLAGS = @FFLAGS@
  70774. +FGREP = @FGREP@
  70775. GREP = @GREP@
  70776. +INSTALL = @INSTALL@
  70777. INSTALL_DATA = @INSTALL_DATA@
  70778. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  70779. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  70780. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  70781. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  70782. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  70783. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  70784. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  70785. +LD = @LD@
  70786. LDFLAGS = @LDFLAGS@
  70787. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  70788. LIBOBJS = @LIBOBJS@
  70789. LIBS = @LIBS@
  70790. LIBTOOL = @LIBTOOL@
  70791. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  70792. +LIPO = @LIPO@
  70793. LN_S = @LN_S@
  70794. LTLIBOBJS = @LTLIBOBJS@
  70795. MAKEINFO = @MAKEINFO@
  70796. +MKDIR_P = @MKDIR_P@
  70797. +NM = @NM@
  70798. +NMEDIT = @NMEDIT@
  70799. +OBJDUMP = @OBJDUMP@
  70800. OBJEXT = @OBJEXT@
  70801. +OTOOL = @OTOOL@
  70802. +OTOOL64 = @OTOOL64@
  70803. PACKAGE = @PACKAGE@
  70804. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  70805. PACKAGE_NAME = @PACKAGE_NAME@
  70806. PACKAGE_STRING = @PACKAGE_STRING@
  70807. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  70808. +PACKAGE_URL = @PACKAGE_URL@
  70809. PACKAGE_VERSION = @PACKAGE_VERSION@
  70810. PATH_SEPARATOR = @PATH_SEPARATOR@
  70811. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  70812. PYTHON_LIBS = @PYTHON_LIBS@
  70813. RANLIB = @RANLIB@
  70814. +SED = @SED@
  70815. SET_MAKE = @SET_MAKE@
  70816. SHELL = @SHELL@
  70817. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  70818. @@ -224,19 +167,14 @@
  70819. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  70820. SND_LIB_VERSION = @SND_LIB_VERSION@
  70821. STRIP = @STRIP@
  70822. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  70823. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  70824. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  70825. VERSION = @VERSION@
  70826. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  70827. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  70828. +abs_builddir = @abs_builddir@
  70829. +abs_srcdir = @abs_srcdir@
  70830. +abs_top_builddir = @abs_top_builddir@
  70831. +abs_top_srcdir = @abs_top_srcdir@
  70832. ac_ct_CC = @ac_ct_CC@
  70833. -ac_ct_CXX = @ac_ct_CXX@
  70834. -ac_ct_F77 = @ac_ct_F77@
  70835. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  70836. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  70837. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  70838. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  70839. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  70840. am__include = @am__include@
  70841. am__leading_dot = @am__leading_dot@
  70842. am__quote = @am__quote@
  70843. @@ -248,6 +186,7 @@
  70844. build_cpu = @build_cpu@
  70845. build_os = @build_os@
  70846. build_vendor = @build_vendor@
  70847. +builddir = @builddir@
  70848. datadir = @datadir@
  70849. datarootdir = @datarootdir@
  70850. docdir = @docdir@
  70851. @@ -266,6 +205,7 @@
  70852. libexecdir = @libexecdir@
  70853. localedir = @localedir@
  70854. localstatedir = @localstatedir@
  70855. +lt_ECHO = @lt_ECHO@
  70856. mandir = @mandir@
  70857. mkdir_p = @mkdir_p@
  70858. oldincludedir = @oldincludedir@
  70859. @@ -275,8 +215,12 @@
  70860. psdir = @psdir@
  70861. sbindir = @sbindir@
  70862. sharedstatedir = @sharedstatedir@
  70863. +srcdir = @srcdir@
  70864. sysconfdir = @sysconfdir@
  70865. target_alias = @target_alias@
  70866. +top_build_prefix = @top_build_prefix@
  70867. +top_builddir = @top_builddir@
  70868. +top_srcdir = @top_srcdir@
  70869. EXTRA_LTLIBRARIES = libcontrol.la
  70870. libcontrol_la_SOURCES = cards.c tlv.c namehint.c hcontrol.c control.c \
  70871. control_hw.c setup.c control_symbols.c $(am__append_1) \
  70872. @@ -291,14 +235,14 @@
  70873. @for dep in $?; do \
  70874. case '$(am__configure_deps)' in \
  70875. *$$dep*) \
  70876. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  70877. - && exit 0; \
  70878. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  70879. + && { if test -f $@; then exit 0; else break; fi; }; \
  70880. exit 1;; \
  70881. esac; \
  70882. done; \
  70883. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/control/Makefile'; \
  70884. - cd $(top_srcdir) && \
  70885. - $(AUTOMAKE) --foreign src/control/Makefile
  70886. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/control/Makefile'; \
  70887. + $(am__cd) $(top_srcdir) && \
  70888. + $(AUTOMAKE) --gnu src/control/Makefile
  70889. .PRECIOUS: Makefile
  70890. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  70891. @case '$?' in \
  70892. @@ -316,8 +260,9 @@
  70893. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70894. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  70895. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70896. +$(am__aclocal_m4_deps):
  70897. libcontrol.la: $(libcontrol_la_OBJECTS) $(libcontrol_la_DEPENDENCIES)
  70898. - $(LINK) $(libcontrol_la_LDFLAGS) $(libcontrol_la_OBJECTS) $(libcontrol_la_LIBADD) $(LIBS)
  70899. + $(AM_V_CCLD)$(LINK) $(libcontrol_la_OBJECTS) $(libcontrol_la_LIBADD) $(LIBS)
  70900. mostlyclean-compile:
  70901. -rm -f *.$(OBJEXT)
  70902. @@ -337,22 +282,25 @@
  70903. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tlv.Plo@am__quote@
  70904. .c.o:
  70905. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  70906. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  70907. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  70908. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  70909. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  70910. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  70911. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  70912. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  70913. .c.obj:
  70914. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  70915. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  70916. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  70917. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  70918. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  70919. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  70920. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  70921. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  70922. .c.lo:
  70923. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  70924. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  70925. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  70926. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  70927. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  70928. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  70929. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  70930. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  70931. @@ -363,82 +311,85 @@
  70932. clean-libtool:
  70933. -rm -rf .libs _libs
  70934. -distclean-libtool:
  70935. - -rm -f libtool
  70936. -uninstall-info-am:
  70937. -
  70938. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  70939. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  70940. unique=`for i in $$list; do \
  70941. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  70942. done | \
  70943. - $(AWK) ' { files[$$0] = 1; } \
  70944. - END { for (i in files) print i; }'`; \
  70945. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  70946. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  70947. mkid -fID $$unique
  70948. tags: TAGS
  70949. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  70950. $(TAGS_FILES) $(LISP)
  70951. - tags=; \
  70952. + set x; \
  70953. here=`pwd`; \
  70954. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  70955. unique=`for i in $$list; do \
  70956. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  70957. done | \
  70958. - $(AWK) ' { files[$$0] = 1; } \
  70959. - END { for (i in files) print i; }'`; \
  70960. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  70961. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  70962. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  70963. + shift; \
  70964. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  70965. test -n "$$unique" || unique=$$empty_fix; \
  70966. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  70967. - $$tags $$unique; \
  70968. + if test $$# -gt 0; then \
  70969. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  70970. + "$$@" $$unique; \
  70971. + else \
  70972. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  70973. + $$unique; \
  70974. + fi; \
  70975. fi
  70976. ctags: CTAGS
  70977. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  70978. $(TAGS_FILES) $(LISP)
  70979. - tags=; \
  70980. - here=`pwd`; \
  70981. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  70982. unique=`for i in $$list; do \
  70983. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  70984. done | \
  70985. - $(AWK) ' { files[$$0] = 1; } \
  70986. - END { for (i in files) print i; }'`; \
  70987. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  70988. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  70989. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  70990. + test -z "$(CTAGS_ARGS)$$unique" \
  70991. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  70992. - $$tags $$unique
  70993. + $$unique
  70994. GTAGS:
  70995. here=`$(am__cd) $(top_builddir) && pwd` \
  70996. - && cd $(top_srcdir) \
  70997. - && gtags -i $(GTAGS_ARGS) $$here
  70998. + && $(am__cd) $(top_srcdir) \
  70999. + && gtags -i $(GTAGS_ARGS) "$$here"
  71000. distclean-tags:
  71001. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  71002. distdir: $(DISTFILES)
  71003. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  71004. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  71005. - list='$(DISTFILES)'; for file in $$list; do \
  71006. - case $$file in \
  71007. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  71008. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  71009. - esac; \
  71010. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71011. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71012. + list='$(DISTFILES)'; \
  71013. + dist_files=`for file in $$list; do echo $$file; done | \
  71014. + sed -e "s|^$$srcdirstrip/||;t" \
  71015. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  71016. + case $$dist_files in \
  71017. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  71018. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  71019. + sort -u` ;; \
  71020. + esac; \
  71021. + for file in $$dist_files; do \
  71022. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  71023. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  71024. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  71025. - dir="/$$dir"; \
  71026. - $(mkdir_p) "$(distdir)$$dir"; \
  71027. - else \
  71028. - dir=''; \
  71029. - fi; \
  71030. if test -d $$d/$$file; then \
  71031. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  71032. + if test -d "$(distdir)/$$file"; then \
  71033. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71034. + fi; \
  71035. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  71036. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  71037. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  71038. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71039. fi; \
  71040. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  71041. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  71042. else \
  71043. - test -f $(distdir)/$$file \
  71044. - || cp -p $$d/$$file $(distdir)/$$file \
  71045. + test -f "$(distdir)/$$file" \
  71046. + || cp -p $$d/$$file "$(distdir)/$$file" \
  71047. || exit 1; \
  71048. fi; \
  71049. done
  71050. @@ -466,6 +417,7 @@
  71051. distclean-generic:
  71052. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  71053. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  71054. maintainer-clean-generic:
  71055. @echo "This command is intended for maintainers to use"
  71056. @@ -478,7 +430,7 @@
  71057. -rm -rf ./$(DEPDIR)
  71058. -rm -f Makefile
  71059. distclean-am: clean-am distclean-compile distclean-generic \
  71060. - distclean-libtool distclean-tags
  71061. + distclean-tags
  71062. dvi: dvi-am
  71063. @@ -486,18 +438,38 @@
  71064. html: html-am
  71065. +html-am:
  71066. +
  71067. info: info-am
  71068. info-am:
  71069. install-data-am:
  71070. +install-dvi: install-dvi-am
  71071. +
  71072. +install-dvi-am:
  71073. +
  71074. install-exec-am:
  71075. +install-html: install-html-am
  71076. +
  71077. +install-html-am:
  71078. +
  71079. install-info: install-info-am
  71080. +install-info-am:
  71081. +
  71082. install-man:
  71083. +install-pdf: install-pdf-am
  71084. +
  71085. +install-pdf-am:
  71086. +
  71087. +install-ps: install-ps-am
  71088. +
  71089. +install-ps-am:
  71090. +
  71091. installcheck-am:
  71092. maintainer-clean: maintainer-clean-am
  71093. @@ -518,21 +490,26 @@
  71094. ps-am:
  71095. -uninstall-am: uninstall-info-am
  71096. +uninstall-am:
  71097. +
  71098. +.MAKE: install-am install-strip
  71099. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  71100. clean-libtool ctags distclean distclean-compile \
  71101. distclean-generic distclean-libtool distclean-tags distdir dvi \
  71102. dvi-am html html-am info info-am install install-am \
  71103. - install-data install-data-am install-exec install-exec-am \
  71104. - install-info install-info-am install-man install-strip \
  71105. + install-data install-data-am install-dvi install-dvi-am \
  71106. + install-exec install-exec-am install-html install-html-am \
  71107. + install-info install-info-am install-man install-pdf \
  71108. + install-pdf-am install-ps install-ps-am install-strip \
  71109. installcheck installcheck-am installdirs maintainer-clean \
  71110. maintainer-clean-generic mostlyclean mostlyclean-compile \
  71111. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  71112. - tags uninstall uninstall-am uninstall-info-am
  71113. + tags uninstall uninstall-am
  71114. all: libcontrol.la
  71115. +
  71116. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  71117. # Otherwise a system limit (for SysV at least) may be exceeded.
  71118. .NOEXPORT:
  71119. diff -Nur alsa-lib-1.0.22.orig/src/hwdep/Makefile.in alsa-lib-1.0.22/src/hwdep/Makefile.in
  71120. --- alsa-lib-1.0.22.orig/src/hwdep/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  71121. +++ alsa-lib-1.0.22/src/hwdep/Makefile.in 2011-02-24 20:33:15.563557104 +0100
  71122. @@ -1,8 +1,9 @@
  71123. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  71124. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  71125. # @configure_input@
  71126. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  71127. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  71128. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  71129. +# Inc.
  71130. # This Makefile.in is free software; the Free Software Foundation
  71131. # gives unlimited permission to copy and/or distribute it,
  71132. # with or without modifications, as long as this notice is preserved.
  71133. @@ -14,15 +15,12 @@
  71134. @SET_MAKE@
  71135. -srcdir = @srcdir@
  71136. -top_srcdir = @top_srcdir@
  71137. VPATH = @srcdir@
  71138. pkgdatadir = $(datadir)/@PACKAGE@
  71139. -pkglibdir = $(libdir)/@PACKAGE@
  71140. pkgincludedir = $(includedir)/@PACKAGE@
  71141. -top_builddir = ../..
  71142. +pkglibdir = $(libdir)/@PACKAGE@
  71143. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  71144. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  71145. -INSTALL = @INSTALL@
  71146. install_sh_DATA = $(install_sh) -c -m 644
  71147. install_sh_PROGRAM = $(install_sh) -c
  71148. install_sh_SCRIPT = $(install_sh) -c
  71149. @@ -40,27 +38,49 @@
  71150. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  71151. $(srcdir)/Makefile.in
  71152. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  71153. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  71154. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  71155. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  71156. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  71157. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  71158. $(top_srcdir)/configure.in
  71159. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  71160. $(ACLOCAL_M4)
  71161. mkinstalldirs = $(install_sh) -d
  71162. CONFIG_HEADER = $(top_builddir)/include/config.h
  71163. CONFIG_CLEAN_FILES =
  71164. +CONFIG_CLEAN_VPATH_FILES =
  71165. libhwdep_la_LIBADD =
  71166. am_libhwdep_la_OBJECTS = hwdep.lo hwdep_hw.lo hwdep_symbols.lo
  71167. libhwdep_la_OBJECTS = $(am_libhwdep_la_OBJECTS)
  71168. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  71169. +AM_V_lt = $(am__v_lt_$(V))
  71170. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  71171. +am__v_lt_0 = --silent
  71172. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  71173. depcomp = $(SHELL) $(top_srcdir)/depcomp
  71174. am__depfiles_maybe = depfiles
  71175. +am__mv = mv -f
  71176. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  71177. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  71178. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  71179. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  71180. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  71181. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  71182. $(AM_CFLAGS) $(CFLAGS)
  71183. +AM_V_CC = $(am__v_CC_$(V))
  71184. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  71185. +am__v_CC_0 = @echo " CC " $@;
  71186. +AM_V_at = $(am__v_at_$(V))
  71187. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  71188. +am__v_at_0 = @
  71189. CCLD = $(CC)
  71190. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  71191. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  71192. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  71193. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  71194. +AM_V_CCLD = $(am__v_CCLD_$(V))
  71195. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  71196. +am__v_CCLD_0 = @echo " CCLD " $@;
  71197. +AM_V_GEN = $(am__v_GEN_$(V))
  71198. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  71199. +am__v_GEN_0 = @echo " GEN " $@;
  71200. SOURCES = $(libhwdep_la_SOURCES)
  71201. DIST_SOURCES = $(libhwdep_la_SOURCES)
  71202. HEADERS = $(noinst_HEADERS)
  71203. @@ -70,143 +90,66 @@
  71204. ACLOCAL = @ACLOCAL@
  71205. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  71206. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  71207. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  71208. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  71209. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  71210. -AMDEP_FALSE = @AMDEP_FALSE@
  71211. -AMDEP_TRUE = @AMDEP_TRUE@
  71212. AMTAR = @AMTAR@
  71213. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  71214. AR = @AR@
  71215. AUTOCONF = @AUTOCONF@
  71216. AUTOHEADER = @AUTOHEADER@
  71217. AUTOMAKE = @AUTOMAKE@
  71218. AWK = @AWK@
  71219. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  71220. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  71221. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  71222. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  71223. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  71224. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  71225. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  71226. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  71227. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  71228. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  71229. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  71230. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  71231. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  71232. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  71233. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  71234. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  71235. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  71236. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  71237. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  71238. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  71239. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  71240. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  71241. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  71242. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  71243. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  71244. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  71245. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  71246. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  71247. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  71248. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  71249. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  71250. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  71251. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  71252. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  71253. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  71254. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  71255. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  71256. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  71257. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  71258. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  71259. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  71260. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  71261. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  71262. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  71263. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  71264. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  71265. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  71266. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  71267. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  71268. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  71269. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  71270. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  71271. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  71272. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  71273. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  71274. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  71275. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  71276. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  71277. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  71278. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  71279. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  71280. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  71281. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  71282. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  71283. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  71284. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  71285. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  71286. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  71287. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  71288. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  71289. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  71290. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  71291. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  71292. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  71293. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  71294. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  71295. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  71296. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  71297. CC = @CC@
  71298. CCDEPMODE = @CCDEPMODE@
  71299. CFLAGS = @CFLAGS@
  71300. CPP = @CPP@
  71301. CPPFLAGS = @CPPFLAGS@
  71302. -CXX = @CXX@
  71303. -CXXCPP = @CXXCPP@
  71304. -CXXDEPMODE = @CXXDEPMODE@
  71305. -CXXFLAGS = @CXXFLAGS@
  71306. CYGPATH_W = @CYGPATH_W@
  71307. DEFS = @DEFS@
  71308. DEPDIR = @DEPDIR@
  71309. -ECHO = @ECHO@
  71310. +DSYMUTIL = @DSYMUTIL@
  71311. +DUMPBIN = @DUMPBIN@
  71312. ECHO_C = @ECHO_C@
  71313. ECHO_N = @ECHO_N@
  71314. ECHO_T = @ECHO_T@
  71315. EGREP = @EGREP@
  71316. EXEEXT = @EXEEXT@
  71317. -F77 = @F77@
  71318. -FFLAGS = @FFLAGS@
  71319. +FGREP = @FGREP@
  71320. GREP = @GREP@
  71321. +INSTALL = @INSTALL@
  71322. INSTALL_DATA = @INSTALL_DATA@
  71323. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  71324. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  71325. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  71326. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  71327. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  71328. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  71329. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  71330. +LD = @LD@
  71331. LDFLAGS = @LDFLAGS@
  71332. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  71333. LIBOBJS = @LIBOBJS@
  71334. LIBS = @LIBS@
  71335. LIBTOOL = @LIBTOOL@
  71336. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  71337. +LIPO = @LIPO@
  71338. LN_S = @LN_S@
  71339. LTLIBOBJS = @LTLIBOBJS@
  71340. MAKEINFO = @MAKEINFO@
  71341. +MKDIR_P = @MKDIR_P@
  71342. +NM = @NM@
  71343. +NMEDIT = @NMEDIT@
  71344. +OBJDUMP = @OBJDUMP@
  71345. OBJEXT = @OBJEXT@
  71346. +OTOOL = @OTOOL@
  71347. +OTOOL64 = @OTOOL64@
  71348. PACKAGE = @PACKAGE@
  71349. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  71350. PACKAGE_NAME = @PACKAGE_NAME@
  71351. PACKAGE_STRING = @PACKAGE_STRING@
  71352. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  71353. +PACKAGE_URL = @PACKAGE_URL@
  71354. PACKAGE_VERSION = @PACKAGE_VERSION@
  71355. PATH_SEPARATOR = @PATH_SEPARATOR@
  71356. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  71357. PYTHON_LIBS = @PYTHON_LIBS@
  71358. RANLIB = @RANLIB@
  71359. +SED = @SED@
  71360. SET_MAKE = @SET_MAKE@
  71361. SHELL = @SHELL@
  71362. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  71363. @@ -215,19 +158,14 @@
  71364. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  71365. SND_LIB_VERSION = @SND_LIB_VERSION@
  71366. STRIP = @STRIP@
  71367. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  71368. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  71369. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  71370. VERSION = @VERSION@
  71371. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  71372. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  71373. +abs_builddir = @abs_builddir@
  71374. +abs_srcdir = @abs_srcdir@
  71375. +abs_top_builddir = @abs_top_builddir@
  71376. +abs_top_srcdir = @abs_top_srcdir@
  71377. ac_ct_CC = @ac_ct_CC@
  71378. -ac_ct_CXX = @ac_ct_CXX@
  71379. -ac_ct_F77 = @ac_ct_F77@
  71380. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  71381. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  71382. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  71383. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  71384. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  71385. am__include = @am__include@
  71386. am__leading_dot = @am__leading_dot@
  71387. am__quote = @am__quote@
  71388. @@ -239,6 +177,7 @@
  71389. build_cpu = @build_cpu@
  71390. build_os = @build_os@
  71391. build_vendor = @build_vendor@
  71392. +builddir = @builddir@
  71393. datadir = @datadir@
  71394. datarootdir = @datarootdir@
  71395. docdir = @docdir@
  71396. @@ -257,6 +196,7 @@
  71397. libexecdir = @libexecdir@
  71398. localedir = @localedir@
  71399. localstatedir = @localstatedir@
  71400. +lt_ECHO = @lt_ECHO@
  71401. mandir = @mandir@
  71402. mkdir_p = @mkdir_p@
  71403. oldincludedir = @oldincludedir@
  71404. @@ -266,8 +206,12 @@
  71405. psdir = @psdir@
  71406. sbindir = @sbindir@
  71407. sharedstatedir = @sharedstatedir@
  71408. +srcdir = @srcdir@
  71409. sysconfdir = @sysconfdir@
  71410. target_alias = @target_alias@
  71411. +top_build_prefix = @top_build_prefix@
  71412. +top_builddir = @top_builddir@
  71413. +top_srcdir = @top_srcdir@
  71414. EXTRA_LTLIBRARIES = libhwdep.la
  71415. libhwdep_la_SOURCES = hwdep.c hwdep_hw.c hwdep_symbols.c
  71416. noinst_HEADERS = hwdep_local.h
  71417. @@ -280,14 +224,14 @@
  71418. @for dep in $?; do \
  71419. case '$(am__configure_deps)' in \
  71420. *$$dep*) \
  71421. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  71422. - && exit 0; \
  71423. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  71424. + && { if test -f $@; then exit 0; else break; fi; }; \
  71425. exit 1;; \
  71426. esac; \
  71427. done; \
  71428. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/hwdep/Makefile'; \
  71429. - cd $(top_srcdir) && \
  71430. - $(AUTOMAKE) --foreign src/hwdep/Makefile
  71431. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/hwdep/Makefile'; \
  71432. + $(am__cd) $(top_srcdir) && \
  71433. + $(AUTOMAKE) --gnu src/hwdep/Makefile
  71434. .PRECIOUS: Makefile
  71435. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  71436. @case '$?' in \
  71437. @@ -305,8 +249,9 @@
  71438. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71439. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  71440. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71441. +$(am__aclocal_m4_deps):
  71442. libhwdep.la: $(libhwdep_la_OBJECTS) $(libhwdep_la_DEPENDENCIES)
  71443. - $(LINK) $(libhwdep_la_LDFLAGS) $(libhwdep_la_OBJECTS) $(libhwdep_la_LIBADD) $(LIBS)
  71444. + $(AM_V_CCLD)$(LINK) $(libhwdep_la_OBJECTS) $(libhwdep_la_LIBADD) $(LIBS)
  71445. mostlyclean-compile:
  71446. -rm -f *.$(OBJEXT)
  71447. @@ -319,22 +264,25 @@
  71448. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hwdep_symbols.Plo@am__quote@
  71449. .c.o:
  71450. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  71451. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  71452. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  71453. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  71454. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  71455. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  71456. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  71457. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  71458. .c.obj:
  71459. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  71460. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  71461. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  71462. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  71463. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  71464. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  71465. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  71466. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  71467. .c.lo:
  71468. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  71469. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  71470. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  71471. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  71472. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  71473. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  71474. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  71475. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  71476. @@ -345,82 +293,85 @@
  71477. clean-libtool:
  71478. -rm -rf .libs _libs
  71479. -distclean-libtool:
  71480. - -rm -f libtool
  71481. -uninstall-info-am:
  71482. -
  71483. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  71484. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  71485. unique=`for i in $$list; do \
  71486. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  71487. done | \
  71488. - $(AWK) ' { files[$$0] = 1; } \
  71489. - END { for (i in files) print i; }'`; \
  71490. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  71491. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  71492. mkid -fID $$unique
  71493. tags: TAGS
  71494. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  71495. $(TAGS_FILES) $(LISP)
  71496. - tags=; \
  71497. + set x; \
  71498. here=`pwd`; \
  71499. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  71500. unique=`for i in $$list; do \
  71501. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  71502. done | \
  71503. - $(AWK) ' { files[$$0] = 1; } \
  71504. - END { for (i in files) print i; }'`; \
  71505. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  71506. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  71507. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  71508. + shift; \
  71509. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  71510. test -n "$$unique" || unique=$$empty_fix; \
  71511. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  71512. - $$tags $$unique; \
  71513. + if test $$# -gt 0; then \
  71514. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  71515. + "$$@" $$unique; \
  71516. + else \
  71517. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  71518. + $$unique; \
  71519. + fi; \
  71520. fi
  71521. ctags: CTAGS
  71522. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  71523. $(TAGS_FILES) $(LISP)
  71524. - tags=; \
  71525. - here=`pwd`; \
  71526. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  71527. unique=`for i in $$list; do \
  71528. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  71529. done | \
  71530. - $(AWK) ' { files[$$0] = 1; } \
  71531. - END { for (i in files) print i; }'`; \
  71532. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  71533. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  71534. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  71535. + test -z "$(CTAGS_ARGS)$$unique" \
  71536. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  71537. - $$tags $$unique
  71538. + $$unique
  71539. GTAGS:
  71540. here=`$(am__cd) $(top_builddir) && pwd` \
  71541. - && cd $(top_srcdir) \
  71542. - && gtags -i $(GTAGS_ARGS) $$here
  71543. + && $(am__cd) $(top_srcdir) \
  71544. + && gtags -i $(GTAGS_ARGS) "$$here"
  71545. distclean-tags:
  71546. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  71547. distdir: $(DISTFILES)
  71548. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  71549. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  71550. - list='$(DISTFILES)'; for file in $$list; do \
  71551. - case $$file in \
  71552. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  71553. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  71554. - esac; \
  71555. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71556. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71557. + list='$(DISTFILES)'; \
  71558. + dist_files=`for file in $$list; do echo $$file; done | \
  71559. + sed -e "s|^$$srcdirstrip/||;t" \
  71560. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  71561. + case $$dist_files in \
  71562. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  71563. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  71564. + sort -u` ;; \
  71565. + esac; \
  71566. + for file in $$dist_files; do \
  71567. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  71568. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  71569. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  71570. - dir="/$$dir"; \
  71571. - $(mkdir_p) "$(distdir)$$dir"; \
  71572. - else \
  71573. - dir=''; \
  71574. - fi; \
  71575. if test -d $$d/$$file; then \
  71576. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  71577. + if test -d "$(distdir)/$$file"; then \
  71578. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71579. + fi; \
  71580. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  71581. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  71582. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  71583. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71584. fi; \
  71585. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  71586. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  71587. else \
  71588. - test -f $(distdir)/$$file \
  71589. - || cp -p $$d/$$file $(distdir)/$$file \
  71590. + test -f "$(distdir)/$$file" \
  71591. + || cp -p $$d/$$file "$(distdir)/$$file" \
  71592. || exit 1; \
  71593. fi; \
  71594. done
  71595. @@ -448,6 +399,7 @@
  71596. distclean-generic:
  71597. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  71598. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  71599. maintainer-clean-generic:
  71600. @echo "This command is intended for maintainers to use"
  71601. @@ -460,7 +412,7 @@
  71602. -rm -rf ./$(DEPDIR)
  71603. -rm -f Makefile
  71604. distclean-am: clean-am distclean-compile distclean-generic \
  71605. - distclean-libtool distclean-tags
  71606. + distclean-tags
  71607. dvi: dvi-am
  71608. @@ -468,18 +420,38 @@
  71609. html: html-am
  71610. +html-am:
  71611. +
  71612. info: info-am
  71613. info-am:
  71614. install-data-am:
  71615. +install-dvi: install-dvi-am
  71616. +
  71617. +install-dvi-am:
  71618. +
  71619. install-exec-am:
  71620. +install-html: install-html-am
  71621. +
  71622. +install-html-am:
  71623. +
  71624. install-info: install-info-am
  71625. +install-info-am:
  71626. +
  71627. install-man:
  71628. +install-pdf: install-pdf-am
  71629. +
  71630. +install-pdf-am:
  71631. +
  71632. +install-ps: install-ps-am
  71633. +
  71634. +install-ps-am:
  71635. +
  71636. installcheck-am:
  71637. maintainer-clean: maintainer-clean-am
  71638. @@ -500,20 +472,25 @@
  71639. ps-am:
  71640. -uninstall-am: uninstall-info-am
  71641. +uninstall-am:
  71642. +
  71643. +.MAKE: install-am install-strip
  71644. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  71645. clean-libtool ctags distclean distclean-compile \
  71646. distclean-generic distclean-libtool distclean-tags distdir dvi \
  71647. dvi-am html html-am info info-am install install-am \
  71648. - install-data install-data-am install-exec install-exec-am \
  71649. - install-info install-info-am install-man install-strip \
  71650. + install-data install-data-am install-dvi install-dvi-am \
  71651. + install-exec install-exec-am install-html install-html-am \
  71652. + install-info install-info-am install-man install-pdf \
  71653. + install-pdf-am install-ps install-ps-am install-strip \
  71654. installcheck installcheck-am installdirs maintainer-clean \
  71655. maintainer-clean-generic mostlyclean mostlyclean-compile \
  71656. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  71657. - tags uninstall uninstall-am uninstall-info-am
  71658. + tags uninstall uninstall-am
  71659. all: libhwdep.la
  71660. +
  71661. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  71662. # Otherwise a system limit (for SysV at least) may be exceeded.
  71663. .NOEXPORT:
  71664. diff -Nur alsa-lib-1.0.22.orig/src/Makefile.in alsa-lib-1.0.22/src/Makefile.in
  71665. --- alsa-lib-1.0.22.orig/src/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  71666. +++ alsa-lib-1.0.22/src/Makefile.in 2011-02-24 20:33:15.193551866 +0100
  71667. @@ -1,8 +1,9 @@
  71668. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  71669. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  71670. # @configure_input@
  71671. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  71672. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  71673. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  71674. +# Inc.
  71675. # This Makefile.in is free software; the Free Software Foundation
  71676. # gives unlimited permission to copy and/or distribute it,
  71677. # with or without modifications, as long as this notice is preserved.
  71678. @@ -14,15 +15,12 @@
  71679. @SET_MAKE@
  71680. -srcdir = @srcdir@
  71681. -top_srcdir = @top_srcdir@
  71682. VPATH = @srcdir@
  71683. pkgdatadir = $(datadir)/@PACKAGE@
  71684. -pkglibdir = $(libdir)/@PACKAGE@
  71685. pkgincludedir = $(includedir)/@PACKAGE@
  71686. -top_builddir = ..
  71687. +pkglibdir = $(libdir)/@PACKAGE@
  71688. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  71689. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  71690. -INSTALL = @INSTALL@
  71691. install_sh_DATA = $(install_sh) -c -m 644
  71692. install_sh_PROGRAM = $(install_sh) -c
  71693. install_sh_SCRIPT = $(install_sh) -c
  71694. @@ -52,201 +50,186 @@
  71695. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  71696. $(srcdir)/Versions.in
  71697. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  71698. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  71699. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  71700. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  71701. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  71702. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  71703. $(top_srcdir)/configure.in
  71704. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  71705. $(ACLOCAL_M4)
  71706. mkinstalldirs = $(install_sh) -d
  71707. CONFIG_HEADER = $(top_builddir)/include/config.h
  71708. CONFIG_CLEAN_FILES = Versions
  71709. +CONFIG_CLEAN_VPATH_FILES =
  71710. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  71711. am__vpath_adj = case $$p in \
  71712. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  71713. *) f=$$p;; \
  71714. esac;
  71715. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  71716. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  71717. +am__install_max = 40
  71718. +am__nobase_strip_setup = \
  71719. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  71720. +am__nobase_strip = \
  71721. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  71722. +am__nobase_list = $(am__nobase_strip_setup); \
  71723. + for p in $$list; do echo "$$p $$p"; done | \
  71724. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  71725. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  71726. + if (++n[$$2] == $(am__install_max)) \
  71727. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  71728. + END { for (dir in files) print dir, files[dir] }'
  71729. +am__base_list = \
  71730. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  71731. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  71732. am__installdirs = "$(DESTDIR)$(libdir)"
  71733. -libLTLIBRARIES_INSTALL = $(INSTALL)
  71734. LTLIBRARIES = $(lib_LTLIBRARIES)
  71735. -@BUILD_MIXER_TRUE@am__DEPENDENCIES_1 = mixer/libmixer.la
  71736. -@BUILD_PCM_TRUE@am__DEPENDENCIES_2 = pcm/libpcm.la timer/libtimer.la
  71737. -@BUILD_RAWMIDI_TRUE@am__DEPENDENCIES_3 = rawmidi/librawmidi.la
  71738. -@BUILD_HWDEP_TRUE@am__DEPENDENCIES_4 = hwdep/libhwdep.la
  71739. -@BUILD_SEQ_TRUE@am__DEPENDENCIES_5 = seq/libseq.la
  71740. -@BUILD_ALISP_TRUE@am__DEPENDENCIES_6 = alisp/libalisp.la
  71741. -libasound_la_DEPENDENCIES = control/libcontrol.la \
  71742. - $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
  71743. - $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) \
  71744. - $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) \
  71745. - compat/libcompat.la
  71746. +libasound_la_DEPENDENCIES = control/libcontrol.la $(am__append_2) \
  71747. + $(am__append_4) $(am__append_6) $(am__append_8) \
  71748. + $(am__append_10) $(am__append_12) compat/libcompat.la
  71749. am_libasound_la_OBJECTS = conf.lo confmisc.lo input.lo output.lo \
  71750. async.lo error.lo dlmisc.lo socket.lo shmarea.lo userfile.lo \
  71751. names.lo
  71752. libasound_la_OBJECTS = $(am_libasound_la_OBJECTS)
  71753. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  71754. +AM_V_lt = $(am__v_lt_$(V))
  71755. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  71756. +am__v_lt_0 = --silent
  71757. +libasound_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  71758. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  71759. + $(libasound_la_LDFLAGS) $(LDFLAGS) -o $@
  71760. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  71761. depcomp = $(SHELL) $(top_srcdir)/depcomp
  71762. am__depfiles_maybe = depfiles
  71763. +am__mv = mv -f
  71764. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  71765. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  71766. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  71767. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  71768. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  71769. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  71770. $(AM_CFLAGS) $(CFLAGS)
  71771. +AM_V_CC = $(am__v_CC_$(V))
  71772. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  71773. +am__v_CC_0 = @echo " CC " $@;
  71774. +AM_V_at = $(am__v_at_$(V))
  71775. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  71776. +am__v_at_0 = @
  71777. CCLD = $(CC)
  71778. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  71779. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  71780. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  71781. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  71782. +AM_V_CCLD = $(am__v_CCLD_$(V))
  71783. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  71784. +am__v_CCLD_0 = @echo " CCLD " $@;
  71785. +AM_V_GEN = $(am__v_GEN_$(V))
  71786. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  71787. +am__v_GEN_0 = @echo " GEN " $@;
  71788. SOURCES = $(libasound_la_SOURCES)
  71789. DIST_SOURCES = $(libasound_la_SOURCES)
  71790. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  71791. html-recursive info-recursive install-data-recursive \
  71792. - install-exec-recursive install-info-recursive \
  71793. - install-recursive installcheck-recursive installdirs-recursive \
  71794. - pdf-recursive ps-recursive uninstall-info-recursive \
  71795. - uninstall-recursive
  71796. + install-dvi-recursive install-exec-recursive \
  71797. + install-html-recursive install-info-recursive \
  71798. + install-pdf-recursive install-ps-recursive install-recursive \
  71799. + installcheck-recursive installdirs-recursive pdf-recursive \
  71800. + ps-recursive uninstall-recursive
  71801. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  71802. + distclean-recursive maintainer-clean-recursive
  71803. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  71804. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  71805. + distdir
  71806. ETAGS = etags
  71807. CTAGS = ctags
  71808. DIST_SUBDIRS = control mixer pcm timer rawmidi hwdep seq alisp compat \
  71809. conf
  71810. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  71811. +am__relativize = \
  71812. + dir0=`pwd`; \
  71813. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  71814. + sed_rest='s,^[^/]*/*,,'; \
  71815. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  71816. + sed_butlast='s,/*[^/]*$$,,'; \
  71817. + while test -n "$$dir1"; do \
  71818. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  71819. + if test "$$first" != "."; then \
  71820. + if test "$$first" = ".."; then \
  71821. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  71822. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  71823. + else \
  71824. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  71825. + if test "$$first2" = "$$first"; then \
  71826. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  71827. + else \
  71828. + dir2="../$$dir2"; \
  71829. + fi; \
  71830. + dir0="$$dir0"/"$$first"; \
  71831. + fi; \
  71832. + fi; \
  71833. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  71834. + done; \
  71835. + reldir="$$dir2"
  71836. ACLOCAL = @ACLOCAL@
  71837. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  71838. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  71839. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  71840. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  71841. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  71842. -AMDEP_FALSE = @AMDEP_FALSE@
  71843. -AMDEP_TRUE = @AMDEP_TRUE@
  71844. AMTAR = @AMTAR@
  71845. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  71846. AR = @AR@
  71847. AUTOCONF = @AUTOCONF@
  71848. AUTOHEADER = @AUTOHEADER@
  71849. AUTOMAKE = @AUTOMAKE@
  71850. AWK = @AWK@
  71851. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  71852. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  71853. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  71854. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  71855. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  71856. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  71857. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  71858. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  71859. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  71860. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  71861. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  71862. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  71863. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  71864. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  71865. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  71866. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  71867. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  71868. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  71869. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  71870. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  71871. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  71872. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  71873. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  71874. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  71875. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  71876. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  71877. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  71878. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  71879. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  71880. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  71881. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  71882. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  71883. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  71884. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  71885. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  71886. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  71887. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  71888. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  71889. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  71890. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  71891. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  71892. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  71893. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  71894. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  71895. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  71896. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  71897. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  71898. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  71899. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  71900. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  71901. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  71902. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  71903. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  71904. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  71905. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  71906. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  71907. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  71908. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  71909. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  71910. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  71911. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  71912. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  71913. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  71914. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  71915. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  71916. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  71917. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  71918. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  71919. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  71920. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  71921. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  71922. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  71923. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  71924. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  71925. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  71926. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  71927. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  71928. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  71929. CC = @CC@
  71930. CCDEPMODE = @CCDEPMODE@
  71931. CFLAGS = @CFLAGS@
  71932. CPP = @CPP@
  71933. CPPFLAGS = @CPPFLAGS@
  71934. -CXX = @CXX@
  71935. -CXXCPP = @CXXCPP@
  71936. -CXXDEPMODE = @CXXDEPMODE@
  71937. -CXXFLAGS = @CXXFLAGS@
  71938. CYGPATH_W = @CYGPATH_W@
  71939. DEFS = @DEFS@
  71940. DEPDIR = @DEPDIR@
  71941. -ECHO = @ECHO@
  71942. +DSYMUTIL = @DSYMUTIL@
  71943. +DUMPBIN = @DUMPBIN@
  71944. ECHO_C = @ECHO_C@
  71945. ECHO_N = @ECHO_N@
  71946. ECHO_T = @ECHO_T@
  71947. EGREP = @EGREP@
  71948. EXEEXT = @EXEEXT@
  71949. -F77 = @F77@
  71950. -FFLAGS = @FFLAGS@
  71951. +FGREP = @FGREP@
  71952. GREP = @GREP@
  71953. +INSTALL = @INSTALL@
  71954. INSTALL_DATA = @INSTALL_DATA@
  71955. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  71956. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  71957. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  71958. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  71959. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  71960. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  71961. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  71962. +LD = @LD@
  71963. LDFLAGS = @LDFLAGS@
  71964. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  71965. LIBOBJS = @LIBOBJS@
  71966. LIBS = @LIBS@
  71967. LIBTOOL = @LIBTOOL@
  71968. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  71969. +LIPO = @LIPO@
  71970. LN_S = @LN_S@
  71971. LTLIBOBJS = @LTLIBOBJS@
  71972. MAKEINFO = @MAKEINFO@
  71973. +MKDIR_P = @MKDIR_P@
  71974. +NM = @NM@
  71975. +NMEDIT = @NMEDIT@
  71976. +OBJDUMP = @OBJDUMP@
  71977. OBJEXT = @OBJEXT@
  71978. +OTOOL = @OTOOL@
  71979. +OTOOL64 = @OTOOL64@
  71980. PACKAGE = @PACKAGE@
  71981. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  71982. PACKAGE_NAME = @PACKAGE_NAME@
  71983. PACKAGE_STRING = @PACKAGE_STRING@
  71984. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  71985. +PACKAGE_URL = @PACKAGE_URL@
  71986. PACKAGE_VERSION = @PACKAGE_VERSION@
  71987. PATH_SEPARATOR = @PATH_SEPARATOR@
  71988. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  71989. PYTHON_LIBS = @PYTHON_LIBS@
  71990. RANLIB = @RANLIB@
  71991. +SED = @SED@
  71992. SET_MAKE = @SET_MAKE@
  71993. SHELL = @SHELL@
  71994. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  71995. @@ -255,19 +238,14 @@
  71996. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  71997. SND_LIB_VERSION = @SND_LIB_VERSION@
  71998. STRIP = @STRIP@
  71999. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  72000. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  72001. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  72002. VERSION = @VERSION@
  72003. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  72004. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  72005. +abs_builddir = @abs_builddir@
  72006. +abs_srcdir = @abs_srcdir@
  72007. +abs_top_builddir = @abs_top_builddir@
  72008. +abs_top_srcdir = @abs_top_srcdir@
  72009. ac_ct_CC = @ac_ct_CC@
  72010. -ac_ct_CXX = @ac_ct_CXX@
  72011. -ac_ct_F77 = @ac_ct_F77@
  72012. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  72013. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  72014. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  72015. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  72016. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  72017. am__include = @am__include@
  72018. am__leading_dot = @am__leading_dot@
  72019. am__quote = @am__quote@
  72020. @@ -279,6 +257,7 @@
  72021. build_cpu = @build_cpu@
  72022. build_os = @build_os@
  72023. build_vendor = @build_vendor@
  72024. +builddir = @builddir@
  72025. datadir = @datadir@
  72026. datarootdir = @datarootdir@
  72027. docdir = @docdir@
  72028. @@ -297,6 +276,7 @@
  72029. libexecdir = @libexecdir@
  72030. localedir = @localedir@
  72031. localstatedir = @localstatedir@
  72032. +lt_ECHO = @lt_ECHO@
  72033. mandir = @mandir@
  72034. mkdir_p = @mkdir_p@
  72035. oldincludedir = @oldincludedir@
  72036. @@ -306,8 +286,12 @@
  72037. psdir = @psdir@
  72038. sbindir = @sbindir@
  72039. sharedstatedir = @sharedstatedir@
  72040. +srcdir = @srcdir@
  72041. sysconfdir = @sysconfdir@
  72042. target_alias = @target_alias@
  72043. +top_build_prefix = @top_build_prefix@
  72044. +top_builddir = @top_builddir@
  72045. +top_srcdir = @top_srcdir@
  72046. EXTRA_DIST = Versions
  72047. COMPATNUM = @LIBTOOL_VERSION_INFO@
  72048. @VERSIONED_SYMBOLS_FALSE@VSYMS =
  72049. @@ -332,14 +316,14 @@
  72050. @for dep in $?; do \
  72051. case '$(am__configure_deps)' in \
  72052. *$$dep*) \
  72053. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  72054. - && exit 0; \
  72055. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  72056. + && { if test -f $@; then exit 0; else break; fi; }; \
  72057. exit 1;; \
  72058. esac; \
  72059. done; \
  72060. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
  72061. - cd $(top_srcdir) && \
  72062. - $(AUTOMAKE) --foreign src/Makefile
  72063. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
  72064. + $(am__cd) $(top_srcdir) && \
  72065. + $(AUTOMAKE) --gnu src/Makefile
  72066. .PRECIOUS: Makefile
  72067. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  72068. @case '$?' in \
  72069. @@ -357,25 +341,30 @@
  72070. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72071. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  72072. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72073. +$(am__aclocal_m4_deps):
  72074. Versions: $(top_builddir)/config.status $(srcdir)/Versions.in
  72075. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  72076. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  72077. @$(NORMAL_INSTALL)
  72078. - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
  72079. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  72080. + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  72081. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  72082. + list2=; for p in $$list; do \
  72083. if test -f $$p; then \
  72084. - f=$(am__strip_dir) \
  72085. - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  72086. - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  72087. + list2="$$list2 $$p"; \
  72088. else :; fi; \
  72089. - done
  72090. + done; \
  72091. + test -z "$$list2" || { \
  72092. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  72093. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  72094. + }
  72095. uninstall-libLTLIBRARIES:
  72096. @$(NORMAL_UNINSTALL)
  72097. - @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  72098. - p=$(am__strip_dir) \
  72099. - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  72100. - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  72101. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  72102. + for p in $$list; do \
  72103. + $(am__strip_dir) \
  72104. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  72105. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  72106. done
  72107. clean-libLTLIBRARIES:
  72108. @@ -387,7 +376,7 @@
  72109. rm -f "$${dir}/so_locations"; \
  72110. done
  72111. libasound.la: $(libasound_la_OBJECTS) $(libasound_la_DEPENDENCIES)
  72112. - $(LINK) -rpath $(libdir) $(libasound_la_LDFLAGS) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS)
  72113. + $(AM_V_CCLD)$(libasound_la_LINK) -rpath $(libdir) $(libasound_la_OBJECTS) $(libasound_la_LIBADD) $(LIBS)
  72114. mostlyclean-compile:
  72115. -rm -f *.$(OBJEXT)
  72116. @@ -408,22 +397,25 @@
  72117. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/userfile.Plo@am__quote@
  72118. .c.o:
  72119. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  72120. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  72121. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  72122. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  72123. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  72124. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  72125. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  72126. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  72127. .c.obj:
  72128. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  72129. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  72130. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  72131. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  72132. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  72133. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  72134. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  72135. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  72136. .c.lo:
  72137. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  72138. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  72139. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  72140. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  72141. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  72142. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  72143. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  72144. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  72145. @@ -434,10 +426,6 @@
  72146. clean-libtool:
  72147. -rm -rf .libs _libs
  72148. -distclean-libtool:
  72149. - -rm -f libtool
  72150. -uninstall-info-am:
  72151. -
  72152. # This directory's subdirectories are mostly independent; you can cd
  72153. # into them and run `make' without going through this Makefile.
  72154. # To change the values of `make' variables: instead of editing Makefiles,
  72155. @@ -445,7 +433,7 @@
  72156. # (which will cause the Makefiles to be regenerated when you run `make');
  72157. # (2) otherwise, pass the desired values on the `make' command line.
  72158. $(RECURSIVE_TARGETS):
  72159. - @failcom='exit 1'; \
  72160. + @fail= failcom='exit 1'; \
  72161. for f in x $$MAKEFLAGS; do \
  72162. case $$f in \
  72163. *=* | --[!k]*);; \
  72164. @@ -462,16 +450,15 @@
  72165. else \
  72166. local_target="$$target"; \
  72167. fi; \
  72168. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72169. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72170. || eval $$failcom; \
  72171. done; \
  72172. if test "$$dot_seen" = "no"; then \
  72173. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  72174. fi; test -z "$$fail"
  72175. -mostlyclean-recursive clean-recursive distclean-recursive \
  72176. -maintainer-clean-recursive:
  72177. - @failcom='exit 1'; \
  72178. +$(RECURSIVE_CLEAN_TARGETS):
  72179. + @fail= failcom='exit 1'; \
  72180. for f in x $$MAKEFLAGS; do \
  72181. case $$f in \
  72182. *=* | --[!k]*);; \
  72183. @@ -497,16 +484,16 @@
  72184. else \
  72185. local_target="$$target"; \
  72186. fi; \
  72187. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72188. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72189. || eval $$failcom; \
  72190. done && test -z "$$fail"
  72191. tags-recursive:
  72192. list='$(SUBDIRS)'; for subdir in $$list; do \
  72193. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  72194. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  72195. done
  72196. ctags-recursive:
  72197. list='$(SUBDIRS)'; for subdir in $$list; do \
  72198. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  72199. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  72200. done
  72201. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  72202. @@ -514,14 +501,14 @@
  72203. unique=`for i in $$list; do \
  72204. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72205. done | \
  72206. - $(AWK) ' { files[$$0] = 1; } \
  72207. - END { for (i in files) print i; }'`; \
  72208. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72209. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72210. mkid -fID $$unique
  72211. tags: TAGS
  72212. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  72213. $(TAGS_FILES) $(LISP)
  72214. - tags=; \
  72215. + set x; \
  72216. here=`pwd`; \
  72217. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  72218. include_option=--etags-include; \
  72219. @@ -533,81 +520,101 @@
  72220. list='$(SUBDIRS)'; for subdir in $$list; do \
  72221. if test "$$subdir" = .; then :; else \
  72222. test ! -f $$subdir/TAGS || \
  72223. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  72224. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  72225. fi; \
  72226. done; \
  72227. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  72228. unique=`for i in $$list; do \
  72229. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72230. done | \
  72231. - $(AWK) ' { files[$$0] = 1; } \
  72232. - END { for (i in files) print i; }'`; \
  72233. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  72234. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72235. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72236. + shift; \
  72237. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  72238. test -n "$$unique" || unique=$$empty_fix; \
  72239. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72240. - $$tags $$unique; \
  72241. + if test $$# -gt 0; then \
  72242. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72243. + "$$@" $$unique; \
  72244. + else \
  72245. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72246. + $$unique; \
  72247. + fi; \
  72248. fi
  72249. ctags: CTAGS
  72250. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  72251. $(TAGS_FILES) $(LISP)
  72252. - tags=; \
  72253. - here=`pwd`; \
  72254. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  72255. unique=`for i in $$list; do \
  72256. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72257. done | \
  72258. - $(AWK) ' { files[$$0] = 1; } \
  72259. - END { for (i in files) print i; }'`; \
  72260. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  72261. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72262. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72263. + test -z "$(CTAGS_ARGS)$$unique" \
  72264. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  72265. - $$tags $$unique
  72266. + $$unique
  72267. GTAGS:
  72268. here=`$(am__cd) $(top_builddir) && pwd` \
  72269. - && cd $(top_srcdir) \
  72270. - && gtags -i $(GTAGS_ARGS) $$here
  72271. + && $(am__cd) $(top_srcdir) \
  72272. + && gtags -i $(GTAGS_ARGS) "$$here"
  72273. distclean-tags:
  72274. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  72275. distdir: $(DISTFILES)
  72276. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  72277. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  72278. - list='$(DISTFILES)'; for file in $$list; do \
  72279. - case $$file in \
  72280. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  72281. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  72282. - esac; \
  72283. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72284. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72285. + list='$(DISTFILES)'; \
  72286. + dist_files=`for file in $$list; do echo $$file; done | \
  72287. + sed -e "s|^$$srcdirstrip/||;t" \
  72288. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  72289. + case $$dist_files in \
  72290. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  72291. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  72292. + sort -u` ;; \
  72293. + esac; \
  72294. + for file in $$dist_files; do \
  72295. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  72296. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  72297. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  72298. - dir="/$$dir"; \
  72299. - $(mkdir_p) "$(distdir)$$dir"; \
  72300. - else \
  72301. - dir=''; \
  72302. - fi; \
  72303. if test -d $$d/$$file; then \
  72304. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  72305. + if test -d "$(distdir)/$$file"; then \
  72306. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72307. + fi; \
  72308. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  72309. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  72310. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  72311. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72312. fi; \
  72313. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  72314. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  72315. else \
  72316. - test -f $(distdir)/$$file \
  72317. - || cp -p $$d/$$file $(distdir)/$$file \
  72318. + test -f "$(distdir)/$$file" \
  72319. + || cp -p $$d/$$file "$(distdir)/$$file" \
  72320. || exit 1; \
  72321. fi; \
  72322. done
  72323. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  72324. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  72325. if test "$$subdir" = .; then :; else \
  72326. test -d "$(distdir)/$$subdir" \
  72327. - || $(mkdir_p) "$(distdir)/$$subdir" \
  72328. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  72329. || exit 1; \
  72330. - distdir=`$(am__cd) $(distdir) && pwd`; \
  72331. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  72332. - (cd $$subdir && \
  72333. + fi; \
  72334. + done
  72335. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  72336. + if test "$$subdir" = .; then :; else \
  72337. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  72338. + $(am__relativize); \
  72339. + new_distdir=$$reldir; \
  72340. + dir1=$$subdir; dir2="$(top_distdir)"; \
  72341. + $(am__relativize); \
  72342. + new_top_distdir=$$reldir; \
  72343. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  72344. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  72345. + ($(am__cd) $$subdir && \
  72346. $(MAKE) $(AM_MAKEFLAGS) \
  72347. - top_distdir="$$top_distdir" \
  72348. - distdir="$$distdir/$$subdir" \
  72349. + top_distdir="$$new_top_distdir" \
  72350. + distdir="$$new_distdir" \
  72351. + am__remove_distdir=: \
  72352. + am__skip_length_check=: \
  72353. + am__skip_mode_fix=: \
  72354. distdir) \
  72355. || exit 1; \
  72356. fi; \
  72357. @@ -618,7 +625,7 @@
  72358. installdirs: installdirs-recursive
  72359. installdirs-am:
  72360. for dir in "$(DESTDIR)$(libdir)"; do \
  72361. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  72362. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  72363. done
  72364. install: install-recursive
  72365. install-exec: install-exec-recursive
  72366. @@ -640,6 +647,7 @@
  72367. distclean-generic:
  72368. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  72369. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  72370. maintainer-clean-generic:
  72371. @echo "This command is intended for maintainers to use"
  72372. @@ -653,7 +661,7 @@
  72373. -rm -rf ./$(DEPDIR)
  72374. -rm -f Makefile
  72375. distclean-am: clean-am distclean-compile distclean-generic \
  72376. - distclean-libtool distclean-tags
  72377. + distclean-tags
  72378. dvi: dvi-recursive
  72379. @@ -661,18 +669,38 @@
  72380. html: html-recursive
  72381. +html-am:
  72382. +
  72383. info: info-recursive
  72384. info-am:
  72385. install-data-am:
  72386. +install-dvi: install-dvi-recursive
  72387. +
  72388. +install-dvi-am:
  72389. +
  72390. install-exec-am: install-libLTLIBRARIES
  72391. +install-html: install-html-recursive
  72392. +
  72393. +install-html-am:
  72394. +
  72395. install-info: install-info-recursive
  72396. +install-info-am:
  72397. +
  72398. install-man:
  72399. +install-pdf: install-pdf-recursive
  72400. +
  72401. +install-pdf-am:
  72402. +
  72403. +install-ps: install-ps-recursive
  72404. +
  72405. +install-ps-am:
  72406. +
  72407. installcheck-am:
  72408. maintainer-clean: maintainer-clean-recursive
  72409. @@ -693,24 +721,26 @@
  72410. ps-am:
  72411. -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
  72412. +uninstall-am: uninstall-libLTLIBRARIES
  72413. -uninstall-info: uninstall-info-recursive
  72414. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  72415. + install-am install-strip tags-recursive
  72416. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  72417. - clean clean-generic clean-libLTLIBRARIES clean-libtool \
  72418. - clean-recursive ctags ctags-recursive distclean \
  72419. - distclean-compile distclean-generic distclean-libtool \
  72420. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  72421. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  72422. + all all-am check check-am clean clean-generic \
  72423. + clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \
  72424. + distclean distclean-compile distclean-generic \
  72425. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  72426. html-am info info-am install install-am install-data \
  72427. - install-data-am install-exec install-exec-am install-info \
  72428. - install-info-am install-libLTLIBRARIES install-man \
  72429. - install-strip installcheck installcheck-am installdirs \
  72430. - installdirs-am maintainer-clean maintainer-clean-generic \
  72431. - maintainer-clean-recursive mostlyclean mostlyclean-compile \
  72432. - mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
  72433. + install-data-am install-dvi install-dvi-am install-exec \
  72434. + install-exec-am install-html install-html-am install-info \
  72435. + install-info-am install-libLTLIBRARIES install-man install-pdf \
  72436. + install-pdf-am install-ps install-ps-am install-strip \
  72437. + installcheck installcheck-am installdirs installdirs-am \
  72438. + maintainer-clean maintainer-clean-generic mostlyclean \
  72439. + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  72440. pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
  72441. - uninstall-info-am uninstall-libLTLIBRARIES
  72442. + uninstall-libLTLIBRARIES
  72443. control/libcontrol.la:
  72444. @@ -748,6 +778,7 @@
  72445. alisp/libalisp.la:
  72446. $(MAKE) -C alisp libalisp.la
  72447. +
  72448. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  72449. # Otherwise a system limit (for SysV at least) may be exceeded.
  72450. .NOEXPORT:
  72451. diff -Nur alsa-lib-1.0.22.orig/src/mixer/Makefile.in alsa-lib-1.0.22/src/mixer/Makefile.in
  72452. --- alsa-lib-1.0.22.orig/src/mixer/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  72453. +++ alsa-lib-1.0.22/src/mixer/Makefile.in 2011-02-24 20:33:15.663550903 +0100
  72454. @@ -1,8 +1,9 @@
  72455. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  72456. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  72457. # @configure_input@
  72458. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  72459. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  72460. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  72461. +# Inc.
  72462. # This Makefile.in is free software; the Free Software Foundation
  72463. # gives unlimited permission to copy and/or distribute it,
  72464. # with or without modifications, as long as this notice is preserved.
  72465. @@ -14,15 +15,12 @@
  72466. @SET_MAKE@
  72467. -srcdir = @srcdir@
  72468. -top_srcdir = @top_srcdir@
  72469. VPATH = @srcdir@
  72470. pkgdatadir = $(datadir)/@PACKAGE@
  72471. -pkglibdir = $(libdir)/@PACKAGE@
  72472. pkgincludedir = $(includedir)/@PACKAGE@
  72473. -top_builddir = ../..
  72474. +pkglibdir = $(libdir)/@PACKAGE@
  72475. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  72476. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  72477. -INSTALL = @INSTALL@
  72478. install_sh_DATA = $(install_sh) -c -m 644
  72479. install_sh_PROGRAM = $(install_sh) -c
  72480. install_sh_SCRIPT = $(install_sh) -c
  72481. @@ -40,28 +38,50 @@
  72482. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  72483. $(srcdir)/Makefile.in
  72484. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  72485. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  72486. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  72487. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  72488. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  72489. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  72490. $(top_srcdir)/configure.in
  72491. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  72492. $(ACLOCAL_M4)
  72493. mkinstalldirs = $(install_sh) -d
  72494. CONFIG_HEADER = $(top_builddir)/include/config.h
  72495. CONFIG_CLEAN_FILES =
  72496. +CONFIG_CLEAN_VPATH_FILES =
  72497. libmixer_la_LIBADD =
  72498. am_libmixer_la_OBJECTS = bag.lo mixer.lo simple.lo simple_none.lo \
  72499. simple_abst.lo
  72500. libmixer_la_OBJECTS = $(am_libmixer_la_OBJECTS)
  72501. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  72502. +AM_V_lt = $(am__v_lt_$(V))
  72503. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  72504. +am__v_lt_0 = --silent
  72505. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  72506. depcomp = $(SHELL) $(top_srcdir)/depcomp
  72507. am__depfiles_maybe = depfiles
  72508. +am__mv = mv -f
  72509. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  72510. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  72511. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  72512. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  72513. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  72514. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  72515. $(AM_CFLAGS) $(CFLAGS)
  72516. +AM_V_CC = $(am__v_CC_$(V))
  72517. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  72518. +am__v_CC_0 = @echo " CC " $@;
  72519. +AM_V_at = $(am__v_at_$(V))
  72520. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  72521. +am__v_at_0 = @
  72522. CCLD = $(CC)
  72523. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  72524. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  72525. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  72526. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  72527. +AM_V_CCLD = $(am__v_CCLD_$(V))
  72528. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  72529. +am__v_CCLD_0 = @echo " CCLD " $@;
  72530. +AM_V_GEN = $(am__v_GEN_$(V))
  72531. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  72532. +am__v_GEN_0 = @echo " GEN " $@;
  72533. SOURCES = $(libmixer_la_SOURCES)
  72534. DIST_SOURCES = $(libmixer_la_SOURCES)
  72535. HEADERS = $(noinst_HEADERS)
  72536. @@ -71,143 +91,66 @@
  72537. ACLOCAL = @ACLOCAL@
  72538. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  72539. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  72540. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  72541. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  72542. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  72543. -AMDEP_FALSE = @AMDEP_FALSE@
  72544. -AMDEP_TRUE = @AMDEP_TRUE@
  72545. AMTAR = @AMTAR@
  72546. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  72547. AR = @AR@
  72548. AUTOCONF = @AUTOCONF@
  72549. AUTOHEADER = @AUTOHEADER@
  72550. AUTOMAKE = @AUTOMAKE@
  72551. AWK = @AWK@
  72552. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  72553. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  72554. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  72555. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  72556. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  72557. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  72558. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  72559. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  72560. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  72561. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  72562. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  72563. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  72564. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  72565. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  72566. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  72567. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  72568. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  72569. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  72570. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  72571. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  72572. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  72573. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  72574. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  72575. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  72576. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  72577. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  72578. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  72579. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  72580. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  72581. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  72582. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  72583. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  72584. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  72585. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  72586. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  72587. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  72588. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  72589. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  72590. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  72591. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  72592. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  72593. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  72594. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  72595. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  72596. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  72597. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  72598. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  72599. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  72600. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  72601. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  72602. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  72603. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  72604. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  72605. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  72606. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  72607. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  72608. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  72609. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  72610. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  72611. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  72612. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  72613. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  72614. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  72615. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  72616. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  72617. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  72618. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  72619. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  72620. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  72621. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  72622. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  72623. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  72624. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  72625. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  72626. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  72627. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  72628. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  72629. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  72630. CC = @CC@
  72631. CCDEPMODE = @CCDEPMODE@
  72632. CFLAGS = @CFLAGS@
  72633. CPP = @CPP@
  72634. CPPFLAGS = @CPPFLAGS@
  72635. -CXX = @CXX@
  72636. -CXXCPP = @CXXCPP@
  72637. -CXXDEPMODE = @CXXDEPMODE@
  72638. -CXXFLAGS = @CXXFLAGS@
  72639. CYGPATH_W = @CYGPATH_W@
  72640. DEFS = @DEFS@
  72641. DEPDIR = @DEPDIR@
  72642. -ECHO = @ECHO@
  72643. +DSYMUTIL = @DSYMUTIL@
  72644. +DUMPBIN = @DUMPBIN@
  72645. ECHO_C = @ECHO_C@
  72646. ECHO_N = @ECHO_N@
  72647. ECHO_T = @ECHO_T@
  72648. EGREP = @EGREP@
  72649. EXEEXT = @EXEEXT@
  72650. -F77 = @F77@
  72651. -FFLAGS = @FFLAGS@
  72652. +FGREP = @FGREP@
  72653. GREP = @GREP@
  72654. +INSTALL = @INSTALL@
  72655. INSTALL_DATA = @INSTALL_DATA@
  72656. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  72657. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  72658. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  72659. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  72660. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  72661. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  72662. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  72663. +LD = @LD@
  72664. LDFLAGS = @LDFLAGS@
  72665. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  72666. LIBOBJS = @LIBOBJS@
  72667. LIBS = @LIBS@
  72668. LIBTOOL = @LIBTOOL@
  72669. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  72670. +LIPO = @LIPO@
  72671. LN_S = @LN_S@
  72672. LTLIBOBJS = @LTLIBOBJS@
  72673. MAKEINFO = @MAKEINFO@
  72674. +MKDIR_P = @MKDIR_P@
  72675. +NM = @NM@
  72676. +NMEDIT = @NMEDIT@
  72677. +OBJDUMP = @OBJDUMP@
  72678. OBJEXT = @OBJEXT@
  72679. +OTOOL = @OTOOL@
  72680. +OTOOL64 = @OTOOL64@
  72681. PACKAGE = @PACKAGE@
  72682. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  72683. PACKAGE_NAME = @PACKAGE_NAME@
  72684. PACKAGE_STRING = @PACKAGE_STRING@
  72685. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  72686. +PACKAGE_URL = @PACKAGE_URL@
  72687. PACKAGE_VERSION = @PACKAGE_VERSION@
  72688. PATH_SEPARATOR = @PATH_SEPARATOR@
  72689. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  72690. PYTHON_LIBS = @PYTHON_LIBS@
  72691. RANLIB = @RANLIB@
  72692. +SED = @SED@
  72693. SET_MAKE = @SET_MAKE@
  72694. SHELL = @SHELL@
  72695. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  72696. @@ -216,19 +159,14 @@
  72697. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  72698. SND_LIB_VERSION = @SND_LIB_VERSION@
  72699. STRIP = @STRIP@
  72700. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  72701. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  72702. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  72703. VERSION = @VERSION@
  72704. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  72705. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  72706. +abs_builddir = @abs_builddir@
  72707. +abs_srcdir = @abs_srcdir@
  72708. +abs_top_builddir = @abs_top_builddir@
  72709. +abs_top_srcdir = @abs_top_srcdir@
  72710. ac_ct_CC = @ac_ct_CC@
  72711. -ac_ct_CXX = @ac_ct_CXX@
  72712. -ac_ct_F77 = @ac_ct_F77@
  72713. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  72714. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  72715. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  72716. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  72717. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  72718. am__include = @am__include@
  72719. am__leading_dot = @am__leading_dot@
  72720. am__quote = @am__quote@
  72721. @@ -240,6 +178,7 @@
  72722. build_cpu = @build_cpu@
  72723. build_os = @build_os@
  72724. build_vendor = @build_vendor@
  72725. +builddir = @builddir@
  72726. datadir = @datadir@
  72727. datarootdir = @datarootdir@
  72728. docdir = @docdir@
  72729. @@ -258,6 +197,7 @@
  72730. libexecdir = @libexecdir@
  72731. localedir = @localedir@
  72732. localstatedir = @localstatedir@
  72733. +lt_ECHO = @lt_ECHO@
  72734. mandir = @mandir@
  72735. mkdir_p = @mkdir_p@
  72736. oldincludedir = @oldincludedir@
  72737. @@ -267,8 +207,12 @@
  72738. psdir = @psdir@
  72739. sbindir = @sbindir@
  72740. sharedstatedir = @sharedstatedir@
  72741. +srcdir = @srcdir@
  72742. sysconfdir = @sysconfdir@
  72743. target_alias = @target_alias@
  72744. +top_build_prefix = @top_build_prefix@
  72745. +top_builddir = @top_builddir@
  72746. +top_srcdir = @top_srcdir@
  72747. EXTRA_LTLIBRARIES = libmixer.la
  72748. libmixer_la_SOURCES = bag.c mixer.c simple.c simple_none.c simple_abst.c
  72749. noinst_HEADERS = mixer_local.h mixer_simple.h
  72750. @@ -281,14 +225,14 @@
  72751. @for dep in $?; do \
  72752. case '$(am__configure_deps)' in \
  72753. *$$dep*) \
  72754. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  72755. - && exit 0; \
  72756. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  72757. + && { if test -f $@; then exit 0; else break; fi; }; \
  72758. exit 1;; \
  72759. esac; \
  72760. done; \
  72761. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/mixer/Makefile'; \
  72762. - cd $(top_srcdir) && \
  72763. - $(AUTOMAKE) --foreign src/mixer/Makefile
  72764. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/mixer/Makefile'; \
  72765. + $(am__cd) $(top_srcdir) && \
  72766. + $(AUTOMAKE) --gnu src/mixer/Makefile
  72767. .PRECIOUS: Makefile
  72768. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  72769. @case '$?' in \
  72770. @@ -306,8 +250,9 @@
  72771. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72772. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  72773. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72774. +$(am__aclocal_m4_deps):
  72775. libmixer.la: $(libmixer_la_OBJECTS) $(libmixer_la_DEPENDENCIES)
  72776. - $(LINK) $(libmixer_la_LDFLAGS) $(libmixer_la_OBJECTS) $(libmixer_la_LIBADD) $(LIBS)
  72777. + $(AM_V_CCLD)$(LINK) $(libmixer_la_OBJECTS) $(libmixer_la_LIBADD) $(LIBS)
  72778. mostlyclean-compile:
  72779. -rm -f *.$(OBJEXT)
  72780. @@ -322,22 +267,25 @@
  72781. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple_none.Plo@am__quote@
  72782. .c.o:
  72783. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  72784. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  72785. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  72786. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  72787. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  72788. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  72789. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  72790. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  72791. .c.obj:
  72792. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  72793. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  72794. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  72795. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  72796. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  72797. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  72798. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  72799. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  72800. .c.lo:
  72801. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  72802. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  72803. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  72804. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  72805. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  72806. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  72807. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  72808. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  72809. @@ -348,82 +296,85 @@
  72810. clean-libtool:
  72811. -rm -rf .libs _libs
  72812. -distclean-libtool:
  72813. - -rm -f libtool
  72814. -uninstall-info-am:
  72815. -
  72816. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  72817. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  72818. unique=`for i in $$list; do \
  72819. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72820. done | \
  72821. - $(AWK) ' { files[$$0] = 1; } \
  72822. - END { for (i in files) print i; }'`; \
  72823. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72824. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72825. mkid -fID $$unique
  72826. tags: TAGS
  72827. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  72828. $(TAGS_FILES) $(LISP)
  72829. - tags=; \
  72830. + set x; \
  72831. here=`pwd`; \
  72832. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  72833. unique=`for i in $$list; do \
  72834. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72835. done | \
  72836. - $(AWK) ' { files[$$0] = 1; } \
  72837. - END { for (i in files) print i; }'`; \
  72838. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  72839. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72840. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72841. + shift; \
  72842. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  72843. test -n "$$unique" || unique=$$empty_fix; \
  72844. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72845. - $$tags $$unique; \
  72846. + if test $$# -gt 0; then \
  72847. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72848. + "$$@" $$unique; \
  72849. + else \
  72850. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72851. + $$unique; \
  72852. + fi; \
  72853. fi
  72854. ctags: CTAGS
  72855. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  72856. $(TAGS_FILES) $(LISP)
  72857. - tags=; \
  72858. - here=`pwd`; \
  72859. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  72860. unique=`for i in $$list; do \
  72861. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72862. done | \
  72863. - $(AWK) ' { files[$$0] = 1; } \
  72864. - END { for (i in files) print i; }'`; \
  72865. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  72866. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72867. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72868. + test -z "$(CTAGS_ARGS)$$unique" \
  72869. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  72870. - $$tags $$unique
  72871. + $$unique
  72872. GTAGS:
  72873. here=`$(am__cd) $(top_builddir) && pwd` \
  72874. - && cd $(top_srcdir) \
  72875. - && gtags -i $(GTAGS_ARGS) $$here
  72876. + && $(am__cd) $(top_srcdir) \
  72877. + && gtags -i $(GTAGS_ARGS) "$$here"
  72878. distclean-tags:
  72879. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  72880. distdir: $(DISTFILES)
  72881. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  72882. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  72883. - list='$(DISTFILES)'; for file in $$list; do \
  72884. - case $$file in \
  72885. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  72886. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  72887. - esac; \
  72888. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72889. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72890. + list='$(DISTFILES)'; \
  72891. + dist_files=`for file in $$list; do echo $$file; done | \
  72892. + sed -e "s|^$$srcdirstrip/||;t" \
  72893. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  72894. + case $$dist_files in \
  72895. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  72896. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  72897. + sort -u` ;; \
  72898. + esac; \
  72899. + for file in $$dist_files; do \
  72900. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  72901. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  72902. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  72903. - dir="/$$dir"; \
  72904. - $(mkdir_p) "$(distdir)$$dir"; \
  72905. - else \
  72906. - dir=''; \
  72907. - fi; \
  72908. if test -d $$d/$$file; then \
  72909. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  72910. + if test -d "$(distdir)/$$file"; then \
  72911. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72912. + fi; \
  72913. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  72914. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  72915. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  72916. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72917. fi; \
  72918. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  72919. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  72920. else \
  72921. - test -f $(distdir)/$$file \
  72922. - || cp -p $$d/$$file $(distdir)/$$file \
  72923. + test -f "$(distdir)/$$file" \
  72924. + || cp -p $$d/$$file "$(distdir)/$$file" \
  72925. || exit 1; \
  72926. fi; \
  72927. done
  72928. @@ -451,6 +402,7 @@
  72929. distclean-generic:
  72930. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  72931. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  72932. maintainer-clean-generic:
  72933. @echo "This command is intended for maintainers to use"
  72934. @@ -463,7 +415,7 @@
  72935. -rm -rf ./$(DEPDIR)
  72936. -rm -f Makefile
  72937. distclean-am: clean-am distclean-compile distclean-generic \
  72938. - distclean-libtool distclean-tags
  72939. + distclean-tags
  72940. dvi: dvi-am
  72941. @@ -471,18 +423,38 @@
  72942. html: html-am
  72943. +html-am:
  72944. +
  72945. info: info-am
  72946. info-am:
  72947. install-data-am:
  72948. +install-dvi: install-dvi-am
  72949. +
  72950. +install-dvi-am:
  72951. +
  72952. install-exec-am:
  72953. +install-html: install-html-am
  72954. +
  72955. +install-html-am:
  72956. +
  72957. install-info: install-info-am
  72958. +install-info-am:
  72959. +
  72960. install-man:
  72961. +install-pdf: install-pdf-am
  72962. +
  72963. +install-pdf-am:
  72964. +
  72965. +install-ps: install-ps-am
  72966. +
  72967. +install-ps-am:
  72968. +
  72969. installcheck-am:
  72970. maintainer-clean: maintainer-clean-am
  72971. @@ -503,21 +475,26 @@
  72972. ps-am:
  72973. -uninstall-am: uninstall-info-am
  72974. +uninstall-am:
  72975. +
  72976. +.MAKE: install-am install-strip
  72977. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  72978. clean-libtool ctags distclean distclean-compile \
  72979. distclean-generic distclean-libtool distclean-tags distdir dvi \
  72980. dvi-am html html-am info info-am install install-am \
  72981. - install-data install-data-am install-exec install-exec-am \
  72982. - install-info install-info-am install-man install-strip \
  72983. + install-data install-data-am install-dvi install-dvi-am \
  72984. + install-exec install-exec-am install-html install-html-am \
  72985. + install-info install-info-am install-man install-pdf \
  72986. + install-pdf-am install-ps install-ps-am install-strip \
  72987. installcheck installcheck-am installdirs maintainer-clean \
  72988. maintainer-clean-generic mostlyclean mostlyclean-compile \
  72989. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  72990. - tags uninstall uninstall-am uninstall-info-am
  72991. + tags uninstall uninstall-am
  72992. all: libmixer.la
  72993. +
  72994. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  72995. # Otherwise a system limit (for SysV at least) may be exceeded.
  72996. .NOEXPORT:
  72997. diff -Nur alsa-lib-1.0.22.orig/src/pcm/Makefile.in alsa-lib-1.0.22/src/pcm/Makefile.in
  72998. --- alsa-lib-1.0.22.orig/src/pcm/Makefile.in 2009-12-16 16:27:27.000000000 +0100
  72999. +++ alsa-lib-1.0.22/src/pcm/Makefile.in 2011-02-24 20:33:15.753551969 +0100
  73000. @@ -1,8 +1,9 @@
  73001. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  73002. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  73003. # @configure_input@
  73004. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  73005. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  73006. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  73007. +# Inc.
  73008. # This Makefile.in is free software; the Free Software Foundation
  73009. # gives unlimited permission to copy and/or distribute it,
  73010. # with or without modifications, as long as this notice is preserved.
  73011. @@ -14,15 +15,12 @@
  73012. @SET_MAKE@
  73013. -srcdir = @srcdir@
  73014. -top_srcdir = @top_srcdir@
  73015. VPATH = @srcdir@
  73016. pkgdatadir = $(datadir)/@PACKAGE@
  73017. -pkglibdir = $(libdir)/@PACKAGE@
  73018. pkgincludedir = $(includedir)/@PACKAGE@
  73019. -top_builddir = ../..
  73020. +pkglibdir = $(libdir)/@PACKAGE@
  73021. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  73022. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  73023. -INSTALL = @INSTALL@
  73024. install_sh_DATA = $(install_sh) -c -m 644
  73025. install_sh_PROGRAM = $(install_sh) -c
  73026. install_sh_SCRIPT = $(install_sh) -c
  73027. @@ -71,13 +69,17 @@
  73028. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  73029. $(srcdir)/Makefile.in
  73030. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  73031. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  73032. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  73033. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  73034. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  73035. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  73036. $(top_srcdir)/configure.in
  73037. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  73038. $(ACLOCAL_M4)
  73039. mkinstalldirs = $(install_sh) -d
  73040. CONFIG_HEADER = $(top_builddir)/include/config.h
  73041. CONFIG_CLEAN_FILES =
  73042. +CONFIG_CLEAN_VPATH_FILES =
  73043. libpcm_la_LIBADD =
  73044. am__libpcm_la_SOURCES_DIST = atomic.c mask.c interval.c pcm.c \
  73045. pcm_params.c pcm_simple.c pcm_hw.c pcm_misc.c pcm_mmap.c \
  73046. @@ -134,169 +136,141 @@
  73047. $(am__objects_27) $(am__objects_28) $(am__objects_29) \
  73048. $(am__objects_30) $(am__objects_31)
  73049. libpcm_la_OBJECTS = $(am_libpcm_la_OBJECTS)
  73050. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  73051. +AM_V_lt = $(am__v_lt_$(V))
  73052. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  73053. +am__v_lt_0 = --silent
  73054. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  73055. depcomp = $(SHELL) $(top_srcdir)/depcomp
  73056. am__depfiles_maybe = depfiles
  73057. +am__mv = mv -f
  73058. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  73059. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  73060. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  73061. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  73062. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  73063. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  73064. $(AM_CFLAGS) $(CFLAGS)
  73065. +AM_V_CC = $(am__v_CC_$(V))
  73066. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  73067. +am__v_CC_0 = @echo " CC " $@;
  73068. +AM_V_at = $(am__v_at_$(V))
  73069. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  73070. +am__v_at_0 = @
  73071. CCLD = $(CC)
  73072. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  73073. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  73074. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  73075. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  73076. +AM_V_CCLD = $(am__v_CCLD_$(V))
  73077. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  73078. +am__v_CCLD_0 = @echo " CCLD " $@;
  73079. +AM_V_GEN = $(am__v_GEN_$(V))
  73080. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  73081. +am__v_GEN_0 = @echo " GEN " $@;
  73082. SOURCES = $(libpcm_la_SOURCES)
  73083. DIST_SOURCES = $(am__libpcm_la_SOURCES_DIST)
  73084. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  73085. html-recursive info-recursive install-data-recursive \
  73086. - install-exec-recursive install-info-recursive \
  73087. - install-recursive installcheck-recursive installdirs-recursive \
  73088. - pdf-recursive ps-recursive uninstall-info-recursive \
  73089. - uninstall-recursive
  73090. + install-dvi-recursive install-exec-recursive \
  73091. + install-html-recursive install-info-recursive \
  73092. + install-pdf-recursive install-ps-recursive install-recursive \
  73093. + installcheck-recursive installdirs-recursive pdf-recursive \
  73094. + ps-recursive uninstall-recursive
  73095. HEADERS = $(noinst_HEADERS)
  73096. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  73097. + distclean-recursive maintainer-clean-recursive
  73098. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  73099. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  73100. + distdir
  73101. ETAGS = etags
  73102. CTAGS = ctags
  73103. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  73104. +am__relativize = \
  73105. + dir0=`pwd`; \
  73106. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  73107. + sed_rest='s,^[^/]*/*,,'; \
  73108. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  73109. + sed_butlast='s,/*[^/]*$$,,'; \
  73110. + while test -n "$$dir1"; do \
  73111. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  73112. + if test "$$first" != "."; then \
  73113. + if test "$$first" = ".."; then \
  73114. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  73115. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  73116. + else \
  73117. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  73118. + if test "$$first2" = "$$first"; then \
  73119. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  73120. + else \
  73121. + dir2="../$$dir2"; \
  73122. + fi; \
  73123. + dir0="$$dir0"/"$$first"; \
  73124. + fi; \
  73125. + fi; \
  73126. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  73127. + done; \
  73128. + reldir="$$dir2"
  73129. ACLOCAL = @ACLOCAL@
  73130. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  73131. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  73132. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  73133. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  73134. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  73135. -AMDEP_FALSE = @AMDEP_FALSE@
  73136. -AMDEP_TRUE = @AMDEP_TRUE@
  73137. AMTAR = @AMTAR@
  73138. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  73139. AR = @AR@
  73140. AUTOCONF = @AUTOCONF@
  73141. AUTOHEADER = @AUTOHEADER@
  73142. AUTOMAKE = @AUTOMAKE@
  73143. AWK = @AWK@
  73144. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  73145. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  73146. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  73147. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  73148. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  73149. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  73150. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  73151. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  73152. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  73153. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  73154. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  73155. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  73156. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  73157. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  73158. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  73159. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  73160. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  73161. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  73162. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  73163. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  73164. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  73165. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  73166. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  73167. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  73168. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  73169. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  73170. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  73171. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  73172. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  73173. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  73174. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  73175. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  73176. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  73177. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  73178. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  73179. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  73180. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  73181. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  73182. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  73183. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  73184. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  73185. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  73186. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  73187. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  73188. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  73189. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  73190. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  73191. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  73192. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  73193. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  73194. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  73195. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  73196. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  73197. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  73198. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  73199. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  73200. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  73201. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  73202. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  73203. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  73204. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  73205. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  73206. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  73207. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  73208. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  73209. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  73210. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  73211. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  73212. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  73213. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  73214. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  73215. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  73216. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  73217. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  73218. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  73219. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  73220. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  73221. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  73222. CC = @CC@
  73223. CCDEPMODE = @CCDEPMODE@
  73224. CFLAGS = @CFLAGS@
  73225. CPP = @CPP@
  73226. CPPFLAGS = @CPPFLAGS@
  73227. -CXX = @CXX@
  73228. -CXXCPP = @CXXCPP@
  73229. -CXXDEPMODE = @CXXDEPMODE@
  73230. -CXXFLAGS = @CXXFLAGS@
  73231. CYGPATH_W = @CYGPATH_W@
  73232. DEFS = @DEFS@
  73233. DEPDIR = @DEPDIR@
  73234. -ECHO = @ECHO@
  73235. +DSYMUTIL = @DSYMUTIL@
  73236. +DUMPBIN = @DUMPBIN@
  73237. ECHO_C = @ECHO_C@
  73238. ECHO_N = @ECHO_N@
  73239. ECHO_T = @ECHO_T@
  73240. EGREP = @EGREP@
  73241. EXEEXT = @EXEEXT@
  73242. -F77 = @F77@
  73243. -FFLAGS = @FFLAGS@
  73244. +FGREP = @FGREP@
  73245. GREP = @GREP@
  73246. +INSTALL = @INSTALL@
  73247. INSTALL_DATA = @INSTALL_DATA@
  73248. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  73249. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  73250. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  73251. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  73252. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  73253. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  73254. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  73255. +LD = @LD@
  73256. LDFLAGS = @LDFLAGS@
  73257. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  73258. LIBOBJS = @LIBOBJS@
  73259. LIBS = @LIBS@
  73260. LIBTOOL = @LIBTOOL@
  73261. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  73262. +LIPO = @LIPO@
  73263. LN_S = @LN_S@
  73264. LTLIBOBJS = @LTLIBOBJS@
  73265. MAKEINFO = @MAKEINFO@
  73266. +MKDIR_P = @MKDIR_P@
  73267. +NM = @NM@
  73268. +NMEDIT = @NMEDIT@
  73269. +OBJDUMP = @OBJDUMP@
  73270. OBJEXT = @OBJEXT@
  73271. +OTOOL = @OTOOL@
  73272. +OTOOL64 = @OTOOL64@
  73273. PACKAGE = @PACKAGE@
  73274. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  73275. PACKAGE_NAME = @PACKAGE_NAME@
  73276. PACKAGE_STRING = @PACKAGE_STRING@
  73277. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  73278. +PACKAGE_URL = @PACKAGE_URL@
  73279. PACKAGE_VERSION = @PACKAGE_VERSION@
  73280. PATH_SEPARATOR = @PATH_SEPARATOR@
  73281. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  73282. PYTHON_LIBS = @PYTHON_LIBS@
  73283. RANLIB = @RANLIB@
  73284. +SED = @SED@
  73285. SET_MAKE = @SET_MAKE@
  73286. SHELL = @SHELL@
  73287. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  73288. @@ -305,19 +279,14 @@
  73289. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  73290. SND_LIB_VERSION = @SND_LIB_VERSION@
  73291. STRIP = @STRIP@
  73292. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  73293. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  73294. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  73295. VERSION = @VERSION@
  73296. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  73297. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  73298. +abs_builddir = @abs_builddir@
  73299. +abs_srcdir = @abs_srcdir@
  73300. +abs_top_builddir = @abs_top_builddir@
  73301. +abs_top_srcdir = @abs_top_srcdir@
  73302. ac_ct_CC = @ac_ct_CC@
  73303. -ac_ct_CXX = @ac_ct_CXX@
  73304. -ac_ct_F77 = @ac_ct_F77@
  73305. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  73306. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  73307. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  73308. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  73309. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73310. am__include = @am__include@
  73311. am__leading_dot = @am__leading_dot@
  73312. am__quote = @am__quote@
  73313. @@ -329,6 +298,7 @@
  73314. build_cpu = @build_cpu@
  73315. build_os = @build_os@
  73316. build_vendor = @build_vendor@
  73317. +builddir = @builddir@
  73318. datadir = @datadir@
  73319. datarootdir = @datarootdir@
  73320. docdir = @docdir@
  73321. @@ -347,6 +317,7 @@
  73322. libexecdir = @libexecdir@
  73323. localedir = @localedir@
  73324. localstatedir = @localstatedir@
  73325. +lt_ECHO = @lt_ECHO@
  73326. mandir = @mandir@
  73327. mkdir_p = @mkdir_p@
  73328. oldincludedir = @oldincludedir@
  73329. @@ -356,8 +327,12 @@
  73330. psdir = @psdir@
  73331. sbindir = @sbindir@
  73332. sharedstatedir = @sharedstatedir@
  73333. +srcdir = @srcdir@
  73334. sysconfdir = @sysconfdir@
  73335. target_alias = @target_alias@
  73336. +top_build_prefix = @top_build_prefix@
  73337. +top_builddir = @top_builddir@
  73338. +top_srcdir = @top_srcdir@
  73339. SUBDIRS =
  73340. DIST_SUBDIRS = scopes
  73341. EXTRA_LTLIBRARIES = libpcm.la
  73342. @@ -390,14 +365,14 @@
  73343. @for dep in $?; do \
  73344. case '$(am__configure_deps)' in \
  73345. *$$dep*) \
  73346. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  73347. - && exit 0; \
  73348. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  73349. + && { if test -f $@; then exit 0; else break; fi; }; \
  73350. exit 1;; \
  73351. esac; \
  73352. done; \
  73353. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/pcm/Makefile'; \
  73354. - cd $(top_srcdir) && \
  73355. - $(AUTOMAKE) --foreign src/pcm/Makefile
  73356. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/pcm/Makefile'; \
  73357. + $(am__cd) $(top_srcdir) && \
  73358. + $(AUTOMAKE) --gnu src/pcm/Makefile
  73359. .PRECIOUS: Makefile
  73360. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  73361. @case '$?' in \
  73362. @@ -415,8 +390,9 @@
  73363. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  73364. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  73365. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  73366. +$(am__aclocal_m4_deps):
  73367. libpcm.la: $(libpcm_la_OBJECTS) $(libpcm_la_DEPENDENCIES)
  73368. - $(LINK) $(libpcm_la_LDFLAGS) $(libpcm_la_OBJECTS) $(libpcm_la_LIBADD) $(LIBS)
  73369. + $(AM_V_CCLD)$(LINK) $(libpcm_la_OBJECTS) $(libpcm_la_LIBADD) $(LIBS)
  73370. mostlyclean-compile:
  73371. -rm -f *.$(OBJEXT)
  73372. @@ -467,22 +443,25 @@
  73373. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pcm_symbols.Plo@am__quote@
  73374. .c.o:
  73375. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  73376. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  73377. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  73378. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  73379. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  73380. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  73381. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  73382. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  73383. .c.obj:
  73384. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  73385. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  73386. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  73387. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  73388. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  73389. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  73390. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  73391. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  73392. .c.lo:
  73393. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  73394. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  73395. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  73396. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  73397. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  73398. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  73399. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  73400. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  73401. @@ -493,10 +472,6 @@
  73402. clean-libtool:
  73403. -rm -rf .libs _libs
  73404. -distclean-libtool:
  73405. - -rm -f libtool
  73406. -uninstall-info-am:
  73407. -
  73408. # This directory's subdirectories are mostly independent; you can cd
  73409. # into them and run `make' without going through this Makefile.
  73410. # To change the values of `make' variables: instead of editing Makefiles,
  73411. @@ -504,7 +479,7 @@
  73412. # (which will cause the Makefiles to be regenerated when you run `make');
  73413. # (2) otherwise, pass the desired values on the `make' command line.
  73414. $(RECURSIVE_TARGETS):
  73415. - @failcom='exit 1'; \
  73416. + @fail= failcom='exit 1'; \
  73417. for f in x $$MAKEFLAGS; do \
  73418. case $$f in \
  73419. *=* | --[!k]*);; \
  73420. @@ -521,16 +496,15 @@
  73421. else \
  73422. local_target="$$target"; \
  73423. fi; \
  73424. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  73425. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  73426. || eval $$failcom; \
  73427. done; \
  73428. if test "$$dot_seen" = "no"; then \
  73429. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  73430. fi; test -z "$$fail"
  73431. -mostlyclean-recursive clean-recursive distclean-recursive \
  73432. -maintainer-clean-recursive:
  73433. - @failcom='exit 1'; \
  73434. +$(RECURSIVE_CLEAN_TARGETS):
  73435. + @fail= failcom='exit 1'; \
  73436. for f in x $$MAKEFLAGS; do \
  73437. case $$f in \
  73438. *=* | --[!k]*);; \
  73439. @@ -556,16 +530,16 @@
  73440. else \
  73441. local_target="$$target"; \
  73442. fi; \
  73443. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  73444. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  73445. || eval $$failcom; \
  73446. done && test -z "$$fail"
  73447. tags-recursive:
  73448. list='$(SUBDIRS)'; for subdir in $$list; do \
  73449. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  73450. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  73451. done
  73452. ctags-recursive:
  73453. list='$(SUBDIRS)'; for subdir in $$list; do \
  73454. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  73455. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  73456. done
  73457. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  73458. @@ -573,14 +547,14 @@
  73459. unique=`for i in $$list; do \
  73460. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  73461. done | \
  73462. - $(AWK) ' { files[$$0] = 1; } \
  73463. - END { for (i in files) print i; }'`; \
  73464. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  73465. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  73466. mkid -fID $$unique
  73467. tags: TAGS
  73468. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  73469. $(TAGS_FILES) $(LISP)
  73470. - tags=; \
  73471. + set x; \
  73472. here=`pwd`; \
  73473. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  73474. include_option=--etags-include; \
  73475. @@ -592,81 +566,101 @@
  73476. list='$(SUBDIRS)'; for subdir in $$list; do \
  73477. if test "$$subdir" = .; then :; else \
  73478. test ! -f $$subdir/TAGS || \
  73479. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  73480. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  73481. fi; \
  73482. done; \
  73483. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  73484. unique=`for i in $$list; do \
  73485. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  73486. done | \
  73487. - $(AWK) ' { files[$$0] = 1; } \
  73488. - END { for (i in files) print i; }'`; \
  73489. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  73490. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  73491. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  73492. + shift; \
  73493. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  73494. test -n "$$unique" || unique=$$empty_fix; \
  73495. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  73496. - $$tags $$unique; \
  73497. + if test $$# -gt 0; then \
  73498. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  73499. + "$$@" $$unique; \
  73500. + else \
  73501. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  73502. + $$unique; \
  73503. + fi; \
  73504. fi
  73505. ctags: CTAGS
  73506. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  73507. $(TAGS_FILES) $(LISP)
  73508. - tags=; \
  73509. - here=`pwd`; \
  73510. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  73511. unique=`for i in $$list; do \
  73512. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  73513. done | \
  73514. - $(AWK) ' { files[$$0] = 1; } \
  73515. - END { for (i in files) print i; }'`; \
  73516. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  73517. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  73518. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  73519. + test -z "$(CTAGS_ARGS)$$unique" \
  73520. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  73521. - $$tags $$unique
  73522. + $$unique
  73523. GTAGS:
  73524. here=`$(am__cd) $(top_builddir) && pwd` \
  73525. - && cd $(top_srcdir) \
  73526. - && gtags -i $(GTAGS_ARGS) $$here
  73527. + && $(am__cd) $(top_srcdir) \
  73528. + && gtags -i $(GTAGS_ARGS) "$$here"
  73529. distclean-tags:
  73530. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  73531. distdir: $(DISTFILES)
  73532. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  73533. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  73534. - list='$(DISTFILES)'; for file in $$list; do \
  73535. - case $$file in \
  73536. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  73537. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  73538. - esac; \
  73539. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73540. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73541. + list='$(DISTFILES)'; \
  73542. + dist_files=`for file in $$list; do echo $$file; done | \
  73543. + sed -e "s|^$$srcdirstrip/||;t" \
  73544. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  73545. + case $$dist_files in \
  73546. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  73547. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  73548. + sort -u` ;; \
  73549. + esac; \
  73550. + for file in $$dist_files; do \
  73551. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  73552. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  73553. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  73554. - dir="/$$dir"; \
  73555. - $(mkdir_p) "$(distdir)$$dir"; \
  73556. - else \
  73557. - dir=''; \
  73558. - fi; \
  73559. if test -d $$d/$$file; then \
  73560. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  73561. + if test -d "$(distdir)/$$file"; then \
  73562. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  73563. + fi; \
  73564. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  73565. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  73566. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  73567. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  73568. fi; \
  73569. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  73570. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  73571. else \
  73572. - test -f $(distdir)/$$file \
  73573. - || cp -p $$d/$$file $(distdir)/$$file \
  73574. + test -f "$(distdir)/$$file" \
  73575. + || cp -p $$d/$$file "$(distdir)/$$file" \
  73576. || exit 1; \
  73577. fi; \
  73578. done
  73579. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  73580. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  73581. if test "$$subdir" = .; then :; else \
  73582. test -d "$(distdir)/$$subdir" \
  73583. - || $(mkdir_p) "$(distdir)/$$subdir" \
  73584. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  73585. || exit 1; \
  73586. - distdir=`$(am__cd) $(distdir) && pwd`; \
  73587. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  73588. - (cd $$subdir && \
  73589. + fi; \
  73590. + done
  73591. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  73592. + if test "$$subdir" = .; then :; else \
  73593. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  73594. + $(am__relativize); \
  73595. + new_distdir=$$reldir; \
  73596. + dir1=$$subdir; dir2="$(top_distdir)"; \
  73597. + $(am__relativize); \
  73598. + new_top_distdir=$$reldir; \
  73599. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  73600. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  73601. + ($(am__cd) $$subdir && \
  73602. $(MAKE) $(AM_MAKEFLAGS) \
  73603. - top_distdir="$$top_distdir" \
  73604. - distdir="$$distdir/$$subdir" \
  73605. + top_distdir="$$new_top_distdir" \
  73606. + distdir="$$new_distdir" \
  73607. + am__remove_distdir=: \
  73608. + am__skip_length_check=: \
  73609. + am__skip_mode_fix=: \
  73610. distdir) \
  73611. || exit 1; \
  73612. fi; \
  73613. @@ -696,6 +690,7 @@
  73614. distclean-generic:
  73615. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  73616. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  73617. maintainer-clean-generic:
  73618. @echo "This command is intended for maintainers to use"
  73619. @@ -708,7 +703,7 @@
  73620. -rm -rf ./$(DEPDIR)
  73621. -rm -f Makefile
  73622. distclean-am: clean-am distclean-compile distclean-generic \
  73623. - distclean-libtool distclean-tags
  73624. + distclean-tags
  73625. dvi: dvi-recursive
  73626. @@ -716,18 +711,38 @@
  73627. html: html-recursive
  73628. +html-am:
  73629. +
  73630. info: info-recursive
  73631. info-am:
  73632. install-data-am:
  73633. +install-dvi: install-dvi-recursive
  73634. +
  73635. +install-dvi-am:
  73636. +
  73637. install-exec-am:
  73638. +install-html: install-html-recursive
  73639. +
  73640. +install-html-am:
  73641. +
  73642. install-info: install-info-recursive
  73643. +install-info-am:
  73644. +
  73645. install-man:
  73646. +install-pdf: install-pdf-recursive
  73647. +
  73648. +install-pdf-am:
  73649. +
  73650. +install-ps: install-ps-recursive
  73651. +
  73652. +install-ps-am:
  73653. +
  73654. installcheck-am:
  73655. maintainer-clean: maintainer-clean-recursive
  73656. @@ -748,26 +763,28 @@
  73657. ps-am:
  73658. -uninstall-am: uninstall-info-am
  73659. +uninstall-am:
  73660. -uninstall-info: uninstall-info-recursive
  73661. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  73662. + install-am install-strip tags-recursive
  73663. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  73664. - clean clean-generic clean-libtool clean-recursive ctags \
  73665. - ctags-recursive distclean distclean-compile distclean-generic \
  73666. - distclean-libtool distclean-recursive distclean-tags distdir \
  73667. - dvi dvi-am html html-am info info-am install install-am \
  73668. - install-data install-data-am install-exec install-exec-am \
  73669. - install-info install-info-am install-man install-strip \
  73670. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  73671. + all all-am check check-am clean clean-generic clean-libtool \
  73672. + ctags ctags-recursive distclean distclean-compile \
  73673. + distclean-generic distclean-libtool distclean-tags distdir dvi \
  73674. + dvi-am html html-am info info-am install install-am \
  73675. + install-data install-data-am install-dvi install-dvi-am \
  73676. + install-exec install-exec-am install-html install-html-am \
  73677. + install-info install-info-am install-man install-pdf \
  73678. + install-pdf-am install-ps install-ps-am install-strip \
  73679. installcheck installcheck-am installdirs installdirs-am \
  73680. - maintainer-clean maintainer-clean-generic \
  73681. - maintainer-clean-recursive mostlyclean mostlyclean-compile \
  73682. - mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
  73683. - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
  73684. - uninstall-info-am
  73685. + maintainer-clean maintainer-clean-generic mostlyclean \
  73686. + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  73687. + pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
  73688. all: libpcm.la
  73689. +
  73690. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  73691. # Otherwise a system limit (for SysV at least) may be exceeded.
  73692. .NOEXPORT:
  73693. diff -Nur alsa-lib-1.0.22.orig/src/pcm/scopes/Makefile.in alsa-lib-1.0.22/src/pcm/scopes/Makefile.in
  73694. --- alsa-lib-1.0.22.orig/src/pcm/scopes/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  73695. +++ alsa-lib-1.0.22/src/pcm/scopes/Makefile.in 2011-02-24 20:33:15.823551731 +0100
  73696. @@ -1,8 +1,9 @@
  73697. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  73698. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  73699. # @configure_input@
  73700. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  73701. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  73702. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  73703. +# Inc.
  73704. # This Makefile.in is free software; the Free Software Foundation
  73705. # gives unlimited permission to copy and/or distribute it,
  73706. # with or without modifications, as long as this notice is preserved.
  73707. @@ -14,14 +15,11 @@
  73708. @SET_MAKE@
  73709. -srcdir = @srcdir@
  73710. -top_srcdir = @top_srcdir@
  73711. VPATH = @srcdir@
  73712. pkgdatadir = $(datadir)/@PACKAGE@
  73713. pkgincludedir = $(includedir)/@PACKAGE@
  73714. -top_builddir = ../../..
  73715. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  73716. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  73717. -INSTALL = @INSTALL@
  73718. install_sh_DATA = $(install_sh) -c -m 644
  73719. install_sh_PROGRAM = $(install_sh) -c
  73720. install_sh_SCRIPT = $(install_sh) -c
  73721. @@ -38,36 +36,76 @@
  73722. subdir = src/pcm/scopes
  73723. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  73724. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  73725. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  73726. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  73727. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  73728. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  73729. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  73730. $(top_srcdir)/configure.in
  73731. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  73732. $(ACLOCAL_M4)
  73733. mkinstalldirs = $(install_sh) -d
  73734. CONFIG_HEADER = $(top_builddir)/include/config.h
  73735. CONFIG_CLEAN_FILES =
  73736. +CONFIG_CLEAN_VPATH_FILES =
  73737. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  73738. am__vpath_adj = case $$p in \
  73739. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  73740. *) f=$$p;; \
  73741. esac;
  73742. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  73743. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  73744. +am__install_max = 40
  73745. +am__nobase_strip_setup = \
  73746. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  73747. +am__nobase_strip = \
  73748. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  73749. +am__nobase_list = $(am__nobase_strip_setup); \
  73750. + for p in $$list; do echo "$$p $$p"; done | \
  73751. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  73752. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  73753. + if (++n[$$2] == $(am__install_max)) \
  73754. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  73755. + END { for (dir in files) print dir, files[dir] }'
  73756. +am__base_list = \
  73757. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  73758. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  73759. am__installdirs = "$(DESTDIR)$(pkglibdir)"
  73760. -pkglibLTLIBRARIES_INSTALL = $(INSTALL)
  73761. LTLIBRARIES = $(pkglib_LTLIBRARIES)
  73762. scope_level_la_DEPENDENCIES =
  73763. am_scope_level_la_OBJECTS = level.lo
  73764. scope_level_la_OBJECTS = $(am_scope_level_la_OBJECTS)
  73765. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  73766. +AM_V_lt = $(am__v_lt_$(V))
  73767. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  73768. +am__v_lt_0 = --silent
  73769. +scope_level_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
  73770. + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
  73771. + $(AM_CFLAGS) $(CFLAGS) $(scope_level_la_LDFLAGS) $(LDFLAGS) -o \
  73772. + $@
  73773. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  73774. depcomp = $(SHELL) $(top_srcdir)/depcomp
  73775. am__depfiles_maybe = depfiles
  73776. +am__mv = mv -f
  73777. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  73778. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  73779. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  73780. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  73781. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  73782. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  73783. $(AM_CFLAGS) $(CFLAGS)
  73784. +AM_V_CC = $(am__v_CC_$(V))
  73785. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  73786. +am__v_CC_0 = @echo " CC " $@;
  73787. +AM_V_at = $(am__v_at_$(V))
  73788. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  73789. +am__v_at_0 = @
  73790. CCLD = $(CC)
  73791. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  73792. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  73793. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  73794. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  73795. +AM_V_CCLD = $(am__v_CCLD_$(V))
  73796. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  73797. +am__v_CCLD_0 = @echo " CCLD " $@;
  73798. +AM_V_GEN = $(am__v_GEN_$(V))
  73799. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  73800. +am__v_GEN_0 = @echo " GEN " $@;
  73801. SOURCES = $(scope_level_la_SOURCES)
  73802. DIST_SOURCES = $(scope_level_la_SOURCES)
  73803. ETAGS = etags
  73804. @@ -77,143 +115,66 @@
  73805. ACLOCAL = @ACLOCAL@
  73806. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  73807. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  73808. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  73809. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  73810. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  73811. -AMDEP_FALSE = @AMDEP_FALSE@
  73812. -AMDEP_TRUE = @AMDEP_TRUE@
  73813. AMTAR = @AMTAR@
  73814. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  73815. AR = @AR@
  73816. AUTOCONF = @AUTOCONF@
  73817. AUTOHEADER = @AUTOHEADER@
  73818. AUTOMAKE = @AUTOMAKE@
  73819. AWK = @AWK@
  73820. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  73821. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  73822. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  73823. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  73824. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  73825. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  73826. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  73827. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  73828. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  73829. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  73830. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  73831. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  73832. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  73833. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  73834. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  73835. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  73836. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  73837. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  73838. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  73839. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  73840. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  73841. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  73842. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  73843. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  73844. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  73845. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  73846. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  73847. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  73848. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  73849. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  73850. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  73851. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  73852. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  73853. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  73854. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  73855. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  73856. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  73857. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  73858. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  73859. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  73860. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  73861. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  73862. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  73863. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  73864. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  73865. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  73866. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  73867. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  73868. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  73869. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  73870. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  73871. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  73872. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  73873. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  73874. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  73875. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  73876. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  73877. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  73878. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  73879. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  73880. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  73881. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  73882. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  73883. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  73884. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  73885. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  73886. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  73887. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  73888. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  73889. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  73890. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  73891. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  73892. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  73893. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  73894. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  73895. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  73896. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  73897. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  73898. CC = @CC@
  73899. CCDEPMODE = @CCDEPMODE@
  73900. CFLAGS = @CFLAGS@
  73901. CPP = @CPP@
  73902. CPPFLAGS = @CPPFLAGS@
  73903. -CXX = @CXX@
  73904. -CXXCPP = @CXXCPP@
  73905. -CXXDEPMODE = @CXXDEPMODE@
  73906. -CXXFLAGS = @CXXFLAGS@
  73907. CYGPATH_W = @CYGPATH_W@
  73908. DEFS = @DEFS@
  73909. DEPDIR = @DEPDIR@
  73910. -ECHO = @ECHO@
  73911. +DSYMUTIL = @DSYMUTIL@
  73912. +DUMPBIN = @DUMPBIN@
  73913. ECHO_C = @ECHO_C@
  73914. ECHO_N = @ECHO_N@
  73915. ECHO_T = @ECHO_T@
  73916. EGREP = @EGREP@
  73917. EXEEXT = @EXEEXT@
  73918. -F77 = @F77@
  73919. -FFLAGS = @FFLAGS@
  73920. +FGREP = @FGREP@
  73921. GREP = @GREP@
  73922. +INSTALL = @INSTALL@
  73923. INSTALL_DATA = @INSTALL_DATA@
  73924. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  73925. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  73926. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  73927. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  73928. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  73929. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  73930. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  73931. +LD = @LD@
  73932. LDFLAGS = @LDFLAGS@
  73933. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  73934. LIBOBJS = @LIBOBJS@
  73935. LIBS = @LIBS@
  73936. LIBTOOL = @LIBTOOL@
  73937. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  73938. +LIPO = @LIPO@
  73939. LN_S = @LN_S@
  73940. LTLIBOBJS = @LTLIBOBJS@
  73941. MAKEINFO = @MAKEINFO@
  73942. +MKDIR_P = @MKDIR_P@
  73943. +NM = @NM@
  73944. +NMEDIT = @NMEDIT@
  73945. +OBJDUMP = @OBJDUMP@
  73946. OBJEXT = @OBJEXT@
  73947. +OTOOL = @OTOOL@
  73948. +OTOOL64 = @OTOOL64@
  73949. PACKAGE = @PACKAGE@
  73950. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  73951. PACKAGE_NAME = @PACKAGE_NAME@
  73952. PACKAGE_STRING = @PACKAGE_STRING@
  73953. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  73954. +PACKAGE_URL = @PACKAGE_URL@
  73955. PACKAGE_VERSION = @PACKAGE_VERSION@
  73956. PATH_SEPARATOR = @PATH_SEPARATOR@
  73957. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  73958. PYTHON_LIBS = @PYTHON_LIBS@
  73959. RANLIB = @RANLIB@
  73960. +SED = @SED@
  73961. SET_MAKE = @SET_MAKE@
  73962. SHELL = @SHELL@
  73963. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  73964. @@ -222,19 +183,14 @@
  73965. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  73966. SND_LIB_VERSION = @SND_LIB_VERSION@
  73967. STRIP = @STRIP@
  73968. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  73969. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  73970. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  73971. VERSION = @VERSION@
  73972. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  73973. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  73974. +abs_builddir = @abs_builddir@
  73975. +abs_srcdir = @abs_srcdir@
  73976. +abs_top_builddir = @abs_top_builddir@
  73977. +abs_top_srcdir = @abs_top_srcdir@
  73978. ac_ct_CC = @ac_ct_CC@
  73979. -ac_ct_CXX = @ac_ct_CXX@
  73980. -ac_ct_F77 = @ac_ct_F77@
  73981. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  73982. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  73983. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  73984. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  73985. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73986. am__include = @am__include@
  73987. am__leading_dot = @am__leading_dot@
  73988. am__quote = @am__quote@
  73989. @@ -246,6 +202,7 @@
  73990. build_cpu = @build_cpu@
  73991. build_os = @build_os@
  73992. build_vendor = @build_vendor@
  73993. +builddir = @builddir@
  73994. datadir = @datadir@
  73995. datarootdir = @datarootdir@
  73996. docdir = @docdir@
  73997. @@ -264,6 +221,7 @@
  73998. libexecdir = @libexecdir@
  73999. localedir = @localedir@
  74000. localstatedir = @localstatedir@
  74001. +lt_ECHO = @lt_ECHO@
  74002. mandir = @mandir@
  74003. mkdir_p = @mkdir_p@
  74004. oldincludedir = @oldincludedir@
  74005. @@ -273,8 +231,12 @@
  74006. psdir = @psdir@
  74007. sbindir = @sbindir@
  74008. sharedstatedir = @sharedstatedir@
  74009. +srcdir = @srcdir@
  74010. sysconfdir = @sysconfdir@
  74011. target_alias = @target_alias@
  74012. +top_build_prefix = @top_build_prefix@
  74013. +top_builddir = @top_builddir@
  74014. +top_srcdir = @top_srcdir@
  74015. AM_CFLAGS = -g -O2 -W -Wall
  74016. pkglib_LTLIBRARIES = scope-level.la
  74017. scope_level_la_SOURCES = level.c
  74018. @@ -288,14 +250,14 @@
  74019. @for dep in $?; do \
  74020. case '$(am__configure_deps)' in \
  74021. *$$dep*) \
  74022. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  74023. - && exit 0; \
  74024. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  74025. + && { if test -f $@; then exit 0; else break; fi; }; \
  74026. exit 1;; \
  74027. esac; \
  74028. done; \
  74029. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/pcm/scopes/Makefile'; \
  74030. - cd $(top_srcdir) && \
  74031. - $(AUTOMAKE) --foreign src/pcm/scopes/Makefile
  74032. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/pcm/scopes/Makefile'; \
  74033. + $(am__cd) $(top_srcdir) && \
  74034. + $(AUTOMAKE) --gnu src/pcm/scopes/Makefile
  74035. .PRECIOUS: Makefile
  74036. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  74037. @case '$?' in \
  74038. @@ -313,23 +275,28 @@
  74039. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  74040. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  74041. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  74042. +$(am__aclocal_m4_deps):
  74043. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  74044. @$(NORMAL_INSTALL)
  74045. - test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"
  74046. - @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  74047. + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  74048. + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  74049. + list2=; for p in $$list; do \
  74050. if test -f $$p; then \
  74051. - f=$(am__strip_dir) \
  74052. - echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
  74053. - $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
  74054. + list2="$$list2 $$p"; \
  74055. else :; fi; \
  74056. - done
  74057. + done; \
  74058. + test -z "$$list2" || { \
  74059. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  74060. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  74061. + }
  74062. uninstall-pkglibLTLIBRARIES:
  74063. @$(NORMAL_UNINSTALL)
  74064. - @set -x; list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  74065. - p=$(am__strip_dir) \
  74066. - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
  74067. - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
  74068. + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  74069. + for p in $$list; do \
  74070. + $(am__strip_dir) \
  74071. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
  74072. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
  74073. done
  74074. clean-pkglibLTLIBRARIES:
  74075. @@ -341,7 +308,7 @@
  74076. rm -f "$${dir}/so_locations"; \
  74077. done
  74078. scope-level.la: $(scope_level_la_OBJECTS) $(scope_level_la_DEPENDENCIES)
  74079. - $(LINK) -rpath $(pkglibdir) $(scope_level_la_LDFLAGS) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS)
  74080. + $(AM_V_CCLD)$(scope_level_la_LINK) -rpath $(pkglibdir) $(scope_level_la_OBJECTS) $(scope_level_la_LIBADD) $(LIBS)
  74081. mostlyclean-compile:
  74082. -rm -f *.$(OBJEXT)
  74083. @@ -352,22 +319,25 @@
  74084. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/level.Plo@am__quote@
  74085. .c.o:
  74086. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  74087. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  74088. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74089. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74090. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  74091. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74092. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74093. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  74094. .c.obj:
  74095. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  74096. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  74097. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  74098. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74099. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  74100. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74101. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74102. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  74103. .c.lo:
  74104. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  74105. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  74106. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74107. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  74108. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  74109. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  74110. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74111. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  74112. @@ -378,82 +348,85 @@
  74113. clean-libtool:
  74114. -rm -rf .libs _libs
  74115. -distclean-libtool:
  74116. - -rm -f libtool
  74117. -uninstall-info-am:
  74118. -
  74119. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  74120. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74121. unique=`for i in $$list; do \
  74122. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74123. done | \
  74124. - $(AWK) ' { files[$$0] = 1; } \
  74125. - END { for (i in files) print i; }'`; \
  74126. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74127. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  74128. mkid -fID $$unique
  74129. tags: TAGS
  74130. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74131. $(TAGS_FILES) $(LISP)
  74132. - tags=; \
  74133. + set x; \
  74134. here=`pwd`; \
  74135. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74136. unique=`for i in $$list; do \
  74137. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74138. done | \
  74139. - $(AWK) ' { files[$$0] = 1; } \
  74140. - END { for (i in files) print i; }'`; \
  74141. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  74142. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74143. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  74144. + shift; \
  74145. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  74146. test -n "$$unique" || unique=$$empty_fix; \
  74147. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  74148. - $$tags $$unique; \
  74149. + if test $$# -gt 0; then \
  74150. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  74151. + "$$@" $$unique; \
  74152. + else \
  74153. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  74154. + $$unique; \
  74155. + fi; \
  74156. fi
  74157. ctags: CTAGS
  74158. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74159. $(TAGS_FILES) $(LISP)
  74160. - tags=; \
  74161. - here=`pwd`; \
  74162. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74163. unique=`for i in $$list; do \
  74164. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74165. done | \
  74166. - $(AWK) ' { files[$$0] = 1; } \
  74167. - END { for (i in files) print i; }'`; \
  74168. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  74169. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74170. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  74171. + test -z "$(CTAGS_ARGS)$$unique" \
  74172. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  74173. - $$tags $$unique
  74174. + $$unique
  74175. GTAGS:
  74176. here=`$(am__cd) $(top_builddir) && pwd` \
  74177. - && cd $(top_srcdir) \
  74178. - && gtags -i $(GTAGS_ARGS) $$here
  74179. + && $(am__cd) $(top_srcdir) \
  74180. + && gtags -i $(GTAGS_ARGS) "$$here"
  74181. distclean-tags:
  74182. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  74183. distdir: $(DISTFILES)
  74184. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  74185. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  74186. - list='$(DISTFILES)'; for file in $$list; do \
  74187. - case $$file in \
  74188. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  74189. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  74190. - esac; \
  74191. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74192. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74193. + list='$(DISTFILES)'; \
  74194. + dist_files=`for file in $$list; do echo $$file; done | \
  74195. + sed -e "s|^$$srcdirstrip/||;t" \
  74196. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  74197. + case $$dist_files in \
  74198. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  74199. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  74200. + sort -u` ;; \
  74201. + esac; \
  74202. + for file in $$dist_files; do \
  74203. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  74204. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  74205. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  74206. - dir="/$$dir"; \
  74207. - $(mkdir_p) "$(distdir)$$dir"; \
  74208. - else \
  74209. - dir=''; \
  74210. - fi; \
  74211. if test -d $$d/$$file; then \
  74212. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  74213. + if test -d "$(distdir)/$$file"; then \
  74214. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  74215. + fi; \
  74216. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  74217. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  74218. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  74219. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  74220. fi; \
  74221. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  74222. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  74223. else \
  74224. - test -f $(distdir)/$$file \
  74225. - || cp -p $$d/$$file $(distdir)/$$file \
  74226. + test -f "$(distdir)/$$file" \
  74227. + || cp -p $$d/$$file "$(distdir)/$$file" \
  74228. || exit 1; \
  74229. fi; \
  74230. done
  74231. @@ -462,7 +435,7 @@
  74232. all-am: Makefile $(LTLIBRARIES)
  74233. installdirs:
  74234. for dir in "$(DESTDIR)$(pkglibdir)"; do \
  74235. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  74236. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  74237. done
  74238. install: install-am
  74239. install-exec: install-exec-am
  74240. @@ -484,6 +457,7 @@
  74241. distclean-generic:
  74242. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  74243. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  74244. maintainer-clean-generic:
  74245. @echo "This command is intended for maintainers to use"
  74246. @@ -497,7 +471,7 @@
  74247. -rm -rf ./$(DEPDIR)
  74248. -rm -f Makefile
  74249. distclean-am: clean-am distclean-compile distclean-generic \
  74250. - distclean-libtool distclean-tags
  74251. + distclean-tags
  74252. dvi: dvi-am
  74253. @@ -505,18 +479,38 @@
  74254. html: html-am
  74255. +html-am:
  74256. +
  74257. info: info-am
  74258. info-am:
  74259. install-data-am:
  74260. +install-dvi: install-dvi-am
  74261. +
  74262. +install-dvi-am:
  74263. +
  74264. install-exec-am: install-pkglibLTLIBRARIES
  74265. +install-html: install-html-am
  74266. +
  74267. +install-html-am:
  74268. +
  74269. install-info: install-info-am
  74270. +install-info-am:
  74271. +
  74272. install-man:
  74273. +install-pdf: install-pdf-am
  74274. +
  74275. +install-pdf-am:
  74276. +
  74277. +install-ps: install-ps-am
  74278. +
  74279. +install-ps-am:
  74280. +
  74281. installcheck-am:
  74282. maintainer-clean: maintainer-clean-am
  74283. @@ -537,20 +531,24 @@
  74284. ps-am:
  74285. -uninstall-am: uninstall-info-am uninstall-pkglibLTLIBRARIES
  74286. +uninstall-am: uninstall-pkglibLTLIBRARIES
  74287. +
  74288. +.MAKE: install-am install-strip
  74289. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  74290. clean-libtool clean-pkglibLTLIBRARIES ctags distclean \
  74291. distclean-compile distclean-generic distclean-libtool \
  74292. distclean-tags distdir dvi dvi-am html html-am info info-am \
  74293. - install install-am install-data install-data-am install-exec \
  74294. - install-exec-am install-info install-info-am install-man \
  74295. - install-pkglibLTLIBRARIES install-strip installcheck \
  74296. + install install-am install-data install-data-am install-dvi \
  74297. + install-dvi-am install-exec install-exec-am install-html \
  74298. + install-html-am install-info install-info-am install-man \
  74299. + install-pdf install-pdf-am install-pkglibLTLIBRARIES \
  74300. + install-ps install-ps-am install-strip installcheck \
  74301. installcheck-am installdirs maintainer-clean \
  74302. maintainer-clean-generic mostlyclean mostlyclean-compile \
  74303. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  74304. - tags uninstall uninstall-am uninstall-info-am \
  74305. - uninstall-pkglibLTLIBRARIES
  74306. + tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES
  74307. +
  74308. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  74309. # Otherwise a system limit (for SysV at least) may be exceeded.
  74310. diff -Nur alsa-lib-1.0.22.orig/src/rawmidi/Makefile.in alsa-lib-1.0.22/src/rawmidi/Makefile.in
  74311. --- alsa-lib-1.0.22.orig/src/rawmidi/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  74312. +++ alsa-lib-1.0.22/src/rawmidi/Makefile.in 2011-02-24 20:33:15.883552454 +0100
  74313. @@ -1,8 +1,9 @@
  74314. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  74315. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  74316. # @configure_input@
  74317. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  74318. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  74319. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  74320. +# Inc.
  74321. # This Makefile.in is free software; the Free Software Foundation
  74322. # gives unlimited permission to copy and/or distribute it,
  74323. # with or without modifications, as long as this notice is preserved.
  74324. @@ -14,15 +15,12 @@
  74325. @SET_MAKE@
  74326. -srcdir = @srcdir@
  74327. -top_srcdir = @top_srcdir@
  74328. VPATH = @srcdir@
  74329. pkgdatadir = $(datadir)/@PACKAGE@
  74330. -pkglibdir = $(libdir)/@PACKAGE@
  74331. pkgincludedir = $(includedir)/@PACKAGE@
  74332. -top_builddir = ../..
  74333. +pkglibdir = $(libdir)/@PACKAGE@
  74334. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  74335. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  74336. -INSTALL = @INSTALL@
  74337. install_sh_DATA = $(install_sh) -c -m 644
  74338. install_sh_PROGRAM = $(install_sh) -c
  74339. install_sh_SCRIPT = $(install_sh) -c
  74340. @@ -41,13 +39,17 @@
  74341. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  74342. $(srcdir)/Makefile.in
  74343. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  74344. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  74345. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  74346. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  74347. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  74348. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  74349. $(top_srcdir)/configure.in
  74350. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  74351. $(ACLOCAL_M4)
  74352. mkinstalldirs = $(install_sh) -d
  74353. CONFIG_HEADER = $(top_builddir)/include/config.h
  74354. CONFIG_CLEAN_FILES =
  74355. +CONFIG_CLEAN_VPATH_FILES =
  74356. librawmidi_la_LIBADD =
  74357. am__librawmidi_la_SOURCES_DIST = rawmidi.c rawmidi_hw.c \
  74358. rawmidi_symbols.c rawmidi_virt.c
  74359. @@ -55,17 +57,35 @@
  74360. am_librawmidi_la_OBJECTS = rawmidi.lo rawmidi_hw.lo rawmidi_symbols.lo \
  74361. $(am__objects_1)
  74362. librawmidi_la_OBJECTS = $(am_librawmidi_la_OBJECTS)
  74363. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  74364. +AM_V_lt = $(am__v_lt_$(V))
  74365. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  74366. +am__v_lt_0 = --silent
  74367. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  74368. depcomp = $(SHELL) $(top_srcdir)/depcomp
  74369. am__depfiles_maybe = depfiles
  74370. +am__mv = mv -f
  74371. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  74372. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74373. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  74374. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74375. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  74376. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  74377. $(AM_CFLAGS) $(CFLAGS)
  74378. +AM_V_CC = $(am__v_CC_$(V))
  74379. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  74380. +am__v_CC_0 = @echo " CC " $@;
  74381. +AM_V_at = $(am__v_at_$(V))
  74382. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  74383. +am__v_at_0 = @
  74384. CCLD = $(CC)
  74385. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74386. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74387. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74388. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  74389. +AM_V_CCLD = $(am__v_CCLD_$(V))
  74390. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  74391. +am__v_CCLD_0 = @echo " CCLD " $@;
  74392. +AM_V_GEN = $(am__v_GEN_$(V))
  74393. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  74394. +am__v_GEN_0 = @echo " GEN " $@;
  74395. SOURCES = $(librawmidi_la_SOURCES)
  74396. DIST_SOURCES = $(am__librawmidi_la_SOURCES_DIST)
  74397. HEADERS = $(noinst_HEADERS)
  74398. @@ -75,143 +95,66 @@
  74399. ACLOCAL = @ACLOCAL@
  74400. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  74401. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  74402. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  74403. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  74404. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  74405. -AMDEP_FALSE = @AMDEP_FALSE@
  74406. -AMDEP_TRUE = @AMDEP_TRUE@
  74407. AMTAR = @AMTAR@
  74408. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  74409. AR = @AR@
  74410. AUTOCONF = @AUTOCONF@
  74411. AUTOHEADER = @AUTOHEADER@
  74412. AUTOMAKE = @AUTOMAKE@
  74413. AWK = @AWK@
  74414. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  74415. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  74416. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  74417. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  74418. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  74419. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  74420. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  74421. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  74422. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  74423. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  74424. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  74425. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  74426. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  74427. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  74428. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  74429. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  74430. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  74431. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  74432. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  74433. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  74434. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  74435. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  74436. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  74437. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  74438. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  74439. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  74440. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  74441. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  74442. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  74443. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  74444. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  74445. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  74446. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  74447. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  74448. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  74449. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  74450. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  74451. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  74452. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  74453. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  74454. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  74455. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  74456. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  74457. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  74458. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  74459. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  74460. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  74461. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  74462. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  74463. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  74464. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  74465. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  74466. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  74467. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  74468. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  74469. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  74470. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  74471. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  74472. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  74473. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  74474. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  74475. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  74476. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  74477. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  74478. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  74479. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  74480. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  74481. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  74482. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  74483. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  74484. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  74485. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  74486. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  74487. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  74488. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  74489. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  74490. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  74491. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  74492. CC = @CC@
  74493. CCDEPMODE = @CCDEPMODE@
  74494. CFLAGS = @CFLAGS@
  74495. CPP = @CPP@
  74496. CPPFLAGS = @CPPFLAGS@
  74497. -CXX = @CXX@
  74498. -CXXCPP = @CXXCPP@
  74499. -CXXDEPMODE = @CXXDEPMODE@
  74500. -CXXFLAGS = @CXXFLAGS@
  74501. CYGPATH_W = @CYGPATH_W@
  74502. DEFS = @DEFS@
  74503. DEPDIR = @DEPDIR@
  74504. -ECHO = @ECHO@
  74505. +DSYMUTIL = @DSYMUTIL@
  74506. +DUMPBIN = @DUMPBIN@
  74507. ECHO_C = @ECHO_C@
  74508. ECHO_N = @ECHO_N@
  74509. ECHO_T = @ECHO_T@
  74510. EGREP = @EGREP@
  74511. EXEEXT = @EXEEXT@
  74512. -F77 = @F77@
  74513. -FFLAGS = @FFLAGS@
  74514. +FGREP = @FGREP@
  74515. GREP = @GREP@
  74516. +INSTALL = @INSTALL@
  74517. INSTALL_DATA = @INSTALL_DATA@
  74518. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  74519. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  74520. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  74521. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  74522. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  74523. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  74524. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  74525. +LD = @LD@
  74526. LDFLAGS = @LDFLAGS@
  74527. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  74528. LIBOBJS = @LIBOBJS@
  74529. LIBS = @LIBS@
  74530. LIBTOOL = @LIBTOOL@
  74531. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  74532. +LIPO = @LIPO@
  74533. LN_S = @LN_S@
  74534. LTLIBOBJS = @LTLIBOBJS@
  74535. MAKEINFO = @MAKEINFO@
  74536. +MKDIR_P = @MKDIR_P@
  74537. +NM = @NM@
  74538. +NMEDIT = @NMEDIT@
  74539. +OBJDUMP = @OBJDUMP@
  74540. OBJEXT = @OBJEXT@
  74541. +OTOOL = @OTOOL@
  74542. +OTOOL64 = @OTOOL64@
  74543. PACKAGE = @PACKAGE@
  74544. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  74545. PACKAGE_NAME = @PACKAGE_NAME@
  74546. PACKAGE_STRING = @PACKAGE_STRING@
  74547. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  74548. +PACKAGE_URL = @PACKAGE_URL@
  74549. PACKAGE_VERSION = @PACKAGE_VERSION@
  74550. PATH_SEPARATOR = @PATH_SEPARATOR@
  74551. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  74552. PYTHON_LIBS = @PYTHON_LIBS@
  74553. RANLIB = @RANLIB@
  74554. +SED = @SED@
  74555. SET_MAKE = @SET_MAKE@
  74556. SHELL = @SHELL@
  74557. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  74558. @@ -220,19 +163,14 @@
  74559. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  74560. SND_LIB_VERSION = @SND_LIB_VERSION@
  74561. STRIP = @STRIP@
  74562. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  74563. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  74564. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  74565. VERSION = @VERSION@
  74566. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  74567. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  74568. +abs_builddir = @abs_builddir@
  74569. +abs_srcdir = @abs_srcdir@
  74570. +abs_top_builddir = @abs_top_builddir@
  74571. +abs_top_srcdir = @abs_top_srcdir@
  74572. ac_ct_CC = @ac_ct_CC@
  74573. -ac_ct_CXX = @ac_ct_CXX@
  74574. -ac_ct_F77 = @ac_ct_F77@
  74575. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  74576. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  74577. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  74578. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  74579. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  74580. am__include = @am__include@
  74581. am__leading_dot = @am__leading_dot@
  74582. am__quote = @am__quote@
  74583. @@ -244,6 +182,7 @@
  74584. build_cpu = @build_cpu@
  74585. build_os = @build_os@
  74586. build_vendor = @build_vendor@
  74587. +builddir = @builddir@
  74588. datadir = @datadir@
  74589. datarootdir = @datarootdir@
  74590. docdir = @docdir@
  74591. @@ -262,6 +201,7 @@
  74592. libexecdir = @libexecdir@
  74593. localedir = @localedir@
  74594. localstatedir = @localstatedir@
  74595. +lt_ECHO = @lt_ECHO@
  74596. mandir = @mandir@
  74597. mkdir_p = @mkdir_p@
  74598. oldincludedir = @oldincludedir@
  74599. @@ -271,8 +211,12 @@
  74600. psdir = @psdir@
  74601. sbindir = @sbindir@
  74602. sharedstatedir = @sharedstatedir@
  74603. +srcdir = @srcdir@
  74604. sysconfdir = @sysconfdir@
  74605. target_alias = @target_alias@
  74606. +top_build_prefix = @top_build_prefix@
  74607. +top_builddir = @top_builddir@
  74608. +top_srcdir = @top_srcdir@
  74609. EXTRA_LTLIBRARIES = librawmidi.la
  74610. librawmidi_la_SOURCES = rawmidi.c rawmidi_hw.c rawmidi_symbols.c \
  74611. $(am__append_1)
  74612. @@ -286,14 +230,14 @@
  74613. @for dep in $?; do \
  74614. case '$(am__configure_deps)' in \
  74615. *$$dep*) \
  74616. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  74617. - && exit 0; \
  74618. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  74619. + && { if test -f $@; then exit 0; else break; fi; }; \
  74620. exit 1;; \
  74621. esac; \
  74622. done; \
  74623. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/rawmidi/Makefile'; \
  74624. - cd $(top_srcdir) && \
  74625. - $(AUTOMAKE) --foreign src/rawmidi/Makefile
  74626. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/rawmidi/Makefile'; \
  74627. + $(am__cd) $(top_srcdir) && \
  74628. + $(AUTOMAKE) --gnu src/rawmidi/Makefile
  74629. .PRECIOUS: Makefile
  74630. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  74631. @case '$?' in \
  74632. @@ -311,8 +255,9 @@
  74633. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  74634. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  74635. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  74636. +$(am__aclocal_m4_deps):
  74637. librawmidi.la: $(librawmidi_la_OBJECTS) $(librawmidi_la_DEPENDENCIES)
  74638. - $(LINK) $(librawmidi_la_LDFLAGS) $(librawmidi_la_OBJECTS) $(librawmidi_la_LIBADD) $(LIBS)
  74639. + $(AM_V_CCLD)$(LINK) $(librawmidi_la_OBJECTS) $(librawmidi_la_LIBADD) $(LIBS)
  74640. mostlyclean-compile:
  74641. -rm -f *.$(OBJEXT)
  74642. @@ -326,22 +271,25 @@
  74643. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rawmidi_virt.Plo@am__quote@
  74644. .c.o:
  74645. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  74646. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  74647. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74648. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74649. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  74650. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74651. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74652. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  74653. .c.obj:
  74654. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  74655. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  74656. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  74657. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  74658. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  74659. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  74660. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74661. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  74662. .c.lo:
  74663. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  74664. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  74665. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  74666. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  74667. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  74668. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  74669. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  74670. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  74671. @@ -352,82 +300,85 @@
  74672. clean-libtool:
  74673. -rm -rf .libs _libs
  74674. -distclean-libtool:
  74675. - -rm -f libtool
  74676. -uninstall-info-am:
  74677. -
  74678. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  74679. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74680. unique=`for i in $$list; do \
  74681. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74682. done | \
  74683. - $(AWK) ' { files[$$0] = 1; } \
  74684. - END { for (i in files) print i; }'`; \
  74685. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74686. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  74687. mkid -fID $$unique
  74688. tags: TAGS
  74689. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74690. $(TAGS_FILES) $(LISP)
  74691. - tags=; \
  74692. + set x; \
  74693. here=`pwd`; \
  74694. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74695. unique=`for i in $$list; do \
  74696. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74697. done | \
  74698. - $(AWK) ' { files[$$0] = 1; } \
  74699. - END { for (i in files) print i; }'`; \
  74700. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  74701. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74702. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  74703. + shift; \
  74704. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  74705. test -n "$$unique" || unique=$$empty_fix; \
  74706. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  74707. - $$tags $$unique; \
  74708. + if test $$# -gt 0; then \
  74709. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  74710. + "$$@" $$unique; \
  74711. + else \
  74712. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  74713. + $$unique; \
  74714. + fi; \
  74715. fi
  74716. ctags: CTAGS
  74717. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  74718. $(TAGS_FILES) $(LISP)
  74719. - tags=; \
  74720. - here=`pwd`; \
  74721. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  74722. unique=`for i in $$list; do \
  74723. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  74724. done | \
  74725. - $(AWK) ' { files[$$0] = 1; } \
  74726. - END { for (i in files) print i; }'`; \
  74727. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  74728. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  74729. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  74730. + test -z "$(CTAGS_ARGS)$$unique" \
  74731. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  74732. - $$tags $$unique
  74733. + $$unique
  74734. GTAGS:
  74735. here=`$(am__cd) $(top_builddir) && pwd` \
  74736. - && cd $(top_srcdir) \
  74737. - && gtags -i $(GTAGS_ARGS) $$here
  74738. + && $(am__cd) $(top_srcdir) \
  74739. + && gtags -i $(GTAGS_ARGS) "$$here"
  74740. distclean-tags:
  74741. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  74742. distdir: $(DISTFILES)
  74743. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  74744. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  74745. - list='$(DISTFILES)'; for file in $$list; do \
  74746. - case $$file in \
  74747. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  74748. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  74749. - esac; \
  74750. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74751. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  74752. + list='$(DISTFILES)'; \
  74753. + dist_files=`for file in $$list; do echo $$file; done | \
  74754. + sed -e "s|^$$srcdirstrip/||;t" \
  74755. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  74756. + case $$dist_files in \
  74757. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  74758. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  74759. + sort -u` ;; \
  74760. + esac; \
  74761. + for file in $$dist_files; do \
  74762. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  74763. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  74764. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  74765. - dir="/$$dir"; \
  74766. - $(mkdir_p) "$(distdir)$$dir"; \
  74767. - else \
  74768. - dir=''; \
  74769. - fi; \
  74770. if test -d $$d/$$file; then \
  74771. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  74772. + if test -d "$(distdir)/$$file"; then \
  74773. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  74774. + fi; \
  74775. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  74776. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  74777. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  74778. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  74779. fi; \
  74780. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  74781. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  74782. else \
  74783. - test -f $(distdir)/$$file \
  74784. - || cp -p $$d/$$file $(distdir)/$$file \
  74785. + test -f "$(distdir)/$$file" \
  74786. + || cp -p $$d/$$file "$(distdir)/$$file" \
  74787. || exit 1; \
  74788. fi; \
  74789. done
  74790. @@ -455,6 +406,7 @@
  74791. distclean-generic:
  74792. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  74793. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  74794. maintainer-clean-generic:
  74795. @echo "This command is intended for maintainers to use"
  74796. @@ -467,7 +419,7 @@
  74797. -rm -rf ./$(DEPDIR)
  74798. -rm -f Makefile
  74799. distclean-am: clean-am distclean-compile distclean-generic \
  74800. - distclean-libtool distclean-tags
  74801. + distclean-tags
  74802. dvi: dvi-am
  74803. @@ -475,18 +427,38 @@
  74804. html: html-am
  74805. +html-am:
  74806. +
  74807. info: info-am
  74808. info-am:
  74809. install-data-am:
  74810. +install-dvi: install-dvi-am
  74811. +
  74812. +install-dvi-am:
  74813. +
  74814. install-exec-am:
  74815. +install-html: install-html-am
  74816. +
  74817. +install-html-am:
  74818. +
  74819. install-info: install-info-am
  74820. +install-info-am:
  74821. +
  74822. install-man:
  74823. +install-pdf: install-pdf-am
  74824. +
  74825. +install-pdf-am:
  74826. +
  74827. +install-ps: install-ps-am
  74828. +
  74829. +install-ps-am:
  74830. +
  74831. installcheck-am:
  74832. maintainer-clean: maintainer-clean-am
  74833. @@ -507,21 +479,26 @@
  74834. ps-am:
  74835. -uninstall-am: uninstall-info-am
  74836. +uninstall-am:
  74837. +
  74838. +.MAKE: install-am install-strip
  74839. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  74840. clean-libtool ctags distclean distclean-compile \
  74841. distclean-generic distclean-libtool distclean-tags distdir dvi \
  74842. dvi-am html html-am info info-am install install-am \
  74843. - install-data install-data-am install-exec install-exec-am \
  74844. - install-info install-info-am install-man install-strip \
  74845. + install-data install-data-am install-dvi install-dvi-am \
  74846. + install-exec install-exec-am install-html install-html-am \
  74847. + install-info install-info-am install-man install-pdf \
  74848. + install-pdf-am install-ps install-ps-am install-strip \
  74849. installcheck installcheck-am installdirs maintainer-clean \
  74850. maintainer-clean-generic mostlyclean mostlyclean-compile \
  74851. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  74852. - tags uninstall uninstall-am uninstall-info-am
  74853. + tags uninstall uninstall-am
  74854. all: librawmidi.la
  74855. +
  74856. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  74857. # Otherwise a system limit (for SysV at least) may be exceeded.
  74858. .NOEXPORT:
  74859. diff -Nur alsa-lib-1.0.22.orig/src/seq/Makefile.in alsa-lib-1.0.22/src/seq/Makefile.in
  74860. --- alsa-lib-1.0.22.orig/src/seq/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  74861. +++ alsa-lib-1.0.22/src/seq/Makefile.in 2011-02-24 20:33:15.943551940 +0100
  74862. @@ -1,8 +1,9 @@
  74863. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  74864. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  74865. # @configure_input@
  74866. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  74867. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  74868. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  74869. +# Inc.
  74870. # This Makefile.in is free software; the Free Software Foundation
  74871. # gives unlimited permission to copy and/or distribute it,
  74872. # with or without modifications, as long as this notice is preserved.
  74873. @@ -14,15 +15,12 @@
  74874. @SET_MAKE@
  74875. -srcdir = @srcdir@
  74876. -top_srcdir = @top_srcdir@
  74877. VPATH = @srcdir@
  74878. pkgdatadir = $(datadir)/@PACKAGE@
  74879. -pkglibdir = $(libdir)/@PACKAGE@
  74880. pkgincludedir = $(includedir)/@PACKAGE@
  74881. -top_builddir = ../..
  74882. +pkglibdir = $(libdir)/@PACKAGE@
  74883. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  74884. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  74885. -INSTALL = @INSTALL@
  74886. install_sh_DATA = $(install_sh) -c -m 644
  74887. install_sh_PROGRAM = $(install_sh) -c
  74888. install_sh_SCRIPT = $(install_sh) -c
  74889. @@ -41,13 +39,17 @@
  74890. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  74891. $(srcdir)/Makefile.in
  74892. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  74893. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  74894. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  74895. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  74896. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  74897. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  74898. $(top_srcdir)/configure.in
  74899. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  74900. $(ACLOCAL_M4)
  74901. mkinstalldirs = $(install_sh) -d
  74902. CONFIG_HEADER = $(top_builddir)/include/config.h
  74903. CONFIG_CLEAN_FILES =
  74904. +CONFIG_CLEAN_VPATH_FILES =
  74905. libseq_la_LIBADD =
  74906. am__libseq_la_SOURCES_DIST = seq_hw.c seq.c seq_event.c seqmid.c \
  74907. seq_midi_event.c seq_symbols.c seq_old.c
  74908. @@ -55,17 +57,35 @@
  74909. am_libseq_la_OBJECTS = seq_hw.lo seq.lo seq_event.lo seqmid.lo \
  74910. seq_midi_event.lo seq_symbols.lo $(am__objects_1)
  74911. libseq_la_OBJECTS = $(am_libseq_la_OBJECTS)
  74912. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  74913. +AM_V_lt = $(am__v_lt_$(V))
  74914. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  74915. +am__v_lt_0 = --silent
  74916. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  74917. depcomp = $(SHELL) $(top_srcdir)/depcomp
  74918. am__depfiles_maybe = depfiles
  74919. +am__mv = mv -f
  74920. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  74921. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  74922. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  74923. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74924. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  74925. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  74926. $(AM_CFLAGS) $(CFLAGS)
  74927. +AM_V_CC = $(am__v_CC_$(V))
  74928. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  74929. +am__v_CC_0 = @echo " CC " $@;
  74930. +AM_V_at = $(am__v_at_$(V))
  74931. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  74932. +am__v_at_0 = @
  74933. CCLD = $(CC)
  74934. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74935. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  74936. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  74937. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  74938. +AM_V_CCLD = $(am__v_CCLD_$(V))
  74939. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  74940. +am__v_CCLD_0 = @echo " CCLD " $@;
  74941. +AM_V_GEN = $(am__v_GEN_$(V))
  74942. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  74943. +am__v_GEN_0 = @echo " GEN " $@;
  74944. SOURCES = $(libseq_la_SOURCES)
  74945. DIST_SOURCES = $(am__libseq_la_SOURCES_DIST)
  74946. HEADERS = $(noinst_HEADERS)
  74947. @@ -75,143 +95,66 @@
  74948. ACLOCAL = @ACLOCAL@
  74949. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  74950. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  74951. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  74952. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  74953. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  74954. -AMDEP_FALSE = @AMDEP_FALSE@
  74955. -AMDEP_TRUE = @AMDEP_TRUE@
  74956. AMTAR = @AMTAR@
  74957. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  74958. AR = @AR@
  74959. AUTOCONF = @AUTOCONF@
  74960. AUTOHEADER = @AUTOHEADER@
  74961. AUTOMAKE = @AUTOMAKE@
  74962. AWK = @AWK@
  74963. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  74964. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  74965. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  74966. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  74967. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  74968. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  74969. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  74970. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  74971. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  74972. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  74973. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  74974. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  74975. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  74976. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  74977. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  74978. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  74979. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  74980. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  74981. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  74982. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  74983. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  74984. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  74985. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  74986. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  74987. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  74988. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  74989. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  74990. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  74991. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  74992. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  74993. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  74994. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  74995. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  74996. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  74997. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  74998. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  74999. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  75000. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  75001. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  75002. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  75003. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  75004. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  75005. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  75006. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  75007. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  75008. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  75009. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  75010. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  75011. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  75012. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  75013. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  75014. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  75015. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  75016. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  75017. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  75018. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  75019. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  75020. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  75021. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  75022. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  75023. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  75024. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  75025. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  75026. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  75027. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  75028. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  75029. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  75030. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  75031. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  75032. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  75033. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  75034. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  75035. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  75036. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  75037. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  75038. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  75039. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  75040. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  75041. CC = @CC@
  75042. CCDEPMODE = @CCDEPMODE@
  75043. CFLAGS = @CFLAGS@
  75044. CPP = @CPP@
  75045. CPPFLAGS = @CPPFLAGS@
  75046. -CXX = @CXX@
  75047. -CXXCPP = @CXXCPP@
  75048. -CXXDEPMODE = @CXXDEPMODE@
  75049. -CXXFLAGS = @CXXFLAGS@
  75050. CYGPATH_W = @CYGPATH_W@
  75051. DEFS = @DEFS@
  75052. DEPDIR = @DEPDIR@
  75053. -ECHO = @ECHO@
  75054. +DSYMUTIL = @DSYMUTIL@
  75055. +DUMPBIN = @DUMPBIN@
  75056. ECHO_C = @ECHO_C@
  75057. ECHO_N = @ECHO_N@
  75058. ECHO_T = @ECHO_T@
  75059. EGREP = @EGREP@
  75060. EXEEXT = @EXEEXT@
  75061. -F77 = @F77@
  75062. -FFLAGS = @FFLAGS@
  75063. +FGREP = @FGREP@
  75064. GREP = @GREP@
  75065. +INSTALL = @INSTALL@
  75066. INSTALL_DATA = @INSTALL_DATA@
  75067. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  75068. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  75069. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  75070. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  75071. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  75072. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  75073. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  75074. +LD = @LD@
  75075. LDFLAGS = @LDFLAGS@
  75076. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  75077. LIBOBJS = @LIBOBJS@
  75078. LIBS = @LIBS@
  75079. LIBTOOL = @LIBTOOL@
  75080. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  75081. +LIPO = @LIPO@
  75082. LN_S = @LN_S@
  75083. LTLIBOBJS = @LTLIBOBJS@
  75084. MAKEINFO = @MAKEINFO@
  75085. +MKDIR_P = @MKDIR_P@
  75086. +NM = @NM@
  75087. +NMEDIT = @NMEDIT@
  75088. +OBJDUMP = @OBJDUMP@
  75089. OBJEXT = @OBJEXT@
  75090. +OTOOL = @OTOOL@
  75091. +OTOOL64 = @OTOOL64@
  75092. PACKAGE = @PACKAGE@
  75093. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  75094. PACKAGE_NAME = @PACKAGE_NAME@
  75095. PACKAGE_STRING = @PACKAGE_STRING@
  75096. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  75097. +PACKAGE_URL = @PACKAGE_URL@
  75098. PACKAGE_VERSION = @PACKAGE_VERSION@
  75099. PATH_SEPARATOR = @PATH_SEPARATOR@
  75100. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  75101. PYTHON_LIBS = @PYTHON_LIBS@
  75102. RANLIB = @RANLIB@
  75103. +SED = @SED@
  75104. SET_MAKE = @SET_MAKE@
  75105. SHELL = @SHELL@
  75106. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  75107. @@ -220,19 +163,14 @@
  75108. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  75109. SND_LIB_VERSION = @SND_LIB_VERSION@
  75110. STRIP = @STRIP@
  75111. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  75112. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  75113. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  75114. VERSION = @VERSION@
  75115. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  75116. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  75117. +abs_builddir = @abs_builddir@
  75118. +abs_srcdir = @abs_srcdir@
  75119. +abs_top_builddir = @abs_top_builddir@
  75120. +abs_top_srcdir = @abs_top_srcdir@
  75121. ac_ct_CC = @ac_ct_CC@
  75122. -ac_ct_CXX = @ac_ct_CXX@
  75123. -ac_ct_F77 = @ac_ct_F77@
  75124. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  75125. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  75126. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  75127. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  75128. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  75129. am__include = @am__include@
  75130. am__leading_dot = @am__leading_dot@
  75131. am__quote = @am__quote@
  75132. @@ -244,6 +182,7 @@
  75133. build_cpu = @build_cpu@
  75134. build_os = @build_os@
  75135. build_vendor = @build_vendor@
  75136. +builddir = @builddir@
  75137. datadir = @datadir@
  75138. datarootdir = @datarootdir@
  75139. docdir = @docdir@
  75140. @@ -262,6 +201,7 @@
  75141. libexecdir = @libexecdir@
  75142. localedir = @localedir@
  75143. localstatedir = @localstatedir@
  75144. +lt_ECHO = @lt_ECHO@
  75145. mandir = @mandir@
  75146. mkdir_p = @mkdir_p@
  75147. oldincludedir = @oldincludedir@
  75148. @@ -271,8 +211,12 @@
  75149. psdir = @psdir@
  75150. sbindir = @sbindir@
  75151. sharedstatedir = @sharedstatedir@
  75152. +srcdir = @srcdir@
  75153. sysconfdir = @sysconfdir@
  75154. target_alias = @target_alias@
  75155. +top_build_prefix = @top_build_prefix@
  75156. +top_builddir = @top_builddir@
  75157. +top_srcdir = @top_srcdir@
  75158. EXTRA_LTLIBRARIES = libseq.la
  75159. libseq_la_SOURCES = seq_hw.c seq.c seq_event.c seqmid.c \
  75160. seq_midi_event.c seq_symbols.c $(am__append_1)
  75161. @@ -286,14 +230,14 @@
  75162. @for dep in $?; do \
  75163. case '$(am__configure_deps)' in \
  75164. *$$dep*) \
  75165. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  75166. - && exit 0; \
  75167. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  75168. + && { if test -f $@; then exit 0; else break; fi; }; \
  75169. exit 1;; \
  75170. esac; \
  75171. done; \
  75172. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/seq/Makefile'; \
  75173. - cd $(top_srcdir) && \
  75174. - $(AUTOMAKE) --foreign src/seq/Makefile
  75175. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/seq/Makefile'; \
  75176. + $(am__cd) $(top_srcdir) && \
  75177. + $(AUTOMAKE) --gnu src/seq/Makefile
  75178. .PRECIOUS: Makefile
  75179. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  75180. @case '$?' in \
  75181. @@ -311,8 +255,9 @@
  75182. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  75183. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  75184. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  75185. +$(am__aclocal_m4_deps):
  75186. libseq.la: $(libseq_la_OBJECTS) $(libseq_la_DEPENDENCIES)
  75187. - $(LINK) $(libseq_la_LDFLAGS) $(libseq_la_OBJECTS) $(libseq_la_LIBADD) $(LIBS)
  75188. + $(AM_V_CCLD)$(LINK) $(libseq_la_OBJECTS) $(libseq_la_LIBADD) $(LIBS)
  75189. mostlyclean-compile:
  75190. -rm -f *.$(OBJEXT)
  75191. @@ -329,22 +274,25 @@
  75192. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seqmid.Plo@am__quote@
  75193. .c.o:
  75194. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  75195. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  75196. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75197. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75198. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  75199. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75200. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75201. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  75202. .c.obj:
  75203. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  75204. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  75205. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  75206. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75207. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  75208. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75209. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75210. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  75211. .c.lo:
  75212. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  75213. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  75214. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75215. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  75216. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  75217. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  75218. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75219. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  75220. @@ -355,82 +303,85 @@
  75221. clean-libtool:
  75222. -rm -rf .libs _libs
  75223. -distclean-libtool:
  75224. - -rm -f libtool
  75225. -uninstall-info-am:
  75226. -
  75227. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  75228. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75229. unique=`for i in $$list; do \
  75230. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75231. done | \
  75232. - $(AWK) ' { files[$$0] = 1; } \
  75233. - END { for (i in files) print i; }'`; \
  75234. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75235. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  75236. mkid -fID $$unique
  75237. tags: TAGS
  75238. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75239. $(TAGS_FILES) $(LISP)
  75240. - tags=; \
  75241. + set x; \
  75242. here=`pwd`; \
  75243. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75244. unique=`for i in $$list; do \
  75245. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75246. done | \
  75247. - $(AWK) ' { files[$$0] = 1; } \
  75248. - END { for (i in files) print i; }'`; \
  75249. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  75250. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75251. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  75252. + shift; \
  75253. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  75254. test -n "$$unique" || unique=$$empty_fix; \
  75255. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  75256. - $$tags $$unique; \
  75257. + if test $$# -gt 0; then \
  75258. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  75259. + "$$@" $$unique; \
  75260. + else \
  75261. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  75262. + $$unique; \
  75263. + fi; \
  75264. fi
  75265. ctags: CTAGS
  75266. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75267. $(TAGS_FILES) $(LISP)
  75268. - tags=; \
  75269. - here=`pwd`; \
  75270. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75271. unique=`for i in $$list; do \
  75272. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75273. done | \
  75274. - $(AWK) ' { files[$$0] = 1; } \
  75275. - END { for (i in files) print i; }'`; \
  75276. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  75277. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75278. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  75279. + test -z "$(CTAGS_ARGS)$$unique" \
  75280. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  75281. - $$tags $$unique
  75282. + $$unique
  75283. GTAGS:
  75284. here=`$(am__cd) $(top_builddir) && pwd` \
  75285. - && cd $(top_srcdir) \
  75286. - && gtags -i $(GTAGS_ARGS) $$here
  75287. + && $(am__cd) $(top_srcdir) \
  75288. + && gtags -i $(GTAGS_ARGS) "$$here"
  75289. distclean-tags:
  75290. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  75291. distdir: $(DISTFILES)
  75292. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  75293. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  75294. - list='$(DISTFILES)'; for file in $$list; do \
  75295. - case $$file in \
  75296. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  75297. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  75298. - esac; \
  75299. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75300. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75301. + list='$(DISTFILES)'; \
  75302. + dist_files=`for file in $$list; do echo $$file; done | \
  75303. + sed -e "s|^$$srcdirstrip/||;t" \
  75304. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  75305. + case $$dist_files in \
  75306. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  75307. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  75308. + sort -u` ;; \
  75309. + esac; \
  75310. + for file in $$dist_files; do \
  75311. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  75312. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  75313. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  75314. - dir="/$$dir"; \
  75315. - $(mkdir_p) "$(distdir)$$dir"; \
  75316. - else \
  75317. - dir=''; \
  75318. - fi; \
  75319. if test -d $$d/$$file; then \
  75320. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  75321. + if test -d "$(distdir)/$$file"; then \
  75322. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  75323. + fi; \
  75324. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  75325. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  75326. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  75327. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  75328. fi; \
  75329. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  75330. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  75331. else \
  75332. - test -f $(distdir)/$$file \
  75333. - || cp -p $$d/$$file $(distdir)/$$file \
  75334. + test -f "$(distdir)/$$file" \
  75335. + || cp -p $$d/$$file "$(distdir)/$$file" \
  75336. || exit 1; \
  75337. fi; \
  75338. done
  75339. @@ -458,6 +409,7 @@
  75340. distclean-generic:
  75341. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  75342. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  75343. maintainer-clean-generic:
  75344. @echo "This command is intended for maintainers to use"
  75345. @@ -470,7 +422,7 @@
  75346. -rm -rf ./$(DEPDIR)
  75347. -rm -f Makefile
  75348. distclean-am: clean-am distclean-compile distclean-generic \
  75349. - distclean-libtool distclean-tags
  75350. + distclean-tags
  75351. dvi: dvi-am
  75352. @@ -478,18 +430,38 @@
  75353. html: html-am
  75354. +html-am:
  75355. +
  75356. info: info-am
  75357. info-am:
  75358. install-data-am:
  75359. +install-dvi: install-dvi-am
  75360. +
  75361. +install-dvi-am:
  75362. +
  75363. install-exec-am:
  75364. +install-html: install-html-am
  75365. +
  75366. +install-html-am:
  75367. +
  75368. install-info: install-info-am
  75369. +install-info-am:
  75370. +
  75371. install-man:
  75372. +install-pdf: install-pdf-am
  75373. +
  75374. +install-pdf-am:
  75375. +
  75376. +install-ps: install-ps-am
  75377. +
  75378. +install-ps-am:
  75379. +
  75380. installcheck-am:
  75381. maintainer-clean: maintainer-clean-am
  75382. @@ -510,21 +482,26 @@
  75383. ps-am:
  75384. -uninstall-am: uninstall-info-am
  75385. +uninstall-am:
  75386. +
  75387. +.MAKE: install-am install-strip
  75388. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  75389. clean-libtool ctags distclean distclean-compile \
  75390. distclean-generic distclean-libtool distclean-tags distdir dvi \
  75391. dvi-am html html-am info info-am install install-am \
  75392. - install-data install-data-am install-exec install-exec-am \
  75393. - install-info install-info-am install-man install-strip \
  75394. + install-data install-data-am install-dvi install-dvi-am \
  75395. + install-exec install-exec-am install-html install-html-am \
  75396. + install-info install-info-am install-man install-pdf \
  75397. + install-pdf-am install-ps install-ps-am install-strip \
  75398. installcheck installcheck-am installdirs maintainer-clean \
  75399. maintainer-clean-generic mostlyclean mostlyclean-compile \
  75400. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  75401. - tags uninstall uninstall-am uninstall-info-am
  75402. + tags uninstall uninstall-am
  75403. all: libseq.la
  75404. +
  75405. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  75406. # Otherwise a system limit (for SysV at least) may be exceeded.
  75407. .NOEXPORT:
  75408. diff -Nur alsa-lib-1.0.22.orig/src/timer/Makefile.in alsa-lib-1.0.22/src/timer/Makefile.in
  75409. --- alsa-lib-1.0.22.orig/src/timer/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  75410. +++ alsa-lib-1.0.22/src/timer/Makefile.in 2011-02-24 20:33:16.033551843 +0100
  75411. @@ -1,8 +1,9 @@
  75412. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  75413. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  75414. # @configure_input@
  75415. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  75416. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  75417. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  75418. +# Inc.
  75419. # This Makefile.in is free software; the Free Software Foundation
  75420. # gives unlimited permission to copy and/or distribute it,
  75421. # with or without modifications, as long as this notice is preserved.
  75422. @@ -14,15 +15,12 @@
  75423. @SET_MAKE@
  75424. -srcdir = @srcdir@
  75425. -top_srcdir = @top_srcdir@
  75426. VPATH = @srcdir@
  75427. pkgdatadir = $(datadir)/@PACKAGE@
  75428. -pkglibdir = $(libdir)/@PACKAGE@
  75429. pkgincludedir = $(includedir)/@PACKAGE@
  75430. -top_builddir = ../..
  75431. +pkglibdir = $(libdir)/@PACKAGE@
  75432. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  75433. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  75434. -INSTALL = @INSTALL@
  75435. install_sh_DATA = $(install_sh) -c -m 644
  75436. install_sh_PROGRAM = $(install_sh) -c
  75437. install_sh_SCRIPT = $(install_sh) -c
  75438. @@ -40,28 +38,50 @@
  75439. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  75440. $(srcdir)/Makefile.in
  75441. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  75442. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  75443. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  75444. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  75445. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  75446. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  75447. $(top_srcdir)/configure.in
  75448. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  75449. $(ACLOCAL_M4)
  75450. mkinstalldirs = $(install_sh) -d
  75451. CONFIG_HEADER = $(top_builddir)/include/config.h
  75452. CONFIG_CLEAN_FILES =
  75453. +CONFIG_CLEAN_VPATH_FILES =
  75454. libtimer_la_LIBADD =
  75455. am_libtimer_la_OBJECTS = timer.lo timer_hw.lo timer_query.lo \
  75456. timer_query_hw.lo timer_symbols.lo
  75457. libtimer_la_OBJECTS = $(am_libtimer_la_OBJECTS)
  75458. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  75459. +AM_V_lt = $(am__v_lt_$(V))
  75460. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  75461. +am__v_lt_0 = --silent
  75462. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  75463. depcomp = $(SHELL) $(top_srcdir)/depcomp
  75464. am__depfiles_maybe = depfiles
  75465. +am__mv = mv -f
  75466. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  75467. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  75468. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  75469. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  75470. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  75471. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  75472. $(AM_CFLAGS) $(CFLAGS)
  75473. +AM_V_CC = $(am__v_CC_$(V))
  75474. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  75475. +am__v_CC_0 = @echo " CC " $@;
  75476. +AM_V_at = $(am__v_at_$(V))
  75477. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  75478. +am__v_at_0 = @
  75479. CCLD = $(CC)
  75480. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  75481. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  75482. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  75483. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  75484. +AM_V_CCLD = $(am__v_CCLD_$(V))
  75485. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  75486. +am__v_CCLD_0 = @echo " CCLD " $@;
  75487. +AM_V_GEN = $(am__v_GEN_$(V))
  75488. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  75489. +am__v_GEN_0 = @echo " GEN " $@;
  75490. SOURCES = $(libtimer_la_SOURCES)
  75491. DIST_SOURCES = $(libtimer_la_SOURCES)
  75492. HEADERS = $(noinst_HEADERS)
  75493. @@ -71,143 +91,66 @@
  75494. ACLOCAL = @ACLOCAL@
  75495. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  75496. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  75497. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  75498. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  75499. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  75500. -AMDEP_FALSE = @AMDEP_FALSE@
  75501. -AMDEP_TRUE = @AMDEP_TRUE@
  75502. AMTAR = @AMTAR@
  75503. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  75504. AR = @AR@
  75505. AUTOCONF = @AUTOCONF@
  75506. AUTOHEADER = @AUTOHEADER@
  75507. AUTOMAKE = @AUTOMAKE@
  75508. AWK = @AWK@
  75509. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  75510. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  75511. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  75512. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  75513. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  75514. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  75515. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  75516. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  75517. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  75518. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  75519. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  75520. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  75521. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  75522. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  75523. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  75524. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  75525. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  75526. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  75527. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  75528. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  75529. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  75530. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  75531. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  75532. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  75533. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  75534. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  75535. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  75536. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  75537. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  75538. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  75539. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  75540. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  75541. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  75542. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  75543. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  75544. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  75545. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  75546. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  75547. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  75548. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  75549. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  75550. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  75551. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  75552. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  75553. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  75554. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  75555. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  75556. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  75557. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  75558. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  75559. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  75560. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  75561. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  75562. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  75563. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  75564. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  75565. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  75566. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  75567. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  75568. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  75569. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  75570. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  75571. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  75572. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  75573. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  75574. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  75575. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  75576. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  75577. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  75578. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  75579. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  75580. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  75581. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  75582. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  75583. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  75584. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  75585. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  75586. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  75587. CC = @CC@
  75588. CCDEPMODE = @CCDEPMODE@
  75589. CFLAGS = @CFLAGS@
  75590. CPP = @CPP@
  75591. CPPFLAGS = @CPPFLAGS@
  75592. -CXX = @CXX@
  75593. -CXXCPP = @CXXCPP@
  75594. -CXXDEPMODE = @CXXDEPMODE@
  75595. -CXXFLAGS = @CXXFLAGS@
  75596. CYGPATH_W = @CYGPATH_W@
  75597. DEFS = @DEFS@
  75598. DEPDIR = @DEPDIR@
  75599. -ECHO = @ECHO@
  75600. +DSYMUTIL = @DSYMUTIL@
  75601. +DUMPBIN = @DUMPBIN@
  75602. ECHO_C = @ECHO_C@
  75603. ECHO_N = @ECHO_N@
  75604. ECHO_T = @ECHO_T@
  75605. EGREP = @EGREP@
  75606. EXEEXT = @EXEEXT@
  75607. -F77 = @F77@
  75608. -FFLAGS = @FFLAGS@
  75609. +FGREP = @FGREP@
  75610. GREP = @GREP@
  75611. +INSTALL = @INSTALL@
  75612. INSTALL_DATA = @INSTALL_DATA@
  75613. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  75614. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  75615. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  75616. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  75617. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  75618. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  75619. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  75620. +LD = @LD@
  75621. LDFLAGS = @LDFLAGS@
  75622. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  75623. LIBOBJS = @LIBOBJS@
  75624. LIBS = @LIBS@
  75625. LIBTOOL = @LIBTOOL@
  75626. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  75627. +LIPO = @LIPO@
  75628. LN_S = @LN_S@
  75629. LTLIBOBJS = @LTLIBOBJS@
  75630. MAKEINFO = @MAKEINFO@
  75631. +MKDIR_P = @MKDIR_P@
  75632. +NM = @NM@
  75633. +NMEDIT = @NMEDIT@
  75634. +OBJDUMP = @OBJDUMP@
  75635. OBJEXT = @OBJEXT@
  75636. +OTOOL = @OTOOL@
  75637. +OTOOL64 = @OTOOL64@
  75638. PACKAGE = @PACKAGE@
  75639. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  75640. PACKAGE_NAME = @PACKAGE_NAME@
  75641. PACKAGE_STRING = @PACKAGE_STRING@
  75642. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  75643. +PACKAGE_URL = @PACKAGE_URL@
  75644. PACKAGE_VERSION = @PACKAGE_VERSION@
  75645. PATH_SEPARATOR = @PATH_SEPARATOR@
  75646. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  75647. PYTHON_LIBS = @PYTHON_LIBS@
  75648. RANLIB = @RANLIB@
  75649. +SED = @SED@
  75650. SET_MAKE = @SET_MAKE@
  75651. SHELL = @SHELL@
  75652. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  75653. @@ -216,19 +159,14 @@
  75654. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  75655. SND_LIB_VERSION = @SND_LIB_VERSION@
  75656. STRIP = @STRIP@
  75657. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  75658. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  75659. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  75660. VERSION = @VERSION@
  75661. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  75662. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  75663. +abs_builddir = @abs_builddir@
  75664. +abs_srcdir = @abs_srcdir@
  75665. +abs_top_builddir = @abs_top_builddir@
  75666. +abs_top_srcdir = @abs_top_srcdir@
  75667. ac_ct_CC = @ac_ct_CC@
  75668. -ac_ct_CXX = @ac_ct_CXX@
  75669. -ac_ct_F77 = @ac_ct_F77@
  75670. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  75671. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  75672. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  75673. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  75674. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  75675. am__include = @am__include@
  75676. am__leading_dot = @am__leading_dot@
  75677. am__quote = @am__quote@
  75678. @@ -240,6 +178,7 @@
  75679. build_cpu = @build_cpu@
  75680. build_os = @build_os@
  75681. build_vendor = @build_vendor@
  75682. +builddir = @builddir@
  75683. datadir = @datadir@
  75684. datarootdir = @datarootdir@
  75685. docdir = @docdir@
  75686. @@ -258,6 +197,7 @@
  75687. libexecdir = @libexecdir@
  75688. localedir = @localedir@
  75689. localstatedir = @localstatedir@
  75690. +lt_ECHO = @lt_ECHO@
  75691. mandir = @mandir@
  75692. mkdir_p = @mkdir_p@
  75693. oldincludedir = @oldincludedir@
  75694. @@ -267,8 +207,12 @@
  75695. psdir = @psdir@
  75696. sbindir = @sbindir@
  75697. sharedstatedir = @sharedstatedir@
  75698. +srcdir = @srcdir@
  75699. sysconfdir = @sysconfdir@
  75700. target_alias = @target_alias@
  75701. +top_build_prefix = @top_build_prefix@
  75702. +top_builddir = @top_builddir@
  75703. +top_srcdir = @top_srcdir@
  75704. EXTRA_LTLIBRARIES = libtimer.la
  75705. libtimer_la_SOURCES = timer.c timer_hw.c timer_query.c timer_query_hw.c \
  75706. timer_symbols.c
  75707. @@ -283,14 +227,14 @@
  75708. @for dep in $?; do \
  75709. case '$(am__configure_deps)' in \
  75710. *$$dep*) \
  75711. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  75712. - && exit 0; \
  75713. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  75714. + && { if test -f $@; then exit 0; else break; fi; }; \
  75715. exit 1;; \
  75716. esac; \
  75717. done; \
  75718. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/timer/Makefile'; \
  75719. - cd $(top_srcdir) && \
  75720. - $(AUTOMAKE) --foreign src/timer/Makefile
  75721. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/timer/Makefile'; \
  75722. + $(am__cd) $(top_srcdir) && \
  75723. + $(AUTOMAKE) --gnu src/timer/Makefile
  75724. .PRECIOUS: Makefile
  75725. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  75726. @case '$?' in \
  75727. @@ -308,8 +252,9 @@
  75728. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  75729. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  75730. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  75731. +$(am__aclocal_m4_deps):
  75732. libtimer.la: $(libtimer_la_OBJECTS) $(libtimer_la_DEPENDENCIES)
  75733. - $(LINK) $(libtimer_la_LDFLAGS) $(libtimer_la_OBJECTS) $(libtimer_la_LIBADD) $(LIBS)
  75734. + $(AM_V_CCLD)$(LINK) $(libtimer_la_OBJECTS) $(libtimer_la_LIBADD) $(LIBS)
  75735. mostlyclean-compile:
  75736. -rm -f *.$(OBJEXT)
  75737. @@ -324,22 +269,25 @@
  75738. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer_symbols.Plo@am__quote@
  75739. .c.o:
  75740. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  75741. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  75742. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75743. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75744. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  75745. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75746. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75747. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  75748. .c.obj:
  75749. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  75750. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  75751. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  75752. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  75753. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  75754. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  75755. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75756. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  75757. .c.lo:
  75758. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  75759. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  75760. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  75761. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  75762. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  75763. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  75764. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  75765. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  75766. @@ -350,82 +298,85 @@
  75767. clean-libtool:
  75768. -rm -rf .libs _libs
  75769. -distclean-libtool:
  75770. - -rm -f libtool
  75771. -uninstall-info-am:
  75772. -
  75773. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  75774. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75775. unique=`for i in $$list; do \
  75776. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75777. done | \
  75778. - $(AWK) ' { files[$$0] = 1; } \
  75779. - END { for (i in files) print i; }'`; \
  75780. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75781. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  75782. mkid -fID $$unique
  75783. tags: TAGS
  75784. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75785. $(TAGS_FILES) $(LISP)
  75786. - tags=; \
  75787. + set x; \
  75788. here=`pwd`; \
  75789. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75790. unique=`for i in $$list; do \
  75791. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75792. done | \
  75793. - $(AWK) ' { files[$$0] = 1; } \
  75794. - END { for (i in files) print i; }'`; \
  75795. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  75796. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75797. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  75798. + shift; \
  75799. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  75800. test -n "$$unique" || unique=$$empty_fix; \
  75801. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  75802. - $$tags $$unique; \
  75803. + if test $$# -gt 0; then \
  75804. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  75805. + "$$@" $$unique; \
  75806. + else \
  75807. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  75808. + $$unique; \
  75809. + fi; \
  75810. fi
  75811. ctags: CTAGS
  75812. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  75813. $(TAGS_FILES) $(LISP)
  75814. - tags=; \
  75815. - here=`pwd`; \
  75816. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  75817. unique=`for i in $$list; do \
  75818. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  75819. done | \
  75820. - $(AWK) ' { files[$$0] = 1; } \
  75821. - END { for (i in files) print i; }'`; \
  75822. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  75823. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  75824. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  75825. + test -z "$(CTAGS_ARGS)$$unique" \
  75826. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  75827. - $$tags $$unique
  75828. + $$unique
  75829. GTAGS:
  75830. here=`$(am__cd) $(top_builddir) && pwd` \
  75831. - && cd $(top_srcdir) \
  75832. - && gtags -i $(GTAGS_ARGS) $$here
  75833. + && $(am__cd) $(top_srcdir) \
  75834. + && gtags -i $(GTAGS_ARGS) "$$here"
  75835. distclean-tags:
  75836. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  75837. distdir: $(DISTFILES)
  75838. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  75839. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  75840. - list='$(DISTFILES)'; for file in $$list; do \
  75841. - case $$file in \
  75842. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  75843. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  75844. - esac; \
  75845. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75846. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  75847. + list='$(DISTFILES)'; \
  75848. + dist_files=`for file in $$list; do echo $$file; done | \
  75849. + sed -e "s|^$$srcdirstrip/||;t" \
  75850. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  75851. + case $$dist_files in \
  75852. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  75853. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  75854. + sort -u` ;; \
  75855. + esac; \
  75856. + for file in $$dist_files; do \
  75857. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  75858. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  75859. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  75860. - dir="/$$dir"; \
  75861. - $(mkdir_p) "$(distdir)$$dir"; \
  75862. - else \
  75863. - dir=''; \
  75864. - fi; \
  75865. if test -d $$d/$$file; then \
  75866. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  75867. + if test -d "$(distdir)/$$file"; then \
  75868. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  75869. + fi; \
  75870. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  75871. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  75872. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  75873. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  75874. fi; \
  75875. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  75876. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  75877. else \
  75878. - test -f $(distdir)/$$file \
  75879. - || cp -p $$d/$$file $(distdir)/$$file \
  75880. + test -f "$(distdir)/$$file" \
  75881. + || cp -p $$d/$$file "$(distdir)/$$file" \
  75882. || exit 1; \
  75883. fi; \
  75884. done
  75885. @@ -453,6 +404,7 @@
  75886. distclean-generic:
  75887. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  75888. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  75889. maintainer-clean-generic:
  75890. @echo "This command is intended for maintainers to use"
  75891. @@ -465,7 +417,7 @@
  75892. -rm -rf ./$(DEPDIR)
  75893. -rm -f Makefile
  75894. distclean-am: clean-am distclean-compile distclean-generic \
  75895. - distclean-libtool distclean-tags
  75896. + distclean-tags
  75897. dvi: dvi-am
  75898. @@ -473,18 +425,38 @@
  75899. html: html-am
  75900. +html-am:
  75901. +
  75902. info: info-am
  75903. info-am:
  75904. install-data-am:
  75905. +install-dvi: install-dvi-am
  75906. +
  75907. +install-dvi-am:
  75908. +
  75909. install-exec-am:
  75910. +install-html: install-html-am
  75911. +
  75912. +install-html-am:
  75913. +
  75914. install-info: install-info-am
  75915. +install-info-am:
  75916. +
  75917. install-man:
  75918. +install-pdf: install-pdf-am
  75919. +
  75920. +install-pdf-am:
  75921. +
  75922. +install-ps: install-ps-am
  75923. +
  75924. +install-ps-am:
  75925. +
  75926. installcheck-am:
  75927. maintainer-clean: maintainer-clean-am
  75928. @@ -505,20 +477,25 @@
  75929. ps-am:
  75930. -uninstall-am: uninstall-info-am
  75931. +uninstall-am:
  75932. +
  75933. +.MAKE: install-am install-strip
  75934. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  75935. clean-libtool ctags distclean distclean-compile \
  75936. distclean-generic distclean-libtool distclean-tags distdir dvi \
  75937. dvi-am html html-am info info-am install install-am \
  75938. - install-data install-data-am install-exec install-exec-am \
  75939. - install-info install-info-am install-man install-strip \
  75940. + install-data install-data-am install-dvi install-dvi-am \
  75941. + install-exec install-exec-am install-html install-html-am \
  75942. + install-info install-info-am install-man install-pdf \
  75943. + install-pdf-am install-ps install-ps-am install-strip \
  75944. installcheck installcheck-am installdirs maintainer-clean \
  75945. maintainer-clean-generic mostlyclean mostlyclean-compile \
  75946. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  75947. - tags uninstall uninstall-am uninstall-info-am
  75948. + tags uninstall uninstall-am
  75949. all: libtimer.la
  75950. +
  75951. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  75952. # Otherwise a system limit (for SysV at least) may be exceeded.
  75953. .NOEXPORT:
  75954. diff -Nur alsa-lib-1.0.22.orig/test/lsb/Makefile.in alsa-lib-1.0.22/test/lsb/Makefile.in
  75955. --- alsa-lib-1.0.22.orig/test/lsb/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  75956. +++ alsa-lib-1.0.22/test/lsb/Makefile.in 2011-02-24 20:33:16.193552644 +0100
  75957. @@ -1,8 +1,9 @@
  75958. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  75959. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  75960. # @configure_input@
  75961. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  75962. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  75963. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  75964. +# Inc.
  75965. # This Makefile.in is free software; the Free Software Foundation
  75966. # gives unlimited permission to copy and/or distribute it,
  75967. # with or without modifications, as long as this notice is preserved.
  75968. @@ -14,15 +15,12 @@
  75969. @SET_MAKE@
  75970. -srcdir = @srcdir@
  75971. -top_srcdir = @top_srcdir@
  75972. VPATH = @srcdir@
  75973. pkgdatadir = $(datadir)/@PACKAGE@
  75974. -pkglibdir = $(libdir)/@PACKAGE@
  75975. pkgincludedir = $(includedir)/@PACKAGE@
  75976. -top_builddir = ../..
  75977. +pkglibdir = $(libdir)/@PACKAGE@
  75978. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  75979. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  75980. -INSTALL = @INSTALL@
  75981. install_sh_DATA = $(install_sh) -c -m 644
  75982. install_sh_PROGRAM = $(install_sh) -c
  75983. install_sh_SCRIPT = $(install_sh) -c
  75984. @@ -36,184 +34,132 @@
  75985. POST_UNINSTALL = :
  75986. build_triplet = @build@
  75987. host_triplet = @host@
  75988. +TESTS = config$(EXEEXT) midi_event$(EXEEXT)
  75989. check_PROGRAMS = $(am__EXEEXT_1)
  75990. subdir = test/lsb
  75991. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  75992. $(srcdir)/Makefile.in
  75993. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  75994. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  75995. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  75996. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  75997. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  75998. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  75999. $(top_srcdir)/configure.in
  76000. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  76001. $(ACLOCAL_M4)
  76002. mkinstalldirs = $(install_sh) -d
  76003. CONFIG_HEADER = $(top_builddir)/include/config.h
  76004. CONFIG_CLEAN_FILES =
  76005. +CONFIG_CLEAN_VPATH_FILES =
  76006. am__EXEEXT_1 = config$(EXEEXT) midi_event$(EXEEXT)
  76007. config_SOURCES = config.c
  76008. config_OBJECTS = config.$(OBJEXT)
  76009. config_LDADD = $(LDADD)
  76010. config_DEPENDENCIES = ../../src/libasound.la
  76011. +AM_V_lt = $(am__v_lt_$(V))
  76012. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  76013. +am__v_lt_0 = --silent
  76014. midi_event_SOURCES = midi_event.c
  76015. midi_event_OBJECTS = midi_event.$(OBJEXT)
  76016. midi_event_LDADD = $(LDADD)
  76017. midi_event_DEPENDENCIES = ../../src/libasound.la
  76018. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  76019. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  76020. depcomp = $(SHELL) $(top_srcdir)/depcomp
  76021. am__depfiles_maybe = depfiles
  76022. +am__mv = mv -f
  76023. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  76024. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  76025. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  76026. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  76027. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  76028. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  76029. $(AM_CFLAGS) $(CFLAGS)
  76030. +AM_V_CC = $(am__v_CC_$(V))
  76031. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  76032. +am__v_CC_0 = @echo " CC " $@;
  76033. +AM_V_at = $(am__v_at_$(V))
  76034. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  76035. +am__v_at_0 = @
  76036. CCLD = $(CC)
  76037. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  76038. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  76039. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  76040. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  76041. +AM_V_CCLD = $(am__v_CCLD_$(V))
  76042. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  76043. +am__v_CCLD_0 = @echo " CCLD " $@;
  76044. +AM_V_GEN = $(am__v_GEN_$(V))
  76045. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  76046. +am__v_GEN_0 = @echo " GEN " $@;
  76047. SOURCES = config.c midi_event.c
  76048. DIST_SOURCES = config.c midi_event.c
  76049. HEADERS = $(noinst_HEADERS)
  76050. ETAGS = etags
  76051. CTAGS = ctags
  76052. +am__tty_colors = \
  76053. +red=; grn=; lgn=; blu=; std=
  76054. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  76055. ACLOCAL = @ACLOCAL@
  76056. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  76057. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  76058. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  76059. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  76060. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  76061. -AMDEP_FALSE = @AMDEP_FALSE@
  76062. -AMDEP_TRUE = @AMDEP_TRUE@
  76063. AMTAR = @AMTAR@
  76064. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  76065. AR = @AR@
  76066. AUTOCONF = @AUTOCONF@
  76067. AUTOHEADER = @AUTOHEADER@
  76068. AUTOMAKE = @AUTOMAKE@
  76069. AWK = @AWK@
  76070. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  76071. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  76072. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  76073. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  76074. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  76075. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  76076. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  76077. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  76078. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  76079. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  76080. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  76081. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  76082. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  76083. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  76084. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  76085. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  76086. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  76087. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  76088. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  76089. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  76090. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  76091. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  76092. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  76093. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  76094. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  76095. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  76096. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  76097. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  76098. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  76099. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  76100. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  76101. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  76102. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  76103. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  76104. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  76105. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  76106. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  76107. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  76108. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  76109. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  76110. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  76111. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  76112. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  76113. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  76114. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  76115. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  76116. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  76117. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  76118. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  76119. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  76120. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  76121. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  76122. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  76123. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  76124. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  76125. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  76126. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  76127. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  76128. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  76129. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  76130. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  76131. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  76132. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  76133. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  76134. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  76135. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  76136. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  76137. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  76138. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  76139. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  76140. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  76141. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  76142. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  76143. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  76144. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  76145. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  76146. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  76147. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  76148. CC = @CC@
  76149. CCDEPMODE = @CCDEPMODE@
  76150. CFLAGS = @CFLAGS@
  76151. CPP = @CPP@
  76152. CPPFLAGS = @CPPFLAGS@
  76153. -CXX = @CXX@
  76154. -CXXCPP = @CXXCPP@
  76155. -CXXDEPMODE = @CXXDEPMODE@
  76156. -CXXFLAGS = @CXXFLAGS@
  76157. CYGPATH_W = @CYGPATH_W@
  76158. DEFS = @DEFS@
  76159. DEPDIR = @DEPDIR@
  76160. -ECHO = @ECHO@
  76161. +DSYMUTIL = @DSYMUTIL@
  76162. +DUMPBIN = @DUMPBIN@
  76163. ECHO_C = @ECHO_C@
  76164. ECHO_N = @ECHO_N@
  76165. ECHO_T = @ECHO_T@
  76166. EGREP = @EGREP@
  76167. EXEEXT = @EXEEXT@
  76168. -F77 = @F77@
  76169. -FFLAGS = @FFLAGS@
  76170. +FGREP = @FGREP@
  76171. GREP = @GREP@
  76172. +INSTALL = @INSTALL@
  76173. INSTALL_DATA = @INSTALL_DATA@
  76174. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  76175. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  76176. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  76177. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  76178. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  76179. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  76180. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  76181. +LD = @LD@
  76182. LDFLAGS = @LDFLAGS@
  76183. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  76184. LIBOBJS = @LIBOBJS@
  76185. LIBS = @LIBS@
  76186. LIBTOOL = @LIBTOOL@
  76187. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  76188. +LIPO = @LIPO@
  76189. LN_S = @LN_S@
  76190. LTLIBOBJS = @LTLIBOBJS@
  76191. MAKEINFO = @MAKEINFO@
  76192. +MKDIR_P = @MKDIR_P@
  76193. +NM = @NM@
  76194. +NMEDIT = @NMEDIT@
  76195. +OBJDUMP = @OBJDUMP@
  76196. OBJEXT = @OBJEXT@
  76197. +OTOOL = @OTOOL@
  76198. +OTOOL64 = @OTOOL64@
  76199. PACKAGE = @PACKAGE@
  76200. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  76201. PACKAGE_NAME = @PACKAGE_NAME@
  76202. PACKAGE_STRING = @PACKAGE_STRING@
  76203. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  76204. +PACKAGE_URL = @PACKAGE_URL@
  76205. PACKAGE_VERSION = @PACKAGE_VERSION@
  76206. PATH_SEPARATOR = @PATH_SEPARATOR@
  76207. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  76208. PYTHON_LIBS = @PYTHON_LIBS@
  76209. RANLIB = @RANLIB@
  76210. +SED = @SED@
  76211. SET_MAKE = @SET_MAKE@
  76212. SHELL = @SHELL@
  76213. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  76214. @@ -222,19 +168,14 @@
  76215. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  76216. SND_LIB_VERSION = @SND_LIB_VERSION@
  76217. STRIP = @STRIP@
  76218. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  76219. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  76220. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  76221. VERSION = @VERSION@
  76222. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  76223. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  76224. +abs_builddir = @abs_builddir@
  76225. +abs_srcdir = @abs_srcdir@
  76226. +abs_top_builddir = @abs_top_builddir@
  76227. +abs_top_srcdir = @abs_top_srcdir@
  76228. ac_ct_CC = @ac_ct_CC@
  76229. -ac_ct_CXX = @ac_ct_CXX@
  76230. -ac_ct_F77 = @ac_ct_F77@
  76231. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  76232. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  76233. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  76234. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  76235. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  76236. am__include = @am__include@
  76237. am__leading_dot = @am__leading_dot@
  76238. am__quote = @am__quote@
  76239. @@ -246,6 +187,7 @@
  76240. build_cpu = @build_cpu@
  76241. build_os = @build_os@
  76242. build_vendor = @build_vendor@
  76243. +builddir = @builddir@
  76244. datadir = @datadir@
  76245. datarootdir = @datarootdir@
  76246. docdir = @docdir@
  76247. @@ -264,6 +206,7 @@
  76248. libexecdir = @libexecdir@
  76249. localedir = @localedir@
  76250. localstatedir = @localstatedir@
  76251. +lt_ECHO = @lt_ECHO@
  76252. mandir = @mandir@
  76253. mkdir_p = @mkdir_p@
  76254. oldincludedir = @oldincludedir@
  76255. @@ -273,9 +216,12 @@
  76256. psdir = @psdir@
  76257. sbindir = @sbindir@
  76258. sharedstatedir = @sharedstatedir@
  76259. +srcdir = @srcdir@
  76260. sysconfdir = @sysconfdir@
  76261. target_alias = @target_alias@
  76262. -TESTS = config midi_event
  76263. +top_build_prefix = @top_build_prefix@
  76264. +top_builddir = @top_builddir@
  76265. +top_srcdir = @top_srcdir@
  76266. noinst_HEADERS = test.h
  76267. AM_CFLAGS = -Wall -pipe
  76268. LDADD = ../../src/libasound.la
  76269. @@ -287,14 +233,14 @@
  76270. @for dep in $?; do \
  76271. case '$(am__configure_deps)' in \
  76272. *$$dep*) \
  76273. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  76274. - && exit 0; \
  76275. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  76276. + && { if test -f $@; then exit 0; else break; fi; }; \
  76277. exit 1;; \
  76278. esac; \
  76279. done; \
  76280. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/lsb/Makefile'; \
  76281. - cd $(top_srcdir) && \
  76282. - $(AUTOMAKE) --foreign test/lsb/Makefile
  76283. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/lsb/Makefile'; \
  76284. + $(am__cd) $(top_srcdir) && \
  76285. + $(AUTOMAKE) --gnu test/lsb/Makefile
  76286. .PRECIOUS: Makefile
  76287. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  76288. @case '$?' in \
  76289. @@ -312,19 +258,22 @@
  76290. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  76291. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  76292. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  76293. +$(am__aclocal_m4_deps):
  76294. clean-checkPROGRAMS:
  76295. - @list='$(check_PROGRAMS)'; for p in $$list; do \
  76296. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  76297. - echo " rm -f $$p $$f"; \
  76298. - rm -f $$p $$f ; \
  76299. - done
  76300. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  76301. + echo " rm -f" $$list; \
  76302. + rm -f $$list || exit $$?; \
  76303. + test -n "$(EXEEXT)" || exit 0; \
  76304. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  76305. + echo " rm -f" $$list; \
  76306. + rm -f $$list
  76307. config$(EXEEXT): $(config_OBJECTS) $(config_DEPENDENCIES)
  76308. @rm -f config$(EXEEXT)
  76309. - $(LINK) $(config_LDFLAGS) $(config_OBJECTS) $(config_LDADD) $(LIBS)
  76310. + $(AM_V_CCLD)$(LINK) $(config_OBJECTS) $(config_LDADD) $(LIBS)
  76311. midi_event$(EXEEXT): $(midi_event_OBJECTS) $(midi_event_DEPENDENCIES)
  76312. @rm -f midi_event$(EXEEXT)
  76313. - $(LINK) $(midi_event_LDFLAGS) $(midi_event_OBJECTS) $(midi_event_LDADD) $(LIBS)
  76314. + $(AM_V_CCLD)$(LINK) $(midi_event_OBJECTS) $(midi_event_LDADD) $(LIBS)
  76315. mostlyclean-compile:
  76316. -rm -f *.$(OBJEXT)
  76317. @@ -336,22 +285,25 @@
  76318. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/midi_event.Po@am__quote@
  76319. .c.o:
  76320. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  76321. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  76322. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  76323. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  76324. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  76325. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  76326. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  76327. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  76328. .c.obj:
  76329. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  76330. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  76331. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  76332. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  76333. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  76334. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  76335. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  76336. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  76337. .c.lo:
  76338. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  76339. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  76340. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  76341. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  76342. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  76343. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  76344. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  76345. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  76346. @@ -362,54 +314,54 @@
  76347. clean-libtool:
  76348. -rm -rf .libs _libs
  76349. -distclean-libtool:
  76350. - -rm -f libtool
  76351. -uninstall-info-am:
  76352. -
  76353. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  76354. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  76355. unique=`for i in $$list; do \
  76356. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  76357. done | \
  76358. - $(AWK) ' { files[$$0] = 1; } \
  76359. - END { for (i in files) print i; }'`; \
  76360. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  76361. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  76362. mkid -fID $$unique
  76363. tags: TAGS
  76364. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  76365. $(TAGS_FILES) $(LISP)
  76366. - tags=; \
  76367. + set x; \
  76368. here=`pwd`; \
  76369. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  76370. unique=`for i in $$list; do \
  76371. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  76372. done | \
  76373. - $(AWK) ' { files[$$0] = 1; } \
  76374. - END { for (i in files) print i; }'`; \
  76375. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  76376. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  76377. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  76378. + shift; \
  76379. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  76380. test -n "$$unique" || unique=$$empty_fix; \
  76381. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  76382. - $$tags $$unique; \
  76383. + if test $$# -gt 0; then \
  76384. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  76385. + "$$@" $$unique; \
  76386. + else \
  76387. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  76388. + $$unique; \
  76389. + fi; \
  76390. fi
  76391. ctags: CTAGS
  76392. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  76393. $(TAGS_FILES) $(LISP)
  76394. - tags=; \
  76395. - here=`pwd`; \
  76396. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  76397. unique=`for i in $$list; do \
  76398. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  76399. done | \
  76400. - $(AWK) ' { files[$$0] = 1; } \
  76401. - END { for (i in files) print i; }'`; \
  76402. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  76403. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  76404. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  76405. + test -z "$(CTAGS_ARGS)$$unique" \
  76406. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  76407. - $$tags $$unique
  76408. + $$unique
  76409. GTAGS:
  76410. here=`$(am__cd) $(top_builddir) && pwd` \
  76411. - && cd $(top_srcdir) \
  76412. - && gtags -i $(GTAGS_ARGS) $$here
  76413. + && $(am__cd) $(top_srcdir) \
  76414. + && gtags -i $(GTAGS_ARGS) "$$here"
  76415. distclean-tags:
  76416. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  76417. @@ -417,7 +369,8 @@
  76418. check-TESTS: $(TESTS)
  76419. @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  76420. srcdir=$(srcdir); export srcdir; \
  76421. - list='$(TESTS)'; \
  76422. + list=' $(TESTS) '; \
  76423. + $(am__tty_colors); \
  76424. if test -n "$$list"; then \
  76425. for tst in $$list; do \
  76426. if test -f ./$$tst; then dir=./; \
  76427. @@ -426,49 +379,63 @@
  76428. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  76429. all=`expr $$all + 1`; \
  76430. case " $(XFAIL_TESTS) " in \
  76431. - *" $$tst "*) \
  76432. + *[\ \ ]$$tst[\ \ ]*) \
  76433. xpass=`expr $$xpass + 1`; \
  76434. failed=`expr $$failed + 1`; \
  76435. - echo "XPASS: $$tst"; \
  76436. + col=$$red; res=XPASS; \
  76437. ;; \
  76438. *) \
  76439. - echo "PASS: $$tst"; \
  76440. + col=$$grn; res=PASS; \
  76441. ;; \
  76442. esac; \
  76443. elif test $$? -ne 77; then \
  76444. all=`expr $$all + 1`; \
  76445. case " $(XFAIL_TESTS) " in \
  76446. - *" $$tst "*) \
  76447. + *[\ \ ]$$tst[\ \ ]*) \
  76448. xfail=`expr $$xfail + 1`; \
  76449. - echo "XFAIL: $$tst"; \
  76450. + col=$$lgn; res=XFAIL; \
  76451. ;; \
  76452. *) \
  76453. failed=`expr $$failed + 1`; \
  76454. - echo "FAIL: $$tst"; \
  76455. + col=$$red; res=FAIL; \
  76456. ;; \
  76457. esac; \
  76458. else \
  76459. skip=`expr $$skip + 1`; \
  76460. - echo "SKIP: $$tst"; \
  76461. + col=$$blu; res=SKIP; \
  76462. fi; \
  76463. + echo "$${col}$$res$${std}: $$tst"; \
  76464. done; \
  76465. + if test "$$all" -eq 1; then \
  76466. + tests="test"; \
  76467. + All=""; \
  76468. + else \
  76469. + tests="tests"; \
  76470. + All="All "; \
  76471. + fi; \
  76472. if test "$$failed" -eq 0; then \
  76473. if test "$$xfail" -eq 0; then \
  76474. - banner="All $$all tests passed"; \
  76475. + banner="$$All$$all $$tests passed"; \
  76476. else \
  76477. - banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
  76478. + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  76479. + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  76480. fi; \
  76481. else \
  76482. if test "$$xpass" -eq 0; then \
  76483. - banner="$$failed of $$all tests failed"; \
  76484. + banner="$$failed of $$all $$tests failed"; \
  76485. else \
  76486. - banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
  76487. + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  76488. + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  76489. fi; \
  76490. fi; \
  76491. dashes="$$banner"; \
  76492. skipped=""; \
  76493. if test "$$skip" -ne 0; then \
  76494. - skipped="($$skip tests were not run)"; \
  76495. + if test "$$skip" -eq 1; then \
  76496. + skipped="($$skip test was not run)"; \
  76497. + else \
  76498. + skipped="($$skip tests were not run)"; \
  76499. + fi; \
  76500. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  76501. dashes="$$skipped"; \
  76502. fi; \
  76503. @@ -479,38 +446,45 @@
  76504. dashes="$$report"; \
  76505. fi; \
  76506. dashes=`echo "$$dashes" | sed s/./=/g`; \
  76507. - echo "$$dashes"; \
  76508. + if test "$$failed" -eq 0; then \
  76509. + echo "$$grn$$dashes"; \
  76510. + else \
  76511. + echo "$$red$$dashes"; \
  76512. + fi; \
  76513. echo "$$banner"; \
  76514. test -z "$$skipped" || echo "$$skipped"; \
  76515. test -z "$$report" || echo "$$report"; \
  76516. - echo "$$dashes"; \
  76517. + echo "$$dashes$$std"; \
  76518. test "$$failed" -eq 0; \
  76519. else :; fi
  76520. distdir: $(DISTFILES)
  76521. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  76522. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  76523. - list='$(DISTFILES)'; for file in $$list; do \
  76524. - case $$file in \
  76525. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  76526. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  76527. - esac; \
  76528. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  76529. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  76530. + list='$(DISTFILES)'; \
  76531. + dist_files=`for file in $$list; do echo $$file; done | \
  76532. + sed -e "s|^$$srcdirstrip/||;t" \
  76533. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  76534. + case $$dist_files in \
  76535. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  76536. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  76537. + sort -u` ;; \
  76538. + esac; \
  76539. + for file in $$dist_files; do \
  76540. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  76541. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  76542. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  76543. - dir="/$$dir"; \
  76544. - $(mkdir_p) "$(distdir)$$dir"; \
  76545. - else \
  76546. - dir=''; \
  76547. - fi; \
  76548. if test -d $$d/$$file; then \
  76549. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  76550. + if test -d "$(distdir)/$$file"; then \
  76551. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  76552. + fi; \
  76553. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  76554. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  76555. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  76556. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  76557. fi; \
  76558. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  76559. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  76560. else \
  76561. - test -f $(distdir)/$$file \
  76562. - || cp -p $$d/$$file $(distdir)/$$file \
  76563. + test -f "$(distdir)/$$file" \
  76564. + || cp -p $$d/$$file "$(distdir)/$$file" \
  76565. || exit 1; \
  76566. fi; \
  76567. done
  76568. @@ -540,6 +514,7 @@
  76569. distclean-generic:
  76570. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  76571. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  76572. maintainer-clean-generic:
  76573. @echo "This command is intended for maintainers to use"
  76574. @@ -553,7 +528,7 @@
  76575. -rm -rf ./$(DEPDIR)
  76576. -rm -f Makefile
  76577. distclean-am: clean-am distclean-compile distclean-generic \
  76578. - distclean-libtool distclean-tags
  76579. + distclean-tags
  76580. dvi: dvi-am
  76581. @@ -561,18 +536,38 @@
  76582. html: html-am
  76583. +html-am:
  76584. +
  76585. info: info-am
  76586. info-am:
  76587. install-data-am:
  76588. +install-dvi: install-dvi-am
  76589. +
  76590. +install-dvi-am:
  76591. +
  76592. install-exec-am:
  76593. +install-html: install-html-am
  76594. +
  76595. +install-html-am:
  76596. +
  76597. install-info: install-info-am
  76598. +install-info-am:
  76599. +
  76600. install-man:
  76601. +install-pdf: install-pdf-am
  76602. +
  76603. +install-pdf-am:
  76604. +
  76605. +install-ps: install-ps-am
  76606. +
  76607. +install-ps-am:
  76608. +
  76609. installcheck-am:
  76610. maintainer-clean: maintainer-clean-am
  76611. @@ -593,19 +588,24 @@
  76612. ps-am:
  76613. -uninstall-am: uninstall-info-am
  76614. +uninstall-am:
  76615. +
  76616. +.MAKE: check-am install-am install-strip
  76617. .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
  76618. clean-checkPROGRAMS clean-generic clean-libtool ctags \
  76619. distclean distclean-compile distclean-generic \
  76620. distclean-libtool distclean-tags distdir dvi dvi-am html \
  76621. html-am info info-am install install-am install-data \
  76622. - install-data-am install-exec install-exec-am install-info \
  76623. - install-info-am install-man install-strip installcheck \
  76624. + install-data-am install-dvi install-dvi-am install-exec \
  76625. + install-exec-am install-html install-html-am install-info \
  76626. + install-info-am install-man install-pdf install-pdf-am \
  76627. + install-ps install-ps-am install-strip installcheck \
  76628. installcheck-am installdirs maintainer-clean \
  76629. maintainer-clean-generic mostlyclean mostlyclean-compile \
  76630. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  76631. - tags uninstall uninstall-am uninstall-info-am
  76632. + tags uninstall uninstall-am
  76633. +
  76634. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  76635. # Otherwise a system limit (for SysV at least) may be exceeded.
  76636. diff -Nur alsa-lib-1.0.22.orig/test/Makefile.in alsa-lib-1.0.22/test/Makefile.in
  76637. --- alsa-lib-1.0.22.orig/test/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  76638. +++ alsa-lib-1.0.22/test/Makefile.in 2011-02-24 20:33:16.133553536 +0100
  76639. @@ -1,8 +1,9 @@
  76640. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  76641. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  76642. # @configure_input@
  76643. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  76644. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  76645. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  76646. +# Inc.
  76647. # This Makefile.in is free software; the Free Software Foundation
  76648. # gives unlimited permission to copy and/or distribute it,
  76649. # with or without modifications, as long as this notice is preserved.
  76650. @@ -13,15 +14,12 @@
  76651. # PARTICULAR PURPOSE.
  76652. @SET_MAKE@
  76653. -srcdir = @srcdir@
  76654. -top_srcdir = @top_srcdir@
  76655. VPATH = @srcdir@
  76656. pkgdatadir = $(datadir)/@PACKAGE@
  76657. -pkglibdir = $(libdir)/@PACKAGE@
  76658. pkgincludedir = $(includedir)/@PACKAGE@
  76659. -top_builddir = ..
  76660. +pkglibdir = $(libdir)/@PACKAGE@
  76661. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  76662. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  76663. -INSTALL = @INSTALL@
  76664. install_sh_DATA = $(install_sh) -c -m 644
  76665. install_sh_PROGRAM = $(install_sh) -c
  76666. install_sh_SCRIPT = $(install_sh) -c
  76667. @@ -43,16 +41,23 @@
  76668. subdir = test
  76669. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  76670. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  76671. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  76672. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  76673. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  76674. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  76675. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  76676. $(top_srcdir)/configure.in
  76677. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  76678. $(ACLOCAL_M4)
  76679. mkinstalldirs = $(install_sh) -d
  76680. CONFIG_HEADER = $(top_builddir)/include/config.h
  76681. CONFIG_CLEAN_FILES =
  76682. +CONFIG_CLEAN_VPATH_FILES =
  76683. client_event_filter_SOURCES = client_event_filter.c
  76684. client_event_filter_OBJECTS = client_event_filter.$(OBJEXT)
  76685. client_event_filter_DEPENDENCIES = ../src/libasound.la
  76686. +AM_V_lt = $(am__v_lt_$(V))
  76687. +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  76688. +am__v_lt_0 = --silent
  76689. control_SOURCES = control.c
  76690. control_OBJECTS = control.$(OBJEXT)
  76691. control_DEPENDENCIES = ../src/libasound.la
  76692. @@ -89,17 +94,32 @@
  76693. timer_SOURCES = timer.c
  76694. timer_OBJECTS = timer.$(OBJEXT)
  76695. timer_DEPENDENCIES = ../src/libasound.la
  76696. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
  76697. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
  76698. depcomp = $(SHELL) $(top_srcdir)/depcomp
  76699. am__depfiles_maybe = depfiles
  76700. +am__mv = mv -f
  76701. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  76702. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  76703. -LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
  76704. +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  76705. + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  76706. $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  76707. $(AM_CFLAGS) $(CFLAGS)
  76708. +AM_V_CC = $(am__v_CC_$(V))
  76709. +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  76710. +am__v_CC_0 = @echo " CC " $@;
  76711. +AM_V_at = $(am__v_at_$(V))
  76712. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  76713. +am__v_at_0 = @
  76714. CCLD = $(CC)
  76715. -LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  76716. +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  76717. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  76718. $(AM_LDFLAGS) $(LDFLAGS) -o $@
  76719. +AM_V_CCLD = $(am__v_CCLD_$(V))
  76720. +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  76721. +am__v_CCLD_0 = @echo " CCLD " $@;
  76722. +AM_V_GEN = $(am__v_GEN_$(V))
  76723. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  76724. +am__v_GEN_0 = @echo " GEN " $@;
  76725. SOURCES = client_event_filter.c control.c latency.c midiloop.c \
  76726. namehint.c oldapi.c pcm.c pcm_min.c playmidi1.c queue_timer.c \
  76727. rawmidi.c seq.c timer.c
  76728. @@ -108,154 +128,108 @@
  76729. rawmidi.c seq.c timer.c
  76730. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  76731. html-recursive info-recursive install-data-recursive \
  76732. - install-exec-recursive install-info-recursive \
  76733. - install-recursive installcheck-recursive installdirs-recursive \
  76734. - pdf-recursive ps-recursive uninstall-info-recursive \
  76735. - uninstall-recursive
  76736. + install-dvi-recursive install-exec-recursive \
  76737. + install-html-recursive install-info-recursive \
  76738. + install-pdf-recursive install-ps-recursive install-recursive \
  76739. + installcheck-recursive installdirs-recursive pdf-recursive \
  76740. + ps-recursive uninstall-recursive
  76741. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  76742. + distclean-recursive maintainer-clean-recursive
  76743. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  76744. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  76745. + distdir
  76746. ETAGS = etags
  76747. CTAGS = ctags
  76748. DIST_SUBDIRS = $(SUBDIRS)
  76749. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  76750. +am__relativize = \
  76751. + dir0=`pwd`; \
  76752. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  76753. + sed_rest='s,^[^/]*/*,,'; \
  76754. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  76755. + sed_butlast='s,/*[^/]*$$,,'; \
  76756. + while test -n "$$dir1"; do \
  76757. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  76758. + if test "$$first" != "."; then \
  76759. + if test "$$first" = ".."; then \
  76760. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  76761. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  76762. + else \
  76763. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  76764. + if test "$$first2" = "$$first"; then \
  76765. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  76766. + else \
  76767. + dir2="../$$dir2"; \
  76768. + fi; \
  76769. + dir0="$$dir0"/"$$first"; \
  76770. + fi; \
  76771. + fi; \
  76772. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  76773. + done; \
  76774. + reldir="$$dir2"
  76775. ACLOCAL = @ACLOCAL@
  76776. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  76777. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  76778. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  76779. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  76780. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  76781. -AMDEP_FALSE = @AMDEP_FALSE@
  76782. -AMDEP_TRUE = @AMDEP_TRUE@
  76783. AMTAR = @AMTAR@
  76784. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  76785. AR = @AR@
  76786. AUTOCONF = @AUTOCONF@
  76787. AUTOHEADER = @AUTOHEADER@
  76788. AUTOMAKE = @AUTOMAKE@
  76789. AWK = @AWK@
  76790. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  76791. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  76792. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  76793. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  76794. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  76795. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  76796. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  76797. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  76798. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  76799. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  76800. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  76801. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  76802. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  76803. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  76804. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  76805. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  76806. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  76807. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  76808. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  76809. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  76810. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  76811. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  76812. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  76813. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  76814. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  76815. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  76816. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  76817. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  76818. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  76819. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  76820. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  76821. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  76822. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  76823. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  76824. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  76825. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  76826. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  76827. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  76828. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  76829. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  76830. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  76831. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  76832. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  76833. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  76834. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  76835. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  76836. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  76837. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  76838. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  76839. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  76840. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  76841. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  76842. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  76843. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  76844. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  76845. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  76846. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  76847. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  76848. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  76849. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  76850. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  76851. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  76852. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  76853. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  76854. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  76855. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  76856. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  76857. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  76858. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  76859. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  76860. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  76861. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  76862. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  76863. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  76864. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  76865. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  76866. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  76867. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  76868. CC = @CC@
  76869. CCDEPMODE = @CCDEPMODE@
  76870. CFLAGS = @CFLAGS@
  76871. CPP = @CPP@
  76872. CPPFLAGS = @CPPFLAGS@
  76873. -CXX = @CXX@
  76874. -CXXCPP = @CXXCPP@
  76875. -CXXDEPMODE = @CXXDEPMODE@
  76876. -CXXFLAGS = @CXXFLAGS@
  76877. CYGPATH_W = @CYGPATH_W@
  76878. DEFS = @DEFS@
  76879. DEPDIR = @DEPDIR@
  76880. -ECHO = @ECHO@
  76881. +DSYMUTIL = @DSYMUTIL@
  76882. +DUMPBIN = @DUMPBIN@
  76883. ECHO_C = @ECHO_C@
  76884. ECHO_N = @ECHO_N@
  76885. ECHO_T = @ECHO_T@
  76886. EGREP = @EGREP@
  76887. EXEEXT = @EXEEXT@
  76888. -F77 = @F77@
  76889. -FFLAGS = @FFLAGS@
  76890. +FGREP = @FGREP@
  76891. GREP = @GREP@
  76892. +INSTALL = @INSTALL@
  76893. INSTALL_DATA = @INSTALL_DATA@
  76894. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  76895. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  76896. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  76897. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  76898. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  76899. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  76900. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  76901. +LD = @LD@
  76902. LDFLAGS = @LDFLAGS@
  76903. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  76904. LIBOBJS = @LIBOBJS@
  76905. LIBS = @LIBS@
  76906. LIBTOOL = @LIBTOOL@
  76907. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  76908. +LIPO = @LIPO@
  76909. LN_S = @LN_S@
  76910. LTLIBOBJS = @LTLIBOBJS@
  76911. MAKEINFO = @MAKEINFO@
  76912. +MKDIR_P = @MKDIR_P@
  76913. +NM = @NM@
  76914. +NMEDIT = @NMEDIT@
  76915. +OBJDUMP = @OBJDUMP@
  76916. OBJEXT = @OBJEXT@
  76917. +OTOOL = @OTOOL@
  76918. +OTOOL64 = @OTOOL64@
  76919. PACKAGE = @PACKAGE@
  76920. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  76921. PACKAGE_NAME = @PACKAGE_NAME@
  76922. PACKAGE_STRING = @PACKAGE_STRING@
  76923. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  76924. +PACKAGE_URL = @PACKAGE_URL@
  76925. PACKAGE_VERSION = @PACKAGE_VERSION@
  76926. PATH_SEPARATOR = @PATH_SEPARATOR@
  76927. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  76928. PYTHON_LIBS = @PYTHON_LIBS@
  76929. RANLIB = @RANLIB@
  76930. +SED = @SED@
  76931. SET_MAKE = @SET_MAKE@
  76932. SHELL = @SHELL@
  76933. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  76934. @@ -264,19 +238,14 @@
  76935. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  76936. SND_LIB_VERSION = @SND_LIB_VERSION@
  76937. STRIP = @STRIP@
  76938. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  76939. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  76940. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  76941. VERSION = @VERSION@
  76942. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  76943. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  76944. +abs_builddir = @abs_builddir@
  76945. +abs_srcdir = @abs_srcdir@
  76946. +abs_top_builddir = @abs_top_builddir@
  76947. +abs_top_srcdir = @abs_top_srcdir@
  76948. ac_ct_CC = @ac_ct_CC@
  76949. -ac_ct_CXX = @ac_ct_CXX@
  76950. -ac_ct_F77 = @ac_ct_F77@
  76951. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  76952. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  76953. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  76954. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  76955. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  76956. am__include = @am__include@
  76957. am__leading_dot = @am__leading_dot@
  76958. am__quote = @am__quote@
  76959. @@ -288,6 +257,7 @@
  76960. build_cpu = @build_cpu@
  76961. build_os = @build_os@
  76962. build_vendor = @build_vendor@
  76963. +builddir = @builddir@
  76964. datadir = @datadir@
  76965. datarootdir = @datarootdir@
  76966. docdir = @docdir@
  76967. @@ -306,6 +276,7 @@
  76968. libexecdir = @libexecdir@
  76969. localedir = @localedir@
  76970. localstatedir = @localstatedir@
  76971. +lt_ECHO = @lt_ECHO@
  76972. mandir = @mandir@
  76973. mkdir_p = @mkdir_p@
  76974. oldincludedir = @oldincludedir@
  76975. @@ -315,8 +286,12 @@
  76976. psdir = @psdir@
  76977. sbindir = @sbindir@
  76978. sharedstatedir = @sharedstatedir@
  76979. +srcdir = @srcdir@
  76980. sysconfdir = @sysconfdir@
  76981. target_alias = @target_alias@
  76982. +top_build_prefix = @top_build_prefix@
  76983. +top_builddir = @top_builddir@
  76984. +top_srcdir = @top_srcdir@
  76985. SUBDIRS = . lsb
  76986. control_LDADD = ../src/libasound.la
  76987. pcm_LDADD = ../src/libasound.la
  76988. @@ -343,14 +318,14 @@
  76989. @for dep in $?; do \
  76990. case '$(am__configure_deps)' in \
  76991. *$$dep*) \
  76992. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  76993. - && exit 0; \
  76994. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  76995. + && { if test -f $@; then exit 0; else break; fi; }; \
  76996. exit 1;; \
  76997. esac; \
  76998. done; \
  76999. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
  77000. - cd $(top_srcdir) && \
  77001. - $(AUTOMAKE) --foreign test/Makefile
  77002. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \
  77003. + $(am__cd) $(top_srcdir) && \
  77004. + $(AUTOMAKE) --gnu test/Makefile
  77005. .PRECIOUS: Makefile
  77006. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  77007. @case '$?' in \
  77008. @@ -368,52 +343,55 @@
  77009. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  77010. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  77011. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  77012. +$(am__aclocal_m4_deps):
  77013. clean-checkPROGRAMS:
  77014. - @list='$(check_PROGRAMS)'; for p in $$list; do \
  77015. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  77016. - echo " rm -f $$p $$f"; \
  77017. - rm -f $$p $$f ; \
  77018. - done
  77019. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  77020. + echo " rm -f" $$list; \
  77021. + rm -f $$list || exit $$?; \
  77022. + test -n "$(EXEEXT)" || exit 0; \
  77023. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  77024. + echo " rm -f" $$list; \
  77025. + rm -f $$list
  77026. client_event_filter$(EXEEXT): $(client_event_filter_OBJECTS) $(client_event_filter_DEPENDENCIES)
  77027. @rm -f client_event_filter$(EXEEXT)
  77028. - $(LINK) $(client_event_filter_LDFLAGS) $(client_event_filter_OBJECTS) $(client_event_filter_LDADD) $(LIBS)
  77029. + $(AM_V_CCLD)$(LINK) $(client_event_filter_OBJECTS) $(client_event_filter_LDADD) $(LIBS)
  77030. control$(EXEEXT): $(control_OBJECTS) $(control_DEPENDENCIES)
  77031. @rm -f control$(EXEEXT)
  77032. - $(LINK) $(control_LDFLAGS) $(control_OBJECTS) $(control_LDADD) $(LIBS)
  77033. + $(AM_V_CCLD)$(LINK) $(control_OBJECTS) $(control_LDADD) $(LIBS)
  77034. latency$(EXEEXT): $(latency_OBJECTS) $(latency_DEPENDENCIES)
  77035. @rm -f latency$(EXEEXT)
  77036. - $(LINK) $(latency_LDFLAGS) $(latency_OBJECTS) $(latency_LDADD) $(LIBS)
  77037. + $(AM_V_CCLD)$(LINK) $(latency_OBJECTS) $(latency_LDADD) $(LIBS)
  77038. midiloop$(EXEEXT): $(midiloop_OBJECTS) $(midiloop_DEPENDENCIES)
  77039. @rm -f midiloop$(EXEEXT)
  77040. - $(LINK) $(midiloop_LDFLAGS) $(midiloop_OBJECTS) $(midiloop_LDADD) $(LIBS)
  77041. + $(AM_V_CCLD)$(LINK) $(midiloop_OBJECTS) $(midiloop_LDADD) $(LIBS)
  77042. namehint$(EXEEXT): $(namehint_OBJECTS) $(namehint_DEPENDENCIES)
  77043. @rm -f namehint$(EXEEXT)
  77044. - $(LINK) $(namehint_LDFLAGS) $(namehint_OBJECTS) $(namehint_LDADD) $(LIBS)
  77045. + $(AM_V_CCLD)$(LINK) $(namehint_OBJECTS) $(namehint_LDADD) $(LIBS)
  77046. oldapi$(EXEEXT): $(oldapi_OBJECTS) $(oldapi_DEPENDENCIES)
  77047. @rm -f oldapi$(EXEEXT)
  77048. - $(LINK) $(oldapi_LDFLAGS) $(oldapi_OBJECTS) $(oldapi_LDADD) $(LIBS)
  77049. + $(AM_V_CCLD)$(LINK) $(oldapi_OBJECTS) $(oldapi_LDADD) $(LIBS)
  77050. pcm$(EXEEXT): $(pcm_OBJECTS) $(pcm_DEPENDENCIES)
  77051. @rm -f pcm$(EXEEXT)
  77052. - $(LINK) $(pcm_LDFLAGS) $(pcm_OBJECTS) $(pcm_LDADD) $(LIBS)
  77053. + $(AM_V_CCLD)$(LINK) $(pcm_OBJECTS) $(pcm_LDADD) $(LIBS)
  77054. pcm_min$(EXEEXT): $(pcm_min_OBJECTS) $(pcm_min_DEPENDENCIES)
  77055. @rm -f pcm_min$(EXEEXT)
  77056. - $(LINK) $(pcm_min_LDFLAGS) $(pcm_min_OBJECTS) $(pcm_min_LDADD) $(LIBS)
  77057. + $(AM_V_CCLD)$(LINK) $(pcm_min_OBJECTS) $(pcm_min_LDADD) $(LIBS)
  77058. playmidi1$(EXEEXT): $(playmidi1_OBJECTS) $(playmidi1_DEPENDENCIES)
  77059. @rm -f playmidi1$(EXEEXT)
  77060. - $(LINK) $(playmidi1_LDFLAGS) $(playmidi1_OBJECTS) $(playmidi1_LDADD) $(LIBS)
  77061. + $(AM_V_CCLD)$(LINK) $(playmidi1_OBJECTS) $(playmidi1_LDADD) $(LIBS)
  77062. queue_timer$(EXEEXT): $(queue_timer_OBJECTS) $(queue_timer_DEPENDENCIES)
  77063. @rm -f queue_timer$(EXEEXT)
  77064. - $(LINK) $(queue_timer_LDFLAGS) $(queue_timer_OBJECTS) $(queue_timer_LDADD) $(LIBS)
  77065. + $(AM_V_CCLD)$(LINK) $(queue_timer_OBJECTS) $(queue_timer_LDADD) $(LIBS)
  77066. rawmidi$(EXEEXT): $(rawmidi_OBJECTS) $(rawmidi_DEPENDENCIES)
  77067. @rm -f rawmidi$(EXEEXT)
  77068. - $(LINK) $(rawmidi_LDFLAGS) $(rawmidi_OBJECTS) $(rawmidi_LDADD) $(LIBS)
  77069. + $(AM_V_CCLD)$(LINK) $(rawmidi_OBJECTS) $(rawmidi_LDADD) $(LIBS)
  77070. seq$(EXEEXT): $(seq_OBJECTS) $(seq_DEPENDENCIES)
  77071. @rm -f seq$(EXEEXT)
  77072. - $(LINK) $(seq_LDFLAGS) $(seq_OBJECTS) $(seq_LDADD) $(LIBS)
  77073. + $(AM_V_CCLD)$(LINK) $(seq_OBJECTS) $(seq_LDADD) $(LIBS)
  77074. timer$(EXEEXT): $(timer_OBJECTS) $(timer_DEPENDENCIES)
  77075. @rm -f timer$(EXEEXT)
  77076. - $(LINK) $(timer_LDFLAGS) $(timer_OBJECTS) $(timer_LDADD) $(LIBS)
  77077. + $(AM_V_CCLD)$(LINK) $(timer_OBJECTS) $(timer_LDADD) $(LIBS)
  77078. mostlyclean-compile:
  77079. -rm -f *.$(OBJEXT)
  77080. @@ -436,22 +414,25 @@
  77081. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@
  77082. .c.o:
  77083. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  77084. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  77085. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  77086. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  77087. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  77088. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  77089. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  77090. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  77091. .c.obj:
  77092. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  77093. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  77094. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  77095. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  77096. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  77097. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  77098. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  77099. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  77100. .c.lo:
  77101. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  77102. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  77103. +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  77104. +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  77105. +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  77106. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  77107. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  77108. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  77109. @@ -462,10 +443,6 @@
  77110. clean-libtool:
  77111. -rm -rf .libs _libs
  77112. -distclean-libtool:
  77113. - -rm -f libtool
  77114. -uninstall-info-am:
  77115. -
  77116. # This directory's subdirectories are mostly independent; you can cd
  77117. # into them and run `make' without going through this Makefile.
  77118. # To change the values of `make' variables: instead of editing Makefiles,
  77119. @@ -473,7 +450,7 @@
  77120. # (which will cause the Makefiles to be regenerated when you run `make');
  77121. # (2) otherwise, pass the desired values on the `make' command line.
  77122. $(RECURSIVE_TARGETS):
  77123. - @failcom='exit 1'; \
  77124. + @fail= failcom='exit 1'; \
  77125. for f in x $$MAKEFLAGS; do \
  77126. case $$f in \
  77127. *=* | --[!k]*);; \
  77128. @@ -490,16 +467,15 @@
  77129. else \
  77130. local_target="$$target"; \
  77131. fi; \
  77132. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  77133. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  77134. || eval $$failcom; \
  77135. done; \
  77136. if test "$$dot_seen" = "no"; then \
  77137. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  77138. fi; test -z "$$fail"
  77139. -mostlyclean-recursive clean-recursive distclean-recursive \
  77140. -maintainer-clean-recursive:
  77141. - @failcom='exit 1'; \
  77142. +$(RECURSIVE_CLEAN_TARGETS):
  77143. + @fail= failcom='exit 1'; \
  77144. for f in x $$MAKEFLAGS; do \
  77145. case $$f in \
  77146. *=* | --[!k]*);; \
  77147. @@ -525,16 +501,16 @@
  77148. else \
  77149. local_target="$$target"; \
  77150. fi; \
  77151. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  77152. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  77153. || eval $$failcom; \
  77154. done && test -z "$$fail"
  77155. tags-recursive:
  77156. list='$(SUBDIRS)'; for subdir in $$list; do \
  77157. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  77158. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  77159. done
  77160. ctags-recursive:
  77161. list='$(SUBDIRS)'; for subdir in $$list; do \
  77162. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  77163. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  77164. done
  77165. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  77166. @@ -542,14 +518,14 @@
  77167. unique=`for i in $$list; do \
  77168. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  77169. done | \
  77170. - $(AWK) ' { files[$$0] = 1; } \
  77171. - END { for (i in files) print i; }'`; \
  77172. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  77173. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  77174. mkid -fID $$unique
  77175. tags: TAGS
  77176. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  77177. $(TAGS_FILES) $(LISP)
  77178. - tags=; \
  77179. + set x; \
  77180. here=`pwd`; \
  77181. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  77182. include_option=--etags-include; \
  77183. @@ -561,81 +537,101 @@
  77184. list='$(SUBDIRS)'; for subdir in $$list; do \
  77185. if test "$$subdir" = .; then :; else \
  77186. test ! -f $$subdir/TAGS || \
  77187. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  77188. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  77189. fi; \
  77190. done; \
  77191. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  77192. unique=`for i in $$list; do \
  77193. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  77194. done | \
  77195. - $(AWK) ' { files[$$0] = 1; } \
  77196. - END { for (i in files) print i; }'`; \
  77197. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  77198. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  77199. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  77200. + shift; \
  77201. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  77202. test -n "$$unique" || unique=$$empty_fix; \
  77203. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  77204. - $$tags $$unique; \
  77205. + if test $$# -gt 0; then \
  77206. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  77207. + "$$@" $$unique; \
  77208. + else \
  77209. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  77210. + $$unique; \
  77211. + fi; \
  77212. fi
  77213. ctags: CTAGS
  77214. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  77215. $(TAGS_FILES) $(LISP)
  77216. - tags=; \
  77217. - here=`pwd`; \
  77218. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  77219. unique=`for i in $$list; do \
  77220. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  77221. done | \
  77222. - $(AWK) ' { files[$$0] = 1; } \
  77223. - END { for (i in files) print i; }'`; \
  77224. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  77225. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  77226. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  77227. + test -z "$(CTAGS_ARGS)$$unique" \
  77228. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  77229. - $$tags $$unique
  77230. + $$unique
  77231. GTAGS:
  77232. here=`$(am__cd) $(top_builddir) && pwd` \
  77233. - && cd $(top_srcdir) \
  77234. - && gtags -i $(GTAGS_ARGS) $$here
  77235. + && $(am__cd) $(top_srcdir) \
  77236. + && gtags -i $(GTAGS_ARGS) "$$here"
  77237. distclean-tags:
  77238. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  77239. distdir: $(DISTFILES)
  77240. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  77241. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  77242. - list='$(DISTFILES)'; for file in $$list; do \
  77243. - case $$file in \
  77244. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  77245. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  77246. - esac; \
  77247. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  77248. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  77249. + list='$(DISTFILES)'; \
  77250. + dist_files=`for file in $$list; do echo $$file; done | \
  77251. + sed -e "s|^$$srcdirstrip/||;t" \
  77252. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  77253. + case $$dist_files in \
  77254. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  77255. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  77256. + sort -u` ;; \
  77257. + esac; \
  77258. + for file in $$dist_files; do \
  77259. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  77260. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  77261. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  77262. - dir="/$$dir"; \
  77263. - $(mkdir_p) "$(distdir)$$dir"; \
  77264. - else \
  77265. - dir=''; \
  77266. - fi; \
  77267. if test -d $$d/$$file; then \
  77268. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  77269. + if test -d "$(distdir)/$$file"; then \
  77270. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  77271. + fi; \
  77272. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  77273. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  77274. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  77275. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  77276. fi; \
  77277. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  77278. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  77279. else \
  77280. - test -f $(distdir)/$$file \
  77281. - || cp -p $$d/$$file $(distdir)/$$file \
  77282. + test -f "$(distdir)/$$file" \
  77283. + || cp -p $$d/$$file "$(distdir)/$$file" \
  77284. || exit 1; \
  77285. fi; \
  77286. done
  77287. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  77288. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  77289. if test "$$subdir" = .; then :; else \
  77290. test -d "$(distdir)/$$subdir" \
  77291. - || $(mkdir_p) "$(distdir)/$$subdir" \
  77292. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  77293. || exit 1; \
  77294. - distdir=`$(am__cd) $(distdir) && pwd`; \
  77295. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  77296. - (cd $$subdir && \
  77297. + fi; \
  77298. + done
  77299. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  77300. + if test "$$subdir" = .; then :; else \
  77301. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  77302. + $(am__relativize); \
  77303. + new_distdir=$$reldir; \
  77304. + dir1=$$subdir; dir2="$(top_distdir)"; \
  77305. + $(am__relativize); \
  77306. + new_top_distdir=$$reldir; \
  77307. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  77308. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  77309. + ($(am__cd) $$subdir && \
  77310. $(MAKE) $(AM_MAKEFLAGS) \
  77311. - top_distdir="$$top_distdir" \
  77312. - distdir="$$distdir/$$subdir" \
  77313. + top_distdir="$$new_top_distdir" \
  77314. + distdir="$$new_distdir" \
  77315. + am__remove_distdir=: \
  77316. + am__skip_length_check=: \
  77317. + am__skip_mode_fix=: \
  77318. distdir) \
  77319. || exit 1; \
  77320. fi; \
  77321. @@ -666,6 +662,7 @@
  77322. distclean-generic:
  77323. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  77324. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  77325. maintainer-clean-generic:
  77326. @echo "This command is intended for maintainers to use"
  77327. @@ -679,7 +676,7 @@
  77328. -rm -rf ./$(DEPDIR)
  77329. -rm -f Makefile
  77330. distclean-am: clean-am distclean-compile distclean-generic \
  77331. - distclean-libtool distclean-tags
  77332. + distclean-tags
  77333. dvi: dvi-recursive
  77334. @@ -687,18 +684,38 @@
  77335. html: html-recursive
  77336. +html-am:
  77337. +
  77338. info: info-recursive
  77339. info-am:
  77340. install-data-am:
  77341. +install-dvi: install-dvi-recursive
  77342. +
  77343. +install-dvi-am:
  77344. +
  77345. install-exec-am:
  77346. +install-html: install-html-recursive
  77347. +
  77348. +install-html-am:
  77349. +
  77350. install-info: install-info-recursive
  77351. +install-info-am:
  77352. +
  77353. install-man:
  77354. +install-pdf: install-pdf-recursive
  77355. +
  77356. +install-pdf-am:
  77357. +
  77358. +install-ps: install-ps-recursive
  77359. +
  77360. +install-ps-am:
  77361. +
  77362. installcheck-am:
  77363. maintainer-clean: maintainer-clean-recursive
  77364. @@ -719,23 +736,26 @@
  77365. ps-am:
  77366. -uninstall-am: uninstall-info-am
  77367. +uninstall-am:
  77368. -uninstall-info: uninstall-info-recursive
  77369. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
  77370. + ctags-recursive install-am install-strip tags-recursive
  77371. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  77372. - clean clean-checkPROGRAMS clean-generic clean-libtool \
  77373. - clean-recursive ctags ctags-recursive distclean \
  77374. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  77375. + all all-am check check-am clean clean-checkPROGRAMS \
  77376. + clean-generic clean-libtool ctags ctags-recursive distclean \
  77377. distclean-compile distclean-generic distclean-libtool \
  77378. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  77379. - html-am info info-am install install-am install-data \
  77380. - install-data-am install-exec install-exec-am install-info \
  77381. - install-info-am install-man install-strip installcheck \
  77382. - installcheck-am installdirs installdirs-am maintainer-clean \
  77383. - maintainer-clean-generic maintainer-clean-recursive \
  77384. + distclean-tags distdir dvi dvi-am html html-am info info-am \
  77385. + install install-am install-data install-data-am install-dvi \
  77386. + install-dvi-am install-exec install-exec-am install-html \
  77387. + install-html-am install-info install-info-am install-man \
  77388. + install-pdf install-pdf-am install-ps install-ps-am \
  77389. + install-strip installcheck installcheck-am installdirs \
  77390. + installdirs-am maintainer-clean maintainer-clean-generic \
  77391. mostlyclean mostlyclean-compile mostlyclean-generic \
  77392. - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
  77393. - tags tags-recursive uninstall uninstall-am uninstall-info-am
  77394. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  77395. + uninstall uninstall-am
  77396. +
  77397. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  77398. # Otherwise a system limit (for SysV at least) may be exceeded.
  77399. diff -Nur alsa-lib-1.0.22.orig/utils/Makefile.in alsa-lib-1.0.22/utils/Makefile.in
  77400. --- alsa-lib-1.0.22.orig/utils/Makefile.in 2009-12-16 16:27:28.000000000 +0100
  77401. +++ alsa-lib-1.0.22/utils/Makefile.in 2011-02-24 20:33:16.243552456 +0100
  77402. @@ -1,8 +1,9 @@
  77403. -# Makefile.in generated by automake 1.9.6 from Makefile.am.
  77404. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  77405. # @configure_input@
  77406. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  77407. -# 2003, 2004, 2005 Free Software Foundation, Inc.
  77408. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  77409. +# Inc.
  77410. # This Makefile.in is free software; the Free Software Foundation
  77411. # gives unlimited permission to copy and/or distribute it,
  77412. # with or without modifications, as long as this notice is preserved.
  77413. @@ -14,15 +15,12 @@
  77414. @SET_MAKE@
  77415. -srcdir = @srcdir@
  77416. -top_srcdir = @top_srcdir@
  77417. VPATH = @srcdir@
  77418. pkgdatadir = $(datadir)/@PACKAGE@
  77419. -pkglibdir = $(libdir)/@PACKAGE@
  77420. pkgincludedir = $(includedir)/@PACKAGE@
  77421. -top_builddir = ..
  77422. +pkglibdir = $(libdir)/@PACKAGE@
  77423. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  77424. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  77425. -INSTALL = @INSTALL@
  77426. install_sh_DATA = $(install_sh) -c -m 644
  77427. install_sh_PROGRAM = $(install_sh) -c
  77428. install_sh_SCRIPT = $(install_sh) -c
  77429. @@ -40,13 +38,23 @@
  77430. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  77431. $(srcdir)/alsa-lib.spec.in $(srcdir)/alsa.pc.in
  77432. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  77433. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  77434. +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \
  77435. + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
  77436. + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
  77437. + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
  77438. $(top_srcdir)/configure.in
  77439. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  77440. $(ACLOCAL_M4)
  77441. mkinstalldirs = $(install_sh) -d
  77442. CONFIG_HEADER = $(top_builddir)/include/config.h
  77443. CONFIG_CLEAN_FILES = alsa-lib.spec alsa.pc
  77444. +CONFIG_CLEAN_VPATH_FILES =
  77445. +AM_V_GEN = $(am__v_GEN_$(V))
  77446. +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  77447. +am__v_GEN_0 = @echo " GEN " $@;
  77448. +AM_V_at = $(am__v_at_$(V))
  77449. +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  77450. +am__v_at_0 = @
  77451. SOURCES =
  77452. DIST_SOURCES =
  77453. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  77454. @@ -54,153 +62,89 @@
  77455. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  77456. *) f=$$p;; \
  77457. esac;
  77458. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  77459. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  77460. +am__install_max = 40
  77461. +am__nobase_strip_setup = \
  77462. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  77463. +am__nobase_strip = \
  77464. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  77465. +am__nobase_list = $(am__nobase_strip_setup); \
  77466. + for p in $$list; do echo "$$p $$p"; done | \
  77467. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  77468. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  77469. + if (++n[$$2] == $(am__install_max)) \
  77470. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  77471. + END { for (dir in files) print dir, files[dir] }'
  77472. +am__base_list = \
  77473. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  77474. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  77475. am__installdirs = "$(DESTDIR)$(aclocaldir)" \
  77476. "$(DESTDIR)$(pkgconfigdir)"
  77477. -aclocalDATA_INSTALL = $(INSTALL_DATA)
  77478. -pkgconfigDATA_INSTALL = $(INSTALL_DATA)
  77479. DATA = $(aclocal_DATA) $(pkgconfig_DATA)
  77480. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  77481. ACLOCAL = @ACLOCAL@
  77482. ALSA_CONFIG_DIR = @ALSA_CONFIG_DIR@
  77483. ALSA_DEPLIBS = @ALSA_DEPLIBS@
  77484. -ALSA_HSEARCH_R_FALSE = @ALSA_HSEARCH_R_FALSE@
  77485. -ALSA_HSEARCH_R_TRUE = @ALSA_HSEARCH_R_TRUE@
  77486. ALSA_PLUGIN_DIR = @ALSA_PLUGIN_DIR@
  77487. -AMDEP_FALSE = @AMDEP_FALSE@
  77488. -AMDEP_TRUE = @AMDEP_TRUE@
  77489. AMTAR = @AMTAR@
  77490. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  77491. AR = @AR@
  77492. AUTOCONF = @AUTOCONF@
  77493. AUTOHEADER = @AUTOHEADER@
  77494. AUTOMAKE = @AUTOMAKE@
  77495. AWK = @AWK@
  77496. -BUILD_ALISP_FALSE = @BUILD_ALISP_FALSE@
  77497. -BUILD_ALISP_TRUE = @BUILD_ALISP_TRUE@
  77498. -BUILD_CTL_PLUGIN_EXT_FALSE = @BUILD_CTL_PLUGIN_EXT_FALSE@
  77499. -BUILD_CTL_PLUGIN_EXT_TRUE = @BUILD_CTL_PLUGIN_EXT_TRUE@
  77500. -BUILD_CTL_PLUGIN_FALSE = @BUILD_CTL_PLUGIN_FALSE@
  77501. -BUILD_CTL_PLUGIN_SHM_FALSE = @BUILD_CTL_PLUGIN_SHM_FALSE@
  77502. -BUILD_CTL_PLUGIN_SHM_TRUE = @BUILD_CTL_PLUGIN_SHM_TRUE@
  77503. -BUILD_CTL_PLUGIN_TRUE = @BUILD_CTL_PLUGIN_TRUE@
  77504. -BUILD_HWDEP_FALSE = @BUILD_HWDEP_FALSE@
  77505. -BUILD_HWDEP_TRUE = @BUILD_HWDEP_TRUE@
  77506. -BUILD_MIXER_FALSE = @BUILD_MIXER_FALSE@
  77507. -BUILD_MIXER_TRUE = @BUILD_MIXER_TRUE@
  77508. -BUILD_MODULES_FALSE = @BUILD_MODULES_FALSE@
  77509. -BUILD_MODULES_TRUE = @BUILD_MODULES_TRUE@
  77510. -BUILD_PCM_FALSE = @BUILD_PCM_FALSE@
  77511. -BUILD_PCM_PLUGIN_ADPCM_FALSE = @BUILD_PCM_PLUGIN_ADPCM_FALSE@
  77512. -BUILD_PCM_PLUGIN_ADPCM_TRUE = @BUILD_PCM_PLUGIN_ADPCM_TRUE@
  77513. -BUILD_PCM_PLUGIN_ALAW_FALSE = @BUILD_PCM_PLUGIN_ALAW_FALSE@
  77514. -BUILD_PCM_PLUGIN_ALAW_TRUE = @BUILD_PCM_PLUGIN_ALAW_TRUE@
  77515. -BUILD_PCM_PLUGIN_ASYM_FALSE = @BUILD_PCM_PLUGIN_ASYM_FALSE@
  77516. -BUILD_PCM_PLUGIN_ASYM_TRUE = @BUILD_PCM_PLUGIN_ASYM_TRUE@
  77517. -BUILD_PCM_PLUGIN_COPY_FALSE = @BUILD_PCM_PLUGIN_COPY_FALSE@
  77518. -BUILD_PCM_PLUGIN_COPY_TRUE = @BUILD_PCM_PLUGIN_COPY_TRUE@
  77519. -BUILD_PCM_PLUGIN_DMIX_FALSE = @BUILD_PCM_PLUGIN_DMIX_FALSE@
  77520. -BUILD_PCM_PLUGIN_DMIX_TRUE = @BUILD_PCM_PLUGIN_DMIX_TRUE@
  77521. -BUILD_PCM_PLUGIN_DSHARE_FALSE = @BUILD_PCM_PLUGIN_DSHARE_FALSE@
  77522. -BUILD_PCM_PLUGIN_DSHARE_TRUE = @BUILD_PCM_PLUGIN_DSHARE_TRUE@
  77523. -BUILD_PCM_PLUGIN_DSNOOP_FALSE = @BUILD_PCM_PLUGIN_DSNOOP_FALSE@
  77524. -BUILD_PCM_PLUGIN_DSNOOP_TRUE = @BUILD_PCM_PLUGIN_DSNOOP_TRUE@
  77525. -BUILD_PCM_PLUGIN_EMPTY_FALSE = @BUILD_PCM_PLUGIN_EMPTY_FALSE@
  77526. -BUILD_PCM_PLUGIN_EMPTY_TRUE = @BUILD_PCM_PLUGIN_EMPTY_TRUE@
  77527. -BUILD_PCM_PLUGIN_EXTPLUG_FALSE = @BUILD_PCM_PLUGIN_EXTPLUG_FALSE@
  77528. -BUILD_PCM_PLUGIN_EXTPLUG_TRUE = @BUILD_PCM_PLUGIN_EXTPLUG_TRUE@
  77529. -BUILD_PCM_PLUGIN_FALSE = @BUILD_PCM_PLUGIN_FALSE@
  77530. -BUILD_PCM_PLUGIN_FILE_FALSE = @BUILD_PCM_PLUGIN_FILE_FALSE@
  77531. -BUILD_PCM_PLUGIN_FILE_TRUE = @BUILD_PCM_PLUGIN_FILE_TRUE@
  77532. -BUILD_PCM_PLUGIN_HOOKS_FALSE = @BUILD_PCM_PLUGIN_HOOKS_FALSE@
  77533. -BUILD_PCM_PLUGIN_HOOKS_TRUE = @BUILD_PCM_PLUGIN_HOOKS_TRUE@
  77534. -BUILD_PCM_PLUGIN_IEC958_FALSE = @BUILD_PCM_PLUGIN_IEC958_FALSE@
  77535. -BUILD_PCM_PLUGIN_IEC958_TRUE = @BUILD_PCM_PLUGIN_IEC958_TRUE@
  77536. -BUILD_PCM_PLUGIN_IOPLUG_FALSE = @BUILD_PCM_PLUGIN_IOPLUG_FALSE@
  77537. -BUILD_PCM_PLUGIN_IOPLUG_TRUE = @BUILD_PCM_PLUGIN_IOPLUG_TRUE@
  77538. -BUILD_PCM_PLUGIN_LADSPA_FALSE = @BUILD_PCM_PLUGIN_LADSPA_FALSE@
  77539. -BUILD_PCM_PLUGIN_LADSPA_TRUE = @BUILD_PCM_PLUGIN_LADSPA_TRUE@
  77540. -BUILD_PCM_PLUGIN_LFLOAT_FALSE = @BUILD_PCM_PLUGIN_LFLOAT_FALSE@
  77541. -BUILD_PCM_PLUGIN_LFLOAT_TRUE = @BUILD_PCM_PLUGIN_LFLOAT_TRUE@
  77542. -BUILD_PCM_PLUGIN_LINEAR_FALSE = @BUILD_PCM_PLUGIN_LINEAR_FALSE@
  77543. -BUILD_PCM_PLUGIN_LINEAR_TRUE = @BUILD_PCM_PLUGIN_LINEAR_TRUE@
  77544. -BUILD_PCM_PLUGIN_METER_FALSE = @BUILD_PCM_PLUGIN_METER_FALSE@
  77545. -BUILD_PCM_PLUGIN_METER_TRUE = @BUILD_PCM_PLUGIN_METER_TRUE@
  77546. -BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE = @BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE@
  77547. -BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE = @BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE@
  77548. -BUILD_PCM_PLUGIN_MULAW_FALSE = @BUILD_PCM_PLUGIN_MULAW_FALSE@
  77549. -BUILD_PCM_PLUGIN_MULAW_TRUE = @BUILD_PCM_PLUGIN_MULAW_TRUE@
  77550. -BUILD_PCM_PLUGIN_MULTI_FALSE = @BUILD_PCM_PLUGIN_MULTI_FALSE@
  77551. -BUILD_PCM_PLUGIN_MULTI_TRUE = @BUILD_PCM_PLUGIN_MULTI_TRUE@
  77552. -BUILD_PCM_PLUGIN_NULL_FALSE = @BUILD_PCM_PLUGIN_NULL_FALSE@
  77553. -BUILD_PCM_PLUGIN_NULL_TRUE = @BUILD_PCM_PLUGIN_NULL_TRUE@
  77554. -BUILD_PCM_PLUGIN_PLUG_FALSE = @BUILD_PCM_PLUGIN_PLUG_FALSE@
  77555. -BUILD_PCM_PLUGIN_PLUG_TRUE = @BUILD_PCM_PLUGIN_PLUG_TRUE@
  77556. -BUILD_PCM_PLUGIN_RATE_FALSE = @BUILD_PCM_PLUGIN_RATE_FALSE@
  77557. -BUILD_PCM_PLUGIN_RATE_TRUE = @BUILD_PCM_PLUGIN_RATE_TRUE@
  77558. -BUILD_PCM_PLUGIN_ROUTE_FALSE = @BUILD_PCM_PLUGIN_ROUTE_FALSE@
  77559. -BUILD_PCM_PLUGIN_ROUTE_TRUE = @BUILD_PCM_PLUGIN_ROUTE_TRUE@
  77560. -BUILD_PCM_PLUGIN_SHARE_FALSE = @BUILD_PCM_PLUGIN_SHARE_FALSE@
  77561. -BUILD_PCM_PLUGIN_SHARE_TRUE = @BUILD_PCM_PLUGIN_SHARE_TRUE@
  77562. -BUILD_PCM_PLUGIN_SHM_FALSE = @BUILD_PCM_PLUGIN_SHM_FALSE@
  77563. -BUILD_PCM_PLUGIN_SHM_TRUE = @BUILD_PCM_PLUGIN_SHM_TRUE@
  77564. -BUILD_PCM_PLUGIN_SOFTVOL_FALSE = @BUILD_PCM_PLUGIN_SOFTVOL_FALSE@
  77565. -BUILD_PCM_PLUGIN_SOFTVOL_TRUE = @BUILD_PCM_PLUGIN_SOFTVOL_TRUE@
  77566. -BUILD_PCM_PLUGIN_TRUE = @BUILD_PCM_PLUGIN_TRUE@
  77567. -BUILD_PCM_TRUE = @BUILD_PCM_TRUE@
  77568. -BUILD_PYTHON_FALSE = @BUILD_PYTHON_FALSE@
  77569. -BUILD_PYTHON_TRUE = @BUILD_PYTHON_TRUE@
  77570. -BUILD_RAWMIDI_FALSE = @BUILD_RAWMIDI_FALSE@
  77571. -BUILD_RAWMIDI_TRUE = @BUILD_RAWMIDI_TRUE@
  77572. -BUILD_SEQ_FALSE = @BUILD_SEQ_FALSE@
  77573. -BUILD_SEQ_TRUE = @BUILD_SEQ_TRUE@
  77574. CC = @CC@
  77575. CCDEPMODE = @CCDEPMODE@
  77576. CFLAGS = @CFLAGS@
  77577. CPP = @CPP@
  77578. CPPFLAGS = @CPPFLAGS@
  77579. -CXX = @CXX@
  77580. -CXXCPP = @CXXCPP@
  77581. -CXXDEPMODE = @CXXDEPMODE@
  77582. -CXXFLAGS = @CXXFLAGS@
  77583. CYGPATH_W = @CYGPATH_W@
  77584. DEFS = @DEFS@
  77585. DEPDIR = @DEPDIR@
  77586. -ECHO = @ECHO@
  77587. +DSYMUTIL = @DSYMUTIL@
  77588. +DUMPBIN = @DUMPBIN@
  77589. ECHO_C = @ECHO_C@
  77590. ECHO_N = @ECHO_N@
  77591. ECHO_T = @ECHO_T@
  77592. EGREP = @EGREP@
  77593. EXEEXT = @EXEEXT@
  77594. -F77 = @F77@
  77595. -FFLAGS = @FFLAGS@
  77596. +FGREP = @FGREP@
  77597. GREP = @GREP@
  77598. +INSTALL = @INSTALL@
  77599. INSTALL_DATA = @INSTALL_DATA@
  77600. -INSTALL_M4_FALSE = @INSTALL_M4_FALSE@
  77601. -INSTALL_M4_TRUE = @INSTALL_M4_TRUE@
  77602. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  77603. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  77604. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  77605. -KEEP_OLD_SYMBOLS_FALSE = @KEEP_OLD_SYMBOLS_FALSE@
  77606. -KEEP_OLD_SYMBOLS_TRUE = @KEEP_OLD_SYMBOLS_TRUE@
  77607. +LD = @LD@
  77608. LDFLAGS = @LDFLAGS@
  77609. +LDFLAGS_NOUNDEFINED = @LDFLAGS_NOUNDEFINED@
  77610. LIBOBJS = @LIBOBJS@
  77611. LIBS = @LIBS@
  77612. LIBTOOL = @LIBTOOL@
  77613. LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
  77614. +LIPO = @LIPO@
  77615. LN_S = @LN_S@
  77616. LTLIBOBJS = @LTLIBOBJS@
  77617. MAKEINFO = @MAKEINFO@
  77618. +MKDIR_P = @MKDIR_P@
  77619. +NM = @NM@
  77620. +NMEDIT = @NMEDIT@
  77621. +OBJDUMP = @OBJDUMP@
  77622. OBJEXT = @OBJEXT@
  77623. +OTOOL = @OTOOL@
  77624. +OTOOL64 = @OTOOL64@
  77625. PACKAGE = @PACKAGE@
  77626. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  77627. PACKAGE_NAME = @PACKAGE_NAME@
  77628. PACKAGE_STRING = @PACKAGE_STRING@
  77629. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  77630. +PACKAGE_URL = @PACKAGE_URL@
  77631. PACKAGE_VERSION = @PACKAGE_VERSION@
  77632. PATH_SEPARATOR = @PATH_SEPARATOR@
  77633. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  77634. PYTHON_LIBS = @PYTHON_LIBS@
  77635. RANLIB = @RANLIB@
  77636. +SED = @SED@
  77637. SET_MAKE = @SET_MAKE@
  77638. SHELL = @SHELL@
  77639. SND_LIB_EXTRAVER = @SND_LIB_EXTRAVER@
  77640. @@ -209,19 +153,14 @@
  77641. SND_LIB_SUBMINOR = @SND_LIB_SUBMINOR@
  77642. SND_LIB_VERSION = @SND_LIB_VERSION@
  77643. STRIP = @STRIP@
  77644. -SYMBOLIC_FUNCTIONS_FALSE = @SYMBOLIC_FUNCTIONS_FALSE@
  77645. -SYMBOLIC_FUNCTIONS_TRUE = @SYMBOLIC_FUNCTIONS_TRUE@
  77646. SYMBOL_PREFIX = @SYMBOL_PREFIX@
  77647. VERSION = @VERSION@
  77648. -VERSIONED_SYMBOLS_FALSE = @VERSIONED_SYMBOLS_FALSE@
  77649. -VERSIONED_SYMBOLS_TRUE = @VERSIONED_SYMBOLS_TRUE@
  77650. +abs_builddir = @abs_builddir@
  77651. +abs_srcdir = @abs_srcdir@
  77652. +abs_top_builddir = @abs_top_builddir@
  77653. +abs_top_srcdir = @abs_top_srcdir@
  77654. ac_ct_CC = @ac_ct_CC@
  77655. -ac_ct_CXX = @ac_ct_CXX@
  77656. -ac_ct_F77 = @ac_ct_F77@
  77657. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  77658. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  77659. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  77660. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  77661. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  77662. am__include = @am__include@
  77663. am__leading_dot = @am__leading_dot@
  77664. am__quote = @am__quote@
  77665. @@ -233,6 +172,7 @@
  77666. build_cpu = @build_cpu@
  77667. build_os = @build_os@
  77668. build_vendor = @build_vendor@
  77669. +builddir = @builddir@
  77670. datadir = @datadir@
  77671. datarootdir = @datarootdir@
  77672. docdir = @docdir@
  77673. @@ -251,6 +191,7 @@
  77674. libexecdir = @libexecdir@
  77675. localedir = @localedir@
  77676. localstatedir = @localstatedir@
  77677. +lt_ECHO = @lt_ECHO@
  77678. mandir = @mandir@
  77679. mkdir_p = @mkdir_p@
  77680. oldincludedir = @oldincludedir@
  77681. @@ -260,8 +201,12 @@
  77682. psdir = @psdir@
  77683. sbindir = @sbindir@
  77684. sharedstatedir = @sharedstatedir@
  77685. +srcdir = @srcdir@
  77686. sysconfdir = @sysconfdir@
  77687. target_alias = @target_alias@
  77688. +top_build_prefix = @top_build_prefix@
  77689. +top_builddir = @top_builddir@
  77690. +top_srcdir = @top_srcdir@
  77691. @INSTALL_M4_TRUE@aclocaldir = $(datadir)/aclocal
  77692. @INSTALL_M4_TRUE@aclocal_DATA = alsa.m4
  77693. EXTRA_DIST = alsa.m4 buildrpm alsa.pc.in
  77694. @@ -275,14 +220,14 @@
  77695. @for dep in $?; do \
  77696. case '$(am__configure_deps)' in \
  77697. *$$dep*) \
  77698. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  77699. - && exit 0; \
  77700. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  77701. + && { if test -f $@; then exit 0; else break; fi; }; \
  77702. exit 1;; \
  77703. esac; \
  77704. done; \
  77705. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign utils/Makefile'; \
  77706. - cd $(top_srcdir) && \
  77707. - $(AUTOMAKE) --foreign utils/Makefile
  77708. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu utils/Makefile'; \
  77709. + $(am__cd) $(top_srcdir) && \
  77710. + $(AUTOMAKE) --gnu utils/Makefile
  77711. .PRECIOUS: Makefile
  77712. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  77713. @case '$?' in \
  77714. @@ -300,6 +245,7 @@
  77715. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  77716. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  77717. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  77718. +$(am__aclocal_m4_deps):
  77719. alsa-lib.spec: $(top_builddir)/config.status $(srcdir)/alsa-lib.spec.in
  77720. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  77721. alsa.pc: $(top_builddir)/config.status $(srcdir)/alsa.pc.in
  77722. @@ -310,44 +256,46 @@
  77723. clean-libtool:
  77724. -rm -rf .libs _libs
  77725. -
  77726. -distclean-libtool:
  77727. - -rm -f libtool
  77728. -uninstall-info-am:
  77729. install-aclocalDATA: $(aclocal_DATA)
  77730. @$(NORMAL_INSTALL)
  77731. - test -z "$(aclocaldir)" || $(mkdir_p) "$(DESTDIR)$(aclocaldir)"
  77732. - @list='$(aclocal_DATA)'; for p in $$list; do \
  77733. + test -z "$(aclocaldir)" || $(MKDIR_P) "$(DESTDIR)$(aclocaldir)"
  77734. + @list='$(aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
  77735. + for p in $$list; do \
  77736. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  77737. - f=$(am__strip_dir) \
  77738. - echo " $(aclocalDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aclocaldir)/$$f'"; \
  77739. - $(aclocalDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aclocaldir)/$$f"; \
  77740. + echo "$$d$$p"; \
  77741. + done | $(am__base_list) | \
  77742. + while read files; do \
  77743. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(aclocaldir)'"; \
  77744. + $(INSTALL_DATA) $$files "$(DESTDIR)$(aclocaldir)" || exit $$?; \
  77745. done
  77746. uninstall-aclocalDATA:
  77747. @$(NORMAL_UNINSTALL)
  77748. - @list='$(aclocal_DATA)'; for p in $$list; do \
  77749. - f=$(am__strip_dir) \
  77750. - echo " rm -f '$(DESTDIR)$(aclocaldir)/$$f'"; \
  77751. - rm -f "$(DESTDIR)$(aclocaldir)/$$f"; \
  77752. - done
  77753. + @list='$(aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
  77754. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  77755. + test -n "$$files" || exit 0; \
  77756. + echo " ( cd '$(DESTDIR)$(aclocaldir)' && rm -f" $$files ")"; \
  77757. + cd "$(DESTDIR)$(aclocaldir)" && rm -f $$files
  77758. install-pkgconfigDATA: $(pkgconfig_DATA)
  77759. @$(NORMAL_INSTALL)
  77760. - test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
  77761. - @list='$(pkgconfig_DATA)'; for p in $$list; do \
  77762. + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
  77763. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  77764. + for p in $$list; do \
  77765. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  77766. - f=$(am__strip_dir) \
  77767. - echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  77768. - $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  77769. + echo "$$d$$p"; \
  77770. + done | $(am__base_list) | \
  77771. + while read files; do \
  77772. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  77773. + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  77774. done
  77775. uninstall-pkgconfigDATA:
  77776. @$(NORMAL_UNINSTALL)
  77777. - @list='$(pkgconfig_DATA)'; for p in $$list; do \
  77778. - f=$(am__strip_dir) \
  77779. - echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  77780. - rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  77781. - done
  77782. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  77783. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  77784. + test -n "$$files" || exit 0; \
  77785. + echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
  77786. + cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
  77787. tags: TAGS
  77788. TAGS:
  77789. @@ -356,29 +304,32 @@
  77790. distdir: $(DISTFILES)
  77791. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  77792. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  77793. - list='$(DISTFILES)'; for file in $$list; do \
  77794. - case $$file in \
  77795. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  77796. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  77797. - esac; \
  77798. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  77799. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  77800. + list='$(DISTFILES)'; \
  77801. + dist_files=`for file in $$list; do echo $$file; done | \
  77802. + sed -e "s|^$$srcdirstrip/||;t" \
  77803. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  77804. + case $$dist_files in \
  77805. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  77806. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  77807. + sort -u` ;; \
  77808. + esac; \
  77809. + for file in $$dist_files; do \
  77810. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  77811. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  77812. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  77813. - dir="/$$dir"; \
  77814. - $(mkdir_p) "$(distdir)$$dir"; \
  77815. - else \
  77816. - dir=''; \
  77817. - fi; \
  77818. if test -d $$d/$$file; then \
  77819. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  77820. + if test -d "$(distdir)/$$file"; then \
  77821. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  77822. + fi; \
  77823. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  77824. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  77825. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  77826. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  77827. fi; \
  77828. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  77829. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  77830. else \
  77831. - test -f $(distdir)/$$file \
  77832. - || cp -p $$d/$$file $(distdir)/$$file \
  77833. + test -f "$(distdir)/$$file" \
  77834. + || cp -p $$d/$$file "$(distdir)/$$file" \
  77835. || exit 1; \
  77836. fi; \
  77837. done
  77838. @@ -387,7 +338,7 @@
  77839. all-am: Makefile $(DATA)
  77840. installdirs:
  77841. for dir in "$(DESTDIR)$(aclocaldir)" "$(DESTDIR)$(pkgconfigdir)"; do \
  77842. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  77843. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  77844. done
  77845. install: install-am
  77846. install-exec: install-exec-am
  77847. @@ -409,6 +360,7 @@
  77848. distclean-generic:
  77849. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  77850. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  77851. maintainer-clean-generic:
  77852. @echo "This command is intended for maintainers to use"
  77853. @@ -419,7 +371,7 @@
  77854. distclean: distclean-am
  77855. -rm -f Makefile
  77856. -distclean-am: clean-am distclean-generic distclean-libtool
  77857. +distclean-am: clean-am distclean-generic
  77858. dvi: dvi-am
  77859. @@ -427,18 +379,38 @@
  77860. html: html-am
  77861. +html-am:
  77862. +
  77863. info: info-am
  77864. info-am:
  77865. install-data-am: install-aclocalDATA install-pkgconfigDATA
  77866. +install-dvi: install-dvi-am
  77867. +
  77868. +install-dvi-am:
  77869. +
  77870. install-exec-am:
  77871. +install-html: install-html-am
  77872. +
  77873. +install-html-am:
  77874. +
  77875. install-info: install-info-am
  77876. +install-info-am:
  77877. +
  77878. install-man:
  77879. +install-pdf: install-pdf-am
  77880. +
  77881. +install-pdf-am:
  77882. +
  77883. +install-ps: install-ps-am
  77884. +
  77885. +install-ps-am:
  77886. +
  77887. installcheck-am:
  77888. maintainer-clean: maintainer-clean-am
  77889. @@ -457,24 +429,27 @@
  77890. ps-am:
  77891. -uninstall-am: uninstall-aclocalDATA uninstall-info-am \
  77892. - uninstall-pkgconfigDATA
  77893. +uninstall-am: uninstall-aclocalDATA uninstall-pkgconfigDATA
  77894. +
  77895. +.MAKE: install-am install-strip
  77896. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  77897. distclean distclean-generic distclean-libtool distdir dvi \
  77898. dvi-am html html-am info info-am install install-aclocalDATA \
  77899. - install-am install-data install-data-am install-exec \
  77900. - install-exec-am install-info install-info-am install-man \
  77901. - install-pkgconfigDATA install-strip installcheck \
  77902. - installcheck-am installdirs maintainer-clean \
  77903. - maintainer-clean-generic mostlyclean mostlyclean-generic \
  77904. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall \
  77905. - uninstall-aclocalDATA uninstall-am uninstall-info-am \
  77906. + install-am install-data install-data-am install-dvi \
  77907. + install-dvi-am install-exec install-exec-am install-html \
  77908. + install-html-am install-info install-info-am install-man \
  77909. + install-pdf install-pdf-am install-pkgconfigDATA install-ps \
  77910. + install-ps-am install-strip installcheck installcheck-am \
  77911. + installdirs maintainer-clean maintainer-clean-generic \
  77912. + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
  77913. + ps ps-am uninstall uninstall-aclocalDATA uninstall-am \
  77914. uninstall-pkgconfigDATA
  77915. rpm: buildrpm alsa-lib.spec
  77916. VERSION=$(VERSION) $(srcdir)/buildrpm
  77917. +
  77918. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  77919. # Otherwise a system limit (for SysV at least) may be exceeded.
  77920. .NOEXPORT: