autotool.patch 2.5 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116661176611866119661206612166122661236612466125661266612766128661296613066131661326613366134661356613666137661386613966140661416614266143661446614566146661476614866149661506615166152661536615466155661566615766158661596616066161661626616366164661656616666167661686616966170661716617266173661746617566176661776617866179661806618166182661836618466185661866618766188661896619066191661926619366194661956619666197661986619966200662016620266203662046620566206662076620866209662106621166212662136621466215662166621766218662196622066221662226622366224662256622666227662286622966230662316623266233662346623566236662376623866239662406624166242662436624466245662466624766248662496625066251662526625366254662556625666257662586625966260662616626266263662646626566266662676626866269662706627166272662736627466275662766627766278662796628066281662826628366284662856628666287662886628966290662916629266293662946629566296662976629866299663006630166302663036630466305663066630766308663096631066311663126631366314663156631666317663186631966320663216632266323663246632566326663276632866329663306633166332663336633466335663366633766338663396634066341663426634366344663456634666347663486634966350663516635266353663546635566356663576635866359663606636166362663636636466365663666636766368663696637066371663726637366374663756637666377663786637966380663816638266383663846638566386663876638866389663906639166392663936639466395663966639766398663996640066401664026640366404664056640666407664086640966410664116641266413664146641566416664176641866419664206642166422664236642466425664266642766428664296643066431664326643366434664356643666437664386643966440664416644266443664446644566446664476644866449664506645166452664536645466455664566645766458664596646066461664626646366464664656646666467664686646966470664716647266473664746647566476664776647866479664806648166482664836648466485664866648766488664896649066491664926649366494664956649666497664986649966500665016650266503665046650566506665076650866509665106651166512665136651466515665166651766518665196652066521665226652366524665256652666527665286652966530665316653266533665346653566536665376653866539665406654166542665436654466545665466654766548665496655066551665526655366554665556655666557665586655966560665616656266563665646656566566665676656866569665706657166572665736657466575665766657766578665796658066581665826658366584665856658666587665886658966590665916659266593665946659566596665976659866599666006660166602666036660466605666066660766608666096661066611666126661366614666156661666617666186661966620666216662266623666246662566626666276662866629666306663166632666336663466635666366663766638666396664066641666426664366644666456664666647666486664966650666516665266653666546665566656666576665866659666606666166662666636666466665666666666766668666696667066671666726667366674666756667666677666786667966680666816668266683666846668566686666876668866689666906669166692666936669466695666966669766698666996670066701667026670366704667056670666707667086670966710667116671266713667146671566716667176671866719667206672166722667236672466725667266672766728667296673066731667326673366734667356673666737667386673966740667416674266743667446674566746667476674866749667506675166752667536675466755667566675766758667596676066761667626676366764667656676666767667686676966770667716677266773667746677566776667776677866779667806678166782667836678466785667866678766788667896679066791667926679366794667956679666797667986679966800668016680266803668046680566806668076680866809668106681166812668136681466815668166681766818668196682066821668226682366824668256682666827668286682966830668316683266833668346683566836668376683866839668406684166842668436684466845668466684766848668496685066851668526685366854668556685666857668586685966860668616686266863668646686566866668676686866869668706687166872668736687466875668766687766878668796688066881668826688366884668856688666887668886688966890668916689266893668946689566896668976689866899669006690166902669036690466905669066690766908669096691066911669126691366914669156691666917669186691966920669216692266923669246692566926669276692866929669306693166932669336693466935669366693766938669396694066941669426694366944669456694666947669486694966950669516695266953669546695566956669576695866959669606696166962669636696466965669666696766968669696697066971669726697366974669756697666977669786697966980669816698266983669846698566986669876698866989669906699166992669936699466995669966699766998669996700067001670026700367004670056700667007670086700967010670116701267013670146701567016670176701867019670206702167022670236702467025670266702767028670296703067031670326703367034670356703667037670386703967040670416704267043670446704567046670476704867049670506705167052670536705467055670566705767058670596706067061670626706367064670656706667067670686706967070670716707267073670746707567076670776707867079670806708167082670836708467085670866708767088670896709067091670926709367094670956709667097670986709967100671016710267103671046710567106671076710867109671106711167112671136711467115671166711767118671196712067121671226712367124671256712667127671286712967130671316713267133671346713567136671376713867139671406714167142671436714467145671466714767148671496715067151671526715367154671556715667157671586715967160671616716267163671646716567166671676716867169671706717167172671736717467175671766717767178671796718067181671826718367184671856718667187671886718967190671916719267193671946719567196671976719867199672006720167202672036720467205672066720767208672096721067211672126721367214672156721667217672186721967220672216722267223672246722567226672276722867229672306723167232672336723467235672366723767238672396724067241672426724367244672456724667247672486724967250672516725267253672546725567256672576725867259672606726167262672636726467265672666726767268672696727067271672726727367274672756727667277672786727967280672816728267283672846728567286672876728867289672906729167292672936729467295672966729767298672996730067301673026730367304673056730667307673086730967310673116731267313673146731567316673176731867319673206732167322673236732467325673266732767328673296733067331673326733367334673356733667337673386733967340673416734267343673446734567346673476734867349673506735167352673536735467355673566735767358673596736067361673626736367364673656736667367673686736967370673716737267373673746737567376673776737867379673806738167382673836738467385673866738767388673896739067391673926739367394673956739667397673986739967400674016740267403674046740567406674076740867409674106741167412674136741467415674166741767418674196742067421674226742367424674256742667427674286742967430674316743267433674346743567436674376743867439674406744167442674436744467445674466744767448674496745067451674526745367454674556745667457674586745967460674616746267463674646746567466674676746867469674706747167472674736747467475674766747767478674796748067481674826748367484674856748667487674886748967490674916749267493674946749567496674976749867499675006750167502675036750467505675066750767508675096751067511675126751367514675156751667517675186751967520675216752267523675246752567526675276752867529675306753167532675336753467535675366753767538675396754067541675426754367544675456754667547675486754967550675516755267553675546755567556675576755867559675606756167562675636756467565675666756767568675696757067571675726757367574675756757667577675786757967580675816758267583675846758567586675876758867589675906759167592675936759467595675966759767598675996760067601676026760367604676056760667607676086760967610676116761267613676146761567616676176761867619676206762167622676236762467625676266762767628676296763067631676326763367634676356763667637676386763967640676416764267643676446764567646676476764867649676506765167652676536765467655676566765767658676596766067661676626766367664676656766667667676686766967670676716767267673676746767567676676776767867679676806768167682676836768467685676866768767688676896769067691676926769367694676956769667697676986769967700677016770267703677046770567706677076770867709677106771167712677136771467715677166771767718677196772067721677226772367724677256772667727677286772967730677316773267733677346773567736677376773867739677406774167742677436774467745677466774767748677496775067751677526775367754677556775667757677586775967760677616776267763677646776567766677676776867769677706777167772677736777467775677766777767778677796778067781677826778367784677856778667787677886778967790677916779267793677946779567796677976779867799678006780167802678036780467805678066780767808678096781067811678126781367814678156781667817678186781967820678216782267823678246782567826678276782867829678306783167832678336783467835678366783767838678396784067841678426784367844678456784667847678486784967850678516785267853678546785567856678576785867859678606786167862678636786467865678666786767868678696787067871678726787367874678756787667877678786787967880678816788267883678846788567886678876788867889678906789167892678936789467895678966789767898678996790067901679026790367904679056790667907679086790967910679116791267913679146791567916679176791867919679206792167922679236792467925679266792767928679296793067931679326793367934679356793667937679386793967940679416794267943679446794567946679476794867949679506795167952679536795467955679566795767958679596796067961679626796367964679656796667967679686796967970679716797267973679746797567976679776797867979679806798167982679836798467985679866798767988679896799067991679926799367994679956799667997679986799968000680016800268003680046800568006680076800868009680106801168012680136801468015680166801768018680196802068021680226802368024680256802668027680286802968030680316803268033680346803568036680376803868039680406804168042680436804468045680466804768048680496805068051680526805368054680556805668057680586805968060680616806268063680646806568066680676806868069680706807168072680736807468075680766807768078680796808068081680826808368084680856808668087680886808968090680916809268093680946809568096680976809868099681006810168102681036810468105681066810768108681096811068111681126811368114681156811668117681186811968120681216812268123681246812568126681276812868129681306813168132681336813468135681366813768138681396814068141681426814368144681456814668147681486814968150681516815268153681546815568156681576815868159681606816168162681636816468165681666816768168681696817068171681726817368174681756817668177681786817968180681816818268183681846818568186681876818868189681906819168192681936819468195681966819768198681996820068201682026820368204682056820668207682086820968210682116821268213682146821568216682176821868219682206822168222682236822468225682266822768228682296823068231682326823368234682356823668237682386823968240682416824268243682446824568246682476824868249682506825168252682536825468255682566825768258682596826068261682626826368264682656826668267682686826968270682716827268273682746827568276682776827868279682806828168282682836828468285682866828768288682896829068291682926829368294682956829668297682986829968300683016830268303683046830568306683076830868309683106831168312683136831468315683166831768318683196832068321683226832368324683256832668327683286832968330683316833268333683346833568336683376833868339683406834168342683436834468345683466834768348683496835068351683526835368354683556835668357683586835968360683616836268363683646836568366683676836868369683706837168372683736837468375683766837768378683796838068381683826838368384683856838668387683886838968390683916839268393683946839568396683976839868399684006840168402684036840468405684066840768408684096841068411684126841368414684156841668417684186841968420684216842268423684246842568426684276842868429684306843168432684336843468435684366843768438684396844068441684426844368444684456844668447684486844968450684516845268453684546845568456684576845868459684606846168462684636846468465684666846768468684696847068471684726847368474684756847668477684786847968480684816848268483684846848568486684876848868489684906849168492684936849468495684966849768498684996850068501685026850368504685056850668507685086850968510685116851268513685146851568516685176851868519685206852168522685236852468525685266852768528685296853068531685326853368534685356853668537685386853968540685416854268543685446854568546685476854868549685506855168552685536855468555685566855768558685596856068561685626856368564685656856668567685686856968570685716857268573685746857568576685776857868579685806858168582685836858468585685866858768588685896859068591685926859368594685956859668597685986859968600686016860268603686046860568606686076860868609686106861168612686136861468615686166861768618686196862068621686226862368624686256862668627686286862968630686316863268633686346863568636686376863868639686406864168642686436864468645686466864768648686496865068651686526865368654686556865668657686586865968660686616866268663686646866568666686676866868669686706867168672686736867468675686766867768678686796868068681686826868368684686856868668687686886868968690686916869268693686946869568696686976869868699687006870168702687036870468705687066870768708687096871068711687126871368714687156871668717687186871968720687216872268723687246872568726687276872868729687306873168732687336873468735687366873768738687396874068741687426874368744687456874668747687486874968750687516875268753687546875568756687576875868759687606876168762687636876468765687666876768768687696877068771687726877368774687756877668777687786877968780687816878268783687846878568786687876878868789687906879168792687936879468795687966879768798687996880068801688026880368804688056880668807688086880968810688116881268813688146881568816688176881868819688206882168822688236882468825688266882768828688296883068831688326883368834688356883668837688386883968840688416884268843688446884568846688476884868849688506885168852688536885468855688566885768858688596886068861688626886368864688656886668867688686886968870688716887268873688746887568876688776887868879688806888168882688836888468885688866888768888688896889068891688926889368894688956889668897688986889968900689016890268903689046890568906689076890868909689106891168912689136891468915689166891768918689196892068921689226892368924689256892668927689286892968930689316893268933689346893568936689376893868939689406894168942689436894468945689466894768948689496895068951689526895368954689556895668957689586895968960689616896268963689646896568966689676896868969689706897168972689736897468975689766897768978689796898068981689826898368984689856898668987689886898968990689916899268993689946899568996689976899868999690006900169002690036900469005690066900769008690096901069011690126901369014690156901669017690186901969020690216902269023690246902569026690276902869029690306903169032690336903469035690366903769038690396904069041690426904369044690456904669047690486904969050690516905269053690546905569056690576905869059690606906169062690636906469065690666906769068690696907069071690726907369074690756907669077690786907969080690816908269083690846908569086690876908869089690906909169092690936909469095690966909769098690996910069101691026910369104691056910669107691086910969110691116911269113691146911569116691176911869119691206912169122691236912469125691266912769128691296913069131691326913369134691356913669137691386913969140691416914269143691446914569146691476914869149691506915169152691536915469155691566915769158691596916069161691626916369164691656916669167691686916969170691716917269173691746917569176691776917869179691806918169182691836918469185691866918769188691896919069191691926919369194691956919669197691986919969200692016920269203692046920569206692076920869209692106921169212692136921469215692166921769218692196922069221692226922369224692256922669227692286922969230692316923269233692346923569236692376923869239692406924169242692436924469245692466924769248692496925069251692526925369254692556925669257692586925969260692616926269263692646926569266692676926869269692706927169272692736927469275692766927769278692796928069281692826928369284692856928669287692886928969290692916929269293692946929569296692976929869299693006930169302693036930469305693066930769308693096931069311693126931369314693156931669317693186931969320693216932269323693246932569326693276932869329693306933169332693336933469335693366933769338693396934069341693426934369344693456934669347693486934969350693516935269353693546935569356693576935869359693606936169362693636936469365693666936769368693696937069371693726937369374693756937669377693786937969380693816938269383693846938569386693876938869389693906939169392693936939469395693966939769398693996940069401694026940369404694056940669407694086940969410694116941269413694146941569416694176941869419694206942169422694236942469425694266942769428694296943069431694326943369434694356943669437694386943969440694416944269443694446944569446694476944869449694506945169452694536945469455694566945769458694596946069461694626946369464694656946669467694686946969470694716947269473694746947569476694776947869479694806948169482694836948469485694866948769488694896949069491694926949369494694956949669497694986949969500695016950269503695046950569506695076950869509695106951169512695136951469515695166951769518695196952069521695226952369524695256952669527695286952969530695316953269533695346953569536695376953869539695406954169542695436954469545695466954769548695496955069551695526955369554695556955669557695586955969560695616956269563695646956569566695676956869569695706957169572695736957469575695766957769578695796958069581695826958369584695856958669587695886958969590695916959269593695946959569596695976959869599696006960169602696036960469605696066960769608696096961069611696126961369614696156961669617696186961969620696216962269623696246962569626696276962869629696306963169632696336963469635696366963769638696396964069641696426964369644696456964669647696486964969650696516965269653696546965569656696576965869659696606966169662696636966469665696666966769668696696967069671696726967369674696756967669677696786967969680696816968269683696846968569686696876968869689696906969169692696936969469695696966969769698696996970069701697026970369704697056970669707697086970969710697116971269713697146971569716697176971869719697206972169722697236972469725697266972769728697296973069731697326973369734697356973669737697386973969740697416974269743697446974569746697476974869749697506975169752697536975469755697566975769758697596976069761697626976369764697656976669767697686976969770697716977269773697746977569776697776977869779697806978169782697836978469785697866978769788697896979069791697926979369794697956979669797697986979969800698016980269803698046980569806698076980869809698106981169812698136981469815698166981769818698196982069821698226982369824698256982669827698286982969830698316983269833698346983569836698376983869839698406984169842698436984469845698466984769848698496985069851698526985369854698556985669857698586985969860698616986269863698646986569866698676986869869698706987169872698736987469875698766987769878698796988069881698826988369884698856988669887698886988969890698916989269893698946989569896698976989869899699006990169902699036990469905699066990769908699096991069911699126991369914699156991669917699186991969920699216992269923699246992569926699276992869929699306993169932699336993469935699366993769938699396994069941699426994369944699456994669947699486994969950699516995269953699546995569956699576995869959699606996169962699636996469965699666996769968699696997069971699726997369974699756997669977699786997969980699816998269983699846998569986699876998869989699906999169992699936999469995699966999769998699997000070001700027000370004700057000670007700087000970010700117001270013700147001570016700177001870019700207002170022700237002470025700267002770028700297003070031700327003370034700357003670037700387003970040700417004270043700447004570046700477004870049700507005170052700537005470055700567005770058700597006070061700627006370064700657006670067700687006970070700717007270073700747007570076700777007870079700807008170082700837008470085700867008770088700897009070091700927009370094700957009670097700987009970100701017010270103701047010570106701077010870109701107011170112701137011470115701167011770118701197012070121701227012370124701257012670127701287012970130701317013270133701347013570136701377013870139701407014170142701437014470145701467014770148701497015070151701527015370154701557015670157701587015970160701617016270163701647016570166701677016870169701707017170172701737017470175701767017770178701797018070181701827018370184701857018670187701887018970190701917019270193701947019570196701977019870199702007020170202702037020470205702067020770208702097021070211702127021370214702157021670217702187021970220702217022270223702247022570226702277022870229702307023170232702337023470235702367023770238702397024070241702427024370244702457024670247702487024970250702517025270253702547025570256702577025870259702607026170262702637026470265702667026770268702697027070271702727027370274702757027670277702787027970280702817028270283702847028570286702877028870289702907029170292702937029470295702967029770298702997030070301703027030370304703057030670307703087030970310703117031270313703147031570316703177031870319703207032170322703237032470325703267032770328703297033070331703327033370334703357033670337703387033970340703417034270343703447034570346703477034870349703507035170352703537035470355703567035770358703597036070361703627036370364703657036670367703687036970370703717037270373703747037570376703777037870379703807038170382703837038470385703867038770388703897039070391703927039370394703957039670397703987039970400704017040270403704047040570406704077040870409704107041170412704137041470415704167041770418704197042070421704227042370424704257042670427704287042970430704317043270433704347043570436704377043870439704407044170442704437044470445704467044770448704497045070451704527045370454704557045670457704587045970460704617046270463704647046570466704677046870469704707047170472704737047470475704767047770478704797048070481704827048370484704857048670487704887048970490704917049270493704947049570496704977049870499705007050170502705037050470505705067050770508705097051070511705127051370514705157051670517705187051970520705217052270523705247052570526705277052870529705307053170532705337053470535705367053770538705397054070541705427054370544705457054670547705487054970550705517055270553705547055570556705577055870559705607056170562705637056470565705667056770568705697057070571705727057370574705757057670577705787057970580705817058270583705847058570586705877058870589705907059170592705937059470595705967059770598705997060070601706027060370604706057060670607706087060970610706117061270613706147061570616706177061870619706207062170622706237062470625706267062770628706297063070631706327063370634706357063670637706387063970640706417064270643706447064570646706477064870649706507065170652706537065470655706567065770658706597066070661706627066370664706657066670667706687066970670706717067270673706747067570676706777067870679706807068170682706837068470685706867068770688706897069070691706927069370694706957069670697706987069970700707017070270703707047070570706707077070870709707107071170712707137071470715707167071770718707197072070721707227072370724707257072670727707287072970730707317073270733707347073570736707377073870739707407074170742707437074470745707467074770748707497075070751707527075370754707557075670757707587075970760707617076270763707647076570766707677076870769707707077170772707737077470775707767077770778707797078070781707827078370784707857078670787707887078970790707917079270793707947079570796707977079870799708007080170802708037080470805708067080770808708097081070811708127081370814708157081670817708187081970820708217082270823708247082570826708277082870829708307083170832708337083470835708367083770838708397084070841708427084370844708457084670847708487084970850708517085270853708547085570856708577085870859708607086170862708637086470865708667086770868708697087070871708727087370874708757087670877708787087970880708817088270883708847088570886708877088870889708907089170892708937089470895708967089770898708997090070901709027090370904709057090670907709087090970910709117091270913709147091570916709177091870919709207092170922709237092470925709267092770928709297093070931709327093370934709357093670937709387093970940709417094270943709447094570946709477094870949709507095170952709537095470955709567095770958709597096070961709627096370964709657096670967709687096970970709717097270973709747097570976709777097870979709807098170982709837098470985709867098770988709897099070991709927099370994709957099670997709987099971000710017100271003710047100571006710077100871009710107101171012710137101471015710167101771018710197102071021710227102371024710257102671027710287102971030710317103271033710347103571036710377103871039710407104171042710437104471045710467104771048710497105071051710527105371054710557105671057710587105971060710617106271063710647106571066710677106871069710707107171072710737107471075710767107771078710797108071081710827108371084710857108671087710887108971090710917109271093710947109571096710977109871099711007110171102711037110471105711067110771108711097111071111711127111371114711157111671117711187111971120711217112271123711247112571126711277112871129711307113171132711337113471135711367113771138711397114071141711427114371144711457114671147711487114971150711517115271153711547115571156711577115871159711607116171162711637116471165711667116771168711697117071171711727117371174711757117671177711787117971180711817118271183711847118571186711877118871189711907119171192711937119471195711967119771198711997120071201712027120371204712057120671207712087120971210712117121271213712147121571216712177121871219712207122171222712237122471225712267122771228712297123071231712327123371234712357123671237712387123971240712417124271243712447124571246712477124871249712507125171252712537125471255712567125771258712597126071261712627126371264712657126671267712687126971270712717127271273712747127571276712777127871279712807128171282712837128471285712867128771288712897129071291712927129371294712957129671297712987129971300713017130271303713047130571306713077130871309713107131171312713137131471315713167131771318713197132071321713227132371324713257132671327713287132971330713317133271333713347133571336713377133871339713407134171342713437134471345713467134771348713497135071351713527135371354713557135671357713587135971360713617136271363713647136571366713677136871369713707137171372713737137471375713767137771378713797138071381713827138371384713857138671387713887138971390713917139271393713947139571396713977139871399714007140171402714037140471405714067140771408714097141071411714127141371414714157141671417714187141971420714217142271423714247142571426714277142871429714307143171432714337143471435714367143771438714397144071441714427144371444714457144671447714487144971450714517145271453714547145571456714577145871459714607146171462714637146471465714667146771468714697147071471714727147371474714757147671477714787147971480714817148271483714847148571486714877148871489714907149171492714937149471495714967149771498714997150071501715027150371504715057150671507715087150971510715117151271513715147151571516715177151871519715207152171522715237152471525715267152771528715297153071531715327153371534715357153671537715387153971540715417154271543715447154571546715477154871549715507155171552715537155471555715567155771558715597156071561715627156371564715657156671567715687156971570715717157271573715747157571576715777157871579715807158171582715837158471585715867158771588715897159071591715927159371594715957159671597715987159971600716017160271603716047160571606716077160871609716107161171612716137161471615716167161771618716197162071621716227162371624716257162671627716287162971630716317163271633716347163571636716377163871639716407164171642716437164471645716467164771648716497165071651716527165371654716557165671657716587165971660716617166271663716647166571666716677166871669716707167171672716737167471675716767167771678716797168071681716827168371684716857168671687716887168971690716917169271693716947169571696716977169871699717007170171702717037170471705717067170771708717097171071711717127171371714717157171671717717187171971720717217172271723717247172571726717277172871729717307173171732717337173471735717367173771738717397174071741717427174371744717457174671747717487174971750717517175271753717547175571756717577175871759717607176171762717637176471765717667176771768717697177071771717727177371774717757177671777717787177971780717817178271783717847178571786717877178871789717907179171792717937179471795717967179771798717997180071801718027180371804718057180671807718087180971810718117181271813718147181571816718177181871819718207182171822718237182471825718267182771828718297183071831718327183371834718357183671837718387183971840718417184271843718447184571846718477184871849718507185171852718537185471855718567185771858718597186071861718627186371864718657186671867718687186971870718717187271873718747187571876718777187871879718807188171882718837188471885718867188771888718897189071891718927189371894718957189671897718987189971900719017190271903719047190571906719077190871909719107191171912719137191471915719167191771918719197192071921719227192371924719257192671927719287192971930719317193271933719347193571936719377193871939719407194171942719437194471945719467194771948719497195071951719527195371954719557195671957719587195971960719617196271963719647196571966719677196871969719707197171972719737197471975719767197771978719797198071981719827198371984719857198671987719887198971990719917199271993719947199571996719977199871999720007200172002720037200472005720067200772008720097201072011720127201372014720157201672017720187201972020720217202272023720247202572026720277202872029720307203172032720337203472035720367203772038720397204072041720427204372044720457204672047720487204972050720517205272053720547205572056720577205872059720607206172062720637206472065720667206772068720697207072071720727207372074720757207672077720787207972080720817208272083720847208572086720877208872089720907209172092720937209472095720967209772098720997210072101721027210372104721057210672107721087210972110721117211272113721147211572116721177211872119721207212172122721237212472125721267212772128721297213072131721327213372134721357213672137721387213972140721417214272143721447214572146721477214872149721507215172152721537215472155721567215772158721597216072161721627216372164721657216672167721687216972170721717217272173721747217572176721777217872179721807218172182721837218472185721867218772188721897219072191721927219372194721957219672197721987219972200722017220272203722047220572206722077220872209722107221172212722137221472215722167221772218722197222072221722227222372224722257222672227722287222972230722317223272233722347223572236722377223872239722407224172242722437224472245722467224772248722497225072251722527225372254722557225672257722587225972260722617226272263722647226572266722677226872269722707227172272722737227472275722767227772278722797228072281722827228372284722857228672287722887228972290722917229272293722947229572296722977229872299723007230172302723037230472305723067230772308723097231072311723127231372314723157231672317723187231972320723217232272323723247232572326723277232872329723307233172332723337233472335723367233772338723397234072341723427234372344723457234672347723487234972350723517235272353723547235572356723577235872359723607236172362723637236472365723667236772368723697237072371723727237372374723757237672377723787237972380723817238272383723847238572386723877238872389723907239172392723937239472395723967239772398723997240072401724027240372404724057240672407724087240972410724117241272413724147241572416724177241872419724207242172422724237242472425724267242772428724297243072431724327243372434724357243672437724387243972440724417244272443724447244572446724477244872449724507245172452724537245472455724567245772458724597246072461724627246372464724657246672467724687246972470724717247272473724747247572476724777247872479724807248172482724837248472485724867248772488724897249072491724927249372494724957249672497724987249972500725017250272503725047250572506725077250872509725107251172512725137251472515725167251772518725197252072521725227252372524725257252672527725287252972530725317253272533725347253572536725377253872539725407254172542725437254472545725467254772548725497255072551725527255372554725557255672557725587255972560725617256272563725647256572566725677256872569725707257172572725737257472575725767257772578725797258072581725827258372584725857258672587725887258972590725917259272593725947259572596725977259872599726007260172602726037260472605726067260772608726097261072611726127261372614726157261672617726187261972620726217262272623726247262572626726277262872629726307263172632726337263472635726367263772638726397264072641726427264372644726457264672647726487264972650726517265272653726547265572656726577265872659726607266172662726637266472665726667266772668726697267072671726727267372674726757267672677726787267972680726817268272683726847268572686726877268872689726907269172692726937269472695726967269772698726997270072701727027270372704727057270672707727087270972710727117271272713727147271572716727177271872719727207272172722727237272472725727267272772728727297273072731727327273372734727357273672737727387273972740727417274272743727447274572746727477274872749727507275172752727537275472755727567275772758727597276072761727627276372764727657276672767727687276972770727717277272773727747277572776727777277872779727807278172782727837278472785727867278772788727897279072791727927279372794727957279672797727987279972800728017280272803728047280572806728077280872809728107281172812728137281472815728167281772818728197282072821728227282372824728257282672827728287282972830728317283272833728347283572836728377283872839728407284172842728437284472845728467284772848728497285072851728527285372854728557285672857728587285972860728617286272863728647286572866728677286872869728707287172872728737287472875728767287772878728797288072881728827288372884728857288672887728887288972890728917289272893728947289572896728977289872899729007290172902729037290472905729067290772908729097291072911729127291372914729157291672917729187291972920729217292272923729247292572926729277292872929729307293172932729337293472935729367293772938729397294072941729427294372944729457294672947729487294972950729517295272953729547295572956729577295872959729607296172962729637296472965729667296772968729697297072971729727297372974729757297672977729787297972980729817298272983729847298572986729877298872989729907299172992729937299472995729967299772998729997300073001730027300373004730057300673007730087300973010730117301273013730147301573016730177301873019730207302173022730237302473025730267302773028730297303073031730327303373034730357303673037730387303973040730417304273043730447304573046730477304873049730507305173052730537305473055730567305773058730597306073061730627306373064730657306673067730687306973070730717307273073730747307573076730777307873079730807308173082730837308473085730867308773088730897309073091730927309373094730957309673097730987309973100731017310273103731047310573106731077310873109731107311173112731137311473115731167311773118731197312073121731227312373124731257312673127731287312973130731317313273133731347313573136731377313873139731407314173142731437314473145731467314773148731497315073151731527315373154731557315673157731587315973160731617316273163731647316573166731677316873169731707317173172731737317473175731767317773178731797318073181731827318373184731857318673187731887318973190731917319273193731947319573196731977319873199732007320173202732037320473205732067320773208732097321073211732127321373214732157321673217732187321973220732217322273223732247322573226732277322873229732307323173232732337323473235732367323773238732397324073241732427324373244732457324673247732487324973250732517325273253732547325573256732577325873259732607326173262732637326473265732667326773268732697327073271732727327373274732757327673277732787327973280732817328273283732847328573286732877328873289732907329173292732937329473295732967329773298732997330073301733027330373304733057330673307733087330973310733117331273313733147331573316733177331873319733207332173322733237332473325733267332773328733297333073331733327333373334733357333673337733387333973340733417334273343733447334573346733477334873349733507335173352733537335473355733567335773358733597336073361733627336373364733657336673367733687336973370733717337273373733747337573376733777337873379733807338173382733837338473385733867338773388733897339073391733927339373394733957339673397733987339973400734017340273403734047340573406734077340873409734107341173412734137341473415734167341773418734197342073421734227342373424734257342673427734287342973430734317343273433734347343573436734377343873439734407344173442734437344473445734467344773448734497345073451734527345373454734557345673457734587345973460734617346273463734647346573466734677346873469734707347173472734737347473475734767347773478734797348073481734827348373484734857348673487734887348973490734917349273493734947349573496734977349873499735007350173502735037350473505735067350773508735097351073511735127351373514735157351673517735187351973520735217352273523735247352573526735277352873529735307353173532735337353473535735367353773538735397354073541735427354373544735457354673547735487354973550735517355273553735547355573556735577355873559735607356173562735637356473565735667356773568735697357073571735727357373574735757357673577735787357973580735817358273583735847358573586735877358873589735907359173592735937359473595735967359773598735997360073601736027360373604736057360673607736087360973610736117361273613736147361573616736177361873619736207362173622736237362473625736267362773628736297363073631736327363373634736357363673637736387363973640736417364273643736447364573646736477364873649736507365173652736537365473655736567365773658736597366073661736627366373664736657366673667736687366973670736717367273673736747367573676736777367873679736807368173682736837368473685736867368773688736897369073691736927369373694736957369673697736987369973700737017370273703737047370573706737077370873709737107371173712737137371473715737167371773718737197372073721737227372373724737257372673727737287372973730737317373273733737347373573736737377373873739737407374173742737437374473745737467374773748737497375073751737527375373754737557375673757737587375973760737617376273763737647376573766737677376873769737707377173772737737377473775737767377773778737797378073781737827378373784737857378673787737887378973790737917379273793737947379573796737977379873799738007380173802738037380473805738067380773808738097381073811738127381373814738157381673817738187381973820738217382273823738247382573826738277382873829738307383173832738337383473835738367383773838738397384073841738427384373844738457384673847738487384973850738517385273853738547385573856738577385873859738607386173862738637386473865738667386773868738697387073871738727387373874738757387673877738787387973880738817388273883738847388573886738877388873889738907389173892738937389473895738967389773898738997390073901739027390373904739057390673907739087390973910739117391273913739147391573916739177391873919739207392173922739237392473925739267392773928739297393073931739327393373934739357393673937739387393973940739417394273943739447394573946739477394873949739507395173952739537395473955739567395773958739597396073961739627396373964739657396673967739687396973970739717397273973739747397573976739777397873979739807398173982739837398473985739867398773988739897399073991739927399373994739957399673997739987399974000740017400274003740047400574006740077400874009740107401174012740137401474015740167401774018740197402074021740227402374024740257402674027740287402974030740317403274033740347403574036740377403874039740407404174042740437404474045740467404774048740497405074051740527405374054740557405674057740587405974060740617406274063740647406574066740677406874069740707407174072740737407474075740767407774078740797408074081740827408374084740857408674087740887408974090740917409274093740947409574096740977409874099741007410174102741037410474105741067410774108741097411074111741127411374114741157411674117741187411974120741217412274123741247412574126741277412874129741307413174132741337413474135741367413774138741397414074141741427414374144741457414674147741487414974150741517415274153741547415574156741577415874159741607416174162741637416474165741667416774168741697417074171741727417374174741757417674177741787417974180741817418274183741847418574186741877418874189741907419174192741937419474195741967419774198741997420074201742027420374204742057420674207742087420974210742117421274213742147421574216742177421874219742207422174222742237422474225742267422774228742297423074231742327423374234742357423674237742387423974240742417424274243742447424574246742477424874249742507425174252742537425474255742567425774258742597426074261742627426374264742657426674267742687426974270742717427274273742747427574276742777427874279742807428174282742837428474285742867428774288742897429074291742927429374294742957429674297742987429974300743017430274303743047430574306743077430874309743107431174312743137431474315743167431774318743197432074321743227432374324743257432674327743287432974330743317433274333743347433574336743377433874339743407434174342743437434474345743467434774348743497435074351743527435374354743557435674357743587435974360743617436274363743647436574366743677436874369743707437174372743737437474375743767437774378743797438074381743827438374384743857438674387743887438974390743917439274393743947439574396743977439874399744007440174402744037440474405744067440774408744097441074411744127441374414744157441674417744187441974420744217442274423744247442574426744277442874429744307443174432744337443474435744367443774438744397444074441744427444374444744457444674447744487444974450744517445274453744547445574456744577445874459744607446174462744637446474465744667446774468744697447074471744727447374474744757447674477744787447974480744817448274483744847448574486744877448874489744907449174492744937449474495744967449774498744997450074501745027450374504745057450674507745087450974510745117451274513745147451574516745177451874519745207452174522745237452474525745267452774528745297453074531745327453374534745357453674537745387453974540745417454274543745447454574546745477454874549745507455174552745537455474555745567455774558745597456074561745627456374564745657456674567745687456974570745717457274573745747457574576745777457874579745807458174582745837458474585745867458774588745897459074591745927459374594745957459674597745987459974600746017460274603746047460574606746077460874609746107461174612746137461474615746167461774618746197462074621746227462374624746257462674627746287462974630746317463274633746347463574636746377463874639746407464174642746437464474645746467464774648746497465074651746527465374654746557465674657746587465974660746617466274663746647466574666746677466874669746707467174672746737467474675746767467774678746797468074681746827468374684746857468674687746887468974690746917469274693746947469574696746977469874699747007470174702747037470474705747067470774708747097471074711747127471374714747157471674717747187471974720747217472274723747247472574726747277472874729747307473174732747337473474735747367473774738747397474074741747427474374744747457474674747747487474974750747517475274753747547475574756747577475874759747607476174762747637476474765747667476774768747697477074771747727477374774747757477674777747787477974780747817478274783747847478574786747877478874789747907479174792747937479474795747967479774798747997480074801748027480374804748057480674807748087480974810748117481274813748147481574816748177481874819748207482174822748237482474825748267482774828748297483074831748327483374834748357483674837748387483974840748417484274843748447484574846748477484874849748507485174852748537485474855748567485774858748597486074861748627486374864748657486674867748687486974870748717487274873748747487574876748777487874879748807488174882748837488474885748867488774888748897489074891748927489374894748957489674897748987489974900749017490274903749047490574906749077490874909749107491174912749137491474915749167491774918749197492074921749227492374924749257492674927749287492974930749317493274933749347493574936749377493874939749407494174942749437494474945749467494774948749497495074951749527495374954749557495674957749587495974960749617496274963749647496574966749677496874969749707497174972749737497474975749767497774978749797498074981749827498374984749857498674987749887498974990749917499274993749947499574996749977499874999750007500175002750037500475005750067500775008750097501075011750127501375014750157501675017750187501975020750217502275023750247502575026750277502875029750307503175032750337503475035750367503775038750397504075041750427504375044750457504675047750487504975050750517505275053750547505575056750577505875059750607506175062750637506475065750667506775068750697507075071750727507375074750757507675077750787507975080750817508275083750847508575086750877508875089750907509175092750937509475095750967509775098750997510075101751027510375104751057510675107751087510975110751117511275113751147511575116751177511875119751207512175122751237512475125751267512775128751297513075131751327513375134751357513675137751387513975140751417514275143751447514575146751477514875149751507515175152751537515475155751567515775158751597516075161751627516375164751657516675167751687516975170751717517275173751747517575176751777517875179751807518175182751837518475185751867518775188751897519075191751927519375194751957519675197751987519975200752017520275203752047520575206752077520875209752107521175212752137521475215752167521775218752197522075221752227522375224752257522675227752287522975230752317523275233752347523575236752377523875239752407524175242752437524475245752467524775248752497525075251752527525375254752557525675257752587525975260752617526275263752647526575266752677526875269752707527175272752737527475275752767527775278752797528075281752827528375284752857528675287752887528975290752917529275293752947529575296752977529875299753007530175302753037530475305753067530775308753097531075311753127531375314753157531675317753187531975320753217532275323753247532575326753277532875329753307533175332753337533475335753367533775338753397534075341753427534375344753457534675347753487534975350753517535275353753547535575356753577535875359753607536175362753637536475365753667536775368753697537075371753727537375374753757537675377753787537975380753817538275383753847538575386753877538875389753907539175392753937539475395753967539775398753997540075401754027540375404754057540675407754087540975410754117541275413754147541575416754177541875419754207542175422754237542475425754267542775428754297543075431754327543375434754357543675437754387543975440754417544275443754447544575446754477544875449754507545175452754537545475455754567545775458754597546075461754627546375464754657546675467754687546975470754717547275473754747547575476754777547875479754807548175482754837548475485754867548775488754897549075491754927549375494754957549675497754987549975500755017550275503755047550575506755077550875509755107551175512755137551475515755167551775518755197552075521755227552375524755257552675527755287552975530755317553275533755347553575536755377553875539755407554175542755437554475545755467554775548755497555075551755527555375554755557555675557755587555975560755617556275563755647556575566755677556875569755707557175572755737557475575755767557775578755797558075581755827558375584755857558675587755887558975590755917559275593755947559575596755977559875599756007560175602756037560475605756067560775608756097561075611756127561375614756157561675617756187561975620756217562275623756247562575626756277562875629756307563175632756337563475635756367563775638756397564075641756427564375644756457564675647756487564975650756517565275653756547565575656756577565875659756607566175662756637566475665756667566775668756697567075671756727567375674756757567675677756787567975680756817568275683756847568575686756877568875689756907569175692756937569475695756967569775698756997570075701757027570375704757057570675707757087570975710757117571275713757147571575716757177571875719757207572175722757237572475725757267572775728757297573075731757327573375734757357573675737757387573975740757417574275743757447574575746757477574875749757507575175752757537575475755757567575775758757597576075761757627576375764757657576675767757687576975770757717577275773757747577575776757777577875779757807578175782757837578475785757867578775788757897579075791757927579375794757957579675797757987579975800758017580275803758047580575806758077580875809758107581175812758137581475815758167581775818758197582075821758227582375824758257582675827758287582975830758317583275833758347583575836758377583875839758407584175842758437584475845758467584775848758497585075851758527585375854758557585675857758587585975860758617586275863758647586575866758677586875869758707587175872758737587475875758767587775878758797588075881758827588375884758857588675887758887588975890758917589275893758947589575896758977589875899759007590175902759037590475905759067590775908759097591075911759127591375914759157591675917759187591975920759217592275923759247592575926759277592875929759307593175932759337593475935759367593775938759397594075941759427594375944759457594675947759487594975950759517595275953759547595575956759577595875959759607596175962759637596475965759667596775968759697597075971759727597375974759757597675977759787597975980759817598275983759847598575986759877598875989759907599175992759937599475995759967599775998759997600076001760027600376004760057600676007760087600976010760117601276013760147601576016760177601876019760207602176022760237602476025760267602776028760297603076031760327603376034760357603676037760387603976040760417604276043760447604576046760477604876049760507605176052760537605476055760567605776058760597606076061760627606376064760657606676067760687606976070760717607276073760747607576076760777607876079760807608176082760837608476085760867608776088760897609076091760927609376094760957609676097760987609976100761017610276103761047610576106761077610876109761107611176112761137611476115761167611776118761197612076121761227612376124761257612676127761287612976130761317613276133761347613576136761377613876139761407614176142761437614476145761467614776148761497615076151761527615376154761557615676157761587615976160761617616276163761647616576166761677616876169761707617176172761737617476175761767617776178761797618076181761827618376184761857618676187761887618976190761917619276193761947619576196761977619876199762007620176202762037620476205762067620776208762097621076211762127621376214762157621676217762187621976220762217622276223762247622576226762277622876229762307623176232762337623476235762367623776238762397624076241762427624376244762457624676247762487624976250762517625276253762547625576256762577625876259762607626176262762637626476265762667626776268762697627076271762727627376274762757627676277762787627976280762817628276283762847628576286762877628876289762907629176292762937629476295762967629776298762997630076301763027630376304763057630676307763087630976310763117631276313763147631576316763177631876319763207632176322763237632476325763267632776328763297633076331763327633376334763357633676337763387633976340763417634276343763447634576346763477634876349763507635176352763537635476355763567635776358763597636076361763627636376364763657636676367763687636976370763717637276373763747637576376763777637876379763807638176382763837638476385763867638776388763897639076391763927639376394763957639676397763987639976400764017640276403764047640576406764077640876409764107641176412764137641476415764167641776418764197642076421764227642376424764257642676427764287642976430764317643276433764347643576436764377643876439764407644176442764437644476445764467644776448764497645076451764527645376454764557645676457764587645976460764617646276463764647646576466764677646876469764707647176472764737647476475764767647776478764797648076481764827648376484764857648676487764887648976490764917649276493764947649576496764977649876499765007650176502765037650476505765067650776508765097651076511765127651376514765157651676517765187651976520765217652276523765247652576526765277652876529765307653176532765337653476535765367653776538765397654076541765427654376544765457654676547765487654976550765517655276553765547655576556765577655876559765607656176562765637656476565765667656776568765697657076571765727657376574765757657676577765787657976580765817658276583765847658576586765877658876589765907659176592765937659476595765967659776598765997660076601766027660376604766057660676607766087660976610766117661276613766147661576616766177661876619766207662176622766237662476625766267662776628766297663076631766327663376634766357663676637766387663976640766417664276643766447664576646766477664876649766507665176652766537665476655766567665776658766597666076661766627666376664766657666676667766687666976670766717667276673766747667576676766777667876679766807668176682766837668476685766867668776688766897669076691766927669376694766957669676697766987669976700767017670276703767047670576706767077670876709767107671176712767137671476715767167671776718767197672076721767227672376724767257672676727767287672976730767317673276733767347673576736767377673876739767407674176742767437674476745767467674776748767497675076751767527675376754767557675676757767587675976760767617676276763767647676576766767677676876769767707677176772767737677476775767767677776778767797678076781767827678376784767857678676787767887678976790767917679276793767947679576796767977679876799768007680176802768037680476805768067680776808768097681076811768127681376814768157681676817768187681976820768217682276823768247682576826768277682876829768307683176832768337683476835768367683776838768397684076841768427684376844768457684676847768487684976850768517685276853768547685576856768577685876859768607686176862768637686476865768667686776868768697687076871768727687376874768757687676877768787687976880768817688276883768847688576886768877688876889768907689176892768937689476895768967689776898768997690076901769027690376904769057690676907769087690976910769117691276913769147691576916769177691876919769207692176922769237692476925769267692776928769297693076931769327693376934769357693676937769387693976940769417694276943769447694576946769477694876949769507695176952769537695476955769567695776958769597696076961769627696376964769657696676967769687696976970769717697276973769747697576976769777697876979769807698176982769837698476985769867698776988769897699076991769927699376994769957699676997769987699977000770017700277003770047700577006770077700877009770107701177012770137701477015770167701777018770197702077021770227702377024770257702677027770287702977030770317703277033770347703577036770377703877039770407704177042770437704477045770467704777048770497705077051770527705377054770557705677057770587705977060770617706277063770647706577066770677706877069770707707177072770737707477075770767707777078770797708077081770827708377084770857708677087770887708977090770917709277093770947709577096770977709877099771007710177102771037710477105771067710777108771097711077111771127711377114771157711677117771187711977120771217712277123771247712577126771277712877129771307713177132771337713477135771367713777138771397714077141771427714377144771457714677147771487714977150771517715277153771547715577156771577715877159771607716177162771637716477165771667716777168771697717077171771727717377174771757717677177771787717977180771817718277183771847718577186771877718877189771907719177192771937719477195771967719777198771997720077201
  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 speex-1.2rc1.orig/aclocal.m4 speex-1.2rc1/aclocal.m4
  6. --- speex-1.2rc1.orig/aclocal.m4 2008-07-21 04:17:17.000000000 +0200
  7. +++ speex-1.2rc1/aclocal.m4 2011-02-20 22:00:55.736062936 +0100
  8. @@ -1,7 +1,7 @@
  9. -# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
  10. +# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  11. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
  12. -# Free Software Foundation, Inc.
  13. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  14. +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  15. # This file is free software; the Free Software Foundation
  16. # gives unlimited permission to copy and/or distribute it,
  17. # with or without modifications, as long as this notice is preserved.
  18. @@ -11,102 +11,196 @@
  19. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  20. # PARTICULAR PURPOSE.
  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. +
  29. # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  30. +#
  31. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  32. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  33. +# Written by Gordon Matzigkeit, 1996
  34. +#
  35. +# This file is free software; the Free Software Foundation gives
  36. +# unlimited permission to copy and/or distribute it, with or without
  37. +# modifications, as long as this notice is preserved.
  38. +
  39. +m4_define([_LT_COPYING], [dnl
  40. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  41. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  42. +# Written by Gordon Matzigkeit, 1996
  43. +#
  44. +# This file is part of GNU Libtool.
  45. +#
  46. +# GNU Libtool is free software; you can redistribute it and/or
  47. +# modify it under the terms of the GNU General Public License as
  48. +# published by the Free Software Foundation; either version 2 of
  49. +# the License, or (at your option) any later version.
  50. +#
  51. +# As a special exception to the GNU General Public License,
  52. +# if you distribute this file as part of a program or library that
  53. +# is built using GNU Libtool, you may include this file under the
  54. +# same distribution terms that you use for the rest of that program.
  55. +#
  56. +# GNU Libtool is distributed in the hope that it will be useful,
  57. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  58. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  59. +# GNU General Public License for more details.
  60. +#
  61. +# You should have received a copy of the GNU General Public License
  62. +# along with GNU Libtool; see the file COPYING. If not, a copy
  63. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  64. +# obtained by writing to the Free Software Foundation, Inc.,
  65. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  66. +])
  67. -# serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL
  68. +# serial 56 LT_INIT
  69. -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
  70. -# -----------------------------------------------------------
  71. -# If this macro is not defined by Autoconf, define it here.
  72. -m4_ifdef([AC_PROVIDE_IFELSE],
  73. - [],
  74. - [m4_define([AC_PROVIDE_IFELSE],
  75. - [m4_ifdef([AC_PROVIDE_$1],
  76. - [$2], [$3])])])
  77. +# LT_PREREQ(VERSION)
  78. +# ------------------
  79. +# Complain and exit if this libtool version is less that VERSION.
  80. +m4_defun([LT_PREREQ],
  81. +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
  82. + [m4_default([$3],
  83. + [m4_fatal([Libtool version $1 or higher is required],
  84. + 63)])],
  85. + [$2])])
  86. -# AC_PROG_LIBTOOL
  87. -# ---------------
  88. -AC_DEFUN([AC_PROG_LIBTOOL],
  89. -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
  90. -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
  91. -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
  92. - AC_PROVIDE_IFELSE([AC_PROG_CXX],
  93. - [AC_LIBTOOL_CXX],
  94. - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
  95. - ])])
  96. -dnl And a similar setup for Fortran 77 support
  97. - AC_PROVIDE_IFELSE([AC_PROG_F77],
  98. - [AC_LIBTOOL_F77],
  99. - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
  100. -])])
  101. -
  102. -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
  103. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
  104. -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
  105. - AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  106. - [AC_LIBTOOL_GCJ],
  107. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  108. - [AC_LIBTOOL_GCJ],
  109. - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
  110. - [AC_LIBTOOL_GCJ],
  111. - [ifdef([AC_PROG_GCJ],
  112. - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  113. - ifdef([A][M_PROG_GCJ],
  114. - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
  115. - ifdef([LT_AC_PROG_GCJ],
  116. - [define([LT_AC_PROG_GCJ],
  117. - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
  118. -])])# AC_PROG_LIBTOOL
  119. +# _LT_CHECK_BUILDDIR
  120. +# ------------------
  121. +# Complain if the absolute build directory name contains unusual characters
  122. +m4_defun([_LT_CHECK_BUILDDIR],
  123. +[case `pwd` in
  124. + *\ * | *\ *)
  125. + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
  126. +esac
  127. +])
  128. -# _AC_PROG_LIBTOOL
  129. -# ----------------
  130. -AC_DEFUN([_AC_PROG_LIBTOOL],
  131. -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
  132. -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
  133. -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
  134. -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
  135. +# LT_INIT([OPTIONS])
  136. +# ------------------
  137. +AC_DEFUN([LT_INIT],
  138. +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  139. +AC_BEFORE([$0], [LT_LANG])dnl
  140. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  141. +AC_BEFORE([$0], [LTDL_INIT])dnl
  142. +m4_require([_LT_CHECK_BUILDDIR])dnl
  143. +
  144. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  145. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  146. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  147. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  148. +dnl unless we require an AC_DEFUNed macro:
  149. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  150. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  151. +AC_REQUIRE([LTVERSION_VERSION])dnl
  152. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  153. +m4_require([_LT_PROG_LTMAIN])dnl
  154. +
  155. +dnl Parse OPTIONS
  156. +_LT_SET_OPTIONS([$0], [$1])
  157. # This can be used to rebuild libtool when needed
  158. -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  159. +LIBTOOL_DEPS="$ltmain"
  160. # Always use our own libtool.
  161. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  162. AC_SUBST(LIBTOOL)dnl
  163. -# Prevent multiple expansion
  164. -define([AC_PROG_LIBTOOL], [])
  165. -])# _AC_PROG_LIBTOOL
  166. +_LT_SETUP
  167. +# Only expand once:
  168. +m4_define([LT_INIT])
  169. +])# LT_INIT
  170. +
  171. +# Old names:
  172. +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  173. +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  174. +dnl aclocal-1.4 backwards compatibility:
  175. +dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  176. +dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  177. -# AC_LIBTOOL_SETUP
  178. -# ----------------
  179. -AC_DEFUN([AC_LIBTOOL_SETUP],
  180. -[AC_PREREQ(2.50)dnl
  181. -AC_REQUIRE([AC_ENABLE_SHARED])dnl
  182. -AC_REQUIRE([AC_ENABLE_STATIC])dnl
  183. -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
  184. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  185. +
  186. +# _LT_CC_BASENAME(CC)
  187. +# -------------------
  188. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  189. +m4_defun([_LT_CC_BASENAME],
  190. +[for cc_temp in $1""; do
  191. + case $cc_temp in
  192. + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  193. + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  194. + \-*) ;;
  195. + *) break;;
  196. + esac
  197. +done
  198. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  199. +])
  200. +
  201. +
  202. +# _LT_FILEUTILS_DEFAULTS
  203. +# ----------------------
  204. +# It is okay to use these file commands and assume they have been set
  205. +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  206. +m4_defun([_LT_FILEUTILS_DEFAULTS],
  207. +[: ${CP="cp -f"}
  208. +: ${MV="mv -f"}
  209. +: ${RM="rm -f"}
  210. +])# _LT_FILEUTILS_DEFAULTS
  211. +
  212. +
  213. +# _LT_SETUP
  214. +# ---------
  215. +m4_defun([_LT_SETUP],
  216. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  217. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  218. +_LT_DECL([], [host_alias], [0], [The host system])dnl
  219. +_LT_DECL([], [host], [0])dnl
  220. +_LT_DECL([], [host_os], [0])dnl
  221. +dnl
  222. +_LT_DECL([], [build_alias], [0], [The build system])dnl
  223. +_LT_DECL([], [build], [0])dnl
  224. +_LT_DECL([], [build_os], [0])dnl
  225. +dnl
  226. AC_REQUIRE([AC_PROG_CC])dnl
  227. -AC_REQUIRE([AC_PROG_LD])dnl
  228. -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
  229. -AC_REQUIRE([AC_PROG_NM])dnl
  230. -
  231. +AC_REQUIRE([LT_PATH_LD])dnl
  232. +AC_REQUIRE([LT_PATH_NM])dnl
  233. +dnl
  234. AC_REQUIRE([AC_PROG_LN_S])dnl
  235. -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
  236. -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  237. -AC_REQUIRE([AC_OBJEXT])dnl
  238. -AC_REQUIRE([AC_EXEEXT])dnl
  239. +test -z "$LN_S" && LN_S="ln -s"
  240. +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  241. dnl
  242. -AC_LIBTOOL_SYS_MAX_CMD_LEN
  243. -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  244. -AC_LIBTOOL_OBJDIR
  245. +AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  246. +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  247. +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  248. +dnl
  249. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  250. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  251. +m4_require([_LT_CMD_RELOAD])dnl
  252. +m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  253. +m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  254. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  255. +
  256. +_LT_CONFIG_LIBTOOL_INIT([
  257. +# See if we are running on zsh, and set the options which allow our
  258. +# commands through without removal of \ escapes INIT.
  259. +if test -n "\${ZSH_VERSION+set}" ; then
  260. + setopt NO_GLOB_SUBST
  261. +fi
  262. +])
  263. +if test -n "${ZSH_VERSION+set}" ; then
  264. + setopt NO_GLOB_SUBST
  265. +fi
  266. -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  267. -_LT_AC_PROG_ECHO_BACKSLASH
  268. +_LT_CHECK_OBJDIR
  269. +
  270. +m4_require([_LT_TAG_COMPILER])dnl
  271. +_LT_PROG_ECHO_BACKSLASH
  272. case $host_os in
  273. aix3*)
  274. @@ -122,116 +216,653 @@
  275. # Sed substitution that helps us do robust quoting. It backslashifies
  276. # metacharacters that are still active within double-quoted strings.
  277. -Xsed='sed -e 1s/^X//'
  278. -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
  279. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  280. # Same as above, but do not quote variable references.
  281. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
  282. +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  283. # Sed substitution to delay expansion of an escaped shell variable in a
  284. # double_quote_subst'ed string.
  285. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  286. +# Sed substitution to delay expansion of an escaped single quote.
  287. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  288. +
  289. # Sed substitution to avoid accidental globbing in evaled expressions
  290. no_glob_subst='s/\*/\\\*/g'
  291. -# Constants:
  292. -rm="rm -f"
  293. -
  294. # Global variables:
  295. -default_ofile=libtool
  296. +ofile=libtool
  297. can_build_shared=yes
  298. # All known linkers require a `.a' archive for static linking (except MSVC,
  299. # which needs '.lib').
  300. libext=a
  301. -ltmain="$ac_aux_dir/ltmain.sh"
  302. -ofile="$default_ofile"
  303. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  304. -AC_CHECK_TOOL(AR, ar, false)
  305. -AC_CHECK_TOOL(RANLIB, ranlib, :)
  306. -AC_CHECK_TOOL(STRIP, strip, :)
  307. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  308. old_CC="$CC"
  309. old_CFLAGS="$CFLAGS"
  310. # Set sane defaults for various variables
  311. -test -z "$AR" && AR=ar
  312. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  313. -test -z "$AS" && AS=as
  314. test -z "$CC" && CC=cc
  315. test -z "$LTCC" && LTCC=$CC
  316. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  317. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  318. test -z "$LD" && LD=ld
  319. -test -z "$LN_S" && LN_S="ln -s"
  320. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  321. -test -z "$NM" && NM=nm
  322. -test -z "$SED" && SED=sed
  323. -test -z "$OBJDUMP" && OBJDUMP=objdump
  324. -test -z "$RANLIB" && RANLIB=:
  325. -test -z "$STRIP" && STRIP=:
  326. test -z "$ac_objext" && ac_objext=o
  327. -# Determine commands to create old-style static archives.
  328. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  329. -old_postinstall_cmds='chmod 644 $oldlib'
  330. -old_postuninstall_cmds=
  331. -
  332. -if test -n "$RANLIB"; then
  333. - case $host_os in
  334. - openbsd*)
  335. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  336. - ;;
  337. - *)
  338. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  339. - ;;
  340. - esac
  341. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  342. -fi
  343. -
  344. _LT_CC_BASENAME([$compiler])
  345. # Only perform the check for file, if the check method requires it
  346. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  347. case $deplibs_check_method in
  348. file_magic*)
  349. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  350. - AC_PATH_MAGIC
  351. + _LT_PATH_MAGIC
  352. fi
  353. ;;
  354. esac
  355. -_LT_REQUIRED_DARWIN_CHECKS
  356. +# Use C for the default configuration in the libtool script
  357. +LT_SUPPORTED_TAG([CC])
  358. +_LT_LANG_C_CONFIG
  359. +_LT_LANG_DEFAULT_CONFIG
  360. +_LT_CONFIG_COMMANDS
  361. +])# _LT_SETUP
  362. -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
  363. -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
  364. -enable_win32_dll=yes, enable_win32_dll=no)
  365. -
  366. -AC_ARG_ENABLE([libtool-lock],
  367. - [AC_HELP_STRING([--disable-libtool-lock],
  368. - [avoid locking (might break parallel builds)])])
  369. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  370. -AC_ARG_WITH([pic],
  371. - [AC_HELP_STRING([--with-pic],
  372. - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  373. - [pic_mode="$withval"],
  374. - [pic_mode=default])
  375. -test -z "$pic_mode" && pic_mode=default
  376. +# _LT_PROG_LTMAIN
  377. +# ---------------
  378. +# Note that this code is called both from `configure', and `config.status'
  379. +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
  380. +# `config.status' has no value for ac_aux_dir unless we are using Automake,
  381. +# so we pass a copy along to make sure it has a sensible value anyway.
  382. +m4_defun([_LT_PROG_LTMAIN],
  383. +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  384. +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  385. +ltmain="$ac_aux_dir/ltmain.sh"
  386. +])# _LT_PROG_LTMAIN
  387. -# Use C for the default configuration in the libtool script
  388. -tagname=
  389. -AC_LIBTOOL_LANG_C_CONFIG
  390. -_LT_AC_TAGCONFIG
  391. -])# AC_LIBTOOL_SETUP
  392. -# _LT_AC_SYS_COMPILER
  393. +# So that we can recreate a full libtool script including additional
  394. +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  395. +# in macros and then make a single call at the end using the `libtool'
  396. +# label.
  397. +
  398. +
  399. +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  400. +# ----------------------------------------
  401. +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  402. +m4_define([_LT_CONFIG_LIBTOOL_INIT],
  403. +[m4_ifval([$1],
  404. + [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  405. + [$1
  406. +])])])
  407. +
  408. +# Initialize.
  409. +m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  410. +
  411. +
  412. +# _LT_CONFIG_LIBTOOL([COMMANDS])
  413. +# ------------------------------
  414. +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  415. +m4_define([_LT_CONFIG_LIBTOOL],
  416. +[m4_ifval([$1],
  417. + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  418. + [$1
  419. +])])])
  420. +
  421. +# Initialize.
  422. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  423. +
  424. +
  425. +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  426. +# -----------------------------------------------------
  427. +m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  428. +[_LT_CONFIG_LIBTOOL([$1])
  429. +_LT_CONFIG_LIBTOOL_INIT([$2])
  430. +])
  431. +
  432. +
  433. +# _LT_FORMAT_COMMENT([COMMENT])
  434. +# -----------------------------
  435. +# Add leading comment marks to the start of each line, and a trailing
  436. +# full-stop to the whole comment if one is not present already.
  437. +m4_define([_LT_FORMAT_COMMENT],
  438. +[m4_ifval([$1], [
  439. +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  440. + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  441. +)])
  442. +
  443. +
  444. +
  445. +
  446. +
  447. +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  448. +# -------------------------------------------------------------------
  449. +# CONFIGNAME is the name given to the value in the libtool script.
  450. +# VARNAME is the (base) name used in the configure script.
  451. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  452. +# VARNAME. Any other value will be used directly.
  453. +m4_define([_LT_DECL],
  454. +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  455. + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  456. + [m4_ifval([$1], [$1], [$2])])
  457. + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  458. + m4_ifval([$4],
  459. + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  460. + lt_dict_add_subkey([lt_decl_dict], [$2],
  461. + [tagged?], [m4_ifval([$5], [yes], [no])])])
  462. +])
  463. +
  464. +
  465. +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  466. +# --------------------------------------------------------
  467. +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  468. +
  469. +
  470. +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  471. +# ------------------------------------------------
  472. +m4_define([lt_decl_tag_varnames],
  473. +[_lt_decl_filter([tagged?], [yes], $@)])
  474. +
  475. +
  476. +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  477. +# ---------------------------------------------------------
  478. +m4_define([_lt_decl_filter],
  479. +[m4_case([$#],
  480. + [0], [m4_fatal([$0: too few arguments: $#])],
  481. + [1], [m4_fatal([$0: too few arguments: $#: $1])],
  482. + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  483. + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  484. + [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  485. +])
  486. +
  487. +
  488. +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  489. +# --------------------------------------------------
  490. +m4_define([lt_decl_quote_varnames],
  491. +[_lt_decl_filter([value], [1], $@)])
  492. +
  493. +
  494. +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  495. +# ---------------------------------------------------
  496. +m4_define([lt_decl_dquote_varnames],
  497. +[_lt_decl_filter([value], [2], $@)])
  498. +
  499. +
  500. +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  501. +# ---------------------------------------------------
  502. +m4_define([lt_decl_varnames_tagged],
  503. +[m4_assert([$# <= 2])dnl
  504. +_$0(m4_quote(m4_default([$1], [[, ]])),
  505. + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  506. + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  507. +m4_define([_lt_decl_varnames_tagged],
  508. +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  509. +
  510. +
  511. +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  512. +# ------------------------------------------------
  513. +m4_define([lt_decl_all_varnames],
  514. +[_$0(m4_quote(m4_default([$1], [[, ]])),
  515. + m4_if([$2], [],
  516. + m4_quote(lt_decl_varnames),
  517. + m4_quote(m4_shift($@))))[]dnl
  518. +])
  519. +m4_define([_lt_decl_all_varnames],
  520. +[lt_join($@, lt_decl_varnames_tagged([$1],
  521. + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  522. +])
  523. +
  524. +
  525. +# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  526. +# ------------------------------------
  527. +# Quote a variable value, and forward it to `config.status' so that its
  528. +# declaration there will have the same value as in `configure'. VARNAME
  529. +# must have a single quote delimited value for this to work.
  530. +m4_define([_LT_CONFIG_STATUS_DECLARE],
  531. +[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  532. +
  533. +
  534. +# _LT_CONFIG_STATUS_DECLARATIONS
  535. +# ------------------------------
  536. +# We delimit libtool config variables with single quotes, so when
  537. +# we write them to config.status, we have to be sure to quote all
  538. +# embedded single quotes properly. In configure, this macro expands
  539. +# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  540. +#
  541. +# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  542. +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  543. +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  544. + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  545. +
  546. +
  547. +# _LT_LIBTOOL_TAGS
  548. +# ----------------
  549. +# Output comment and list of tags supported by the script
  550. +m4_defun([_LT_LIBTOOL_TAGS],
  551. +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  552. +available_tags="_LT_TAGS"dnl
  553. +])
  554. +
  555. +
  556. +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  557. +# -----------------------------------
  558. +# Extract the dictionary values for VARNAME (optionally with TAG) and
  559. +# expand to a commented shell variable setting:
  560. +#
  561. +# # Some comment about what VAR is for.
  562. +# visible_name=$lt_internal_name
  563. +m4_define([_LT_LIBTOOL_DECLARE],
  564. +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  565. + [description])))[]dnl
  566. +m4_pushdef([_libtool_name],
  567. + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  568. +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  569. + [0], [_libtool_name=[$]$1],
  570. + [1], [_libtool_name=$lt_[]$1],
  571. + [2], [_libtool_name=$lt_[]$1],
  572. + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  573. +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  574. +])
  575. +
  576. +
  577. +# _LT_LIBTOOL_CONFIG_VARS
  578. +# -----------------------
  579. +# Produce commented declarations of non-tagged libtool config variables
  580. +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  581. +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
  582. +# section) are produced by _LT_LIBTOOL_TAG_VARS.
  583. +m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  584. +[m4_foreach([_lt_var],
  585. + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  586. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  587. +
  588. +
  589. +# _LT_LIBTOOL_TAG_VARS(TAG)
  590. +# -------------------------
  591. +m4_define([_LT_LIBTOOL_TAG_VARS],
  592. +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  593. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  594. +
  595. +
  596. +# _LT_TAGVAR(VARNAME, [TAGNAME])
  597. +# ------------------------------
  598. +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  599. +
  600. +
  601. +# _LT_CONFIG_COMMANDS
  602. # -------------------
  603. -AC_DEFUN([_LT_AC_SYS_COMPILER],
  604. +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
  605. +# variables for single and double quote escaping we saved from calls
  606. +# to _LT_DECL, we can put quote escaped variables declarations
  607. +# into `config.status', and then the shell code to quote escape them in
  608. +# for loops in `config.status'. Finally, any additional code accumulated
  609. +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  610. +m4_defun([_LT_CONFIG_COMMANDS],
  611. +[AC_PROVIDE_IFELSE([LT_OUTPUT],
  612. + dnl If the libtool generation code has been placed in $CONFIG_LT,
  613. + dnl instead of duplicating it all over again into config.status,
  614. + dnl then we will have config.status run $CONFIG_LT later, so it
  615. + dnl needs to know what name is stored there:
  616. + [AC_CONFIG_COMMANDS([libtool],
  617. + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  618. + dnl If the libtool generation code is destined for config.status,
  619. + dnl expand the accumulated commands and init code now:
  620. + [AC_CONFIG_COMMANDS([libtool],
  621. + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  622. +])#_LT_CONFIG_COMMANDS
  623. +
  624. +
  625. +# Initialize.
  626. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  627. +[
  628. +
  629. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  630. +# if CDPATH is set.
  631. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  632. +
  633. +sed_quote_subst='$sed_quote_subst'
  634. +double_quote_subst='$double_quote_subst'
  635. +delay_variable_subst='$delay_variable_subst'
  636. +_LT_CONFIG_STATUS_DECLARATIONS
  637. +LTCC='$LTCC'
  638. +LTCFLAGS='$LTCFLAGS'
  639. +compiler='$compiler_DEFAULT'
  640. +
  641. +# Quote evaled strings.
  642. +for var in lt_decl_all_varnames([[ \
  643. +]], lt_decl_quote_varnames); do
  644. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  645. + *[[\\\\\\\`\\"\\\$]]*)
  646. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  647. + ;;
  648. + *)
  649. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  650. + ;;
  651. + esac
  652. +done
  653. +
  654. +# Double-quote double-evaled strings.
  655. +for var in lt_decl_all_varnames([[ \
  656. +]], lt_decl_dquote_varnames); do
  657. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  658. + *[[\\\\\\\`\\"\\\$]]*)
  659. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  660. + ;;
  661. + *)
  662. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  663. + ;;
  664. + esac
  665. +done
  666. +
  667. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  668. +case \$lt_ECHO in
  669. +*'\\\[$]0 --fallback-echo"')dnl "
  670. + lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  671. + ;;
  672. +esac
  673. +
  674. +_LT_OUTPUT_LIBTOOL_INIT
  675. +])
  676. +
  677. +
  678. +# LT_OUTPUT
  679. +# ---------
  680. +# This macro allows early generation of the libtool script (before
  681. +# AC_OUTPUT is called), incase it is used in configure for compilation
  682. +# tests.
  683. +AC_DEFUN([LT_OUTPUT],
  684. +[: ${CONFIG_LT=./config.lt}
  685. +AC_MSG_NOTICE([creating $CONFIG_LT])
  686. +cat >"$CONFIG_LT" <<_LTEOF
  687. +#! $SHELL
  688. +# Generated by $as_me.
  689. +# Run this file to recreate a libtool stub with the current configuration.
  690. +
  691. +lt_cl_silent=false
  692. +SHELL=\${CONFIG_SHELL-$SHELL}
  693. +_LTEOF
  694. +
  695. +cat >>"$CONFIG_LT" <<\_LTEOF
  696. +AS_SHELL_SANITIZE
  697. +_AS_PREPARE
  698. +
  699. +exec AS_MESSAGE_FD>&1
  700. +exec AS_MESSAGE_LOG_FD>>config.log
  701. +{
  702. + echo
  703. + AS_BOX([Running $as_me.])
  704. +} >&AS_MESSAGE_LOG_FD
  705. +
  706. +lt_cl_help="\
  707. +\`$as_me' creates a local libtool stub from the current configuration,
  708. +for use in further configure time tests before the real libtool is
  709. +generated.
  710. +
  711. +Usage: $[0] [[OPTIONS]]
  712. +
  713. + -h, --help print this help, then exit
  714. + -V, --version print version number, then exit
  715. + -q, --quiet do not print progress messages
  716. + -d, --debug don't remove temporary files
  717. +
  718. +Report bugs to <bug-libtool@gnu.org>."
  719. +
  720. +lt_cl_version="\
  721. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  722. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  723. +configured by $[0], generated by m4_PACKAGE_STRING.
  724. +
  725. +Copyright (C) 2008 Free Software Foundation, Inc.
  726. +This config.lt script is free software; the Free Software Foundation
  727. +gives unlimited permision to copy, distribute and modify it."
  728. +
  729. +while test $[#] != 0
  730. +do
  731. + case $[1] in
  732. + --version | --v* | -V )
  733. + echo "$lt_cl_version"; exit 0 ;;
  734. + --help | --h* | -h )
  735. + echo "$lt_cl_help"; exit 0 ;;
  736. + --debug | --d* | -d )
  737. + debug=: ;;
  738. + --quiet | --q* | --silent | --s* | -q )
  739. + lt_cl_silent=: ;;
  740. +
  741. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  742. +Try \`$[0] --help' for more information.]) ;;
  743. +
  744. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  745. +Try \`$[0] --help' for more information.]) ;;
  746. + esac
  747. + shift
  748. +done
  749. +
  750. +if $lt_cl_silent; then
  751. + exec AS_MESSAGE_FD>/dev/null
  752. +fi
  753. +_LTEOF
  754. +
  755. +cat >>"$CONFIG_LT" <<_LTEOF
  756. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  757. +_LTEOF
  758. +
  759. +cat >>"$CONFIG_LT" <<\_LTEOF
  760. +AC_MSG_NOTICE([creating $ofile])
  761. +_LT_OUTPUT_LIBTOOL_COMMANDS
  762. +AS_EXIT(0)
  763. +_LTEOF
  764. +chmod +x "$CONFIG_LT"
  765. +
  766. +# configure is writing to config.log, but config.lt does its own redirection,
  767. +# appending to config.log, which fails on DOS, as config.log is still kept
  768. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  769. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  770. +if test "$no_create" != yes; then
  771. + lt_cl_success=:
  772. + test "$silent" = yes &&
  773. + lt_config_lt_args="$lt_config_lt_args --quiet"
  774. + exec AS_MESSAGE_LOG_FD>/dev/null
  775. + $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  776. + exec AS_MESSAGE_LOG_FD>>config.log
  777. + $lt_cl_success || AS_EXIT(1)
  778. +fi
  779. +])# LT_OUTPUT
  780. +
  781. +
  782. +# _LT_CONFIG(TAG)
  783. +# ---------------
  784. +# If TAG is the built-in tag, create an initial libtool script with a
  785. +# default configuration from the untagged config vars. Otherwise add code
  786. +# to config.status for appending the configuration named by TAG from the
  787. +# matching tagged config vars.
  788. +m4_defun([_LT_CONFIG],
  789. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  790. +_LT_CONFIG_SAVE_COMMANDS([
  791. + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  792. + m4_if(_LT_TAG, [C], [
  793. + # See if we are running on zsh, and set the options which allow our
  794. + # commands through without removal of \ escapes.
  795. + if test -n "${ZSH_VERSION+set}" ; then
  796. + setopt NO_GLOB_SUBST
  797. + fi
  798. +
  799. + cfgfile="${ofile}T"
  800. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  801. + $RM "$cfgfile"
  802. +
  803. + cat <<_LT_EOF >> "$cfgfile"
  804. +#! $SHELL
  805. +
  806. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  807. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  808. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  809. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  810. +#
  811. +_LT_COPYING
  812. +_LT_LIBTOOL_TAGS
  813. +
  814. +# ### BEGIN LIBTOOL CONFIG
  815. +_LT_LIBTOOL_CONFIG_VARS
  816. +_LT_LIBTOOL_TAG_VARS
  817. +# ### END LIBTOOL CONFIG
  818. +
  819. +_LT_EOF
  820. +
  821. + case $host_os in
  822. + aix3*)
  823. + cat <<\_LT_EOF >> "$cfgfile"
  824. +# AIX sometimes has problems with the GCC collect2 program. For some
  825. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  826. +# vanish in a puff of smoke.
  827. +if test "X${COLLECT_NAMES+set}" != Xset; then
  828. + COLLECT_NAMES=
  829. + export COLLECT_NAMES
  830. +fi
  831. +_LT_EOF
  832. + ;;
  833. + esac
  834. +
  835. + _LT_PROG_LTMAIN
  836. +
  837. + # We use sed instead of cat because bash on DJGPP gets confused if
  838. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  839. + # text mode, it properly converts lines to CR/LF. This bash problem
  840. + # is reportedly fixed, but why not run on old versions too?
  841. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  842. + || (rm -f "$cfgfile"; exit 1)
  843. +
  844. + _LT_PROG_XSI_SHELLFNS
  845. +
  846. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  847. + || (rm -f "$cfgfile"; exit 1)
  848. +
  849. + mv -f "$cfgfile" "$ofile" ||
  850. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  851. + chmod +x "$ofile"
  852. +],
  853. +[cat <<_LT_EOF >> "$ofile"
  854. +
  855. +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  856. +dnl in a comment (ie after a #).
  857. +# ### BEGIN LIBTOOL TAG CONFIG: $1
  858. +_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  859. +# ### END LIBTOOL TAG CONFIG: $1
  860. +_LT_EOF
  861. +])dnl /m4_if
  862. +],
  863. +[m4_if([$1], [], [
  864. + PACKAGE='$PACKAGE'
  865. + VERSION='$VERSION'
  866. + TIMESTAMP='$TIMESTAMP'
  867. + RM='$RM'
  868. + ofile='$ofile'], [])
  869. +])dnl /_LT_CONFIG_SAVE_COMMANDS
  870. +])# _LT_CONFIG
  871. +
  872. +
  873. +# LT_SUPPORTED_TAG(TAG)
  874. +# ---------------------
  875. +# Trace this macro to discover what tags are supported by the libtool
  876. +# --tag option, using:
  877. +# autoconf --trace 'LT_SUPPORTED_TAG:$1'
  878. +AC_DEFUN([LT_SUPPORTED_TAG], [])
  879. +
  880. +
  881. +# C support is built-in for now
  882. +m4_define([_LT_LANG_C_enabled], [])
  883. +m4_define([_LT_TAGS], [])
  884. +
  885. +
  886. +# LT_LANG(LANG)
  887. +# -------------
  888. +# Enable libtool support for the given language if not already enabled.
  889. +AC_DEFUN([LT_LANG],
  890. +[AC_BEFORE([$0], [LT_OUTPUT])dnl
  891. +m4_case([$1],
  892. + [C], [_LT_LANG(C)],
  893. + [C++], [_LT_LANG(CXX)],
  894. + [Java], [_LT_LANG(GCJ)],
  895. + [Fortran 77], [_LT_LANG(F77)],
  896. + [Fortran], [_LT_LANG(FC)],
  897. + [Windows Resource], [_LT_LANG(RC)],
  898. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  899. + [_LT_LANG($1)],
  900. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  901. +])# LT_LANG
  902. +
  903. +
  904. +# _LT_LANG(LANGNAME)
  905. +# ------------------
  906. +m4_defun([_LT_LANG],
  907. +[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  908. + [LT_SUPPORTED_TAG([$1])dnl
  909. + m4_append([_LT_TAGS], [$1 ])dnl
  910. + m4_define([_LT_LANG_]$1[_enabled], [])dnl
  911. + _LT_LANG_$1_CONFIG($1)])dnl
  912. +])# _LT_LANG
  913. +
  914. +
  915. +# _LT_LANG_DEFAULT_CONFIG
  916. +# -----------------------
  917. +m4_defun([_LT_LANG_DEFAULT_CONFIG],
  918. +[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  919. + [LT_LANG(CXX)],
  920. + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  921. +
  922. +AC_PROVIDE_IFELSE([AC_PROG_F77],
  923. + [LT_LANG(F77)],
  924. + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  925. +
  926. +AC_PROVIDE_IFELSE([AC_PROG_FC],
  927. + [LT_LANG(FC)],
  928. + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  929. +
  930. +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  931. +dnl pulling things in needlessly.
  932. +AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  933. + [LT_LANG(GCJ)],
  934. + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  935. + [LT_LANG(GCJ)],
  936. + [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  937. + [LT_LANG(GCJ)],
  938. + [m4_ifdef([AC_PROG_GCJ],
  939. + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  940. + m4_ifdef([A][M_PROG_GCJ],
  941. + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  942. + m4_ifdef([LT_PROG_GCJ],
  943. + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  944. +
  945. +AC_PROVIDE_IFELSE([LT_PROG_RC],
  946. + [LT_LANG(RC)],
  947. + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  948. +])# _LT_LANG_DEFAULT_CONFIG
  949. +
  950. +# Obsolete macros:
  951. +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  952. +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  953. +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  954. +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  955. +dnl aclocal-1.4 backwards compatibility:
  956. +dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  957. +dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  958. +dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  959. +dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  960. +
  961. +
  962. +# _LT_TAG_COMPILER
  963. +# ----------------
  964. +m4_defun([_LT_TAG_COMPILER],
  965. [AC_REQUIRE([AC_PROG_CC])dnl
  966. +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  967. +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  968. +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  969. +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  970. +
  971. # If no C compiler was specified, use CC.
  972. LTCC=${LTCC-"$CC"}
  973. @@ -240,36 +871,20 @@
  974. # Allow CC to be a program name with arguments.
  975. compiler=$CC
  976. -])# _LT_AC_SYS_COMPILER
  977. -
  978. -
  979. -# _LT_CC_BASENAME(CC)
  980. -# -------------------
  981. -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  982. -AC_DEFUN([_LT_CC_BASENAME],
  983. -[for cc_temp in $1""; do
  984. - case $cc_temp in
  985. - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  986. - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  987. - \-*) ;;
  988. - *) break;;
  989. - esac
  990. -done
  991. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  992. -])
  993. +])# _LT_TAG_COMPILER
  994. # _LT_COMPILER_BOILERPLATE
  995. # ------------------------
  996. # Check for compiler boilerplate output or warnings with
  997. # the simple compiler test code.
  998. -AC_DEFUN([_LT_COMPILER_BOILERPLATE],
  999. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  1000. +m4_defun([_LT_COMPILER_BOILERPLATE],
  1001. +[m4_require([_LT_DECL_SED])dnl
  1002. ac_outfile=conftest.$ac_objext
  1003. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  1004. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1005. _lt_compiler_boilerplate=`cat conftest.err`
  1006. -$rm conftest*
  1007. +$RM conftest*
  1008. ])# _LT_COMPILER_BOILERPLATE
  1009. @@ -277,40 +892,58 @@
  1010. # ----------------------
  1011. # Check for linker boilerplate output or warnings with
  1012. # the simple link test code.
  1013. -AC_DEFUN([_LT_LINKER_BOILERPLATE],
  1014. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  1015. +m4_defun([_LT_LINKER_BOILERPLATE],
  1016. +[m4_require([_LT_DECL_SED])dnl
  1017. ac_outfile=conftest.$ac_objext
  1018. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  1019. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1020. _lt_linker_boilerplate=`cat conftest.err`
  1021. -$rm -r conftest*
  1022. +$RM -r conftest*
  1023. ])# _LT_LINKER_BOILERPLATE
  1024. # _LT_REQUIRED_DARWIN_CHECKS
  1025. -# --------------------------
  1026. -# Check for some things on darwin
  1027. -AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
  1028. +# -------------------------
  1029. +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  1030. case $host_os in
  1031. rhapsody* | darwin*)
  1032. AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  1033. AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  1034. + AC_CHECK_TOOL([LIPO], [lipo], [:])
  1035. + AC_CHECK_TOOL([OTOOL], [otool], [:])
  1036. + AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  1037. + _LT_DECL([], [DSYMUTIL], [1],
  1038. + [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  1039. + _LT_DECL([], [NMEDIT], [1],
  1040. + [Tool to change global to local symbols on Mac OS X])
  1041. + _LT_DECL([], [LIPO], [1],
  1042. + [Tool to manipulate fat objects and archives on Mac OS X])
  1043. + _LT_DECL([], [OTOOL], [1],
  1044. + [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  1045. + _LT_DECL([], [OTOOL64], [1],
  1046. + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  1047. AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  1048. [lt_cv_apple_cc_single_mod=no
  1049. if test -z "${LT_MULTI_MODULE}"; then
  1050. - # By default we will add the -single_module flag. You can override
  1051. - # by either setting the environment variable LT_MULTI_MODULE
  1052. - # non-empty at configure time, or by adding -multi_module to the
  1053. - # link flags.
  1054. - echo "int foo(void){return 1;}" > conftest.c
  1055. - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1056. - -dynamiclib ${wl}-single_module conftest.c
  1057. - if test -f libconftest.dylib; then
  1058. - lt_cv_apple_cc_single_mod=yes
  1059. - rm -rf libconftest.dylib*
  1060. - fi
  1061. - rm conftest.c
  1062. - fi])
  1063. + # By default we will add the -single_module flag. You can override
  1064. + # by either setting the environment variable LT_MULTI_MODULE
  1065. + # non-empty at configure time, or by adding -multi_module to the
  1066. + # link flags.
  1067. + rm -rf libconftest.dylib*
  1068. + echo "int foo(void){return 1;}" > conftest.c
  1069. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1070. +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  1071. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1072. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  1073. + _lt_result=$?
  1074. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  1075. + lt_cv_apple_cc_single_mod=yes
  1076. + else
  1077. + cat conftest.err >&AS_MESSAGE_LOG_FD
  1078. + fi
  1079. + rm -rf libconftest.dylib*
  1080. + rm -f conftest.*
  1081. + fi])
  1082. AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  1083. [lt_cv_ld_exported_symbols_list],
  1084. [lt_cv_ld_exported_symbols_list=no
  1085. @@ -318,26 +951,26 @@
  1086. echo "_main" > conftest.sym
  1087. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  1088. AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  1089. - [lt_cv_ld_exported_symbols_list=yes],
  1090. - [lt_cv_ld_exported_symbols_list=no])
  1091. - LDFLAGS="$save_LDFLAGS"
  1092. + [lt_cv_ld_exported_symbols_list=yes],
  1093. + [lt_cv_ld_exported_symbols_list=no])
  1094. + LDFLAGS="$save_LDFLAGS"
  1095. ])
  1096. case $host_os in
  1097. - rhapsody* | darwin1.[[0123]])
  1098. + rhapsody* | darwin1.[[012]])
  1099. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  1100. darwin1.*)
  1101. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1102. - darwin*)
  1103. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1104. + darwin*) # darwin 5.x on
  1105. # if running on 10.5 or later, the deployment target defaults
  1106. # to the OS version, if on x86, and 10.4, the deployment
  1107. # target defaults to 10.4. Don't you love it?
  1108. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  1109. - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  1110. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1111. - 10.[[012]]*)
  1112. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1113. - 10.*)
  1114. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1115. + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  1116. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1117. + 10.[[012]]*)
  1118. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1119. + 10.*)
  1120. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1121. esac
  1122. ;;
  1123. esac
  1124. @@ -347,10 +980,10 @@
  1125. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  1126. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  1127. else
  1128. - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
  1129. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1130. fi
  1131. if test "$DSYMUTIL" != ":"; then
  1132. - _lt_dsymutil="~$DSYMUTIL \$lib || :"
  1133. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  1134. else
  1135. _lt_dsymutil=
  1136. fi
  1137. @@ -358,16 +991,51 @@
  1138. esac
  1139. ])
  1140. -# _LT_AC_SYS_LIBPATH_AIX
  1141. -# ----------------------
  1142. +
  1143. +# _LT_DARWIN_LINKER_FEATURES
  1144. +# --------------------------
  1145. +# Checks for linker and compiler features on darwin
  1146. +m4_defun([_LT_DARWIN_LINKER_FEATURES],
  1147. +[
  1148. + m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  1149. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  1150. + _LT_TAGVAR(hardcode_direct, $1)=no
  1151. + _LT_TAGVAR(hardcode_automatic, $1)=yes
  1152. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  1153. + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  1154. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  1155. + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  1156. + case $cc_basename in
  1157. + ifort*) _lt_dar_can_shared=yes ;;
  1158. + *) _lt_dar_can_shared=$GCC ;;
  1159. + esac
  1160. + if test "$_lt_dar_can_shared" = "yes"; then
  1161. + output_verbose_link_cmd=echo
  1162. + _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}"
  1163. + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  1164. + _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}"
  1165. + _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}"
  1166. + m4_if([$1], [CXX],
  1167. +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  1168. + _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}"
  1169. + _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}"
  1170. + fi
  1171. +],[])
  1172. + else
  1173. + _LT_TAGVAR(ld_shlibs, $1)=no
  1174. + fi
  1175. +])
  1176. +
  1177. +# _LT_SYS_MODULE_PATH_AIX
  1178. +# -----------------------
  1179. # Links a minimal program and checks the executable
  1180. # for the system default hardcoded library path. In most cases,
  1181. # this is /usr/lib:/lib, but when the MPI compilers are used
  1182. # the location of the communication and MPI libs are included too.
  1183. # If we don't find anything, use the default library path according
  1184. # to the aix ld manual.
  1185. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
  1186. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  1187. +m4_defun([_LT_SYS_MODULE_PATH_AIX],
  1188. +[m4_require([_LT_DECL_SED])dnl
  1189. AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  1190. lt_aix_libpath_sed='
  1191. /Import File Strings/,/^$/ {
  1192. @@ -382,45 +1050,45 @@
  1193. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1194. fi],[])
  1195. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1196. -])# _LT_AC_SYS_LIBPATH_AIX
  1197. +])# _LT_SYS_MODULE_PATH_AIX
  1198. -# _LT_AC_SHELL_INIT(ARG)
  1199. -# ----------------------
  1200. -AC_DEFUN([_LT_AC_SHELL_INIT],
  1201. +# _LT_SHELL_INIT(ARG)
  1202. +# -------------------
  1203. +m4_define([_LT_SHELL_INIT],
  1204. [ifdef([AC_DIVERSION_NOTICE],
  1205. [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  1206. [AC_DIVERT_PUSH(NOTICE)])
  1207. $1
  1208. AC_DIVERT_POP
  1209. -])# _LT_AC_SHELL_INIT
  1210. +])# _LT_SHELL_INIT
  1211. -# _LT_AC_PROG_ECHO_BACKSLASH
  1212. -# --------------------------
  1213. +# _LT_PROG_ECHO_BACKSLASH
  1214. +# -----------------------
  1215. # Add some code to the start of the generated configure script which
  1216. # will find an echo command which doesn't interpret backslashes.
  1217. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
  1218. -[_LT_AC_SHELL_INIT([
  1219. +m4_defun([_LT_PROG_ECHO_BACKSLASH],
  1220. +[_LT_SHELL_INIT([
  1221. # Check that we are running under the correct shell.
  1222. SHELL=${CONFIG_SHELL-/bin/sh}
  1223. -case X$ECHO in
  1224. +case X$lt_ECHO in
  1225. X*--fallback-echo)
  1226. # Remove one level of quotation (which was required for Make).
  1227. - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1228. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1229. ;;
  1230. esac
  1231. -echo=${ECHO-echo}
  1232. +ECHO=${lt_ECHO-echo}
  1233. if test "X[$]1" = X--no-reexec; then
  1234. # Discard the --no-reexec flag, and continue.
  1235. shift
  1236. elif test "X[$]1" = X--fallback-echo; then
  1237. # Avoid inline document here, it may be left over
  1238. :
  1239. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  1240. - # Yippee, $echo works!
  1241. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  1242. + # Yippee, $ECHO works!
  1243. :
  1244. else
  1245. # Restart under the correct shell.
  1246. @@ -430,9 +1098,9 @@
  1247. if test "X[$]1" = X--fallback-echo; then
  1248. # used as fallback echo
  1249. shift
  1250. - cat <<EOF
  1251. + cat <<_LT_EOF
  1252. [$]*
  1253. -EOF
  1254. +_LT_EOF
  1255. exit 0
  1256. fi
  1257. @@ -440,124 +1108,127 @@
  1258. # if CDPATH is set.
  1259. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1260. -if test -z "$ECHO"; then
  1261. -if test "X${echo_test_string+set}" != Xset; then
  1262. -# find a string as large as possible, as long as the shell can cope with it
  1263. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1264. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1265. - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  1266. - echo_test_string=`eval $cmd` &&
  1267. - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  1268. - then
  1269. - break
  1270. - fi
  1271. - done
  1272. -fi
  1273. +if test -z "$lt_ECHO"; then
  1274. + if test "X${echo_test_string+set}" != Xset; then
  1275. + # find a string as large as possible, as long as the shell can cope with it
  1276. + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1277. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1278. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  1279. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  1280. + then
  1281. + break
  1282. + fi
  1283. + done
  1284. + fi
  1285. -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  1286. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  1287. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1288. - :
  1289. -else
  1290. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  1291. - # backslashes. This makes it impossible to quote backslashes using
  1292. - # echo "$something" | sed 's/\\/\\\\/g'
  1293. - #
  1294. - # So, first we look for a working echo in the user's PATH.
  1295. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1296. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1297. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1298. + :
  1299. + else
  1300. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  1301. + # backslashes. This makes it impossible to quote backslashes using
  1302. + # echo "$something" | sed 's/\\/\\\\/g'
  1303. + #
  1304. + # So, first we look for a working echo in the user's PATH.
  1305. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1306. - for dir in $PATH /usr/ucb; do
  1307. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1308. + for dir in $PATH /usr/ucb; do
  1309. + IFS="$lt_save_ifs"
  1310. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1311. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1312. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1313. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1314. + ECHO="$dir/echo"
  1315. + break
  1316. + fi
  1317. + done
  1318. IFS="$lt_save_ifs"
  1319. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1320. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1321. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1322. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1323. - echo="$dir/echo"
  1324. - break
  1325. - fi
  1326. - done
  1327. - IFS="$lt_save_ifs"
  1328. - if test "X$echo" = Xecho; then
  1329. - # We didn't find a better echo, so look for alternatives.
  1330. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  1331. - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  1332. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1333. - # This shell has a builtin print -r that does the trick.
  1334. - echo='print -r'
  1335. - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  1336. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  1337. - # If we have ksh, try running configure again with it.
  1338. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1339. - export ORIGINAL_CONFIG_SHELL
  1340. - CONFIG_SHELL=/bin/ksh
  1341. - export CONFIG_SHELL
  1342. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1343. - else
  1344. - # Try using printf.
  1345. - echo='printf %s\n'
  1346. - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  1347. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  1348. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1349. - # Cool, printf works
  1350. - :
  1351. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1352. - test "X$echo_testing_string" = 'X\t' &&
  1353. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1354. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1355. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1356. - export CONFIG_SHELL
  1357. - SHELL="$CONFIG_SHELL"
  1358. - export SHELL
  1359. - echo="$CONFIG_SHELL [$]0 --fallback-echo"
  1360. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1361. - test "X$echo_testing_string" = 'X\t' &&
  1362. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1363. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1364. - echo="$CONFIG_SHELL [$]0 --fallback-echo"
  1365. + if test "X$ECHO" = Xecho; then
  1366. + # We didn't find a better echo, so look for alternatives.
  1367. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  1368. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  1369. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1370. + # This shell has a builtin print -r that does the trick.
  1371. + ECHO='print -r'
  1372. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  1373. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  1374. + # If we have ksh, try running configure again with it.
  1375. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1376. + export ORIGINAL_CONFIG_SHELL
  1377. + CONFIG_SHELL=/bin/ksh
  1378. + export CONFIG_SHELL
  1379. + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1380. else
  1381. - # maybe with a smaller string...
  1382. - prev=:
  1383. + # Try using printf.
  1384. + ECHO='printf %s\n'
  1385. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1386. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1387. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1388. + # Cool, printf works
  1389. + :
  1390. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1391. + test "X$echo_testing_string" = 'X\t' &&
  1392. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1393. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1394. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1395. + export CONFIG_SHELL
  1396. + SHELL="$CONFIG_SHELL"
  1397. + export SHELL
  1398. + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1399. + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1400. + test "X$echo_testing_string" = 'X\t' &&
  1401. + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1402. + test "X$echo_testing_string" = "X$echo_test_string"; then
  1403. + ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1404. + else
  1405. + # maybe with a smaller string...
  1406. + prev=:
  1407. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1408. - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  1409. - then
  1410. - break
  1411. - fi
  1412. - prev="$cmd"
  1413. - done
  1414. + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1415. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  1416. + then
  1417. + break
  1418. + fi
  1419. + prev="$cmd"
  1420. + done
  1421. - if test "$prev" != 'sed 50q "[$]0"'; then
  1422. - echo_test_string=`eval $prev`
  1423. - export echo_test_string
  1424. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1425. - else
  1426. - # Oops. We lost completely, so just stick with echo.
  1427. - echo=echo
  1428. - fi
  1429. + if test "$prev" != 'sed 50q "[$]0"'; then
  1430. + echo_test_string=`eval $prev`
  1431. + export echo_test_string
  1432. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1433. + else
  1434. + # Oops. We lost completely, so just stick with echo.
  1435. + ECHO=echo
  1436. + fi
  1437. + fi
  1438. fi
  1439. fi
  1440. fi
  1441. fi
  1442. -fi
  1443. # Copy echo and quote the copy suitably for passing to libtool from
  1444. # the Makefile, instead of quoting the original, which is used later.
  1445. -ECHO=$echo
  1446. -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1447. - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1448. +lt_ECHO=$ECHO
  1449. +if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1450. + lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1451. fi
  1452. -AC_SUBST(ECHO)
  1453. -])])# _LT_AC_PROG_ECHO_BACKSLASH
  1454. +AC_SUBST(lt_ECHO)
  1455. +])
  1456. +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  1457. +_LT_DECL([], [ECHO], [1],
  1458. + [An echo program that does not interpret backslashes])
  1459. +])# _LT_PROG_ECHO_BACKSLASH
  1460. -# _LT_AC_LOCK
  1461. -# -----------
  1462. -AC_DEFUN([_LT_AC_LOCK],
  1463. +# _LT_ENABLE_LOCK
  1464. +# ---------------
  1465. +m4_defun([_LT_ENABLE_LOCK],
  1466. [AC_ARG_ENABLE([libtool-lock],
  1467. - [AC_HELP_STRING([--disable-libtool-lock],
  1468. - [avoid locking (might break parallel builds)])])
  1469. + [AS_HELP_STRING([--disable-libtool-lock],
  1470. + [avoid locking (might break parallel builds)])])
  1471. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1472. # Some flags need to be propagated to the compiler or linker for good
  1473. @@ -568,12 +1239,12 @@
  1474. echo 'int i;' > conftest.$ac_ext
  1475. if AC_TRY_EVAL(ac_compile); then
  1476. case `/usr/bin/file conftest.$ac_objext` in
  1477. - *ELF-32*)
  1478. - HPUX_IA64_MODE="32"
  1479. - ;;
  1480. - *ELF-64*)
  1481. - HPUX_IA64_MODE="64"
  1482. - ;;
  1483. + *ELF-32*)
  1484. + HPUX_IA64_MODE="32"
  1485. + ;;
  1486. + *ELF-64*)
  1487. + HPUX_IA64_MODE="64"
  1488. + ;;
  1489. esac
  1490. fi
  1491. rm -rf conftest*
  1492. @@ -582,79 +1253,79 @@
  1493. # Find out which ABI we are using.
  1494. echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  1495. if AC_TRY_EVAL(ac_compile); then
  1496. - if test "$lt_cv_prog_gnu_ld" = yes; then
  1497. - case `/usr/bin/file conftest.$ac_objext` in
  1498. - *32-bit*)
  1499. - LD="${LD-ld} -melf32bsmip"
  1500. - ;;
  1501. - *N32*)
  1502. - LD="${LD-ld} -melf32bmipn32"
  1503. - ;;
  1504. - *64-bit*)
  1505. - LD="${LD-ld} -melf64bmip"
  1506. - ;;
  1507. - esac
  1508. - else
  1509. - case `/usr/bin/file conftest.$ac_objext` in
  1510. - *32-bit*)
  1511. - LD="${LD-ld} -32"
  1512. - ;;
  1513. - *N32*)
  1514. - LD="${LD-ld} -n32"
  1515. - ;;
  1516. - *64-bit*)
  1517. - LD="${LD-ld} -64"
  1518. - ;;
  1519. - esac
  1520. - fi
  1521. + if test "$lt_cv_prog_gnu_ld" = yes; then
  1522. + case `/usr/bin/file conftest.$ac_objext` in
  1523. + *32-bit*)
  1524. + LD="${LD-ld} -melf32bsmip"
  1525. + ;;
  1526. + *N32*)
  1527. + LD="${LD-ld} -melf32bmipn32"
  1528. + ;;
  1529. + *64-bit*)
  1530. + LD="${LD-ld} -melf64bmip"
  1531. + ;;
  1532. + esac
  1533. + else
  1534. + case `/usr/bin/file conftest.$ac_objext` in
  1535. + *32-bit*)
  1536. + LD="${LD-ld} -32"
  1537. + ;;
  1538. + *N32*)
  1539. + LD="${LD-ld} -n32"
  1540. + ;;
  1541. + *64-bit*)
  1542. + LD="${LD-ld} -64"
  1543. + ;;
  1544. + esac
  1545. + fi
  1546. fi
  1547. rm -rf conftest*
  1548. ;;
  1549. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1550. -s390*-*linux*|sparc*-*linux*)
  1551. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1552. # Find out which ABI we are using.
  1553. echo 'int i;' > conftest.$ac_ext
  1554. if AC_TRY_EVAL(ac_compile); then
  1555. case `/usr/bin/file conftest.o` in
  1556. - *32-bit*)
  1557. - case $host in
  1558. - x86_64-*kfreebsd*-gnu)
  1559. - LD="${LD-ld} -m elf_i386_fbsd"
  1560. - ;;
  1561. - x86_64-*linux*)
  1562. - LD="${LD-ld} -m elf_i386"
  1563. - ;;
  1564. - ppc64-*linux*|powerpc64-*linux*)
  1565. - LD="${LD-ld} -m elf32ppclinux"
  1566. - ;;
  1567. - s390x-*linux*)
  1568. - LD="${LD-ld} -m elf_s390"
  1569. - ;;
  1570. - sparc64-*linux*)
  1571. - LD="${LD-ld} -m elf32_sparc"
  1572. - ;;
  1573. - esac
  1574. - ;;
  1575. - *64-bit*)
  1576. - case $host in
  1577. - x86_64-*kfreebsd*-gnu)
  1578. - LD="${LD-ld} -m elf_x86_64_fbsd"
  1579. - ;;
  1580. - x86_64-*linux*)
  1581. - LD="${LD-ld} -m elf_x86_64"
  1582. - ;;
  1583. - ppc*-*linux*|powerpc*-*linux*)
  1584. - LD="${LD-ld} -m elf64ppc"
  1585. - ;;
  1586. - s390*-*linux*)
  1587. - LD="${LD-ld} -m elf64_s390"
  1588. - ;;
  1589. - sparc*-*linux*)
  1590. - LD="${LD-ld} -m elf64_sparc"
  1591. - ;;
  1592. - esac
  1593. - ;;
  1594. + *32-bit*)
  1595. + case $host in
  1596. + x86_64-*kfreebsd*-gnu)
  1597. + LD="${LD-ld} -m elf_i386_fbsd"
  1598. + ;;
  1599. + x86_64-*linux*)
  1600. + LD="${LD-ld} -m elf_i386"
  1601. + ;;
  1602. + ppc64-*linux*|powerpc64-*linux*)
  1603. + LD="${LD-ld} -m elf32ppclinux"
  1604. + ;;
  1605. + s390x-*linux*)
  1606. + LD="${LD-ld} -m elf_s390"
  1607. + ;;
  1608. + sparc64-*linux*)
  1609. + LD="${LD-ld} -m elf32_sparc"
  1610. + ;;
  1611. + esac
  1612. + ;;
  1613. + *64-bit*)
  1614. + case $host in
  1615. + x86_64-*kfreebsd*-gnu)
  1616. + LD="${LD-ld} -m elf_x86_64_fbsd"
  1617. + ;;
  1618. + x86_64-*linux*)
  1619. + LD="${LD-ld} -m elf_x86_64"
  1620. + ;;
  1621. + ppc*-*linux*|powerpc*-*linux*)
  1622. + LD="${LD-ld} -m elf64ppc"
  1623. + ;;
  1624. + s390*-*linux*|s390*-*tpf*)
  1625. + LD="${LD-ld} -m elf64_s390"
  1626. + ;;
  1627. + sparc*-*linux*)
  1628. + LD="${LD-ld} -m elf64_sparc"
  1629. + ;;
  1630. + esac
  1631. + ;;
  1632. esac
  1633. fi
  1634. rm -rf conftest*
  1635. @@ -666,7 +1337,7 @@
  1636. CFLAGS="$CFLAGS -belf"
  1637. AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  1638. [AC_LANG_PUSH(C)
  1639. - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1640. + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1641. AC_LANG_POP])
  1642. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1643. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1644. @@ -682,7 +1353,7 @@
  1645. case $lt_cv_prog_gnu_ld in
  1646. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1647. *)
  1648. - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1649. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1650. LD="${LD-ld} -64"
  1651. fi
  1652. ;;
  1653. @@ -692,30 +1363,63 @@
  1654. fi
  1655. rm -rf conftest*
  1656. ;;
  1657. -
  1658. -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
  1659. -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  1660. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  1661. - AC_CHECK_TOOL(AS, as, false)
  1662. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  1663. - ;;
  1664. - ])
  1665. esac
  1666. need_locks="$enable_libtool_lock"
  1667. +])# _LT_ENABLE_LOCK
  1668. +
  1669. +
  1670. +# _LT_CMD_OLD_ARCHIVE
  1671. +# -------------------
  1672. +m4_defun([_LT_CMD_OLD_ARCHIVE],
  1673. +[AC_CHECK_TOOL(AR, ar, false)
  1674. +test -z "$AR" && AR=ar
  1675. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  1676. +_LT_DECL([], [AR], [1], [The archiver])
  1677. +_LT_DECL([], [AR_FLAGS], [1])
  1678. +
  1679. +AC_CHECK_TOOL(STRIP, strip, :)
  1680. +test -z "$STRIP" && STRIP=:
  1681. +_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  1682. +
  1683. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  1684. +test -z "$RANLIB" && RANLIB=:
  1685. +_LT_DECL([], [RANLIB], [1],
  1686. + [Commands used to install an old-style archive])
  1687. +
  1688. +# Determine commands to create old-style static archives.
  1689. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  1690. +old_postinstall_cmds='chmod 644 $oldlib'
  1691. +old_postuninstall_cmds=
  1692. -])# _LT_AC_LOCK
  1693. +if test -n "$RANLIB"; then
  1694. + case $host_os in
  1695. + openbsd*)
  1696. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1697. + ;;
  1698. + *)
  1699. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1700. + ;;
  1701. + esac
  1702. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1703. +fi
  1704. +_LT_DECL([], [old_postinstall_cmds], [2])
  1705. +_LT_DECL([], [old_postuninstall_cmds], [2])
  1706. +_LT_TAGDECL([], [old_archive_cmds], [2],
  1707. + [Commands used to build an old-style archive])
  1708. +])# _LT_CMD_OLD_ARCHIVE
  1709. -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1710. +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1711. # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  1712. # ----------------------------------------------------------------
  1713. # Check whether the given compiler option works
  1714. -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
  1715. -[AC_REQUIRE([LT_AC_PROG_SED])
  1716. +AC_DEFUN([_LT_COMPILER_OPTION],
  1717. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1718. +m4_require([_LT_DECL_SED])dnl
  1719. AC_CACHE_CHECK([$1], [$2],
  1720. [$2=no
  1721. - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  1722. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  1723. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1724. lt_compiler_flag="$3"
  1725. # Insert the option either (1) after the last *FLAGS variable, or
  1726. @@ -735,29 +1439,35 @@
  1727. if (exit $ac_status) && test -s "$ac_outfile"; then
  1728. # The compiler can only warn and ignore the option if not recognized
  1729. # So say no if there are warnings other than the usual output.
  1730. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1731. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1732. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1733. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1734. $2=yes
  1735. fi
  1736. fi
  1737. - $rm conftest*
  1738. + $RM conftest*
  1739. ])
  1740. if test x"[$]$2" = xyes; then
  1741. - ifelse([$5], , :, [$5])
  1742. + m4_if([$5], , :, [$5])
  1743. else
  1744. - ifelse([$6], , :, [$6])
  1745. + m4_if([$6], , :, [$6])
  1746. fi
  1747. -])# AC_LIBTOOL_COMPILER_OPTION
  1748. +])# _LT_COMPILER_OPTION
  1749. -
  1750. -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1751. -# [ACTION-SUCCESS], [ACTION-FAILURE])
  1752. -# ------------------------------------------------------------
  1753. -# Check whether the given compiler option works
  1754. -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
  1755. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  1756. +# Old name:
  1757. +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  1758. +dnl aclocal-1.4 backwards compatibility:
  1759. +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  1760. +
  1761. +
  1762. +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1763. +# [ACTION-SUCCESS], [ACTION-FAILURE])
  1764. +# ----------------------------------------------------
  1765. +# Check whether the given linker option works
  1766. +AC_DEFUN([_LT_LINKER_OPTION],
  1767. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1768. +m4_require([_LT_DECL_SED])dnl
  1769. AC_CACHE_CHECK([$1], [$2],
  1770. [$2=no
  1771. save_LDFLAGS="$LDFLAGS"
  1772. @@ -769,7 +1479,7 @@
  1773. if test -s conftest.err; then
  1774. # Append any errors to the config.log.
  1775. cat conftest.err 1>&AS_MESSAGE_LOG_FD
  1776. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1777. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1778. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1779. if diff conftest.exp conftest.er2 >/dev/null; then
  1780. $2=yes
  1781. @@ -778,22 +1488,28 @@
  1782. $2=yes
  1783. fi
  1784. fi
  1785. - $rm -r conftest*
  1786. + $RM -r conftest*
  1787. LDFLAGS="$save_LDFLAGS"
  1788. ])
  1789. if test x"[$]$2" = xyes; then
  1790. - ifelse([$4], , :, [$4])
  1791. + m4_if([$4], , :, [$4])
  1792. else
  1793. - ifelse([$5], , :, [$5])
  1794. + m4_if([$5], , :, [$5])
  1795. fi
  1796. -])# AC_LIBTOOL_LINKER_OPTION
  1797. +])# _LT_LINKER_OPTION
  1798. +# Old name:
  1799. +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  1800. +dnl aclocal-1.4 backwards compatibility:
  1801. +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  1802. -# AC_LIBTOOL_SYS_MAX_CMD_LEN
  1803. -# --------------------------
  1804. -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
  1805. -[# find the maximum length of command line arguments
  1806. +
  1807. +# LT_CMD_MAX_LEN
  1808. +#---------------
  1809. +AC_DEFUN([LT_CMD_MAX_LEN],
  1810. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  1811. +# find the maximum length of command line arguments
  1812. AC_MSG_CHECKING([the maximum length of command line arguments])
  1813. AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  1814. i=0
  1815. @@ -815,7 +1531,7 @@
  1816. lt_cv_sys_max_cmd_len=-1;
  1817. ;;
  1818. - cygwin* | mingw*)
  1819. + cygwin* | mingw* | cegcc*)
  1820. # On Win9x/ME, this test blows up -- it succeeds, but takes
  1821. # about 5 minutes as the teststring grows exponentially.
  1822. # Worse, since 9x/ME are not pre-emptively multitasking,
  1823. @@ -870,7 +1586,7 @@
  1824. sysv5* | sco5v6* | sysv4.2uw2*)
  1825. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1826. if test -n "$kargmax"; then
  1827. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  1828. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  1829. else
  1830. lt_cv_sys_max_cmd_len=32768
  1831. fi
  1832. @@ -881,20 +1597,28 @@
  1833. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1834. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1835. else
  1836. + # Make teststring a little bigger before we do anything with it.
  1837. + # a 1K string should be a reasonable start.
  1838. + for i in 1 2 3 4 5 6 7 8 ; do
  1839. + teststring=$teststring$teststring
  1840. + done
  1841. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1842. - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
  1843. - = "XX$teststring") >/dev/null 2>&1 &&
  1844. - new_result=`expr "X$teststring" : ".*" 2>&1` &&
  1845. - lt_cv_sys_max_cmd_len=$new_result &&
  1846. + # If test is not a shell built-in, we'll probably end up computing a
  1847. + # maximum length that is only half of the actual maximum length, but
  1848. + # we can't tell.
  1849. + while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  1850. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  1851. test $i != 17 # 1/2 MB should be enough
  1852. do
  1853. i=`expr $i + 1`
  1854. teststring=$teststring$teststring
  1855. done
  1856. + # Only check the string length outside the loop.
  1857. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  1858. teststring=
  1859. - # Add a significant safety factor because C++ compilers can tack on massive
  1860. - # amounts of additional arguments before passing them to the linker.
  1861. - # It appears as though 1/2 is a usable value.
  1862. + # Add a significant safety factor because C++ compilers can tack on
  1863. + # massive amounts of additional arguments before passing them to the
  1864. + # linker. It appears as though 1/2 is a usable value.
  1865. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1866. fi
  1867. ;;
  1868. @@ -905,27 +1629,35 @@
  1869. else
  1870. AC_MSG_RESULT(none)
  1871. fi
  1872. -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
  1873. +max_cmd_len=$lt_cv_sys_max_cmd_len
  1874. +_LT_DECL([], [max_cmd_len], [0],
  1875. + [What is the maximum length of a command?])
  1876. +])# LT_CMD_MAX_LEN
  1877. +# Old name:
  1878. +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  1879. +dnl aclocal-1.4 backwards compatibility:
  1880. +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  1881. -# _LT_AC_CHECK_DLFCN
  1882. -# ------------------
  1883. -AC_DEFUN([_LT_AC_CHECK_DLFCN],
  1884. -[AC_CHECK_HEADERS(dlfcn.h)dnl
  1885. -])# _LT_AC_CHECK_DLFCN
  1886. +
  1887. +# _LT_HEADER_DLFCN
  1888. +# ----------------
  1889. +m4_defun([_LT_HEADER_DLFCN],
  1890. +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  1891. +])# _LT_HEADER_DLFCN
  1892. -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1893. -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1894. -# ---------------------------------------------------------------------
  1895. -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
  1896. -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  1897. +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1898. +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1899. +# ----------------------------------------------------------------
  1900. +m4_defun([_LT_TRY_DLOPEN_SELF],
  1901. +[m4_require([_LT_HEADER_DLFCN])dnl
  1902. if test "$cross_compiling" = yes; then :
  1903. [$4]
  1904. else
  1905. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1906. lt_status=$lt_dlunknown
  1907. - cat > conftest.$ac_ext <<EOF
  1908. + cat > conftest.$ac_ext <<_LT_EOF
  1909. [#line __oline__ "configure"
  1910. #include "confdefs.h"
  1911. @@ -967,10 +1699,6 @@
  1912. # endif
  1913. #endif
  1914. -#ifdef __cplusplus
  1915. -extern "C" void exit (int);
  1916. -#endif
  1917. -
  1918. void fnord() { int i=42;}
  1919. int main ()
  1920. {
  1921. @@ -986,9 +1714,9 @@
  1922. else
  1923. puts (dlerror ());
  1924. - exit (status);
  1925. + return status;
  1926. }]
  1927. -EOF
  1928. +_LT_EOF
  1929. if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  1930. (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  1931. lt_status=$?
  1932. @@ -1003,13 +1731,13 @@
  1933. fi
  1934. fi
  1935. rm -fr conftest*
  1936. -])# _LT_AC_TRY_DLOPEN_SELF
  1937. +])# _LT_TRY_DLOPEN_SELF
  1938. -# AC_LIBTOOL_DLOPEN_SELF
  1939. -# ----------------------
  1940. -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
  1941. -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
  1942. +# LT_SYS_DLOPEN_SELF
  1943. +# ------------------
  1944. +AC_DEFUN([LT_SYS_DLOPEN_SELF],
  1945. +[m4_require([_LT_HEADER_DLFCN])dnl
  1946. if test "x$enable_dlopen" != xyes; then
  1947. enable_dlopen=unknown
  1948. enable_dlopen_self=unknown
  1949. @@ -1025,15 +1753,15 @@
  1950. lt_cv_dlopen_self=yes
  1951. ;;
  1952. - mingw* | pw32*)
  1953. + mingw* | pw32* | cegcc*)
  1954. lt_cv_dlopen="LoadLibrary"
  1955. lt_cv_dlopen_libs=
  1956. - ;;
  1957. + ;;
  1958. cygwin*)
  1959. lt_cv_dlopen="dlopen"
  1960. lt_cv_dlopen_libs=
  1961. - ;;
  1962. + ;;
  1963. darwin*)
  1964. # if libdl is installed we need to link against it
  1965. @@ -1043,7 +1771,7 @@
  1966. lt_cv_dlopen_libs=
  1967. lt_cv_dlopen_self=yes
  1968. ])
  1969. - ;;
  1970. + ;;
  1971. *)
  1972. AC_CHECK_FUNC([shl_load],
  1973. @@ -1085,7 +1813,7 @@
  1974. AC_CACHE_CHECK([whether a program can dlopen itself],
  1975. lt_cv_dlopen_self, [dnl
  1976. - _LT_AC_TRY_DLOPEN_SELF(
  1977. + _LT_TRY_DLOPEN_SELF(
  1978. lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  1979. lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  1980. ])
  1981. @@ -1093,8 +1821,8 @@
  1982. if test "x$lt_cv_dlopen_self" = xyes; then
  1983. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  1984. AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  1985. - lt_cv_dlopen_self_static, [dnl
  1986. - _LT_AC_TRY_DLOPEN_SELF(
  1987. + lt_cv_dlopen_self_static, [dnl
  1988. + _LT_TRY_DLOPEN_SELF(
  1989. lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  1990. lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  1991. ])
  1992. @@ -1116,19 +1844,32 @@
  1993. *) enable_dlopen_self_static=unknown ;;
  1994. esac
  1995. fi
  1996. -])# AC_LIBTOOL_DLOPEN_SELF
  1997. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  1998. + [Whether dlopen is supported])
  1999. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  2000. + [Whether dlopen of programs is supported])
  2001. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  2002. + [Whether dlopen of statically linked programs is supported])
  2003. +])# LT_SYS_DLOPEN_SELF
  2004. +
  2005. +# Old name:
  2006. +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  2007. +dnl aclocal-1.4 backwards compatibility:
  2008. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  2009. -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
  2010. -# ---------------------------------
  2011. -# Check to see if options -c and -o are simultaneously supported by compiler
  2012. -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
  2013. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  2014. -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  2015. +# _LT_COMPILER_C_O([TAGNAME])
  2016. +# ---------------------------
  2017. +# Check to see if options -c and -o are simultaneously supported by compiler.
  2018. +# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  2019. +m4_defun([_LT_COMPILER_C_O],
  2020. +[m4_require([_LT_DECL_SED])dnl
  2021. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2022. +m4_require([_LT_TAG_COMPILER])dnl
  2023. AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  2024. - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  2025. - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  2026. - $rm -r conftest 2>/dev/null
  2027. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  2028. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  2029. + $RM -r conftest 2>/dev/null
  2030. mkdir conftest
  2031. cd conftest
  2032. mkdir out
  2033. @@ -1152,37 +1893,41 @@
  2034. then
  2035. # The compiler can only warn and ignore the option if not recognized
  2036. # So say no if there are warnings
  2037. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  2038. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  2039. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  2040. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  2041. - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  2042. + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  2043. fi
  2044. fi
  2045. chmod u+w . 2>&AS_MESSAGE_LOG_FD
  2046. - $rm conftest*
  2047. + $RM conftest*
  2048. # SGI C++ compiler will create directory out/ii_files/ for
  2049. # template instantiation
  2050. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  2051. - $rm out/* && rmdir out
  2052. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  2053. + $RM out/* && rmdir out
  2054. cd ..
  2055. - rmdir conftest
  2056. - $rm conftest*
  2057. + $RM -r conftest
  2058. + $RM conftest*
  2059. ])
  2060. -])# AC_LIBTOOL_PROG_CC_C_O
  2061. +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  2062. + [Does compiler simultaneously support -c and -o options?])
  2063. +])# _LT_COMPILER_C_O
  2064. -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
  2065. -# -----------------------------------------
  2066. +# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  2067. +# ----------------------------------
  2068. # Check to see if we can do hard links to lock some files if needed
  2069. -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
  2070. -[AC_REQUIRE([_LT_AC_LOCK])dnl
  2071. +m4_defun([_LT_COMPILER_FILE_LOCKS],
  2072. +[m4_require([_LT_ENABLE_LOCK])dnl
  2073. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2074. +_LT_COMPILER_C_O([$1])
  2075. hard_links="nottested"
  2076. -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  2077. +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  2078. # do not overwrite the value of need_locks provided by the user
  2079. AC_MSG_CHECKING([if we can lock with hard links])
  2080. hard_links=yes
  2081. - $rm conftest*
  2082. + $RM conftest*
  2083. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  2084. touch conftest.a
  2085. ln conftest.a conftest.b 2>&5 || hard_links=no
  2086. @@ -1195,12 +1940,13 @@
  2087. else
  2088. need_locks=no
  2089. fi
  2090. -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
  2091. +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  2092. +])# _LT_COMPILER_FILE_LOCKS
  2093. -# AC_LIBTOOL_OBJDIR
  2094. -# -----------------
  2095. -AC_DEFUN([AC_LIBTOOL_OBJDIR],
  2096. +# _LT_CHECK_OBJDIR
  2097. +# ----------------
  2098. +m4_defun([_LT_CHECK_OBJDIR],
  2099. [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  2100. [rm -f .libs 2>/dev/null
  2101. mkdir .libs 2>/dev/null
  2102. @@ -1212,40 +1958,46 @@
  2103. fi
  2104. rmdir .libs 2>/dev/null])
  2105. objdir=$lt_cv_objdir
  2106. -])# AC_LIBTOOL_OBJDIR
  2107. +_LT_DECL([], [objdir], [0],
  2108. + [The name of the directory that contains temporary libtool files])dnl
  2109. +m4_pattern_allow([LT_OBJDIR])dnl
  2110. +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  2111. + [Define to the sub-directory in which libtool stores uninstalled libraries.])
  2112. +])# _LT_CHECK_OBJDIR
  2113. -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
  2114. -# ----------------------------------------------
  2115. +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  2116. +# --------------------------------------
  2117. # Check hardcoding attributes.
  2118. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
  2119. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  2120. [AC_MSG_CHECKING([how to hardcode library paths into programs])
  2121. -_LT_AC_TAGVAR(hardcode_action, $1)=
  2122. -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
  2123. - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
  2124. - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  2125. +_LT_TAGVAR(hardcode_action, $1)=
  2126. +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  2127. + test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  2128. + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  2129. - # We can hardcode non-existant directories.
  2130. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
  2131. + # We can hardcode non-existent directories.
  2132. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  2133. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  2134. # have to relink, otherwise we might link with an installed library
  2135. # when we should be linking with a yet-to-be-installed one
  2136. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  2137. - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
  2138. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  2139. + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  2140. # Linking always hardcodes the temporary library directory.
  2141. - _LT_AC_TAGVAR(hardcode_action, $1)=relink
  2142. + _LT_TAGVAR(hardcode_action, $1)=relink
  2143. else
  2144. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  2145. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate
  2146. + _LT_TAGVAR(hardcode_action, $1)=immediate
  2147. fi
  2148. else
  2149. # We cannot hardcode anything, or else we can only hardcode existing
  2150. # directories.
  2151. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
  2152. + _LT_TAGVAR(hardcode_action, $1)=unsupported
  2153. fi
  2154. -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
  2155. +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  2156. -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
  2157. +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  2158. + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  2159. # Fast installation is not supported
  2160. enable_fast_install=no
  2161. elif test "$shlibpath_overrides_runpath" = yes ||
  2162. @@ -1253,73 +2005,70 @@
  2163. # Fast installation is not necessary
  2164. enable_fast_install=needless
  2165. fi
  2166. -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
  2167. +_LT_TAGDECL([], [hardcode_action], [0],
  2168. + [How to hardcode a shared library path into an executable])
  2169. +])# _LT_LINKER_HARDCODE_LIBPATH
  2170. -# AC_LIBTOOL_SYS_LIB_STRIP
  2171. -# ------------------------
  2172. -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
  2173. -[striplib=
  2174. +# _LT_CMD_STRIPLIB
  2175. +# ----------------
  2176. +m4_defun([_LT_CMD_STRIPLIB],
  2177. +[m4_require([_LT_DECL_EGREP])
  2178. +striplib=
  2179. old_striplib=
  2180. AC_MSG_CHECKING([whether stripping libraries is possible])
  2181. -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  2182. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  2183. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  2184. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  2185. AC_MSG_RESULT([yes])
  2186. else
  2187. # FIXME - insert some real tests, host_os isn't really good enough
  2188. case $host_os in
  2189. - darwin*)
  2190. - if test -n "$STRIP" ; then
  2191. - striplib="$STRIP -x"
  2192. - old_striplib="$STRIP -S"
  2193. - AC_MSG_RESULT([yes])
  2194. - else
  2195. - AC_MSG_RESULT([no])
  2196. -fi
  2197. - ;;
  2198. - *)
  2199. - AC_MSG_RESULT([no])
  2200. + darwin*)
  2201. + if test -n "$STRIP" ; then
  2202. + striplib="$STRIP -x"
  2203. + old_striplib="$STRIP -S"
  2204. + AC_MSG_RESULT([yes])
  2205. + else
  2206. + AC_MSG_RESULT([no])
  2207. + fi
  2208. + ;;
  2209. + *)
  2210. + AC_MSG_RESULT([no])
  2211. ;;
  2212. esac
  2213. fi
  2214. -])# AC_LIBTOOL_SYS_LIB_STRIP
  2215. +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  2216. +_LT_DECL([], [striplib], [1])
  2217. +])# _LT_CMD_STRIPLIB
  2218. -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  2219. +# _LT_SYS_DYNAMIC_LINKER([TAG])
  2220. # -----------------------------
  2221. # PORTME Fill in your ld.so characteristics
  2222. -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
  2223. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  2224. +m4_defun([_LT_SYS_DYNAMIC_LINKER],
  2225. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2226. +m4_require([_LT_DECL_EGREP])dnl
  2227. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2228. +m4_require([_LT_DECL_OBJDUMP])dnl
  2229. +m4_require([_LT_DECL_SED])dnl
  2230. AC_MSG_CHECKING([dynamic linker characteristics])
  2231. -library_names_spec=
  2232. -libname_spec='lib$name'
  2233. -soname_spec=
  2234. -shrext_cmds=".so"
  2235. -postinstall_cmds=
  2236. -postuninstall_cmds=
  2237. -finish_cmds=
  2238. -finish_eval=
  2239. -shlibpath_var=
  2240. -shlibpath_overrides_runpath=unknown
  2241. -version_type=none
  2242. -dynamic_linker="$host_os ld.so"
  2243. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2244. -m4_if($1,[],[
  2245. +m4_if([$1],
  2246. + [], [
  2247. if test "$GCC" = yes; then
  2248. case $host_os in
  2249. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  2250. *) lt_awk_arg="/^libraries:/" ;;
  2251. esac
  2252. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2253. - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
  2254. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  2255. # if the path contains ";" then we assume it to be the separator
  2256. # otherwise default to the standard path separator (i.e. ":") - it is
  2257. # assumed that no part of a normal pathname contains ";" but that should
  2258. # okay in the real world where ";" in dirpaths is itself problematic.
  2259. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2260. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2261. else
  2262. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2263. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2264. fi
  2265. # Ok, now we have the path, separated by spaces, we can step through it
  2266. # and add multilib dir if necessary.
  2267. @@ -1333,7 +2082,7 @@
  2268. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  2269. fi
  2270. done
  2271. - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
  2272. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  2273. BEGIN {RS=" "; FS="/|\n";} {
  2274. lt_foo="";
  2275. lt_count=0;
  2276. @@ -1353,10 +2102,23 @@
  2277. if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  2278. if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  2279. }'`
  2280. - sys_lib_search_path_spec=`echo $lt_search_path_spec`
  2281. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  2282. else
  2283. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  2284. fi])
  2285. +library_names_spec=
  2286. +libname_spec='lib$name'
  2287. +soname_spec=
  2288. +shrext_cmds=".so"
  2289. +postinstall_cmds=
  2290. +postuninstall_cmds=
  2291. +finish_cmds=
  2292. +finish_eval=
  2293. +shlibpath_var=
  2294. +shlibpath_overrides_runpath=unknown
  2295. +version_type=none
  2296. +dynamic_linker="$host_os ld.so"
  2297. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2298. need_lib_prefix=unknown
  2299. hardcode_into_libs=no
  2300. @@ -1393,7 +2155,7 @@
  2301. aix4 | aix4.[[01]] | aix4.[[01]].*)
  2302. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  2303. echo ' yes '
  2304. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  2305. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  2306. :
  2307. else
  2308. can_build_shared=no
  2309. @@ -1419,9 +2181,18 @@
  2310. ;;
  2311. amigaos*)
  2312. - library_names_spec='$libname.ixlibrary $libname.a'
  2313. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2314. - 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'
  2315. + case $host_cpu in
  2316. + powerpc)
  2317. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  2318. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  2319. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2320. + ;;
  2321. + m68k)
  2322. + library_names_spec='$libname.ixlibrary $libname.a'
  2323. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2324. + 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'
  2325. + ;;
  2326. + esac
  2327. ;;
  2328. beos*)
  2329. @@ -1444,25 +2215,28 @@
  2330. # libtool to hard-code these into programs
  2331. ;;
  2332. -cygwin* | mingw* | pw32*)
  2333. +cygwin* | mingw* | pw32* | cegcc*)
  2334. version_type=windows
  2335. shrext_cmds=".dll"
  2336. need_version=no
  2337. need_lib_prefix=no
  2338. case $GCC,$host_os in
  2339. - yes,cygwin* | yes,mingw* | yes,pw32*)
  2340. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  2341. library_names_spec='$libname.dll.a'
  2342. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  2343. postinstall_cmds='base_file=`basename \${file}`~
  2344. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  2345. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  2346. dldir=$destdir/`dirname \$dlpath`~
  2347. test -d \$dldir || mkdir -p \$dldir~
  2348. $install_prog $dir/$dlname \$dldir/$dlname~
  2349. - chmod a+x \$dldir/$dlname'
  2350. + chmod a+x \$dldir/$dlname~
  2351. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  2352. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  2353. + fi'
  2354. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  2355. dlpath=$dir/\$dldll~
  2356. - $rm \$dlpath'
  2357. + $RM \$dlpath'
  2358. shlibpath_overrides_runpath=yes
  2359. case $host_os in
  2360. @@ -1471,20 +2245,20 @@
  2361. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2362. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  2363. ;;
  2364. - mingw*)
  2365. + mingw* | cegcc*)
  2366. # MinGW DLLs use traditional 'lib' prefix
  2367. soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2368. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2369. - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
  2370. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2371. + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  2372. # It is most probably a Windows format PATH printed by
  2373. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  2374. # path with ; separators, and with drive letters. We can handle the
  2375. # drive letters (cygwin fileutils understands them), so leave them,
  2376. # especially as we might pass files found there to a mingw objdump,
  2377. # which wouldn't understand a cygwinified path. Ahh.
  2378. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2379. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2380. else
  2381. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2382. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2383. fi
  2384. ;;
  2385. pw32*)
  2386. @@ -1508,13 +2282,13 @@
  2387. version_type=darwin
  2388. need_lib_prefix=no
  2389. need_version=no
  2390. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2391. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2392. soname_spec='${libname}${release}${major}$shared_ext'
  2393. shlibpath_overrides_runpath=yes
  2394. shlibpath_var=DYLD_LIBRARY_PATH
  2395. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  2396. - m4_if([$1], [],[
  2397. - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2398. +m4_if([$1], [],[
  2399. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2400. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  2401. ;;
  2402. @@ -1607,18 +2381,18 @@
  2403. fi
  2404. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2405. ;;
  2406. - hppa*64*)
  2407. - shrext_cmds='.sl'
  2408. - hardcode_into_libs=yes
  2409. - dynamic_linker="$host_os dld.sl"
  2410. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2411. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2412. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2413. - soname_spec='${libname}${release}${shared_ext}$major'
  2414. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2415. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2416. - ;;
  2417. - *)
  2418. + hppa*64*)
  2419. + shrext_cmds='.sl'
  2420. + hardcode_into_libs=yes
  2421. + dynamic_linker="$host_os dld.sl"
  2422. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2423. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2424. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2425. + soname_spec='${libname}${release}${shared_ext}$major'
  2426. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2427. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2428. + ;;
  2429. + *)
  2430. shrext_cmds='.sl'
  2431. dynamic_linker="$host_os dld.sl"
  2432. shlibpath_var=SHLIB_PATH
  2433. @@ -1686,7 +2460,7 @@
  2434. ;;
  2435. # This must be Linux ELF.
  2436. -linux* | k*bsd*-gnu)
  2437. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  2438. version_type=linux
  2439. need_lib_prefix=no
  2440. need_version=no
  2441. @@ -1695,6 +2469,17 @@
  2442. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  2443. shlibpath_var=LD_LIBRARY_PATH
  2444. shlibpath_overrides_runpath=no
  2445. + # Some binutils ld are patched to set DT_RUNPATH
  2446. + save_LDFLAGS=$LDFLAGS
  2447. + save_libdir=$libdir
  2448. + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  2449. + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  2450. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  2451. + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  2452. + [shlibpath_overrides_runpath=yes])])
  2453. + LDFLAGS=$save_LDFLAGS
  2454. + libdir=$save_libdir
  2455. +
  2456. # This implies no fast_install, which is unacceptable.
  2457. # Some rework will be needed to allow for fast_install
  2458. # before this can be enabled.
  2459. @@ -1702,7 +2487,7 @@
  2460. # Append ld.so.conf contents to the search path
  2461. if test -f /etc/ld.so.conf; then
  2462. - 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' ' '`
  2463. + 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' ' '`
  2464. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  2465. fi
  2466. @@ -1731,7 +2516,7 @@
  2467. version_type=sunos
  2468. need_lib_prefix=no
  2469. need_version=no
  2470. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  2471. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2472. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2473. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2474. dynamic_linker='NetBSD (a.out) ld.so'
  2475. @@ -1752,14 +2537,16 @@
  2476. shlibpath_overrides_runpath=yes
  2477. ;;
  2478. -nto-qnx*)
  2479. - version_type=linux
  2480. +*nto* | *qnx*)
  2481. + version_type=qnx
  2482. need_lib_prefix=no
  2483. need_version=no
  2484. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2485. soname_spec='${libname}${release}${shared_ext}$major'
  2486. shlibpath_var=LD_LIBRARY_PATH
  2487. - shlibpath_overrides_runpath=yes
  2488. + shlibpath_overrides_runpath=no
  2489. + hardcode_into_libs=yes
  2490. + dynamic_linker='ldqnx.so'
  2491. ;;
  2492. openbsd*)
  2493. @@ -1768,13 +2555,13 @@
  2494. need_lib_prefix=no
  2495. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  2496. case $host_os in
  2497. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2498. - *) need_version=no ;;
  2499. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2500. + *) need_version=no ;;
  2501. esac
  2502. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2503. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2504. shlibpath_var=LD_LIBRARY_PATH
  2505. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2506. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2507. case $host_os in
  2508. openbsd2.[[89]] | openbsd2.[[89]].*)
  2509. shlibpath_overrides_runpath=no
  2510. @@ -1846,7 +2633,6 @@
  2511. sni)
  2512. shlibpath_overrides_runpath=no
  2513. need_lib_prefix=no
  2514. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  2515. runpath_var=LD_RUN_PATH
  2516. ;;
  2517. siemens)
  2518. @@ -1877,13 +2663,12 @@
  2519. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2520. soname_spec='${libname}${release}${shared_ext}$major'
  2521. shlibpath_var=LD_LIBRARY_PATH
  2522. + shlibpath_overrides_runpath=yes
  2523. hardcode_into_libs=yes
  2524. if test "$with_gnu_ld" = yes; then
  2525. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  2526. - shlibpath_overrides_runpath=no
  2527. else
  2528. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  2529. - shlibpath_overrides_runpath=yes
  2530. case $host_os in
  2531. sco3.2v5*)
  2532. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  2533. @@ -1893,6 +2678,17 @@
  2534. sys_lib_dlsearch_path_spec='/usr/lib'
  2535. ;;
  2536. +tpf*)
  2537. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  2538. + version_type=linux
  2539. + need_lib_prefix=no
  2540. + need_version=no
  2541. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2542. + shlibpath_var=LD_LIBRARY_PATH
  2543. + shlibpath_overrides_runpath=no
  2544. + hardcode_into_libs=yes
  2545. + ;;
  2546. +
  2547. uts4*)
  2548. version_type=linux
  2549. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2550. @@ -1907,288 +2703,58 @@
  2551. AC_MSG_RESULT([$dynamic_linker])
  2552. test "$dynamic_linker" = no && can_build_shared=no
  2553. -AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
  2554. -[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
  2555. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2556. -AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
  2557. -[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
  2558. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2559. -
  2560. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  2561. if test "$GCC" = yes; then
  2562. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  2563. fi
  2564. -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
  2565. -
  2566. -# _LT_AC_TAGCONFIG
  2567. -# ----------------
  2568. -AC_DEFUN([_LT_AC_TAGCONFIG],
  2569. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  2570. -AC_ARG_WITH([tags],
  2571. - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
  2572. - [include additional configurations @<:@automatic@:>@])],
  2573. - [tagnames="$withval"])
  2574. -
  2575. -if test -f "$ltmain" && test -n "$tagnames"; then
  2576. - if test ! -f "${ofile}"; then
  2577. - AC_MSG_WARN([output file `$ofile' does not exist])
  2578. - fi
  2579. -
  2580. - if test -z "$LTCC"; then
  2581. - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  2582. - if test -z "$LTCC"; then
  2583. - AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
  2584. - else
  2585. - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
  2586. - fi
  2587. - fi
  2588. - if test -z "$LTCFLAGS"; then
  2589. - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
  2590. - fi
  2591. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  2592. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2593. +fi
  2594. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  2595. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2596. +fi
  2597. - # Extract list of available tagged configurations in $ofile.
  2598. - # Note that this assumes the entire list is on one line.
  2599. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  2600. +_LT_DECL([], [variables_saved_for_relink], [1],
  2601. + [Variables whose values should be saved in libtool wrapper scripts and
  2602. + restored at link time])
  2603. +_LT_DECL([], [need_lib_prefix], [0],
  2604. + [Do we need the "lib" prefix for modules?])
  2605. +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  2606. +_LT_DECL([], [version_type], [0], [Library versioning type])
  2607. +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
  2608. +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  2609. +_LT_DECL([], [shlibpath_overrides_runpath], [0],
  2610. + [Is shlibpath searched before the hard-coded library search path?])
  2611. +_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  2612. +_LT_DECL([], [library_names_spec], [1],
  2613. + [[List of archive names. First name is the real one, the rest are links.
  2614. + The last name is the one that the linker finds with -lNAME]])
  2615. +_LT_DECL([], [soname_spec], [1],
  2616. + [[The coded name of the library, if different from the real name]])
  2617. +_LT_DECL([], [postinstall_cmds], [2],
  2618. + [Command to use after installation of a shared archive])
  2619. +_LT_DECL([], [postuninstall_cmds], [2],
  2620. + [Command to use after uninstallation of a shared archive])
  2621. +_LT_DECL([], [finish_cmds], [2],
  2622. + [Commands used to finish a libtool library installation in a directory])
  2623. +_LT_DECL([], [finish_eval], [1],
  2624. + [[As "finish_cmds", except a single script fragment to be evaled but
  2625. + not shown]])
  2626. +_LT_DECL([], [hardcode_into_libs], [0],
  2627. + [Whether we should hardcode library paths into libraries])
  2628. +_LT_DECL([], [sys_lib_search_path_spec], [2],
  2629. + [Compile-time system search path for libraries])
  2630. +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  2631. + [Run-time system search path for libraries])
  2632. +])# _LT_SYS_DYNAMIC_LINKER
  2633. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2634. - for tagname in $tagnames; do
  2635. - IFS="$lt_save_ifs"
  2636. - # Check whether tagname contains only valid characters
  2637. - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
  2638. - "") ;;
  2639. - *) AC_MSG_ERROR([invalid tag name: $tagname])
  2640. - ;;
  2641. - esac
  2642. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  2643. - then
  2644. - AC_MSG_ERROR([tag name \"$tagname\" already exists])
  2645. - fi
  2646. -
  2647. - # Update the list of available tags.
  2648. - if test -n "$tagname"; then
  2649. - echo appending configuration tag \"$tagname\" to $ofile
  2650. -
  2651. - case $tagname in
  2652. - CXX)
  2653. - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  2654. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  2655. - (test "X$CXX" != "Xg++"))) ; then
  2656. - AC_LIBTOOL_LANG_CXX_CONFIG
  2657. - else
  2658. - tagname=""
  2659. - fi
  2660. - ;;
  2661. -
  2662. - F77)
  2663. - if test -n "$F77" && test "X$F77" != "Xno"; then
  2664. - AC_LIBTOOL_LANG_F77_CONFIG
  2665. - else
  2666. - tagname=""
  2667. - fi
  2668. - ;;
  2669. -
  2670. - GCJ)
  2671. - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  2672. - AC_LIBTOOL_LANG_GCJ_CONFIG
  2673. - else
  2674. - tagname=""
  2675. - fi
  2676. - ;;
  2677. -
  2678. - RC)
  2679. - AC_LIBTOOL_LANG_RC_CONFIG
  2680. - ;;
  2681. -
  2682. - *)
  2683. - AC_MSG_ERROR([Unsupported tag name: $tagname])
  2684. - ;;
  2685. - esac
  2686. -
  2687. - # Append the new tag name to the list of available tags.
  2688. - if test -n "$tagname" ; then
  2689. - available_tags="$available_tags $tagname"
  2690. - fi
  2691. - fi
  2692. - done
  2693. - IFS="$lt_save_ifs"
  2694. -
  2695. - # Now substitute the updated list of available tags.
  2696. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  2697. - mv "${ofile}T" "$ofile"
  2698. - chmod +x "$ofile"
  2699. - else
  2700. - rm -f "${ofile}T"
  2701. - AC_MSG_ERROR([unable to update list of available tagged configurations.])
  2702. - fi
  2703. -fi
  2704. -])# _LT_AC_TAGCONFIG
  2705. -
  2706. -
  2707. -# AC_LIBTOOL_DLOPEN
  2708. -# -----------------
  2709. -# enable checks for dlopen support
  2710. -AC_DEFUN([AC_LIBTOOL_DLOPEN],
  2711. - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
  2712. -])# AC_LIBTOOL_DLOPEN
  2713. -
  2714. -
  2715. -# AC_LIBTOOL_WIN32_DLL
  2716. -# --------------------
  2717. -# declare package support for building win32 DLLs
  2718. -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
  2719. -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
  2720. -])# AC_LIBTOOL_WIN32_DLL
  2721. -
  2722. -
  2723. -# AC_ENABLE_SHARED([DEFAULT])
  2724. -# ---------------------------
  2725. -# implement the --enable-shared flag
  2726. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  2727. -AC_DEFUN([AC_ENABLE_SHARED],
  2728. -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
  2729. -AC_ARG_ENABLE([shared],
  2730. - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  2731. - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
  2732. - [p=${PACKAGE-default}
  2733. - case $enableval in
  2734. - yes) enable_shared=yes ;;
  2735. - no) enable_shared=no ;;
  2736. - *)
  2737. - enable_shared=no
  2738. - # Look at the argument we got. We use all the common list separators.
  2739. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2740. - for pkg in $enableval; do
  2741. - IFS="$lt_save_ifs"
  2742. - if test "X$pkg" = "X$p"; then
  2743. - enable_shared=yes
  2744. - fi
  2745. - done
  2746. - IFS="$lt_save_ifs"
  2747. - ;;
  2748. - esac],
  2749. - [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
  2750. -])# AC_ENABLE_SHARED
  2751. -
  2752. -
  2753. -# AC_DISABLE_SHARED
  2754. -# -----------------
  2755. -# set the default shared flag to --disable-shared
  2756. -AC_DEFUN([AC_DISABLE_SHARED],
  2757. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2758. -AC_ENABLE_SHARED(no)
  2759. -])# AC_DISABLE_SHARED
  2760. -
  2761. -
  2762. -# AC_ENABLE_STATIC([DEFAULT])
  2763. -# ---------------------------
  2764. -# implement the --enable-static flag
  2765. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  2766. -AC_DEFUN([AC_ENABLE_STATIC],
  2767. -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
  2768. -AC_ARG_ENABLE([static],
  2769. - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  2770. - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
  2771. - [p=${PACKAGE-default}
  2772. - case $enableval in
  2773. - yes) enable_static=yes ;;
  2774. - no) enable_static=no ;;
  2775. - *)
  2776. - enable_static=no
  2777. - # Look at the argument we got. We use all the common list separators.
  2778. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2779. - for pkg in $enableval; do
  2780. - IFS="$lt_save_ifs"
  2781. - if test "X$pkg" = "X$p"; then
  2782. - enable_static=yes
  2783. - fi
  2784. - done
  2785. - IFS="$lt_save_ifs"
  2786. - ;;
  2787. - esac],
  2788. - [enable_static=]AC_ENABLE_STATIC_DEFAULT)
  2789. -])# AC_ENABLE_STATIC
  2790. -
  2791. -
  2792. -# AC_DISABLE_STATIC
  2793. -# -----------------
  2794. -# set the default static flag to --disable-static
  2795. -AC_DEFUN([AC_DISABLE_STATIC],
  2796. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2797. -AC_ENABLE_STATIC(no)
  2798. -])# AC_DISABLE_STATIC
  2799. -
  2800. -
  2801. -# AC_ENABLE_FAST_INSTALL([DEFAULT])
  2802. -# ---------------------------------
  2803. -# implement the --enable-fast-install flag
  2804. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  2805. -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
  2806. -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
  2807. -AC_ARG_ENABLE([fast-install],
  2808. - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  2809. - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  2810. - [p=${PACKAGE-default}
  2811. - case $enableval in
  2812. - yes) enable_fast_install=yes ;;
  2813. - no) enable_fast_install=no ;;
  2814. - *)
  2815. - enable_fast_install=no
  2816. - # Look at the argument we got. We use all the common list separators.
  2817. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  2818. - for pkg in $enableval; do
  2819. - IFS="$lt_save_ifs"
  2820. - if test "X$pkg" = "X$p"; then
  2821. - enable_fast_install=yes
  2822. - fi
  2823. - done
  2824. - IFS="$lt_save_ifs"
  2825. - ;;
  2826. - esac],
  2827. - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
  2828. -])# AC_ENABLE_FAST_INSTALL
  2829. -
  2830. -
  2831. -# AC_DISABLE_FAST_INSTALL
  2832. -# -----------------------
  2833. -# set the default to --disable-fast-install
  2834. -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
  2835. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2836. -AC_ENABLE_FAST_INSTALL(no)
  2837. -])# AC_DISABLE_FAST_INSTALL
  2838. -
  2839. -
  2840. -# AC_LIBTOOL_PICMODE([MODE])
  2841. +# _LT_PATH_TOOL_PREFIX(TOOL)
  2842. # --------------------------
  2843. -# implement the --with-pic flag
  2844. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  2845. -AC_DEFUN([AC_LIBTOOL_PICMODE],
  2846. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  2847. -pic_mode=ifelse($#,1,$1,default)
  2848. -])# AC_LIBTOOL_PICMODE
  2849. -
  2850. -
  2851. -# AC_PROG_EGREP
  2852. -# -------------
  2853. -# This is predefined starting with Autoconf 2.54, so this conditional
  2854. -# definition can be removed once we require Autoconf 2.54 or later.
  2855. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
  2856. -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
  2857. - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  2858. - then ac_cv_prog_egrep='grep -E'
  2859. - else ac_cv_prog_egrep='egrep'
  2860. - fi])
  2861. - EGREP=$ac_cv_prog_egrep
  2862. - AC_SUBST([EGREP])
  2863. -])])
  2864. -
  2865. -
  2866. -# AC_PATH_TOOL_PREFIX
  2867. -# -------------------
  2868. # find a file program which can recognize shared library
  2869. -AC_DEFUN([AC_PATH_TOOL_PREFIX],
  2870. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2871. +AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  2872. +[m4_require([_LT_DECL_EGREP])dnl
  2873. AC_MSG_CHECKING([for $1])
  2874. AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  2875. [case $MAGIC_CMD in
  2876. @@ -2201,7 +2767,7 @@
  2877. dnl $ac_dummy forces splitting on constant user-supplied paths.
  2878. dnl POSIX.2 word splitting is done only on the output of word expansions,
  2879. dnl not every word. This closes a longstanding sh security hole.
  2880. - ac_dummy="ifelse([$2], , $PATH, [$2])"
  2881. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  2882. for ac_dir in $ac_dummy; do
  2883. IFS="$lt_save_ifs"
  2884. test -z "$ac_dir" && ac_dir=.
  2885. @@ -2216,7 +2782,7 @@
  2886. $EGREP "$file_magic_regex" > /dev/null; then
  2887. :
  2888. else
  2889. - cat <<EOF 1>&2
  2890. + cat <<_LT_EOF 1>&2
  2891. *** Warning: the command libtool uses to detect shared libraries,
  2892. *** $file_magic_cmd, produces output that libtool cannot recognize.
  2893. @@ -2227,7 +2793,7 @@
  2894. *** may want to report the problem to your system manager and/or to
  2895. *** bug-libtool@gnu.org
  2896. -EOF
  2897. +_LT_EOF
  2898. fi ;;
  2899. esac
  2900. fi
  2901. @@ -2244,37 +2810,47 @@
  2902. else
  2903. AC_MSG_RESULT(no)
  2904. fi
  2905. -])# AC_PATH_TOOL_PREFIX
  2906. +_LT_DECL([], [MAGIC_CMD], [0],
  2907. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  2908. +])# _LT_PATH_TOOL_PREFIX
  2909. +# Old name:
  2910. +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  2911. +dnl aclocal-1.4 backwards compatibility:
  2912. +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  2913. -# AC_PATH_MAGIC
  2914. -# -------------
  2915. +
  2916. +# _LT_PATH_MAGIC
  2917. +# --------------
  2918. # find a file program which can recognize a shared library
  2919. -AC_DEFUN([AC_PATH_MAGIC],
  2920. -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2921. +m4_defun([_LT_PATH_MAGIC],
  2922. +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2923. if test -z "$lt_cv_path_MAGIC_CMD"; then
  2924. if test -n "$ac_tool_prefix"; then
  2925. - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2926. + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2927. else
  2928. MAGIC_CMD=:
  2929. fi
  2930. fi
  2931. -])# AC_PATH_MAGIC
  2932. +])# _LT_PATH_MAGIC
  2933. -# AC_PROG_LD
  2934. +# LT_PATH_LD
  2935. # ----------
  2936. # find the pathname to the GNU or non-GNU linker
  2937. -AC_DEFUN([AC_PROG_LD],
  2938. -[AC_ARG_WITH([gnu-ld],
  2939. - [AC_HELP_STRING([--with-gnu-ld],
  2940. - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2941. - [test "$withval" = no || with_gnu_ld=yes],
  2942. - [with_gnu_ld=no])
  2943. -AC_REQUIRE([LT_AC_PROG_SED])dnl
  2944. -AC_REQUIRE([AC_PROG_CC])dnl
  2945. +AC_DEFUN([LT_PATH_LD],
  2946. +[AC_REQUIRE([AC_PROG_CC])dnl
  2947. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2948. AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2949. +m4_require([_LT_DECL_SED])dnl
  2950. +m4_require([_LT_DECL_EGREP])dnl
  2951. +
  2952. +AC_ARG_WITH([gnu-ld],
  2953. + [AS_HELP_STRING([--with-gnu-ld],
  2954. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2955. + [test "$withval" = no || with_gnu_ld=yes],
  2956. + [with_gnu_ld=no])dnl
  2957. +
  2958. ac_prog=ld
  2959. if test "$GCC" = yes; then
  2960. # Check if gcc -print-prog-name=ld gives a path.
  2961. @@ -2291,9 +2867,9 @@
  2962. [[\\/]]* | ?:[[\\/]]*)
  2963. re_direlt='/[[^/]][[^/]]*/\.\./'
  2964. # Canonicalize the pathname of ld
  2965. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  2966. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  2967. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  2968. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  2969. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  2970. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  2971. done
  2972. test -z "$LD" && LD="$ac_prog"
  2973. ;;
  2974. @@ -2343,15 +2919,24 @@
  2975. AC_MSG_RESULT(no)
  2976. fi
  2977. test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2978. -AC_PROG_LD_GNU
  2979. -])# AC_PROG_LD
  2980. +_LT_PATH_LD_GNU
  2981. +AC_SUBST([LD])
  2982. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  2983. +])# LT_PATH_LD
  2984. -# AC_PROG_LD_GNU
  2985. -# --------------
  2986. -AC_DEFUN([AC_PROG_LD_GNU],
  2987. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  2988. -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2989. +# Old names:
  2990. +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  2991. +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  2992. +dnl aclocal-1.4 backwards compatibility:
  2993. +dnl AC_DEFUN([AM_PROG_LD], [])
  2994. +dnl AC_DEFUN([AC_PROG_LD], [])
  2995. +
  2996. +
  2997. +# _LT_PATH_LD_GNU
  2998. +#- --------------
  2999. +m4_defun([_LT_PATH_LD_GNU],
  3000. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  3001. [# I'd rather use --version here, but apparently some GNU lds only accept -v.
  3002. case `$LD -v 2>&1 </dev/null` in
  3003. *GNU* | *'with BFD'*)
  3004. @@ -2362,14 +2947,14 @@
  3005. ;;
  3006. esac])
  3007. with_gnu_ld=$lt_cv_prog_gnu_ld
  3008. -])# AC_PROG_LD_GNU
  3009. +])# _LT_PATH_LD_GNU
  3010. -# AC_PROG_LD_RELOAD_FLAG
  3011. -# ----------------------
  3012. +# _LT_CMD_RELOAD
  3013. +# --------------
  3014. # find reload flag for linker
  3015. # -- PORTME Some linkers may need a different reload flag.
  3016. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
  3017. +m4_defun([_LT_CMD_RELOAD],
  3018. [AC_CACHE_CHECK([for $LD option to reload object files],
  3019. lt_cv_ld_reload_flag,
  3020. [lt_cv_ld_reload_flag='-r'])
  3021. @@ -2388,15 +2973,19 @@
  3022. fi
  3023. ;;
  3024. esac
  3025. -])# AC_PROG_LD_RELOAD_FLAG
  3026. +_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  3027. +_LT_DECL([], [reload_cmds], [2])dnl
  3028. +])# _LT_CMD_RELOAD
  3029. -# AC_DEPLIBS_CHECK_METHOD
  3030. -# -----------------------
  3031. +# _LT_CHECK_MAGIC_METHOD
  3032. +# ----------------------
  3033. # how to check for library dependencies
  3034. # -- PORTME fill in with the dynamic library characteristics
  3035. -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
  3036. -[AC_CACHE_CHECK([how to recognize dependent libraries],
  3037. +m4_defun([_LT_CHECK_MAGIC_METHOD],
  3038. +[m4_require([_LT_DECL_EGREP])
  3039. +m4_require([_LT_DECL_OBJDUMP])
  3040. +AC_CACHE_CHECK([how to recognize dependent libraries],
  3041. lt_cv_deplibs_check_method,
  3042. [lt_cv_file_magic_cmd='$MAGIC_CMD'
  3043. lt_cv_file_magic_test_file=
  3044. @@ -2446,12 +3035,18 @@
  3045. fi
  3046. ;;
  3047. +cegcc)
  3048. + # use the weaker test based on 'objdump'. See mingw*.
  3049. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  3050. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  3051. + ;;
  3052. +
  3053. darwin* | rhapsody*)
  3054. lt_cv_deplibs_check_method=pass_all
  3055. ;;
  3056. freebsd* | dragonfly*)
  3057. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3058. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3059. case $host_cpu in
  3060. i*86 )
  3061. # Not sure whether the presence of OpenBSD here was a mistake.
  3062. @@ -2504,12 +3099,12 @@
  3063. ;;
  3064. # This must be Linux ELF.
  3065. -linux* | k*bsd*-gnu)
  3066. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3067. lt_cv_deplibs_check_method=pass_all
  3068. ;;
  3069. netbsd* | netbsdelf*-gnu)
  3070. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  3071. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3072. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3073. else
  3074. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  3075. @@ -2522,12 +3117,12 @@
  3076. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3077. ;;
  3078. -nto-qnx*)
  3079. - lt_cv_deplibs_check_method=unknown
  3080. +*nto* | *qnx*)
  3081. + lt_cv_deplibs_check_method=pass_all
  3082. ;;
  3083. openbsd*)
  3084. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3085. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3086. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  3087. else
  3088. lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3089. @@ -2546,6 +3141,10 @@
  3090. lt_cv_deplibs_check_method=pass_all
  3091. ;;
  3092. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3093. + lt_cv_deplibs_check_method=pass_all
  3094. + ;;
  3095. +
  3096. sysv4 | sysv4.3*)
  3097. case $host_vendor in
  3098. motorola)
  3099. @@ -2573,7 +3172,7 @@
  3100. esac
  3101. ;;
  3102. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3103. +tpf*)
  3104. lt_cv_deplibs_check_method=pass_all
  3105. ;;
  3106. esac
  3107. @@ -2581,14 +3180,20 @@
  3108. file_magic_cmd=$lt_cv_file_magic_cmd
  3109. deplibs_check_method=$lt_cv_deplibs_check_method
  3110. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3111. -])# AC_DEPLIBS_CHECK_METHOD
  3112. +
  3113. +_LT_DECL([], [deplibs_check_method], [1],
  3114. + [Method to check whether dependent libraries are shared objects])
  3115. +_LT_DECL([], [file_magic_cmd], [1],
  3116. + [Command to use when deplibs_check_method == "file_magic"])
  3117. +])# _LT_CHECK_MAGIC_METHOD
  3118. -# AC_PROG_NM
  3119. +# LT_PATH_NM
  3120. # ----------
  3121. -# find the pathname to a BSD-compatible name lister
  3122. -AC_DEFUN([AC_PROG_NM],
  3123. -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
  3124. +# find the pathname to a BSD- or MS-compatible name lister
  3125. +AC_DEFUN([LT_PATH_NM],
  3126. +[AC_REQUIRE([AC_PROG_CC])dnl
  3127. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  3128. [if test -n "$NM"; then
  3129. # Let the user override the test.
  3130. lt_cv_path_NM="$NM"
  3131. @@ -2630,16 +3235,51 @@
  3132. done
  3133. IFS="$lt_save_ifs"
  3134. done
  3135. - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  3136. + : ${lt_cv_path_NM=no}
  3137. fi])
  3138. -NM="$lt_cv_path_NM"
  3139. -])# AC_PROG_NM
  3140. +if test "$lt_cv_path_NM" != "no"; then
  3141. + NM="$lt_cv_path_NM"
  3142. +else
  3143. + # Didn't find any BSD compatible name lister, look for dumpbin.
  3144. + AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  3145. + AC_SUBST([DUMPBIN])
  3146. + if test "$DUMPBIN" != ":"; then
  3147. + NM="$DUMPBIN"
  3148. + fi
  3149. +fi
  3150. +test -z "$NM" && NM=nm
  3151. +AC_SUBST([NM])
  3152. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  3153. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  3154. + [lt_cv_nm_interface="BSD nm"
  3155. + echo "int some_variable = 0;" > conftest.$ac_ext
  3156. + (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  3157. + (eval "$ac_compile" 2>conftest.err)
  3158. + cat conftest.err >&AS_MESSAGE_LOG_FD
  3159. + (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  3160. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3161. + cat conftest.err >&AS_MESSAGE_LOG_FD
  3162. + (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  3163. + cat conftest.out >&AS_MESSAGE_LOG_FD
  3164. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3165. + lt_cv_nm_interface="MS dumpbin"
  3166. + fi
  3167. + rm -f conftest*])
  3168. +])# LT_PATH_NM
  3169. +
  3170. +# Old names:
  3171. +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  3172. +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  3173. +dnl aclocal-1.4 backwards compatibility:
  3174. +dnl AC_DEFUN([AM_PROG_NM], [])
  3175. +dnl AC_DEFUN([AC_PROG_NM], [])
  3176. -# AC_CHECK_LIBM
  3177. -# -------------
  3178. +
  3179. +# LT_LIB_M
  3180. +# --------
  3181. # check for math library
  3182. -AC_DEFUN([AC_CHECK_LIBM],
  3183. +AC_DEFUN([LT_LIB_M],
  3184. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3185. LIBM=
  3186. case $host in
  3187. @@ -2654,4015 +3294,4697 @@
  3188. AC_CHECK_LIB(m, cos, LIBM="-lm")
  3189. ;;
  3190. esac
  3191. -])# AC_CHECK_LIBM
  3192. +AC_SUBST([LIBM])
  3193. +])# LT_LIB_M
  3194. +# Old name:
  3195. +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  3196. +dnl aclocal-1.4 backwards compatibility:
  3197. +dnl AC_DEFUN([AC_CHECK_LIBM], [])
  3198. -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
  3199. -# -----------------------------------
  3200. -# sets LIBLTDL to the link flags for the libltdl convenience library and
  3201. -# LTDLINCL to the include flags for the libltdl header and adds
  3202. -# --enable-ltdl-convenience to the configure arguments. Note that
  3203. -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
  3204. -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
  3205. -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
  3206. -# (note the single quotes!). If your package is not flat and you're not
  3207. -# using automake, define top_builddir and top_srcdir appropriately in
  3208. -# the Makefiles.
  3209. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
  3210. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3211. - case $enable_ltdl_convenience in
  3212. - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
  3213. - "") enable_ltdl_convenience=yes
  3214. - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
  3215. - esac
  3216. - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
  3217. - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  3218. - # For backwards non-gettext consistent compatibility...
  3219. - INCLTDL="$LTDLINCL"
  3220. -])# AC_LIBLTDL_CONVENIENCE
  3221. +# _LT_COMPILER_NO_RTTI([TAGNAME])
  3222. +# -------------------------------
  3223. +m4_defun([_LT_COMPILER_NO_RTTI],
  3224. +[m4_require([_LT_TAG_COMPILER])dnl
  3225. -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
  3226. -# -----------------------------------
  3227. -# sets LIBLTDL to the link flags for the libltdl installable library and
  3228. -# LTDLINCL to the include flags for the libltdl header and adds
  3229. -# --enable-ltdl-install to the configure arguments. Note that
  3230. -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
  3231. -# and an installed libltdl is not found, it is assumed to be `libltdl'.
  3232. -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
  3233. -# '${top_srcdir}/' (note the single quotes!). If your package is not
  3234. -# flat and you're not using automake, define top_builddir and top_srcdir
  3235. -# appropriately in the Makefiles.
  3236. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
  3237. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
  3238. -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
  3239. - AC_CHECK_LIB(ltdl, lt_dlinit,
  3240. - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
  3241. - [if test x"$enable_ltdl_install" = xno; then
  3242. - AC_MSG_WARN([libltdl not installed, but installation disabled])
  3243. - else
  3244. - enable_ltdl_install=yes
  3245. - fi
  3246. - ])
  3247. - if test x"$enable_ltdl_install" = x"yes"; then
  3248. - ac_configure_args="$ac_configure_args --enable-ltdl-install"
  3249. - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
  3250. - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
  3251. - else
  3252. - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
  3253. - LIBLTDL="-lltdl"
  3254. - LTDLINCL=
  3255. - fi
  3256. - # For backwards non-gettext consistent compatibility...
  3257. - INCLTDL="$LTDLINCL"
  3258. -])# AC_LIBLTDL_INSTALLABLE
  3259. +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3260. +if test "$GCC" = yes; then
  3261. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3262. -# AC_LIBTOOL_CXX
  3263. -# --------------
  3264. -# enable support for C++ libraries
  3265. -AC_DEFUN([AC_LIBTOOL_CXX],
  3266. -[AC_REQUIRE([_LT_AC_LANG_CXX])
  3267. -])# AC_LIBTOOL_CXX
  3268. + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  3269. + lt_cv_prog_compiler_rtti_exceptions,
  3270. + [-fno-rtti -fno-exceptions], [],
  3271. + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  3272. +fi
  3273. +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  3274. + [Compiler flag to turn off builtin functions])
  3275. +])# _LT_COMPILER_NO_RTTI
  3276. -# _LT_AC_LANG_CXX
  3277. -# ---------------
  3278. -AC_DEFUN([_LT_AC_LANG_CXX],
  3279. -[AC_REQUIRE([AC_PROG_CXX])
  3280. -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  3281. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
  3282. -])# _LT_AC_LANG_CXX
  3283. +# _LT_CMD_GLOBAL_SYMBOLS
  3284. +# ----------------------
  3285. +m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  3286. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3287. +AC_REQUIRE([AC_PROG_CC])dnl
  3288. +AC_REQUIRE([LT_PATH_NM])dnl
  3289. +AC_REQUIRE([LT_PATH_LD])dnl
  3290. +m4_require([_LT_DECL_SED])dnl
  3291. +m4_require([_LT_DECL_EGREP])dnl
  3292. +m4_require([_LT_TAG_COMPILER])dnl
  3293. -# _LT_AC_PROG_CXXCPP
  3294. -# ------------------
  3295. -AC_DEFUN([_LT_AC_PROG_CXXCPP],
  3296. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  3297. +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  3298. +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  3299. [
  3300. -AC_REQUIRE([AC_PROG_CXX])
  3301. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  3302. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  3303. - (test "X$CXX" != "Xg++"))) ; then
  3304. - AC_PROG_CXXCPP
  3305. -fi
  3306. -])# _LT_AC_PROG_CXXCPP
  3307. -
  3308. -# AC_LIBTOOL_F77
  3309. -# --------------
  3310. -# enable support for Fortran 77 libraries
  3311. -AC_DEFUN([AC_LIBTOOL_F77],
  3312. -[AC_REQUIRE([_LT_AC_LANG_F77])
  3313. -])# AC_LIBTOOL_F77
  3314. -
  3315. +# These are sane defaults that work on at least a few old systems.
  3316. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  3317. -# _LT_AC_LANG_F77
  3318. -# ---------------
  3319. -AC_DEFUN([_LT_AC_LANG_F77],
  3320. -[AC_REQUIRE([AC_PROG_F77])
  3321. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
  3322. -])# _LT_AC_LANG_F77
  3323. +# Character class describing NM global symbol codes.
  3324. +symcode='[[BCDEGRST]]'
  3325. +# Regexp to match symbols that can be accessed directly from C.
  3326. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  3327. -# AC_LIBTOOL_GCJ
  3328. -# --------------
  3329. -# enable support for GCJ libraries
  3330. -AC_DEFUN([AC_LIBTOOL_GCJ],
  3331. -[AC_REQUIRE([_LT_AC_LANG_GCJ])
  3332. -])# AC_LIBTOOL_GCJ
  3333. +# Define system-specific variables.
  3334. +case $host_os in
  3335. +aix*)
  3336. + symcode='[[BCDT]]'
  3337. + ;;
  3338. +cygwin* | mingw* | pw32* | cegcc*)
  3339. + symcode='[[ABCDGISTW]]'
  3340. + ;;
  3341. +hpux*)
  3342. + if test "$host_cpu" = ia64; then
  3343. + symcode='[[ABCDEGRST]]'
  3344. + fi
  3345. + ;;
  3346. +irix* | nonstopux*)
  3347. + symcode='[[BCDEGRST]]'
  3348. + ;;
  3349. +osf*)
  3350. + symcode='[[BCDEGQRST]]'
  3351. + ;;
  3352. +solaris*)
  3353. + symcode='[[BDRT]]'
  3354. + ;;
  3355. +sco3.2v5*)
  3356. + symcode='[[DT]]'
  3357. + ;;
  3358. +sysv4.2uw2*)
  3359. + symcode='[[DT]]'
  3360. + ;;
  3361. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  3362. + symcode='[[ABDT]]'
  3363. + ;;
  3364. +sysv4)
  3365. + symcode='[[DFNSTU]]'
  3366. + ;;
  3367. +esac
  3368. +# If we're using GNU nm, then use its standard symbol codes.
  3369. +case `$NM -V 2>&1` in
  3370. +*GNU* | *'with BFD'*)
  3371. + symcode='[[ABCDGIRSTW]]' ;;
  3372. +esac
  3373. -# _LT_AC_LANG_GCJ
  3374. -# ---------------
  3375. -AC_DEFUN([_LT_AC_LANG_GCJ],
  3376. -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
  3377. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
  3378. - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
  3379. - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
  3380. - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
  3381. - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
  3382. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
  3383. -])# _LT_AC_LANG_GCJ
  3384. +# Transform an extracted symbol line into a proper C declaration.
  3385. +# Some systems (esp. on ia64) link data and code symbols differently,
  3386. +# so use this general approach.
  3387. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  3388. +# Transform an extracted symbol line into symbol name and symbol address
  3389. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  3390. +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'"
  3391. -# AC_LIBTOOL_RC
  3392. -# -------------
  3393. -# enable support for Windows resource files
  3394. -AC_DEFUN([AC_LIBTOOL_RC],
  3395. -[AC_REQUIRE([LT_AC_PROG_RC])
  3396. -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
  3397. -])# AC_LIBTOOL_RC
  3398. +# Handle CRLF in mingw tool chain
  3399. +opt_cr=
  3400. +case $build_os in
  3401. +mingw*)
  3402. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  3403. + ;;
  3404. +esac
  3405. +# Try without a prefix underscore, then with it.
  3406. +for ac_symprfx in "" "_"; do
  3407. -# AC_LIBTOOL_LANG_C_CONFIG
  3408. -# ------------------------
  3409. -# Ensure that the configuration vars for the C compiler are
  3410. -# suitably defined. Those variables are subsequently used by
  3411. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3412. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
  3413. -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
  3414. -[lt_save_CC="$CC"
  3415. -AC_LANG_PUSH(C)
  3416. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  3417. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  3418. -# Source file extension for C test sources.
  3419. -ac_ext=c
  3420. + # Write the raw and C identifiers.
  3421. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  3422. + # Fake it for dumpbin and say T for any non-static function
  3423. + # and D for any global variable.
  3424. + # Also find C++ and __fastcall symbols from MSVC++,
  3425. + # which start with @ or ?.
  3426. + lt_cv_sys_global_symbol_pipe="$AWK ['"\
  3427. +" {last_section=section; section=\$ 3};"\
  3428. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  3429. +" \$ 0!~/External *\|/{next};"\
  3430. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  3431. +" {if(hide[section]) next};"\
  3432. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  3433. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  3434. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  3435. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  3436. +" ' prfx=^$ac_symprfx]"
  3437. + else
  3438. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  3439. + fi
  3440. -# Object file extension for compiled C test sources.
  3441. -objext=o
  3442. -_LT_AC_TAGVAR(objext, $1)=$objext
  3443. + # Check to see that the pipe works correctly.
  3444. + pipe_works=no
  3445. -# Code to be used in simple compile tests
  3446. -lt_simple_compile_test_code="int some_variable = 0;"
  3447. -
  3448. -# Code to be used in simple link tests
  3449. -lt_simple_link_test_code='int main(){return(0);}'
  3450. -
  3451. -_LT_AC_SYS_COMPILER
  3452. -
  3453. -# save warnings/boilerplate of simple test code
  3454. -_LT_COMPILER_BOILERPLATE
  3455. -_LT_LINKER_BOILERPLATE
  3456. -
  3457. -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  3458. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  3459. -AC_LIBTOOL_PROG_CC_C_O($1)
  3460. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  3461. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  3462. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  3463. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  3464. -AC_LIBTOOL_SYS_LIB_STRIP
  3465. -AC_LIBTOOL_DLOPEN_SELF
  3466. -
  3467. -# Report which library types will actually be built
  3468. -AC_MSG_CHECKING([if libtool supports shared libraries])
  3469. -AC_MSG_RESULT([$can_build_shared])
  3470. -
  3471. -AC_MSG_CHECKING([whether to build shared libraries])
  3472. -test "$can_build_shared" = "no" && enable_shared=no
  3473. -
  3474. -# On AIX, shared libraries and static libraries use the same namespace, and
  3475. -# are all built from PIC.
  3476. -case $host_os in
  3477. -aix3*)
  3478. - test "$enable_shared" = yes && enable_static=no
  3479. - if test -n "$RANLIB"; then
  3480. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  3481. - postinstall_cmds='$RANLIB $lib'
  3482. - fi
  3483. - ;;
  3484. -
  3485. -aix[[4-9]]*)
  3486. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  3487. - test "$enable_shared" = yes && enable_static=no
  3488. - fi
  3489. - ;;
  3490. -esac
  3491. -AC_MSG_RESULT([$enable_shared])
  3492. -
  3493. -AC_MSG_CHECKING([whether to build static libraries])
  3494. -# Make sure either enable_shared or enable_static is yes.
  3495. -test "$enable_shared" = yes || enable_static=yes
  3496. -AC_MSG_RESULT([$enable_static])
  3497. -
  3498. -AC_LIBTOOL_CONFIG($1)
  3499. -
  3500. -AC_LANG_POP
  3501. -CC="$lt_save_CC"
  3502. -])# AC_LIBTOOL_LANG_C_CONFIG
  3503. -
  3504. -
  3505. -# AC_LIBTOOL_LANG_CXX_CONFIG
  3506. -# --------------------------
  3507. -# Ensure that the configuration vars for the C compiler are
  3508. -# suitably defined. Those variables are subsequently used by
  3509. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  3510. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
  3511. -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
  3512. -[AC_LANG_PUSH(C++)
  3513. -AC_REQUIRE([AC_PROG_CXX])
  3514. -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
  3515. -
  3516. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3517. -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  3518. -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  3519. -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  3520. -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  3521. -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  3522. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  3523. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  3524. -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3525. -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  3526. -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3527. -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  3528. -_LT_AC_TAGVAR(module_cmds, $1)=
  3529. -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  3530. -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  3531. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  3532. -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  3533. -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3534. -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  3535. -
  3536. -# Dependencies to place before and after the object being linked:
  3537. -_LT_AC_TAGVAR(predep_objects, $1)=
  3538. -_LT_AC_TAGVAR(postdep_objects, $1)=
  3539. -_LT_AC_TAGVAR(predeps, $1)=
  3540. -_LT_AC_TAGVAR(postdeps, $1)=
  3541. -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
  3542. -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
  3543. -
  3544. -# Source file extension for C++ test sources.
  3545. -ac_ext=cpp
  3546. -
  3547. -# Object file extension for compiled C++ test sources.
  3548. -objext=o
  3549. -_LT_AC_TAGVAR(objext, $1)=$objext
  3550. -
  3551. -# Code to be used in simple compile tests
  3552. -lt_simple_compile_test_code="int some_variable = 0;"
  3553. -
  3554. -# Code to be used in simple link tests
  3555. -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  3556. -
  3557. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  3558. -_LT_AC_SYS_COMPILER
  3559. -
  3560. -# save warnings/boilerplate of simple test code
  3561. -_LT_COMPILER_BOILERPLATE
  3562. -_LT_LINKER_BOILERPLATE
  3563. -
  3564. -# Allow CC to be a program name with arguments.
  3565. -lt_save_CC=$CC
  3566. -lt_save_LD=$LD
  3567. -lt_save_GCC=$GCC
  3568. -GCC=$GXX
  3569. -lt_save_with_gnu_ld=$with_gnu_ld
  3570. -lt_save_path_LD=$lt_cv_path_LD
  3571. -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  3572. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  3573. -else
  3574. - $as_unset lt_cv_prog_gnu_ld
  3575. -fi
  3576. -if test -n "${lt_cv_path_LDCXX+set}"; then
  3577. - lt_cv_path_LD=$lt_cv_path_LDCXX
  3578. -else
  3579. - $as_unset lt_cv_path_LD
  3580. -fi
  3581. -test -z "${LDCXX+set}" || LD=$LDCXX
  3582. -CC=${CXX-"c++"}
  3583. -compiler=$CC
  3584. -_LT_AC_TAGVAR(compiler, $1)=$CC
  3585. -_LT_CC_BASENAME([$compiler])
  3586. + rm -f conftest*
  3587. + cat > conftest.$ac_ext <<_LT_EOF
  3588. +#ifdef __cplusplus
  3589. +extern "C" {
  3590. +#endif
  3591. +char nm_test_var;
  3592. +void nm_test_func(void);
  3593. +void nm_test_func(void){}
  3594. +#ifdef __cplusplus
  3595. +}
  3596. +#endif
  3597. +int main(){nm_test_var='a';nm_test_func();return(0);}
  3598. +_LT_EOF
  3599. -# We don't want -fno-exception wen compiling C++ code, so set the
  3600. -# no_builtin_flag separately
  3601. -if test "$GXX" = yes; then
  3602. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3603. -else
  3604. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3605. -fi
  3606. + if AC_TRY_EVAL(ac_compile); then
  3607. + # Now try to grab the symbols.
  3608. + nlist=conftest.nm
  3609. + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  3610. + # Try sorting and uniquifying the output.
  3611. + if sort "$nlist" | uniq > "$nlist"T; then
  3612. + mv -f "$nlist"T "$nlist"
  3613. + else
  3614. + rm -f "$nlist"T
  3615. + fi
  3616. -if test "$GXX" = yes; then
  3617. - # Set up default GNU C++ configuration
  3618. + # Make sure that we snagged all the symbols we need.
  3619. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  3620. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  3621. + cat <<_LT_EOF > conftest.$ac_ext
  3622. +#ifdef __cplusplus
  3623. +extern "C" {
  3624. +#endif
  3625. - AC_PROG_LD
  3626. +_LT_EOF
  3627. + # Now generate the symbol file.
  3628. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  3629. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  3630. - # archiving commands below assume that GNU ld is being used.
  3631. - if test "$with_gnu_ld" = yes; then
  3632. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3633. - _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'
  3634. + cat <<_LT_EOF >> conftest.$ac_ext
  3635. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  3636. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  3637. +/* The mapping between symbol names and symbols. */
  3638. +const struct {
  3639. + const char *name;
  3640. + void *address;
  3641. +}
  3642. +lt__PROGRAM__LTX_preloaded_symbols[[]] =
  3643. +{
  3644. + { "@PROGRAM@", (void *) 0 },
  3645. +_LT_EOF
  3646. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  3647. + cat <<\_LT_EOF >> conftest.$ac_ext
  3648. + {0, (void *) 0}
  3649. +};
  3650. - # If archive_cmds runs LD, not CC, wlarc should be empty
  3651. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  3652. - # investigate it a little bit more. (MM)
  3653. - wlarc='${wl}'
  3654. +/* This works around a problem in FreeBSD linker */
  3655. +#ifdef FREEBSD_WORKAROUND
  3656. +static const void *lt_preloaded_setup() {
  3657. + return lt__PROGRAM__LTX_preloaded_symbols;
  3658. +}
  3659. +#endif
  3660. - # ancient GNU ld didn't support --whole-archive et. al.
  3661. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  3662. - grep 'no-whole-archive' > /dev/null; then
  3663. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  3664. +#ifdef __cplusplus
  3665. +}
  3666. +#endif
  3667. +_LT_EOF
  3668. + # Now try linking the two files.
  3669. + mv conftest.$ac_objext conftstm.$ac_objext
  3670. + lt_save_LIBS="$LIBS"
  3671. + lt_save_CFLAGS="$CFLAGS"
  3672. + LIBS="conftstm.$ac_objext"
  3673. + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  3674. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  3675. + pipe_works=yes
  3676. + fi
  3677. + LIBS="$lt_save_LIBS"
  3678. + CFLAGS="$lt_save_CFLAGS"
  3679. + else
  3680. + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  3681. + fi
  3682. + else
  3683. + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  3684. + fi
  3685. else
  3686. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  3687. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  3688. fi
  3689. else
  3690. - with_gnu_ld=no
  3691. - wlarc=
  3692. -
  3693. - # A generic and very simple default shared library creation
  3694. - # command for GNU C++ for the case where it uses the native
  3695. - # linker, instead of GNU ld. If possible, this setting should
  3696. - # overridden to take advantage of the native linker features on
  3697. - # the platform it is being used on.
  3698. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  3699. + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  3700. + cat conftest.$ac_ext >&5
  3701. fi
  3702. + rm -rf conftest* conftst*
  3703. - # Commands to make compiler produce verbose output that lists
  3704. - # what "hidden" libraries, object files and flags are used when
  3705. - # linking a shared library.
  3706. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  3707. -
  3708. + # Do not use the global_symbol_pipe unless it works.
  3709. + if test "$pipe_works" = yes; then
  3710. + break
  3711. + else
  3712. + lt_cv_sys_global_symbol_pipe=
  3713. + fi
  3714. +done
  3715. +])
  3716. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  3717. + lt_cv_sys_global_symbol_to_cdecl=
  3718. +fi
  3719. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  3720. + AC_MSG_RESULT(failed)
  3721. else
  3722. - GXX=no
  3723. - with_gnu_ld=no
  3724. - wlarc=
  3725. + AC_MSG_RESULT(ok)
  3726. fi
  3727. -# PORTME: fill in a description of your system's C++ link characteristics
  3728. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  3729. -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
  3730. -case $host_os in
  3731. - aix3*)
  3732. - # FIXME: insert proper C++ library support
  3733. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3734. - ;;
  3735. - aix[[4-9]]*)
  3736. - if test "$host_cpu" = ia64; then
  3737. - # On IA64, the linker does run time linking by default, so we don't
  3738. - # have to do anything special.
  3739. - aix_use_runtimelinking=no
  3740. - exp_sym_flag='-Bexport'
  3741. - no_entry_flag=""
  3742. - else
  3743. - aix_use_runtimelinking=no
  3744. -
  3745. - # Test if we are trying to use run time linking or normal
  3746. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  3747. - # need to do runtime linking.
  3748. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  3749. - for ld_flag in $LDFLAGS; do
  3750. - case $ld_flag in
  3751. - *-brtl*)
  3752. - aix_use_runtimelinking=yes
  3753. - break
  3754. - ;;
  3755. - esac
  3756. - done
  3757. - ;;
  3758. - esac
  3759. -
  3760. - exp_sym_flag='-bexport'
  3761. - no_entry_flag='-bnoentry'
  3762. - fi
  3763. +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  3764. + [Take the output of nm and produce a listing of raw symbols and C names])
  3765. +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  3766. + [Transform the output of nm in a proper C declaration])
  3767. +_LT_DECL([global_symbol_to_c_name_address],
  3768. + [lt_cv_sys_global_symbol_to_c_name_address], [1],
  3769. + [Transform the output of nm in a C name address pair])
  3770. +_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  3771. + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  3772. + [Transform the output of nm in a C name address pair when lib prefix is needed])
  3773. +]) # _LT_CMD_GLOBAL_SYMBOLS
  3774. - # When large executables or shared objects are built, AIX ld can
  3775. - # have problems creating the table of contents. If linking a library
  3776. - # or program results in "error TOC overflow" add -mminimal-toc to
  3777. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  3778. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  3779. -
  3780. - _LT_AC_TAGVAR(archive_cmds, $1)=''
  3781. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  3782. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  3783. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3784. - if test "$GXX" = yes; then
  3785. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  3786. - # We only want to do this on AIX 4.2 and lower, the check
  3787. - # below for broken collect2 doesn't work under 4.3+
  3788. - collect2name=`${CC} -print-prog-name=collect2`
  3789. - if test -f "$collect2name" && \
  3790. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  3791. - then
  3792. - # We have reworked collect2
  3793. - :
  3794. - else
  3795. - # We have old collect2
  3796. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  3797. - # It fails to find uninstalled libraries when the uninstalled
  3798. - # path is not listed in the libpath. Setting hardcode_minus_L
  3799. - # to unsupported forces relinking
  3800. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  3801. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3802. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  3803. - fi
  3804. - ;;
  3805. - esac
  3806. - shared_flag='-shared'
  3807. - if test "$aix_use_runtimelinking" = yes; then
  3808. - shared_flag="$shared_flag "'${wl}-G'
  3809. - fi
  3810. - else
  3811. - # not using gcc
  3812. - if test "$host_cpu" = ia64; then
  3813. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  3814. - # chokes on -Wl,-G. The following line is correct:
  3815. - shared_flag='-G'
  3816. - else
  3817. - if test "$aix_use_runtimelinking" = yes; then
  3818. - shared_flag='${wl}-G'
  3819. - else
  3820. - shared_flag='${wl}-bM:SRE'
  3821. - fi
  3822. - fi
  3823. - fi
  3824. +# _LT_COMPILER_PIC([TAGNAME])
  3825. +# ---------------------------
  3826. +m4_defun([_LT_COMPILER_PIC],
  3827. +[m4_require([_LT_TAG_COMPILER])dnl
  3828. +_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  3829. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3830. +_LT_TAGVAR(lt_prog_compiler_static, $1)=
  3831. - # It seems that -bexpall does not export symbols beginning with
  3832. - # underscore (_), so it is better to generate a list of symbols to export.
  3833. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  3834. - if test "$aix_use_runtimelinking" = yes; then
  3835. - # Warning - without using the other runtime loading flags (-brtl),
  3836. - # -berok will link without error, but may produce a broken library.
  3837. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  3838. - # Determine the default libpath from the value encoded in an empty executable.
  3839. - _LT_AC_SYS_LIBPATH_AIX
  3840. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3841. +AC_MSG_CHECKING([for $compiler option to produce PIC])
  3842. +m4_if([$1], [CXX], [
  3843. + # C++ specific cases for pic, static, wl, etc.
  3844. + if test "$GXX" = yes; then
  3845. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3846. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3847. - _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"
  3848. - else
  3849. + case $host_os in
  3850. + aix*)
  3851. + # All AIX code is PIC.
  3852. if test "$host_cpu" = ia64; then
  3853. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  3854. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  3855. - _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"
  3856. - else
  3857. - # Determine the default libpath from the value encoded in an empty executable.
  3858. - _LT_AC_SYS_LIBPATH_AIX
  3859. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  3860. - # Warning - without using the other run time loading flags,
  3861. - # -berok will link without error, but may produce a broken library.
  3862. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  3863. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  3864. - # Exported symbols can be pulled into shared objects from archives
  3865. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  3866. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  3867. - # This is similar to how AIX traditionally builds its shared libraries.
  3868. - _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'
  3869. + # AIX 5 now supports IA64 processor
  3870. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3871. fi
  3872. - fi
  3873. - ;;
  3874. -
  3875. - beos*)
  3876. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  3877. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3878. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  3879. - # support --undefined. This deserves some investigation. FIXME
  3880. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  3881. - else
  3882. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3883. - fi
  3884. - ;;
  3885. -
  3886. - chorus*)
  3887. - case $cc_basename in
  3888. - *)
  3889. - # FIXME: insert proper C++ library support
  3890. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3891. - ;;
  3892. - esac
  3893. - ;;
  3894. + ;;
  3895. - cygwin* | mingw* | pw32*)
  3896. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  3897. - # as there is no search path for DLLs.
  3898. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  3899. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  3900. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  3901. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  3902. -
  3903. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  3904. - _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'
  3905. - # If the export-symbols file already is a .def file (1st line
  3906. - # is EXPORTS), use it as is; otherwise, prepend...
  3907. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  3908. - cp $export_symbols $output_objdir/$soname.def;
  3909. - else
  3910. - echo EXPORTS > $output_objdir/$soname.def;
  3911. - cat $export_symbols >> $output_objdir/$soname.def;
  3912. - fi~
  3913. - $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'
  3914. - else
  3915. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3916. - fi
  3917. - ;;
  3918. - darwin* | rhapsody*)
  3919. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  3920. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  3921. - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  3922. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  3923. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  3924. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  3925. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  3926. - if test "$GXX" = yes ; then
  3927. - output_verbose_link_cmd='echo'
  3928. - _LT_AC_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}"
  3929. - _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  3930. - _LT_AC_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}"
  3931. - _LT_AC_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}"
  3932. - if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  3933. - _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${_lt_dsymutil}"
  3934. - _LT_AC_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}"
  3935. - fi
  3936. - else
  3937. - case $cc_basename in
  3938. - xlc*)
  3939. - output_verbose_link_cmd='echo'
  3940. - _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` $xlcverstring'
  3941. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  3942. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  3943. - _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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  3944. - _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}'
  3945. - ;;
  3946. - *)
  3947. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3948. - ;;
  3949. - esac
  3950. - fi
  3951. + amigaos*)
  3952. + case $host_cpu in
  3953. + powerpc)
  3954. + # see comment about AmigaOS4 .so support
  3955. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3956. + ;;
  3957. + m68k)
  3958. + # FIXME: we need at least 68020 code to build shared libraries, but
  3959. + # adding the `-m68020' flag to GCC prevents building anything better,
  3960. + # like `-m68040'.
  3961. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3962. ;;
  3963. + esac
  3964. + ;;
  3965. - dgux*)
  3966. - case $cc_basename in
  3967. - ec++*)
  3968. - # FIXME: insert proper C++ library support
  3969. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3970. - ;;
  3971. - ghcx*)
  3972. - # Green Hills C++ Compiler
  3973. - # FIXME: insert proper C++ library support
  3974. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  3975. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3976. + # PIC is the default for these OSes.
  3977. + ;;
  3978. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  3979. + # This hack is so that the source file can tell whether it is being
  3980. + # built for inclusion in a dll (and should export symbols for example).
  3981. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3982. + # (--disable-auto-import) libraries
  3983. + m4_if([$1], [GCJ], [],
  3984. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3985. + ;;
  3986. + darwin* | rhapsody*)
  3987. + # PIC is the default on this platform
  3988. + # Common symbols not allowed in MH_DYLIB files
  3989. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3990. + ;;
  3991. + *djgpp*)
  3992. + # DJGPP does not support shared libraries at all
  3993. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3994. + ;;
  3995. + interix[[3-9]]*)
  3996. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3997. + # Instead, we relocate shared libraries at runtime.
  3998. + ;;
  3999. + sysv4*MP*)
  4000. + if test -d /usr/nec; then
  4001. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  4002. + fi
  4003. + ;;
  4004. + hpux*)
  4005. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  4006. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  4007. + # sets the default TLS model and affects inlining.
  4008. + case $host_cpu in
  4009. + hppa*64*)
  4010. ;;
  4011. *)
  4012. - # FIXME: insert proper C++ library support
  4013. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4014. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4015. ;;
  4016. - esac
  4017. - ;;
  4018. - freebsd[[12]]*)
  4019. - # C++ shared libraries reported to be fairly broken before switch to ELF
  4020. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4021. - ;;
  4022. - freebsd-elf*)
  4023. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4024. - ;;
  4025. - freebsd* | dragonfly*)
  4026. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  4027. - # conventions
  4028. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  4029. - ;;
  4030. - gnu*)
  4031. - ;;
  4032. - hpux9*)
  4033. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4034. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4035. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4036. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4037. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  4038. - # but as the default
  4039. - # location of the library.
  4040. -
  4041. - case $cc_basename in
  4042. - CC*)
  4043. - # FIXME: insert proper C++ library support
  4044. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4045. + esac
  4046. ;;
  4047. - aCC*)
  4048. - _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'
  4049. - # Commands to make compiler produce verbose output that lists
  4050. - # what "hidden" libraries, object files and flags are used when
  4051. - # linking a shared library.
  4052. - #
  4053. - # There doesn't appear to be a way to prevent this compiler from
  4054. - # explicitly linking system object files so we need to strip them
  4055. - # from the output so that they don't get included in the library
  4056. - # dependencies.
  4057. - 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'
  4058. + *qnx* | *nto*)
  4059. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  4060. + # it will coredump.
  4061. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4062. ;;
  4063. *)
  4064. - if test "$GXX" = yes; then
  4065. - _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'
  4066. - else
  4067. - # FIXME: insert proper C++ library support
  4068. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4069. - fi
  4070. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4071. ;;
  4072. esac
  4073. - ;;
  4074. - hpux10*|hpux11*)
  4075. - if test $with_gnu_ld = no; then
  4076. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4077. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4078. -
  4079. - case $host_cpu in
  4080. - hppa*64*|ia64*) ;;
  4081. - *)
  4082. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4083. - ;;
  4084. - esac
  4085. - fi
  4086. - case $host_cpu in
  4087. - hppa*64*|ia64*)
  4088. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  4089. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4090. - ;;
  4091. - *)
  4092. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4093. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  4094. - # but as the default
  4095. - # location of the library.
  4096. - ;;
  4097. - esac
  4098. -
  4099. - case $cc_basename in
  4100. - CC*)
  4101. - # FIXME: insert proper C++ library support
  4102. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4103. + else
  4104. + case $host_os in
  4105. + aix[[4-9]]*)
  4106. + # All AIX code is PIC.
  4107. + if test "$host_cpu" = ia64; then
  4108. + # AIX 5 now supports IA64 processor
  4109. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4110. + else
  4111. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  4112. + fi
  4113. ;;
  4114. - aCC*)
  4115. - case $host_cpu in
  4116. - hppa*64*)
  4117. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4118. - ;;
  4119. - ia64*)
  4120. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4121. - ;;
  4122. - *)
  4123. - _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'
  4124. + chorus*)
  4125. + case $cc_basename in
  4126. + cxch68*)
  4127. + # Green Hills C++ Compiler
  4128. + # _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"
  4129. ;;
  4130. esac
  4131. - # Commands to make compiler produce verbose output that lists
  4132. - # what "hidden" libraries, object files and flags are used when
  4133. - # linking a shared library.
  4134. - #
  4135. - # There doesn't appear to be a way to prevent this compiler from
  4136. - # explicitly linking system object files so we need to strip them
  4137. - # from the output so that they don't get included in the library
  4138. - # dependencies.
  4139. - 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'
  4140. ;;
  4141. - *)
  4142. - if test "$GXX" = yes; then
  4143. - if test $with_gnu_ld = no; then
  4144. + dgux*)
  4145. + case $cc_basename in
  4146. + ec++*)
  4147. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4148. + ;;
  4149. + ghcx*)
  4150. + # Green Hills C++ Compiler
  4151. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4152. + ;;
  4153. + *)
  4154. + ;;
  4155. + esac
  4156. + ;;
  4157. + freebsd* | dragonfly*)
  4158. + # FreeBSD uses GNU C++
  4159. + ;;
  4160. + hpux9* | hpux10* | hpux11*)
  4161. + case $cc_basename in
  4162. + CC*)
  4163. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4164. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4165. + if test "$host_cpu" != ia64; then
  4166. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4167. + fi
  4168. + ;;
  4169. + aCC*)
  4170. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4171. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4172. case $host_cpu in
  4173. - hppa*64*)
  4174. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4175. - ;;
  4176. - ia64*)
  4177. - _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'
  4178. + hppa*64*|ia64*)
  4179. + # +Z the default
  4180. ;;
  4181. *)
  4182. - _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'
  4183. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4184. ;;
  4185. esac
  4186. - fi
  4187. - else
  4188. - # FIXME: insert proper C++ library support
  4189. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4190. - fi
  4191. - ;;
  4192. - esac
  4193. - ;;
  4194. - interix[[3-9]]*)
  4195. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  4196. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4197. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4198. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4199. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  4200. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  4201. - # default) and relocated if they conflict, which is a slow very memory
  4202. - # consuming and fragmenting process. To avoid this, we pick a random,
  4203. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  4204. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  4205. - _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'
  4206. - _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'
  4207. - ;;
  4208. - irix5* | irix6*)
  4209. - case $cc_basename in
  4210. - CC*)
  4211. - # SGI C++
  4212. - _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'
  4213. -
  4214. - # Archives containing C++ object files must be created using
  4215. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  4216. - # necessary to make sure instantiated templates are included
  4217. - # in the archive.
  4218. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  4219. + ;;
  4220. + *)
  4221. + ;;
  4222. + esac
  4223. ;;
  4224. - *)
  4225. - if test "$GXX" = yes; then
  4226. - if test "$with_gnu_ld" = no; then
  4227. - _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'
  4228. - else
  4229. - _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'
  4230. - fi
  4231. - fi
  4232. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  4233. + interix*)
  4234. + # This is c89, which is MS Visual C++ (no shared libs)
  4235. + # Anyone wants to do a port?
  4236. ;;
  4237. - esac
  4238. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4239. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4240. - ;;
  4241. - linux* | k*bsd*-gnu)
  4242. - case $cc_basename in
  4243. - KCC*)
  4244. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  4245. -
  4246. - # KCC will only create a shared library if the output file
  4247. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  4248. - # to its proper name (with version) after linking.
  4249. - _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'
  4250. - _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'
  4251. - # Commands to make compiler produce verbose output that lists
  4252. - # what "hidden" libraries, object files and flags are used when
  4253. - # linking a shared library.
  4254. - #
  4255. - # There doesn't appear to be a way to prevent this compiler from
  4256. - # explicitly linking system object files so we need to strip them
  4257. - # from the output so that they don't get included in the library
  4258. - # dependencies.
  4259. - 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'
  4260. -
  4261. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
  4262. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4263. -
  4264. - # Archives containing C++ object files must be created using
  4265. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  4266. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  4267. - ;;
  4268. - icpc*)
  4269. - # Intel C++
  4270. - with_gnu_ld=yes
  4271. - # version 8.0 and above of icpc choke on multiply defined symbols
  4272. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  4273. - # earlier do not add the objects themselves.
  4274. - case `$CC -V 2>&1` in
  4275. - *"Version 7."*)
  4276. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4277. - _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'
  4278. - ;;
  4279. - *) # Version 8.0 or newer
  4280. - tmp_idyn=
  4281. - case $host_cpu in
  4282. - ia64*) tmp_idyn=' -i_dynamic';;
  4283. - esac
  4284. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4285. - _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'
  4286. - ;;
  4287. + irix5* | irix6* | nonstopux*)
  4288. + case $cc_basename in
  4289. + CC*)
  4290. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4291. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4292. + # CC pic flag -KPIC is the default.
  4293. + ;;
  4294. + *)
  4295. + ;;
  4296. esac
  4297. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4298. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4299. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4300. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  4301. - ;;
  4302. - pgCC* | pgcpp*)
  4303. - # Portland Group C++ compiler
  4304. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  4305. - _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'
  4306. -
  4307. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  4308. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4309. - _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'
  4310. - ;;
  4311. - cxx*)
  4312. - # Compaq C++
  4313. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4314. - _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'
  4315. -
  4316. - runpath_var=LD_RUN_PATH
  4317. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4318. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4319. -
  4320. - # Commands to make compiler produce verbose output that lists
  4321. - # what "hidden" libraries, object files and flags are used when
  4322. - # linking a shared library.
  4323. - #
  4324. - # There doesn't appear to be a way to prevent this compiler from
  4325. - # explicitly linking system object files so we need to strip them
  4326. - # from the output so that they don't get included in the library
  4327. - # dependencies.
  4328. - 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'
  4329. ;;
  4330. - *)
  4331. - case `$CC -V 2>&1 | sed 5q` in
  4332. - *Sun\ C*)
  4333. - # Sun C++ 5.9
  4334. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  4335. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4336. - _LT_AC_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'
  4337. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4338. - _LT_AC_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'
  4339. -
  4340. - # Not sure whether something based on
  4341. - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  4342. - # would be better.
  4343. - output_verbose_link_cmd='echo'
  4344. -
  4345. - # Archives containing C++ object files must be created using
  4346. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  4347. - # necessary to make sure instantiated templates are included
  4348. - # in the archive.
  4349. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  4350. - ;;
  4351. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4352. + case $cc_basename in
  4353. + KCC*)
  4354. + # KAI C++ Compiler
  4355. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  4356. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4357. + ;;
  4358. + ecpc* )
  4359. + # old Intel C++ for x86_64 which still supported -KPIC.
  4360. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4361. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4362. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4363. + ;;
  4364. + icpc* )
  4365. + # Intel C++, used to be incompatible with GCC.
  4366. + # ICC 10 doesn't accept -KPIC any more.
  4367. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4368. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4369. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4370. + ;;
  4371. + pgCC* | pgcpp*)
  4372. + # Portland Group C++ compiler
  4373. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4374. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  4375. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4376. + ;;
  4377. + cxx*)
  4378. + # Compaq C++
  4379. + # Make sure the PIC flag is empty. It appears that all Alpha
  4380. + # Linux and Compaq Tru64 Unix objects are PIC.
  4381. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4382. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4383. + ;;
  4384. + xlc* | xlC*)
  4385. + # IBM XL 8.0 on PPC
  4386. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4387. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  4388. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  4389. + ;;
  4390. + *)
  4391. + case `$CC -V 2>&1 | sed 5q` in
  4392. + *Sun\ C*)
  4393. + # Sun C++ 5.9
  4394. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4395. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4396. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4397. + ;;
  4398. + esac
  4399. + ;;
  4400. esac
  4401. ;;
  4402. - esac
  4403. - ;;
  4404. - lynxos*)
  4405. - # FIXME: insert proper C++ library support
  4406. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4407. - ;;
  4408. - m88k*)
  4409. - # FIXME: insert proper C++ library support
  4410. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4411. - ;;
  4412. - mvs*)
  4413. - case $cc_basename in
  4414. - cxx*)
  4415. - # FIXME: insert proper C++ library support
  4416. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4417. - ;;
  4418. - *)
  4419. - # FIXME: insert proper C++ library support
  4420. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4421. - ;;
  4422. - esac
  4423. - ;;
  4424. - netbsd* | netbsdelf*-gnu)
  4425. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  4426. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  4427. - wlarc=
  4428. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4429. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4430. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4431. - fi
  4432. - # Workaround some broken pre-1.5 toolchains
  4433. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  4434. - ;;
  4435. - openbsd2*)
  4436. - # C++ shared libraries are fairly broken
  4437. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4438. - ;;
  4439. - openbsd*)
  4440. - if test -f /usr/libexec/ld.so; then
  4441. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  4442. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4443. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  4444. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4445. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4446. - _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'
  4447. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4448. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  4449. - fi
  4450. - output_verbose_link_cmd='echo'
  4451. - else
  4452. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4453. - fi
  4454. - ;;
  4455. - osf3*)
  4456. - case $cc_basename in
  4457. - KCC*)
  4458. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  4459. -
  4460. - # KCC will only create a shared library if the output file
  4461. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  4462. - # to its proper name (with version) after linking.
  4463. - _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'
  4464. -
  4465. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4466. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4467. -
  4468. - # Archives containing C++ object files must be created using
  4469. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  4470. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  4471. -
  4472. - ;;
  4473. - RCC*)
  4474. - # Rational C++ 2.4.1
  4475. - # FIXME: insert proper C++ library support
  4476. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4477. - ;;
  4478. - cxx*)
  4479. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4480. - _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'
  4481. -
  4482. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4483. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4484. -
  4485. - # Commands to make compiler produce verbose output that lists
  4486. - # what "hidden" libraries, object files and flags are used when
  4487. - # linking a shared library.
  4488. - #
  4489. - # There doesn't appear to be a way to prevent this compiler from
  4490. - # explicitly linking system object files so we need to strip them
  4491. - # from the output so that they don't get included in the library
  4492. - # dependencies.
  4493. - 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'
  4494. + lynxos*)
  4495. ;;
  4496. - *)
  4497. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  4498. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4499. - _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'
  4500. -
  4501. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4502. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4503. -
  4504. - # Commands to make compiler produce verbose output that lists
  4505. - # what "hidden" libraries, object files and flags are used when
  4506. - # linking a shared library.
  4507. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  4508. -
  4509. - else
  4510. - # FIXME: insert proper C++ library support
  4511. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4512. - fi
  4513. + m88k*)
  4514. ;;
  4515. - esac
  4516. - ;;
  4517. - osf4* | osf5*)
  4518. - case $cc_basename in
  4519. - KCC*)
  4520. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  4521. -
  4522. - # KCC will only create a shared library if the output file
  4523. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  4524. - # to its proper name (with version) after linking.
  4525. - _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'
  4526. -
  4527. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4528. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4529. -
  4530. - # Archives containing C++ object files must be created using
  4531. - # the KAI C++ compiler.
  4532. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
  4533. - ;;
  4534. - RCC*)
  4535. - # Rational C++ 2.4.1
  4536. - # FIXME: insert proper C++ library support
  4537. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4538. - ;;
  4539. - cxx*)
  4540. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4541. - _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'
  4542. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  4543. - echo "-hidden">> $lib.exp~
  4544. - $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~
  4545. - $rm $lib.exp'
  4546. -
  4547. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4548. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4549. -
  4550. - # Commands to make compiler produce verbose output that lists
  4551. - # what "hidden" libraries, object files and flags are used when
  4552. - # linking a shared library.
  4553. - #
  4554. - # There doesn't appear to be a way to prevent this compiler from
  4555. - # explicitly linking system object files so we need to strip them
  4556. - # from the output so that they don't get included in the library
  4557. - # dependencies.
  4558. - 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'
  4559. + mvs*)
  4560. + case $cc_basename in
  4561. + cxx*)
  4562. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  4563. + ;;
  4564. + *)
  4565. + ;;
  4566. + esac
  4567. ;;
  4568. - *)
  4569. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  4570. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4571. - _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'
  4572. -
  4573. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4574. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  4575. -
  4576. - # Commands to make compiler produce verbose output that lists
  4577. - # what "hidden" libraries, object files and flags are used when
  4578. - # linking a shared library.
  4579. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  4580. -
  4581. - else
  4582. - # FIXME: insert proper C++ library support
  4583. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4584. - fi
  4585. + netbsd* | netbsdelf*-gnu)
  4586. ;;
  4587. - esac
  4588. - ;;
  4589. - psos*)
  4590. - # FIXME: insert proper C++ library support
  4591. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4592. - ;;
  4593. - sunos4*)
  4594. - case $cc_basename in
  4595. - CC*)
  4596. - # Sun C++ 4.x
  4597. - # FIXME: insert proper C++ library support
  4598. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4599. - ;;
  4600. - lcc*)
  4601. - # Lucid
  4602. - # FIXME: insert proper C++ library support
  4603. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4604. + *qnx* | *nto*)
  4605. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  4606. + # it will coredump.
  4607. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4608. + ;;
  4609. + osf3* | osf4* | osf5*)
  4610. + case $cc_basename in
  4611. + KCC*)
  4612. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  4613. + ;;
  4614. + RCC*)
  4615. + # Rational C++ 2.4.1
  4616. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4617. + ;;
  4618. + cxx*)
  4619. + # Digital/Compaq C++
  4620. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4621. + # Make sure the PIC flag is empty. It appears that all Alpha
  4622. + # Linux and Compaq Tru64 Unix objects are PIC.
  4623. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4624. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4625. + ;;
  4626. + *)
  4627. + ;;
  4628. + esac
  4629. ;;
  4630. - *)
  4631. - # FIXME: insert proper C++ library support
  4632. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4633. + psos*)
  4634. ;;
  4635. - esac
  4636. - ;;
  4637. - solaris*)
  4638. - case $cc_basename in
  4639. - CC*)
  4640. - # Sun C++ 4.2, 5.x and Centerline C++
  4641. - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
  4642. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  4643. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  4644. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  4645. - $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'
  4646. -
  4647. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4648. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4649. - case $host_os in
  4650. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  4651. + solaris*)
  4652. + case $cc_basename in
  4653. + CC*)
  4654. + # Sun C++ 4.2, 5.x and Centerline C++
  4655. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4656. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4657. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4658. + ;;
  4659. + gcx*)
  4660. + # Green Hills C++ Compiler
  4661. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  4662. + ;;
  4663. *)
  4664. - # The compiler driver will combine and reorder linker options,
  4665. - # but understands `-z linker_flag'.
  4666. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  4667. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  4668. ;;
  4669. esac
  4670. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  4671. -
  4672. - output_verbose_link_cmd='echo'
  4673. -
  4674. - # Archives containing C++ object files must be created using
  4675. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  4676. - # necessary to make sure instantiated templates are included
  4677. - # in the archive.
  4678. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  4679. - ;;
  4680. - gcx*)
  4681. - # Green Hills C++ Compiler
  4682. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  4683. -
  4684. - # The C++ compiler must be used to create the archive.
  4685. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  4686. ;;
  4687. - *)
  4688. - # GNU C++ compiler with Solaris linker
  4689. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  4690. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  4691. - if $CC --version | grep -v '^2\.7' > /dev/null; then
  4692. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  4693. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  4694. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  4695. -
  4696. - # Commands to make compiler produce verbose output that lists
  4697. - # what "hidden" libraries, object files and flags are used when
  4698. - # linking a shared library.
  4699. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  4700. - else
  4701. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  4702. - # platform.
  4703. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  4704. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  4705. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  4706. -
  4707. - # Commands to make compiler produce verbose output that lists
  4708. - # what "hidden" libraries, object files and flags are used when
  4709. - # linking a shared library.
  4710. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  4711. - fi
  4712. -
  4713. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  4714. - case $host_os in
  4715. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  4716. + sunos4*)
  4717. + case $cc_basename in
  4718. + CC*)
  4719. + # Sun C++ 4.x
  4720. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4721. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4722. + ;;
  4723. + lcc*)
  4724. + # Lucid
  4725. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4726. + ;;
  4727. *)
  4728. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  4729. ;;
  4730. - esac
  4731. - fi
  4732. - ;;
  4733. - esac
  4734. - ;;
  4735. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  4736. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  4737. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4738. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4739. - runpath_var='LD_RUN_PATH'
  4740. -
  4741. - case $cc_basename in
  4742. - CC*)
  4743. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4744. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4745. - ;;
  4746. - *)
  4747. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4748. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  4749. + esac
  4750. ;;
  4751. - esac
  4752. - ;;
  4753. - sysv5* | sco3.2v5* | sco5v6*)
  4754. - # Note: We can NOT use -z defs as we might desire, because we do not
  4755. - # link with -lc, and that would cause any symbols used from libc to
  4756. - # always be unresolved, which means just about no library would
  4757. - # ever link correctly. If we're not using GNU ld we use -z text
  4758. - # though, which does catch some bad symbols but isn't as heavy-handed
  4759. - # as -z defs.
  4760. - # For security reasons, it is highly recommended that you always
  4761. - # use absolute paths for naming shared libraries, and exclude the
  4762. - # DT_RUNPATH tag from executables and libraries. But doing so
  4763. - # requires that you compile everything twice, which is a pain.
  4764. - # So that behaviour is only enabled if SCOABSPATH is set to a
  4765. - # non-empty value in the environment. Most likely only useful for
  4766. - # creating official distributions of packages.
  4767. - # This is a hack until libtool officially supports absolute path
  4768. - # names for shared libraries.
  4769. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  4770. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  4771. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  4772. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  4773. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  4774. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  4775. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  4776. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  4777. - runpath_var='LD_RUN_PATH'
  4778. -
  4779. - case $cc_basename in
  4780. - CC*)
  4781. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4782. - _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'
  4783. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  4784. + case $cc_basename in
  4785. + CC*)
  4786. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4787. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4788. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4789. + ;;
  4790. + esac
  4791. ;;
  4792. - *)
  4793. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4794. - _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'
  4795. + tandem*)
  4796. + case $cc_basename in
  4797. + NCC*)
  4798. + # NonStop-UX NCC 3.20
  4799. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4800. + ;;
  4801. + *)
  4802. + ;;
  4803. + esac
  4804. ;;
  4805. - esac
  4806. - ;;
  4807. - tandem*)
  4808. - case $cc_basename in
  4809. - NCC*)
  4810. - # NonStop-UX NCC 3.20
  4811. - # FIXME: insert proper C++ library support
  4812. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4813. + vxworks*)
  4814. ;;
  4815. *)
  4816. - # FIXME: insert proper C++ library support
  4817. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4818. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4819. ;;
  4820. esac
  4821. - ;;
  4822. - vxworks*)
  4823. - # FIXME: insert proper C++ library support
  4824. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4825. - ;;
  4826. - *)
  4827. - # FIXME: insert proper C++ library support
  4828. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  4829. - ;;
  4830. -esac
  4831. -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  4832. -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  4833. + fi
  4834. +],
  4835. +[
  4836. + if test "$GCC" = yes; then
  4837. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4838. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4839. -_LT_AC_TAGVAR(GCC, $1)="$GXX"
  4840. -_LT_AC_TAGVAR(LD, $1)="$LD"
  4841. + case $host_os in
  4842. + aix*)
  4843. + # All AIX code is PIC.
  4844. + if test "$host_cpu" = ia64; then
  4845. + # AIX 5 now supports IA64 processor
  4846. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4847. + fi
  4848. + ;;
  4849. -AC_LIBTOOL_POSTDEP_PREDEP($1)
  4850. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  4851. -AC_LIBTOOL_PROG_CC_C_O($1)
  4852. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  4853. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  4854. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  4855. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  4856. + amigaos*)
  4857. + case $host_cpu in
  4858. + powerpc)
  4859. + # see comment about AmigaOS4 .so support
  4860. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4861. + ;;
  4862. + m68k)
  4863. + # FIXME: we need at least 68020 code to build shared libraries, but
  4864. + # adding the `-m68020' flag to GCC prevents building anything better,
  4865. + # like `-m68040'.
  4866. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  4867. + ;;
  4868. + esac
  4869. + ;;
  4870. -AC_LIBTOOL_CONFIG($1)
  4871. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  4872. + # PIC is the default for these OSes.
  4873. + ;;
  4874. -AC_LANG_POP
  4875. -CC=$lt_save_CC
  4876. -LDCXX=$LD
  4877. -LD=$lt_save_LD
  4878. -GCC=$lt_save_GCC
  4879. -with_gnu_ldcxx=$with_gnu_ld
  4880. -with_gnu_ld=$lt_save_with_gnu_ld
  4881. -lt_cv_path_LDCXX=$lt_cv_path_LD
  4882. -lt_cv_path_LD=$lt_save_path_LD
  4883. -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  4884. -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  4885. -])# AC_LIBTOOL_LANG_CXX_CONFIG
  4886. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  4887. + # This hack is so that the source file can tell whether it is being
  4888. + # built for inclusion in a dll (and should export symbols for example).
  4889. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  4890. + # (--disable-auto-import) libraries
  4891. + m4_if([$1], [GCJ], [],
  4892. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  4893. + ;;
  4894. -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
  4895. -# ------------------------------------
  4896. -# Figure out "hidden" library dependencies from verbose
  4897. -# compiler output when linking a shared library.
  4898. -# Parse the compiler output and extract the necessary
  4899. -# objects, libraries and library flags.
  4900. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
  4901. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  4902. -dnl we can't use the lt_simple_compile_test_code here,
  4903. -dnl because it contains code intended for an executable,
  4904. -dnl not a library. It's possible we should let each
  4905. -dnl tag define a new lt_????_link_test_code variable,
  4906. -dnl but it's only used here...
  4907. -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
  4908. -int a;
  4909. -void foo (void) { a = 0; }
  4910. -EOF
  4911. -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
  4912. -class Foo
  4913. -{
  4914. -public:
  4915. - Foo (void) { a = 0; }
  4916. -private:
  4917. - int a;
  4918. -};
  4919. -EOF
  4920. -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
  4921. - subroutine foo
  4922. - implicit none
  4923. - integer*4 a
  4924. - a=0
  4925. - return
  4926. - end
  4927. -EOF
  4928. -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
  4929. -public class foo {
  4930. - private int a;
  4931. - public void bar (void) {
  4932. - a = 0;
  4933. - }
  4934. -};
  4935. -EOF
  4936. -])
  4937. -dnl Parse the compiler output and extract the necessary
  4938. -dnl objects, libraries and library flags.
  4939. -if AC_TRY_EVAL(ac_compile); then
  4940. - # Parse the compiler output and extract the necessary
  4941. - # objects, libraries and library flags.
  4942. + darwin* | rhapsody*)
  4943. + # PIC is the default on this platform
  4944. + # Common symbols not allowed in MH_DYLIB files
  4945. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  4946. + ;;
  4947. - # Sentinel used to keep track of whether or not we are before
  4948. - # the conftest object file.
  4949. - pre_test_object_deps_done=no
  4950. + hpux*)
  4951. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  4952. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  4953. + # sets the default TLS model and affects inlining.
  4954. + case $host_cpu in
  4955. + hppa*64*)
  4956. + # +Z the default
  4957. + ;;
  4958. + *)
  4959. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4960. + ;;
  4961. + esac
  4962. + ;;
  4963. - # The `*' in the case matches for architectures that use `case' in
  4964. - # $output_verbose_cmd can trigger glob expansion during the loop
  4965. - # eval without this substitution.
  4966. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
  4967. + interix[[3-9]]*)
  4968. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  4969. + # Instead, we relocate shared libraries at runtime.
  4970. + ;;
  4971. - for p in `eval $output_verbose_link_cmd`; do
  4972. - case $p in
  4973. + msdosdjgpp*)
  4974. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  4975. + # on systems that don't support them.
  4976. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4977. + enable_shared=no
  4978. + ;;
  4979. - -L* | -R* | -l*)
  4980. - # Some compilers place space between "-{L,R}" and the path.
  4981. - # Remove the space.
  4982. - if test $p = "-L" \
  4983. - || test $p = "-R"; then
  4984. - prev=$p
  4985. - continue
  4986. - else
  4987. - prev=
  4988. - fi
  4989. + *nto* | *qnx*)
  4990. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  4991. + # it will coredump.
  4992. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4993. + ;;
  4994. - if test "$pre_test_object_deps_done" = no; then
  4995. - case $p in
  4996. - -L* | -R*)
  4997. - # Internal compiler library paths should come after those
  4998. - # provided the user. The postdeps already come after the
  4999. - # user supplied libs so there is no need to process them.
  5000. - if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
  5001. - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  5002. - else
  5003. - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  5004. - fi
  5005. - ;;
  5006. - # The "-l" case would never come before the object being
  5007. - # linked, so don't bother handling this case.
  5008. - esac
  5009. - else
  5010. - if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
  5011. - _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
  5012. - else
  5013. - _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
  5014. - fi
  5015. - fi
  5016. - ;;
  5017. + sysv4*MP*)
  5018. + if test -d /usr/nec; then
  5019. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  5020. + fi
  5021. + ;;
  5022. - *.$objext)
  5023. - # This assumes that the test object file only shows up
  5024. - # once in the compiler output.
  5025. - if test "$p" = "conftest.$objext"; then
  5026. - pre_test_object_deps_done=yes
  5027. - continue
  5028. - fi
  5029. + *)
  5030. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5031. + ;;
  5032. + esac
  5033. + else
  5034. + # PORTME Check for flag to pass linker flags through the system compiler.
  5035. + case $host_os in
  5036. + aix*)
  5037. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5038. + if test "$host_cpu" = ia64; then
  5039. + # AIX 5 now supports IA64 processor
  5040. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5041. + else
  5042. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  5043. + fi
  5044. + ;;
  5045. - if test "$pre_test_object_deps_done" = no; then
  5046. - if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
  5047. - _LT_AC_TAGVAR(predep_objects, $1)="$p"
  5048. - else
  5049. - _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
  5050. - fi
  5051. - else
  5052. - if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
  5053. - _LT_AC_TAGVAR(postdep_objects, $1)="$p"
  5054. - else
  5055. - _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
  5056. - fi
  5057. - fi
  5058. - ;;
  5059. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  5060. + # This hack is so that the source file can tell whether it is being
  5061. + # built for inclusion in a dll (and should export symbols for example).
  5062. + m4_if([$1], [GCJ], [],
  5063. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  5064. + ;;
  5065. - *) ;; # Ignore the rest.
  5066. + hpux9* | hpux10* | hpux11*)
  5067. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5068. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  5069. + # not for PA HP-UX.
  5070. + case $host_cpu in
  5071. + hppa*64*|ia64*)
  5072. + # +Z the default
  5073. + ;;
  5074. + *)
  5075. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  5076. + ;;
  5077. + esac
  5078. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  5079. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  5080. + ;;
  5081. - esac
  5082. - done
  5083. + irix5* | irix6* | nonstopux*)
  5084. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5085. + # PIC (with -KPIC) is the default.
  5086. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5087. + ;;
  5088. - # Clean up.
  5089. - rm -f a.out a.exe
  5090. -else
  5091. - echo "libtool.m4: error: problem compiling $1 test program"
  5092. -fi
  5093. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5094. + case $cc_basename in
  5095. + # old Intel for x86_64 which still supported -KPIC.
  5096. + ecc*)
  5097. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5098. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5099. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  5100. + ;;
  5101. + # icc used to be incompatible with GCC.
  5102. + # ICC 10 doesn't accept -KPIC any more.
  5103. + icc* | ifort*)
  5104. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5105. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  5106. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  5107. + ;;
  5108. + # Lahey Fortran 8.1.
  5109. + lf95*)
  5110. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5111. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  5112. + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  5113. + ;;
  5114. + pgcc* | pgf77* | pgf90* | pgf95*)
  5115. + # Portland Group compilers (*not* the Pentium gcc compiler,
  5116. + # which looks to be a dead project)
  5117. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5118. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  5119. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5120. + ;;
  5121. + ccc*)
  5122. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5123. + # All Alpha code is PIC.
  5124. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5125. + ;;
  5126. + xl*)
  5127. + # IBM XL C 8.0/Fortran 10.1 on PPC
  5128. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5129. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  5130. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  5131. + ;;
  5132. + *)
  5133. + case `$CC -V 2>&1 | sed 5q` in
  5134. + *Sun\ C*)
  5135. + # Sun C 5.9
  5136. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5137. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5138. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5139. + ;;
  5140. + *Sun\ F*)
  5141. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  5142. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5143. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5144. + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  5145. + ;;
  5146. + esac
  5147. + ;;
  5148. + esac
  5149. + ;;
  5150. -$rm -f confest.$objext
  5151. + newsos6)
  5152. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5153. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5154. + ;;
  5155. -_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
  5156. -if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
  5157. - _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  5158. -fi
  5159. + *nto* | *qnx*)
  5160. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  5161. + # it will coredump.
  5162. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  5163. + ;;
  5164. -# PORTME: override above test on systems where it is broken
  5165. -ifelse([$1],[CXX],
  5166. -[case $host_os in
  5167. -interix[[3-9]]*)
  5168. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  5169. - # hack all around it, let's just trust "g++" to DTRT.
  5170. - _LT_AC_TAGVAR(predep_objects,$1)=
  5171. - _LT_AC_TAGVAR(postdep_objects,$1)=
  5172. - _LT_AC_TAGVAR(postdeps,$1)=
  5173. - ;;
  5174. + osf3* | osf4* | osf5*)
  5175. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5176. + # All OSF/1 code is PIC.
  5177. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5178. + ;;
  5179. -linux*)
  5180. - case `$CC -V 2>&1 | sed 5q` in
  5181. - *Sun\ C*)
  5182. - # Sun C++ 5.9
  5183. - #
  5184. - # The more standards-conforming stlport4 library is
  5185. - # incompatible with the Cstd library. Avoid specifying
  5186. - # it if it's in CXXFLAGS. Ignore libCrun as
  5187. - # -library=stlport4 depends on it.
  5188. - case " $CXX $CXXFLAGS " in
  5189. - *" -library=stlport4 "*)
  5190. - solaris_use_stlport4=yes
  5191. + rdos*)
  5192. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  5193. ;;
  5194. - esac
  5195. - if test "$solaris_use_stlport4" != yes; then
  5196. - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  5197. - fi
  5198. - ;;
  5199. - esac
  5200. - ;;
  5201. -solaris*)
  5202. - case $cc_basename in
  5203. - CC*)
  5204. - # The more standards-conforming stlport4 library is
  5205. - # incompatible with the Cstd library. Avoid specifying
  5206. - # it if it's in CXXFLAGS. Ignore libCrun as
  5207. - # -library=stlport4 depends on it.
  5208. - case " $CXX $CXXFLAGS " in
  5209. - *" -library=stlport4 "*)
  5210. - solaris_use_stlport4=yes
  5211. + solaris*)
  5212. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5213. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5214. + case $cc_basename in
  5215. + f77* | f90* | f95*)
  5216. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  5217. + *)
  5218. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  5219. + esac
  5220. ;;
  5221. - esac
  5222. - # Adding this requires a known-good setup of shared libraries for
  5223. - # Sun compiler versions before 5.6, else PIC objects from an old
  5224. - # archive will be linked into the output, leading to subtle bugs.
  5225. - if test "$solaris_use_stlport4" != yes; then
  5226. - _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  5227. - fi
  5228. - ;;
  5229. - esac
  5230. - ;;
  5231. -esac
  5232. -])
  5233. -case " $_LT_AC_TAGVAR(postdeps, $1) " in
  5234. -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  5235. -esac
  5236. -])# AC_LIBTOOL_POSTDEP_PREDEP
  5237. + sunos4*)
  5238. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  5239. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  5240. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5241. + ;;
  5242. -# AC_LIBTOOL_LANG_F77_CONFIG
  5243. -# --------------------------
  5244. -# Ensure that the configuration vars for the C compiler are
  5245. -# suitably defined. Those variables are subsequently used by
  5246. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  5247. -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
  5248. -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
  5249. -[AC_REQUIRE([AC_PROG_F77])
  5250. -AC_LANG_PUSH(Fortran 77)
  5251. + sysv4 | sysv4.2uw2* | sysv4.3*)
  5252. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5253. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5254. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5255. + ;;
  5256. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  5257. -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
  5258. -_LT_AC_TAGVAR(always_export_symbols, $1)=no
  5259. -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  5260. -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  5261. -_LT_AC_TAGVAR(hardcode_direct, $1)=no
  5262. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5263. -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5264. -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  5265. -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  5266. -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
  5267. -_LT_AC_TAGVAR(module_cmds, $1)=
  5268. -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
  5269. -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  5270. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5271. -_LT_AC_TAGVAR(no_undefined_flag, $1)=
  5272. -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  5273. -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5274. + sysv4*MP*)
  5275. + if test -d /usr/nec ;then
  5276. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  5277. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5278. + fi
  5279. + ;;
  5280. -# Source file extension for f77 test sources.
  5281. -ac_ext=f
  5282. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  5283. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5284. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  5285. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5286. + ;;
  5287. -# Object file extension for compiled f77 test sources.
  5288. -objext=o
  5289. -_LT_AC_TAGVAR(objext, $1)=$objext
  5290. -
  5291. -# Code to be used in simple compile tests
  5292. -lt_simple_compile_test_code="\
  5293. - subroutine t
  5294. - return
  5295. - end
  5296. -"
  5297. -
  5298. -# Code to be used in simple link tests
  5299. -lt_simple_link_test_code="\
  5300. - program t
  5301. - end
  5302. -"
  5303. + unicos*)
  5304. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  5305. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5306. + ;;
  5307. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5308. -_LT_AC_SYS_COMPILER
  5309. + uts4*)
  5310. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  5311. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  5312. + ;;
  5313. -# save warnings/boilerplate of simple test code
  5314. -_LT_COMPILER_BOILERPLATE
  5315. -_LT_LINKER_BOILERPLATE
  5316. + *)
  5317. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  5318. + ;;
  5319. + esac
  5320. + fi
  5321. +])
  5322. +case $host_os in
  5323. + # For platforms which do not support PIC, -DPIC is meaningless:
  5324. + *djgpp*)
  5325. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  5326. + ;;
  5327. + *)
  5328. + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  5329. + ;;
  5330. +esac
  5331. +AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  5332. +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  5333. + [How to pass a linker flag through the compiler])
  5334. -# Allow CC to be a program name with arguments.
  5335. -lt_save_CC="$CC"
  5336. -CC=${F77-"f77"}
  5337. -compiler=$CC
  5338. -_LT_AC_TAGVAR(compiler, $1)=$CC
  5339. -_LT_CC_BASENAME([$compiler])
  5340. +#
  5341. +# Check to make sure the PIC flag actually works.
  5342. +#
  5343. +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  5344. + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  5345. + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  5346. + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  5347. + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  5348. + "" | " "*) ;;
  5349. + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  5350. + esac],
  5351. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  5352. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  5353. +fi
  5354. +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  5355. + [Additional compiler flags for building library objects])
  5356. -AC_MSG_CHECKING([if libtool supports shared libraries])
  5357. -AC_MSG_RESULT([$can_build_shared])
  5358. +#
  5359. +# Check to make sure the static flag actually works.
  5360. +#
  5361. +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  5362. +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  5363. + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  5364. + $lt_tmp_static_flag,
  5365. + [],
  5366. + [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  5367. +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  5368. + [Compiler flag to prevent dynamic linking])
  5369. +])# _LT_COMPILER_PIC
  5370. -AC_MSG_CHECKING([whether to build shared libraries])
  5371. -test "$can_build_shared" = "no" && enable_shared=no
  5372. -# On AIX, shared libraries and static libraries use the same namespace, and
  5373. -# are all built from PIC.
  5374. -case $host_os in
  5375. -aix3*)
  5376. - test "$enable_shared" = yes && enable_static=no
  5377. - if test -n "$RANLIB"; then
  5378. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  5379. - postinstall_cmds='$RANLIB $lib'
  5380. - fi
  5381. +# _LT_LINKER_SHLIBS([TAGNAME])
  5382. +# ----------------------------
  5383. +# See if the linker supports building shared libraries.
  5384. +m4_defun([_LT_LINKER_SHLIBS],
  5385. +[AC_REQUIRE([LT_PATH_LD])dnl
  5386. +AC_REQUIRE([LT_PATH_NM])dnl
  5387. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  5388. +m4_require([_LT_DECL_EGREP])dnl
  5389. +m4_require([_LT_DECL_SED])dnl
  5390. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  5391. +m4_require([_LT_TAG_COMPILER])dnl
  5392. +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  5393. +m4_if([$1], [CXX], [
  5394. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5395. + case $host_os in
  5396. + aix[[4-9]]*)
  5397. + # If we're using GNU nm, then we don't want the "-C" option.
  5398. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  5399. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  5400. + _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'
  5401. + else
  5402. + _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'
  5403. + fi
  5404. + ;;
  5405. + pw32*)
  5406. + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  5407. ;;
  5408. -aix[[4-9]]*)
  5409. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  5410. - test "$enable_shared" = yes && enable_static=no
  5411. - fi
  5412. + cygwin* | mingw* | cegcc*)
  5413. + _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'
  5414. ;;
  5415. -esac
  5416. -AC_MSG_RESULT([$enable_shared])
  5417. -
  5418. -AC_MSG_CHECKING([whether to build static libraries])
  5419. -# Make sure either enable_shared or enable_static is yes.
  5420. -test "$enable_shared" = yes || enable_static=yes
  5421. -AC_MSG_RESULT([$enable_static])
  5422. -
  5423. -_LT_AC_TAGVAR(GCC, $1)="$G77"
  5424. -_LT_AC_TAGVAR(LD, $1)="$LD"
  5425. -
  5426. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  5427. -AC_LIBTOOL_PROG_CC_C_O($1)
  5428. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  5429. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  5430. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  5431. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  5432. -
  5433. -AC_LIBTOOL_CONFIG($1)
  5434. -
  5435. -AC_LANG_POP
  5436. -CC="$lt_save_CC"
  5437. -])# AC_LIBTOOL_LANG_F77_CONFIG
  5438. + linux* | k*bsd*-gnu)
  5439. + _LT_TAGVAR(link_all_deplibs, $1)=no
  5440. + ;;
  5441. + *)
  5442. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5443. + ;;
  5444. + esac
  5445. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  5446. +], [
  5447. + runpath_var=
  5448. + _LT_TAGVAR(allow_undefined_flag, $1)=
  5449. + _LT_TAGVAR(always_export_symbols, $1)=no
  5450. + _LT_TAGVAR(archive_cmds, $1)=
  5451. + _LT_TAGVAR(archive_expsym_cmds, $1)=
  5452. + _LT_TAGVAR(compiler_needs_object, $1)=no
  5453. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5454. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  5455. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  5456. + _LT_TAGVAR(hardcode_automatic, $1)=no
  5457. + _LT_TAGVAR(hardcode_direct, $1)=no
  5458. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  5459. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5460. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5461. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  5462. + _LT_TAGVAR(hardcode_minus_L, $1)=no
  5463. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5464. + _LT_TAGVAR(inherit_rpath, $1)=no
  5465. + _LT_TAGVAR(link_all_deplibs, $1)=unknown
  5466. + _LT_TAGVAR(module_cmds, $1)=
  5467. + _LT_TAGVAR(module_expsym_cmds, $1)=
  5468. + _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  5469. + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  5470. + _LT_TAGVAR(thread_safe_flag_spec, $1)=
  5471. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5472. + # include_expsyms should be a list of space-separated symbols to be *always*
  5473. + # included in the symbol list
  5474. + _LT_TAGVAR(include_expsyms, $1)=
  5475. + # exclude_expsyms can be an extended regexp of symbols to exclude
  5476. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  5477. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  5478. + # as well as any symbol that contains `d'.
  5479. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  5480. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  5481. + # platforms (ab)use it in PIC code, but their linkers get confused if
  5482. + # the symbol is explicitly referenced. Since portable code cannot
  5483. + # rely on this symbol name, it's probably fine to never include it in
  5484. + # preloaded symbol tables.
  5485. + # Exclude shared library initialization/finalization symbols.
  5486. +dnl Note also adjust exclude_expsyms for C++ above.
  5487. + extract_expsyms_cmds=
  5488. + case $host_os in
  5489. + cygwin* | mingw* | pw32* | cegcc*)
  5490. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  5491. + # When not using gcc, we currently assume that we are using
  5492. + # Microsoft Visual C++.
  5493. + if test "$GCC" != yes; then
  5494. + with_gnu_ld=no
  5495. + fi
  5496. + ;;
  5497. + interix*)
  5498. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  5499. + with_gnu_ld=yes
  5500. + ;;
  5501. + openbsd*)
  5502. + with_gnu_ld=no
  5503. + ;;
  5504. + linux* | k*bsd*-gnu)
  5505. + _LT_TAGVAR(link_all_deplibs, $1)=no
  5506. + ;;
  5507. + esac
  5508. -# AC_LIBTOOL_LANG_GCJ_CONFIG
  5509. -# --------------------------
  5510. -# Ensure that the configuration vars for the C compiler are
  5511. -# suitably defined. Those variables are subsequently used by
  5512. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  5513. -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
  5514. -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
  5515. -[AC_LANG_SAVE
  5516. + _LT_TAGVAR(ld_shlibs, $1)=yes
  5517. + if test "$with_gnu_ld" = yes; then
  5518. + # If archive_cmds runs LD, not CC, wlarc should be empty
  5519. + wlarc='${wl}'
  5520. -# Source file extension for Java test sources.
  5521. -ac_ext=java
  5522. + # Set some defaults for GNU ld with shared library support. These
  5523. + # are reset later if shared libraries are not supported. Putting them
  5524. + # here allows them to be overridden if necessary.
  5525. + runpath_var=LD_RUN_PATH
  5526. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5527. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5528. + # ancient GNU ld didn't support --whole-archive et. al.
  5529. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  5530. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  5531. + else
  5532. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5533. + fi
  5534. + supports_anon_versioning=no
  5535. + case `$LD -v 2>&1` in
  5536. + *GNU\ gold*) supports_anon_versioning=yes ;;
  5537. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  5538. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  5539. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  5540. + *\ 2.11.*) ;; # other 2.11 versions
  5541. + *) supports_anon_versioning=yes ;;
  5542. + esac
  5543. -# Object file extension for compiled Java test sources.
  5544. -objext=o
  5545. -_LT_AC_TAGVAR(objext, $1)=$objext
  5546. + # See if GNU ld supports shared libraries.
  5547. + case $host_os in
  5548. + aix[[3-9]]*)
  5549. + # On AIX/PPC, the GNU linker is very broken
  5550. + if test "$host_cpu" != ia64; then
  5551. + _LT_TAGVAR(ld_shlibs, $1)=no
  5552. + cat <<_LT_EOF 1>&2
  5553. -# Code to be used in simple compile tests
  5554. -lt_simple_compile_test_code="class foo {}"
  5555. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  5556. +*** to be unable to reliably create shared libraries on AIX.
  5557. +*** Therefore, libtool is disabling shared libraries support. If you
  5558. +*** really care for shared libraries, you may want to modify your PATH
  5559. +*** so that a non-GNU linker is found, and then restart.
  5560. -# Code to be used in simple link tests
  5561. -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  5562. +_LT_EOF
  5563. + fi
  5564. + ;;
  5565. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5566. -_LT_AC_SYS_COMPILER
  5567. + amigaos*)
  5568. + case $host_cpu in
  5569. + powerpc)
  5570. + # see comment about AmigaOS4 .so support
  5571. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5572. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  5573. + ;;
  5574. + m68k)
  5575. + _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)'
  5576. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5577. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5578. + ;;
  5579. + esac
  5580. + ;;
  5581. -# save warnings/boilerplate of simple test code
  5582. -_LT_COMPILER_BOILERPLATE
  5583. -_LT_LINKER_BOILERPLATE
  5584. + beos*)
  5585. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5586. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5587. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  5588. + # support --undefined. This deserves some investigation. FIXME
  5589. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5590. + else
  5591. + _LT_TAGVAR(ld_shlibs, $1)=no
  5592. + fi
  5593. + ;;
  5594. -# Allow CC to be a program name with arguments.
  5595. -lt_save_CC="$CC"
  5596. -CC=${GCJ-"gcj"}
  5597. -compiler=$CC
  5598. -_LT_AC_TAGVAR(compiler, $1)=$CC
  5599. -_LT_CC_BASENAME([$compiler])
  5600. + cygwin* | mingw* | pw32* | cegcc*)
  5601. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  5602. + # as there is no search path for DLLs.
  5603. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5604. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5605. + _LT_TAGVAR(always_export_symbols, $1)=no
  5606. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5607. + _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'
  5608. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  5609. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  5610. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  5611. + _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'
  5612. + # If the export-symbols file already is a .def file (1st line
  5613. + # is EXPORTS), use it as is; otherwise, prepend...
  5614. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  5615. + cp $export_symbols $output_objdir/$soname.def;
  5616. + else
  5617. + echo EXPORTS > $output_objdir/$soname.def;
  5618. + cat $export_symbols >> $output_objdir/$soname.def;
  5619. + fi~
  5620. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5621. + else
  5622. + _LT_TAGVAR(ld_shlibs, $1)=no
  5623. + fi
  5624. + ;;
  5625. -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5626. + interix[[3-9]]*)
  5627. + _LT_TAGVAR(hardcode_direct, $1)=no
  5628. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5629. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5630. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5631. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  5632. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  5633. + # default) and relocated if they conflict, which is a slow very memory
  5634. + # consuming and fragmenting process. To avoid this, we pick a random,
  5635. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  5636. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  5637. + _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'
  5638. + _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'
  5639. + ;;
  5640. -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
  5641. -AC_LIBTOOL_PROG_COMPILER_PIC($1)
  5642. -AC_LIBTOOL_PROG_CC_C_O($1)
  5643. -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
  5644. -AC_LIBTOOL_PROG_LD_SHLIBS($1)
  5645. -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
  5646. -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
  5647. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  5648. + tmp_diet=no
  5649. + if test "$host_os" = linux-dietlibc; then
  5650. + case $cc_basename in
  5651. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  5652. + esac
  5653. + fi
  5654. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  5655. + && test "$tmp_diet" = no
  5656. + then
  5657. + tmp_addflag=
  5658. + tmp_sharedflag='-shared'
  5659. + case $cc_basename,$host_cpu in
  5660. + pgcc*) # Portland Group C compiler
  5661. + _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'
  5662. + tmp_addflag=' $pic_flag'
  5663. + ;;
  5664. + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  5665. + _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'
  5666. + tmp_addflag=' $pic_flag -Mnomain' ;;
  5667. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  5668. + tmp_addflag=' -i_dynamic' ;;
  5669. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  5670. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  5671. + ifc* | ifort*) # Intel Fortran compiler
  5672. + tmp_addflag=' -nofor_main' ;;
  5673. + lf95*) # Lahey Fortran 8.1
  5674. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5675. + tmp_sharedflag='--shared' ;;
  5676. + xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  5677. + tmp_sharedflag='-qmkshrobj'
  5678. + tmp_addflag= ;;
  5679. + esac
  5680. + case `$CC -V 2>&1 | sed 5q` in
  5681. + *Sun\ C*) # Sun C 5.9
  5682. + _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'
  5683. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  5684. + tmp_sharedflag='-G' ;;
  5685. + *Sun\ F*) # Sun Fortran 8.3
  5686. + tmp_sharedflag='-G' ;;
  5687. + esac
  5688. + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5689. -AC_LIBTOOL_CONFIG($1)
  5690. + if test "x$supports_anon_versioning" = xyes; then
  5691. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  5692. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  5693. + echo "local: *; };" >> $output_objdir/$libname.ver~
  5694. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  5695. + fi
  5696. -AC_LANG_RESTORE
  5697. -CC="$lt_save_CC"
  5698. -])# AC_LIBTOOL_LANG_GCJ_CONFIG
  5699. + case $cc_basename in
  5700. + xlf*)
  5701. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  5702. + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  5703. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5704. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  5705. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  5706. + if test "x$supports_anon_versioning" = xyes; then
  5707. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  5708. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  5709. + echo "local: *; };" >> $output_objdir/$libname.ver~
  5710. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  5711. + fi
  5712. + ;;
  5713. + esac
  5714. + else
  5715. + _LT_TAGVAR(ld_shlibs, $1)=no
  5716. + fi
  5717. + ;;
  5718. + netbsd* | netbsdelf*-gnu)
  5719. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  5720. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  5721. + wlarc=
  5722. + else
  5723. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5724. + _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'
  5725. + fi
  5726. + ;;
  5727. -# AC_LIBTOOL_LANG_RC_CONFIG
  5728. -# -------------------------
  5729. -# Ensure that the configuration vars for the Windows resource compiler are
  5730. -# suitably defined. Those variables are subsequently used by
  5731. -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
  5732. -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
  5733. -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
  5734. -[AC_LANG_SAVE
  5735. + solaris*)
  5736. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  5737. + _LT_TAGVAR(ld_shlibs, $1)=no
  5738. + cat <<_LT_EOF 1>&2
  5739. -# Source file extension for RC test sources.
  5740. -ac_ext=rc
  5741. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  5742. +*** create shared libraries on Solaris systems. Therefore, libtool
  5743. +*** is disabling shared libraries support. We urge you to upgrade GNU
  5744. +*** binutils to release 2.9.1 or newer. Another option is to modify
  5745. +*** your PATH or compiler configuration so that the native linker is
  5746. +*** used, and then restart.
  5747. -# Object file extension for compiled RC test sources.
  5748. -objext=o
  5749. -_LT_AC_TAGVAR(objext, $1)=$objext
  5750. +_LT_EOF
  5751. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5752. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5753. + _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'
  5754. + else
  5755. + _LT_TAGVAR(ld_shlibs, $1)=no
  5756. + fi
  5757. + ;;
  5758. -# Code to be used in simple compile tests
  5759. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  5760. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  5761. + case `$LD -v 2>&1` in
  5762. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  5763. + _LT_TAGVAR(ld_shlibs, $1)=no
  5764. + cat <<_LT_EOF 1>&2
  5765. -# Code to be used in simple link tests
  5766. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  5767. -
  5768. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5769. -_LT_AC_SYS_COMPILER
  5770. -
  5771. -# save warnings/boilerplate of simple test code
  5772. -_LT_COMPILER_BOILERPLATE
  5773. -_LT_LINKER_BOILERPLATE
  5774. -
  5775. -# Allow CC to be a program name with arguments.
  5776. -lt_save_CC="$CC"
  5777. -CC=${RC-"windres"}
  5778. -compiler=$CC
  5779. -_LT_AC_TAGVAR(compiler, $1)=$CC
  5780. -_LT_CC_BASENAME([$compiler])
  5781. -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  5782. -
  5783. -AC_LIBTOOL_CONFIG($1)
  5784. -
  5785. -AC_LANG_RESTORE
  5786. -CC="$lt_save_CC"
  5787. -])# AC_LIBTOOL_LANG_RC_CONFIG
  5788. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  5789. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  5790. +*** is disabling shared libraries support. We urge you to upgrade GNU
  5791. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  5792. +*** your PATH or compiler configuration so that the native linker is
  5793. +*** used, and then restart.
  5794. +_LT_EOF
  5795. + ;;
  5796. + *)
  5797. + # For security reasons, it is highly recommended that you always
  5798. + # use absolute paths for naming shared libraries, and exclude the
  5799. + # DT_RUNPATH tag from executables and libraries. But doing so
  5800. + # requires that you compile everything twice, which is a pain.
  5801. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5802. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5803. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5804. + _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'
  5805. + else
  5806. + _LT_TAGVAR(ld_shlibs, $1)=no
  5807. + fi
  5808. + ;;
  5809. + esac
  5810. + ;;
  5811. -# AC_LIBTOOL_CONFIG([TAGNAME])
  5812. -# ----------------------------
  5813. -# If TAGNAME is not passed, then create an initial libtool script
  5814. -# with a default configuration from the untagged config vars. Otherwise
  5815. -# add code to config.status for appending the configuration named by
  5816. -# TAGNAME from the matching tagged config vars.
  5817. -AC_DEFUN([AC_LIBTOOL_CONFIG],
  5818. -[# The else clause should only fire when bootstrapping the
  5819. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  5820. -# with your package, and you will get complaints that there are
  5821. -# no rules to generate ltmain.sh.
  5822. -if test -f "$ltmain"; then
  5823. - # See if we are running on zsh, and set the options which allow our commands through
  5824. - # without removal of \ escapes.
  5825. - if test -n "${ZSH_VERSION+set}" ; then
  5826. - setopt NO_GLOB_SUBST
  5827. - fi
  5828. - # Now quote all the things that may contain metacharacters while being
  5829. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  5830. - # variables and quote the copies for generation of the libtool script.
  5831. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  5832. - SED SHELL STRIP \
  5833. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  5834. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  5835. - deplibs_check_method reload_flag reload_cmds need_locks \
  5836. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  5837. - lt_cv_sys_global_symbol_to_c_name_address \
  5838. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  5839. - old_postinstall_cmds old_postuninstall_cmds \
  5840. - _LT_AC_TAGVAR(compiler, $1) \
  5841. - _LT_AC_TAGVAR(CC, $1) \
  5842. - _LT_AC_TAGVAR(LD, $1) \
  5843. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
  5844. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
  5845. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
  5846. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
  5847. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
  5848. - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
  5849. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
  5850. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
  5851. - _LT_AC_TAGVAR(old_archive_cmds, $1) \
  5852. - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
  5853. - _LT_AC_TAGVAR(predep_objects, $1) \
  5854. - _LT_AC_TAGVAR(postdep_objects, $1) \
  5855. - _LT_AC_TAGVAR(predeps, $1) \
  5856. - _LT_AC_TAGVAR(postdeps, $1) \
  5857. - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
  5858. - _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
  5859. - _LT_AC_TAGVAR(archive_cmds, $1) \
  5860. - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
  5861. - _LT_AC_TAGVAR(postinstall_cmds, $1) \
  5862. - _LT_AC_TAGVAR(postuninstall_cmds, $1) \
  5863. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
  5864. - _LT_AC_TAGVAR(allow_undefined_flag, $1) \
  5865. - _LT_AC_TAGVAR(no_undefined_flag, $1) \
  5866. - _LT_AC_TAGVAR(export_symbols_cmds, $1) \
  5867. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
  5868. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
  5869. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
  5870. - _LT_AC_TAGVAR(hardcode_automatic, $1) \
  5871. - _LT_AC_TAGVAR(module_cmds, $1) \
  5872. - _LT_AC_TAGVAR(module_expsym_cmds, $1) \
  5873. - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
  5874. - _LT_AC_TAGVAR(fix_srcfile_path, $1) \
  5875. - _LT_AC_TAGVAR(exclude_expsyms, $1) \
  5876. - _LT_AC_TAGVAR(include_expsyms, $1); do
  5877. -
  5878. - case $var in
  5879. - _LT_AC_TAGVAR(old_archive_cmds, $1) | \
  5880. - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
  5881. - _LT_AC_TAGVAR(archive_cmds, $1) | \
  5882. - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
  5883. - _LT_AC_TAGVAR(module_cmds, $1) | \
  5884. - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
  5885. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
  5886. - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
  5887. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  5888. - postinstall_cmds | postuninstall_cmds | \
  5889. - old_postinstall_cmds | old_postuninstall_cmds | \
  5890. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  5891. - # Double-quote double-evaled strings.
  5892. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  5893. + sunos4*)
  5894. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  5895. + wlarc=
  5896. + _LT_TAGVAR(hardcode_direct, $1)=yes
  5897. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5898. ;;
  5899. +
  5900. *)
  5901. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  5902. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5903. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5904. + _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'
  5905. + else
  5906. + _LT_TAGVAR(ld_shlibs, $1)=no
  5907. + fi
  5908. ;;
  5909. esac
  5910. - done
  5911. -
  5912. - case $lt_echo in
  5913. - *'\[$]0 --fallback-echo"')
  5914. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
  5915. - ;;
  5916. - esac
  5917. -
  5918. -ifelse([$1], [],
  5919. - [cfgfile="${ofile}T"
  5920. - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  5921. - $rm -f "$cfgfile"
  5922. - AC_MSG_NOTICE([creating $ofile])],
  5923. - [cfgfile="$ofile"])
  5924. -
  5925. - cat <<__EOF__ >> "$cfgfile"
  5926. -ifelse([$1], [],
  5927. -[#! $SHELL
  5928. -
  5929. -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  5930. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  5931. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  5932. -#
  5933. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  5934. -# Free Software Foundation, Inc.
  5935. -#
  5936. -# This file is part of GNU Libtool:
  5937. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  5938. -#
  5939. -# This program is free software; you can redistribute it and/or modify
  5940. -# it under the terms of the GNU General Public License as published by
  5941. -# the Free Software Foundation; either version 2 of the License, or
  5942. -# (at your option) any later version.
  5943. -#
  5944. -# This program is distributed in the hope that it will be useful, but
  5945. -# WITHOUT ANY WARRANTY; without even the implied warranty of
  5946. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  5947. -# General Public License for more details.
  5948. -#
  5949. -# You should have received a copy of the GNU General Public License
  5950. -# along with this program; if not, write to the Free Software
  5951. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  5952. -#
  5953. -# As a special exception to the GNU General Public License, if you
  5954. -# distribute this file as part of a program that contains a
  5955. -# configuration script generated by Autoconf, you may include it under
  5956. -# the same distribution terms that you use for the rest of that program.
  5957. -
  5958. -# A sed program that does not truncate output.
  5959. -SED=$lt_SED
  5960. -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  5961. -Xsed="$SED -e 1s/^X//"
  5962. + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  5963. + runpath_var=
  5964. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5965. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  5966. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5967. + fi
  5968. + else
  5969. + # PORTME fill in a description of your system's linker (not GNU ld)
  5970. + case $host_os in
  5971. + aix3*)
  5972. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5973. + _LT_TAGVAR(always_export_symbols, $1)=yes
  5974. + _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'
  5975. + # Note: this linker hardcodes the directories in LIBPATH if there
  5976. + # are no directories specified by -L.
  5977. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5978. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  5979. + # Neither direct hardcoding nor static linking is supported with a
  5980. + # broken collect2.
  5981. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  5982. + fi
  5983. + ;;
  5984. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  5985. -# if CDPATH is set.
  5986. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  5987. + aix[[4-9]]*)
  5988. + if test "$host_cpu" = ia64; then
  5989. + # On IA64, the linker does run time linking by default, so we don't
  5990. + # have to do anything special.
  5991. + aix_use_runtimelinking=no
  5992. + exp_sym_flag='-Bexport'
  5993. + no_entry_flag=""
  5994. + else
  5995. + # If we're using GNU nm, then we don't want the "-C" option.
  5996. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  5997. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  5998. + _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'
  5999. + else
  6000. + _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'
  6001. + fi
  6002. + aix_use_runtimelinking=no
  6003. -# The names of the tagged configurations supported by this script.
  6004. -available_tags=
  6005. + # Test if we are trying to use run time linking or normal
  6006. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  6007. + # need to do runtime linking.
  6008. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  6009. + for ld_flag in $LDFLAGS; do
  6010. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  6011. + aix_use_runtimelinking=yes
  6012. + break
  6013. + fi
  6014. + done
  6015. + ;;
  6016. + esac
  6017. -# ### BEGIN LIBTOOL CONFIG],
  6018. -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
  6019. + exp_sym_flag='-bexport'
  6020. + no_entry_flag='-bnoentry'
  6021. + fi
  6022. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  6023. + # When large executables or shared objects are built, AIX ld can
  6024. + # have problems creating the table of contents. If linking a library
  6025. + # or program results in "error TOC overflow" add -mminimal-toc to
  6026. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  6027. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  6028. -# Shell to use when invoking shell scripts.
  6029. -SHELL=$lt_SHELL
  6030. + _LT_TAGVAR(archive_cmds, $1)=''
  6031. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6032. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6033. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6034. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6035. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  6036. -# Whether or not to build shared libraries.
  6037. -build_libtool_libs=$enable_shared
  6038. + if test "$GCC" = yes; then
  6039. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  6040. + # We only want to do this on AIX 4.2 and lower, the check
  6041. + # below for broken collect2 doesn't work under 4.3+
  6042. + collect2name=`${CC} -print-prog-name=collect2`
  6043. + if test -f "$collect2name" &&
  6044. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  6045. + then
  6046. + # We have reworked collect2
  6047. + :
  6048. + else
  6049. + # We have old collect2
  6050. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  6051. + # It fails to find uninstalled libraries when the uninstalled
  6052. + # path is not listed in the libpath. Setting hardcode_minus_L
  6053. + # to unsupported forces relinking
  6054. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6055. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6056. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  6057. + fi
  6058. + ;;
  6059. + esac
  6060. + shared_flag='-shared'
  6061. + if test "$aix_use_runtimelinking" = yes; then
  6062. + shared_flag="$shared_flag "'${wl}-G'
  6063. + fi
  6064. + _LT_TAGVAR(link_all_deplibs, $1)=no
  6065. + else
  6066. + # not using gcc
  6067. + if test "$host_cpu" = ia64; then
  6068. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  6069. + # chokes on -Wl,-G. The following line is correct:
  6070. + shared_flag='-G'
  6071. + else
  6072. + if test "$aix_use_runtimelinking" = yes; then
  6073. + shared_flag='${wl}-G'
  6074. + else
  6075. + shared_flag='${wl}-bM:SRE'
  6076. + fi
  6077. + fi
  6078. + fi
  6079. -# Whether or not to build static libraries.
  6080. -build_old_libs=$enable_static
  6081. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  6082. + # It seems that -bexpall does not export symbols beginning with
  6083. + # underscore (_), so it is better to generate a list of symbols to export.
  6084. + _LT_TAGVAR(always_export_symbols, $1)=yes
  6085. + if test "$aix_use_runtimelinking" = yes; then
  6086. + # Warning - without using the other runtime loading flags (-brtl),
  6087. + # -berok will link without error, but may produce a broken library.
  6088. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  6089. + # Determine the default libpath from the value encoded in an
  6090. + # empty executable.
  6091. + _LT_SYS_MODULE_PATH_AIX
  6092. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  6093. + _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"
  6094. + else
  6095. + if test "$host_cpu" = ia64; then
  6096. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  6097. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  6098. + _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"
  6099. + else
  6100. + # Determine the default libpath from the value encoded in an
  6101. + # empty executable.
  6102. + _LT_SYS_MODULE_PATH_AIX
  6103. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  6104. + # Warning - without using the other run time loading flags,
  6105. + # -berok will link without error, but may produce a broken library.
  6106. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  6107. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  6108. + # Exported symbols can be pulled into shared objects from archives
  6109. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  6110. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  6111. + # This is similar to how AIX traditionally builds its shared libraries.
  6112. + _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'
  6113. + fi
  6114. + fi
  6115. + ;;
  6116. -# Whether or not to add -lc for building shared libraries.
  6117. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
  6118. + amigaos*)
  6119. + case $host_cpu in
  6120. + powerpc)
  6121. + # see comment about AmigaOS4 .so support
  6122. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6123. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  6124. + ;;
  6125. + m68k)
  6126. + _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)'
  6127. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6128. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6129. + ;;
  6130. + esac
  6131. + ;;
  6132. -# Whether or not to disallow shared libs when runtime libs are static
  6133. -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
  6134. + bsdi[[45]]*)
  6135. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  6136. + ;;
  6137. -# Whether or not to optimize for fast installation.
  6138. -fast_install=$enable_fast_install
  6139. + cygwin* | mingw* | pw32* | cegcc*)
  6140. + # When not using gcc, we currently assume that we are using
  6141. + # Microsoft Visual C++.
  6142. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  6143. + # no search path for DLLs.
  6144. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  6145. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  6146. + # Tell ltmain to make .lib files, not .a files.
  6147. + libext=lib
  6148. + # Tell ltmain to make .dll files, not .so files.
  6149. + shrext_cmds=".dll"
  6150. + # FIXME: Setting linknames here is a bad hack.
  6151. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  6152. + # The linker will automatically build a .lib file if we build a DLL.
  6153. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  6154. + # FIXME: Should let the user specify the lib program.
  6155. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  6156. + _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  6157. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  6158. + ;;
  6159. -# The host system.
  6160. -host_alias=$host_alias
  6161. -host=$host
  6162. -host_os=$host_os
  6163. + darwin* | rhapsody*)
  6164. + _LT_DARWIN_LINKER_FEATURES($1)
  6165. + ;;
  6166. -# The build system.
  6167. -build_alias=$build_alias
  6168. -build=$build
  6169. -build_os=$build_os
  6170. + dgux*)
  6171. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6172. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6173. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6174. + ;;
  6175. -# An echo program that does not interpret backslashes.
  6176. -echo=$lt_echo
  6177. + freebsd1*)
  6178. + _LT_TAGVAR(ld_shlibs, $1)=no
  6179. + ;;
  6180. -# The archiver.
  6181. -AR=$lt_AR
  6182. -AR_FLAGS=$lt_AR_FLAGS
  6183. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  6184. + # support. Future versions do this automatically, but an explicit c++rt0.o
  6185. + # does not break anything, and helps significantly (at the cost of a little
  6186. + # extra space).
  6187. + freebsd2.2*)
  6188. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  6189. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6190. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6191. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6192. + ;;
  6193. -# A C compiler.
  6194. -LTCC=$lt_LTCC
  6195. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  6196. + freebsd2*)
  6197. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  6198. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6199. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6200. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6201. + ;;
  6202. -# LTCC compiler flags.
  6203. -LTCFLAGS=$lt_LTCFLAGS
  6204. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  6205. + freebsd* | dragonfly*)
  6206. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  6207. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6208. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6209. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6210. + ;;
  6211. -# A language-specific compiler.
  6212. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
  6213. + hpux9*)
  6214. + if test "$GCC" = yes; then
  6215. + _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'
  6216. + else
  6217. + _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'
  6218. + fi
  6219. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  6220. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6221. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6222. -# Is the compiler the GNU C compiler?
  6223. -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
  6224. + # hardcode_minus_L: Not really in the search PATH,
  6225. + # but as the default location of the library.
  6226. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6227. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6228. + ;;
  6229. -# An ERE matcher.
  6230. -EGREP=$lt_EGREP
  6231. + hpux10*)
  6232. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  6233. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  6234. + else
  6235. + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  6236. + fi
  6237. + if test "$with_gnu_ld" = no; then
  6238. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  6239. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  6240. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6241. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6242. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6243. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6244. + # hardcode_minus_L: Not really in the search PATH,
  6245. + # but as the default location of the library.
  6246. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6247. + fi
  6248. + ;;
  6249. -# The linker used to build libraries.
  6250. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
  6251. + hpux11*)
  6252. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  6253. + case $host_cpu in
  6254. + hppa*64*)
  6255. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6256. + ;;
  6257. + ia64*)
  6258. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  6259. + ;;
  6260. + *)
  6261. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  6262. + ;;
  6263. + esac
  6264. + else
  6265. + case $host_cpu in
  6266. + hppa*64*)
  6267. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6268. + ;;
  6269. + ia64*)
  6270. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  6271. + ;;
  6272. + *)
  6273. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  6274. + ;;
  6275. + esac
  6276. + fi
  6277. + if test "$with_gnu_ld" = no; then
  6278. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  6279. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6280. -# Whether we need hard or soft links.
  6281. -LN_S=$lt_LN_S
  6282. + case $host_cpu in
  6283. + hppa*64*|ia64*)
  6284. + _LT_TAGVAR(hardcode_direct, $1)=no
  6285. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6286. + ;;
  6287. + *)
  6288. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6289. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6290. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6291. -# A BSD-compatible nm program.
  6292. -NM=$lt_NM
  6293. + # hardcode_minus_L: Not really in the search PATH,
  6294. + # but as the default location of the library.
  6295. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6296. + ;;
  6297. + esac
  6298. + fi
  6299. + ;;
  6300. -# A symbol stripping program
  6301. -STRIP=$lt_STRIP
  6302. + irix5* | irix6* | nonstopux*)
  6303. + if test "$GCC" = yes; then
  6304. + _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'
  6305. + # Try to use the -exported_symbol ld option, if it does not
  6306. + # work, assume that -exports_file does not work either and
  6307. + # implicitly export all symbols.
  6308. + save_LDFLAGS="$LDFLAGS"
  6309. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  6310. + AC_LINK_IFELSE(int foo(void) {},
  6311. + _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'
  6312. + )
  6313. + LDFLAGS="$save_LDFLAGS"
  6314. + else
  6315. + _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'
  6316. + _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'
  6317. + fi
  6318. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  6319. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6320. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6321. + _LT_TAGVAR(inherit_rpath, $1)=yes
  6322. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6323. + ;;
  6324. -# Used to examine libraries when file_magic_cmd begins "file"
  6325. -MAGIC_CMD=$MAGIC_CMD
  6326. + netbsd* | netbsdelf*-gnu)
  6327. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  6328. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  6329. + else
  6330. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  6331. + fi
  6332. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6333. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6334. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6335. + ;;
  6336. -# Used on cygwin: DLL creation program.
  6337. -DLLTOOL="$DLLTOOL"
  6338. + newsos6)
  6339. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6340. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6341. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6342. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6343. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6344. + ;;
  6345. -# Used on cygwin: object dumper.
  6346. -OBJDUMP="$OBJDUMP"
  6347. + *nto* | *qnx*)
  6348. + ;;
  6349. -# Used on cygwin: assembler.
  6350. -AS="$AS"
  6351. -
  6352. -# The name of the directory that contains temporary libtool files.
  6353. -objdir=$objdir
  6354. -
  6355. -# How to create reloadable object files.
  6356. -reload_flag=$lt_reload_flag
  6357. -reload_cmds=$lt_reload_cmds
  6358. -
  6359. -# How to pass a linker flag through the compiler.
  6360. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  6361. -
  6362. -# Object file suffix (normally "o").
  6363. -objext="$ac_objext"
  6364. -
  6365. -# Old archive suffix (normally "a").
  6366. -libext="$libext"
  6367. + openbsd*)
  6368. + if test -f /usr/libexec/ld.so; then
  6369. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6370. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6371. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6372. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6373. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  6374. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  6375. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6376. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6377. + else
  6378. + case $host_os in
  6379. + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  6380. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  6381. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6382. + ;;
  6383. + *)
  6384. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  6385. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6386. + ;;
  6387. + esac
  6388. + fi
  6389. + else
  6390. + _LT_TAGVAR(ld_shlibs, $1)=no
  6391. + fi
  6392. + ;;
  6393. -# Shared library suffix (normally ".so").
  6394. -shrext_cmds='$shrext_cmds'
  6395. + os2*)
  6396. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6397. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6398. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  6399. + _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'
  6400. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  6401. + ;;
  6402. -# Executable file suffix (normally "").
  6403. -exeext="$exeext"
  6404. + osf3*)
  6405. + if test "$GCC" = yes; then
  6406. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6407. + _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'
  6408. + else
  6409. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6410. + _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'
  6411. + fi
  6412. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  6413. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6414. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6415. + ;;
  6416. -# Additional compiler flags for building library objects.
  6417. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  6418. -pic_mode=$pic_mode
  6419. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  6420. + if test "$GCC" = yes; then
  6421. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6422. + _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'
  6423. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6424. + else
  6425. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6426. + _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'
  6427. + _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~
  6428. + $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'
  6429. -# What is the maximum length of a command?
  6430. -max_cmd_len=$lt_cv_sys_max_cmd_len
  6431. + # Both c and cxx compiler support -rpath directly
  6432. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  6433. + fi
  6434. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  6435. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6436. + ;;
  6437. -# Does compiler simultaneously support -c and -o options?
  6438. -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
  6439. + solaris*)
  6440. + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  6441. + if test "$GCC" = yes; then
  6442. + wlarc='${wl}'
  6443. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  6444. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6445. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  6446. + else
  6447. + case `$CC -V 2>&1` in
  6448. + *"Compilers 5.0"*)
  6449. + wlarc=''
  6450. + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6451. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6452. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  6453. + ;;
  6454. + *)
  6455. + wlarc='${wl}'
  6456. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  6457. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6458. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  6459. + ;;
  6460. + esac
  6461. + fi
  6462. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6463. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6464. + case $host_os in
  6465. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6466. + *)
  6467. + # The compiler driver will combine and reorder linker options,
  6468. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  6469. + # but is careful enough not to reorder.
  6470. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  6471. + if test "$GCC" = yes; then
  6472. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  6473. + else
  6474. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  6475. + fi
  6476. + ;;
  6477. + esac
  6478. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6479. + ;;
  6480. -# Must we lock files when doing compilation?
  6481. -need_locks=$lt_need_locks
  6482. + sunos4*)
  6483. + if test "x$host_vendor" = xsequent; then
  6484. + # Use $CC to link under sequent, because it throws in some extra .o
  6485. + # files that make .init and .fini sections work.
  6486. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  6487. + else
  6488. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  6489. + fi
  6490. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6491. + _LT_TAGVAR(hardcode_direct, $1)=yes
  6492. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  6493. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6494. + ;;
  6495. -# Do we need the lib prefix for modules?
  6496. -need_lib_prefix=$need_lib_prefix
  6497. + sysv4)
  6498. + case $host_vendor in
  6499. + sni)
  6500. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6501. + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  6502. + ;;
  6503. + siemens)
  6504. + ## LD is ld it makes a PLAMLIB
  6505. + ## CC just makes a GrossModule.
  6506. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  6507. + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  6508. + _LT_TAGVAR(hardcode_direct, $1)=no
  6509. + ;;
  6510. + motorola)
  6511. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6512. + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  6513. + ;;
  6514. + esac
  6515. + runpath_var='LD_RUN_PATH'
  6516. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6517. + ;;
  6518. -# Do we need a version for libraries?
  6519. -need_version=$need_version
  6520. + sysv4.3*)
  6521. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6522. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6523. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  6524. + ;;
  6525. -# Whether dlopen is supported.
  6526. -dlopen_support=$enable_dlopen
  6527. + sysv4*MP*)
  6528. + if test -d /usr/nec; then
  6529. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6530. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6531. + runpath_var=LD_RUN_PATH
  6532. + hardcode_runpath_var=yes
  6533. + _LT_TAGVAR(ld_shlibs, $1)=yes
  6534. + fi
  6535. + ;;
  6536. -# Whether dlopen of programs is supported.
  6537. -dlopen_self=$enable_dlopen_self
  6538. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  6539. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6540. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6541. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6542. + runpath_var='LD_RUN_PATH'
  6543. -# Whether dlopen of statically linked programs is supported.
  6544. -dlopen_self_static=$enable_dlopen_self_static
  6545. + if test "$GCC" = yes; then
  6546. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6547. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6548. + else
  6549. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6550. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6551. + fi
  6552. + ;;
  6553. -# Compiler flag to prevent dynamic linking.
  6554. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
  6555. + sysv5* | sco3.2v5* | sco5v6*)
  6556. + # Note: We can NOT use -z defs as we might desire, because we do not
  6557. + # link with -lc, and that would cause any symbols used from libc to
  6558. + # always be unresolved, which means just about no library would
  6559. + # ever link correctly. If we're not using GNU ld we use -z text
  6560. + # though, which does catch some bad symbols but isn't as heavy-handed
  6561. + # as -z defs.
  6562. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6563. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  6564. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6565. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6566. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  6567. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6568. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  6569. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  6570. + runpath_var='LD_RUN_PATH'
  6571. -# Compiler flag to turn off builtin functions.
  6572. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
  6573. + if test "$GCC" = yes; then
  6574. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6575. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6576. + else
  6577. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6578. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6579. + fi
  6580. + ;;
  6581. -# Compiler flag to allow reflexive dlopens.
  6582. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
  6583. + uts4*)
  6584. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  6585. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  6586. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6587. + ;;
  6588. -# Compiler flag to generate shared objects directly from archives.
  6589. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
  6590. + *)
  6591. + _LT_TAGVAR(ld_shlibs, $1)=no
  6592. + ;;
  6593. + esac
  6594. -# Compiler flag to generate thread-safe objects.
  6595. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
  6596. + if test x$host_vendor = xsni; then
  6597. + case $host in
  6598. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  6599. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  6600. + ;;
  6601. + esac
  6602. + fi
  6603. + fi
  6604. +])
  6605. +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  6606. +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  6607. -# Library versioning type.
  6608. -version_type=$version_type
  6609. +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  6610. -# Format of library name prefix.
  6611. -libname_spec=$lt_libname_spec
  6612. +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  6613. +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  6614. +_LT_DECL([], [extract_expsyms_cmds], [2],
  6615. + [The commands to extract the exported symbol list from a shared archive])
  6616. -# List of archive names. First name is the real one, the rest are links.
  6617. -# The last name is the one that the linker finds with -lNAME.
  6618. -library_names_spec=$lt_library_names_spec
  6619. +#
  6620. +# Do we need to explicitly link libc?
  6621. +#
  6622. +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  6623. +x|xyes)
  6624. + # Assume -lc should be added
  6625. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  6626. -# The coded name of the library, if different from the real name.
  6627. -soname_spec=$lt_soname_spec
  6628. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  6629. + case $_LT_TAGVAR(archive_cmds, $1) in
  6630. + *'~'*)
  6631. + # FIXME: we may have to deal with multi-command sequences.
  6632. + ;;
  6633. + '$CC '*)
  6634. + # Test whether the compiler implicitly links with -lc since on some
  6635. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  6636. + # to ld, don't add -lc before -lgcc.
  6637. + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  6638. + $RM conftest*
  6639. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  6640. -# Commands used to build and install an old-style archive.
  6641. -RANLIB=$lt_RANLIB
  6642. -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
  6643. -old_postinstall_cmds=$lt_old_postinstall_cmds
  6644. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  6645. + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  6646. + soname=conftest
  6647. + lib=conftest
  6648. + libobjs=conftest.$ac_objext
  6649. + deplibs=
  6650. + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  6651. + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  6652. + compiler_flags=-v
  6653. + linker_flags=-v
  6654. + verstring=
  6655. + output_objdir=.
  6656. + libname=conftest
  6657. + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  6658. + _LT_TAGVAR(allow_undefined_flag, $1)=
  6659. + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  6660. + then
  6661. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6662. + else
  6663. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  6664. + fi
  6665. + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  6666. + else
  6667. + cat conftest.err 1>&5
  6668. + fi
  6669. + $RM conftest*
  6670. + AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  6671. + ;;
  6672. + esac
  6673. + fi
  6674. + ;;
  6675. +esac
  6676. -# Create an old-style archive from a shared archive.
  6677. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
  6678. +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  6679. + [Whether or not to add -lc for building shared libraries])
  6680. +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  6681. + [enable_shared_with_static_runtimes], [0],
  6682. + [Whether or not to disallow shared libs when runtime libs are static])
  6683. +_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  6684. + [Compiler flag to allow reflexive dlopens])
  6685. +_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  6686. + [Compiler flag to generate shared objects directly from archives])
  6687. +_LT_TAGDECL([], [compiler_needs_object], [1],
  6688. + [Whether the compiler copes with passing no objects directly])
  6689. +_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  6690. + [Create an old-style archive from a shared archive])
  6691. +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  6692. + [Create a temporary old-style archive to link instead of a shared archive])
  6693. +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  6694. +_LT_TAGDECL([], [archive_expsym_cmds], [2])
  6695. +_LT_TAGDECL([], [module_cmds], [2],
  6696. + [Commands used to build a loadable module if different from building
  6697. + a shared archive.])
  6698. +_LT_TAGDECL([], [module_expsym_cmds], [2])
  6699. +_LT_TAGDECL([], [with_gnu_ld], [1],
  6700. + [Whether we are building with GNU ld or not])
  6701. +_LT_TAGDECL([], [allow_undefined_flag], [1],
  6702. + [Flag that allows shared libraries with undefined symbols to be built])
  6703. +_LT_TAGDECL([], [no_undefined_flag], [1],
  6704. + [Flag that enforces no undefined symbols])
  6705. +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  6706. + [Flag to hardcode $libdir into a binary during linking.
  6707. + This must work even if $libdir does not exist])
  6708. +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  6709. + [[If ld is used when linking, flag to hardcode $libdir into a binary
  6710. + during linking. This must work even if $libdir does not exist]])
  6711. +_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  6712. + [Whether we need a single "-rpath" flag with a separated argument])
  6713. +_LT_TAGDECL([], [hardcode_direct], [0],
  6714. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  6715. + DIR into the resulting binary])
  6716. +_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  6717. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  6718. + DIR into the resulting binary and the resulting library dependency is
  6719. + "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  6720. + library is relocated])
  6721. +_LT_TAGDECL([], [hardcode_minus_L], [0],
  6722. + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  6723. + into the resulting binary])
  6724. +_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  6725. + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  6726. + into the resulting binary])
  6727. +_LT_TAGDECL([], [hardcode_automatic], [0],
  6728. + [Set to "yes" if building a shared library automatically hardcodes DIR
  6729. + into the library and all subsequent libraries and executables linked
  6730. + against it])
  6731. +_LT_TAGDECL([], [inherit_rpath], [0],
  6732. + [Set to yes if linker adds runtime paths of dependent libraries
  6733. + to runtime path list])
  6734. +_LT_TAGDECL([], [link_all_deplibs], [0],
  6735. + [Whether libtool must link a program against all its dependency libraries])
  6736. +_LT_TAGDECL([], [fix_srcfile_path], [1],
  6737. + [Fix the shell variable $srcfile for the compiler])
  6738. +_LT_TAGDECL([], [always_export_symbols], [0],
  6739. + [Set to "yes" if exported symbols are required])
  6740. +_LT_TAGDECL([], [export_symbols_cmds], [2],
  6741. + [The commands to list exported symbols])
  6742. +_LT_TAGDECL([], [exclude_expsyms], [1],
  6743. + [Symbols that should not be listed in the preloaded symbols])
  6744. +_LT_TAGDECL([], [include_expsyms], [1],
  6745. + [Symbols that must always be exported])
  6746. +_LT_TAGDECL([], [prelink_cmds], [2],
  6747. + [Commands necessary for linking programs (against libraries) with templates])
  6748. +_LT_TAGDECL([], [file_list_spec], [1],
  6749. + [Specify filename containing input files])
  6750. +dnl FIXME: Not yet implemented
  6751. +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  6752. +dnl [Compiler flag to generate thread safe objects])
  6753. +])# _LT_LINKER_SHLIBS
  6754. -# Create a temporary old-style archive to link instead of a shared archive.
  6755. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
  6756. -# Commands used to build and install a shared archive.
  6757. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
  6758. -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
  6759. -postinstall_cmds=$lt_postinstall_cmds
  6760. -postuninstall_cmds=$lt_postuninstall_cmds
  6761. +# _LT_LANG_C_CONFIG([TAG])
  6762. +# ------------------------
  6763. +# Ensure that the configuration variables for a C compiler are suitably
  6764. +# defined. These variables are subsequently used by _LT_CONFIG to write
  6765. +# the compiler configuration to `libtool'.
  6766. +m4_defun([_LT_LANG_C_CONFIG],
  6767. +[m4_require([_LT_DECL_EGREP])dnl
  6768. +lt_save_CC="$CC"
  6769. +AC_LANG_PUSH(C)
  6770. -# Commands used to build a loadable module (assumed same as above if empty)
  6771. -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
  6772. -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
  6773. +# Source file extension for C test sources.
  6774. +ac_ext=c
  6775. -# Commands to strip libraries.
  6776. -old_striplib=$lt_old_striplib
  6777. -striplib=$lt_striplib
  6778. +# Object file extension for compiled C test sources.
  6779. +objext=o
  6780. +_LT_TAGVAR(objext, $1)=$objext
  6781. -# Dependencies to place before the objects being linked to create a
  6782. -# shared library.
  6783. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
  6784. +# Code to be used in simple compile tests
  6785. +lt_simple_compile_test_code="int some_variable = 0;"
  6786. -# Dependencies to place after the objects being linked to create a
  6787. -# shared library.
  6788. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
  6789. +# Code to be used in simple link tests
  6790. +lt_simple_link_test_code='int main(){return(0);}'
  6791. -# Dependencies to place before the objects being linked to create a
  6792. -# shared library.
  6793. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
  6794. +_LT_TAG_COMPILER
  6795. +# Save the default compiler, since it gets overwritten when the other
  6796. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  6797. +compiler_DEFAULT=$CC
  6798. -# Dependencies to place after the objects being linked to create a
  6799. -# shared library.
  6800. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
  6801. +# save warnings/boilerplate of simple test code
  6802. +_LT_COMPILER_BOILERPLATE
  6803. +_LT_LINKER_BOILERPLATE
  6804. -# The directories searched by this compiler when creating a shared
  6805. -# library
  6806. -compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
  6807. +if test -n "$compiler"; then
  6808. + _LT_COMPILER_NO_RTTI($1)
  6809. + _LT_COMPILER_PIC($1)
  6810. + _LT_COMPILER_C_O($1)
  6811. + _LT_COMPILER_FILE_LOCKS($1)
  6812. + _LT_LINKER_SHLIBS($1)
  6813. + _LT_SYS_DYNAMIC_LINKER($1)
  6814. + _LT_LINKER_HARDCODE_LIBPATH($1)
  6815. + LT_SYS_DLOPEN_SELF
  6816. + _LT_CMD_STRIPLIB
  6817. +
  6818. + # Report which library types will actually be built
  6819. + AC_MSG_CHECKING([if libtool supports shared libraries])
  6820. + AC_MSG_RESULT([$can_build_shared])
  6821. -# The library search path used internally by the compiler when linking
  6822. -# a shared library.
  6823. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
  6824. + AC_MSG_CHECKING([whether to build shared libraries])
  6825. + test "$can_build_shared" = "no" && enable_shared=no
  6826. -# Method to check whether dependent libraries are shared objects.
  6827. -deplibs_check_method=$lt_deplibs_check_method
  6828. + # On AIX, shared libraries and static libraries use the same namespace, and
  6829. + # are all built from PIC.
  6830. + case $host_os in
  6831. + aix3*)
  6832. + test "$enable_shared" = yes && enable_static=no
  6833. + if test -n "$RANLIB"; then
  6834. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6835. + postinstall_cmds='$RANLIB $lib'
  6836. + fi
  6837. + ;;
  6838. -# Command to use when deplibs_check_method == file_magic.
  6839. -file_magic_cmd=$lt_file_magic_cmd
  6840. + aix[[4-9]]*)
  6841. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6842. + test "$enable_shared" = yes && enable_static=no
  6843. + fi
  6844. + ;;
  6845. + esac
  6846. + AC_MSG_RESULT([$enable_shared])
  6847. -# Flag that allows shared libraries with undefined symbols to be built.
  6848. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
  6849. + AC_MSG_CHECKING([whether to build static libraries])
  6850. + # Make sure either enable_shared or enable_static is yes.
  6851. + test "$enable_shared" = yes || enable_static=yes
  6852. + AC_MSG_RESULT([$enable_static])
  6853. -# Flag that forces no undefined symbols.
  6854. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
  6855. + _LT_CONFIG($1)
  6856. +fi
  6857. +AC_LANG_POP
  6858. +CC="$lt_save_CC"
  6859. +])# _LT_LANG_C_CONFIG
  6860. -# Commands used to finish a libtool library installation in a directory.
  6861. -finish_cmds=$lt_finish_cmds
  6862. -# Same as above, but a single script fragment to be evaled but not shown.
  6863. -finish_eval=$lt_finish_eval
  6864. +# _LT_PROG_CXX
  6865. +# ------------
  6866. +# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  6867. +# compiler, we have our own version here.
  6868. +m4_defun([_LT_PROG_CXX],
  6869. +[
  6870. +pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  6871. +AC_PROG_CXX
  6872. +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  6873. + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  6874. + (test "X$CXX" != "Xg++"))) ; then
  6875. + AC_PROG_CXXCPP
  6876. +else
  6877. + _lt_caught_CXX_error=yes
  6878. +fi
  6879. +popdef([AC_MSG_ERROR])
  6880. +])# _LT_PROG_CXX
  6881. -# Take the output of nm and produce a listing of raw symbols and C names.
  6882. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  6883. +dnl aclocal-1.4 backwards compatibility:
  6884. +dnl AC_DEFUN([_LT_PROG_CXX], [])
  6885. -# Transform the output of nm in a proper C declaration
  6886. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  6887. -# Transform the output of nm in a C name address pair
  6888. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  6889. +# _LT_LANG_CXX_CONFIG([TAG])
  6890. +# --------------------------
  6891. +# Ensure that the configuration variables for a C++ compiler are suitably
  6892. +# defined. These variables are subsequently used by _LT_CONFIG to write
  6893. +# the compiler configuration to `libtool'.
  6894. +m4_defun([_LT_LANG_CXX_CONFIG],
  6895. +[AC_REQUIRE([_LT_PROG_CXX])dnl
  6896. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  6897. +m4_require([_LT_DECL_EGREP])dnl
  6898. +
  6899. +AC_LANG_PUSH(C++)
  6900. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6901. +_LT_TAGVAR(allow_undefined_flag, $1)=
  6902. +_LT_TAGVAR(always_export_symbols, $1)=no
  6903. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  6904. +_LT_TAGVAR(compiler_needs_object, $1)=no
  6905. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6906. +_LT_TAGVAR(hardcode_direct, $1)=no
  6907. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6908. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6909. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6910. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6911. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  6912. +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  6913. +_LT_TAGVAR(hardcode_automatic, $1)=no
  6914. +_LT_TAGVAR(inherit_rpath, $1)=no
  6915. +_LT_TAGVAR(module_cmds, $1)=
  6916. +_LT_TAGVAR(module_expsym_cmds, $1)=
  6917. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6918. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6919. +_LT_TAGVAR(no_undefined_flag, $1)=
  6920. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6921. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6922. -# This is the shared library runtime path variable.
  6923. -runpath_var=$runpath_var
  6924. +# Source file extension for C++ test sources.
  6925. +ac_ext=cpp
  6926. -# This is the shared library path variable.
  6927. -shlibpath_var=$shlibpath_var
  6928. +# Object file extension for compiled C++ test sources.
  6929. +objext=o
  6930. +_LT_TAGVAR(objext, $1)=$objext
  6931. -# Is shlibpath searched before the hard-coded library search path?
  6932. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  6933. +# No sense in running all these tests if we already determined that
  6934. +# the CXX compiler isn't working. Some variables (like enable_shared)
  6935. +# are currently assumed to apply to all compilers on this platform,
  6936. +# and will be corrupted by setting them based on a non-working compiler.
  6937. +if test "$_lt_caught_CXX_error" != yes; then
  6938. + # Code to be used in simple compile tests
  6939. + lt_simple_compile_test_code="int some_variable = 0;"
  6940. +
  6941. + # Code to be used in simple link tests
  6942. + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  6943. +
  6944. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6945. + _LT_TAG_COMPILER
  6946. +
  6947. + # save warnings/boilerplate of simple test code
  6948. + _LT_COMPILER_BOILERPLATE
  6949. + _LT_LINKER_BOILERPLATE
  6950. +
  6951. + # Allow CC to be a program name with arguments.
  6952. + lt_save_CC=$CC
  6953. + lt_save_LD=$LD
  6954. + lt_save_GCC=$GCC
  6955. + GCC=$GXX
  6956. + lt_save_with_gnu_ld=$with_gnu_ld
  6957. + lt_save_path_LD=$lt_cv_path_LD
  6958. + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  6959. + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  6960. + else
  6961. + $as_unset lt_cv_prog_gnu_ld
  6962. + fi
  6963. + if test -n "${lt_cv_path_LDCXX+set}"; then
  6964. + lt_cv_path_LD=$lt_cv_path_LDCXX
  6965. + else
  6966. + $as_unset lt_cv_path_LD
  6967. + fi
  6968. + test -z "${LDCXX+set}" || LD=$LDCXX
  6969. + CC=${CXX-"c++"}
  6970. + compiler=$CC
  6971. + _LT_TAGVAR(compiler, $1)=$CC
  6972. + _LT_CC_BASENAME([$compiler])
  6973. -# How to hardcode a shared library path into an executable.
  6974. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
  6975. + if test -n "$compiler"; then
  6976. + # We don't want -fno-exception when compiling C++ code, so set the
  6977. + # no_builtin_flag separately
  6978. + if test "$GXX" = yes; then
  6979. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  6980. + else
  6981. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  6982. + fi
  6983. -# Whether we should hardcode library paths into libraries.
  6984. -hardcode_into_libs=$hardcode_into_libs
  6985. + if test "$GXX" = yes; then
  6986. + # Set up default GNU C++ configuration
  6987. -# Flag to hardcode \$libdir into a binary during linking.
  6988. -# This must work even if \$libdir does not exist.
  6989. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
  6990. + LT_PATH_LD
  6991. -# If ld is used when linking, flag to hardcode \$libdir into
  6992. -# a binary during linking. This must work even if \$libdir does
  6993. -# not exist.
  6994. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
  6995. + # Check if GNU C++ uses GNU ld as the underlying linker, since the
  6996. + # archiving commands below assume that GNU ld is being used.
  6997. + if test "$with_gnu_ld" = yes; then
  6998. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  6999. + _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'
  7000. +
  7001. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7002. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7003. +
  7004. + # If archive_cmds runs LD, not CC, wlarc should be empty
  7005. + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  7006. + # investigate it a little bit more. (MM)
  7007. + wlarc='${wl}'
  7008. +
  7009. + # ancient GNU ld didn't support --whole-archive et. al.
  7010. + if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  7011. + $GREP 'no-whole-archive' > /dev/null; then
  7012. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7013. + else
  7014. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  7015. + fi
  7016. + else
  7017. + with_gnu_ld=no
  7018. + wlarc=
  7019. -# Whether we need a single -rpath flag with a separated argument.
  7020. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
  7021. + # A generic and very simple default shared library creation
  7022. + # command for GNU C++ for the case where it uses the native
  7023. + # linker, instead of GNU ld. If possible, this setting should
  7024. + # overridden to take advantage of the native linker features on
  7025. + # the platform it is being used on.
  7026. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  7027. + fi
  7028. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  7029. -# resulting binary.
  7030. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
  7031. + # Commands to make compiler produce verbose output that lists
  7032. + # what "hidden" libraries, object files and flags are used when
  7033. + # linking a shared library.
  7034. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  7035. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  7036. -# resulting binary.
  7037. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
  7038. + else
  7039. + GXX=no
  7040. + with_gnu_ld=no
  7041. + wlarc=
  7042. + fi
  7043. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  7044. -# the resulting binary.
  7045. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
  7046. + # PORTME: fill in a description of your system's C++ link characteristics
  7047. + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  7048. + _LT_TAGVAR(ld_shlibs, $1)=yes
  7049. + case $host_os in
  7050. + aix3*)
  7051. + # FIXME: insert proper C++ library support
  7052. + _LT_TAGVAR(ld_shlibs, $1)=no
  7053. + ;;
  7054. + aix[[4-9]]*)
  7055. + if test "$host_cpu" = ia64; then
  7056. + # On IA64, the linker does run time linking by default, so we don't
  7057. + # have to do anything special.
  7058. + aix_use_runtimelinking=no
  7059. + exp_sym_flag='-Bexport'
  7060. + no_entry_flag=""
  7061. + else
  7062. + aix_use_runtimelinking=no
  7063. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  7064. -# and all subsequent libraries and executables linked against it.
  7065. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
  7066. + # Test if we are trying to use run time linking or normal
  7067. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  7068. + # need to do runtime linking.
  7069. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  7070. + for ld_flag in $LDFLAGS; do
  7071. + case $ld_flag in
  7072. + *-brtl*)
  7073. + aix_use_runtimelinking=yes
  7074. + break
  7075. + ;;
  7076. + esac
  7077. + done
  7078. + ;;
  7079. + esac
  7080. -# Variables whose values should be saved in libtool wrapper scripts and
  7081. -# restored at relink time.
  7082. -variables_saved_for_relink="$variables_saved_for_relink"
  7083. + exp_sym_flag='-bexport'
  7084. + no_entry_flag='-bnoentry'
  7085. + fi
  7086. -# Whether libtool must link a program against all its dependency libraries.
  7087. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
  7088. + # When large executables or shared objects are built, AIX ld can
  7089. + # have problems creating the table of contents. If linking a library
  7090. + # or program results in "error TOC overflow" add -mminimal-toc to
  7091. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  7092. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  7093. +
  7094. + _LT_TAGVAR(archive_cmds, $1)=''
  7095. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7096. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  7097. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  7098. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  7099. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  7100. +
  7101. + if test "$GXX" = yes; then
  7102. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  7103. + # We only want to do this on AIX 4.2 and lower, the check
  7104. + # below for broken collect2 doesn't work under 4.3+
  7105. + collect2name=`${CC} -print-prog-name=collect2`
  7106. + if test -f "$collect2name" &&
  7107. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  7108. + then
  7109. + # We have reworked collect2
  7110. + :
  7111. + else
  7112. + # We have old collect2
  7113. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  7114. + # It fails to find uninstalled libraries when the uninstalled
  7115. + # path is not listed in the libpath. Setting hardcode_minus_L
  7116. + # to unsupported forces relinking
  7117. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  7118. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  7119. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  7120. + fi
  7121. + esac
  7122. + shared_flag='-shared'
  7123. + if test "$aix_use_runtimelinking" = yes; then
  7124. + shared_flag="$shared_flag "'${wl}-G'
  7125. + fi
  7126. + else
  7127. + # not using gcc
  7128. + if test "$host_cpu" = ia64; then
  7129. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  7130. + # chokes on -Wl,-G. The following line is correct:
  7131. + shared_flag='-G'
  7132. + else
  7133. + if test "$aix_use_runtimelinking" = yes; then
  7134. + shared_flag='${wl}-G'
  7135. + else
  7136. + shared_flag='${wl}-bM:SRE'
  7137. + fi
  7138. + fi
  7139. + fi
  7140. -# Compile-time system search path for libraries
  7141. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  7142. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  7143. + # It seems that -bexpall does not export symbols beginning with
  7144. + # underscore (_), so it is better to generate a list of symbols to
  7145. + # export.
  7146. + _LT_TAGVAR(always_export_symbols, $1)=yes
  7147. + if test "$aix_use_runtimelinking" = yes; then
  7148. + # Warning - without using the other runtime loading flags (-brtl),
  7149. + # -berok will link without error, but may produce a broken library.
  7150. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  7151. + # Determine the default libpath from the value encoded in an empty
  7152. + # executable.
  7153. + _LT_SYS_MODULE_PATH_AIX
  7154. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  7155. -# Run-time system search path for libraries
  7156. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  7157. + _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"
  7158. + else
  7159. + if test "$host_cpu" = ia64; then
  7160. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  7161. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  7162. + _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"
  7163. + else
  7164. + # Determine the default libpath from the value encoded in an
  7165. + # empty executable.
  7166. + _LT_SYS_MODULE_PATH_AIX
  7167. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  7168. + # Warning - without using the other run time loading flags,
  7169. + # -berok will link without error, but may produce a broken library.
  7170. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  7171. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  7172. + # Exported symbols can be pulled into shared objects from archives
  7173. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  7174. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  7175. + # This is similar to how AIX traditionally builds its shared
  7176. + # libraries.
  7177. + _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'
  7178. + fi
  7179. + fi
  7180. + ;;
  7181. -# Fix the shell variable \$srcfile for the compiler.
  7182. -fix_srcfile_path=$lt_fix_srcfile_path
  7183. + beos*)
  7184. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  7185. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  7186. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  7187. + # support --undefined. This deserves some investigation. FIXME
  7188. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7189. + else
  7190. + _LT_TAGVAR(ld_shlibs, $1)=no
  7191. + fi
  7192. + ;;
  7193. -# Set to yes if exported symbols are required.
  7194. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
  7195. + chorus*)
  7196. + case $cc_basename in
  7197. + *)
  7198. + # FIXME: insert proper C++ library support
  7199. + _LT_TAGVAR(ld_shlibs, $1)=no
  7200. + ;;
  7201. + esac
  7202. + ;;
  7203. -# The commands to list exported symbols.
  7204. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
  7205. + cygwin* | mingw* | pw32* | cegcc*)
  7206. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  7207. + # as there is no search path for DLLs.
  7208. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  7209. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  7210. + _LT_TAGVAR(always_export_symbols, $1)=no
  7211. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  7212. +
  7213. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  7214. + _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'
  7215. + # If the export-symbols file already is a .def file (1st line
  7216. + # is EXPORTS), use it as is; otherwise, prepend...
  7217. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  7218. + cp $export_symbols $output_objdir/$soname.def;
  7219. + else
  7220. + echo EXPORTS > $output_objdir/$soname.def;
  7221. + cat $export_symbols >> $output_objdir/$soname.def;
  7222. + fi~
  7223. + $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'
  7224. + else
  7225. + _LT_TAGVAR(ld_shlibs, $1)=no
  7226. + fi
  7227. + ;;
  7228. + darwin* | rhapsody*)
  7229. + _LT_DARWIN_LINKER_FEATURES($1)
  7230. + ;;
  7231. -# The commands to extract the exported symbol list from a shared archive.
  7232. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  7233. + dgux*)
  7234. + case $cc_basename in
  7235. + ec++*)
  7236. + # FIXME: insert proper C++ library support
  7237. + _LT_TAGVAR(ld_shlibs, $1)=no
  7238. + ;;
  7239. + ghcx*)
  7240. + # Green Hills C++ Compiler
  7241. + # FIXME: insert proper C++ library support
  7242. + _LT_TAGVAR(ld_shlibs, $1)=no
  7243. + ;;
  7244. + *)
  7245. + # FIXME: insert proper C++ library support
  7246. + _LT_TAGVAR(ld_shlibs, $1)=no
  7247. + ;;
  7248. + esac
  7249. + ;;
  7250. -# Symbols that should not be listed in the preloaded symbols.
  7251. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
  7252. + freebsd[[12]]*)
  7253. + # C++ shared libraries reported to be fairly broken before
  7254. + # switch to ELF
  7255. + _LT_TAGVAR(ld_shlibs, $1)=no
  7256. + ;;
  7257. -# Symbols that must always be exported.
  7258. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
  7259. + freebsd-elf*)
  7260. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  7261. + ;;
  7262. -ifelse([$1],[],
  7263. -[# ### END LIBTOOL CONFIG],
  7264. -[# ### END LIBTOOL TAG CONFIG: $tagname])
  7265. + freebsd* | dragonfly*)
  7266. + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  7267. + # conventions
  7268. + _LT_TAGVAR(ld_shlibs, $1)=yes
  7269. + ;;
  7270. -__EOF__
  7271. + gnu*)
  7272. + ;;
  7273. -ifelse([$1],[], [
  7274. - case $host_os in
  7275. - aix3*)
  7276. - cat <<\EOF >> "$cfgfile"
  7277. + hpux9*)
  7278. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  7279. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7280. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  7281. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7282. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  7283. + # but as the default
  7284. + # location of the library.
  7285. +
  7286. + case $cc_basename in
  7287. + CC*)
  7288. + # FIXME: insert proper C++ library support
  7289. + _LT_TAGVAR(ld_shlibs, $1)=no
  7290. + ;;
  7291. + aCC*)
  7292. + _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'
  7293. + # Commands to make compiler produce verbose output that lists
  7294. + # what "hidden" libraries, object files and flags are used when
  7295. + # linking a shared library.
  7296. + #
  7297. + # There doesn't appear to be a way to prevent this compiler from
  7298. + # explicitly linking system object files so we need to strip them
  7299. + # from the output so that they don't get included in the library
  7300. + # dependencies.
  7301. + 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'
  7302. + ;;
  7303. + *)
  7304. + if test "$GXX" = yes; then
  7305. + _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'
  7306. + else
  7307. + # FIXME: insert proper C++ library support
  7308. + _LT_TAGVAR(ld_shlibs, $1)=no
  7309. + fi
  7310. + ;;
  7311. + esac
  7312. + ;;
  7313. -# AIX sometimes has problems with the GCC collect2 program. For some
  7314. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  7315. -# vanish in a puff of smoke.
  7316. -if test "X${COLLECT_NAMES+set}" != Xset; then
  7317. - COLLECT_NAMES=
  7318. - export COLLECT_NAMES
  7319. -fi
  7320. -EOF
  7321. - ;;
  7322. - esac
  7323. + hpux10*|hpux11*)
  7324. + if test $with_gnu_ld = no; then
  7325. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  7326. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7327. +
  7328. + case $host_cpu in
  7329. + hppa*64*|ia64*)
  7330. + ;;
  7331. + *)
  7332. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  7333. + ;;
  7334. + esac
  7335. + fi
  7336. + case $host_cpu in
  7337. + hppa*64*|ia64*)
  7338. + _LT_TAGVAR(hardcode_direct, $1)=no
  7339. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7340. + ;;
  7341. + *)
  7342. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7343. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  7344. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  7345. + # but as the default
  7346. + # location of the library.
  7347. + ;;
  7348. + esac
  7349. +
  7350. + case $cc_basename in
  7351. + CC*)
  7352. + # FIXME: insert proper C++ library support
  7353. + _LT_TAGVAR(ld_shlibs, $1)=no
  7354. + ;;
  7355. + aCC*)
  7356. + case $host_cpu in
  7357. + hppa*64*)
  7358. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7359. + ;;
  7360. + ia64*)
  7361. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7362. + ;;
  7363. + *)
  7364. + _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'
  7365. + ;;
  7366. + esac
  7367. + # Commands to make compiler produce verbose output that lists
  7368. + # what "hidden" libraries, object files and flags are used when
  7369. + # linking a shared library.
  7370. + #
  7371. + # There doesn't appear to be a way to prevent this compiler from
  7372. + # explicitly linking system object files so we need to strip them
  7373. + # from the output so that they don't get included in the library
  7374. + # dependencies.
  7375. + 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'
  7376. + ;;
  7377. + *)
  7378. + if test "$GXX" = yes; then
  7379. + if test $with_gnu_ld = no; then
  7380. + case $host_cpu in
  7381. + hppa*64*)
  7382. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7383. + ;;
  7384. + ia64*)
  7385. + _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'
  7386. + ;;
  7387. + *)
  7388. + _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'
  7389. + ;;
  7390. + esac
  7391. + fi
  7392. + else
  7393. + # FIXME: insert proper C++ library support
  7394. + _LT_TAGVAR(ld_shlibs, $1)=no
  7395. + fi
  7396. + ;;
  7397. + esac
  7398. + ;;
  7399. - # We use sed instead of cat because bash on DJGPP gets confused if
  7400. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  7401. - # text mode, it properly converts lines to CR/LF. This bash problem
  7402. - # is reportedly fixed, but why not run on old versions too?
  7403. - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  7404. + interix[[3-9]]*)
  7405. + _LT_TAGVAR(hardcode_direct, $1)=no
  7406. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7407. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7408. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  7409. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  7410. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  7411. + # default) and relocated if they conflict, which is a slow very memory
  7412. + # consuming and fragmenting process. To avoid this, we pick a random,
  7413. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  7414. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  7415. + _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'
  7416. + _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'
  7417. + ;;
  7418. + irix5* | irix6*)
  7419. + case $cc_basename in
  7420. + CC*)
  7421. + # SGI C++
  7422. + _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'
  7423. +
  7424. + # Archives containing C++ object files must be created using
  7425. + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  7426. + # necessary to make sure instantiated templates are included
  7427. + # in the archive.
  7428. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  7429. + ;;
  7430. + *)
  7431. + if test "$GXX" = yes; then
  7432. + if test "$with_gnu_ld" = no; then
  7433. + _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'
  7434. + else
  7435. + _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'
  7436. + fi
  7437. + fi
  7438. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  7439. + ;;
  7440. + esac
  7441. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7442. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7443. + _LT_TAGVAR(inherit_rpath, $1)=yes
  7444. + ;;
  7445. - mv -f "$cfgfile" "$ofile" || \
  7446. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  7447. - chmod +x "$ofile"
  7448. -])
  7449. -else
  7450. - # If there is no Makefile yet, we rely on a make rule to execute
  7451. - # `config.status --recheck' to rerun these tests and create the
  7452. - # libtool script then.
  7453. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  7454. - if test -f "$ltmain_in"; then
  7455. - test -f Makefile && make "$ltmain"
  7456. - fi
  7457. -fi
  7458. -])# AC_LIBTOOL_CONFIG
  7459. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  7460. + case $cc_basename in
  7461. + KCC*)
  7462. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  7463. +
  7464. + # KCC will only create a shared library if the output file
  7465. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  7466. + # to its proper name (with version) after linking.
  7467. + _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'
  7468. + _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'
  7469. + # Commands to make compiler produce verbose output that lists
  7470. + # what "hidden" libraries, object files and flags are used when
  7471. + # linking a shared library.
  7472. + #
  7473. + # There doesn't appear to be a way to prevent this compiler from
  7474. + # explicitly linking system object files so we need to strip them
  7475. + # from the output so that they don't get included in the library
  7476. + # dependencies.
  7477. + 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'
  7478. +
  7479. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7480. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7481. +
  7482. + # Archives containing C++ object files must be created using
  7483. + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  7484. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  7485. + ;;
  7486. + icpc* | ecpc* )
  7487. + # Intel C++
  7488. + with_gnu_ld=yes
  7489. + # version 8.0 and above of icpc choke on multiply defined symbols
  7490. + # if we add $predep_objects and $postdep_objects, however 7.1 and
  7491. + # earlier do not add the objects themselves.
  7492. + case `$CC -V 2>&1` in
  7493. + *"Version 7."*)
  7494. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7495. + _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'
  7496. + ;;
  7497. + *) # Version 8.0 or newer
  7498. + tmp_idyn=
  7499. + case $host_cpu in
  7500. + ia64*) tmp_idyn=' -i_dynamic';;
  7501. + esac
  7502. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7503. + _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'
  7504. + ;;
  7505. + esac
  7506. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  7507. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7508. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7509. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  7510. + ;;
  7511. + pgCC* | pgcpp*)
  7512. + # Portland Group C++ compiler
  7513. + case `$CC -V` in
  7514. + *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  7515. + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  7516. + rm -rf $tpldir~
  7517. + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  7518. + compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  7519. + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  7520. + rm -rf $tpldir~
  7521. + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  7522. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  7523. + $RANLIB $oldlib'
  7524. + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  7525. + rm -rf $tpldir~
  7526. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  7527. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  7528. + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  7529. + rm -rf $tpldir~
  7530. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  7531. + $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'
  7532. + ;;
  7533. + *) # Version 6 will use weak symbols
  7534. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  7535. + _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'
  7536. + ;;
  7537. + esac
  7538. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  7539. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7540. + _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'
  7541. + ;;
  7542. + cxx*)
  7543. + # Compaq C++
  7544. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7545. + _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'
  7546. -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
  7547. -# -------------------------------------------
  7548. -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
  7549. -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
  7550. + runpath_var=LD_RUN_PATH
  7551. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  7552. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7553. -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  7554. + # Commands to make compiler produce verbose output that lists
  7555. + # what "hidden" libraries, object files and flags are used when
  7556. + # linking a shared library.
  7557. + #
  7558. + # There doesn't appear to be a way to prevent this compiler from
  7559. + # explicitly linking system object files so we need to strip them
  7560. + # from the output so that they don't get included in the library
  7561. + # dependencies.
  7562. + 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'
  7563. + ;;
  7564. + xl*)
  7565. + # IBM XL 8.0 on PPC, with GNU ld
  7566. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7567. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  7568. + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7569. + if test "x$supports_anon_versioning" = xyes; then
  7570. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  7571. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  7572. + echo "local: *; };" >> $output_objdir/$libname.ver~
  7573. + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  7574. + fi
  7575. + ;;
  7576. + *)
  7577. + case `$CC -V 2>&1 | sed 5q` in
  7578. + *Sun\ C*)
  7579. + # Sun C++ 5.9
  7580. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  7581. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7582. + _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'
  7583. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  7584. + _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'
  7585. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  7586. +
  7587. + # Not sure whether something based on
  7588. + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  7589. + # would be better.
  7590. + output_verbose_link_cmd='echo'
  7591. +
  7592. + # Archives containing C++ object files must be created using
  7593. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  7594. + # necessary to make sure instantiated templates are included
  7595. + # in the archive.
  7596. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  7597. + ;;
  7598. + esac
  7599. + ;;
  7600. + esac
  7601. + ;;
  7602. -if test "$GCC" = yes; then
  7603. - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  7604. + lynxos*)
  7605. + # FIXME: insert proper C++ library support
  7606. + _LT_TAGVAR(ld_shlibs, $1)=no
  7607. + ;;
  7608. - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  7609. - lt_cv_prog_compiler_rtti_exceptions,
  7610. - [-fno-rtti -fno-exceptions], [],
  7611. - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  7612. -fi
  7613. -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
  7614. + m88k*)
  7615. + # FIXME: insert proper C++ library support
  7616. + _LT_TAGVAR(ld_shlibs, $1)=no
  7617. + ;;
  7618. + mvs*)
  7619. + case $cc_basename in
  7620. + cxx*)
  7621. + # FIXME: insert proper C++ library support
  7622. + _LT_TAGVAR(ld_shlibs, $1)=no
  7623. + ;;
  7624. + *)
  7625. + # FIXME: insert proper C++ library support
  7626. + _LT_TAGVAR(ld_shlibs, $1)=no
  7627. + ;;
  7628. + esac
  7629. + ;;
  7630. -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  7631. -# ---------------------------------
  7632. -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
  7633. -[AC_REQUIRE([AC_CANONICAL_HOST])
  7634. -AC_REQUIRE([LT_AC_PROG_SED])
  7635. -AC_REQUIRE([AC_PROG_NM])
  7636. -AC_REQUIRE([AC_OBJEXT])
  7637. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  7638. -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  7639. -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  7640. -[
  7641. -# These are sane defaults that work on at least a few old systems.
  7642. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  7643. + netbsd*)
  7644. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  7645. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  7646. + wlarc=
  7647. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  7648. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7649. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7650. + fi
  7651. + # Workaround some broken pre-1.5 toolchains
  7652. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  7653. + ;;
  7654. -# Character class describing NM global symbol codes.
  7655. -symcode='[[BCDEGRST]]'
  7656. + *nto* | *qnx*)
  7657. + _LT_TAGVAR(ld_shlibs, $1)=yes
  7658. + ;;
  7659. -# Regexp to match symbols that can be accessed directly from C.
  7660. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  7661. + openbsd2*)
  7662. + # C++ shared libraries are fairly broken
  7663. + _LT_TAGVAR(ld_shlibs, $1)=no
  7664. + ;;
  7665. +
  7666. + openbsd*)
  7667. + if test -f /usr/libexec/ld.so; then
  7668. + _LT_TAGVAR(hardcode_direct, $1)=yes
  7669. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7670. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  7671. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  7672. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7673. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  7674. + _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'
  7675. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  7676. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7677. + fi
  7678. + output_verbose_link_cmd=echo
  7679. + else
  7680. + _LT_TAGVAR(ld_shlibs, $1)=no
  7681. + fi
  7682. + ;;
  7683. -# Transform an extracted symbol line into a proper C declaration
  7684. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  7685. + osf3* | osf4* | osf5*)
  7686. + case $cc_basename in
  7687. + KCC*)
  7688. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  7689. +
  7690. + # KCC will only create a shared library if the output file
  7691. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  7692. + # to its proper name (with version) after linking.
  7693. + _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'
  7694. +
  7695. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  7696. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7697. +
  7698. + # Archives containing C++ object files must be created using
  7699. + # the KAI C++ compiler.
  7700. + case $host in
  7701. + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  7702. + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  7703. + esac
  7704. + ;;
  7705. + RCC*)
  7706. + # Rational C++ 2.4.1
  7707. + # FIXME: insert proper C++ library support
  7708. + _LT_TAGVAR(ld_shlibs, $1)=no
  7709. + ;;
  7710. + cxx*)
  7711. + case $host in
  7712. + osf3*)
  7713. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  7714. + _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'
  7715. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7716. + ;;
  7717. + *)
  7718. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  7719. + _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'
  7720. + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  7721. + echo "-hidden">> $lib.exp~
  7722. + $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~
  7723. + $RM $lib.exp'
  7724. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  7725. + ;;
  7726. + esac
  7727. -# Transform an extracted symbol line into symbol name and symbol address
  7728. -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'"
  7729. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7730. -# Define system-specific variables.
  7731. -case $host_os in
  7732. -aix*)
  7733. - symcode='[[BCDT]]'
  7734. - ;;
  7735. -cygwin* | mingw* | pw32*)
  7736. - symcode='[[ABCDGISTW]]'
  7737. - ;;
  7738. -hpux*) # Its linker distinguishes data from code symbols
  7739. - if test "$host_cpu" = ia64; then
  7740. - symcode='[[ABCDEGRST]]'
  7741. - fi
  7742. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  7743. - 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'"
  7744. - ;;
  7745. -linux* | k*bsd*-gnu)
  7746. - if test "$host_cpu" = ia64; then
  7747. - symcode='[[ABCDGIRSTW]]'
  7748. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  7749. - 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'"
  7750. - fi
  7751. - ;;
  7752. -irix* | nonstopux*)
  7753. - symcode='[[BCDEGRST]]'
  7754. - ;;
  7755. -osf*)
  7756. - symcode='[[BCDEGQRST]]'
  7757. - ;;
  7758. -solaris*)
  7759. - symcode='[[BDRT]]'
  7760. - ;;
  7761. -sco3.2v5*)
  7762. - symcode='[[DT]]'
  7763. - ;;
  7764. -sysv4.2uw2*)
  7765. - symcode='[[DT]]'
  7766. - ;;
  7767. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  7768. - symcode='[[ABDT]]'
  7769. - ;;
  7770. -sysv4)
  7771. - symcode='[[DFNSTU]]'
  7772. - ;;
  7773. -esac
  7774. + # Commands to make compiler produce verbose output that lists
  7775. + # what "hidden" libraries, object files and flags are used when
  7776. + # linking a shared library.
  7777. + #
  7778. + # There doesn't appear to be a way to prevent this compiler from
  7779. + # explicitly linking system object files so we need to strip them
  7780. + # from the output so that they don't get included in the library
  7781. + # dependencies.
  7782. + 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'
  7783. + ;;
  7784. + *)
  7785. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  7786. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  7787. + case $host in
  7788. + osf3*)
  7789. + _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'
  7790. + ;;
  7791. + *)
  7792. + _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'
  7793. + ;;
  7794. + esac
  7795. +
  7796. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  7797. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  7798. +
  7799. + # Commands to make compiler produce verbose output that lists
  7800. + # what "hidden" libraries, object files and flags are used when
  7801. + # linking a shared library.
  7802. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  7803. +
  7804. + else
  7805. + # FIXME: insert proper C++ library support
  7806. + _LT_TAGVAR(ld_shlibs, $1)=no
  7807. + fi
  7808. + ;;
  7809. + esac
  7810. + ;;
  7811. -# Handle CRLF in mingw tool chain
  7812. -opt_cr=
  7813. -case $build_os in
  7814. -mingw*)
  7815. - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  7816. - ;;
  7817. -esac
  7818. + psos*)
  7819. + # FIXME: insert proper C++ library support
  7820. + _LT_TAGVAR(ld_shlibs, $1)=no
  7821. + ;;
  7822. -# If we're using GNU nm, then use its standard symbol codes.
  7823. -case `$NM -V 2>&1` in
  7824. -*GNU* | *'with BFD'*)
  7825. - symcode='[[ABCDGIRSTW]]' ;;
  7826. -esac
  7827. + sunos4*)
  7828. + case $cc_basename in
  7829. + CC*)
  7830. + # Sun C++ 4.x
  7831. + # FIXME: insert proper C++ library support
  7832. + _LT_TAGVAR(ld_shlibs, $1)=no
  7833. + ;;
  7834. + lcc*)
  7835. + # Lucid
  7836. + # FIXME: insert proper C++ library support
  7837. + _LT_TAGVAR(ld_shlibs, $1)=no
  7838. + ;;
  7839. + *)
  7840. + # FIXME: insert proper C++ library support
  7841. + _LT_TAGVAR(ld_shlibs, $1)=no
  7842. + ;;
  7843. + esac
  7844. + ;;
  7845. -# Try without a prefix undercore, then with it.
  7846. -for ac_symprfx in "" "_"; do
  7847. + solaris*)
  7848. + case $cc_basename in
  7849. + CC*)
  7850. + # Sun C++ 4.2, 5.x and Centerline C++
  7851. + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  7852. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  7853. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  7854. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  7855. + $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'
  7856. +
  7857. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  7858. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7859. + case $host_os in
  7860. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  7861. + *)
  7862. + # The compiler driver will combine and reorder linker options,
  7863. + # but understands `-z linker_flag'.
  7864. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  7865. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  7866. + ;;
  7867. + esac
  7868. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  7869. - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  7870. - symxfrm="\\1 $ac_symprfx\\2 \\2"
  7871. + output_verbose_link_cmd='echo'
  7872. - # Write the raw and C identifiers.
  7873. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  7874. + # Archives containing C++ object files must be created using
  7875. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  7876. + # necessary to make sure instantiated templates are included
  7877. + # in the archive.
  7878. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  7879. + ;;
  7880. + gcx*)
  7881. + # Green Hills C++ Compiler
  7882. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  7883. - # Check to see that the pipe works correctly.
  7884. - pipe_works=no
  7885. + # The C++ compiler must be used to create the archive.
  7886. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  7887. + ;;
  7888. + *)
  7889. + # GNU C++ compiler with Solaris linker
  7890. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  7891. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  7892. + if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  7893. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  7894. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  7895. + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  7896. +
  7897. + # Commands to make compiler produce verbose output that lists
  7898. + # what "hidden" libraries, object files and flags are used when
  7899. + # linking a shared library.
  7900. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  7901. + else
  7902. + # g++ 2.7 appears to require `-G' NOT `-shared' on this
  7903. + # platform.
  7904. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  7905. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  7906. + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  7907. +
  7908. + # Commands to make compiler produce verbose output that lists
  7909. + # what "hidden" libraries, object files and flags are used when
  7910. + # linking a shared library.
  7911. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  7912. + fi
  7913. +
  7914. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  7915. + case $host_os in
  7916. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  7917. + *)
  7918. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  7919. + ;;
  7920. + esac
  7921. + fi
  7922. + ;;
  7923. + esac
  7924. + ;;
  7925. - rm -f conftest*
  7926. - cat > conftest.$ac_ext <<EOF
  7927. -#ifdef __cplusplus
  7928. -extern "C" {
  7929. -#endif
  7930. -char nm_test_var;
  7931. -void nm_test_func(){}
  7932. -#ifdef __cplusplus
  7933. -}
  7934. -#endif
  7935. -int main(){nm_test_var='a';nm_test_func();return(0);}
  7936. -EOF
  7937. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  7938. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  7939. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  7940. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7941. + runpath_var='LD_RUN_PATH'
  7942. - if AC_TRY_EVAL(ac_compile); then
  7943. - # Now try to grab the symbols.
  7944. - nlist=conftest.nm
  7945. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  7946. - # Try sorting and uniquifying the output.
  7947. - if sort "$nlist" | uniq > "$nlist"T; then
  7948. - mv -f "$nlist"T "$nlist"
  7949. - else
  7950. - rm -f "$nlist"T
  7951. - fi
  7952. + case $cc_basename in
  7953. + CC*)
  7954. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7955. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7956. + ;;
  7957. + *)
  7958. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7959. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7960. + ;;
  7961. + esac
  7962. + ;;
  7963. - # Make sure that we snagged all the symbols we need.
  7964. - if grep ' nm_test_var$' "$nlist" >/dev/null; then
  7965. - if grep ' nm_test_func$' "$nlist" >/dev/null; then
  7966. - cat <<EOF > conftest.$ac_ext
  7967. -#ifdef __cplusplus
  7968. -extern "C" {
  7969. -#endif
  7970. + sysv5* | sco3.2v5* | sco5v6*)
  7971. + # Note: We can NOT use -z defs as we might desire, because we do not
  7972. + # link with -lc, and that would cause any symbols used from libc to
  7973. + # always be unresolved, which means just about no library would
  7974. + # ever link correctly. If we're not using GNU ld we use -z text
  7975. + # though, which does catch some bad symbols but isn't as heavy-handed
  7976. + # as -z defs.
  7977. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  7978. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  7979. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  7980. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  7981. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  7982. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  7983. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  7984. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  7985. + runpath_var='LD_RUN_PATH'
  7986. -EOF
  7987. - # Now generate the symbol file.
  7988. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  7989. + case $cc_basename in
  7990. + CC*)
  7991. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7992. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7993. + ;;
  7994. + *)
  7995. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7996. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  7997. + ;;
  7998. + esac
  7999. + ;;
  8000. - cat <<EOF >> conftest.$ac_ext
  8001. -#if defined (__STDC__) && __STDC__
  8002. -# define lt_ptr_t void *
  8003. -#else
  8004. -# define lt_ptr_t char *
  8005. -# define const
  8006. -#endif
  8007. + tandem*)
  8008. + case $cc_basename in
  8009. + NCC*)
  8010. + # NonStop-UX NCC 3.20
  8011. + # FIXME: insert proper C++ library support
  8012. + _LT_TAGVAR(ld_shlibs, $1)=no
  8013. + ;;
  8014. + *)
  8015. + # FIXME: insert proper C++ library support
  8016. + _LT_TAGVAR(ld_shlibs, $1)=no
  8017. + ;;
  8018. + esac
  8019. + ;;
  8020. -/* The mapping between symbol names and symbols. */
  8021. -const struct {
  8022. - const char *name;
  8023. - lt_ptr_t address;
  8024. -}
  8025. -lt_preloaded_symbols[[]] =
  8026. -{
  8027. -EOF
  8028. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  8029. - cat <<\EOF >> conftest.$ac_ext
  8030. - {0, (lt_ptr_t) 0}
  8031. -};
  8032. + vxworks*)
  8033. + # FIXME: insert proper C++ library support
  8034. + _LT_TAGVAR(ld_shlibs, $1)=no
  8035. + ;;
  8036. -#ifdef __cplusplus
  8037. -}
  8038. -#endif
  8039. -EOF
  8040. - # Now try linking the two files.
  8041. - mv conftest.$ac_objext conftstm.$ac_objext
  8042. - lt_save_LIBS="$LIBS"
  8043. - lt_save_CFLAGS="$CFLAGS"
  8044. - LIBS="conftstm.$ac_objext"
  8045. - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  8046. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  8047. - pipe_works=yes
  8048. - fi
  8049. - LIBS="$lt_save_LIBS"
  8050. - CFLAGS="$lt_save_CFLAGS"
  8051. - else
  8052. - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  8053. - fi
  8054. - else
  8055. - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  8056. - fi
  8057. - else
  8058. - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  8059. - fi
  8060. - else
  8061. - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  8062. - cat conftest.$ac_ext >&5
  8063. - fi
  8064. - rm -rf conftest* conftst*
  8065. + *)
  8066. + # FIXME: insert proper C++ library support
  8067. + _LT_TAGVAR(ld_shlibs, $1)=no
  8068. + ;;
  8069. + esac
  8070. - # Do not use the global_symbol_pipe unless it works.
  8071. - if test "$pipe_works" = yes; then
  8072. - break
  8073. - else
  8074. - lt_cv_sys_global_symbol_pipe=
  8075. - fi
  8076. -done
  8077. + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  8078. + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  8079. +
  8080. + _LT_TAGVAR(GCC, $1)="$GXX"
  8081. + _LT_TAGVAR(LD, $1)="$LD"
  8082. +
  8083. + ## CAVEAT EMPTOR:
  8084. + ## There is no encapsulation within the following macros, do not change
  8085. + ## the running order or otherwise move them around unless you know exactly
  8086. + ## what you are doing...
  8087. + _LT_SYS_HIDDEN_LIBDEPS($1)
  8088. + _LT_COMPILER_PIC($1)
  8089. + _LT_COMPILER_C_O($1)
  8090. + _LT_COMPILER_FILE_LOCKS($1)
  8091. + _LT_LINKER_SHLIBS($1)
  8092. + _LT_SYS_DYNAMIC_LINKER($1)
  8093. + _LT_LINKER_HARDCODE_LIBPATH($1)
  8094. +
  8095. + _LT_CONFIG($1)
  8096. + fi # test -n "$compiler"
  8097. +
  8098. + CC=$lt_save_CC
  8099. + LDCXX=$LD
  8100. + LD=$lt_save_LD
  8101. + GCC=$lt_save_GCC
  8102. + with_gnu_ld=$lt_save_with_gnu_ld
  8103. + lt_cv_path_LDCXX=$lt_cv_path_LD
  8104. + lt_cv_path_LD=$lt_save_path_LD
  8105. + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  8106. + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  8107. +fi # test "$_lt_caught_CXX_error" != yes
  8108. +
  8109. +AC_LANG_POP
  8110. +])# _LT_LANG_CXX_CONFIG
  8111. +
  8112. +
  8113. +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  8114. +# ---------------------------------
  8115. +# Figure out "hidden" library dependencies from verbose
  8116. +# compiler output when linking a shared library.
  8117. +# Parse the compiler output and extract the necessary
  8118. +# objects, libraries and library flags.
  8119. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  8120. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  8121. +# Dependencies to place before and after the object being linked:
  8122. +_LT_TAGVAR(predep_objects, $1)=
  8123. +_LT_TAGVAR(postdep_objects, $1)=
  8124. +_LT_TAGVAR(predeps, $1)=
  8125. +_LT_TAGVAR(postdeps, $1)=
  8126. +_LT_TAGVAR(compiler_lib_search_path, $1)=
  8127. +
  8128. +dnl we can't use the lt_simple_compile_test_code here,
  8129. +dnl because it contains code intended for an executable,
  8130. +dnl not a library. It's possible we should let each
  8131. +dnl tag define a new lt_????_link_test_code variable,
  8132. +dnl but it's only used here...
  8133. +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  8134. +int a;
  8135. +void foo (void) { a = 0; }
  8136. +_LT_EOF
  8137. +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  8138. +class Foo
  8139. +{
  8140. +public:
  8141. + Foo (void) { a = 0; }
  8142. +private:
  8143. + int a;
  8144. +};
  8145. +_LT_EOF
  8146. +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  8147. + subroutine foo
  8148. + implicit none
  8149. + integer*4 a
  8150. + a=0
  8151. + return
  8152. + end
  8153. +_LT_EOF
  8154. +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  8155. + subroutine foo
  8156. + implicit none
  8157. + integer a
  8158. + a=0
  8159. + return
  8160. + end
  8161. +_LT_EOF
  8162. +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  8163. +public class foo {
  8164. + private int a;
  8165. + public void bar (void) {
  8166. + a = 0;
  8167. + }
  8168. +};
  8169. +_LT_EOF
  8170. ])
  8171. -if test -z "$lt_cv_sys_global_symbol_pipe"; then
  8172. - lt_cv_sys_global_symbol_to_cdecl=
  8173. -fi
  8174. -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  8175. - AC_MSG_RESULT(failed)
  8176. +dnl Parse the compiler output and extract the necessary
  8177. +dnl objects, libraries and library flags.
  8178. +if AC_TRY_EVAL(ac_compile); then
  8179. + # Parse the compiler output and extract the necessary
  8180. + # objects, libraries and library flags.
  8181. +
  8182. + # Sentinel used to keep track of whether or not we are before
  8183. + # the conftest object file.
  8184. + pre_test_object_deps_done=no
  8185. +
  8186. + for p in `eval "$output_verbose_link_cmd"`; do
  8187. + case $p in
  8188. +
  8189. + -L* | -R* | -l*)
  8190. + # Some compilers place space between "-{L,R}" and the path.
  8191. + # Remove the space.
  8192. + if test $p = "-L" ||
  8193. + test $p = "-R"; then
  8194. + prev=$p
  8195. + continue
  8196. + else
  8197. + prev=
  8198. + fi
  8199. +
  8200. + if test "$pre_test_object_deps_done" = no; then
  8201. + case $p in
  8202. + -L* | -R*)
  8203. + # Internal compiler library paths should come after those
  8204. + # provided the user. The postdeps already come after the
  8205. + # user supplied libs so there is no need to process them.
  8206. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  8207. + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  8208. + else
  8209. + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  8210. + fi
  8211. + ;;
  8212. + # The "-l" case would never come before the object being
  8213. + # linked, so don't bother handling this case.
  8214. + esac
  8215. + else
  8216. + if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  8217. + _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  8218. + else
  8219. + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  8220. + fi
  8221. + fi
  8222. + ;;
  8223. +
  8224. + *.$objext)
  8225. + # This assumes that the test object file only shows up
  8226. + # once in the compiler output.
  8227. + if test "$p" = "conftest.$objext"; then
  8228. + pre_test_object_deps_done=yes
  8229. + continue
  8230. + fi
  8231. +
  8232. + if test "$pre_test_object_deps_done" = no; then
  8233. + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  8234. + _LT_TAGVAR(predep_objects, $1)="$p"
  8235. + else
  8236. + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  8237. + fi
  8238. + else
  8239. + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  8240. + _LT_TAGVAR(postdep_objects, $1)="$p"
  8241. + else
  8242. + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  8243. + fi
  8244. + fi
  8245. + ;;
  8246. +
  8247. + *) ;; # Ignore the rest.
  8248. +
  8249. + esac
  8250. + done
  8251. +
  8252. + # Clean up.
  8253. + rm -f a.out a.exe
  8254. else
  8255. - AC_MSG_RESULT(ok)
  8256. + echo "libtool.m4: error: problem compiling $1 test program"
  8257. fi
  8258. -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
  8259. +$RM -f confest.$objext
  8260. -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
  8261. -# ---------------------------------------
  8262. -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
  8263. -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
  8264. -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  8265. -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
  8266. +# PORTME: override above test on systems where it is broken
  8267. +m4_if([$1], [CXX],
  8268. +[case $host_os in
  8269. +interix[[3-9]]*)
  8270. + # Interix 3.5 installs completely hosed .la files for C++, so rather than
  8271. + # hack all around it, let's just trust "g++" to DTRT.
  8272. + _LT_TAGVAR(predep_objects,$1)=
  8273. + _LT_TAGVAR(postdep_objects,$1)=
  8274. + _LT_TAGVAR(postdeps,$1)=
  8275. + ;;
  8276. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  8277. - ifelse([$1],[CXX],[
  8278. - # C++ specific cases for pic, static, wl, etc.
  8279. - if test "$GXX" = yes; then
  8280. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8281. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  8282. +linux*)
  8283. + case `$CC -V 2>&1 | sed 5q` in
  8284. + *Sun\ C*)
  8285. + # Sun C++ 5.9
  8286. - case $host_os in
  8287. - aix*)
  8288. - # All AIX code is PIC.
  8289. - if test "$host_cpu" = ia64; then
  8290. - # AIX 5 now supports IA64 processor
  8291. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8292. - fi
  8293. - ;;
  8294. - amigaos*)
  8295. - # FIXME: we need at least 68020 code to build shared libraries, but
  8296. - # adding the `-m68020' flag to GCC prevents building anything better,
  8297. - # like `-m68040'.
  8298. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  8299. - ;;
  8300. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8301. - # PIC is the default for these OSes.
  8302. - ;;
  8303. - mingw* | cygwin* | os2* | pw32*)
  8304. - # This hack is so that the source file can tell whether it is being
  8305. - # built for inclusion in a dll (and should export symbols for example).
  8306. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8307. - # (--disable-auto-import) libraries
  8308. - m4_if([$1], [GCJ], [],
  8309. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  8310. - ;;
  8311. - darwin* | rhapsody*)
  8312. - # PIC is the default on this platform
  8313. - # Common symbols not allowed in MH_DYLIB files
  8314. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  8315. - ;;
  8316. - *djgpp*)
  8317. - # DJGPP does not support shared libraries at all
  8318. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  8319. - ;;
  8320. - interix[[3-9]]*)
  8321. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8322. - # Instead, we relocate shared libraries at runtime.
  8323. - ;;
  8324. - sysv4*MP*)
  8325. - if test -d /usr/nec; then
  8326. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  8327. - fi
  8328. - ;;
  8329. - hpux*)
  8330. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8331. - # not for PA HP-UX.
  8332. - case $host_cpu in
  8333. - hppa*64*|ia64*)
  8334. - ;;
  8335. - *)
  8336. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  8337. - ;;
  8338. - esac
  8339. + # The more standards-conforming stlport4 library is
  8340. + # incompatible with the Cstd library. Avoid specifying
  8341. + # it if it's in CXXFLAGS. Ignore libCrun as
  8342. + # -library=stlport4 depends on it.
  8343. + case " $CXX $CXXFLAGS " in
  8344. + *" -library=stlport4 "*)
  8345. + solaris_use_stlport4=yes
  8346. ;;
  8347. - *)
  8348. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  8349. + esac
  8350. +
  8351. + if test "$solaris_use_stlport4" != yes; then
  8352. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  8353. + fi
  8354. + ;;
  8355. + esac
  8356. + ;;
  8357. +
  8358. +solaris*)
  8359. + case $cc_basename in
  8360. + CC*)
  8361. + # The more standards-conforming stlport4 library is
  8362. + # incompatible with the Cstd library. Avoid specifying
  8363. + # it if it's in CXXFLAGS. Ignore libCrun as
  8364. + # -library=stlport4 depends on it.
  8365. + case " $CXX $CXXFLAGS " in
  8366. + *" -library=stlport4 "*)
  8367. + solaris_use_stlport4=yes
  8368. ;;
  8369. esac
  8370. - else
  8371. +
  8372. + # Adding this requires a known-good setup of shared libraries for
  8373. + # Sun compiler versions before 5.6, else PIC objects from an old
  8374. + # archive will be linked into the output, leading to subtle bugs.
  8375. + if test "$solaris_use_stlport4" != yes; then
  8376. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  8377. + fi
  8378. + ;;
  8379. + esac
  8380. + ;;
  8381. +esac
  8382. +])
  8383. +
  8384. +case " $_LT_TAGVAR(postdeps, $1) " in
  8385. +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  8386. +esac
  8387. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  8388. +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  8389. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  8390. +fi
  8391. +_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  8392. + [The directories searched by this compiler when creating a shared library])
  8393. +_LT_TAGDECL([], [predep_objects], [1],
  8394. + [Dependencies to place before and after the objects being linked to
  8395. + create a shared library])
  8396. +_LT_TAGDECL([], [postdep_objects], [1])
  8397. +_LT_TAGDECL([], [predeps], [1])
  8398. +_LT_TAGDECL([], [postdeps], [1])
  8399. +_LT_TAGDECL([], [compiler_lib_search_path], [1],
  8400. + [The library search path used internally by the compiler when linking
  8401. + a shared library])
  8402. +])# _LT_SYS_HIDDEN_LIBDEPS
  8403. +
  8404. +
  8405. +# _LT_PROG_F77
  8406. +# ------------
  8407. +# Since AC_PROG_F77 is broken, in that it returns the empty string
  8408. +# if there is no fortran compiler, we have our own version here.
  8409. +m4_defun([_LT_PROG_F77],
  8410. +[
  8411. +pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  8412. +AC_PROG_F77
  8413. +if test -z "$F77" || test "X$F77" = "Xno"; then
  8414. + _lt_disable_F77=yes
  8415. +fi
  8416. +popdef([AC_MSG_ERROR])
  8417. +])# _LT_PROG_F77
  8418. +
  8419. +dnl aclocal-1.4 backwards compatibility:
  8420. +dnl AC_DEFUN([_LT_PROG_F77], [])
  8421. +
  8422. +
  8423. +# _LT_LANG_F77_CONFIG([TAG])
  8424. +# --------------------------
  8425. +# Ensure that the configuration variables for a Fortran 77 compiler are
  8426. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  8427. +# to write the compiler configuration to `libtool'.
  8428. +m4_defun([_LT_LANG_F77_CONFIG],
  8429. +[AC_REQUIRE([_LT_PROG_F77])dnl
  8430. +AC_LANG_PUSH(Fortran 77)
  8431. +
  8432. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  8433. +_LT_TAGVAR(allow_undefined_flag, $1)=
  8434. +_LT_TAGVAR(always_export_symbols, $1)=no
  8435. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  8436. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  8437. +_LT_TAGVAR(hardcode_direct, $1)=no
  8438. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  8439. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  8440. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  8441. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  8442. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  8443. +_LT_TAGVAR(hardcode_automatic, $1)=no
  8444. +_LT_TAGVAR(inherit_rpath, $1)=no
  8445. +_LT_TAGVAR(module_cmds, $1)=
  8446. +_LT_TAGVAR(module_expsym_cmds, $1)=
  8447. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  8448. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  8449. +_LT_TAGVAR(no_undefined_flag, $1)=
  8450. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  8451. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  8452. +
  8453. +# Source file extension for f77 test sources.
  8454. +ac_ext=f
  8455. +
  8456. +# Object file extension for compiled f77 test sources.
  8457. +objext=o
  8458. +_LT_TAGVAR(objext, $1)=$objext
  8459. +
  8460. +# No sense in running all these tests if we already determined that
  8461. +# the F77 compiler isn't working. Some variables (like enable_shared)
  8462. +# are currently assumed to apply to all compilers on this platform,
  8463. +# and will be corrupted by setting them based on a non-working compiler.
  8464. +if test "$_lt_disable_F77" != yes; then
  8465. + # Code to be used in simple compile tests
  8466. + lt_simple_compile_test_code="\
  8467. + subroutine t
  8468. + return
  8469. + end
  8470. +"
  8471. +
  8472. + # Code to be used in simple link tests
  8473. + lt_simple_link_test_code="\
  8474. + program t
  8475. + end
  8476. +"
  8477. +
  8478. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  8479. + _LT_TAG_COMPILER
  8480. +
  8481. + # save warnings/boilerplate of simple test code
  8482. + _LT_COMPILER_BOILERPLATE
  8483. + _LT_LINKER_BOILERPLATE
  8484. +
  8485. + # Allow CC to be a program name with arguments.
  8486. + lt_save_CC="$CC"
  8487. + lt_save_GCC=$GCC
  8488. + CC=${F77-"f77"}
  8489. + compiler=$CC
  8490. + _LT_TAGVAR(compiler, $1)=$CC
  8491. + _LT_CC_BASENAME([$compiler])
  8492. + GCC=$G77
  8493. + if test -n "$compiler"; then
  8494. + AC_MSG_CHECKING([if libtool supports shared libraries])
  8495. + AC_MSG_RESULT([$can_build_shared])
  8496. +
  8497. + AC_MSG_CHECKING([whether to build shared libraries])
  8498. + test "$can_build_shared" = "no" && enable_shared=no
  8499. +
  8500. + # On AIX, shared libraries and static libraries use the same namespace, and
  8501. + # are all built from PIC.
  8502. + case $host_os in
  8503. + aix3*)
  8504. + test "$enable_shared" = yes && enable_static=no
  8505. + if test -n "$RANLIB"; then
  8506. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  8507. + postinstall_cmds='$RANLIB $lib'
  8508. + fi
  8509. + ;;
  8510. + aix[[4-9]]*)
  8511. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  8512. + test "$enable_shared" = yes && enable_static=no
  8513. + fi
  8514. + ;;
  8515. + esac
  8516. + AC_MSG_RESULT([$enable_shared])
  8517. +
  8518. + AC_MSG_CHECKING([whether to build static libraries])
  8519. + # Make sure either enable_shared or enable_static is yes.
  8520. + test "$enable_shared" = yes || enable_static=yes
  8521. + AC_MSG_RESULT([$enable_static])
  8522. +
  8523. + _LT_TAGVAR(GCC, $1)="$G77"
  8524. + _LT_TAGVAR(LD, $1)="$LD"
  8525. +
  8526. + ## CAVEAT EMPTOR:
  8527. + ## There is no encapsulation within the following macros, do not change
  8528. + ## the running order or otherwise move them around unless you know exactly
  8529. + ## what you are doing...
  8530. + _LT_COMPILER_PIC($1)
  8531. + _LT_COMPILER_C_O($1)
  8532. + _LT_COMPILER_FILE_LOCKS($1)
  8533. + _LT_LINKER_SHLIBS($1)
  8534. + _LT_SYS_DYNAMIC_LINKER($1)
  8535. + _LT_LINKER_HARDCODE_LIBPATH($1)
  8536. +
  8537. + _LT_CONFIG($1)
  8538. + fi # test -n "$compiler"
  8539. +
  8540. + GCC=$lt_save_GCC
  8541. + CC="$lt_save_CC"
  8542. +fi # test "$_lt_disable_F77" != yes
  8543. +
  8544. +AC_LANG_POP
  8545. +])# _LT_LANG_F77_CONFIG
  8546. +
  8547. +
  8548. +# _LT_PROG_FC
  8549. +# -----------
  8550. +# Since AC_PROG_FC is broken, in that it returns the empty string
  8551. +# if there is no fortran compiler, we have our own version here.
  8552. +m4_defun([_LT_PROG_FC],
  8553. +[
  8554. +pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  8555. +AC_PROG_FC
  8556. +if test -z "$FC" || test "X$FC" = "Xno"; then
  8557. + _lt_disable_FC=yes
  8558. +fi
  8559. +popdef([AC_MSG_ERROR])
  8560. +])# _LT_PROG_FC
  8561. +
  8562. +dnl aclocal-1.4 backwards compatibility:
  8563. +dnl AC_DEFUN([_LT_PROG_FC], [])
  8564. +
  8565. +
  8566. +# _LT_LANG_FC_CONFIG([TAG])
  8567. +# -------------------------
  8568. +# Ensure that the configuration variables for a Fortran compiler are
  8569. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  8570. +# to write the compiler configuration to `libtool'.
  8571. +m4_defun([_LT_LANG_FC_CONFIG],
  8572. +[AC_REQUIRE([_LT_PROG_FC])dnl
  8573. +AC_LANG_PUSH(Fortran)
  8574. +
  8575. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  8576. +_LT_TAGVAR(allow_undefined_flag, $1)=
  8577. +_LT_TAGVAR(always_export_symbols, $1)=no
  8578. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  8579. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  8580. +_LT_TAGVAR(hardcode_direct, $1)=no
  8581. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  8582. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  8583. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  8584. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  8585. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  8586. +_LT_TAGVAR(hardcode_automatic, $1)=no
  8587. +_LT_TAGVAR(inherit_rpath, $1)=no
  8588. +_LT_TAGVAR(module_cmds, $1)=
  8589. +_LT_TAGVAR(module_expsym_cmds, $1)=
  8590. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  8591. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  8592. +_LT_TAGVAR(no_undefined_flag, $1)=
  8593. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  8594. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  8595. +
  8596. +# Source file extension for fc test sources.
  8597. +ac_ext=${ac_fc_srcext-f}
  8598. +
  8599. +# Object file extension for compiled fc test sources.
  8600. +objext=o
  8601. +_LT_TAGVAR(objext, $1)=$objext
  8602. +
  8603. +# No sense in running all these tests if we already determined that
  8604. +# the FC compiler isn't working. Some variables (like enable_shared)
  8605. +# are currently assumed to apply to all compilers on this platform,
  8606. +# and will be corrupted by setting them based on a non-working compiler.
  8607. +if test "$_lt_disable_FC" != yes; then
  8608. + # Code to be used in simple compile tests
  8609. + lt_simple_compile_test_code="\
  8610. + subroutine t
  8611. + return
  8612. + end
  8613. +"
  8614. +
  8615. + # Code to be used in simple link tests
  8616. + lt_simple_link_test_code="\
  8617. + program t
  8618. + end
  8619. +"
  8620. +
  8621. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  8622. + _LT_TAG_COMPILER
  8623. +
  8624. + # save warnings/boilerplate of simple test code
  8625. + _LT_COMPILER_BOILERPLATE
  8626. + _LT_LINKER_BOILERPLATE
  8627. +
  8628. + # Allow CC to be a program name with arguments.
  8629. + lt_save_CC="$CC"
  8630. + lt_save_GCC=$GCC
  8631. + CC=${FC-"f95"}
  8632. + compiler=$CC
  8633. + GCC=$ac_cv_fc_compiler_gnu
  8634. +
  8635. + _LT_TAGVAR(compiler, $1)=$CC
  8636. + _LT_CC_BASENAME([$compiler])
  8637. +
  8638. + if test -n "$compiler"; then
  8639. + AC_MSG_CHECKING([if libtool supports shared libraries])
  8640. + AC_MSG_RESULT([$can_build_shared])
  8641. +
  8642. + AC_MSG_CHECKING([whether to build shared libraries])
  8643. + test "$can_build_shared" = "no" && enable_shared=no
  8644. +
  8645. + # On AIX, shared libraries and static libraries use the same namespace, and
  8646. + # are all built from PIC.
  8647. case $host_os in
  8648. + aix3*)
  8649. + test "$enable_shared" = yes && enable_static=no
  8650. + if test -n "$RANLIB"; then
  8651. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  8652. + postinstall_cmds='$RANLIB $lib'
  8653. + fi
  8654. + ;;
  8655. aix[[4-9]]*)
  8656. - # All AIX code is PIC.
  8657. - if test "$host_cpu" = ia64; then
  8658. - # AIX 5 now supports IA64 processor
  8659. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8660. - else
  8661. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  8662. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  8663. + test "$enable_shared" = yes && enable_static=no
  8664. fi
  8665. - ;;
  8666. - chorus*)
  8667. - case $cc_basename in
  8668. - cxch68*)
  8669. - # Green Hills C++ Compiler
  8670. - # _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"
  8671. - ;;
  8672. - esac
  8673. - ;;
  8674. - darwin*)
  8675. - # PIC is the default on this platform
  8676. - # Common symbols not allowed in MH_DYLIB files
  8677. - case $cc_basename in
  8678. - xlc*)
  8679. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  8680. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8681. - ;;
  8682. - esac
  8683. - ;;
  8684. - dgux*)
  8685. - case $cc_basename in
  8686. - ec++*)
  8687. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8688. - ;;
  8689. - ghcx*)
  8690. - # Green Hills C++ Compiler
  8691. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8692. - ;;
  8693. - *)
  8694. - ;;
  8695. - esac
  8696. - ;;
  8697. - freebsd* | dragonfly*)
  8698. - # FreeBSD uses GNU C++
  8699. - ;;
  8700. - hpux9* | hpux10* | hpux11*)
  8701. - case $cc_basename in
  8702. - CC*)
  8703. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8704. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  8705. - if test "$host_cpu" != ia64; then
  8706. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  8707. - fi
  8708. - ;;
  8709. - aCC*)
  8710. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8711. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  8712. - case $host_cpu in
  8713. - hppa*64*|ia64*)
  8714. - # +Z the default
  8715. - ;;
  8716. - *)
  8717. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  8718. - ;;
  8719. - esac
  8720. - ;;
  8721. - *)
  8722. - ;;
  8723. - esac
  8724. - ;;
  8725. - interix*)
  8726. - # This is c89, which is MS Visual C++ (no shared libs)
  8727. - # Anyone wants to do a port?
  8728. - ;;
  8729. - irix5* | irix6* | nonstopux*)
  8730. - case $cc_basename in
  8731. - CC*)
  8732. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8733. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8734. - # CC pic flag -KPIC is the default.
  8735. - ;;
  8736. - *)
  8737. - ;;
  8738. - esac
  8739. - ;;
  8740. - linux* | k*bsd*-gnu)
  8741. - case $cc_basename in
  8742. - KCC*)
  8743. - # KAI C++ Compiler
  8744. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  8745. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  8746. - ;;
  8747. - icpc* | ecpc*)
  8748. - # Intel C++
  8749. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8750. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8751. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  8752. - ;;
  8753. - pgCC* | pgcpp*)
  8754. - # Portland Group C++ compiler.
  8755. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8756. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  8757. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8758. - ;;
  8759. - cxx*)
  8760. - # Compaq C++
  8761. - # Make sure the PIC flag is empty. It appears that all Alpha
  8762. - # Linux and Compaq Tru64 Unix objects are PIC.
  8763. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  8764. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8765. - ;;
  8766. - *)
  8767. - case `$CC -V 2>&1 | sed 5q` in
  8768. - *Sun\ C*)
  8769. - # Sun C++ 5.9
  8770. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8771. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8772. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  8773. - ;;
  8774. - esac
  8775. - ;;
  8776. - esac
  8777. - ;;
  8778. - lynxos*)
  8779. - ;;
  8780. - m88k*)
  8781. - ;;
  8782. - mvs*)
  8783. - case $cc_basename in
  8784. - cxx*)
  8785. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  8786. - ;;
  8787. - *)
  8788. - ;;
  8789. - esac
  8790. - ;;
  8791. - netbsd* | netbsdelf*-gnu)
  8792. - ;;
  8793. - osf3* | osf4* | osf5*)
  8794. - case $cc_basename in
  8795. - KCC*)
  8796. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  8797. - ;;
  8798. - RCC*)
  8799. - # Rational C++ 2.4.1
  8800. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8801. - ;;
  8802. - cxx*)
  8803. - # Digital/Compaq C++
  8804. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8805. - # Make sure the PIC flag is empty. It appears that all Alpha
  8806. - # Linux and Compaq Tru64 Unix objects are PIC.
  8807. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  8808. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  8809. - ;;
  8810. - *)
  8811. - ;;
  8812. - esac
  8813. - ;;
  8814. - psos*)
  8815. - ;;
  8816. - solaris*)
  8817. - case $cc_basename in
  8818. - CC*)
  8819. - # Sun C++ 4.2, 5.x and Centerline C++
  8820. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8821. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8822. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  8823. - ;;
  8824. - gcx*)
  8825. - # Green Hills C++ Compiler
  8826. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  8827. - ;;
  8828. - *)
  8829. - ;;
  8830. - esac
  8831. - ;;
  8832. - sunos4*)
  8833. - case $cc_basename in
  8834. - CC*)
  8835. - # Sun C++ 4.x
  8836. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8837. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8838. - ;;
  8839. - lcc*)
  8840. - # Lucid
  8841. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  8842. - ;;
  8843. - *)
  8844. - ;;
  8845. - esac
  8846. - ;;
  8847. - tandem*)
  8848. - case $cc_basename in
  8849. - NCC*)
  8850. - # NonStop-UX NCC 3.20
  8851. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8852. - ;;
  8853. - *)
  8854. - ;;
  8855. - esac
  8856. - ;;
  8857. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8858. - case $cc_basename in
  8859. - CC*)
  8860. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8861. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  8862. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8863. - ;;
  8864. - esac
  8865. - ;;
  8866. - vxworks*)
  8867. - ;;
  8868. - *)
  8869. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  8870. - ;;
  8871. + ;;
  8872. esac
  8873. - fi
  8874. -],
  8875. -[
  8876. - if test "$GCC" = yes; then
  8877. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  8878. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  8879. + AC_MSG_RESULT([$enable_shared])
  8880. - case $host_os in
  8881. - aix*)
  8882. - # All AIX code is PIC.
  8883. - if test "$host_cpu" = ia64; then
  8884. - # AIX 5 now supports IA64 processor
  8885. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  8886. - fi
  8887. - ;;
  8888. + AC_MSG_CHECKING([whether to build static libraries])
  8889. + # Make sure either enable_shared or enable_static is yes.
  8890. + test "$enable_shared" = yes || enable_static=yes
  8891. + AC_MSG_RESULT([$enable_static])
  8892. +
  8893. + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  8894. + _LT_TAGVAR(LD, $1)="$LD"
  8895. +
  8896. + ## CAVEAT EMPTOR:
  8897. + ## There is no encapsulation within the following macros, do not change
  8898. + ## the running order or otherwise move them around unless you know exactly
  8899. + ## what you are doing...
  8900. + _LT_SYS_HIDDEN_LIBDEPS($1)
  8901. + _LT_COMPILER_PIC($1)
  8902. + _LT_COMPILER_C_O($1)
  8903. + _LT_COMPILER_FILE_LOCKS($1)
  8904. + _LT_LINKER_SHLIBS($1)
  8905. + _LT_SYS_DYNAMIC_LINKER($1)
  8906. + _LT_LINKER_HARDCODE_LIBPATH($1)
  8907. +
  8908. + _LT_CONFIG($1)
  8909. + fi # test -n "$compiler"
  8910. +
  8911. + GCC=$lt_save_GCC
  8912. + CC="$lt_save_CC"
  8913. +fi # test "$_lt_disable_FC" != yes
  8914. - amigaos*)
  8915. - # FIXME: we need at least 68020 code to build shared libraries, but
  8916. - # adding the `-m68020' flag to GCC prevents building anything better,
  8917. - # like `-m68040'.
  8918. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  8919. - ;;
  8920. +AC_LANG_POP
  8921. +])# _LT_LANG_FC_CONFIG
  8922. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8923. - # PIC is the default for these OSes.
  8924. - ;;
  8925. - mingw* | cygwin* | pw32* | os2*)
  8926. - # This hack is so that the source file can tell whether it is being
  8927. - # built for inclusion in a dll (and should export symbols for example).
  8928. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8929. - # (--disable-auto-import) libraries
  8930. - m4_if([$1], [GCJ], [],
  8931. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  8932. - ;;
  8933. +# _LT_LANG_GCJ_CONFIG([TAG])
  8934. +# --------------------------
  8935. +# Ensure that the configuration variables for the GNU Java Compiler compiler
  8936. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  8937. +# to write the compiler configuration to `libtool'.
  8938. +m4_defun([_LT_LANG_GCJ_CONFIG],
  8939. +[AC_REQUIRE([LT_PROG_GCJ])dnl
  8940. +AC_LANG_SAVE
  8941. - darwin* | rhapsody*)
  8942. - # PIC is the default on this platform
  8943. - # Common symbols not allowed in MH_DYLIB files
  8944. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  8945. - ;;
  8946. +# Source file extension for Java test sources.
  8947. +ac_ext=java
  8948. - interix[[3-9]]*)
  8949. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8950. - # Instead, we relocate shared libraries at runtime.
  8951. - ;;
  8952. +# Object file extension for compiled Java test sources.
  8953. +objext=o
  8954. +_LT_TAGVAR(objext, $1)=$objext
  8955. - msdosdjgpp*)
  8956. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  8957. - # on systems that don't support them.
  8958. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  8959. - enable_shared=no
  8960. - ;;
  8961. +# Code to be used in simple compile tests
  8962. +lt_simple_compile_test_code="class foo {}"
  8963. - sysv4*MP*)
  8964. - if test -d /usr/nec; then
  8965. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  8966. - fi
  8967. - ;;
  8968. +# Code to be used in simple link tests
  8969. +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  8970. - hpux*)
  8971. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8972. - # not for PA HP-UX.
  8973. - case $host_cpu in
  8974. - hppa*64*|ia64*)
  8975. - # +Z the default
  8976. - ;;
  8977. - *)
  8978. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  8979. - ;;
  8980. - esac
  8981. - ;;
  8982. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  8983. +_LT_TAG_COMPILER
  8984. +
  8985. +# save warnings/boilerplate of simple test code
  8986. +_LT_COMPILER_BOILERPLATE
  8987. +_LT_LINKER_BOILERPLATE
  8988. +
  8989. +# Allow CC to be a program name with arguments.
  8990. +lt_save_CC="$CC"
  8991. +lt_save_GCC=$GCC
  8992. +GCC=yes
  8993. +CC=${GCJ-"gcj"}
  8994. +compiler=$CC
  8995. +_LT_TAGVAR(compiler, $1)=$CC
  8996. +_LT_TAGVAR(LD, $1)="$LD"
  8997. +_LT_CC_BASENAME([$compiler])
  8998. +
  8999. +# GCJ did not exist at the time GCC didn't implicitly link libc in.
  9000. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  9001. +
  9002. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  9003. +
  9004. +if test -n "$compiler"; then
  9005. + _LT_COMPILER_NO_RTTI($1)
  9006. + _LT_COMPILER_PIC($1)
  9007. + _LT_COMPILER_C_O($1)
  9008. + _LT_COMPILER_FILE_LOCKS($1)
  9009. + _LT_LINKER_SHLIBS($1)
  9010. + _LT_LINKER_HARDCODE_LIBPATH($1)
  9011. +
  9012. + _LT_CONFIG($1)
  9013. +fi
  9014. +
  9015. +AC_LANG_RESTORE
  9016. +
  9017. +GCC=$lt_save_GCC
  9018. +CC="$lt_save_CC"
  9019. +])# _LT_LANG_GCJ_CONFIG
  9020. +
  9021. +
  9022. +# _LT_LANG_RC_CONFIG([TAG])
  9023. +# -------------------------
  9024. +# Ensure that the configuration variables for the Windows resource compiler
  9025. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  9026. +# to write the compiler configuration to `libtool'.
  9027. +m4_defun([_LT_LANG_RC_CONFIG],
  9028. +[AC_REQUIRE([LT_PROG_RC])dnl
  9029. +AC_LANG_SAVE
  9030. +
  9031. +# Source file extension for RC test sources.
  9032. +ac_ext=rc
  9033. - *)
  9034. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  9035. - ;;
  9036. - esac
  9037. - else
  9038. - # PORTME Check for flag to pass linker flags through the system compiler.
  9039. - case $host_os in
  9040. - aix*)
  9041. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9042. - if test "$host_cpu" = ia64; then
  9043. - # AIX 5 now supports IA64 processor
  9044. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9045. - else
  9046. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  9047. - fi
  9048. - ;;
  9049. - darwin*)
  9050. - # PIC is the default on this platform
  9051. - # Common symbols not allowed in MH_DYLIB files
  9052. - case $cc_basename in
  9053. - xlc*)
  9054. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
  9055. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9056. - ;;
  9057. - esac
  9058. - ;;
  9059. +# Object file extension for compiled RC test sources.
  9060. +objext=o
  9061. +_LT_TAGVAR(objext, $1)=$objext
  9062. - mingw* | cygwin* | pw32* | os2*)
  9063. - # This hack is so that the source file can tell whether it is being
  9064. - # built for inclusion in a dll (and should export symbols for example).
  9065. - m4_if([$1], [GCJ], [],
  9066. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  9067. - ;;
  9068. +# Code to be used in simple compile tests
  9069. +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  9070. - hpux9* | hpux10* | hpux11*)
  9071. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9072. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  9073. - # not for PA HP-UX.
  9074. - case $host_cpu in
  9075. - hppa*64*|ia64*)
  9076. - # +Z the default
  9077. - ;;
  9078. - *)
  9079. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  9080. - ;;
  9081. - esac
  9082. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  9083. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  9084. - ;;
  9085. +# Code to be used in simple link tests
  9086. +lt_simple_link_test_code="$lt_simple_compile_test_code"
  9087. - irix5* | irix6* | nonstopux*)
  9088. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9089. - # PIC (with -KPIC) is the default.
  9090. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9091. - ;;
  9092. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  9093. +_LT_TAG_COMPILER
  9094. - newsos6)
  9095. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9096. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9097. - ;;
  9098. +# save warnings/boilerplate of simple test code
  9099. +_LT_COMPILER_BOILERPLATE
  9100. +_LT_LINKER_BOILERPLATE
  9101. - linux* | k*bsd*-gnu)
  9102. - case $cc_basename in
  9103. - icc* | ecc*)
  9104. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9105. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9106. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
  9107. - ;;
  9108. - pgcc* | pgf77* | pgf90* | pgf95*)
  9109. - # Portland Group compilers (*not* the Pentium gcc compiler,
  9110. - # which looks to be a dead project)
  9111. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9112. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  9113. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9114. - ;;
  9115. - ccc*)
  9116. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9117. - # All Alpha code is PIC.
  9118. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9119. - ;;
  9120. - *)
  9121. - case `$CC -V 2>&1 | sed 5q` in
  9122. - *Sun\ C*)
  9123. - # Sun C 5.9
  9124. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9125. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9126. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9127. - ;;
  9128. - *Sun\ F*)
  9129. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  9130. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9131. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9132. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
  9133. - ;;
  9134. - esac
  9135. - ;;
  9136. - esac
  9137. - ;;
  9138. +# Allow CC to be a program name with arguments.
  9139. +lt_save_CC="$CC"
  9140. +lt_save_GCC=$GCC
  9141. +GCC=
  9142. +CC=${RC-"windres"}
  9143. +compiler=$CC
  9144. +_LT_TAGVAR(compiler, $1)=$CC
  9145. +_LT_CC_BASENAME([$compiler])
  9146. +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  9147. - osf3* | osf4* | osf5*)
  9148. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9149. - # All OSF/1 code is PIC.
  9150. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9151. - ;;
  9152. +if test -n "$compiler"; then
  9153. + :
  9154. + _LT_CONFIG($1)
  9155. +fi
  9156. - rdos*)
  9157. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  9158. - ;;
  9159. +GCC=$lt_save_GCC
  9160. +AC_LANG_RESTORE
  9161. +CC="$lt_save_CC"
  9162. +])# _LT_LANG_RC_CONFIG
  9163. - solaris*)
  9164. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9165. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9166. - case $cc_basename in
  9167. - f77* | f90* | f95*)
  9168. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  9169. - *)
  9170. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  9171. - esac
  9172. - ;;
  9173. - sunos4*)
  9174. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  9175. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  9176. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9177. - ;;
  9178. +# LT_PROG_GCJ
  9179. +# -----------
  9180. +AC_DEFUN([LT_PROG_GCJ],
  9181. +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  9182. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  9183. + [AC_CHECK_TOOL(GCJ, gcj,)
  9184. + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  9185. + AC_SUBST(GCJFLAGS)])])[]dnl
  9186. +])
  9187. - sysv4 | sysv4.2uw2* | sysv4.3*)
  9188. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9189. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9190. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9191. - ;;
  9192. +# Old name:
  9193. +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  9194. +dnl aclocal-1.4 backwards compatibility:
  9195. +dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  9196. - sysv4*MP*)
  9197. - if test -d /usr/nec ;then
  9198. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  9199. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9200. - fi
  9201. - ;;
  9202. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  9203. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9204. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  9205. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9206. - ;;
  9207. +# LT_PROG_RC
  9208. +# ----------
  9209. +AC_DEFUN([LT_PROG_RC],
  9210. +[AC_CHECK_TOOL(RC, windres,)
  9211. +])
  9212. - unicos*)
  9213. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  9214. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  9215. - ;;
  9216. +# Old name:
  9217. +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  9218. +dnl aclocal-1.4 backwards compatibility:
  9219. +dnl AC_DEFUN([LT_AC_PROG_RC], [])
  9220. - uts4*)
  9221. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  9222. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  9223. - ;;
  9224. - *)
  9225. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  9226. - ;;
  9227. - esac
  9228. - fi
  9229. +# _LT_DECL_EGREP
  9230. +# --------------
  9231. +# If we don't have a new enough Autoconf to choose the best grep
  9232. +# available, choose the one first in the user's PATH.
  9233. +m4_defun([_LT_DECL_EGREP],
  9234. +[AC_REQUIRE([AC_PROG_EGREP])dnl
  9235. +AC_REQUIRE([AC_PROG_FGREP])dnl
  9236. +test -z "$GREP" && GREP=grep
  9237. +_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  9238. +_LT_DECL([], [EGREP], [1], [An ERE matcher])
  9239. +_LT_DECL([], [FGREP], [1], [A literal string matcher])
  9240. +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  9241. +AC_SUBST([GREP])
  9242. ])
  9243. -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
  9244. -#
  9245. -# Check to make sure the PIC flag actually works.
  9246. -#
  9247. -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
  9248. - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
  9249. - _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
  9250. - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
  9251. - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
  9252. - "" | " "*) ;;
  9253. - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  9254. - esac],
  9255. - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  9256. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  9257. -fi
  9258. -case $host_os in
  9259. - # For platforms which do not support PIC, -DPIC is meaningless:
  9260. - *djgpp*)
  9261. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
  9262. - ;;
  9263. - *)
  9264. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
  9265. - ;;
  9266. -esac
  9267. -#
  9268. -# Check to make sure the static flag actually works.
  9269. -#
  9270. -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
  9271. -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  9272. - _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  9273. - $lt_tmp_static_flag,
  9274. - [],
  9275. - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
  9276. +# _LT_DECL_OBJDUMP
  9277. +# --------------
  9278. +# If we don't have a new enough Autoconf to choose the best objdump
  9279. +# available, choose the one first in the user's PATH.
  9280. +m4_defun([_LT_DECL_OBJDUMP],
  9281. +[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  9282. +test -z "$OBJDUMP" && OBJDUMP=objdump
  9283. +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  9284. +AC_SUBST([OBJDUMP])
  9285. ])
  9286. -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
  9287. -# ------------------------------------
  9288. -# See if the linker supports building shared libraries.
  9289. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
  9290. -[AC_REQUIRE([LT_AC_PROG_SED])dnl
  9291. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  9292. -ifelse([$1],[CXX],[
  9293. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9294. - case $host_os in
  9295. - aix[[4-9]]*)
  9296. - # If we're using GNU nm, then we don't want the "-C" option.
  9297. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9298. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  9299. - _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'
  9300. - else
  9301. - _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'
  9302. +# _LT_DECL_SED
  9303. +# ------------
  9304. +# Check for a fully-functional sed program, that truncates
  9305. +# as few characters as possible. Prefer GNU sed if found.
  9306. +m4_defun([_LT_DECL_SED],
  9307. +[AC_PROG_SED
  9308. +test -z "$SED" && SED=sed
  9309. +Xsed="$SED -e 1s/^X//"
  9310. +_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  9311. +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  9312. + [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  9313. +])# _LT_DECL_SED
  9314. +
  9315. +m4_ifndef([AC_PROG_SED], [
  9316. +# NOTE: This macro has been submitted for inclusion into #
  9317. +# GNU Autoconf as AC_PROG_SED. When it is available in #
  9318. +# a released version of Autoconf we should remove this #
  9319. +# macro and use it instead. #
  9320. +
  9321. +m4_defun([AC_PROG_SED],
  9322. +[AC_MSG_CHECKING([for a sed that does not truncate output])
  9323. +AC_CACHE_VAL(lt_cv_path_SED,
  9324. +[# Loop through the user's path and test for sed and gsed.
  9325. +# Then use that list of sed's as ones to test for truncation.
  9326. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9327. +for as_dir in $PATH
  9328. +do
  9329. + IFS=$as_save_IFS
  9330. + test -z "$as_dir" && as_dir=.
  9331. + for lt_ac_prog in sed gsed; do
  9332. + for ac_exec_ext in '' $ac_executable_extensions; do
  9333. + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  9334. + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  9335. + fi
  9336. + done
  9337. + done
  9338. +done
  9339. +IFS=$as_save_IFS
  9340. +lt_ac_max=0
  9341. +lt_ac_count=0
  9342. +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  9343. +# along with /bin/sed that truncates output.
  9344. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  9345. + test ! -f $lt_ac_sed && continue
  9346. + cat /dev/null > conftest.in
  9347. + lt_ac_count=0
  9348. + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  9349. + # Check for GNU sed and select it if it is found.
  9350. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  9351. + lt_cv_path_SED=$lt_ac_sed
  9352. + break
  9353. + fi
  9354. + while true; do
  9355. + cat conftest.in conftest.in >conftest.tmp
  9356. + mv conftest.tmp conftest.in
  9357. + cp conftest.in conftest.nl
  9358. + echo >>conftest.nl
  9359. + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  9360. + cmp -s conftest.out conftest.nl || break
  9361. + # 10000 chars as input seems more than enough
  9362. + test $lt_ac_count -gt 10 && break
  9363. + lt_ac_count=`expr $lt_ac_count + 1`
  9364. + if test $lt_ac_count -gt $lt_ac_max; then
  9365. + lt_ac_max=$lt_ac_count
  9366. + lt_cv_path_SED=$lt_ac_sed
  9367. fi
  9368. - ;;
  9369. - pw32*)
  9370. - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  9371. - ;;
  9372. - cygwin* | mingw*)
  9373. - _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'
  9374. - ;;
  9375. - linux* | k*bsd*-gnu)
  9376. - _LT_AC_TAGVAR(link_all_deplibs, $1)=no
  9377. - ;;
  9378. - *)
  9379. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9380. + done
  9381. +done
  9382. +])
  9383. +SED=$lt_cv_path_SED
  9384. +AC_SUBST([SED])
  9385. +AC_MSG_RESULT([$SED])
  9386. +])#AC_PROG_SED
  9387. +])#m4_ifndef
  9388. +
  9389. +# Old name:
  9390. +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  9391. +dnl aclocal-1.4 backwards compatibility:
  9392. +dnl AC_DEFUN([LT_AC_PROG_SED], [])
  9393. +
  9394. +
  9395. +# _LT_CHECK_SHELL_FEATURES
  9396. +# ------------------------
  9397. +# Find out whether the shell is Bourne or XSI compatible,
  9398. +# or has some other useful features.
  9399. +m4_defun([_LT_CHECK_SHELL_FEATURES],
  9400. +[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  9401. +# Try some XSI features
  9402. +xsi_shell=no
  9403. +( _lt_dummy="a/b/c"
  9404. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  9405. + = c,a/b,, \
  9406. + && eval 'test $(( 1 + 1 )) -eq 2 \
  9407. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  9408. + && xsi_shell=yes
  9409. +AC_MSG_RESULT([$xsi_shell])
  9410. +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  9411. +
  9412. +AC_MSG_CHECKING([whether the shell understands "+="])
  9413. +lt_shell_append=no
  9414. +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  9415. + >/dev/null 2>&1 \
  9416. + && lt_shell_append=yes
  9417. +AC_MSG_RESULT([$lt_shell_append])
  9418. +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  9419. +
  9420. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  9421. + lt_unset=unset
  9422. +else
  9423. + lt_unset=false
  9424. +fi
  9425. +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  9426. +
  9427. +# test EBCDIC or ASCII
  9428. +case `echo X|tr X '\101'` in
  9429. + A) # ASCII based system
  9430. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  9431. + lt_SP2NL='tr \040 \012'
  9432. + lt_NL2SP='tr \015\012 \040\040'
  9433. + ;;
  9434. + *) # EBCDIC based system
  9435. + lt_SP2NL='tr \100 \n'
  9436. + lt_NL2SP='tr \r\n \100\100'
  9437. ;;
  9438. +esac
  9439. +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  9440. +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  9441. +])# _LT_CHECK_SHELL_FEATURES
  9442. +
  9443. +
  9444. +# _LT_PROG_XSI_SHELLFNS
  9445. +# ---------------------
  9446. +# Bourne and XSI compatible variants of some useful shell functions.
  9447. +m4_defun([_LT_PROG_XSI_SHELLFNS],
  9448. +[case $xsi_shell in
  9449. + yes)
  9450. + cat << \_LT_EOF >> "$cfgfile"
  9451. +
  9452. +# func_dirname file append nondir_replacement
  9453. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  9454. +# otherwise set result to NONDIR_REPLACEMENT.
  9455. +func_dirname ()
  9456. +{
  9457. + case ${1} in
  9458. + */*) func_dirname_result="${1%/*}${2}" ;;
  9459. + * ) func_dirname_result="${3}" ;;
  9460. esac
  9461. - _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  9462. -],[
  9463. - runpath_var=
  9464. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  9465. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  9466. - _LT_AC_TAGVAR(archive_cmds, $1)=
  9467. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
  9468. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
  9469. - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  9470. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  9471. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  9472. - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
  9473. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9474. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  9475. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  9476. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  9477. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
  9478. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  9479. - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
  9480. - _LT_AC_TAGVAR(hardcode_automatic, $1)=no
  9481. - _LT_AC_TAGVAR(module_cmds, $1)=
  9482. - _LT_AC_TAGVAR(module_expsym_cmds, $1)=
  9483. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  9484. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9485. - # include_expsyms should be a list of space-separated symbols to be *always*
  9486. - # included in the symbol list
  9487. - _LT_AC_TAGVAR(include_expsyms, $1)=
  9488. - # exclude_expsyms can be an extended regexp of symbols to exclude
  9489. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  9490. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  9491. - # as well as any symbol that contains `d'.
  9492. - _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  9493. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  9494. - # platforms (ab)use it in PIC code, but their linkers get confused if
  9495. - # the symbol is explicitly referenced. Since portable code cannot
  9496. - # rely on this symbol name, it's probably fine to never include it in
  9497. - # preloaded symbol tables.
  9498. - # Exclude shared library initialization/finalization symbols.
  9499. -dnl Note also adjust exclude_expsyms for C++ above.
  9500. - extract_expsyms_cmds=
  9501. - # Just being paranoid about ensuring that cc_basename is set.
  9502. - _LT_CC_BASENAME([$compiler])
  9503. - case $host_os in
  9504. - cygwin* | mingw* | pw32*)
  9505. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  9506. - # When not using gcc, we currently assume that we are using
  9507. - # Microsoft Visual C++.
  9508. - if test "$GCC" != yes; then
  9509. - with_gnu_ld=no
  9510. - fi
  9511. - ;;
  9512. - interix*)
  9513. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  9514. - with_gnu_ld=yes
  9515. - ;;
  9516. - openbsd*)
  9517. - with_gnu_ld=no
  9518. - ;;
  9519. - esac
  9520. +}
  9521. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  9522. - if test "$with_gnu_ld" = yes; then
  9523. - # If archive_cmds runs LD, not CC, wlarc should be empty
  9524. - wlarc='${wl}'
  9525. +# func_basename file
  9526. +func_basename ()
  9527. +{
  9528. + func_basename_result="${1##*/}"
  9529. +}
  9530. +
  9531. +# func_dirname_and_basename file append nondir_replacement
  9532. +# perform func_basename and func_dirname in a single function
  9533. +# call:
  9534. +# dirname: Compute the dirname of FILE. If nonempty,
  9535. +# add APPEND to the result, otherwise set result
  9536. +# to NONDIR_REPLACEMENT.
  9537. +# value returned in "$func_dirname_result"
  9538. +# basename: Compute filename of FILE.
  9539. +# value retuned in "$func_basename_result"
  9540. +# Implementation must be kept synchronized with func_dirname
  9541. +# and func_basename. For efficiency, we do not delegate to
  9542. +# those functions but instead duplicate the functionality here.
  9543. +func_dirname_and_basename ()
  9544. +{
  9545. + case ${1} in
  9546. + */*) func_dirname_result="${1%/*}${2}" ;;
  9547. + * ) func_dirname_result="${3}" ;;
  9548. + esac
  9549. + func_basename_result="${1##*/}"
  9550. +}
  9551. - # Set some defaults for GNU ld with shared library support. These
  9552. - # are reset later if shared libraries are not supported. Putting them
  9553. - # here allows them to be overridden if necessary.
  9554. - runpath_var=LD_RUN_PATH
  9555. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  9556. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  9557. - # ancient GNU ld didn't support --whole-archive et. al.
  9558. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  9559. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9560. - else
  9561. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  9562. - fi
  9563. - supports_anon_versioning=no
  9564. - case `$LD -v 2>/dev/null` in
  9565. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  9566. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  9567. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  9568. - *\ 2.11.*) ;; # other 2.11 versions
  9569. - *) supports_anon_versioning=yes ;;
  9570. - esac
  9571. +# func_stripname prefix suffix name
  9572. +# strip PREFIX and SUFFIX off of NAME.
  9573. +# PREFIX and SUFFIX must not contain globbing or regex special
  9574. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  9575. +# dot (in which case that matches only a dot).
  9576. +func_stripname ()
  9577. +{
  9578. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  9579. + # positional parameters, so assign one to ordinary parameter first.
  9580. + func_stripname_result=${3}
  9581. + func_stripname_result=${func_stripname_result#"${1}"}
  9582. + func_stripname_result=${func_stripname_result%"${2}"}
  9583. +}
  9584. - # See if GNU ld supports shared libraries.
  9585. - case $host_os in
  9586. - aix[[3-9]]*)
  9587. - # On AIX/PPC, the GNU linker is very broken
  9588. - if test "$host_cpu" != ia64; then
  9589. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9590. - cat <<EOF 1>&2
  9591. +# func_opt_split
  9592. +func_opt_split ()
  9593. +{
  9594. + func_opt_split_opt=${1%%=*}
  9595. + func_opt_split_arg=${1#*=}
  9596. +}
  9597. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  9598. -*** to be unable to reliably create shared libraries on AIX.
  9599. -*** Therefore, libtool is disabling shared libraries support. If you
  9600. -*** really care for shared libraries, you may want to modify your PATH
  9601. -*** so that a non-GNU linker is found, and then restart.
  9602. +# func_lo2o object
  9603. +func_lo2o ()
  9604. +{
  9605. + case ${1} in
  9606. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  9607. + *) func_lo2o_result=${1} ;;
  9608. + esac
  9609. +}
  9610. -EOF
  9611. - fi
  9612. - ;;
  9613. +# func_xform libobj-or-source
  9614. +func_xform ()
  9615. +{
  9616. + func_xform_result=${1%.*}.lo
  9617. +}
  9618. - amigaos*)
  9619. - _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)'
  9620. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9621. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9622. -
  9623. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  9624. - # that the semantics of dynamic libraries on AmigaOS, at least up
  9625. - # to version 4, is to share data among multiple programs linked
  9626. - # with the same dynamic library. Since this doesn't match the
  9627. - # behavior of shared libraries on other platforms, we can't use
  9628. - # them.
  9629. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9630. - ;;
  9631. +# func_arith arithmetic-term...
  9632. +func_arith ()
  9633. +{
  9634. + func_arith_result=$(( $[*] ))
  9635. +}
  9636. - beos*)
  9637. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9638. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  9639. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9640. - # support --undefined. This deserves some investigation. FIXME
  9641. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9642. - else
  9643. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9644. - fi
  9645. - ;;
  9646. +# func_len string
  9647. +# STRING may not start with a hyphen.
  9648. +func_len ()
  9649. +{
  9650. + func_len_result=${#1}
  9651. +}
  9652. - cygwin* | mingw* | pw32*)
  9653. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  9654. - # as there is no search path for DLLs.
  9655. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9656. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  9657. - _LT_AC_TAGVAR(always_export_symbols, $1)=no
  9658. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  9659. - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  9660. +_LT_EOF
  9661. + ;;
  9662. + *) # Bourne compatible functions.
  9663. + cat << \_LT_EOF >> "$cfgfile"
  9664. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  9665. - _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'
  9666. - # If the export-symbols file already is a .def file (1st line
  9667. - # is EXPORTS), use it as is; otherwise, prepend...
  9668. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9669. - cp $export_symbols $output_objdir/$soname.def;
  9670. - else
  9671. - echo EXPORTS > $output_objdir/$soname.def;
  9672. - cat $export_symbols >> $output_objdir/$soname.def;
  9673. - fi~
  9674. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9675. - else
  9676. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9677. - fi
  9678. - ;;
  9679. +# func_dirname file append nondir_replacement
  9680. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  9681. +# otherwise set result to NONDIR_REPLACEMENT.
  9682. +func_dirname ()
  9683. +{
  9684. + # Extract subdirectory from the argument.
  9685. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  9686. + if test "X$func_dirname_result" = "X${1}"; then
  9687. + func_dirname_result="${3}"
  9688. + else
  9689. + func_dirname_result="$func_dirname_result${2}"
  9690. + fi
  9691. +}
  9692. - interix[[3-9]]*)
  9693. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  9694. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9695. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  9696. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  9697. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9698. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  9699. - # default) and relocated if they conflict, which is a slow very memory
  9700. - # consuming and fragmenting process. To avoid this, we pick a random,
  9701. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9702. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  9703. - _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'
  9704. - _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'
  9705. - ;;
  9706. +# func_basename file
  9707. +func_basename ()
  9708. +{
  9709. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  9710. +}
  9711. - gnu* | linux* | k*bsd*-gnu)
  9712. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9713. - tmp_addflag=
  9714. - case $cc_basename,$host_cpu in
  9715. - pgcc*) # Portland Group C compiler
  9716. - _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'
  9717. - tmp_addflag=' $pic_flag'
  9718. - ;;
  9719. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  9720. - _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'
  9721. - tmp_addflag=' $pic_flag -Mnomain' ;;
  9722. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  9723. - tmp_addflag=' -i_dynamic' ;;
  9724. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  9725. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  9726. - ifc* | ifort*) # Intel Fortran compiler
  9727. - tmp_addflag=' -nofor_main' ;;
  9728. - esac
  9729. - case `$CC -V 2>&1 | sed 5q` in
  9730. - *Sun\ C*) # Sun C 5.9
  9731. - _LT_AC_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'
  9732. - tmp_sharedflag='-G' ;;
  9733. - *Sun\ F*) # Sun Fortran 8.3
  9734. - tmp_sharedflag='-G' ;;
  9735. - *)
  9736. - tmp_sharedflag='-shared' ;;
  9737. - esac
  9738. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9739. +dnl func_dirname_and_basename
  9740. +dnl A portable version of this function is already defined in general.m4sh
  9741. +dnl so there is no need for it here.
  9742. +
  9743. +# func_stripname prefix suffix name
  9744. +# strip PREFIX and SUFFIX off of NAME.
  9745. +# PREFIX and SUFFIX must not contain globbing or regex special
  9746. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  9747. +# dot (in which case that matches only a dot).
  9748. +# func_strip_suffix prefix name
  9749. +func_stripname ()
  9750. +{
  9751. + case ${2} in
  9752. + .*) func_stripname_result=`$ECHO "X${3}" \
  9753. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  9754. + *) func_stripname_result=`$ECHO "X${3}" \
  9755. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  9756. + esac
  9757. +}
  9758. - if test $supports_anon_versioning = yes; then
  9759. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
  9760. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9761. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  9762. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9763. - fi
  9764. - _LT_AC_TAGVAR(link_all_deplibs, $1)=no
  9765. - else
  9766. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9767. - fi
  9768. - ;;
  9769. +# sed scripts:
  9770. +my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  9771. +my_sed_long_arg='1s/^-[[^=]]*=//'
  9772. - netbsd* | netbsdelf*-gnu)
  9773. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  9774. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9775. - wlarc=
  9776. - else
  9777. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9778. - _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'
  9779. - fi
  9780. - ;;
  9781. +# func_opt_split
  9782. +func_opt_split ()
  9783. +{
  9784. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  9785. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  9786. +}
  9787. - solaris*)
  9788. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  9789. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9790. - cat <<EOF 1>&2
  9791. +# func_lo2o object
  9792. +func_lo2o ()
  9793. +{
  9794. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  9795. +}
  9796. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9797. -*** create shared libraries on Solaris systems. Therefore, libtool
  9798. -*** is disabling shared libraries support. We urge you to upgrade GNU
  9799. -*** binutils to release 2.9.1 or newer. Another option is to modify
  9800. -*** your PATH or compiler configuration so that the native linker is
  9801. -*** used, and then restart.
  9802. +# func_xform libobj-or-source
  9803. +func_xform ()
  9804. +{
  9805. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  9806. +}
  9807. -EOF
  9808. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9809. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9810. - _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'
  9811. - else
  9812. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9813. - fi
  9814. - ;;
  9815. +# func_arith arithmetic-term...
  9816. +func_arith ()
  9817. +{
  9818. + func_arith_result=`expr "$[@]"`
  9819. +}
  9820. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9821. - case `$LD -v 2>&1` in
  9822. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  9823. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9824. - cat <<_LT_EOF 1>&2
  9825. +# func_len string
  9826. +# STRING may not start with a hyphen.
  9827. +func_len ()
  9828. +{
  9829. + func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  9830. +}
  9831. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9832. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  9833. -*** is disabling shared libraries support. We urge you to upgrade GNU
  9834. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  9835. -*** your PATH or compiler configuration so that the native linker is
  9836. -*** used, and then restart.
  9837. +_LT_EOF
  9838. +esac
  9839. +case $lt_shell_append in
  9840. + yes)
  9841. + cat << \_LT_EOF >> "$cfgfile"
  9842. +
  9843. +# func_append var value
  9844. +# Append VALUE to the end of shell variable VAR.
  9845. +func_append ()
  9846. +{
  9847. + eval "$[1]+=\$[2]"
  9848. +}
  9849. _LT_EOF
  9850. - ;;
  9851. - *)
  9852. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9853. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  9854. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  9855. - _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'
  9856. - else
  9857. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9858. - fi
  9859. - ;;
  9860. - esac
  9861. - ;;
  9862. + ;;
  9863. + *)
  9864. + cat << \_LT_EOF >> "$cfgfile"
  9865. - sunos4*)
  9866. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9867. - wlarc=
  9868. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9869. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  9870. - ;;
  9871. +# func_append var value
  9872. +# Append VALUE to the end of shell variable VAR.
  9873. +func_append ()
  9874. +{
  9875. + eval "$[1]=\$$[1]\$[2]"
  9876. +}
  9877. - *)
  9878. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  9879. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9880. - _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'
  9881. - else
  9882. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  9883. - fi
  9884. - ;;
  9885. - esac
  9886. +_LT_EOF
  9887. + ;;
  9888. + esac
  9889. +])
  9890. - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
  9891. - runpath_var=
  9892. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
  9893. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
  9894. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
  9895. - fi
  9896. - else
  9897. - # PORTME fill in a description of your system's linker (not GNU ld)
  9898. - case $host_os in
  9899. - aix3*)
  9900. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  9901. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  9902. - _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'
  9903. - # Note: this linker hardcodes the directories in LIBPATH if there
  9904. - # are no directories specified by -L.
  9905. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9906. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9907. - # Neither direct hardcoding nor static linking is supported with a
  9908. - # broken collect2.
  9909. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  9910. - fi
  9911. - ;;
  9912. +# Helper functions for option handling. -*- Autoconf -*-
  9913. +#
  9914. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  9915. +# Written by Gary V. Vaughan, 2004
  9916. +#
  9917. +# This file is free software; the Free Software Foundation gives
  9918. +# unlimited permission to copy and/or distribute it, with or without
  9919. +# modifications, as long as this notice is preserved.
  9920. - aix[[4-9]]*)
  9921. - if test "$host_cpu" = ia64; then
  9922. - # On IA64, the linker does run time linking by default, so we don't
  9923. - # have to do anything special.
  9924. - aix_use_runtimelinking=no
  9925. - exp_sym_flag='-Bexport'
  9926. - no_entry_flag=""
  9927. - else
  9928. - # If we're using GNU nm, then we don't want the "-C" option.
  9929. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9930. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  9931. - _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'
  9932. - else
  9933. - _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'
  9934. - fi
  9935. - aix_use_runtimelinking=no
  9936. +# serial 6 ltoptions.m4
  9937. - # Test if we are trying to use run time linking or normal
  9938. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9939. - # need to do runtime linking.
  9940. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  9941. - for ld_flag in $LDFLAGS; do
  9942. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9943. - aix_use_runtimelinking=yes
  9944. - break
  9945. - fi
  9946. - done
  9947. - ;;
  9948. - esac
  9949. +# This is to help aclocal find these macros, as it can't see m4_define.
  9950. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  9951. - exp_sym_flag='-bexport'
  9952. - no_entry_flag='-bnoentry'
  9953. - fi
  9954. - # When large executables or shared objects are built, AIX ld can
  9955. - # have problems creating the table of contents. If linking a library
  9956. - # or program results in "error TOC overflow" add -mminimal-toc to
  9957. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  9958. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9959. +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  9960. +# ------------------------------------------
  9961. +m4_define([_LT_MANGLE_OPTION],
  9962. +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  9963. - _LT_AC_TAGVAR(archive_cmds, $1)=''
  9964. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  9965. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  9966. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  9967. - if test "$GCC" = yes; then
  9968. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  9969. - # We only want to do this on AIX 4.2 and lower, the check
  9970. - # below for broken collect2 doesn't work under 4.3+
  9971. - collect2name=`${CC} -print-prog-name=collect2`
  9972. - if test -f "$collect2name" && \
  9973. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  9974. - then
  9975. - # We have reworked collect2
  9976. - :
  9977. - else
  9978. - # We have old collect2
  9979. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
  9980. - # It fails to find uninstalled libraries when the uninstalled
  9981. - # path is not listed in the libpath. Setting hardcode_minus_L
  9982. - # to unsupported forces relinking
  9983. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  9984. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  9985. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
  9986. - fi
  9987. - ;;
  9988. - esac
  9989. - shared_flag='-shared'
  9990. - if test "$aix_use_runtimelinking" = yes; then
  9991. - shared_flag="$shared_flag "'${wl}-G'
  9992. - fi
  9993. - else
  9994. - # not using gcc
  9995. - if test "$host_cpu" = ia64; then
  9996. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9997. - # chokes on -Wl,-G. The following line is correct:
  9998. - shared_flag='-G'
  9999. - else
  10000. - if test "$aix_use_runtimelinking" = yes; then
  10001. - shared_flag='${wl}-G'
  10002. - else
  10003. - shared_flag='${wl}-bM:SRE'
  10004. - fi
  10005. - fi
  10006. - fi
  10007. +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  10008. +# ---------------------------------------
  10009. +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  10010. +# matching handler defined, dispatch to it. Other OPTION-NAMEs are
  10011. +# saved as a flag.
  10012. +m4_define([_LT_SET_OPTION],
  10013. +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  10014. +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  10015. + _LT_MANGLE_DEFUN([$1], [$2]),
  10016. + [m4_warning([Unknown $1 option `$2'])])[]dnl
  10017. +])
  10018. - # It seems that -bexpall does not export symbols beginning with
  10019. - # underscore (_), so it is better to generate a list of symbols to export.
  10020. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
  10021. - if test "$aix_use_runtimelinking" = yes; then
  10022. - # Warning - without using the other runtime loading flags (-brtl),
  10023. - # -berok will link without error, but may produce a broken library.
  10024. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
  10025. - # Determine the default libpath from the value encoded in an empty executable.
  10026. - _LT_AC_SYS_LIBPATH_AIX
  10027. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  10028. - _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"
  10029. - else
  10030. - if test "$host_cpu" = ia64; then
  10031. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  10032. - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  10033. - _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"
  10034. - else
  10035. - # Determine the default libpath from the value encoded in an empty executable.
  10036. - _LT_AC_SYS_LIBPATH_AIX
  10037. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  10038. - # Warning - without using the other run time loading flags,
  10039. - # -berok will link without error, but may produce a broken library.
  10040. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  10041. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  10042. - # Exported symbols can be pulled into shared objects from archives
  10043. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  10044. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  10045. - # This is similar to how AIX traditionally builds its shared libraries.
  10046. - _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'
  10047. - fi
  10048. - fi
  10049. - ;;
  10050. - amigaos*)
  10051. - _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)'
  10052. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10053. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  10054. - # see comment about different semantics on the GNU ld section
  10055. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  10056. - ;;
  10057. +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  10058. +# ------------------------------------------------------------
  10059. +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  10060. +m4_define([_LT_IF_OPTION],
  10061. +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  10062. +
  10063. - bsdi[[45]]*)
  10064. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  10065. - ;;
  10066. +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  10067. +# -------------------------------------------------------
  10068. +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  10069. +# are set.
  10070. +m4_define([_LT_UNLESS_OPTIONS],
  10071. +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  10072. + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  10073. + [m4_define([$0_found])])])[]dnl
  10074. +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  10075. +])[]dnl
  10076. +])
  10077. - cygwin* | mingw* | pw32*)
  10078. - # When not using gcc, we currently assume that we are using
  10079. - # Microsoft Visual C++.
  10080. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  10081. - # no search path for DLLs.
  10082. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  10083. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  10084. - # Tell ltmain to make .lib files, not .a files.
  10085. - libext=lib
  10086. - # Tell ltmain to make .dll files, not .so files.
  10087. - shrext_cmds=".dll"
  10088. - # FIXME: Setting linknames here is a bad hack.
  10089. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  10090. - # The linker will automatically build a .lib file if we build a DLL.
  10091. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
  10092. - # FIXME: Should let the user specify the lib program.
  10093. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  10094. - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  10095. - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  10096. - ;;
  10097. - darwin* | rhapsody*)
  10098. - case $host_os in
  10099. - rhapsody* | darwin1.[[012]])
  10100. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
  10101. - ;;
  10102. - *) # Darwin 1.3 on
  10103. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  10104. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  10105. - else
  10106. - case ${MACOSX_DEPLOYMENT_TARGET} in
  10107. - 10.[[012]])
  10108. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  10109. - ;;
  10110. - 10.*)
  10111. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
  10112. - ;;
  10113. - esac
  10114. - fi
  10115. - ;;
  10116. - esac
  10117. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  10118. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  10119. - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
  10120. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  10121. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
  10122. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  10123. - if test "$GCC" = yes ; then
  10124. - output_verbose_link_cmd='echo'
  10125. - _LT_AC_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}"
  10126. - _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  10127. - _LT_AC_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}"
  10128. - _LT_AC_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}"
  10129. - else
  10130. - case $cc_basename in
  10131. - xlc*)
  10132. - output_verbose_link_cmd='echo'
  10133. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  10134. - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  10135. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  10136. - _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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  10137. - _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}'
  10138. - ;;
  10139. - *)
  10140. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  10141. - ;;
  10142. - esac
  10143. - fi
  10144. - ;;
  10145. +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  10146. +# ----------------------------------------
  10147. +# OPTION-LIST is a space-separated list of Libtool options associated
  10148. +# with MACRO-NAME. If any OPTION has a matching handler declared with
  10149. +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  10150. +# the unknown option and exit.
  10151. +m4_defun([_LT_SET_OPTIONS],
  10152. +[# Set options
  10153. +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  10154. + [_LT_SET_OPTION([$1], _LT_Option)])
  10155. +
  10156. +m4_if([$1],[LT_INIT],[
  10157. + dnl
  10158. + dnl Simply set some default values (i.e off) if boolean options were not
  10159. + dnl specified:
  10160. + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  10161. + ])
  10162. + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  10163. + ])
  10164. + dnl
  10165. + dnl If no reference was made to various pairs of opposing options, then
  10166. + dnl we run the default mode handler for the pair. For example, if neither
  10167. + dnl `shared' nor `disable-shared' was passed, we enable building of shared
  10168. + dnl archives by default:
  10169. + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  10170. + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  10171. + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  10172. + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  10173. + [_LT_ENABLE_FAST_INSTALL])
  10174. + ])
  10175. +])# _LT_SET_OPTIONS
  10176. - dgux*)
  10177. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10178. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10179. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10180. - ;;
  10181. - freebsd1*)
  10182. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  10183. - ;;
  10184. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  10185. - # support. Future versions do this automatically, but an explicit c++rt0.o
  10186. - # does not break anything, and helps significantly (at the cost of a little
  10187. - # extra space).
  10188. - freebsd2.2*)
  10189. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  10190. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  10191. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10192. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10193. - ;;
  10194. +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  10195. +# -----------------------------------------
  10196. +m4_define([_LT_MANGLE_DEFUN],
  10197. +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  10198. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  10199. - freebsd2*)
  10200. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10201. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10202. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  10203. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10204. - ;;
  10205. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  10206. - freebsd* | dragonfly*)
  10207. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  10208. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  10209. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10210. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10211. - ;;
  10212. +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  10213. +# -----------------------------------------------
  10214. +m4_define([LT_OPTION_DEFINE],
  10215. +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  10216. +])# LT_OPTION_DEFINE
  10217. - hpux9*)
  10218. - if test "$GCC" = yes; then
  10219. - _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'
  10220. - else
  10221. - _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'
  10222. - fi
  10223. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  10224. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  10225. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10226. - # hardcode_minus_L: Not really in the search PATH,
  10227. - # but as the default location of the library.
  10228. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  10229. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  10230. - ;;
  10231. +# dlopen
  10232. +# ------
  10233. +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  10234. +])
  10235. - hpux10*)
  10236. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  10237. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10238. - else
  10239. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  10240. - fi
  10241. - if test "$with_gnu_ld" = no; then
  10242. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  10243. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  10244. +AU_DEFUN([AC_LIBTOOL_DLOPEN],
  10245. +[_LT_SET_OPTION([LT_INIT], [dlopen])
  10246. +AC_DIAGNOSE([obsolete],
  10247. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  10248. +put the `dlopen' option into LT_INIT's first parameter.])
  10249. +])
  10250. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10251. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  10252. +dnl aclocal-1.4 backwards compatibility:
  10253. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  10254. - # hardcode_minus_L: Not really in the search PATH,
  10255. - # but as the default location of the library.
  10256. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  10257. - fi
  10258. - ;;
  10259. - hpux11*)
  10260. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  10261. - case $host_cpu in
  10262. - hppa*64*)
  10263. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10264. - ;;
  10265. - ia64*)
  10266. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  10267. - ;;
  10268. - *)
  10269. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10270. - ;;
  10271. - esac
  10272. - else
  10273. - case $host_cpu in
  10274. - hppa*64*)
  10275. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10276. - ;;
  10277. - ia64*)
  10278. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  10279. - ;;
  10280. - *)
  10281. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  10282. - ;;
  10283. - esac
  10284. - fi
  10285. - if test "$with_gnu_ld" = no; then
  10286. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  10287. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  10288. +# win32-dll
  10289. +# ---------
  10290. +# Declare package support for building win32 dll's.
  10291. +LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  10292. +[enable_win32_dll=yes
  10293. - case $host_cpu in
  10294. - hppa*64*|ia64*)
  10295. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  10296. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  10297. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10298. - ;;
  10299. - *)
  10300. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10301. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  10302. +case $host in
  10303. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  10304. + AC_CHECK_TOOL(AS, as, false)
  10305. + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  10306. + AC_CHECK_TOOL(OBJDUMP, objdump, false)
  10307. + ;;
  10308. +esac
  10309. - # hardcode_minus_L: Not really in the search PATH,
  10310. - # but as the default location of the library.
  10311. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  10312. - ;;
  10313. - esac
  10314. - fi
  10315. - ;;
  10316. +test -z "$AS" && AS=as
  10317. +_LT_DECL([], [AS], [0], [Assembler program])dnl
  10318. - irix5* | irix6* | nonstopux*)
  10319. - if test "$GCC" = yes; then
  10320. - _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'
  10321. - else
  10322. - _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'
  10323. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  10324. - fi
  10325. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  10326. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  10327. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  10328. - ;;
  10329. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  10330. +_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  10331. - netbsd* | netbsdelf*-gnu)
  10332. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  10333. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  10334. - else
  10335. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  10336. - fi
  10337. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  10338. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10339. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10340. - ;;
  10341. +test -z "$OBJDUMP" && OBJDUMP=objdump
  10342. +_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  10343. +])# win32-dll
  10344. - newsos6)
  10345. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10346. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10347. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  10348. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  10349. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10350. - ;;
  10351. +AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  10352. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  10353. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  10354. +AC_DIAGNOSE([obsolete],
  10355. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  10356. +put the `win32-dll' option into LT_INIT's first parameter.])
  10357. +])
  10358. - openbsd*)
  10359. - if test -f /usr/libexec/ld.so; then
  10360. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10361. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10362. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10363. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10364. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  10365. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  10366. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  10367. - else
  10368. - case $host_os in
  10369. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  10370. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10371. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  10372. - ;;
  10373. - *)
  10374. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  10375. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  10376. - ;;
  10377. - esac
  10378. - fi
  10379. - else
  10380. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  10381. - fi
  10382. - ;;
  10383. +dnl aclocal-1.4 backwards compatibility:
  10384. +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  10385. - os2*)
  10386. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10387. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  10388. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
  10389. - _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'
  10390. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  10391. - ;;
  10392. - osf3*)
  10393. - if test "$GCC" = yes; then
  10394. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  10395. - _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'
  10396. - else
  10397. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  10398. - _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'
  10399. - fi
  10400. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  10401. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  10402. +# _LT_ENABLE_SHARED([DEFAULT])
  10403. +# ----------------------------
  10404. +# implement the --enable-shared flag, and supports the `shared' and
  10405. +# `disable-shared' LT_INIT options.
  10406. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  10407. +m4_define([_LT_ENABLE_SHARED],
  10408. +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  10409. +AC_ARG_ENABLE([shared],
  10410. + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  10411. + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  10412. + [p=${PACKAGE-default}
  10413. + case $enableval in
  10414. + yes) enable_shared=yes ;;
  10415. + no) enable_shared=no ;;
  10416. + *)
  10417. + enable_shared=no
  10418. + # Look at the argument we got. We use all the common list separators.
  10419. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  10420. + for pkg in $enableval; do
  10421. + IFS="$lt_save_ifs"
  10422. + if test "X$pkg" = "X$p"; then
  10423. + enable_shared=yes
  10424. + fi
  10425. + done
  10426. + IFS="$lt_save_ifs"
  10427. ;;
  10428. + esac],
  10429. + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  10430. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  10431. - if test "$GCC" = yes; then
  10432. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  10433. - _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'
  10434. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  10435. - else
  10436. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  10437. - _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'
  10438. - _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~
  10439. - $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'
  10440. + _LT_DECL([build_libtool_libs], [enable_shared], [0],
  10441. + [Whether or not to build shared libraries])
  10442. +])# _LT_ENABLE_SHARED
  10443. - # Both c and cxx compiler support -rpath directly
  10444. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  10445. - fi
  10446. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
  10447. - ;;
  10448. +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  10449. +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  10450. - solaris*)
  10451. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
  10452. - if test "$GCC" = yes; then
  10453. - wlarc='${wl}'
  10454. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10455. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  10456. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  10457. - else
  10458. - wlarc=''
  10459. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10460. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  10461. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  10462. - fi
  10463. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  10464. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10465. - case $host_os in
  10466. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  10467. - *)
  10468. - # The compiler driver will combine and reorder linker options,
  10469. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  10470. - # but is careful enough not to reorder.
  10471. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  10472. - if test "$GCC" = yes; then
  10473. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  10474. - else
  10475. - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  10476. +# Old names:
  10477. +AC_DEFUN([AC_ENABLE_SHARED],
  10478. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  10479. +])
  10480. +
  10481. +AC_DEFUN([AC_DISABLE_SHARED],
  10482. +[_LT_SET_OPTION([LT_INIT], [disable-shared])
  10483. +])
  10484. +
  10485. +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  10486. +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  10487. +
  10488. +dnl aclocal-1.4 backwards compatibility:
  10489. +dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  10490. +dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  10491. +
  10492. +
  10493. +
  10494. +# _LT_ENABLE_STATIC([DEFAULT])
  10495. +# ----------------------------
  10496. +# implement the --enable-static flag, and support the `static' and
  10497. +# `disable-static' LT_INIT options.
  10498. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  10499. +m4_define([_LT_ENABLE_STATIC],
  10500. +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  10501. +AC_ARG_ENABLE([static],
  10502. + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  10503. + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  10504. + [p=${PACKAGE-default}
  10505. + case $enableval in
  10506. + yes) enable_static=yes ;;
  10507. + no) enable_static=no ;;
  10508. + *)
  10509. + enable_static=no
  10510. + # Look at the argument we got. We use all the common list separators.
  10511. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  10512. + for pkg in $enableval; do
  10513. + IFS="$lt_save_ifs"
  10514. + if test "X$pkg" = "X$p"; then
  10515. + enable_static=yes
  10516. fi
  10517. - ;;
  10518. - esac
  10519. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  10520. + done
  10521. + IFS="$lt_save_ifs"
  10522. ;;
  10523. + esac],
  10524. + [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  10525. - sunos4*)
  10526. - if test "x$host_vendor" = xsequent; then
  10527. - # Use $CC to link under sequent, because it throws in some extra .o
  10528. - # files that make .init and .fini sections work.
  10529. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  10530. - else
  10531. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  10532. - fi
  10533. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10534. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
  10535. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
  10536. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10537. - ;;
  10538. + _LT_DECL([build_old_libs], [enable_static], [0],
  10539. + [Whether or not to build static libraries])
  10540. +])# _LT_ENABLE_STATIC
  10541. - sysv4)
  10542. - case $host_vendor in
  10543. - sni)
  10544. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10545. - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  10546. - ;;
  10547. - siemens)
  10548. - ## LD is ld it makes a PLAMLIB
  10549. - ## CC just makes a GrossModule.
  10550. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  10551. - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  10552. - _LT_AC_TAGVAR(hardcode_direct, $1)=no
  10553. - ;;
  10554. - motorola)
  10555. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10556. - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  10557. - ;;
  10558. - esac
  10559. - runpath_var='LD_RUN_PATH'
  10560. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10561. - ;;
  10562. +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  10563. +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  10564. - sysv4.3*)
  10565. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10566. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10567. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  10568. - ;;
  10569. +# Old names:
  10570. +AC_DEFUN([AC_ENABLE_STATIC],
  10571. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  10572. +])
  10573. - sysv4*MP*)
  10574. - if test -d /usr/nec; then
  10575. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10576. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10577. - runpath_var=LD_RUN_PATH
  10578. - hardcode_runpath_var=yes
  10579. - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
  10580. - fi
  10581. +AC_DEFUN([AC_DISABLE_STATIC],
  10582. +[_LT_SET_OPTION([LT_INIT], [disable-static])
  10583. +])
  10584. +
  10585. +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  10586. +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  10587. +
  10588. +dnl aclocal-1.4 backwards compatibility:
  10589. +dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  10590. +dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  10591. +
  10592. +
  10593. +
  10594. +# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  10595. +# ----------------------------------
  10596. +# implement the --enable-fast-install flag, and support the `fast-install'
  10597. +# and `disable-fast-install' LT_INIT options.
  10598. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  10599. +m4_define([_LT_ENABLE_FAST_INSTALL],
  10600. +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  10601. +AC_ARG_ENABLE([fast-install],
  10602. + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  10603. + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  10604. + [p=${PACKAGE-default}
  10605. + case $enableval in
  10606. + yes) enable_fast_install=yes ;;
  10607. + no) enable_fast_install=no ;;
  10608. + *)
  10609. + enable_fast_install=no
  10610. + # Look at the argument we got. We use all the common list separators.
  10611. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  10612. + for pkg in $enableval; do
  10613. + IFS="$lt_save_ifs"
  10614. + if test "X$pkg" = "X$p"; then
  10615. + enable_fast_install=yes
  10616. + fi
  10617. + done
  10618. + IFS="$lt_save_ifs"
  10619. ;;
  10620. + esac],
  10621. + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  10622. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  10623. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  10624. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  10625. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10626. - runpath_var='LD_RUN_PATH'
  10627. +_LT_DECL([fast_install], [enable_fast_install], [0],
  10628. + [Whether or not to optimize for fast installation])dnl
  10629. +])# _LT_ENABLE_FAST_INSTALL
  10630. +
  10631. +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  10632. +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  10633. +
  10634. +# Old names:
  10635. +AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  10636. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  10637. +AC_DIAGNOSE([obsolete],
  10638. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  10639. +the `fast-install' option into LT_INIT's first parameter.])
  10640. +])
  10641. - if test "$GCC" = yes; then
  10642. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10643. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10644. - else
  10645. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10646. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10647. - fi
  10648. - ;;
  10649. +AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  10650. +[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  10651. +AC_DIAGNOSE([obsolete],
  10652. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  10653. +the `disable-fast-install' option into LT_INIT's first parameter.])
  10654. +])
  10655. - sysv5* | sco3.2v5* | sco5v6*)
  10656. - # Note: We can NOT use -z defs as we might desire, because we do not
  10657. - # link with -lc, and that would cause any symbols used from libc to
  10658. - # always be unresolved, which means just about no library would
  10659. - # ever link correctly. If we're not using GNU ld we use -z text
  10660. - # though, which does catch some bad symbols but isn't as heavy-handed
  10661. - # as -z defs.
  10662. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  10663. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  10664. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  10665. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10666. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  10667. - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
  10668. - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
  10669. - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  10670. - runpath_var='LD_RUN_PATH'
  10671. +dnl aclocal-1.4 backwards compatibility:
  10672. +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  10673. +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  10674. - if test "$GCC" = yes; then
  10675. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10676. - _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'
  10677. - else
  10678. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  10679. - _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'
  10680. - fi
  10681. - ;;
  10682. - uts4*)
  10683. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10684. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  10685. - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
  10686. - ;;
  10687. +# _LT_WITH_PIC([MODE])
  10688. +# --------------------
  10689. +# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  10690. +# LT_INIT options.
  10691. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  10692. +m4_define([_LT_WITH_PIC],
  10693. +[AC_ARG_WITH([pic],
  10694. + [AS_HELP_STRING([--with-pic],
  10695. + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  10696. + [pic_mode="$withval"],
  10697. + [pic_mode=default])
  10698. - *)
  10699. - _LT_AC_TAGVAR(ld_shlibs, $1)=no
  10700. - ;;
  10701. - esac
  10702. - fi
  10703. +test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  10704. +
  10705. +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  10706. +])# _LT_WITH_PIC
  10707. +
  10708. +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  10709. +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  10710. +
  10711. +# Old name:
  10712. +AU_DEFUN([AC_LIBTOOL_PICMODE],
  10713. +[_LT_SET_OPTION([LT_INIT], [pic-only])
  10714. +AC_DIAGNOSE([obsolete],
  10715. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  10716. +put the `pic-only' option into LT_INIT's first parameter.])
  10717. ])
  10718. -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
  10719. -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  10720. +dnl aclocal-1.4 backwards compatibility:
  10721. +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  10722. +
  10723. +
  10724. +m4_define([_LTDL_MODE], [])
  10725. +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  10726. + [m4_define([_LTDL_MODE], [nonrecursive])])
  10727. +LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  10728. + [m4_define([_LTDL_MODE], [recursive])])
  10729. +LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  10730. + [m4_define([_LTDL_MODE], [subproject])])
  10731. +
  10732. +m4_define([_LTDL_TYPE], [])
  10733. +LT_OPTION_DEFINE([LTDL_INIT], [installable],
  10734. + [m4_define([_LTDL_TYPE], [installable])])
  10735. +LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  10736. + [m4_define([_LTDL_TYPE], [convenience])])
  10737. +
  10738. +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  10739. #
  10740. -# Do we need to explicitly link libc?
  10741. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  10742. +# Written by Gary V. Vaughan, 2004
  10743. #
  10744. -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
  10745. -x|xyes)
  10746. - # Assume -lc should be added
  10747. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  10748. +# This file is free software; the Free Software Foundation gives
  10749. +# unlimited permission to copy and/or distribute it, with or without
  10750. +# modifications, as long as this notice is preserved.
  10751. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  10752. - case $_LT_AC_TAGVAR(archive_cmds, $1) in
  10753. - *'~'*)
  10754. - # FIXME: we may have to deal with multi-command sequences.
  10755. - ;;
  10756. - '$CC '*)
  10757. - # Test whether the compiler implicitly links with -lc since on some
  10758. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  10759. - # to ld, don't add -lc before -lgcc.
  10760. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  10761. - $rm conftest*
  10762. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10763. +# serial 6 ltsugar.m4
  10764. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  10765. - soname=conftest
  10766. - lib=conftest
  10767. - libobjs=conftest.$ac_objext
  10768. - deplibs=
  10769. - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
  10770. - pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
  10771. - compiler_flags=-v
  10772. - linker_flags=-v
  10773. - verstring=
  10774. - output_objdir=.
  10775. - libname=conftest
  10776. - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
  10777. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
  10778. - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
  10779. - then
  10780. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
  10781. - else
  10782. - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
  10783. - fi
  10784. - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  10785. - else
  10786. - cat conftest.err 1>&5
  10787. - fi
  10788. - $rm conftest*
  10789. - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
  10790. - ;;
  10791. - esac
  10792. - fi
  10793. - ;;
  10794. -esac
  10795. -])# AC_LIBTOOL_PROG_LD_SHLIBS
  10796. +# This is to help aclocal find these macros, as it can't see m4_define.
  10797. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  10798. -# _LT_AC_FILE_LTDLL_C
  10799. -# -------------------
  10800. -# Be careful that the start marker always follows a newline.
  10801. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
  10802. -# /* ltdll.c starts here */
  10803. -# #define WIN32_LEAN_AND_MEAN
  10804. -# #include <windows.h>
  10805. -# #undef WIN32_LEAN_AND_MEAN
  10806. -# #include <stdio.h>
  10807. -#
  10808. -# #ifndef __CYGWIN__
  10809. -# # ifdef __CYGWIN32__
  10810. -# # define __CYGWIN__ __CYGWIN32__
  10811. -# # endif
  10812. -# #endif
  10813. -#
  10814. -# #ifdef __cplusplus
  10815. -# extern "C" {
  10816. -# #endif
  10817. -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
  10818. -# #ifdef __cplusplus
  10819. -# }
  10820. -# #endif
  10821. -#
  10822. -# #ifdef __CYGWIN__
  10823. -# #include <cygwin/cygwin_dll.h>
  10824. -# DECLARE_CYGWIN_DLL( DllMain );
  10825. -# #endif
  10826. -# HINSTANCE __hDllInstance_base;
  10827. -#
  10828. -# BOOL APIENTRY
  10829. -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
  10830. -# {
  10831. -# __hDllInstance_base = hInst;
  10832. -# return TRUE;
  10833. -# }
  10834. -# /* ltdll.c ends here */
  10835. -])# _LT_AC_FILE_LTDLL_C
  10836. +# lt_join(SEP, ARG1, [ARG2...])
  10837. +# -----------------------------
  10838. +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  10839. +# associated separator.
  10840. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  10841. +# versions in m4sugar had bugs.
  10842. +m4_define([lt_join],
  10843. +[m4_if([$#], [1], [],
  10844. + [$#], [2], [[$2]],
  10845. + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  10846. +m4_define([_lt_join],
  10847. +[m4_if([$#$2], [2], [],
  10848. + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  10849. -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
  10850. -# ---------------------------------
  10851. -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
  10852. +# lt_car(LIST)
  10853. +# lt_cdr(LIST)
  10854. +# ------------
  10855. +# Manipulate m4 lists.
  10856. +# These macros are necessary as long as will still need to support
  10857. +# Autoconf-2.59 which quotes differently.
  10858. +m4_define([lt_car], [[$1]])
  10859. +m4_define([lt_cdr],
  10860. +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  10861. + [$#], 1, [],
  10862. + [m4_dquote(m4_shift($@))])])
  10863. +m4_define([lt_unquote], $1)
  10864. +
  10865. +
  10866. +# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  10867. +# ------------------------------------------
  10868. +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  10869. +# Note that neither SEPARATOR nor STRING are expanded; they are appended
  10870. +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  10871. +# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  10872. +# than defined and empty).
  10873. +#
  10874. +# This macro is needed until we can rely on Autoconf 2.62, since earlier
  10875. +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  10876. +m4_define([lt_append],
  10877. +[m4_define([$1],
  10878. + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  10879. -# old names
  10880. -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
  10881. -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  10882. -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  10883. -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  10884. -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  10885. -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
  10886. -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
  10887. -# This is just to silence aclocal about the macro not being used
  10888. -ifelse([AC_DISABLE_FAST_INSTALL])
  10889. +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  10890. +# ----------------------------------------------------------
  10891. +# Produce a SEP delimited list of all paired combinations of elements of
  10892. +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  10893. +# has the form PREFIXmINFIXSUFFIXn.
  10894. +# Needed until we can rely on m4_combine added in Autoconf 2.62.
  10895. +m4_define([lt_combine],
  10896. +[m4_if(m4_eval([$# > 3]), [1],
  10897. + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  10898. +[[m4_foreach([_Lt_prefix], [$2],
  10899. + [m4_foreach([_Lt_suffix],
  10900. + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  10901. + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  10902. +
  10903. +
  10904. +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  10905. +# -----------------------------------------------------------------------
  10906. +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  10907. +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  10908. +m4_define([lt_if_append_uniq],
  10909. +[m4_ifdef([$1],
  10910. + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  10911. + [lt_append([$1], [$2], [$3])$4],
  10912. + [$5])],
  10913. + [lt_append([$1], [$2], [$3])$4])])
  10914. -AC_DEFUN([LT_AC_PROG_GCJ],
  10915. -[AC_CHECK_TOOL(GCJ, gcj, no)
  10916. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  10917. - AC_SUBST(GCJFLAGS)
  10918. -])
  10919. -AC_DEFUN([LT_AC_PROG_RC],
  10920. -[AC_CHECK_TOOL(RC, windres, no)
  10921. -])
  10922. +# lt_dict_add(DICT, KEY, VALUE)
  10923. +# -----------------------------
  10924. +m4_define([lt_dict_add],
  10925. +[m4_define([$1($2)], [$3])])
  10926. -# Cheap backport of AS_EXECUTABLE_P and required macros
  10927. -# from Autoconf 2.59; we should not use $as_executable_p directly.
  10928. +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  10929. +# --------------------------------------------
  10930. +m4_define([lt_dict_add_subkey],
  10931. +[m4_define([$1($2:$3)], [$4])])
  10932. -# _AS_TEST_PREPARE
  10933. -# ----------------
  10934. -m4_ifndef([_AS_TEST_PREPARE],
  10935. -[m4_defun([_AS_TEST_PREPARE],
  10936. -[if test -x / >/dev/null 2>&1; then
  10937. - as_executable_p='test -x'
  10938. -else
  10939. - as_executable_p='test -f'
  10940. -fi
  10941. -])])# _AS_TEST_PREPARE
  10942. -# AS_EXECUTABLE_P
  10943. -# ---------------
  10944. -# Check whether a file is executable.
  10945. -m4_ifndef([AS_EXECUTABLE_P],
  10946. -[m4_defun([AS_EXECUTABLE_P],
  10947. -[AS_REQUIRE([_AS_TEST_PREPARE])dnl
  10948. -$as_executable_p $1[]dnl
  10949. -])])# AS_EXECUTABLE_P
  10950. +# lt_dict_fetch(DICT, KEY, [SUBKEY])
  10951. +# ----------------------------------
  10952. +m4_define([lt_dict_fetch],
  10953. +[m4_ifval([$3],
  10954. + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  10955. + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  10956. -# NOTE: This macro has been submitted for inclusion into #
  10957. -# GNU Autoconf as AC_PROG_SED. When it is available in #
  10958. -# a released version of Autoconf we should remove this #
  10959. -# macro and use it instead. #
  10960. -# LT_AC_PROG_SED
  10961. -# --------------
  10962. -# Check for a fully-functional sed program, that truncates
  10963. -# as few characters as possible. Prefer GNU sed if found.
  10964. -AC_DEFUN([LT_AC_PROG_SED],
  10965. -[AC_MSG_CHECKING([for a sed that does not truncate output])
  10966. -AC_CACHE_VAL(lt_cv_path_SED,
  10967. -[# Loop through the user's path and test for sed and gsed.
  10968. -# Then use that list of sed's as ones to test for truncation.
  10969. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10970. -for as_dir in $PATH
  10971. -do
  10972. - IFS=$as_save_IFS
  10973. - test -z "$as_dir" && as_dir=.
  10974. - for lt_ac_prog in sed gsed; do
  10975. - for ac_exec_ext in '' $ac_executable_extensions; do
  10976. - if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
  10977. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  10978. - fi
  10979. - done
  10980. - done
  10981. -done
  10982. -IFS=$as_save_IFS
  10983. -lt_ac_max=0
  10984. -lt_ac_count=0
  10985. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  10986. -# along with /bin/sed that truncates output.
  10987. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  10988. - test ! -f $lt_ac_sed && continue
  10989. - cat /dev/null > conftest.in
  10990. - lt_ac_count=0
  10991. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  10992. - # Check for GNU sed and select it if it is found.
  10993. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  10994. - lt_cv_path_SED=$lt_ac_sed
  10995. - break
  10996. - fi
  10997. - while true; do
  10998. - cat conftest.in conftest.in >conftest.tmp
  10999. - mv conftest.tmp conftest.in
  11000. - cp conftest.in conftest.nl
  11001. - echo >>conftest.nl
  11002. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  11003. - cmp -s conftest.out conftest.nl || break
  11004. - # 10000 chars as input seems more than enough
  11005. - test $lt_ac_count -gt 10 && break
  11006. - lt_ac_count=`expr $lt_ac_count + 1`
  11007. - if test $lt_ac_count -gt $lt_ac_max; then
  11008. - lt_ac_max=$lt_ac_count
  11009. - lt_cv_path_SED=$lt_ac_sed
  11010. - fi
  11011. - done
  11012. -done
  11013. +
  11014. +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  11015. +# -----------------------------------------------------------------
  11016. +m4_define([lt_if_dict_fetch],
  11017. +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  11018. + [$5],
  11019. + [$6])])
  11020. +
  11021. +
  11022. +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  11023. +# --------------------------------------------------------------
  11024. +m4_define([lt_dict_filter],
  11025. +[m4_if([$5], [], [],
  11026. + [lt_join(m4_quote(m4_default([$4], [[, ]])),
  11027. + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  11028. + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  11029. ])
  11030. -SED=$lt_cv_path_SED
  11031. -AC_SUBST([SED])
  11032. -AC_MSG_RESULT([$SED])
  11033. +
  11034. +# ltversion.m4 -- version numbers -*- Autoconf -*-
  11035. +#
  11036. +# Copyright (C) 2004 Free Software Foundation, Inc.
  11037. +# Written by Scott James Remnant, 2004
  11038. +#
  11039. +# This file is free software; the Free Software Foundation gives
  11040. +# unlimited permission to copy and/or distribute it, with or without
  11041. +# modifications, as long as this notice is preserved.
  11042. +
  11043. +# Generated from ltversion.in.
  11044. +
  11045. +# serial 3017 ltversion.m4
  11046. +# This file is part of GNU Libtool
  11047. +
  11048. +m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  11049. +m4_define([LT_PACKAGE_REVISION], [1.3017])
  11050. +
  11051. +AC_DEFUN([LTVERSION_VERSION],
  11052. +[macro_version='2.2.6b'
  11053. +macro_revision='1.3017'
  11054. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  11055. +_LT_DECL(, macro_revision, 0)
  11056. ])
  11057. +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  11058. +#
  11059. +# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  11060. +# Written by Scott James Remnant, 2004.
  11061. +#
  11062. +# This file is free software; the Free Software Foundation gives
  11063. +# unlimited permission to copy and/or distribute it, with or without
  11064. +# modifications, as long as this notice is preserved.
  11065. +
  11066. +# serial 4 lt~obsolete.m4
  11067. +
  11068. +# These exist entirely to fool aclocal when bootstrapping libtool.
  11069. +#
  11070. +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  11071. +# which have later been changed to m4_define as they aren't part of the
  11072. +# exported API, or moved to Autoconf or Automake where they belong.
  11073. +#
  11074. +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
  11075. +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  11076. +# using a macro with the same name in our local m4/libtool.m4 it'll
  11077. +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  11078. +# and doesn't know about Autoconf macros at all.)
  11079. +#
  11080. +# So we provide this file, which has a silly filename so it's always
  11081. +# included after everything else. This provides aclocal with the
  11082. +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  11083. +# because those macros already exist, or will be overwritten later.
  11084. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  11085. +#
  11086. +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  11087. +# Yes, that means every name once taken will need to remain here until
  11088. +# we give up compatibility with versions before 1.7, at which point
  11089. +# we need to keep only those names which we still refer to.
  11090. +
  11091. +# This is to help aclocal find these macros, as it can't see m4_define.
  11092. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  11093. +
  11094. +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  11095. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
  11096. +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  11097. +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
  11098. +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  11099. +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
  11100. +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
  11101. +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  11102. +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
  11103. +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  11104. +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
  11105. +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  11106. +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  11107. +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  11108. +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  11109. +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  11110. +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
  11111. +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  11112. +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  11113. +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
  11114. +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
  11115. +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  11116. +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  11117. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  11118. +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  11119. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  11120. +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  11121. +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  11122. +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
  11123. +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
  11124. +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
  11125. +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  11126. +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  11127. +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
  11128. +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
  11129. +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  11130. +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  11131. +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
  11132. +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  11133. +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  11134. +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  11135. +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  11136. +m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  11137. +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  11138. +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  11139. +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  11140. +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  11141. +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  11142. +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  11143. +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  11144. +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  11145. +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  11146. +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  11147. +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  11148. +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  11149. +
  11150. # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
  11151. #
  11152. # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
  11153. @@ -6821,55 +8143,49 @@
  11154. fi[]dnl
  11155. ])# PKG_CHECK_MODULES
  11156. -# -*- Autoconf -*-
  11157. -# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
  11158. -# Generated from amversion.in; do not edit by hand.
  11159. -
  11160. -# This program is free software; you can redistribute it and/or modify
  11161. -# it under the terms of the GNU General Public License as published by
  11162. -# the Free Software Foundation; either version 2, or (at your option)
  11163. -# any later version.
  11164. -
  11165. -# This program is distributed in the hope that it will be useful,
  11166. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11167. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11168. -# GNU General Public License for more details.
  11169. -
  11170. -# You should have received a copy of the GNU General Public License
  11171. -# along with this program; if not, write to the Free Software
  11172. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11173. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  11174. +#
  11175. +# This file is free software; the Free Software Foundation
  11176. +# gives unlimited permission to copy and/or distribute it,
  11177. +# with or without modifications, as long as this notice is preserved.
  11178. # AM_AUTOMAKE_VERSION(VERSION)
  11179. # ----------------------------
  11180. # Automake X.Y traces this macro to ensure aclocal.m4 has been
  11181. # generated from the m4 files accompanying Automake X.Y.
  11182. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
  11183. +# (This private macro should not be called outside this file.)
  11184. +AC_DEFUN([AM_AUTOMAKE_VERSION],
  11185. +[am__api_version='1.11'
  11186. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  11187. +dnl require some minimum version. Point them to the right macro.
  11188. +m4_if([$1], [1.11.1], [],
  11189. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  11190. +])
  11191. +
  11192. +# _AM_AUTOCONF_VERSION(VERSION)
  11193. +# -----------------------------
  11194. +# aclocal traces this macro to find the Autoconf version.
  11195. +# This is a private macro too. Using m4_define simplifies
  11196. +# the logic in aclocal, which can simply ignore this definition.
  11197. +m4_define([_AM_AUTOCONF_VERSION], [])
  11198. # AM_SET_CURRENT_AUTOMAKE_VERSION
  11199. # -------------------------------
  11200. -# Call AM_AUTOMAKE_VERSION so it can be traced.
  11201. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  11202. +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  11203. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  11204. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  11205. - [AM_AUTOMAKE_VERSION([1.8.5])])
  11206. -
  11207. -# AM_AUX_DIR_EXPAND
  11208. -
  11209. -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
  11210. +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  11211. +m4_ifndef([AC_AUTOCONF_VERSION],
  11212. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  11213. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  11214. -# This program is free software; you can redistribute it and/or modify
  11215. -# it under the terms of the GNU General Public License as published by
  11216. -# the Free Software Foundation; either version 2, or (at your option)
  11217. -# any later version.
  11218. -
  11219. -# This program is distributed in the hope that it will be useful,
  11220. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11221. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11222. -# GNU General Public License for more details.
  11223. +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
  11224. -# You should have received a copy of the GNU General Public License
  11225. -# along with this program; if not, write to the Free Software
  11226. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11227. -# 02111-1307, USA.
  11228. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  11229. +#
  11230. +# This file is free software; the Free Software Foundation
  11231. +# gives unlimited permission to copy and/or distribute it,
  11232. +# with or without modifications, as long as this notice is preserved.
  11233. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  11234. # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  11235. @@ -6916,26 +8232,16 @@
  11236. am_aux_dir=`cd $ac_aux_dir && pwd`
  11237. ])
  11238. -# AM_CONDITIONAL -*- Autoconf -*-
  11239. -
  11240. -# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
  11241. -
  11242. -# This program is free software; you can redistribute it and/or modify
  11243. -# it under the terms of the GNU General Public License as published by
  11244. -# the Free Software Foundation; either version 2, or (at your option)
  11245. -# any later version.
  11246. -
  11247. -# This program is distributed in the hope that it will be useful,
  11248. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11249. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11250. -# GNU General Public License for more details.
  11251. +# AM_CONDITIONAL -*- Autoconf -*-
  11252. -# You should have received a copy of the GNU General Public License
  11253. -# along with this program; if not, write to the Free Software
  11254. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11255. -# 02111-1307, USA.
  11256. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  11257. +# Free Software Foundation, Inc.
  11258. +#
  11259. +# This file is free software; the Free Software Foundation
  11260. +# gives unlimited permission to copy and/or distribute it,
  11261. +# with or without modifications, as long as this notice is preserved.
  11262. -# serial 6
  11263. +# serial 9
  11264. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  11265. # -------------------------------------
  11266. @@ -6944,8 +8250,11 @@
  11267. [AC_PREREQ(2.52)dnl
  11268. ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  11269. [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  11270. -AC_SUBST([$1_TRUE])
  11271. -AC_SUBST([$1_FALSE])
  11272. +AC_SUBST([$1_TRUE])dnl
  11273. +AC_SUBST([$1_FALSE])dnl
  11274. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  11275. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  11276. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  11277. if $2; then
  11278. $1_TRUE=
  11279. $1_FALSE='#'
  11280. @@ -6955,30 +8264,18 @@
  11281. fi
  11282. AC_CONFIG_COMMANDS_PRE(
  11283. [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  11284. - AC_MSG_ERROR([conditional "$1" was never defined.
  11285. -Usually this means the macro was only invoked conditionally.])
  11286. + AC_MSG_ERROR([[conditional "$1" was never defined.
  11287. +Usually this means the macro was only invoked conditionally.]])
  11288. fi])])
  11289. -# serial 7 -*- Autoconf -*-
  11290. -
  11291. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
  11292. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  11293. # Free Software Foundation, Inc.
  11294. +#
  11295. +# This file is free software; the Free Software Foundation
  11296. +# gives unlimited permission to copy and/or distribute it,
  11297. +# with or without modifications, as long as this notice is preserved.
  11298. -# This program is free software; you can redistribute it and/or modify
  11299. -# it under the terms of the GNU General Public License as published by
  11300. -# the Free Software Foundation; either version 2, or (at your option)
  11301. -# any later version.
  11302. -
  11303. -# This program is distributed in the hope that it will be useful,
  11304. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11305. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11306. -# GNU General Public License for more details.
  11307. -
  11308. -# You should have received a copy of the GNU General Public License
  11309. -# along with this program; if not, write to the Free Software
  11310. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11311. -# 02111-1307, USA.
  11312. -
  11313. +# serial 10
  11314. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  11315. # written in clear, in which case automake, when reading aclocal.m4,
  11316. @@ -6987,7 +8284,6 @@
  11317. # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  11318. -
  11319. # _AM_DEPENDENCIES(NAME)
  11320. # ----------------------
  11321. # See how the compiler implements dependency checking.
  11322. @@ -7007,6 +8303,7 @@
  11323. ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  11324. [$1], CXX, [depcc="$CXX" am_compiler_list=],
  11325. [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  11326. + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  11327. [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  11328. [depcc="$$1" am_compiler_list=])
  11329. @@ -7035,6 +8332,16 @@
  11330. if test "$am_compiler_list" = ""; then
  11331. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  11332. fi
  11333. + am__universal=false
  11334. + m4_case([$1], [CC],
  11335. + [case " $depcc " in #(
  11336. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  11337. + esac],
  11338. + [CXX],
  11339. + [case " $depcc " in #(
  11340. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  11341. + esac])
  11342. +
  11343. for depmode in $am_compiler_list; do
  11344. # Setup a source with many dependencies, because some compilers
  11345. # like to wrap large dependency lists on column 80 (with \), and
  11346. @@ -7052,7 +8359,17 @@
  11347. done
  11348. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  11349. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  11350. + # mode. It turns out that the SunPro C++ compiler does not properly
  11351. + # handle `-M -o', and we need to detect this. Also, some Intel
  11352. + # versions had trouble with output in subdirs
  11353. + am__obj=sub/conftest.${OBJEXT-o}
  11354. + am__minus_obj="-o $am__obj"
  11355. case $depmode in
  11356. + gcc)
  11357. + # This depmode causes a compiler race in universal mode.
  11358. + test "$am__universal" = false || continue
  11359. + ;;
  11360. nosideeffect)
  11361. # after this tag, mechanisms are not by side-effect, so they'll
  11362. # only be used when explicitly requested
  11363. @@ -7062,18 +8379,23 @@
  11364. break
  11365. fi
  11366. ;;
  11367. + msvisualcpp | msvcmsys)
  11368. + # This compiler won't grok `-c -o', but also, the minuso test has
  11369. + # not run yet. These depmodes are late enough in the game, and
  11370. + # so weak that their functioning should not be impacted.
  11371. + am__obj=conftest.${OBJEXT-o}
  11372. + am__minus_obj=
  11373. + ;;
  11374. none) break ;;
  11375. esac
  11376. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  11377. - # mode. It turns out that the SunPro C++ compiler does not properly
  11378. - # handle `-M -o', and we need to detect this.
  11379. if depmode=$depmode \
  11380. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  11381. + source=sub/conftest.c object=$am__obj \
  11382. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  11383. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  11384. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  11385. >/dev/null 2>conftest.err &&
  11386. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  11387. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  11388. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  11389. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  11390. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  11391. # icc doesn't choke on unknown options, it will just issue warnings
  11392. # or remarks (even with -Werror). So we grep stderr for any message
  11393. @@ -7124,77 +8446,74 @@
  11394. AMDEPBACKSLASH='\'
  11395. fi
  11396. AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  11397. -AC_SUBST([AMDEPBACKSLASH])
  11398. +AC_SUBST([AMDEPBACKSLASH])dnl
  11399. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  11400. ])
  11401. -# Generate code to set up dependency tracking. -*- Autoconf -*-
  11402. -
  11403. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
  11404. -
  11405. -# This program is free software; you can redistribute it and/or modify
  11406. -# it under the terms of the GNU General Public License as published by
  11407. -# the Free Software Foundation; either version 2, or (at your option)
  11408. -# any later version.
  11409. -
  11410. -# This program is distributed in the hope that it will be useful,
  11411. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11412. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11413. -# GNU General Public License for more details.
  11414. +# Generate code to set up dependency tracking. -*- Autoconf -*-
  11415. -# You should have received a copy of the GNU General Public License
  11416. -# along with this program; if not, write to the Free Software
  11417. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11418. -# 02111-1307, USA.
  11419. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  11420. +# Free Software Foundation, Inc.
  11421. +#
  11422. +# This file is free software; the Free Software Foundation
  11423. +# gives unlimited permission to copy and/or distribute it,
  11424. +# with or without modifications, as long as this notice is preserved.
  11425. -#serial 2
  11426. +#serial 5
  11427. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  11428. # ------------------------------
  11429. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  11430. -[for mf in $CONFIG_FILES; do
  11431. - # Strip MF so we end up with the name of the file.
  11432. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  11433. - # Check whether this is an Automake generated Makefile or not.
  11434. - # We used to match only the files named `Makefile.in', but
  11435. - # some people rename them; so instead we look at the file content.
  11436. - # Grep'ing the first line is not enough: some people post-process
  11437. - # each Makefile.in and add a new line on top of each file to say so.
  11438. - # So let's grep whole file.
  11439. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  11440. - dirpart=`AS_DIRNAME("$mf")`
  11441. - else
  11442. - continue
  11443. - fi
  11444. - grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
  11445. - # Extract the definition of DEP_FILES from the Makefile without
  11446. - # running `make'.
  11447. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  11448. - test -z "$DEPDIR" && continue
  11449. - # When using ansi2knr, U may be empty or an underscore; expand it
  11450. - U=`sed -n 's/^U = //p' < "$mf"`
  11451. - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  11452. - # We invoke sed twice because it is the simplest approach to
  11453. - # changing $(DEPDIR) to its actual value in the expansion.
  11454. - for file in `sed -n '
  11455. - /^DEP_FILES = .*\\\\$/ {
  11456. - s/^DEP_FILES = //
  11457. - :loop
  11458. - s/\\\\$//
  11459. - p
  11460. - n
  11461. - /\\\\$/ b loop
  11462. - p
  11463. - }
  11464. - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  11465. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  11466. - # Make sure the directory exists.
  11467. - test -f "$dirpart/$file" && continue
  11468. - fdir=`AS_DIRNAME(["$file"])`
  11469. - AS_MKDIR_P([$dirpart/$fdir])
  11470. - # echo "creating $dirpart/$file"
  11471. - echo '# dummy' > "$dirpart/$file"
  11472. +[{
  11473. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  11474. + # are listed without --file. Let's play safe and only enable the eval
  11475. + # if we detect the quoting.
  11476. + case $CONFIG_FILES in
  11477. + *\'*) eval set x "$CONFIG_FILES" ;;
  11478. + *) set x $CONFIG_FILES ;;
  11479. + esac
  11480. + shift
  11481. + for mf
  11482. + do
  11483. + # Strip MF so we end up with the name of the file.
  11484. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  11485. + # Check whether this is an Automake generated Makefile or not.
  11486. + # We used to match only the files named `Makefile.in', but
  11487. + # some people rename them; so instead we look at the file content.
  11488. + # Grep'ing the first line is not enough: some people post-process
  11489. + # each Makefile.in and add a new line on top of each file to say so.
  11490. + # Grep'ing the whole file is not good either: AIX grep has a line
  11491. + # limit of 2048, but all sed's we know have understand at least 4000.
  11492. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  11493. + dirpart=`AS_DIRNAME("$mf")`
  11494. + else
  11495. + continue
  11496. + fi
  11497. + # Extract the definition of DEPDIR, am__include, and am__quote
  11498. + # from the Makefile without running `make'.
  11499. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  11500. + test -z "$DEPDIR" && continue
  11501. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  11502. + test -z "am__include" && continue
  11503. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  11504. + # When using ansi2knr, U may be empty or an underscore; expand it
  11505. + U=`sed -n 's/^U = //p' < "$mf"`
  11506. + # Find all dependency output files, they are included files with
  11507. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  11508. + # simplest approach to changing $(DEPDIR) to its actual value in the
  11509. + # expansion.
  11510. + for file in `sed -n "
  11511. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  11512. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  11513. + # Make sure the directory exists.
  11514. + test -f "$dirpart/$file" && continue
  11515. + fdir=`AS_DIRNAME(["$file"])`
  11516. + AS_MKDIR_P([$dirpart/$fdir])
  11517. + # echo "creating $dirpart/$file"
  11518. + echo '# dummy' > "$dirpart/$file"
  11519. + done
  11520. done
  11521. -done
  11522. +}
  11523. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  11524. @@ -7211,54 +8530,31 @@
  11525. [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  11526. ])
  11527. -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
  11528. -
  11529. -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
  11530. -
  11531. -# This program is free software; you can redistribute it and/or modify
  11532. -# it under the terms of the GNU General Public License as published by
  11533. -# the Free Software Foundation; either version 2, or (at your option)
  11534. -# any later version.
  11535. -
  11536. -# This program is distributed in the hope that it will be useful,
  11537. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11538. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11539. -# GNU General Public License for more details.
  11540. -
  11541. -# You should have received a copy of the GNU General Public License
  11542. -# along with this program; if not, write to the Free Software
  11543. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11544. -# 02111-1307, USA.
  11545. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  11546. +# Free Software Foundation, Inc.
  11547. +#
  11548. +# This file is free software; the Free Software Foundation
  11549. +# gives unlimited permission to copy and/or distribute it,
  11550. +# with or without modifications, as long as this notice is preserved.
  11551. -# serial 7
  11552. +# serial 8
  11553. # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
  11554. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
  11555. -# Do all the work for Automake. -*- Autoconf -*-
  11556. -
  11557. -# This macro actually does too much some checks are only needed if
  11558. -# your package does certain things. But this isn't really a big deal.
  11559. -
  11560. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
  11561. -# Free Software Foundation, Inc.
  11562. -
  11563. -# This program is free software; you can redistribute it and/or modify
  11564. -# it under the terms of the GNU General Public License as published by
  11565. -# the Free Software Foundation; either version 2, or (at your option)
  11566. -# any later version.
  11567. +# Do all the work for Automake. -*- Autoconf -*-
  11568. -# This program is distributed in the hope that it will be useful,
  11569. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11570. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11571. -# GNU General Public License for more details.
  11572. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  11573. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  11574. +#
  11575. +# This file is free software; the Free Software Foundation
  11576. +# gives unlimited permission to copy and/or distribute it,
  11577. +# with or without modifications, as long as this notice is preserved.
  11578. -# You should have received a copy of the GNU General Public License
  11579. -# along with this program; if not, write to the Free Software
  11580. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11581. -# 02111-1307, USA.
  11582. +# serial 16
  11583. -# serial 11
  11584. +# This macro actually does too much. Some checks are only needed if
  11585. +# your package does certain things. But this isn't really a big deal.
  11586. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  11587. # AM_INIT_AUTOMAKE([OPTIONS])
  11588. @@ -7272,16 +8568,20 @@
  11589. # arguments mandatory, and then we can depend on a new Autoconf
  11590. # release and drop the old call support.
  11591. AC_DEFUN([AM_INIT_AUTOMAKE],
  11592. -[AC_PREREQ([2.58])dnl
  11593. +[AC_PREREQ([2.62])dnl
  11594. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  11595. dnl the ones we care about.
  11596. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  11597. AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  11598. AC_REQUIRE([AC_PROG_INSTALL])dnl
  11599. -# test to see if srcdir already configured
  11600. -if test "`cd $srcdir && pwd`" != "`pwd`" &&
  11601. - test -f $srcdir/config.status; then
  11602. - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  11603. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  11604. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  11605. + # is not polluted with repeated "-I."
  11606. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  11607. + # test to see if srcdir already configured
  11608. + if test -f $srcdir/config.status; then
  11609. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  11610. + fi
  11611. fi
  11612. # test whether we have cygpath
  11613. @@ -7301,6 +8601,9 @@
  11614. AC_SUBST([PACKAGE], [$1])dnl
  11615. AC_SUBST([VERSION], [$2])],
  11616. [_AM_SET_OPTIONS([$1])dnl
  11617. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  11618. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  11619. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  11620. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  11621. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  11622. @@ -7316,28 +8619,46 @@
  11623. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  11624. AM_MISSING_PROG(AUTOHEADER, autoheader)
  11625. AM_MISSING_PROG(MAKEINFO, makeinfo)
  11626. -AM_MISSING_PROG(AMTAR, tar)
  11627. -AM_PROG_INSTALL_SH
  11628. -AM_PROG_INSTALL_STRIP
  11629. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  11630. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  11631. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  11632. # We need awk for the "check" target. The system "awk" is bad on
  11633. # some platforms.
  11634. AC_REQUIRE([AC_PROG_AWK])dnl
  11635. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  11636. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  11637. -
  11638. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  11639. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  11640. + [_AM_PROG_TAR([v7])])])
  11641. _AM_IF_OPTION([no-dependencies],,
  11642. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  11643. - [_AM_DEPENDENCIES(CC)],
  11644. - [define([AC_PROG_CC],
  11645. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  11646. + [_AM_DEPENDENCIES(CC)],
  11647. + [define([AC_PROG_CC],
  11648. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  11649. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  11650. - [_AM_DEPENDENCIES(CXX)],
  11651. - [define([AC_PROG_CXX],
  11652. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  11653. + [_AM_DEPENDENCIES(CXX)],
  11654. + [define([AC_PROG_CXX],
  11655. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  11656. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  11657. + [_AM_DEPENDENCIES(OBJC)],
  11658. + [define([AC_PROG_OBJC],
  11659. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  11660. ])
  11661. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  11662. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  11663. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  11664. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  11665. +AC_CONFIG_COMMANDS_PRE(dnl
  11666. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  11667. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  11668. ])
  11669. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  11670. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  11671. +dnl mangled by Autoconf and run in a shell conditional statement.
  11672. +m4_define([_AC_COMPILER_EXEEXT],
  11673. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  11674. +
  11675. # When config.status generates a header, we must update the stamp-h file.
  11676. # This file resides in the same directory as the config header
  11677. @@ -7348,62 +8669,46 @@
  11678. # our stamp files there.
  11679. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  11680. [# Compute $1's index in $config_headers.
  11681. +_am_arg=$1
  11682. _am_stamp_count=1
  11683. for _am_header in $config_headers :; do
  11684. case $_am_header in
  11685. - $1 | $1:* )
  11686. + $_am_arg | $_am_arg:* )
  11687. break ;;
  11688. * )
  11689. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  11690. esac
  11691. done
  11692. -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
  11693. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  11694. +
  11695. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  11696. +#
  11697. +# This file is free software; the Free Software Foundation
  11698. +# gives unlimited permission to copy and/or distribute it,
  11699. +# with or without modifications, as long as this notice is preserved.
  11700. # AM_PROG_INSTALL_SH
  11701. # ------------------
  11702. # Define $install_sh.
  11703. -
  11704. -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
  11705. -
  11706. -# This program is free software; you can redistribute it and/or modify
  11707. -# it under the terms of the GNU General Public License as published by
  11708. -# the Free Software Foundation; either version 2, or (at your option)
  11709. -# any later version.
  11710. -
  11711. -# This program is distributed in the hope that it will be useful,
  11712. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11713. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11714. -# GNU General Public License for more details.
  11715. -
  11716. -# You should have received a copy of the GNU General Public License
  11717. -# along with this program; if not, write to the Free Software
  11718. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11719. -# 02111-1307, USA.
  11720. -
  11721. AC_DEFUN([AM_PROG_INSTALL_SH],
  11722. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  11723. -install_sh=${install_sh-"$am_aux_dir/install-sh"}
  11724. +if test x"${install_sh}" != xset; then
  11725. + case $am_aux_dir in
  11726. + *\ * | *\ *)
  11727. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  11728. + *)
  11729. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  11730. + esac
  11731. +fi
  11732. AC_SUBST(install_sh)])
  11733. -# -*- Autoconf -*-
  11734. -# Copyright (C) 2003 Free Software Foundation, Inc.
  11735. -
  11736. -# This program is free software; you can redistribute it and/or modify
  11737. -# it under the terms of the GNU General Public License as published by
  11738. -# the Free Software Foundation; either version 2, or (at your option)
  11739. -# any later version.
  11740. -
  11741. -# This program is distributed in the hope that it will be useful,
  11742. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11743. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11744. -# GNU General Public License for more details.
  11745. -
  11746. -# You should have received a copy of the GNU General Public License
  11747. -# along with this program; if not, write to the Free Software
  11748. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11749. -# 02111-1307, USA.
  11750. +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  11751. +#
  11752. +# This file is free software; the Free Software Foundation
  11753. +# gives unlimited permission to copy and/or distribute it,
  11754. +# with or without modifications, as long as this notice is preserved.
  11755. -# serial 1
  11756. +# serial 2
  11757. # Check whether the underlying file-system supports filenames
  11758. # with a leading dot. For instance MS-DOS doesn't.
  11759. @@ -7418,66 +8723,55 @@
  11760. rmdir .tst 2>/dev/null
  11761. AC_SUBST([am__leading_dot])])
  11762. -# Add --enable-maintainer-mode option to configure.
  11763. +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
  11764. # From Jim Meyering
  11765. -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
  11766. +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  11767. # Free Software Foundation, Inc.
  11768. +#
  11769. +# This file is free software; the Free Software Foundation
  11770. +# gives unlimited permission to copy and/or distribute it,
  11771. +# with or without modifications, as long as this notice is preserved.
  11772. -# This program is free software; you can redistribute it and/or modify
  11773. -# it under the terms of the GNU General Public License as published by
  11774. -# the Free Software Foundation; either version 2, or (at your option)
  11775. -# any later version.
  11776. -
  11777. -# This program is distributed in the hope that it will be useful,
  11778. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11779. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11780. -# GNU General Public License for more details.
  11781. -
  11782. -# You should have received a copy of the GNU General Public License
  11783. -# along with this program; if not, write to the Free Software
  11784. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11785. -# 02111-1307, USA.
  11786. -
  11787. -# serial 3
  11788. +# serial 5
  11789. +# AM_MAINTAINER_MODE([DEFAULT-MODE])
  11790. +# ----------------------------------
  11791. +# Control maintainer-specific portions of Makefiles.
  11792. +# Default is to disable them, unless `enable' is passed literally.
  11793. +# For symmetry, `disable' may be passed as well. Anyway, the user
  11794. +# can override the default with the --enable/--disable switch.
  11795. AC_DEFUN([AM_MAINTAINER_MODE],
  11796. -[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  11797. - dnl maintainer-mode is disabled by default
  11798. - AC_ARG_ENABLE(maintainer-mode,
  11799. -[ --enable-maintainer-mode enable make rules and dependencies not useful
  11800. +[m4_case(m4_default([$1], [disable]),
  11801. + [enable], [m4_define([am_maintainer_other], [disable])],
  11802. + [disable], [m4_define([am_maintainer_other], [enable])],
  11803. + [m4_define([am_maintainer_other], [enable])
  11804. + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  11805. +AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
  11806. + dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  11807. + AC_ARG_ENABLE([maintainer-mode],
  11808. +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
  11809. (and sometimes confusing) to the casual installer],
  11810. - USE_MAINTAINER_MODE=$enableval,
  11811. - USE_MAINTAINER_MODE=no)
  11812. + [USE_MAINTAINER_MODE=$enableval],
  11813. + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  11814. AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  11815. - AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
  11816. + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  11817. MAINT=$MAINTAINER_MODE_TRUE
  11818. - AC_SUBST(MAINT)dnl
  11819. + AC_SUBST([MAINT])dnl
  11820. ]
  11821. )
  11822. AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
  11823. -# Check to see how 'make' treats includes. -*- Autoconf -*-
  11824. -
  11825. -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  11826. -
  11827. -# This program is free software; you can redistribute it and/or modify
  11828. -# it under the terms of the GNU General Public License as published by
  11829. -# the Free Software Foundation; either version 2, or (at your option)
  11830. -# any later version.
  11831. -
  11832. -# This program is distributed in the hope that it will be useful,
  11833. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11834. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11835. -# GNU General Public License for more details.
  11836. +# Check to see how 'make' treats includes. -*- Autoconf -*-
  11837. -# You should have received a copy of the GNU General Public License
  11838. -# along with this program; if not, write to the Free Software
  11839. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11840. -# 02111-1307, USA.
  11841. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  11842. +#
  11843. +# This file is free software; the Free Software Foundation
  11844. +# gives unlimited permission to copy and/or distribute it,
  11845. +# with or without modifications, as long as this notice is preserved.
  11846. -# serial 2
  11847. +# serial 4
  11848. # AM_MAKE_INCLUDE()
  11849. # -----------------
  11850. @@ -7486,7 +8780,7 @@
  11851. [am_make=${MAKE-make}
  11852. cat > confinc << 'END'
  11853. am__doit:
  11854. - @echo done
  11855. + @echo this is the am__doit target
  11856. .PHONY: am__doit
  11857. END
  11858. # If we don't find an include directive, just comment out the code.
  11859. @@ -7496,24 +8790,24 @@
  11860. _am_result=none
  11861. # First try GNU make style include.
  11862. echo "include confinc" > confmf
  11863. -# We grep out `Entering directory' and `Leaving directory'
  11864. -# messages which can occur if `w' ends up in MAKEFLAGS.
  11865. -# In particular we don't look at `^make:' because GNU make might
  11866. -# be invoked under some other name (usually "gmake"), in which
  11867. -# case it prints its new name instead of `make'.
  11868. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  11869. - am__include=include
  11870. - am__quote=
  11871. - _am_result=GNU
  11872. -fi
  11873. +# Ignore all kinds of additional output from `make'.
  11874. +case `$am_make -s -f confmf 2> /dev/null` in #(
  11875. +*the\ am__doit\ target*)
  11876. + am__include=include
  11877. + am__quote=
  11878. + _am_result=GNU
  11879. + ;;
  11880. +esac
  11881. # Now try BSD make style include.
  11882. if test "$am__include" = "#"; then
  11883. echo '.include "confinc"' > confmf
  11884. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  11885. - am__include=.include
  11886. - am__quote="\""
  11887. - _am_result=BSD
  11888. - fi
  11889. + case `$am_make -s -f confmf 2> /dev/null` in #(
  11890. + *the\ am__doit\ target*)
  11891. + am__include=.include
  11892. + am__quote="\""
  11893. + _am_result=BSD
  11894. + ;;
  11895. + esac
  11896. fi
  11897. AC_SUBST([am__include])
  11898. AC_SUBST([am__quote])
  11899. @@ -7521,27 +8815,16 @@
  11900. rm -f confinc confmf
  11901. ])
  11902. -# -*- Autoconf -*-
  11903. -
  11904. -
  11905. -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
  11906. -
  11907. -# This program is free software; you can redistribute it and/or modify
  11908. -# it under the terms of the GNU General Public License as published by
  11909. -# the Free Software Foundation; either version 2, or (at your option)
  11910. -# any later version.
  11911. -
  11912. -# This program is distributed in the hope that it will be useful,
  11913. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11914. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11915. -# GNU General Public License for more details.
  11916. +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  11917. -# You should have received a copy of the GNU General Public License
  11918. -# along with this program; if not, write to the Free Software
  11919. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11920. -# 02111-1307, USA.
  11921. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  11922. +# Free Software Foundation, Inc.
  11923. +#
  11924. +# This file is free software; the Free Software Foundation
  11925. +# gives unlimited permission to copy and/or distribute it,
  11926. +# with or without modifications, as long as this notice is preserved.
  11927. -# serial 3
  11928. +# serial 6
  11929. # AM_MISSING_PROG(NAME, PROGRAM)
  11930. # ------------------------------
  11931. @@ -7557,7 +8840,15 @@
  11932. # If it does, set am_missing_run to use it, otherwise, to nothing.
  11933. AC_DEFUN([AM_MISSING_HAS_RUN],
  11934. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  11935. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  11936. +AC_REQUIRE_AUX_FILE([missing])dnl
  11937. +if test x"${MISSING+set}" != xset; then
  11938. + case $am_aux_dir in
  11939. + *\ * | *\ *)
  11940. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  11941. + *)
  11942. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  11943. + esac
  11944. +fi
  11945. # Use eval to expand $SHELL
  11946. if eval "$MISSING --run true"; then
  11947. am_missing_run="$MISSING --run "
  11948. @@ -7567,92 +8858,41 @@
  11949. fi
  11950. ])
  11951. +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  11952. +#
  11953. +# This file is free software; the Free Software Foundation
  11954. +# gives unlimited permission to copy and/or distribute it,
  11955. +# with or without modifications, as long as this notice is preserved.
  11956. +
  11957. # AM_PROG_MKDIR_P
  11958. # ---------------
  11959. -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
  11960. -
  11961. -# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
  11962. -
  11963. -# This program is free software; you can redistribute it and/or modify
  11964. -# it under the terms of the GNU General Public License as published by
  11965. -# the Free Software Foundation; either version 2, or (at your option)
  11966. -# any later version.
  11967. -
  11968. -# This program is distributed in the hope that it will be useful,
  11969. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  11970. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11971. -# GNU General Public License for more details.
  11972. -
  11973. -# You should have received a copy of the GNU General Public License
  11974. -# along with this program; if not, write to the Free Software
  11975. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  11976. -# 02111-1307, USA.
  11977. -
  11978. -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
  11979. -# created by `make install' are always world readable, even if the
  11980. -# installer happens to have an overly restrictive umask (e.g. 077).
  11981. -# This was a mistake. There are at least two reasons why we must not
  11982. -# use `-m 0755':
  11983. -# - it causes special bits like SGID to be ignored,
  11984. -# - it may be too restrictive (some setups expect 775 directories).
  11985. -#
  11986. -# Do not use -m 0755 and let people choose whatever they expect by
  11987. -# setting umask.
  11988. -#
  11989. -# We cannot accept any implementation of `mkdir' that recognizes `-p'.
  11990. -# Some implementations (such as Solaris 8's) are not thread-safe: if a
  11991. -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
  11992. -# concurrently, both version can detect that a/ is missing, but only
  11993. -# one can create it and the other will error out. Consequently we
  11994. -# restrict ourselves to GNU make (using the --version option ensures
  11995. -# this.)
  11996. +# Check for `mkdir -p'.
  11997. AC_DEFUN([AM_PROG_MKDIR_P],
  11998. -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  11999. - # Keeping the `.' argument allows $(mkdir_p) to be used without
  12000. - # argument. Indeed, we sometimes output rules like
  12001. - # $(mkdir_p) $(somedir)
  12002. - # where $(somedir) is conditionally defined.
  12003. - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
  12004. - # expensive solution, as it forces Make to start a sub-shell.)
  12005. - mkdir_p='mkdir -p -- .'
  12006. -else
  12007. - # On NextStep and OpenStep, the `mkdir' command does not
  12008. - # recognize any option. It will interpret all options as
  12009. - # directories to create, and then abort because `.' already
  12010. - # exists.
  12011. - for d in ./-p ./--version;
  12012. - do
  12013. - test -d $d && rmdir $d
  12014. - done
  12015. - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  12016. - if test -f "$ac_aux_dir/mkinstalldirs"; then
  12017. - mkdir_p='$(mkinstalldirs)'
  12018. - else
  12019. - mkdir_p='$(install_sh) -d'
  12020. - fi
  12021. -fi
  12022. -AC_SUBST([mkdir_p])])
  12023. -
  12024. -# Helper functions for option handling. -*- Autoconf -*-
  12025. -
  12026. -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  12027. -
  12028. -# This program is free software; you can redistribute it and/or modify
  12029. -# it under the terms of the GNU General Public License as published by
  12030. -# the Free Software Foundation; either version 2, or (at your option)
  12031. -# any later version.
  12032. +[AC_PREREQ([2.60])dnl
  12033. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  12034. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  12035. +dnl while keeping a definition of mkdir_p for backward compatibility.
  12036. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  12037. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  12038. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  12039. +dnl adjustment using top_builddir (which is defined more often than
  12040. +dnl MKDIR_P).
  12041. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  12042. +case $mkdir_p in
  12043. + [[\\/$]]* | ?:[[\\/]]*) ;;
  12044. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  12045. +esac
  12046. +])
  12047. -# This program is distributed in the hope that it will be useful,
  12048. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12049. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12050. -# GNU General Public License for more details.
  12051. +# Helper functions for option handling. -*- Autoconf -*-
  12052. -# You should have received a copy of the GNU General Public License
  12053. -# along with this program; if not, write to the Free Software
  12054. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  12055. -# 02111-1307, USA.
  12056. +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  12057. +#
  12058. +# This file is free software; the Free Software Foundation
  12059. +# gives unlimited permission to copy and/or distribute it,
  12060. +# with or without modifications, as long as this notice is preserved.
  12061. -# serial 2
  12062. +# serial 4
  12063. # _AM_MANGLE_OPTION(NAME)
  12064. # -----------------------
  12065. @@ -7669,7 +8909,7 @@
  12066. # ----------------------------------
  12067. # OPTIONS is a space-separated list of Automake options.
  12068. AC_DEFUN([_AM_SET_OPTIONS],
  12069. -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  12070. +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  12071. # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  12072. # -------------------------------------------
  12073. @@ -7677,28 +8917,16 @@
  12074. AC_DEFUN([_AM_IF_OPTION],
  12075. [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  12076. -#
  12077. -# Check to make sure that the build environment is sane.
  12078. -#
  12079. -
  12080. -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
  12081. -
  12082. -# This program is free software; you can redistribute it and/or modify
  12083. -# it under the terms of the GNU General Public License as published by
  12084. -# the Free Software Foundation; either version 2, or (at your option)
  12085. -# any later version.
  12086. -
  12087. -# This program is distributed in the hope that it will be useful,
  12088. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12089. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12090. -# GNU General Public License for more details.
  12091. +# Check to make sure that the build environment is sane. -*- Autoconf -*-
  12092. -# You should have received a copy of the GNU General Public License
  12093. -# along with this program; if not, write to the Free Software
  12094. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  12095. -# 02111-1307, USA.
  12096. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  12097. +# Free Software Foundation, Inc.
  12098. +#
  12099. +# This file is free software; the Free Software Foundation
  12100. +# gives unlimited permission to copy and/or distribute it,
  12101. +# with or without modifications, as long as this notice is preserved.
  12102. -# serial 3
  12103. +# serial 5
  12104. # AM_SANITY_CHECK
  12105. # ---------------
  12106. @@ -7707,16 +8935,29 @@
  12107. # Just in case
  12108. sleep 1
  12109. echo timestamp > conftest.file
  12110. +# Reject unsafe characters in $srcdir or the absolute working directory
  12111. +# name. Accept space and tab only in the latter.
  12112. +am_lf='
  12113. +'
  12114. +case `pwd` in
  12115. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  12116. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  12117. +esac
  12118. +case $srcdir in
  12119. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  12120. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  12121. +esac
  12122. +
  12123. # Do `set' in a subshell so we don't clobber the current shell's
  12124. # arguments. Must try -L first in case configure is actually a
  12125. # symlink; some systems play weird games with the mod time of symlinks
  12126. # (eg FreeBSD returns the mod time of the symlink's containing
  12127. # directory).
  12128. if (
  12129. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  12130. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  12131. if test "$[*]" = "X"; then
  12132. # -L didn't work.
  12133. - set X `ls -t $srcdir/configure conftest.file`
  12134. + set X `ls -t "$srcdir/configure" conftest.file`
  12135. fi
  12136. rm -f conftest.file
  12137. if test "$[*]" != "X $srcdir/configure conftest.file" \
  12138. @@ -7741,25 +8982,14 @@
  12139. fi
  12140. AC_MSG_RESULT(yes)])
  12141. -# AM_PROG_INSTALL_STRIP
  12142. -
  12143. -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
  12144. -
  12145. -# This program is free software; you can redistribute it and/or modify
  12146. -# it under the terms of the GNU General Public License as published by
  12147. -# the Free Software Foundation; either version 2, or (at your option)
  12148. -# any later version.
  12149. -
  12150. -# This program is distributed in the hope that it will be useful,
  12151. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  12152. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12153. -# GNU General Public License for more details.
  12154. -
  12155. -# You should have received a copy of the GNU General Public License
  12156. -# along with this program; if not, write to the Free Software
  12157. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  12158. -# 02111-1307, USA.
  12159. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  12160. +#
  12161. +# This file is free software; the Free Software Foundation
  12162. +# gives unlimited permission to copy and/or distribute it,
  12163. +# with or without modifications, as long as this notice is preserved.
  12164. +# AM_PROG_INSTALL_STRIP
  12165. +# ---------------------
  12166. # One issue with vendor `install' (even GNU) is that you can't
  12167. # specify the program used to strip binaries. This is especially
  12168. # annoying in cross-compiling environments, where the build's strip
  12169. @@ -7777,7 +9007,122 @@
  12170. if test "$cross_compiling" != no; then
  12171. AC_CHECK_TOOL([STRIP], [strip], :)
  12172. fi
  12173. -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  12174. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  12175. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  12176. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  12177. +#
  12178. +# This file is free software; the Free Software Foundation
  12179. +# gives unlimited permission to copy and/or distribute it,
  12180. +# with or without modifications, as long as this notice is preserved.
  12181. +
  12182. +# serial 2
  12183. +
  12184. +# _AM_SUBST_NOTMAKE(VARIABLE)
  12185. +# ---------------------------
  12186. +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  12187. +# This macro is traced by Automake.
  12188. +AC_DEFUN([_AM_SUBST_NOTMAKE])
  12189. +
  12190. +# AM_SUBST_NOTMAKE(VARIABLE)
  12191. +# ---------------------------
  12192. +# Public sister of _AM_SUBST_NOTMAKE.
  12193. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  12194. +
  12195. +# Check how to create a tarball. -*- Autoconf -*-
  12196. +
  12197. +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  12198. +#
  12199. +# This file is free software; the Free Software Foundation
  12200. +# gives unlimited permission to copy and/or distribute it,
  12201. +# with or without modifications, as long as this notice is preserved.
  12202. +
  12203. +# serial 2
  12204. +
  12205. +# _AM_PROG_TAR(FORMAT)
  12206. +# --------------------
  12207. +# Check how to create a tarball in format FORMAT.
  12208. +# FORMAT should be one of `v7', `ustar', or `pax'.
  12209. +#
  12210. +# Substitute a variable $(am__tar) that is a command
  12211. +# writing to stdout a FORMAT-tarball containing the directory
  12212. +# $tardir.
  12213. +# tardir=directory && $(am__tar) > result.tar
  12214. +#
  12215. +# Substitute a variable $(am__untar) that extract such
  12216. +# a tarball read from stdin.
  12217. +# $(am__untar) < result.tar
  12218. +AC_DEFUN([_AM_PROG_TAR],
  12219. +[# Always define AMTAR for backward compatibility.
  12220. +AM_MISSING_PROG([AMTAR], [tar])
  12221. +m4_if([$1], [v7],
  12222. + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  12223. + [m4_case([$1], [ustar],, [pax],,
  12224. + [m4_fatal([Unknown tar format])])
  12225. +AC_MSG_CHECKING([how to create a $1 tar archive])
  12226. +# Loop over all known methods to create a tar archive until one works.
  12227. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  12228. +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  12229. +# Do not fold the above two line into one, because Tru64 sh and
  12230. +# Solaris sh will not grok spaces in the rhs of `-'.
  12231. +for _am_tool in $_am_tools
  12232. +do
  12233. + case $_am_tool in
  12234. + gnutar)
  12235. + for _am_tar in tar gnutar gtar;
  12236. + do
  12237. + AM_RUN_LOG([$_am_tar --version]) && break
  12238. + done
  12239. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  12240. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  12241. + am__untar="$_am_tar -xf -"
  12242. + ;;
  12243. + plaintar)
  12244. + # Must skip GNU tar: if it does not support --format= it doesn't create
  12245. + # ustar tarball either.
  12246. + (tar --version) >/dev/null 2>&1 && continue
  12247. + am__tar='tar chf - "$$tardir"'
  12248. + am__tar_='tar chf - "$tardir"'
  12249. + am__untar='tar xf -'
  12250. + ;;
  12251. + pax)
  12252. + am__tar='pax -L -x $1 -w "$$tardir"'
  12253. + am__tar_='pax -L -x $1 -w "$tardir"'
  12254. + am__untar='pax -r'
  12255. + ;;
  12256. + cpio)
  12257. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  12258. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  12259. + am__untar='cpio -i -H $1 -d'
  12260. + ;;
  12261. + none)
  12262. + am__tar=false
  12263. + am__tar_=false
  12264. + am__untar=false
  12265. + ;;
  12266. + esac
  12267. +
  12268. + # If the value was cached, stop now. We just wanted to have am__tar
  12269. + # and am__untar set.
  12270. + test -n "${am_cv_prog_tar_$1}" && break
  12271. +
  12272. + # tar/untar a dummy directory, and stop if the command works
  12273. + rm -rf conftest.dir
  12274. + mkdir conftest.dir
  12275. + echo GrepMe > conftest.dir/file
  12276. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  12277. + rm -rf conftest.dir
  12278. + if test -s conftest.tar; then
  12279. + AM_RUN_LOG([$am__untar <conftest.tar])
  12280. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  12281. + fi
  12282. +done
  12283. +rm -rf conftest.dir
  12284. +
  12285. +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  12286. +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  12287. +AC_SUBST([am__tar])
  12288. +AC_SUBST([am__untar])
  12289. +]) # _AM_PROG_TAR
  12290. +
  12291. m4_include([acinclude.m4])
  12292. diff -Nur speex-1.2rc1.orig/config.guess speex-1.2rc1/config.guess
  12293. --- speex-1.2rc1.orig/config.guess 2006-11-08 08:44:58.000000000 +0100
  12294. +++ speex-1.2rc1/config.guess 2011-02-20 22:00:57.463558530 +0100
  12295. @@ -1,10 +1,10 @@
  12296. #! /bin/sh
  12297. # Attempt to guess a canonical system name.
  12298. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  12299. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
  12300. -# Inc.
  12301. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  12302. +# Free Software Foundation, Inc.
  12303. -timestamp='2006-07-02'
  12304. +timestamp='2009-06-10'
  12305. # This file is free software; you can redistribute it and/or modify it
  12306. # under the terms of the GNU General Public License as published by
  12307. @@ -56,8 +56,8 @@
  12308. GNU config.guess ($timestamp)
  12309. Originally written by Per Bothner.
  12310. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  12311. -Free Software Foundation, Inc.
  12312. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  12313. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  12314. This is free software; see the source for copying conditions. There is NO
  12315. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  12316. @@ -161,6 +161,7 @@
  12317. arm*) machine=arm-unknown ;;
  12318. sh3el) machine=shl-unknown ;;
  12319. sh3eb) machine=sh-unknown ;;
  12320. + sh5el) machine=sh5le-unknown ;;
  12321. *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
  12322. esac
  12323. # The Operating System including object format, if it has switched
  12324. @@ -169,7 +170,7 @@
  12325. arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  12326. eval $set_cc_for_build
  12327. if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  12328. - | grep __ELF__ >/dev/null
  12329. + | grep -q __ELF__
  12330. then
  12331. # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  12332. # Return netbsd for either. FIX?
  12333. @@ -323,14 +324,30 @@
  12334. case `/usr/bin/uname -p` in
  12335. sparc) echo sparc-icl-nx7; exit ;;
  12336. esac ;;
  12337. + s390x:SunOS:*:*)
  12338. + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  12339. + exit ;;
  12340. sun4H:SunOS:5.*:*)
  12341. echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  12342. exit ;;
  12343. sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
  12344. echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  12345. exit ;;
  12346. - i86pc:SunOS:5.*:*)
  12347. - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  12348. + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  12349. + eval $set_cc_for_build
  12350. + SUN_ARCH="i386"
  12351. + # If there is a compiler, see if it is configured for 64-bit objects.
  12352. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  12353. + # This test works for both compilers.
  12354. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  12355. + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  12356. + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  12357. + grep IS_64BIT_ARCH >/dev/null
  12358. + then
  12359. + SUN_ARCH="x86_64"
  12360. + fi
  12361. + fi
  12362. + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  12363. exit ;;
  12364. sun4*:SunOS:6*:*)
  12365. # According to config.sub, this is the proper way to canonicalize
  12366. @@ -531,7 +548,7 @@
  12367. echo rs6000-ibm-aix3.2
  12368. fi
  12369. exit ;;
  12370. - *:AIX:*:[45])
  12371. + *:AIX:*:[456])
  12372. IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
  12373. if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  12374. IBM_ARCH=rs6000
  12375. @@ -639,7 +656,7 @@
  12376. # => hppa64-hp-hpux11.23
  12377. if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  12378. - grep __LP64__ >/dev/null
  12379. + grep -q __LP64__
  12380. then
  12381. HP_ARCH="hppa2.0w"
  12382. else
  12383. @@ -780,7 +797,7 @@
  12384. i*:CYGWIN*:*)
  12385. echo ${UNAME_MACHINE}-pc-cygwin
  12386. exit ;;
  12387. - i*:MINGW*:*)
  12388. + *:MINGW*:*)
  12389. echo ${UNAME_MACHINE}-pc-mingw32
  12390. exit ;;
  12391. i*:windows32*:*)
  12392. @@ -790,15 +807,24 @@
  12393. i*:PW*:*)
  12394. echo ${UNAME_MACHINE}-pc-pw32
  12395. exit ;;
  12396. - x86:Interix*:[3456]*)
  12397. - echo i586-pc-interix${UNAME_RELEASE}
  12398. - exit ;;
  12399. - EM64T:Interix*:[3456]*)
  12400. - echo x86_64-unknown-interix${UNAME_RELEASE}
  12401. - exit ;;
  12402. + *:Interix*:[3456]*)
  12403. + case ${UNAME_MACHINE} in
  12404. + x86)
  12405. + echo i586-pc-interix${UNAME_RELEASE}
  12406. + exit ;;
  12407. + EM64T | authenticamd | genuineintel)
  12408. + echo x86_64-unknown-interix${UNAME_RELEASE}
  12409. + exit ;;
  12410. + IA64)
  12411. + echo ia64-unknown-interix${UNAME_RELEASE}
  12412. + exit ;;
  12413. + esac ;;
  12414. [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  12415. echo i${UNAME_MACHINE}-pc-mks
  12416. exit ;;
  12417. + 8664:Windows_NT:*)
  12418. + echo x86_64-pc-mks
  12419. + exit ;;
  12420. i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  12421. # How do we know it's Interix rather than the generic POSIX subsystem?
  12422. # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  12423. @@ -829,7 +855,14 @@
  12424. echo ${UNAME_MACHINE}-pc-minix
  12425. exit ;;
  12426. arm*:Linux:*:*)
  12427. - echo ${UNAME_MACHINE}-unknown-linux-gnu
  12428. + eval $set_cc_for_build
  12429. + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
  12430. + | grep -q __ARM_EABI__
  12431. + then
  12432. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  12433. + else
  12434. + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
  12435. + fi
  12436. exit ;;
  12437. avr32*:Linux:*:*)
  12438. echo ${UNAME_MACHINE}-unknown-linux-gnu
  12439. @@ -852,40 +885,17 @@
  12440. m68*:Linux:*:*)
  12441. echo ${UNAME_MACHINE}-unknown-linux-gnu
  12442. exit ;;
  12443. - mips:Linux:*:*)
  12444. + mips:Linux:*:* | mips64:Linux:*:*)
  12445. eval $set_cc_for_build
  12446. sed 's/^ //' << EOF >$dummy.c
  12447. #undef CPU
  12448. - #undef mips
  12449. - #undef mipsel
  12450. + #undef ${UNAME_MACHINE}
  12451. + #undef ${UNAME_MACHINE}el
  12452. #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  12453. - CPU=mipsel
  12454. + CPU=${UNAME_MACHINE}el
  12455. #else
  12456. #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  12457. - CPU=mips
  12458. - #else
  12459. - CPU=
  12460. - #endif
  12461. - #endif
  12462. -EOF
  12463. - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  12464. - /^CPU/{
  12465. - s: ::g
  12466. - p
  12467. - }'`"
  12468. - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  12469. - ;;
  12470. - mips64:Linux:*:*)
  12471. - eval $set_cc_for_build
  12472. - sed 's/^ //' << EOF >$dummy.c
  12473. - #undef CPU
  12474. - #undef mips64
  12475. - #undef mips64el
  12476. - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  12477. - CPU=mips64el
  12478. - #else
  12479. - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  12480. - CPU=mips64
  12481. + CPU=${UNAME_MACHINE}
  12482. #else
  12483. CPU=
  12484. #endif
  12485. @@ -917,10 +927,13 @@
  12486. EV67) UNAME_MACHINE=alphaev67 ;;
  12487. EV68*) UNAME_MACHINE=alphaev68 ;;
  12488. esac
  12489. - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  12490. + objdump --private-headers /bin/sh | grep -q ld.so.1
  12491. if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  12492. echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  12493. exit ;;
  12494. + padre:Linux:*:*)
  12495. + echo sparc-unknown-linux-gnu
  12496. + exit ;;
  12497. parisc:Linux:*:* | hppa:Linux:*:*)
  12498. # Look for CPU level
  12499. case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  12500. @@ -950,6 +963,9 @@
  12501. x86_64:Linux:*:*)
  12502. echo x86_64-unknown-linux-gnu
  12503. exit ;;
  12504. + xtensa*:Linux:*:*)
  12505. + echo ${UNAME_MACHINE}-unknown-linux-gnu
  12506. + exit ;;
  12507. i*86:Linux:*:*)
  12508. # The BFD linker knows what the default object file format is, so
  12509. # first see if it will tell us. cd to the root directory to prevent
  12510. @@ -965,17 +981,6 @@
  12511. elf32-i386)
  12512. TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
  12513. ;;
  12514. - a.out-i386-linux)
  12515. - echo "${UNAME_MACHINE}-pc-linux-gnuaout"
  12516. - exit ;;
  12517. - coff-i386)
  12518. - echo "${UNAME_MACHINE}-pc-linux-gnucoff"
  12519. - exit ;;
  12520. - "")
  12521. - # Either a pre-BFD a.out linker (linux-gnuoldld) or
  12522. - # one that does not give us useful --help.
  12523. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
  12524. - exit ;;
  12525. esac
  12526. # Determine whether the default compiler is a.out or elf
  12527. eval $set_cc_for_build
  12528. @@ -1041,7 +1046,7 @@
  12529. i*86:syllable:*:*)
  12530. echo ${UNAME_MACHINE}-pc-syllable
  12531. exit ;;
  12532. - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
  12533. + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
  12534. echo i386-unknown-lynxos${UNAME_RELEASE}
  12535. exit ;;
  12536. i*86:*DOS:*:*)
  12537. @@ -1085,8 +1090,11 @@
  12538. pc:*:*:*)
  12539. # Left here for compatibility:
  12540. # uname -m prints for DJGPP always 'pc', but it prints nothing about
  12541. - # the processor, so we play safe by assuming i386.
  12542. - echo i386-pc-msdosdjgpp
  12543. + # the processor, so we play safe by assuming i586.
  12544. + # Note: whatever this is, it MUST be the same as what config.sub
  12545. + # prints for the "djgpp" host, or else GDB configury will decide that
  12546. + # this is a cross-build.
  12547. + echo i586-pc-msdosdjgpp
  12548. exit ;;
  12549. Intel:Mach:3*:*)
  12550. echo i386-pc-mach3
  12551. @@ -1124,6 +1132,16 @@
  12552. 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  12553. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  12554. && { echo i486-ncr-sysv4; exit; } ;;
  12555. + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
  12556. + OS_REL='.3'
  12557. + test -r /etc/.relid \
  12558. + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  12559. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  12560. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  12561. + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  12562. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
  12563. + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
  12564. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  12565. m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
  12566. echo m68k-unknown-lynxos${UNAME_RELEASE}
  12567. exit ;;
  12568. @@ -1136,7 +1154,7 @@
  12569. rs6000:LynxOS:2.*:*)
  12570. echo rs6000-unknown-lynxos${UNAME_RELEASE}
  12571. exit ;;
  12572. - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
  12573. + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
  12574. echo powerpc-unknown-lynxos${UNAME_RELEASE}
  12575. exit ;;
  12576. SM[BE]S:UNIX_SV:*:*)
  12577. @@ -1199,6 +1217,9 @@
  12578. BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
  12579. echo i586-pc-beos
  12580. exit ;;
  12581. + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
  12582. + echo i586-pc-haiku
  12583. + exit ;;
  12584. SX-4:SUPER-UX:*:*)
  12585. echo sx4-nec-superux${UNAME_RELEASE}
  12586. exit ;;
  12587. @@ -1208,6 +1229,15 @@
  12588. SX-6:SUPER-UX:*:*)
  12589. echo sx6-nec-superux${UNAME_RELEASE}
  12590. exit ;;
  12591. + SX-7:SUPER-UX:*:*)
  12592. + echo sx7-nec-superux${UNAME_RELEASE}
  12593. + exit ;;
  12594. + SX-8:SUPER-UX:*:*)
  12595. + echo sx8-nec-superux${UNAME_RELEASE}
  12596. + exit ;;
  12597. + SX-8R:SUPER-UX:*:*)
  12598. + echo sx8r-nec-superux${UNAME_RELEASE}
  12599. + exit ;;
  12600. Power*:Rhapsody:*:*)
  12601. echo powerpc-apple-rhapsody${UNAME_RELEASE}
  12602. exit ;;
  12603. @@ -1298,6 +1328,9 @@
  12604. i*86:rdos:*:*)
  12605. echo ${UNAME_MACHINE}-pc-rdos
  12606. exit ;;
  12607. + i*86:AROS:*:*)
  12608. + echo ${UNAME_MACHINE}-pc-aros
  12609. + exit ;;
  12610. esac
  12611. #echo '(No uname command or uname output not recognized.)' 1>&2
  12612. @@ -1458,9 +1491,9 @@
  12613. the operating system you are using. It is advised that you
  12614. download the most up to date version of the config scripts from
  12615. - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
  12616. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
  12617. and
  12618. - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
  12619. + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
  12620. If the version you run ($0) is already up to date, please
  12621. send the following data and any information you think might be
  12622. diff -Nur speex-1.2rc1.orig/config.h.in speex-1.2rc1/config.h.in
  12623. --- speex-1.2rc1.orig/config.h.in 2008-07-21 04:17:33.000000000 +0200
  12624. +++ speex-1.2rc1/config.h.in 2011-02-20 22:00:56.000000000 +0100
  12625. @@ -1,5 +1,8 @@
  12626. /* config.h.in. Generated from configure.ac by autoheader. */
  12627. +/* Define if building universal (internal helper macro) */
  12628. +#undef AC_APPLE_UNIVERSAL_BUILD
  12629. +
  12630. /* Make use of ARM4 assembly optimizations */
  12631. #undef ARM4_ASM
  12632. @@ -81,6 +84,10 @@
  12633. /* Define to 1 if you have the <unistd.h> header file. */
  12634. #undef HAVE_UNISTD_H
  12635. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  12636. + */
  12637. +#undef LT_OBJDIR
  12638. +
  12639. /* Define to the address where bug reports for this package should be sent. */
  12640. #undef PACKAGE_BUGREPORT
  12641. @@ -93,6 +100,9 @@
  12642. /* Define to the one symbol short name of this package. */
  12643. #undef PACKAGE_TARNAME
  12644. +/* Define to the home page for this package. */
  12645. +#undef PACKAGE_URL
  12646. +
  12647. /* Define to the version of this package. */
  12648. #undef PACKAGE_VERSION
  12649. @@ -144,9 +154,17 @@
  12650. /* Use C99 variable-size arrays */
  12651. #undef VAR_ARRAYS
  12652. -/* Define to 1 if your processor stores words with the most significant byte
  12653. - first (like Motorola and SPARC, unlike Intel and VAX). */
  12654. -#undef WORDS_BIGENDIAN
  12655. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  12656. + significant byte first (like Motorola and SPARC, unlike Intel). */
  12657. +#if defined AC_APPLE_UNIVERSAL_BUILD
  12658. +# if defined __BIG_ENDIAN__
  12659. +# define WORDS_BIGENDIAN 1
  12660. +# endif
  12661. +#else
  12662. +# ifndef WORDS_BIGENDIAN
  12663. +# undef WORDS_BIGENDIAN
  12664. +# endif
  12665. +#endif
  12666. /* Enable SSE support */
  12667. #undef _USE_SSE
  12668. @@ -160,6 +178,16 @@
  12669. #undef inline
  12670. #endif
  12671. -/* Define to equivalent of C99 restrict keyword, or to nothing if this is not
  12672. - supported. Do not define if restrict is supported directly. */
  12673. +/* Define to the equivalent of the C99 'restrict' keyword, or to
  12674. + nothing if this is not supported. Do not define if restrict is
  12675. + supported directly. */
  12676. #undef restrict
  12677. +/* Work around a bug in Sun C++: it does not support _Restrict or
  12678. + __restrict__, even though the corresponding Sun C compiler ends up with
  12679. + "#define restrict _Restrict" or "#define restrict __restrict__" in the
  12680. + previous line. Perhaps some future version of Sun C++ will work with
  12681. + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
  12682. +#if defined __SUNPRO_CC && !defined __RESTRICT
  12683. +# define _Restrict
  12684. +# define __restrict__
  12685. +#endif
  12686. diff -Nur speex-1.2rc1.orig/config.h.in~ speex-1.2rc1/config.h.in~
  12687. --- speex-1.2rc1.orig/config.h.in~ 1970-01-01 01:00:00.000000000 +0100
  12688. +++ speex-1.2rc1/config.h.in~ 2008-07-21 04:17:33.000000000 +0200
  12689. @@ -0,0 +1,165 @@
  12690. +/* config.h.in. Generated from configure.ac by autoheader. */
  12691. +
  12692. +/* Make use of ARM4 assembly optimizations */
  12693. +#undef ARM4_ASM
  12694. +
  12695. +/* Make use of ARM5E assembly optimizations */
  12696. +#undef ARM5E_ASM
  12697. +
  12698. +/* Make use of Blackfin assembly optimizations */
  12699. +#undef BFIN_ASM
  12700. +
  12701. +/* Disable all parts of the API that are using floats */
  12702. +#undef DISABLE_FLOAT_API
  12703. +
  12704. +/* Disable VBR and VAD from the codec */
  12705. +#undef DISABLE_VBR
  12706. +
  12707. +/* Enable valgrind extra checks */
  12708. +#undef ENABLE_VALGRIND
  12709. +
  12710. +/* Symbol visibility prefix */
  12711. +#undef EXPORT
  12712. +
  12713. +/* Debug fixed-point implementation */
  12714. +#undef FIXED_DEBUG
  12715. +
  12716. +/* Compile as fixed-point */
  12717. +#undef FIXED_POINT
  12718. +
  12719. +/* Compile as floating-point */
  12720. +#undef FLOATING_POINT
  12721. +
  12722. +/* Define to 1 if you have the <alloca.h> header file. */
  12723. +#undef HAVE_ALLOCA_H
  12724. +
  12725. +/* Define to 1 if you have the <dlfcn.h> header file. */
  12726. +#undef HAVE_DLFCN_H
  12727. +
  12728. +/* Define to 1 if you have the <getopt.h> header file. */
  12729. +#undef HAVE_GETOPT_H
  12730. +
  12731. +/* Define to 1 if you have the `getopt_long' function. */
  12732. +#undef HAVE_GETOPT_LONG
  12733. +
  12734. +/* Define to 1 if you have the <inttypes.h> header file. */
  12735. +#undef HAVE_INTTYPES_H
  12736. +
  12737. +/* Define to 1 if you have the `m' library (-lm). */
  12738. +#undef HAVE_LIBM
  12739. +
  12740. +/* Define to 1 if you have the `winmm' library (-lwinmm). */
  12741. +#undef HAVE_LIBWINMM
  12742. +
  12743. +/* Define to 1 if you have the <memory.h> header file. */
  12744. +#undef HAVE_MEMORY_H
  12745. +
  12746. +/* Define to 1 if you have the <stdint.h> header file. */
  12747. +#undef HAVE_STDINT_H
  12748. +
  12749. +/* Define to 1 if you have the <stdlib.h> header file. */
  12750. +#undef HAVE_STDLIB_H
  12751. +
  12752. +/* Define to 1 if you have the <strings.h> header file. */
  12753. +#undef HAVE_STRINGS_H
  12754. +
  12755. +/* Define to 1 if you have the <string.h> header file. */
  12756. +#undef HAVE_STRING_H
  12757. +
  12758. +/* Define to 1 if you have the <sys/audioio.h> header file. */
  12759. +#undef HAVE_SYS_AUDIOIO_H
  12760. +
  12761. +/* Define to 1 if you have the <sys/soundcard.h> header file. */
  12762. +#undef HAVE_SYS_SOUNDCARD_H
  12763. +
  12764. +/* Define to 1 if you have the <sys/stat.h> header file. */
  12765. +#undef HAVE_SYS_STAT_H
  12766. +
  12767. +/* Define to 1 if you have the <sys/types.h> header file. */
  12768. +#undef HAVE_SYS_TYPES_H
  12769. +
  12770. +/* Define to 1 if you have the <unistd.h> header file. */
  12771. +#undef HAVE_UNISTD_H
  12772. +
  12773. +/* Define to the address where bug reports for this package should be sent. */
  12774. +#undef PACKAGE_BUGREPORT
  12775. +
  12776. +/* Define to the full name of this package. */
  12777. +#undef PACKAGE_NAME
  12778. +
  12779. +/* Define to the full name and version of this package. */
  12780. +#undef PACKAGE_STRING
  12781. +
  12782. +/* Define to the one symbol short name of this package. */
  12783. +#undef PACKAGE_TARNAME
  12784. +
  12785. +/* Define to the version of this package. */
  12786. +#undef PACKAGE_VERSION
  12787. +
  12788. +/* The size of `int', as computed by sizeof. */
  12789. +#undef SIZEOF_INT
  12790. +
  12791. +/* The size of `long', as computed by sizeof. */
  12792. +#undef SIZEOF_LONG
  12793. +
  12794. +/* The size of `short', as computed by sizeof. */
  12795. +#undef SIZEOF_SHORT
  12796. +
  12797. +/* Version extra */
  12798. +#undef SPEEX_EXTRA_VERSION
  12799. +
  12800. +/* Version major */
  12801. +#undef SPEEX_MAJOR_VERSION
  12802. +
  12803. +/* Version micro */
  12804. +#undef SPEEX_MICRO_VERSION
  12805. +
  12806. +/* Version minor */
  12807. +#undef SPEEX_MINOR_VERSION
  12808. +
  12809. +/* Complete version string */
  12810. +#undef SPEEX_VERSION
  12811. +
  12812. +/* Define to 1 if you have the ANSI C header files. */
  12813. +#undef STDC_HEADERS
  12814. +
  12815. +/* Enable support for TI C55X DSP */
  12816. +#undef TI_C55X
  12817. +
  12818. +/* Make use of alloca */
  12819. +#undef USE_ALLOCA
  12820. +
  12821. +/* Use FFTW3 for FFT */
  12822. +#undef USE_GPL_FFTW3
  12823. +
  12824. +/* Use Intel Math Kernel Library for FFT */
  12825. +#undef USE_INTEL_MKL
  12826. +
  12827. +/* Use KISS Fast Fourier Transform */
  12828. +#undef USE_KISS_FFT
  12829. +
  12830. +/* Use FFT from OggVorbis */
  12831. +#undef USE_SMALLFT
  12832. +
  12833. +/* Use C99 variable-size arrays */
  12834. +#undef VAR_ARRAYS
  12835. +
  12836. +/* Define to 1 if your processor stores words with the most significant byte
  12837. + first (like Motorola and SPARC, unlike Intel and VAX). */
  12838. +#undef WORDS_BIGENDIAN
  12839. +
  12840. +/* Enable SSE support */
  12841. +#undef _USE_SSE
  12842. +
  12843. +/* Define to empty if `const' does not conform to ANSI C. */
  12844. +#undef const
  12845. +
  12846. +/* Define to `__inline__' or `__inline' if that's what the C compiler
  12847. + calls it, or to nothing if 'inline' is not supported under any name. */
  12848. +#ifndef __cplusplus
  12849. +#undef inline
  12850. +#endif
  12851. +
  12852. +/* Define to equivalent of C99 restrict keyword, or to nothing if this is not
  12853. + supported. Do not define if restrict is supported directly. */
  12854. +#undef restrict
  12855. diff -Nur speex-1.2rc1.orig/config.sub speex-1.2rc1/config.sub
  12856. --- speex-1.2rc1.orig/config.sub 2006-11-08 08:44:58.000000000 +0100
  12857. +++ speex-1.2rc1/config.sub 2011-02-20 22:00:57.473552761 +0100
  12858. @@ -1,10 +1,10 @@
  12859. #! /bin/sh
  12860. # Configuration validation subroutine script.
  12861. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  12862. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
  12863. -# Inc.
  12864. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  12865. +# Free Software Foundation, Inc.
  12866. -timestamp='2006-09-20'
  12867. +timestamp='2009-06-11'
  12868. # This file is (in principle) common to ALL GNU software.
  12869. # The presence of a machine in this file suggests that SOME GNU software
  12870. @@ -72,8 +72,8 @@
  12871. version="\
  12872. GNU config.sub ($timestamp)
  12873. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  12874. -Free Software Foundation, Inc.
  12875. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
  12876. +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  12877. This is free software; see the source for copying conditions. There is NO
  12878. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  12879. @@ -122,6 +122,7 @@
  12880. case $maybe_os in
  12881. nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  12882. uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  12883. + kopensolaris*-gnu* | \
  12884. storm-chaos* | os2-emx* | rtmk-nova*)
  12885. os=-$maybe_os
  12886. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  12887. @@ -152,6 +153,9 @@
  12888. os=
  12889. basic_machine=$1
  12890. ;;
  12891. + -bluegene*)
  12892. + os=-cnk
  12893. + ;;
  12894. -sim | -cisco | -oki | -wec | -winbond)
  12895. os=
  12896. basic_machine=$1
  12897. @@ -245,17 +249,20 @@
  12898. | bfin \
  12899. | c4x | clipper \
  12900. | d10v | d30v | dlx | dsp16xx \
  12901. - | fr30 | frv \
  12902. + | fido | fr30 | frv \
  12903. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  12904. | i370 | i860 | i960 | ia64 \
  12905. | ip2k | iq2000 \
  12906. + | lm32 \
  12907. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  12908. - | maxq | mb | microblaze | mcore \
  12909. + | maxq | mb | microblaze | mcore | mep | metag \
  12910. | mips | mipsbe | mipseb | mipsel | mipsle \
  12911. | mips16 \
  12912. | mips64 | mips64el \
  12913. - | mips64vr | mips64vrel \
  12914. + | mips64octeon | mips64octeonel \
  12915. | mips64orion | mips64orionel \
  12916. + | mips64r5900 | mips64r5900el \
  12917. + | mips64vr | mips64vrel \
  12918. | mips64vr4100 | mips64vr4100el \
  12919. | mips64vr4300 | mips64vr4300el \
  12920. | mips64vr5000 | mips64vr5000el \
  12921. @@ -268,6 +275,7 @@
  12922. | mipsisa64sr71k | mipsisa64sr71kel \
  12923. | mipstx39 | mipstx39el \
  12924. | mn10200 | mn10300 \
  12925. + | moxie \
  12926. | mt \
  12927. | msp430 \
  12928. | nios | nios2 \
  12929. @@ -277,7 +285,7 @@
  12930. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  12931. | pyramid \
  12932. | score \
  12933. - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  12934. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  12935. | sh64 | sh64le \
  12936. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  12937. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  12938. @@ -286,7 +294,7 @@
  12939. | v850 | v850e \
  12940. | we32k \
  12941. | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  12942. - | z8k)
  12943. + | z8k | z80)
  12944. basic_machine=$basic_machine-unknown
  12945. ;;
  12946. m6811 | m68hc11 | m6812 | m68hc12)
  12947. @@ -324,19 +332,22 @@
  12948. | clipper-* | craynv-* | cydra-* \
  12949. | d10v-* | d30v-* | dlx-* \
  12950. | elxsi-* \
  12951. - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
  12952. + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  12953. | h8300-* | h8500-* \
  12954. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  12955. | i*86-* | i860-* | i960-* | ia64-* \
  12956. | ip2k-* | iq2000-* \
  12957. + | lm32-* \
  12958. | m32c-* | m32r-* | m32rle-* \
  12959. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  12960. - | m88110-* | m88k-* | maxq-* | mcore-* \
  12961. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  12962. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  12963. | mips16-* \
  12964. | mips64-* | mips64el-* \
  12965. - | mips64vr-* | mips64vrel-* \
  12966. + | mips64octeon-* | mips64octeonel-* \
  12967. | mips64orion-* | mips64orionel-* \
  12968. + | mips64r5900-* | mips64r5900el-* \
  12969. + | mips64vr-* | mips64vrel-* \
  12970. | mips64vr4100-* | mips64vr4100el-* \
  12971. | mips64vr4300-* | mips64vr4300el-* \
  12972. | mips64vr5000-* | mips64vr5000el-* \
  12973. @@ -358,20 +369,24 @@
  12974. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  12975. | pyramid-* \
  12976. | romp-* | rs6000-* \
  12977. - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  12978. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  12979. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  12980. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  12981. | sparclite-* \
  12982. | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  12983. | tahoe-* | thumb-* \
  12984. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  12985. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  12986. | tron-* \
  12987. | v850-* | v850e-* | vax-* \
  12988. | we32k-* \
  12989. | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  12990. - | xstormy16-* | xtensa-* \
  12991. + | xstormy16-* | xtensa*-* \
  12992. | ymp-* \
  12993. - | z8k-*)
  12994. + | z8k-* | z80-*)
  12995. + ;;
  12996. + # Recognize the basic CPU types without company name, with glob match.
  12997. + xtensa*)
  12998. + basic_machine=$basic_machine-unknown
  12999. ;;
  13000. # Recognize the various machine names and aliases which stand
  13001. # for a CPU type and a company and sometimes even an OS.
  13002. @@ -435,6 +450,10 @@
  13003. basic_machine=m68k-apollo
  13004. os=-bsd
  13005. ;;
  13006. + aros)
  13007. + basic_machine=i386-pc
  13008. + os=-aros
  13009. + ;;
  13010. aux)
  13011. basic_machine=m68k-apple
  13012. os=-aux
  13013. @@ -443,10 +462,26 @@
  13014. basic_machine=ns32k-sequent
  13015. os=-dynix
  13016. ;;
  13017. + blackfin)
  13018. + basic_machine=bfin-unknown
  13019. + os=-linux
  13020. + ;;
  13021. + blackfin-*)
  13022. + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  13023. + os=-linux
  13024. + ;;
  13025. + bluegene*)
  13026. + basic_machine=powerpc-ibm
  13027. + os=-cnk
  13028. + ;;
  13029. c90)
  13030. basic_machine=c90-cray
  13031. os=-unicos
  13032. ;;
  13033. + cegcc)
  13034. + basic_machine=arm-unknown
  13035. + os=-cegcc
  13036. + ;;
  13037. convex-c1)
  13038. basic_machine=c1-convex
  13039. os=-bsd
  13040. @@ -475,8 +510,8 @@
  13041. basic_machine=craynv-cray
  13042. os=-unicosmp
  13043. ;;
  13044. - cr16c)
  13045. - basic_machine=cr16c-unknown
  13046. + cr16)
  13047. + basic_machine=cr16-unknown
  13048. os=-elf
  13049. ;;
  13050. crds | unos)
  13051. @@ -514,6 +549,10 @@
  13052. basic_machine=m88k-motorola
  13053. os=-sysv3
  13054. ;;
  13055. + dicos)
  13056. + basic_machine=i686-pc
  13057. + os=-dicos
  13058. + ;;
  13059. djgpp)
  13060. basic_machine=i586-pc
  13061. os=-msdosdjgpp
  13062. @@ -668,6 +707,14 @@
  13063. basic_machine=m68k-isi
  13064. os=-sysv
  13065. ;;
  13066. + m68knommu)
  13067. + basic_machine=m68k-unknown
  13068. + os=-linux
  13069. + ;;
  13070. + m68knommu-*)
  13071. + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
  13072. + os=-linux
  13073. + ;;
  13074. m88k-omron*)
  13075. basic_machine=m88k-omron
  13076. ;;
  13077. @@ -683,6 +730,10 @@
  13078. basic_machine=i386-pc
  13079. os=-mingw32
  13080. ;;
  13081. + mingw32ce)
  13082. + basic_machine=arm-unknown
  13083. + os=-mingw32ce
  13084. + ;;
  13085. miniframe)
  13086. basic_machine=m68000-convergent
  13087. ;;
  13088. @@ -809,6 +860,14 @@
  13089. basic_machine=i860-intel
  13090. os=-osf
  13091. ;;
  13092. + parisc)
  13093. + basic_machine=hppa-unknown
  13094. + os=-linux
  13095. + ;;
  13096. + parisc-*)
  13097. + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
  13098. + os=-linux
  13099. + ;;
  13100. pbd)
  13101. basic_machine=sparc-tti
  13102. ;;
  13103. @@ -925,6 +984,9 @@
  13104. basic_machine=sh-hitachi
  13105. os=-hms
  13106. ;;
  13107. + sh5el)
  13108. + basic_machine=sh5le-unknown
  13109. + ;;
  13110. sh64)
  13111. basic_machine=sh64-unknown
  13112. ;;
  13113. @@ -1014,6 +1076,10 @@
  13114. basic_machine=tic6x-unknown
  13115. os=-coff
  13116. ;;
  13117. + tile*)
  13118. + basic_machine=tile-unknown
  13119. + os=-linux-gnu
  13120. + ;;
  13121. tx39)
  13122. basic_machine=mipstx39-unknown
  13123. ;;
  13124. @@ -1089,6 +1155,10 @@
  13125. basic_machine=z8k-unknown
  13126. os=-sim
  13127. ;;
  13128. + z80-*-coff)
  13129. + basic_machine=z80-unknown
  13130. + os=-sim
  13131. + ;;
  13132. none)
  13133. basic_machine=none-none
  13134. os=-none
  13135. @@ -1127,7 +1197,7 @@
  13136. we32k)
  13137. basic_machine=we32k-att
  13138. ;;
  13139. - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  13140. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  13141. basic_machine=sh-unknown
  13142. ;;
  13143. sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  13144. @@ -1197,10 +1267,11 @@
  13145. # Each alternative MUST END IN A *, to match a version number.
  13146. # -sysv* is not here because it comes later, after sysvr4.
  13147. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  13148. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  13149. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  13150. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  13151. + | -kopensolaris* \
  13152. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  13153. - | -aos* \
  13154. + | -aos* | -aros* \
  13155. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  13156. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  13157. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  13158. @@ -1209,7 +1280,7 @@
  13159. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  13160. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  13161. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  13162. - | -chorusos* | -chorusrdb* \
  13163. + | -chorusos* | -chorusrdb* | -cegcc* \
  13164. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  13165. | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  13166. | -uxpv* | -beos* | -mpeix* | -udk* \
  13167. @@ -1219,7 +1290,7 @@
  13168. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  13169. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  13170. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  13171. - | -skyos* | -haiku* | -rdos* | -toppers*)
  13172. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  13173. # Remember, each alternative MUST END IN *, to match a version number.
  13174. ;;
  13175. -qnx*)
  13176. @@ -1349,6 +1420,9 @@
  13177. -zvmoe)
  13178. os=-zvmoe
  13179. ;;
  13180. + -dicos*)
  13181. + os=-dicos
  13182. + ;;
  13183. -none)
  13184. ;;
  13185. *)
  13186. @@ -1414,6 +1488,9 @@
  13187. m68*-cisco)
  13188. os=-aout
  13189. ;;
  13190. + mep-*)
  13191. + os=-elf
  13192. + ;;
  13193. mips*-cisco)
  13194. os=-elf
  13195. ;;
  13196. @@ -1543,7 +1620,7 @@
  13197. -sunos*)
  13198. vendor=sun
  13199. ;;
  13200. - -aix*)
  13201. + -cnk*|-aix*)
  13202. vendor=ibm
  13203. ;;
  13204. -beos*)
  13205. diff -Nur speex-1.2rc1.orig/configure speex-1.2rc1/configure
  13206. --- speex-1.2rc1.orig/configure 2008-07-21 04:17:23.000000000 +0200
  13207. +++ speex-1.2rc1/configure 2011-02-20 22:00:56.423561735 +0100
  13208. @@ -1,60 +1,83 @@
  13209. #! /bin/sh
  13210. # Guess values for system-dependent variables and create Makefiles.
  13211. -# Generated by GNU Autoconf 2.61.
  13212. +# Generated by GNU Autoconf 2.65.
  13213. +#
  13214. #
  13215. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  13216. -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  13217. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  13218. +# Inc.
  13219. +#
  13220. +#
  13221. # This configure script is free software; the Free Software Foundation
  13222. # gives unlimited permission to copy, distribute and modify it.
  13223. -## --------------------- ##
  13224. -## M4sh Initialization. ##
  13225. -## --------------------- ##
  13226. +## -------------------- ##
  13227. +## M4sh Initialization. ##
  13228. +## -------------------- ##
  13229. # Be more Bourne compatible
  13230. DUALCASE=1; export DUALCASE # for MKS sh
  13231. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  13232. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  13233. emulate sh
  13234. NULLCMD=:
  13235. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  13236. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  13237. # is contrary to our usage. Disable this feature.
  13238. alias -g '${1+"$@"}'='"$@"'
  13239. setopt NO_GLOB_SUBST
  13240. else
  13241. - case `(set -o) 2>/dev/null` in
  13242. - *posix*) set -o posix ;;
  13243. + case `(set -o) 2>/dev/null` in #(
  13244. + *posix*) :
  13245. + set -o posix ;; #(
  13246. + *) :
  13247. + ;;
  13248. esac
  13249. -
  13250. fi
  13251. -
  13252. -
  13253. -# PATH needs CR
  13254. -# Avoid depending upon Character Ranges.
  13255. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  13256. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  13257. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  13258. -as_cr_digits='0123456789'
  13259. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  13260. -
  13261. -# The user is always right.
  13262. -if test "${PATH_SEPARATOR+set}" != set; then
  13263. - echo "#! /bin/sh" >conf$$.sh
  13264. - echo "exit 0" >>conf$$.sh
  13265. - chmod +x conf$$.sh
  13266. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  13267. - PATH_SEPARATOR=';'
  13268. - else
  13269. - PATH_SEPARATOR=:
  13270. +as_nl='
  13271. +'
  13272. +export as_nl
  13273. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  13274. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  13275. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  13276. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  13277. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  13278. +# but without wasting forks for bash or zsh.
  13279. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  13280. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  13281. + as_echo='print -r --'
  13282. + as_echo_n='print -rn --'
  13283. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  13284. + as_echo='printf %s\n'
  13285. + as_echo_n='printf %s'
  13286. +else
  13287. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  13288. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  13289. + as_echo_n='/usr/ucb/echo -n'
  13290. + else
  13291. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  13292. + as_echo_n_body='eval
  13293. + arg=$1;
  13294. + case $arg in #(
  13295. + *"$as_nl"*)
  13296. + expr "X$arg" : "X\\(.*\\)$as_nl";
  13297. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  13298. + esac;
  13299. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  13300. + '
  13301. + export as_echo_n_body
  13302. + as_echo_n='sh -c $as_echo_n_body as_echo'
  13303. fi
  13304. - rm -f conf$$.sh
  13305. + export as_echo_body
  13306. + as_echo='sh -c $as_echo_body as_echo'
  13307. fi
  13308. -# Support unset when possible.
  13309. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  13310. - as_unset=unset
  13311. -else
  13312. - as_unset=false
  13313. +# The user is always right.
  13314. +if test "${PATH_SEPARATOR+set}" != set; then
  13315. + PATH_SEPARATOR=:
  13316. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  13317. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  13318. + PATH_SEPARATOR=';'
  13319. + }
  13320. fi
  13321. @@ -63,20 +86,18 @@
  13322. # there to prevent editors from complaining about space-tab.
  13323. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  13324. # splitting by setting IFS to empty value.)
  13325. -as_nl='
  13326. -'
  13327. IFS=" "" $as_nl"
  13328. # Find who we are. Look in the path if we contain no directory separator.
  13329. -case $0 in
  13330. +case $0 in #((
  13331. *[\\/]* ) as_myself=$0 ;;
  13332. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13333. for as_dir in $PATH
  13334. do
  13335. IFS=$as_save_IFS
  13336. test -z "$as_dir" && as_dir=.
  13337. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  13338. -done
  13339. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  13340. + done
  13341. IFS=$as_save_IFS
  13342. ;;
  13343. @@ -87,32 +108,270 @@
  13344. as_myself=$0
  13345. fi
  13346. if test ! -f "$as_myself"; then
  13347. - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  13348. - { (exit 1); exit 1; }
  13349. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  13350. + exit 1
  13351. fi
  13352. -# Work around bugs in pre-3.0 UWIN ksh.
  13353. -for as_var in ENV MAIL MAILPATH
  13354. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  13355. +# Unset variables that we do not need and which cause bugs (e.g. in
  13356. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  13357. +# suppresses any "Segmentation fault" message there. '((' could
  13358. +# trigger a bug in pdksh 5.2.14.
  13359. +for as_var in BASH_ENV ENV MAIL MAILPATH
  13360. +do eval test x\${$as_var+set} = xset \
  13361. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  13362. done
  13363. PS1='$ '
  13364. PS2='> '
  13365. PS4='+ '
  13366. # NLS nuisances.
  13367. -for as_var in \
  13368. - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  13369. - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  13370. - LC_TELEPHONE LC_TIME
  13371. +LC_ALL=C
  13372. +export LC_ALL
  13373. +LANGUAGE=C
  13374. +export LANGUAGE
  13375. +
  13376. +# CDPATH.
  13377. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13378. +
  13379. +if test "x$CONFIG_SHELL" = x; then
  13380. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  13381. + emulate sh
  13382. + NULLCMD=:
  13383. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  13384. + # is contrary to our usage. Disable this feature.
  13385. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  13386. + setopt NO_GLOB_SUBST
  13387. +else
  13388. + case \`(set -o) 2>/dev/null\` in #(
  13389. + *posix*) :
  13390. + set -o posix ;; #(
  13391. + *) :
  13392. + ;;
  13393. +esac
  13394. +fi
  13395. +"
  13396. + as_required="as_fn_return () { (exit \$1); }
  13397. +as_fn_success () { as_fn_return 0; }
  13398. +as_fn_failure () { as_fn_return 1; }
  13399. +as_fn_ret_success () { return 0; }
  13400. +as_fn_ret_failure () { return 1; }
  13401. +
  13402. +exitcode=0
  13403. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  13404. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  13405. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  13406. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  13407. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  13408. +
  13409. +else
  13410. + exitcode=1; echo positional parameters were not saved.
  13411. +fi
  13412. +test x\$exitcode = x0 || exit 1"
  13413. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  13414. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  13415. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  13416. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  13417. +test \$(( 1 + 1 )) = 2 || exit 1"
  13418. + if (eval "$as_required") 2>/dev/null; then :
  13419. + as_have_required=yes
  13420. +else
  13421. + as_have_required=no
  13422. +fi
  13423. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  13424. +
  13425. +else
  13426. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13427. +as_found=false
  13428. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  13429. do
  13430. - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  13431. - eval $as_var=C; export $as_var
  13432. - else
  13433. - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  13434. - fi
  13435. + IFS=$as_save_IFS
  13436. + test -z "$as_dir" && as_dir=.
  13437. + as_found=:
  13438. + case $as_dir in #(
  13439. + /*)
  13440. + for as_base in sh bash ksh sh5; do
  13441. + # Try only shells that exist, to save several forks.
  13442. + as_shell=$as_dir/$as_base
  13443. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  13444. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  13445. + CONFIG_SHELL=$as_shell as_have_required=yes
  13446. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  13447. + break 2
  13448. +fi
  13449. +fi
  13450. + done;;
  13451. + esac
  13452. + as_found=false
  13453. done
  13454. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  13455. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  13456. + CONFIG_SHELL=$SHELL as_have_required=yes
  13457. +fi; }
  13458. +IFS=$as_save_IFS
  13459. +
  13460. +
  13461. + if test "x$CONFIG_SHELL" != x; then :
  13462. + # We cannot yet assume a decent shell, so we have to provide a
  13463. + # neutralization value for shells without unset; and this also
  13464. + # works around shells that cannot unset nonexistent variables.
  13465. + BASH_ENV=/dev/null
  13466. + ENV=/dev/null
  13467. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  13468. + export CONFIG_SHELL
  13469. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  13470. +fi
  13471. +
  13472. + if test x$as_have_required = xno; then :
  13473. + $as_echo "$0: This script requires a shell more modern than all"
  13474. + $as_echo "$0: the shells that I found on your system."
  13475. + if test x${ZSH_VERSION+set} = xset ; then
  13476. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  13477. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  13478. + else
  13479. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  13480. +$0: including any error possibly output before this
  13481. +$0: message. Then install a modern shell, or manually run
  13482. +$0: the script under such a shell if you do have one."
  13483. + fi
  13484. + exit 1
  13485. +fi
  13486. +fi
  13487. +fi
  13488. +SHELL=${CONFIG_SHELL-/bin/sh}
  13489. +export SHELL
  13490. +# Unset more variables known to interfere with behavior of common tools.
  13491. +CLICOLOR_FORCE= GREP_OPTIONS=
  13492. +unset CLICOLOR_FORCE GREP_OPTIONS
  13493. +
  13494. +## --------------------- ##
  13495. +## M4sh Shell Functions. ##
  13496. +## --------------------- ##
  13497. +# as_fn_unset VAR
  13498. +# ---------------
  13499. +# Portably unset VAR.
  13500. +as_fn_unset ()
  13501. +{
  13502. + { eval $1=; unset $1;}
  13503. +}
  13504. +as_unset=as_fn_unset
  13505. +
  13506. +# as_fn_set_status STATUS
  13507. +# -----------------------
  13508. +# Set $? to STATUS, without forking.
  13509. +as_fn_set_status ()
  13510. +{
  13511. + return $1
  13512. +} # as_fn_set_status
  13513. +
  13514. +# as_fn_exit STATUS
  13515. +# -----------------
  13516. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  13517. +as_fn_exit ()
  13518. +{
  13519. + set +e
  13520. + as_fn_set_status $1
  13521. + exit $1
  13522. +} # as_fn_exit
  13523. +
  13524. +# as_fn_mkdir_p
  13525. +# -------------
  13526. +# Create "$as_dir" as a directory, including parents if necessary.
  13527. +as_fn_mkdir_p ()
  13528. +{
  13529. +
  13530. + case $as_dir in #(
  13531. + -*) as_dir=./$as_dir;;
  13532. + esac
  13533. + test -d "$as_dir" || eval $as_mkdir_p || {
  13534. + as_dirs=
  13535. + while :; do
  13536. + case $as_dir in #(
  13537. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  13538. + *) as_qdir=$as_dir;;
  13539. + esac
  13540. + as_dirs="'$as_qdir' $as_dirs"
  13541. + as_dir=`$as_dirname -- "$as_dir" ||
  13542. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  13543. + X"$as_dir" : 'X\(//\)[^/]' \| \
  13544. + X"$as_dir" : 'X\(//\)$' \| \
  13545. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  13546. +$as_echo X"$as_dir" |
  13547. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  13548. + s//\1/
  13549. + q
  13550. + }
  13551. + /^X\(\/\/\)[^/].*/{
  13552. + s//\1/
  13553. + q
  13554. + }
  13555. + /^X\(\/\/\)$/{
  13556. + s//\1/
  13557. + q
  13558. + }
  13559. + /^X\(\/\).*/{
  13560. + s//\1/
  13561. + q
  13562. + }
  13563. + s/.*/./; q'`
  13564. + test -d "$as_dir" && break
  13565. + done
  13566. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  13567. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  13568. +
  13569. +
  13570. +} # as_fn_mkdir_p
  13571. +# as_fn_append VAR VALUE
  13572. +# ----------------------
  13573. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  13574. +# advantage of any shell optimizations that allow amortized linear growth over
  13575. +# repeated appends, instead of the typical quadratic growth present in naive
  13576. +# implementations.
  13577. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  13578. + eval 'as_fn_append ()
  13579. + {
  13580. + eval $1+=\$2
  13581. + }'
  13582. +else
  13583. + as_fn_append ()
  13584. + {
  13585. + eval $1=\$$1\$2
  13586. + }
  13587. +fi # as_fn_append
  13588. +
  13589. +# as_fn_arith ARG...
  13590. +# ------------------
  13591. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  13592. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  13593. +# must be portable across $(()) and expr.
  13594. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  13595. + eval 'as_fn_arith ()
  13596. + {
  13597. + as_val=$(( $* ))
  13598. + }'
  13599. +else
  13600. + as_fn_arith ()
  13601. + {
  13602. + as_val=`expr "$@" || test $? -eq 1`
  13603. + }
  13604. +fi # as_fn_arith
  13605. +
  13606. +
  13607. +# as_fn_error ERROR [LINENO LOG_FD]
  13608. +# ---------------------------------
  13609. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  13610. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  13611. +# script with status $?, using 1 if that was 0.
  13612. +as_fn_error ()
  13613. +{
  13614. + as_status=$?; test $as_status -eq 0 && as_status=1
  13615. + if test "$3"; then
  13616. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  13617. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  13618. + fi
  13619. + $as_echo "$as_me: error: $1" >&2
  13620. + as_fn_exit $as_status
  13621. +} # as_fn_error
  13622. -# Required to use basename.
  13623. if expr a : '\(a\)' >/dev/null 2>&1 &&
  13624. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  13625. as_expr=expr
  13626. @@ -126,13 +385,17 @@
  13627. as_basename=false
  13628. fi
  13629. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  13630. + as_dirname=dirname
  13631. +else
  13632. + as_dirname=false
  13633. +fi
  13634. -# Name of the executable.
  13635. as_me=`$as_basename -- "$0" ||
  13636. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  13637. X"$0" : 'X\(//\)$' \| \
  13638. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  13639. -echo X/"$0" |
  13640. +$as_echo X/"$0" |
  13641. sed '/^.*\/\([^/][^/]*\)\/*$/{
  13642. s//\1/
  13643. q
  13644. @@ -147,428 +410,142 @@
  13645. }
  13646. s/.*/./; q'`
  13647. -# CDPATH.
  13648. -$as_unset CDPATH
  13649. +# Avoid depending upon Character Ranges.
  13650. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  13651. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  13652. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  13653. +as_cr_digits='0123456789'
  13654. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  13655. -if test "x$CONFIG_SHELL" = x; then
  13656. - if (eval ":") 2>/dev/null; then
  13657. - as_have_required=yes
  13658. -else
  13659. - as_have_required=no
  13660. -fi
  13661. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  13662. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  13663. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  13664. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  13665. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  13666. + sed -n '
  13667. + p
  13668. + /[$]LINENO/=
  13669. + ' <$as_myself |
  13670. + sed '
  13671. + s/[$]LINENO.*/&-/
  13672. + t lineno
  13673. + b
  13674. + :lineno
  13675. + N
  13676. + :loop
  13677. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  13678. + t loop
  13679. + s/-\n.*//
  13680. + ' >$as_me.lineno &&
  13681. + chmod +x "$as_me.lineno" ||
  13682. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  13683. - if test $as_have_required = yes && (eval ":
  13684. -(as_func_return () {
  13685. - (exit \$1)
  13686. -}
  13687. -as_func_success () {
  13688. - as_func_return 0
  13689. -}
  13690. -as_func_failure () {
  13691. - as_func_return 1
  13692. -}
  13693. -as_func_ret_success () {
  13694. - return 0
  13695. -}
  13696. -as_func_ret_failure () {
  13697. - return 1
  13698. + # Don't try to exec as it changes $[0], causing all sort of problems
  13699. + # (the dirname of $[0] is not the place where we might find the
  13700. + # original and so on. Autoconf is especially sensitive to this).
  13701. + . "./$as_me.lineno"
  13702. + # Exit status is that of the last command.
  13703. + exit
  13704. }
  13705. -exitcode=0
  13706. -if as_func_success; then
  13707. - :
  13708. -else
  13709. - exitcode=1
  13710. - echo as_func_success failed.
  13711. -fi
  13712. +ECHO_C= ECHO_N= ECHO_T=
  13713. +case `echo -n x` in #(((((
  13714. +-n*)
  13715. + case `echo 'xy\c'` in
  13716. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  13717. + xy) ECHO_C='\c';;
  13718. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  13719. + ECHO_T=' ';;
  13720. + esac;;
  13721. +*)
  13722. + ECHO_N='-n';;
  13723. +esac
  13724. -if as_func_failure; then
  13725. - exitcode=1
  13726. - echo as_func_failure succeeded.
  13727. +rm -f conf$$ conf$$.exe conf$$.file
  13728. +if test -d conf$$.dir; then
  13729. + rm -f conf$$.dir/conf$$.file
  13730. +else
  13731. + rm -f conf$$.dir
  13732. + mkdir conf$$.dir 2>/dev/null
  13733. fi
  13734. -
  13735. -if as_func_ret_success; then
  13736. - :
  13737. +if (echo >conf$$.file) 2>/dev/null; then
  13738. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  13739. + as_ln_s='ln -s'
  13740. + # ... but there are two gotchas:
  13741. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  13742. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  13743. + # In both cases, we have to default to `cp -p'.
  13744. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  13745. + as_ln_s='cp -p'
  13746. + elif ln conf$$.file conf$$ 2>/dev/null; then
  13747. + as_ln_s=ln
  13748. + else
  13749. + as_ln_s='cp -p'
  13750. + fi
  13751. else
  13752. - exitcode=1
  13753. - echo as_func_ret_success failed.
  13754. + as_ln_s='cp -p'
  13755. fi
  13756. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  13757. +rmdir conf$$.dir 2>/dev/null
  13758. -if as_func_ret_failure; then
  13759. - exitcode=1
  13760. - echo as_func_ret_failure succeeded.
  13761. +if mkdir -p . 2>/dev/null; then
  13762. + as_mkdir_p='mkdir -p "$as_dir"'
  13763. +else
  13764. + test -d ./-p && rmdir ./-p
  13765. + as_mkdir_p=false
  13766. fi
  13767. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  13768. - :
  13769. +if test -x / >/dev/null 2>&1; then
  13770. + as_test_x='test -x'
  13771. else
  13772. - exitcode=1
  13773. - echo positional parameters were not saved.
  13774. + if ls -dL / >/dev/null 2>&1; then
  13775. + as_ls_L_option=L
  13776. + else
  13777. + as_ls_L_option=
  13778. + fi
  13779. + as_test_x='
  13780. + eval sh -c '\''
  13781. + if test -d "$1"; then
  13782. + test -d "$1/.";
  13783. + else
  13784. + case $1 in #(
  13785. + -*)set "./$1";;
  13786. + esac;
  13787. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  13788. + ???[sx]*):;;*)false;;esac;fi
  13789. + '\'' sh
  13790. + '
  13791. fi
  13792. +as_executable_p=$as_test_x
  13793. -test \$exitcode = 0) || { (exit 1); exit 1; }
  13794. -
  13795. -(
  13796. - as_lineno_1=\$LINENO
  13797. - as_lineno_2=\$LINENO
  13798. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  13799. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  13800. -") 2> /dev/null; then
  13801. - :
  13802. -else
  13803. - as_candidate_shells=
  13804. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13805. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  13806. -do
  13807. - IFS=$as_save_IFS
  13808. - test -z "$as_dir" && as_dir=.
  13809. - case $as_dir in
  13810. - /*)
  13811. - for as_base in sh bash ksh sh5; do
  13812. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  13813. - done;;
  13814. - esac
  13815. -done
  13816. -IFS=$as_save_IFS
  13817. +# Sed expression to map a string onto a valid CPP name.
  13818. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  13819. +# Sed expression to map a string onto a valid variable name.
  13820. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  13821. - for as_shell in $as_candidate_shells $SHELL; do
  13822. - # Try only shells that exist, to save several forks.
  13823. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  13824. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  13825. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  13826. - emulate sh
  13827. - NULLCMD=:
  13828. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  13829. - # is contrary to our usage. Disable this feature.
  13830. - alias -g '${1+"$@"}'='"$@"'
  13831. - setopt NO_GLOB_SUBST
  13832. -else
  13833. - case `(set -o) 2>/dev/null` in
  13834. - *posix*) set -o posix ;;
  13835. -esac
  13836. -fi
  13837. +# Check that we are running under the correct shell.
  13838. +SHELL=${CONFIG_SHELL-/bin/sh}
  13839. -:
  13840. -_ASEOF
  13841. -}; then
  13842. - CONFIG_SHELL=$as_shell
  13843. - as_have_required=yes
  13844. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  13845. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  13846. - emulate sh
  13847. - NULLCMD=:
  13848. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  13849. - # is contrary to our usage. Disable this feature.
  13850. - alias -g '${1+"$@"}'='"$@"'
  13851. - setopt NO_GLOB_SUBST
  13852. -else
  13853. - case `(set -o) 2>/dev/null` in
  13854. - *posix*) set -o posix ;;
  13855. +case X$lt_ECHO in
  13856. +X*--fallback-echo)
  13857. + # Remove one level of quotation (which was required for Make).
  13858. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  13859. + ;;
  13860. esac
  13861. -fi
  13862. -
  13863. -
  13864. -:
  13865. -(as_func_return () {
  13866. - (exit $1)
  13867. -}
  13868. -as_func_success () {
  13869. - as_func_return 0
  13870. -}
  13871. -as_func_failure () {
  13872. - as_func_return 1
  13873. -}
  13874. -as_func_ret_success () {
  13875. - return 0
  13876. -}
  13877. -as_func_ret_failure () {
  13878. - return 1
  13879. -}
  13880. -
  13881. -exitcode=0
  13882. -if as_func_success; then
  13883. - :
  13884. -else
  13885. - exitcode=1
  13886. - echo as_func_success failed.
  13887. -fi
  13888. -
  13889. -if as_func_failure; then
  13890. - exitcode=1
  13891. - echo as_func_failure succeeded.
  13892. -fi
  13893. -
  13894. -if as_func_ret_success; then
  13895. - :
  13896. -else
  13897. - exitcode=1
  13898. - echo as_func_ret_success failed.
  13899. -fi
  13900. -
  13901. -if as_func_ret_failure; then
  13902. - exitcode=1
  13903. - echo as_func_ret_failure succeeded.
  13904. -fi
  13905. -
  13906. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  13907. - :
  13908. -else
  13909. - exitcode=1
  13910. - echo positional parameters were not saved.
  13911. -fi
  13912. -
  13913. -test $exitcode = 0) || { (exit 1); exit 1; }
  13914. -
  13915. -(
  13916. - as_lineno_1=$LINENO
  13917. - as_lineno_2=$LINENO
  13918. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  13919. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  13920. -
  13921. -_ASEOF
  13922. -}; then
  13923. - break
  13924. -fi
  13925. -
  13926. -fi
  13927. -
  13928. - done
  13929. -
  13930. - if test "x$CONFIG_SHELL" != x; then
  13931. - for as_var in BASH_ENV ENV
  13932. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  13933. - done
  13934. - export CONFIG_SHELL
  13935. - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  13936. -fi
  13937. -
  13938. -
  13939. - if test $as_have_required = no; then
  13940. - echo This script requires a shell more modern than all the
  13941. - echo shells that I found on your system. Please install a
  13942. - echo modern shell, or manually run the script under such a
  13943. - echo shell if you do have one.
  13944. - { (exit 1); exit 1; }
  13945. -fi
  13946. -
  13947. -
  13948. -fi
  13949. -
  13950. -fi
  13951. -
  13952. -
  13953. -
  13954. -(eval "as_func_return () {
  13955. - (exit \$1)
  13956. -}
  13957. -as_func_success () {
  13958. - as_func_return 0
  13959. -}
  13960. -as_func_failure () {
  13961. - as_func_return 1
  13962. -}
  13963. -as_func_ret_success () {
  13964. - return 0
  13965. -}
  13966. -as_func_ret_failure () {
  13967. - return 1
  13968. -}
  13969. -
  13970. -exitcode=0
  13971. -if as_func_success; then
  13972. - :
  13973. -else
  13974. - exitcode=1
  13975. - echo as_func_success failed.
  13976. -fi
  13977. -
  13978. -if as_func_failure; then
  13979. - exitcode=1
  13980. - echo as_func_failure succeeded.
  13981. -fi
  13982. -
  13983. -if as_func_ret_success; then
  13984. - :
  13985. -else
  13986. - exitcode=1
  13987. - echo as_func_ret_success failed.
  13988. -fi
  13989. -
  13990. -if as_func_ret_failure; then
  13991. - exitcode=1
  13992. - echo as_func_ret_failure succeeded.
  13993. -fi
  13994. -
  13995. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  13996. - :
  13997. -else
  13998. - exitcode=1
  13999. - echo positional parameters were not saved.
  14000. -fi
  14001. -
  14002. -test \$exitcode = 0") || {
  14003. - echo No shell found that supports shell functions.
  14004. - echo Please tell autoconf@gnu.org about your system,
  14005. - echo including any error possibly output before this
  14006. - echo message
  14007. -}
  14008. -
  14009. -
  14010. -
  14011. - as_lineno_1=$LINENO
  14012. - as_lineno_2=$LINENO
  14013. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  14014. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  14015. -
  14016. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  14017. - # uniformly replaced by the line number. The first 'sed' inserts a
  14018. - # line-number line after each line using $LINENO; the second 'sed'
  14019. - # does the real work. The second script uses 'N' to pair each
  14020. - # line-number line with the line containing $LINENO, and appends
  14021. - # trailing '-' during substitution so that $LINENO is not a special
  14022. - # case at line end.
  14023. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  14024. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  14025. - # E. McMahon (1931-1989) for sed's syntax. :-)
  14026. - sed -n '
  14027. - p
  14028. - /[$]LINENO/=
  14029. - ' <$as_myself |
  14030. - sed '
  14031. - s/[$]LINENO.*/&-/
  14032. - t lineno
  14033. - b
  14034. - :lineno
  14035. - N
  14036. - :loop
  14037. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  14038. - t loop
  14039. - s/-\n.*//
  14040. - ' >$as_me.lineno &&
  14041. - chmod +x "$as_me.lineno" ||
  14042. - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  14043. - { (exit 1); exit 1; }; }
  14044. -
  14045. - # Don't try to exec as it changes $[0], causing all sort of problems
  14046. - # (the dirname of $[0] is not the place where we might find the
  14047. - # original and so on. Autoconf is especially sensitive to this).
  14048. - . "./$as_me.lineno"
  14049. - # Exit status is that of the last command.
  14050. - exit
  14051. -}
  14052. -
  14053. -
  14054. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  14055. - as_dirname=dirname
  14056. -else
  14057. - as_dirname=false
  14058. -fi
  14059. -
  14060. -ECHO_C= ECHO_N= ECHO_T=
  14061. -case `echo -n x` in
  14062. --n*)
  14063. - case `echo 'x\c'` in
  14064. - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  14065. - *) ECHO_C='\c';;
  14066. - esac;;
  14067. -*)
  14068. - ECHO_N='-n';;
  14069. -esac
  14070. -
  14071. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  14072. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  14073. - as_expr=expr
  14074. -else
  14075. - as_expr=false
  14076. -fi
  14077. -
  14078. -rm -f conf$$ conf$$.exe conf$$.file
  14079. -if test -d conf$$.dir; then
  14080. - rm -f conf$$.dir/conf$$.file
  14081. -else
  14082. - rm -f conf$$.dir
  14083. - mkdir conf$$.dir
  14084. -fi
  14085. -echo >conf$$.file
  14086. -if ln -s conf$$.file conf$$ 2>/dev/null; then
  14087. - as_ln_s='ln -s'
  14088. - # ... but there are two gotchas:
  14089. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  14090. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  14091. - # In both cases, we have to default to `cp -p'.
  14092. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  14093. - as_ln_s='cp -p'
  14094. -elif ln conf$$.file conf$$ 2>/dev/null; then
  14095. - as_ln_s=ln
  14096. -else
  14097. - as_ln_s='cp -p'
  14098. -fi
  14099. -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  14100. -rmdir conf$$.dir 2>/dev/null
  14101. -
  14102. -if mkdir -p . 2>/dev/null; then
  14103. - as_mkdir_p=:
  14104. -else
  14105. - test -d ./-p && rmdir ./-p
  14106. - as_mkdir_p=false
  14107. -fi
  14108. -
  14109. -if test -x / >/dev/null 2>&1; then
  14110. - as_test_x='test -x'
  14111. -else
  14112. - if ls -dL / >/dev/null 2>&1; then
  14113. - as_ls_L_option=L
  14114. - else
  14115. - as_ls_L_option=
  14116. - fi
  14117. - as_test_x='
  14118. - eval sh -c '\''
  14119. - if test -d "$1"; then
  14120. - test -d "$1/.";
  14121. - else
  14122. - case $1 in
  14123. - -*)set "./$1";;
  14124. - esac;
  14125. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  14126. - ???[sx]*):;;*)false;;esac;fi
  14127. - '\'' sh
  14128. - '
  14129. -fi
  14130. -as_executable_p=$as_test_x
  14131. -
  14132. -# Sed expression to map a string onto a valid CPP name.
  14133. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  14134. -
  14135. -# Sed expression to map a string onto a valid variable name.
  14136. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  14137. -
  14138. -
  14139. -
  14140. -
  14141. -# Check that we are running under the correct shell.
  14142. -SHELL=${CONFIG_SHELL-/bin/sh}
  14143. -
  14144. -case X$ECHO in
  14145. -X*--fallback-echo)
  14146. - # Remove one level of quotation (which was required for Make).
  14147. - ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  14148. - ;;
  14149. -esac
  14150. -
  14151. -echo=${ECHO-echo}
  14152. +ECHO=${lt_ECHO-echo}
  14153. if test "X$1" = X--no-reexec; then
  14154. # Discard the --no-reexec flag, and continue.
  14155. shift
  14156. elif test "X$1" = X--fallback-echo; then
  14157. # Avoid inline document here, it may be left over
  14158. :
  14159. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  14160. - # Yippee, $echo works!
  14161. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  14162. + # Yippee, $ECHO works!
  14163. :
  14164. else
  14165. # Restart under the correct shell.
  14166. @@ -578,9 +555,9 @@
  14167. if test "X$1" = X--fallback-echo; then
  14168. # used as fallback echo
  14169. shift
  14170. - cat <<EOF
  14171. + cat <<_LT_EOF
  14172. $*
  14173. -EOF
  14174. +_LT_EOF
  14175. exit 0
  14176. fi
  14177. @@ -588,122 +565,118 @@
  14178. # if CDPATH is set.
  14179. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  14180. -if test -z "$ECHO"; then
  14181. -if test "X${echo_test_string+set}" != Xset; then
  14182. -# find a string as large as possible, as long as the shell can cope with it
  14183. - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  14184. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  14185. - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  14186. - echo_test_string=`eval $cmd` &&
  14187. - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  14188. - then
  14189. - break
  14190. - fi
  14191. - done
  14192. -fi
  14193. +if test -z "$lt_ECHO"; then
  14194. + if test "X${echo_test_string+set}" != Xset; then
  14195. + # find a string as large as possible, as long as the shell can cope with it
  14196. + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  14197. + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  14198. + if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  14199. + { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  14200. + then
  14201. + break
  14202. + fi
  14203. + done
  14204. + fi
  14205. -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  14206. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  14207. - test "X$echo_testing_string" = "X$echo_test_string"; then
  14208. - :
  14209. -else
  14210. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  14211. - # backslashes. This makes it impossible to quote backslashes using
  14212. - # echo "$something" | sed 's/\\/\\\\/g'
  14213. - #
  14214. - # So, first we look for a working echo in the user's PATH.
  14215. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  14216. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  14217. + test "X$echo_testing_string" = "X$echo_test_string"; then
  14218. + :
  14219. + else
  14220. + # The Solaris, AIX, and Digital Unix default echo programs unquote
  14221. + # backslashes. This makes it impossible to quote backslashes using
  14222. + # echo "$something" | sed 's/\\/\\\\/g'
  14223. + #
  14224. + # So, first we look for a working echo in the user's PATH.
  14225. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  14226. - for dir in $PATH /usr/ucb; do
  14227. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  14228. + for dir in $PATH /usr/ucb; do
  14229. + IFS="$lt_save_ifs"
  14230. + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  14231. + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  14232. + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  14233. + test "X$echo_testing_string" = "X$echo_test_string"; then
  14234. + ECHO="$dir/echo"
  14235. + break
  14236. + fi
  14237. + done
  14238. IFS="$lt_save_ifs"
  14239. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  14240. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  14241. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  14242. - test "X$echo_testing_string" = "X$echo_test_string"; then
  14243. - echo="$dir/echo"
  14244. - break
  14245. - fi
  14246. - done
  14247. - IFS="$lt_save_ifs"
  14248. - if test "X$echo" = Xecho; then
  14249. - # We didn't find a better echo, so look for alternatives.
  14250. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  14251. - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  14252. - test "X$echo_testing_string" = "X$echo_test_string"; then
  14253. - # This shell has a builtin print -r that does the trick.
  14254. - echo='print -r'
  14255. - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  14256. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  14257. - # If we have ksh, try running configure again with it.
  14258. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  14259. - export ORIGINAL_CONFIG_SHELL
  14260. - CONFIG_SHELL=/bin/ksh
  14261. - export CONFIG_SHELL
  14262. - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  14263. - else
  14264. - # Try using printf.
  14265. - echo='printf %s\n'
  14266. - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  14267. - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  14268. - test "X$echo_testing_string" = "X$echo_test_string"; then
  14269. - # Cool, printf works
  14270. - :
  14271. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  14272. - test "X$echo_testing_string" = 'X\t' &&
  14273. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  14274. - test "X$echo_testing_string" = "X$echo_test_string"; then
  14275. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  14276. - export CONFIG_SHELL
  14277. - SHELL="$CONFIG_SHELL"
  14278. - export SHELL
  14279. - echo="$CONFIG_SHELL $0 --fallback-echo"
  14280. - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  14281. - test "X$echo_testing_string" = 'X\t' &&
  14282. - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  14283. - test "X$echo_testing_string" = "X$echo_test_string"; then
  14284. - echo="$CONFIG_SHELL $0 --fallback-echo"
  14285. + if test "X$ECHO" = Xecho; then
  14286. + # We didn't find a better echo, so look for alternatives.
  14287. + if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  14288. + echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  14289. + test "X$echo_testing_string" = "X$echo_test_string"; then
  14290. + # This shell has a builtin print -r that does the trick.
  14291. + ECHO='print -r'
  14292. + elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  14293. + test "X$CONFIG_SHELL" != X/bin/ksh; then
  14294. + # If we have ksh, try running configure again with it.
  14295. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  14296. + export ORIGINAL_CONFIG_SHELL
  14297. + CONFIG_SHELL=/bin/ksh
  14298. + export CONFIG_SHELL
  14299. + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  14300. else
  14301. - # maybe with a smaller string...
  14302. - prev=:
  14303. + # Try using printf.
  14304. + ECHO='printf %s\n'
  14305. + if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  14306. + echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  14307. + test "X$echo_testing_string" = "X$echo_test_string"; then
  14308. + # Cool, printf works
  14309. + :
  14310. + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  14311. + test "X$echo_testing_string" = 'X\t' &&
  14312. + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  14313. + test "X$echo_testing_string" = "X$echo_test_string"; then
  14314. + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  14315. + export CONFIG_SHELL
  14316. + SHELL="$CONFIG_SHELL"
  14317. + export SHELL
  14318. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  14319. + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  14320. + test "X$echo_testing_string" = 'X\t' &&
  14321. + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  14322. + test "X$echo_testing_string" = "X$echo_test_string"; then
  14323. + ECHO="$CONFIG_SHELL $0 --fallback-echo"
  14324. + else
  14325. + # maybe with a smaller string...
  14326. + prev=:
  14327. - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  14328. - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  14329. - then
  14330. - break
  14331. - fi
  14332. - prev="$cmd"
  14333. - done
  14334. + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  14335. + if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  14336. + then
  14337. + break
  14338. + fi
  14339. + prev="$cmd"
  14340. + done
  14341. - if test "$prev" != 'sed 50q "$0"'; then
  14342. - echo_test_string=`eval $prev`
  14343. - export echo_test_string
  14344. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  14345. - else
  14346. - # Oops. We lost completely, so just stick with echo.
  14347. - echo=echo
  14348. - fi
  14349. + if test "$prev" != 'sed 50q "$0"'; then
  14350. + echo_test_string=`eval $prev`
  14351. + export echo_test_string
  14352. + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  14353. + else
  14354. + # Oops. We lost completely, so just stick with echo.
  14355. + ECHO=echo
  14356. + fi
  14357. + fi
  14358. fi
  14359. fi
  14360. fi
  14361. fi
  14362. -fi
  14363. # Copy echo and quote the copy suitably for passing to libtool from
  14364. # the Makefile, instead of quoting the original, which is used later.
  14365. -ECHO=$echo
  14366. -if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  14367. - ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  14368. +lt_ECHO=$ECHO
  14369. +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  14370. + lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  14371. fi
  14372. -tagnames=${tagnames+${tagnames},}CXX
  14373. -
  14374. -tagnames=${tagnames+${tagnames},}F77
  14375. -
  14376. -exec 7<&0 </dev/null 6>&1
  14377. +test -n "$DJDIR" || exec 7<&0 </dev/null
  14378. +exec 6>&1
  14379. # Name of the host.
  14380. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  14381. @@ -721,7 +694,6 @@
  14382. subdirs=
  14383. MFLAGS=
  14384. MAKEFLAGS=
  14385. -SHELL=${CONFIG_SHELL-/bin/sh}
  14386. # Identity of this package.
  14387. PACKAGE_NAME=
  14388. @@ -729,6 +701,7 @@
  14389. PACKAGE_VERSION=
  14390. PACKAGE_STRING=
  14391. PACKAGE_BUGREPORT=
  14392. +PACKAGE_URL=
  14393. ac_unique_file="libspeex/speex.c"
  14394. # Factoring default headers for most tests.
  14395. @@ -767,133 +740,164 @@
  14396. # include <unistd.h>
  14397. #endif"
  14398. -ac_subst_vars='SHELL
  14399. -PATH_SEPARATOR
  14400. -PACKAGE_NAME
  14401. -PACKAGE_TARNAME
  14402. -PACKAGE_VERSION
  14403. -PACKAGE_STRING
  14404. -PACKAGE_BUGREPORT
  14405. -exec_prefix
  14406. -prefix
  14407. -program_transform_name
  14408. -bindir
  14409. -sbindir
  14410. -libexecdir
  14411. -datarootdir
  14412. -datadir
  14413. -sysconfdir
  14414. -sharedstatedir
  14415. -localstatedir
  14416. -includedir
  14417. -oldincludedir
  14418. -docdir
  14419. -infodir
  14420. -htmldir
  14421. -dvidir
  14422. -pdfdir
  14423. -psdir
  14424. -libdir
  14425. -localedir
  14426. -mandir
  14427. -DEFS
  14428. -ECHO_C
  14429. -ECHO_N
  14430. -ECHO_T
  14431. -LIBS
  14432. -build_alias
  14433. -host_alias
  14434. -target_alias
  14435. -SPEEX_LT_CURRENT
  14436. -SPEEX_LT_REVISION
  14437. -SPEEX_LT_AGE
  14438. -SPEEX_VERSION
  14439. -INSTALL_PROGRAM
  14440. -INSTALL_SCRIPT
  14441. -INSTALL_DATA
  14442. -CYGPATH_W
  14443. -PACKAGE
  14444. -VERSION
  14445. -ACLOCAL
  14446. -AUTOCONF
  14447. -AUTOMAKE
  14448. -AUTOHEADER
  14449. -MAKEINFO
  14450. -AMTAR
  14451. -install_sh
  14452. -STRIP
  14453. -INSTALL_STRIP_PROGRAM
  14454. -mkdir_p
  14455. -AWK
  14456. -SET_MAKE
  14457. -am__leading_dot
  14458. -MAINTAINER_MODE_TRUE
  14459. -MAINTAINER_MODE_FALSE
  14460. -MAINT
  14461. -build
  14462. -build_cpu
  14463. -build_vendor
  14464. -build_os
  14465. -host
  14466. -host_cpu
  14467. -host_vendor
  14468. -host_os
  14469. -CC
  14470. -CFLAGS
  14471. -LDFLAGS
  14472. -CPPFLAGS
  14473. -ac_ct_CC
  14474. -EXEEXT
  14475. -OBJEXT
  14476. -DEPDIR
  14477. -am__include
  14478. -am__quote
  14479. -AMDEP_TRUE
  14480. -AMDEP_FALSE
  14481. -AMDEPBACKSLASH
  14482. -CCDEPMODE
  14483. -am__fastdepCC_TRUE
  14484. -am__fastdepCC_FALSE
  14485. -SED
  14486. -GREP
  14487. -EGREP
  14488. -LN_S
  14489. -ECHO
  14490. -AR
  14491. -RANLIB
  14492. -DSYMUTIL
  14493. +ac_subst_vars='am__EXEEXT_FALSE
  14494. +am__EXEEXT_TRUE
  14495. +LTLIBOBJS
  14496. +SIZE32
  14497. +SIZE16
  14498. +FFT_PKGCONFIG
  14499. +BUILD_SMALLFT_FALSE
  14500. +BUILD_SMALLFT_TRUE
  14501. +BUILD_KISS_FFT_FALSE
  14502. +BUILD_KISS_FFT_TRUE
  14503. +FFT_LIBS
  14504. +FFT_CFLAGS
  14505. +PKG_CONFIG
  14506. +LIBOBJS
  14507. +src
  14508. +OGG_LIBS
  14509. +OGG_CFLAGS
  14510. +CPP
  14511. +OTOOL64
  14512. +OTOOL
  14513. +LIPO
  14514. NMEDIT
  14515. +DSYMUTIL
  14516. +lt_ECHO
  14517. +RANLIB
  14518. +AR
  14519. +LN_S
  14520. +NM
  14521. +ac_ct_DUMPBIN
  14522. +DUMPBIN
  14523. +LD
  14524. +FGREP
  14525. +EGREP
  14526. +GREP
  14527. +SED
  14528. +am__fastdepCC_FALSE
  14529. +am__fastdepCC_TRUE
  14530. +CCDEPMODE
  14531. +AMDEPBACKSLASH
  14532. +AMDEP_FALSE
  14533. +AMDEP_TRUE
  14534. +am__quote
  14535. +am__include
  14536. +DEPDIR
  14537. +OBJEXT
  14538. +EXEEXT
  14539. +ac_ct_CC
  14540. +CPPFLAGS
  14541. +LDFLAGS
  14542. +CFLAGS
  14543. +CC
  14544. +LIBTOOL
  14545. +OBJDUMP
  14546. DLLTOOL
  14547. AS
  14548. -OBJDUMP
  14549. -CPP
  14550. -CXX
  14551. -CXXFLAGS
  14552. -ac_ct_CXX
  14553. -CXXDEPMODE
  14554. -am__fastdepCXX_TRUE
  14555. -am__fastdepCXX_FALSE
  14556. -CXXCPP
  14557. -F77
  14558. -FFLAGS
  14559. -ac_ct_F77
  14560. -LIBTOOL
  14561. -OGG_CFLAGS
  14562. -OGG_LIBS
  14563. -src
  14564. -LIBOBJS
  14565. -PKG_CONFIG
  14566. -FFT_CFLAGS
  14567. -FFT_LIBS
  14568. -BUILD_KISS_FFT_TRUE
  14569. -BUILD_KISS_FFT_FALSE
  14570. -BUILD_SMALLFT_TRUE
  14571. -BUILD_SMALLFT_FALSE
  14572. -FFT_PKGCONFIG
  14573. -SIZE16
  14574. -SIZE32
  14575. -LTLIBOBJS'
  14576. +host_os
  14577. +host_vendor
  14578. +host_cpu
  14579. +host
  14580. +build_os
  14581. +build_vendor
  14582. +build_cpu
  14583. +build
  14584. +MAINT
  14585. +MAINTAINER_MODE_FALSE
  14586. +MAINTAINER_MODE_TRUE
  14587. +am__untar
  14588. +am__tar
  14589. +AMTAR
  14590. +am__leading_dot
  14591. +SET_MAKE
  14592. +AWK
  14593. +mkdir_p
  14594. +MKDIR_P
  14595. +INSTALL_STRIP_PROGRAM
  14596. +STRIP
  14597. +install_sh
  14598. +MAKEINFO
  14599. +AUTOHEADER
  14600. +AUTOMAKE
  14601. +AUTOCONF
  14602. +ACLOCAL
  14603. +VERSION
  14604. +PACKAGE
  14605. +CYGPATH_W
  14606. +am__isrc
  14607. +INSTALL_DATA
  14608. +INSTALL_SCRIPT
  14609. +INSTALL_PROGRAM
  14610. +SPEEX_VERSION
  14611. +SPEEX_LT_AGE
  14612. +SPEEX_LT_REVISION
  14613. +SPEEX_LT_CURRENT
  14614. +target_alias
  14615. +host_alias
  14616. +build_alias
  14617. +LIBS
  14618. +ECHO_T
  14619. +ECHO_N
  14620. +ECHO_C
  14621. +DEFS
  14622. +mandir
  14623. +localedir
  14624. +libdir
  14625. +psdir
  14626. +pdfdir
  14627. +dvidir
  14628. +htmldir
  14629. +infodir
  14630. +docdir
  14631. +oldincludedir
  14632. +includedir
  14633. +localstatedir
  14634. +sharedstatedir
  14635. +sysconfdir
  14636. +datadir
  14637. +datarootdir
  14638. +libexecdir
  14639. +sbindir
  14640. +bindir
  14641. +program_transform_name
  14642. +prefix
  14643. +exec_prefix
  14644. +PACKAGE_URL
  14645. +PACKAGE_BUGREPORT
  14646. +PACKAGE_STRING
  14647. +PACKAGE_VERSION
  14648. +PACKAGE_TARNAME
  14649. +PACKAGE_NAME
  14650. +PATH_SEPARATOR
  14651. +SHELL'
  14652. ac_subst_files=''
  14653. +ac_user_opts='
  14654. +enable_option_checking
  14655. +enable_maintainer_mode
  14656. +enable_shared
  14657. +enable_static
  14658. +with_pic
  14659. +enable_fast_install
  14660. +enable_dependency_tracking
  14661. +with_gnu_ld
  14662. +enable_libtool_lock
  14663. +with_ogg
  14664. +with_ogg_libraries
  14665. +with_ogg_includes
  14666. +enable_oggtest
  14667. +enable_valgrind
  14668. +enable_sse
  14669. +enable_fixed_point
  14670. +enable_float_api
  14671. +enable_vbr
  14672. +enable_arm4_asm
  14673. +enable_arm5e_asm
  14674. +enable_blackfin_asm
  14675. +enable_fixed_point_debug
  14676. +enable_ti_c55x
  14677. +with_fft
  14678. +'
  14679. ac_precious_vars='build_alias
  14680. host_alias
  14681. target_alias
  14682. @@ -903,12 +907,6 @@
  14683. LIBS
  14684. CPPFLAGS
  14685. CPP
  14686. -CXX
  14687. -CXXFLAGS
  14688. -CCC
  14689. -CXXCPP
  14690. -F77
  14691. -FFLAGS
  14692. PKG_CONFIG
  14693. FFT_CFLAGS
  14694. FFT_LIBS'
  14695. @@ -917,6 +915,8 @@
  14696. # Initialize some variables set by options.
  14697. ac_init_help=
  14698. ac_init_version=false
  14699. +ac_unrecognized_opts=
  14700. +ac_unrecognized_sep=
  14701. # The variables have the same names as the options, with
  14702. # dashes changed to underlines.
  14703. cache_file=/dev/null
  14704. @@ -1015,13 +1015,20 @@
  14705. datarootdir=$ac_optarg ;;
  14706. -disable-* | --disable-*)
  14707. - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  14708. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  14709. # Reject names that are not valid shell variable names.
  14710. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  14711. - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  14712. - { (exit 1); exit 1; }; }
  14713. - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  14714. - eval enable_$ac_feature=no ;;
  14715. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  14716. + as_fn_error "invalid feature name: $ac_useropt"
  14717. + ac_useropt_orig=$ac_useropt
  14718. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  14719. + case $ac_user_opts in
  14720. + *"
  14721. +"enable_$ac_useropt"
  14722. +"*) ;;
  14723. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  14724. + ac_unrecognized_sep=', ';;
  14725. + esac
  14726. + eval enable_$ac_useropt=no ;;
  14727. -docdir | --docdir | --docdi | --doc | --do)
  14728. ac_prev=docdir ;;
  14729. @@ -1034,13 +1041,20 @@
  14730. dvidir=$ac_optarg ;;
  14731. -enable-* | --enable-*)
  14732. - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  14733. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  14734. # Reject names that are not valid shell variable names.
  14735. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  14736. - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  14737. - { (exit 1); exit 1; }; }
  14738. - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  14739. - eval enable_$ac_feature=\$ac_optarg ;;
  14740. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  14741. + as_fn_error "invalid feature name: $ac_useropt"
  14742. + ac_useropt_orig=$ac_useropt
  14743. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  14744. + case $ac_user_opts in
  14745. + *"
  14746. +"enable_$ac_useropt"
  14747. +"*) ;;
  14748. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  14749. + ac_unrecognized_sep=', ';;
  14750. + esac
  14751. + eval enable_$ac_useropt=\$ac_optarg ;;
  14752. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  14753. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  14754. @@ -1231,22 +1245,36 @@
  14755. ac_init_version=: ;;
  14756. -with-* | --with-*)
  14757. - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  14758. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  14759. # Reject names that are not valid shell variable names.
  14760. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  14761. - { echo "$as_me: error: invalid package name: $ac_package" >&2
  14762. - { (exit 1); exit 1; }; }
  14763. - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  14764. - eval with_$ac_package=\$ac_optarg ;;
  14765. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  14766. + as_fn_error "invalid package name: $ac_useropt"
  14767. + ac_useropt_orig=$ac_useropt
  14768. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  14769. + case $ac_user_opts in
  14770. + *"
  14771. +"with_$ac_useropt"
  14772. +"*) ;;
  14773. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  14774. + ac_unrecognized_sep=', ';;
  14775. + esac
  14776. + eval with_$ac_useropt=\$ac_optarg ;;
  14777. -without-* | --without-*)
  14778. - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  14779. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  14780. # Reject names that are not valid shell variable names.
  14781. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  14782. - { echo "$as_me: error: invalid package name: $ac_package" >&2
  14783. - { (exit 1); exit 1; }; }
  14784. - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  14785. - eval with_$ac_package=no ;;
  14786. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  14787. + as_fn_error "invalid package name: $ac_useropt"
  14788. + ac_useropt_orig=$ac_useropt
  14789. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  14790. + case $ac_user_opts in
  14791. + *"
  14792. +"with_$ac_useropt"
  14793. +"*) ;;
  14794. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  14795. + ac_unrecognized_sep=', ';;
  14796. + esac
  14797. + eval with_$ac_useropt=no ;;
  14798. --x)
  14799. # Obsolete; use --with-x.
  14800. @@ -1266,25 +1294,25 @@
  14801. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  14802. x_libraries=$ac_optarg ;;
  14803. - -*) { echo "$as_me: error: unrecognized option: $ac_option
  14804. -Try \`$0 --help' for more information." >&2
  14805. - { (exit 1); exit 1; }; }
  14806. + -*) as_fn_error "unrecognized option: \`$ac_option'
  14807. +Try \`$0 --help' for more information."
  14808. ;;
  14809. *=*)
  14810. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  14811. # Reject names that are not valid shell variable names.
  14812. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  14813. - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  14814. - { (exit 1); exit 1; }; }
  14815. + case $ac_envvar in #(
  14816. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  14817. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  14818. + esac
  14819. eval $ac_envvar=\$ac_optarg
  14820. export $ac_envvar ;;
  14821. *)
  14822. # FIXME: should be removed in autoconf 3.0.
  14823. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  14824. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  14825. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  14826. - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  14827. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  14828. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  14829. ;;
  14830. @@ -1293,23 +1321,36 @@
  14831. if test -n "$ac_prev"; then
  14832. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  14833. - { echo "$as_me: error: missing argument to $ac_option" >&2
  14834. - { (exit 1); exit 1; }; }
  14835. + as_fn_error "missing argument to $ac_option"
  14836. fi
  14837. -# Be sure to have absolute directory names.
  14838. +if test -n "$ac_unrecognized_opts"; then
  14839. + case $enable_option_checking in
  14840. + no) ;;
  14841. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  14842. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  14843. + esac
  14844. +fi
  14845. +
  14846. +# Check all directory arguments for consistency.
  14847. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  14848. datadir sysconfdir sharedstatedir localstatedir includedir \
  14849. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  14850. libdir localedir mandir
  14851. do
  14852. eval ac_val=\$$ac_var
  14853. + # Remove trailing slashes.
  14854. + case $ac_val in
  14855. + */ )
  14856. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  14857. + eval $ac_var=\$ac_val;;
  14858. + esac
  14859. + # Be sure to have absolute directory names.
  14860. case $ac_val in
  14861. [\\/$]* | ?:[\\/]* ) continue;;
  14862. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  14863. esac
  14864. - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  14865. - { (exit 1); exit 1; }; }
  14866. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  14867. done
  14868. # There might be people who depend on the old broken behavior: `$host'
  14869. @@ -1323,7 +1364,7 @@
  14870. if test "x$host_alias" != x; then
  14871. if test "x$build_alias" = x; then
  14872. cross_compiling=maybe
  14873. - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  14874. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  14875. If a cross compiler is detected then cross compile mode will be used." >&2
  14876. elif test "x$build_alias" != "x$host_alias"; then
  14877. cross_compiling=yes
  14878. @@ -1339,23 +1380,21 @@
  14879. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  14880. ac_ls_di=`ls -di .` &&
  14881. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  14882. - { echo "$as_me: error: Working directory cannot be determined" >&2
  14883. - { (exit 1); exit 1; }; }
  14884. + as_fn_error "working directory cannot be determined"
  14885. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  14886. - { echo "$as_me: error: pwd does not report name of working directory" >&2
  14887. - { (exit 1); exit 1; }; }
  14888. + as_fn_error "pwd does not report name of working directory"
  14889. # Find the source files, if location was not specified.
  14890. if test -z "$srcdir"; then
  14891. ac_srcdir_defaulted=yes
  14892. # Try the directory containing this script, then the parent directory.
  14893. - ac_confdir=`$as_dirname -- "$0" ||
  14894. -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14895. - X"$0" : 'X\(//\)[^/]' \| \
  14896. - X"$0" : 'X\(//\)$' \| \
  14897. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  14898. -echo X"$0" |
  14899. + ac_confdir=`$as_dirname -- "$as_myself" ||
  14900. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  14901. + X"$as_myself" : 'X\(//\)[^/]' \| \
  14902. + X"$as_myself" : 'X\(//\)$' \| \
  14903. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  14904. +$as_echo X"$as_myself" |
  14905. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  14906. s//\1/
  14907. q
  14908. @@ -1382,13 +1421,11 @@
  14909. fi
  14910. if test ! -r "$srcdir/$ac_unique_file"; then
  14911. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  14912. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  14913. - { (exit 1); exit 1; }; }
  14914. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  14915. fi
  14916. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  14917. ac_abs_confdir=`(
  14918. - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  14919. - { (exit 1); exit 1; }; }
  14920. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  14921. pwd)`
  14922. # When building in place, set srcdir=.
  14923. if test "$ac_abs_confdir" = "$ac_pwd"; then
  14924. @@ -1436,9 +1473,9 @@
  14925. Installation directories:
  14926. --prefix=PREFIX install architecture-independent files in PREFIX
  14927. - [$ac_default_prefix]
  14928. + [$ac_default_prefix]
  14929. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  14930. - [PREFIX]
  14931. + [PREFIX]
  14932. By default, \`make install' will install all the files in
  14933. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  14934. @@ -1448,25 +1485,25 @@
  14935. For better control, use the options below.
  14936. Fine tuning of the installation directories:
  14937. - --bindir=DIR user executables [EPREFIX/bin]
  14938. - --sbindir=DIR system admin executables [EPREFIX/sbin]
  14939. - --libexecdir=DIR program executables [EPREFIX/libexec]
  14940. - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  14941. - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  14942. - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  14943. - --libdir=DIR object code libraries [EPREFIX/lib]
  14944. - --includedir=DIR C header files [PREFIX/include]
  14945. - --oldincludedir=DIR C header files for non-gcc [/usr/include]
  14946. - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  14947. - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  14948. - --infodir=DIR info documentation [DATAROOTDIR/info]
  14949. - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  14950. - --mandir=DIR man documentation [DATAROOTDIR/man]
  14951. - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  14952. - --htmldir=DIR html documentation [DOCDIR]
  14953. - --dvidir=DIR dvi documentation [DOCDIR]
  14954. - --pdfdir=DIR pdf documentation [DOCDIR]
  14955. - --psdir=DIR ps documentation [DOCDIR]
  14956. + --bindir=DIR user executables [EPREFIX/bin]
  14957. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  14958. + --libexecdir=DIR program executables [EPREFIX/libexec]
  14959. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  14960. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  14961. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  14962. + --libdir=DIR object code libraries [EPREFIX/lib]
  14963. + --includedir=DIR C header files [PREFIX/include]
  14964. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  14965. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  14966. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  14967. + --infodir=DIR info documentation [DATAROOTDIR/info]
  14968. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  14969. + --mandir=DIR man documentation [DATAROOTDIR/man]
  14970. + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  14971. + --htmldir=DIR html documentation [DOCDIR]
  14972. + --dvidir=DIR dvi documentation [DOCDIR]
  14973. + --pdfdir=DIR pdf documentation [DOCDIR]
  14974. + --psdir=DIR ps documentation [DOCDIR]
  14975. _ACEOF
  14976. cat <<\_ACEOF
  14977. @@ -1487,6 +1524,7 @@
  14978. cat <<\_ACEOF
  14979. Optional Features:
  14980. + --disable-option-checking ignore unrecognized --enable/--with options
  14981. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  14982. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  14983. --enable-maintainer-mode enable make rules and dependencies not useful
  14984. @@ -1513,10 +1551,9 @@
  14985. Optional Packages:
  14986. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  14987. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  14988. - --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  14989. --with-pic try to use only PIC/non-PIC objects [default=use
  14990. both]
  14991. - --with-tags[=TAGS] include additional configurations [automatic]
  14992. + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  14993. --with-ogg=PFX Prefix where libogg is installed (optional)
  14994. --with-ogg-libraries=DIR Directory where libogg library is installed (optional)
  14995. --with-ogg-includes=DIR Directory where libogg header files are installed (optional)
  14996. @@ -1531,14 +1568,9 @@
  14997. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  14998. nonstandard directory <lib dir>
  14999. LIBS libraries to pass to the linker, e.g. -l<library>
  15000. - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  15001. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  15002. you have headers in a nonstandard directory <include dir>
  15003. CPP C preprocessor
  15004. - CXX C++ compiler command
  15005. - CXXFLAGS C++ compiler flags
  15006. - CXXCPP C++ preprocessor
  15007. - F77 Fortran 77 compiler command
  15008. - FFLAGS Fortran 77 compiler flags
  15009. PKG_CONFIG path to pkg-config utility
  15010. FFT_CFLAGS C compiler flags for FFT, overriding pkg-config
  15011. FFT_LIBS linker flags for FFT, overriding pkg-config
  15012. @@ -1546,6 +1578,7 @@
  15013. Use these variables to override the choices made by `configure' or to help
  15014. it to find libraries and programs with nonstandard names/locations.
  15015. +Report bugs to the package provider.
  15016. _ACEOF
  15017. ac_status=$?
  15018. fi
  15019. @@ -1553,15 +1586,17 @@
  15020. if test "$ac_init_help" = "recursive"; then
  15021. # If there are subdirs, report their specific --help.
  15022. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  15023. - test -d "$ac_dir" || continue
  15024. + test -d "$ac_dir" ||
  15025. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  15026. + continue
  15027. ac_builddir=.
  15028. case "$ac_dir" in
  15029. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15030. *)
  15031. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  15032. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  15033. # A ".." for each directory in $ac_dir_suffix.
  15034. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  15035. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  15036. case $ac_top_builddir_sub in
  15037. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  15038. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  15039. @@ -1597,7 +1632,7 @@
  15040. echo &&
  15041. $SHELL "$ac_srcdir/configure" --help=recursive
  15042. else
  15043. - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  15044. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  15045. fi || ac_status=$?
  15046. cd "$ac_pwd" || { ac_status=$?; break; }
  15047. done
  15048. @@ -1607,375 +1642,906 @@
  15049. if $ac_init_version; then
  15050. cat <<\_ACEOF
  15051. configure
  15052. -generated by GNU Autoconf 2.61
  15053. +generated by GNU Autoconf 2.65
  15054. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  15055. -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  15056. +Copyright (C) 2009 Free Software Foundation, Inc.
  15057. This configure script is free software; the Free Software Foundation
  15058. gives unlimited permission to copy, distribute and modify it.
  15059. _ACEOF
  15060. exit
  15061. fi
  15062. -cat >config.log <<_ACEOF
  15063. -This file contains any messages produced by compilers while
  15064. -running configure, to aid debugging if configure makes a mistake.
  15065. -It was created by $as_me, which was
  15066. -generated by GNU Autoconf 2.61. Invocation command line was
  15067. +## ------------------------ ##
  15068. +## Autoconf initialization. ##
  15069. +## ------------------------ ##
  15070. +
  15071. +# ac_fn_c_try_compile LINENO
  15072. +# --------------------------
  15073. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  15074. +ac_fn_c_try_compile ()
  15075. +{
  15076. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15077. + rm -f conftest.$ac_objext
  15078. + if { { ac_try="$ac_compile"
  15079. +case "(($ac_try" in
  15080. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15081. + *) ac_try_echo=$ac_try;;
  15082. +esac
  15083. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  15084. +$as_echo "$ac_try_echo"; } >&5
  15085. + (eval "$ac_compile") 2>conftest.err
  15086. + ac_status=$?
  15087. + if test -s conftest.err; then
  15088. + grep -v '^ *+' conftest.err >conftest.er1
  15089. + cat conftest.er1 >&5
  15090. + mv -f conftest.er1 conftest.err
  15091. + fi
  15092. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15093. + test $ac_status = 0; } && {
  15094. + test -z "$ac_c_werror_flag" ||
  15095. + test ! -s conftest.err
  15096. + } && test -s conftest.$ac_objext; then :
  15097. + ac_retval=0
  15098. +else
  15099. + $as_echo "$as_me: failed program was:" >&5
  15100. +sed 's/^/| /' conftest.$ac_ext >&5
  15101. - $ $0 $@
  15102. + ac_retval=1
  15103. +fi
  15104. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15105. + as_fn_set_status $ac_retval
  15106. -_ACEOF
  15107. -exec 5>>config.log
  15108. -{
  15109. -cat <<_ASUNAME
  15110. -## --------- ##
  15111. -## Platform. ##
  15112. -## --------- ##
  15113. +} # ac_fn_c_try_compile
  15114. -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  15115. -uname -m = `(uname -m) 2>/dev/null || echo unknown`
  15116. -uname -r = `(uname -r) 2>/dev/null || echo unknown`
  15117. -uname -s = `(uname -s) 2>/dev/null || echo unknown`
  15118. -uname -v = `(uname -v) 2>/dev/null || echo unknown`
  15119. +# ac_fn_c_try_link LINENO
  15120. +# -----------------------
  15121. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  15122. +ac_fn_c_try_link ()
  15123. +{
  15124. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15125. + rm -f conftest.$ac_objext conftest$ac_exeext
  15126. + if { { ac_try="$ac_link"
  15127. +case "(($ac_try" in
  15128. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15129. + *) ac_try_echo=$ac_try;;
  15130. +esac
  15131. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  15132. +$as_echo "$ac_try_echo"; } >&5
  15133. + (eval "$ac_link") 2>conftest.err
  15134. + ac_status=$?
  15135. + if test -s conftest.err; then
  15136. + grep -v '^ *+' conftest.err >conftest.er1
  15137. + cat conftest.er1 >&5
  15138. + mv -f conftest.er1 conftest.err
  15139. + fi
  15140. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15141. + test $ac_status = 0; } && {
  15142. + test -z "$ac_c_werror_flag" ||
  15143. + test ! -s conftest.err
  15144. + } && test -s conftest$ac_exeext && {
  15145. + test "$cross_compiling" = yes ||
  15146. + $as_test_x conftest$ac_exeext
  15147. + }; then :
  15148. + ac_retval=0
  15149. +else
  15150. + $as_echo "$as_me: failed program was:" >&5
  15151. +sed 's/^/| /' conftest.$ac_ext >&5
  15152. -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  15153. -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  15154. + ac_retval=1
  15155. +fi
  15156. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  15157. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  15158. + # interfere with the next link command; also delete a directory that is
  15159. + # left behind by Apple's compiler. We do this before executing the actions.
  15160. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  15161. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15162. + as_fn_set_status $ac_retval
  15163. -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  15164. -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  15165. -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  15166. -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  15167. -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  15168. -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  15169. -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  15170. -
  15171. -_ASUNAME
  15172. -
  15173. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15174. -for as_dir in $PATH
  15175. -do
  15176. - IFS=$as_save_IFS
  15177. - test -z "$as_dir" && as_dir=.
  15178. - echo "PATH: $as_dir"
  15179. -done
  15180. -IFS=$as_save_IFS
  15181. -
  15182. -} >&5
  15183. -
  15184. -cat >&5 <<_ACEOF
  15185. -
  15186. -
  15187. -## ----------- ##
  15188. -## Core tests. ##
  15189. -## ----------- ##
  15190. +} # ac_fn_c_try_link
  15191. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  15192. +# -------------------------------------------------------
  15193. +# Tests whether HEADER exists and can be compiled using the include files in
  15194. +# INCLUDES, setting the cache variable VAR accordingly.
  15195. +ac_fn_c_check_header_compile ()
  15196. +{
  15197. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15198. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  15199. +$as_echo_n "checking for $2... " >&6; }
  15200. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  15201. + $as_echo_n "(cached) " >&6
  15202. +else
  15203. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15204. +/* end confdefs.h. */
  15205. +$4
  15206. +#include <$2>
  15207. _ACEOF
  15208. +if ac_fn_c_try_compile "$LINENO"; then :
  15209. + eval "$3=yes"
  15210. +else
  15211. + eval "$3=no"
  15212. +fi
  15213. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15214. +fi
  15215. +eval ac_res=\$$3
  15216. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  15217. +$as_echo "$ac_res" >&6; }
  15218. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15219. +} # ac_fn_c_check_header_compile
  15220. -# Keep a trace of the command line.
  15221. -# Strip out --no-create and --no-recursion so they do not pile up.
  15222. -# Strip out --silent because we don't want to record it for future runs.
  15223. -# Also quote any args containing shell meta-characters.
  15224. -# Make two passes to allow for proper duplicate-argument suppression.
  15225. -ac_configure_args=
  15226. -ac_configure_args0=
  15227. -ac_configure_args1=
  15228. -ac_must_keep_next=false
  15229. -for ac_pass in 1 2
  15230. -do
  15231. - for ac_arg
  15232. - do
  15233. - case $ac_arg in
  15234. - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  15235. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  15236. - | -silent | --silent | --silen | --sile | --sil)
  15237. - continue ;;
  15238. - *\'*)
  15239. - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15240. - esac
  15241. - case $ac_pass in
  15242. - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  15243. - 2)
  15244. - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  15245. - if test $ac_must_keep_next = true; then
  15246. - ac_must_keep_next=false # Got value, back to normal.
  15247. - else
  15248. - case $ac_arg in
  15249. - *=* | --config-cache | -C | -disable-* | --disable-* \
  15250. - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  15251. - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  15252. - | -with-* | --with-* | -without-* | --without-* | --x)
  15253. - case "$ac_configure_args0 " in
  15254. - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  15255. - esac
  15256. - ;;
  15257. - -* ) ac_must_keep_next=true ;;
  15258. - esac
  15259. - fi
  15260. - ac_configure_args="$ac_configure_args '$ac_arg'"
  15261. - ;;
  15262. - esac
  15263. - done
  15264. -done
  15265. -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  15266. -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  15267. -
  15268. -# When interrupted or exit'd, cleanup temporary files, and complete
  15269. -# config.log. We remove comments because anyway the quotes in there
  15270. -# would cause problems or look ugly.
  15271. -# WARNING: Use '\'' to represent an apostrophe within the trap.
  15272. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  15273. -trap 'exit_status=$?
  15274. - # Save into config.log some information that might help in debugging.
  15275. - {
  15276. - echo
  15277. +# ac_fn_c_try_cpp LINENO
  15278. +# ----------------------
  15279. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  15280. +ac_fn_c_try_cpp ()
  15281. +{
  15282. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15283. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  15284. +case "(($ac_try" in
  15285. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15286. + *) ac_try_echo=$ac_try;;
  15287. +esac
  15288. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  15289. +$as_echo "$ac_try_echo"; } >&5
  15290. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  15291. + ac_status=$?
  15292. + if test -s conftest.err; then
  15293. + grep -v '^ *+' conftest.err >conftest.er1
  15294. + cat conftest.er1 >&5
  15295. + mv -f conftest.er1 conftest.err
  15296. + fi
  15297. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15298. + test $ac_status = 0; } >/dev/null && {
  15299. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15300. + test ! -s conftest.err
  15301. + }; then :
  15302. + ac_retval=0
  15303. +else
  15304. + $as_echo "$as_me: failed program was:" >&5
  15305. +sed 's/^/| /' conftest.$ac_ext >&5
  15306. - cat <<\_ASBOX
  15307. -## ---------------- ##
  15308. -## Cache variables. ##
  15309. -## ---------------- ##
  15310. -_ASBOX
  15311. - echo
  15312. - # The following way of writing the cache mishandles newlines in values,
  15313. -(
  15314. - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  15315. - eval ac_val=\$$ac_var
  15316. - case $ac_val in #(
  15317. - *${as_nl}*)
  15318. - case $ac_var in #(
  15319. - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  15320. -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  15321. - esac
  15322. - case $ac_var in #(
  15323. - _ | IFS | as_nl) ;; #(
  15324. - *) $as_unset $ac_var ;;
  15325. - esac ;;
  15326. - esac
  15327. - done
  15328. - (set) 2>&1 |
  15329. - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  15330. - *${as_nl}ac_space=\ *)
  15331. - sed -n \
  15332. - "s/'\''/'\''\\\\'\'''\''/g;
  15333. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  15334. - ;; #(
  15335. - *)
  15336. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  15337. - ;;
  15338. - esac |
  15339. - sort
  15340. -)
  15341. - echo
  15342. + ac_retval=1
  15343. +fi
  15344. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15345. + as_fn_set_status $ac_retval
  15346. - cat <<\_ASBOX
  15347. -## ----------------- ##
  15348. -## Output variables. ##
  15349. -## ----------------- ##
  15350. -_ASBOX
  15351. - echo
  15352. - for ac_var in $ac_subst_vars
  15353. - do
  15354. - eval ac_val=\$$ac_var
  15355. - case $ac_val in
  15356. - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  15357. - esac
  15358. - echo "$ac_var='\''$ac_val'\''"
  15359. - done | sort
  15360. - echo
  15361. +} # ac_fn_c_try_cpp
  15362. - if test -n "$ac_subst_files"; then
  15363. - cat <<\_ASBOX
  15364. -## ------------------- ##
  15365. -## File substitutions. ##
  15366. -## ------------------- ##
  15367. -_ASBOX
  15368. - echo
  15369. - for ac_var in $ac_subst_files
  15370. - do
  15371. - eval ac_val=\$$ac_var
  15372. - case $ac_val in
  15373. - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  15374. - esac
  15375. - echo "$ac_var='\''$ac_val'\''"
  15376. - done | sort
  15377. - echo
  15378. - fi
  15379. +# ac_fn_c_try_run LINENO
  15380. +# ----------------------
  15381. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  15382. +# that executables *can* be run.
  15383. +ac_fn_c_try_run ()
  15384. +{
  15385. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15386. + if { { ac_try="$ac_link"
  15387. +case "(($ac_try" in
  15388. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15389. + *) ac_try_echo=$ac_try;;
  15390. +esac
  15391. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  15392. +$as_echo "$ac_try_echo"; } >&5
  15393. + (eval "$ac_link") 2>&5
  15394. + ac_status=$?
  15395. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15396. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  15397. + { { case "(($ac_try" in
  15398. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15399. + *) ac_try_echo=$ac_try;;
  15400. +esac
  15401. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  15402. +$as_echo "$ac_try_echo"; } >&5
  15403. + (eval "$ac_try") 2>&5
  15404. + ac_status=$?
  15405. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15406. + test $ac_status = 0; }; }; then :
  15407. + ac_retval=0
  15408. +else
  15409. + $as_echo "$as_me: program exited with status $ac_status" >&5
  15410. + $as_echo "$as_me: failed program was:" >&5
  15411. +sed 's/^/| /' conftest.$ac_ext >&5
  15412. - if test -s confdefs.h; then
  15413. - cat <<\_ASBOX
  15414. -## ----------- ##
  15415. -## confdefs.h. ##
  15416. -## ----------- ##
  15417. -_ASBOX
  15418. - echo
  15419. - cat confdefs.h
  15420. - echo
  15421. - fi
  15422. - test "$ac_signal" != 0 &&
  15423. - echo "$as_me: caught signal $ac_signal"
  15424. - echo "$as_me: exit $exit_status"
  15425. - } >&5
  15426. - rm -f core *.core core.conftest.* &&
  15427. - rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  15428. - exit $exit_status
  15429. -' 0
  15430. -for ac_signal in 1 2 13 15; do
  15431. - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  15432. -done
  15433. -ac_signal=0
  15434. + ac_retval=$ac_status
  15435. +fi
  15436. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  15437. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15438. + as_fn_set_status $ac_retval
  15439. -# confdefs.h avoids OS command line length limits that DEFS can exceed.
  15440. -rm -f -r conftest* confdefs.h
  15441. +} # ac_fn_c_try_run
  15442. -# Predefined preprocessor variables.
  15443. +# ac_fn_c_check_func LINENO FUNC VAR
  15444. +# ----------------------------------
  15445. +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  15446. +ac_fn_c_check_func ()
  15447. +{
  15448. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15449. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  15450. +$as_echo_n "checking for $2... " >&6; }
  15451. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  15452. + $as_echo_n "(cached) " >&6
  15453. +else
  15454. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15455. +/* end confdefs.h. */
  15456. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  15457. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15458. +#define $2 innocuous_$2
  15459. -cat >>confdefs.h <<_ACEOF
  15460. -#define PACKAGE_NAME "$PACKAGE_NAME"
  15461. -_ACEOF
  15462. +/* System header to define __stub macros and hopefully few prototypes,
  15463. + which can conflict with char $2 (); below.
  15464. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15465. + <limits.h> exists even on freestanding compilers. */
  15466. +#ifdef __STDC__
  15467. +# include <limits.h>
  15468. +#else
  15469. +# include <assert.h>
  15470. +#endif
  15471. -cat >>confdefs.h <<_ACEOF
  15472. -#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  15473. -_ACEOF
  15474. +#undef $2
  15475. +/* Override any GCC internal prototype to avoid an error.
  15476. + Use char because int might match the return type of a GCC
  15477. + builtin and then its argument prototype would still apply. */
  15478. +#ifdef __cplusplus
  15479. +extern "C"
  15480. +#endif
  15481. +char $2 ();
  15482. +/* The GNU C library defines this for functions which it implements
  15483. + to always fail with ENOSYS. Some functions are actually named
  15484. + something starting with __ and the normal name is an alias. */
  15485. +#if defined __stub_$2 || defined __stub___$2
  15486. +choke me
  15487. +#endif
  15488. -cat >>confdefs.h <<_ACEOF
  15489. -#define PACKAGE_VERSION "$PACKAGE_VERSION"
  15490. +int
  15491. +main ()
  15492. +{
  15493. +return $2 ();
  15494. + ;
  15495. + return 0;
  15496. +}
  15497. _ACEOF
  15498. +if ac_fn_c_try_link "$LINENO"; then :
  15499. + eval "$3=yes"
  15500. +else
  15501. + eval "$3=no"
  15502. +fi
  15503. +rm -f core conftest.err conftest.$ac_objext \
  15504. + conftest$ac_exeext conftest.$ac_ext
  15505. +fi
  15506. +eval ac_res=\$$3
  15507. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  15508. +$as_echo "$ac_res" >&6; }
  15509. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15510. +} # ac_fn_c_check_func
  15511. -cat >>confdefs.h <<_ACEOF
  15512. -#define PACKAGE_STRING "$PACKAGE_STRING"
  15513. +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  15514. +# -------------------------------------------------------
  15515. +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  15516. +# the include files in INCLUDES and setting the cache variable VAR
  15517. +# accordingly.
  15518. +ac_fn_c_check_header_mongrel ()
  15519. +{
  15520. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15521. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  15522. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  15523. +$as_echo_n "checking for $2... " >&6; }
  15524. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  15525. + $as_echo_n "(cached) " >&6
  15526. +fi
  15527. +eval ac_res=\$$3
  15528. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  15529. +$as_echo "$ac_res" >&6; }
  15530. +else
  15531. + # Is the header compilable?
  15532. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  15533. +$as_echo_n "checking $2 usability... " >&6; }
  15534. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15535. +/* end confdefs.h. */
  15536. +$4
  15537. +#include <$2>
  15538. _ACEOF
  15539. +if ac_fn_c_try_compile "$LINENO"; then :
  15540. + ac_header_compiler=yes
  15541. +else
  15542. + ac_header_compiler=no
  15543. +fi
  15544. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  15546. +$as_echo "$ac_header_compiler" >&6; }
  15547. -
  15548. -cat >>confdefs.h <<_ACEOF
  15549. -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  15550. +# Is the header present?
  15551. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  15552. +$as_echo_n "checking $2 presence... " >&6; }
  15553. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15554. +/* end confdefs.h. */
  15555. +#include <$2>
  15556. _ACEOF
  15557. -
  15558. -
  15559. -# Let the site file select an alternate cache file if it wants to.
  15560. -# Prefer explicitly selected file to automatically selected ones.
  15561. -if test -n "$CONFIG_SITE"; then
  15562. - set x "$CONFIG_SITE"
  15563. -elif test "x$prefix" != xNONE; then
  15564. - set x "$prefix/share/config.site" "$prefix/etc/config.site"
  15565. +if ac_fn_c_try_cpp "$LINENO"; then :
  15566. + ac_header_preproc=yes
  15567. else
  15568. - set x "$ac_default_prefix/share/config.site" \
  15569. - "$ac_default_prefix/etc/config.site"
  15570. + ac_header_preproc=no
  15571. fi
  15572. -shift
  15573. -for ac_site_file
  15574. -do
  15575. - if test -r "$ac_site_file"; then
  15576. - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  15577. -echo "$as_me: loading site script $ac_site_file" >&6;}
  15578. - sed 's/^/| /' "$ac_site_file" >&5
  15579. - . "$ac_site_file"
  15580. - fi
  15581. -done
  15582. +rm -f conftest.err conftest.$ac_ext
  15583. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  15584. +$as_echo "$ac_header_preproc" >&6; }
  15585. -if test -r "$cache_file"; then
  15586. - # Some versions of bash will fail to source /dev/null (special
  15587. - # files actually), so we avoid doing that.
  15588. - if test -f "$cache_file"; then
  15589. - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  15590. -echo "$as_me: loading cache $cache_file" >&6;}
  15591. - case $cache_file in
  15592. - [\\/]* | ?:[\\/]* ) . "$cache_file";;
  15593. - *) . "./$cache_file";;
  15594. - esac
  15595. - fi
  15596. +# So? What about this header?
  15597. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  15598. + yes:no: )
  15599. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  15600. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15601. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  15602. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  15603. + ;;
  15604. + no:yes:* )
  15605. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  15606. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  15607. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  15608. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  15609. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  15610. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  15611. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  15612. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  15613. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  15614. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  15615. + ;;
  15616. +esac
  15617. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  15618. +$as_echo_n "checking for $2... " >&6; }
  15619. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  15620. + $as_echo_n "(cached) " >&6
  15621. +else
  15622. + eval "$3=\$ac_header_compiler"
  15623. +fi
  15624. +eval ac_res=\$$3
  15625. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  15626. +$as_echo "$ac_res" >&6; }
  15627. +fi
  15628. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15629. +
  15630. +} # ac_fn_c_check_header_mongrel
  15631. +
  15632. +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  15633. +# --------------------------------------------
  15634. +# Tries to find the compile-time value of EXPR in a program that includes
  15635. +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  15636. +# computed
  15637. +ac_fn_c_compute_int ()
  15638. +{
  15639. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  15640. + if test "$cross_compiling" = yes; then
  15641. + # Depending upon the size, compute the lo and hi bounds.
  15642. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15643. +/* end confdefs.h. */
  15644. +$4
  15645. +int
  15646. +main ()
  15647. +{
  15648. +static int test_array [1 - 2 * !(($2) >= 0)];
  15649. +test_array [0] = 0
  15650. +
  15651. + ;
  15652. + return 0;
  15653. +}
  15654. +_ACEOF
  15655. +if ac_fn_c_try_compile "$LINENO"; then :
  15656. + ac_lo=0 ac_mid=0
  15657. + while :; do
  15658. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15659. +/* end confdefs.h. */
  15660. +$4
  15661. +int
  15662. +main ()
  15663. +{
  15664. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  15665. +test_array [0] = 0
  15666. +
  15667. + ;
  15668. + return 0;
  15669. +}
  15670. +_ACEOF
  15671. +if ac_fn_c_try_compile "$LINENO"; then :
  15672. + ac_hi=$ac_mid; break
  15673. else
  15674. - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  15675. -echo "$as_me: creating cache $cache_file" >&6;}
  15676. - >$cache_file
  15677. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  15678. + if test $ac_lo -le $ac_mid; then
  15679. + ac_lo= ac_hi=
  15680. + break
  15681. + fi
  15682. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  15683. fi
  15684. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15685. + done
  15686. +else
  15687. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15688. +/* end confdefs.h. */
  15689. +$4
  15690. +int
  15691. +main ()
  15692. +{
  15693. +static int test_array [1 - 2 * !(($2) < 0)];
  15694. +test_array [0] = 0
  15695. -# Check that the precious variables saved in the cache have kept the same
  15696. -# value.
  15697. -ac_cache_corrupted=false
  15698. -for ac_var in $ac_precious_vars; do
  15699. - eval ac_old_set=\$ac_cv_env_${ac_var}_set
  15700. - eval ac_new_set=\$ac_env_${ac_var}_set
  15701. - eval ac_old_val=\$ac_cv_env_${ac_var}_value
  15702. - eval ac_new_val=\$ac_env_${ac_var}_value
  15703. - case $ac_old_set,$ac_new_set in
  15704. - set,)
  15705. - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  15706. -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  15707. - ac_cache_corrupted=: ;;
  15708. - ,set)
  15709. - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  15710. -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  15711. - ac_cache_corrupted=: ;;
  15712. - ,);;
  15713. - *)
  15714. - if test "x$ac_old_val" != "x$ac_new_val"; then
  15715. - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  15716. -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  15717. - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  15718. -echo "$as_me: former value: $ac_old_val" >&2;}
  15719. - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  15720. -echo "$as_me: current value: $ac_new_val" >&2;}
  15721. - ac_cache_corrupted=:
  15722. - fi;;
  15723. - esac
  15724. - # Pass precious variables to config.status.
  15725. - if test "$ac_new_set" = set; then
  15726. - case $ac_new_val in
  15727. - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  15728. - *) ac_arg=$ac_var=$ac_new_val ;;
  15729. - esac
  15730. - case " $ac_configure_args " in
  15731. - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  15732. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  15733. - esac
  15734. - fi
  15735. -done
  15736. -if $ac_cache_corrupted; then
  15737. - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  15738. -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  15739. - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  15740. -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  15741. - { (exit 1); exit 1; }; }
  15742. -fi
  15743. + ;
  15744. + return 0;
  15745. +}
  15746. +_ACEOF
  15747. +if ac_fn_c_try_compile "$LINENO"; then :
  15748. + ac_hi=-1 ac_mid=-1
  15749. + while :; do
  15750. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15751. +/* end confdefs.h. */
  15752. +$4
  15753. +int
  15754. +main ()
  15755. +{
  15756. +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  15757. +test_array [0] = 0
  15758. + ;
  15759. + return 0;
  15760. +}
  15761. +_ACEOF
  15762. +if ac_fn_c_try_compile "$LINENO"; then :
  15763. + ac_lo=$ac_mid; break
  15764. +else
  15765. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  15766. + if test $ac_mid -le $ac_hi; then
  15767. + ac_lo= ac_hi=
  15768. + break
  15769. + fi
  15770. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  15771. +fi
  15772. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15773. + done
  15774. +else
  15775. + ac_lo= ac_hi=
  15776. +fi
  15777. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15778. +fi
  15779. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15780. +# Binary search between lo and hi bounds.
  15781. +while test "x$ac_lo" != "x$ac_hi"; do
  15782. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  15783. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15784. +/* end confdefs.h. */
  15785. +$4
  15786. +int
  15787. +main ()
  15788. +{
  15789. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  15790. +test_array [0] = 0
  15791. + ;
  15792. + return 0;
  15793. +}
  15794. +_ACEOF
  15795. +if ac_fn_c_try_compile "$LINENO"; then :
  15796. + ac_hi=$ac_mid
  15797. +else
  15798. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  15799. +fi
  15800. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15801. +done
  15802. +case $ac_lo in #((
  15803. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  15804. +'') ac_retval=1 ;;
  15805. +esac
  15806. + else
  15807. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15808. +/* end confdefs.h. */
  15809. +$4
  15810. +static long int longval () { return $2; }
  15811. +static unsigned long int ulongval () { return $2; }
  15812. +#include <stdio.h>
  15813. +#include <stdlib.h>
  15814. +int
  15815. +main ()
  15816. +{
  15817. + FILE *f = fopen ("conftest.val", "w");
  15818. + if (! f)
  15819. + return 1;
  15820. + if (($2) < 0)
  15821. + {
  15822. + long int i = longval ();
  15823. + if (i != ($2))
  15824. + return 1;
  15825. + fprintf (f, "%ld", i);
  15826. + }
  15827. + else
  15828. + {
  15829. + unsigned long int i = ulongval ();
  15830. + if (i != ($2))
  15831. + return 1;
  15832. + fprintf (f, "%lu", i);
  15833. + }
  15834. + /* Do not output a trailing newline, as this causes \r\n confusion
  15835. + on some platforms. */
  15836. + return ferror (f) || fclose (f) != 0;
  15837. + ;
  15838. + return 0;
  15839. +}
  15840. +_ACEOF
  15841. +if ac_fn_c_try_run "$LINENO"; then :
  15842. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  15843. +else
  15844. + ac_retval=1
  15845. +fi
  15846. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15847. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  15848. +rm -f conftest.val
  15849. + fi
  15850. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  15851. + as_fn_set_status $ac_retval
  15852. +} # ac_fn_c_compute_int
  15853. +cat >config.log <<_ACEOF
  15854. +This file contains any messages produced by compilers while
  15855. +running configure, to aid debugging if configure makes a mistake.
  15856. +It was created by $as_me, which was
  15857. +generated by GNU Autoconf 2.65. Invocation command line was
  15858. + $ $0 $@
  15859. +_ACEOF
  15860. +exec 5>>config.log
  15861. +{
  15862. +cat <<_ASUNAME
  15863. +## --------- ##
  15864. +## Platform. ##
  15865. +## --------- ##
  15866. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  15867. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  15868. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  15869. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  15870. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  15871. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  15872. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  15873. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  15874. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  15875. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  15876. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  15877. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  15878. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  15879. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  15880. +_ASUNAME
  15881. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15882. +for as_dir in $PATH
  15883. +do
  15884. + IFS=$as_save_IFS
  15885. + test -z "$as_dir" && as_dir=.
  15886. + $as_echo "PATH: $as_dir"
  15887. + done
  15888. +IFS=$as_save_IFS
  15889. +} >&5
  15890. +cat >&5 <<_ACEOF
  15891. -ac_ext=c
  15892. -ac_cpp='$CPP $CPPFLAGS'
  15893. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15894. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15895. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15896. +## ----------- ##
  15897. +## Core tests. ##
  15898. +## ----------- ##
  15899. +_ACEOF
  15900. -ac_config_headers="$ac_config_headers config.h"
  15901. +# Keep a trace of the command line.
  15902. +# Strip out --no-create and --no-recursion so they do not pile up.
  15903. +# Strip out --silent because we don't want to record it for future runs.
  15904. +# Also quote any args containing shell meta-characters.
  15905. +# Make two passes to allow for proper duplicate-argument suppression.
  15906. +ac_configure_args=
  15907. +ac_configure_args0=
  15908. +ac_configure_args1=
  15909. +ac_must_keep_next=false
  15910. +for ac_pass in 1 2
  15911. +do
  15912. + for ac_arg
  15913. + do
  15914. + case $ac_arg in
  15915. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  15916. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  15917. + | -silent | --silent | --silen | --sile | --sil)
  15918. + continue ;;
  15919. + *\'*)
  15920. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  15921. + esac
  15922. + case $ac_pass in
  15923. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  15924. + 2)
  15925. + as_fn_append ac_configure_args1 " '$ac_arg'"
  15926. + if test $ac_must_keep_next = true; then
  15927. + ac_must_keep_next=false # Got value, back to normal.
  15928. + else
  15929. + case $ac_arg in
  15930. + *=* | --config-cache | -C | -disable-* | --disable-* \
  15931. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  15932. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  15933. + | -with-* | --with-* | -without-* | --without-* | --x)
  15934. + case "$ac_configure_args0 " in
  15935. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  15936. + esac
  15937. + ;;
  15938. + -* ) ac_must_keep_next=true ;;
  15939. + esac
  15940. + fi
  15941. + as_fn_append ac_configure_args " '$ac_arg'"
  15942. + ;;
  15943. + esac
  15944. + done
  15945. +done
  15946. +{ ac_configure_args0=; unset ac_configure_args0;}
  15947. +{ ac_configure_args1=; unset ac_configure_args1;}
  15948. -SPEEX_MAJOR_VERSION=1
  15949. -SPEEX_MINOR_VERSION=1
  15950. -SPEEX_MICRO_VERSION=16
  15951. -SPEEX_EXTRA_VERSION=
  15952. -#SPEEX_VERSION=
  15953. -#SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION$SPEEX_EXTRA_VERSION
  15954. -SPEEX_VERSION="1.2rc1"
  15955. +# When interrupted or exit'd, cleanup temporary files, and complete
  15956. +# config.log. We remove comments because anyway the quotes in there
  15957. +# would cause problems or look ugly.
  15958. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  15959. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  15960. +trap 'exit_status=$?
  15961. + # Save into config.log some information that might help in debugging.
  15962. + {
  15963. + echo
  15964. +
  15965. + cat <<\_ASBOX
  15966. +## ---------------- ##
  15967. +## Cache variables. ##
  15968. +## ---------------- ##
  15969. +_ASBOX
  15970. + echo
  15971. + # The following way of writing the cache mishandles newlines in values,
  15972. +(
  15973. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  15974. + eval ac_val=\$$ac_var
  15975. + case $ac_val in #(
  15976. + *${as_nl}*)
  15977. + case $ac_var in #(
  15978. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  15979. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  15980. + esac
  15981. + case $ac_var in #(
  15982. + _ | IFS | as_nl) ;; #(
  15983. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  15984. + *) { eval $ac_var=; unset $ac_var;} ;;
  15985. + esac ;;
  15986. + esac
  15987. + done
  15988. + (set) 2>&1 |
  15989. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  15990. + *${as_nl}ac_space=\ *)
  15991. + sed -n \
  15992. + "s/'\''/'\''\\\\'\'''\''/g;
  15993. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  15994. + ;; #(
  15995. + *)
  15996. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  15997. + ;;
  15998. + esac |
  15999. + sort
  16000. +)
  16001. + echo
  16002. +
  16003. + cat <<\_ASBOX
  16004. +## ----------------- ##
  16005. +## Output variables. ##
  16006. +## ----------------- ##
  16007. +_ASBOX
  16008. + echo
  16009. + for ac_var in $ac_subst_vars
  16010. + do
  16011. + eval ac_val=\$$ac_var
  16012. + case $ac_val in
  16013. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  16014. + esac
  16015. + $as_echo "$ac_var='\''$ac_val'\''"
  16016. + done | sort
  16017. + echo
  16018. +
  16019. + if test -n "$ac_subst_files"; then
  16020. + cat <<\_ASBOX
  16021. +## ------------------- ##
  16022. +## File substitutions. ##
  16023. +## ------------------- ##
  16024. +_ASBOX
  16025. + echo
  16026. + for ac_var in $ac_subst_files
  16027. + do
  16028. + eval ac_val=\$$ac_var
  16029. + case $ac_val in
  16030. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  16031. + esac
  16032. + $as_echo "$ac_var='\''$ac_val'\''"
  16033. + done | sort
  16034. + echo
  16035. + fi
  16036. +
  16037. + if test -s confdefs.h; then
  16038. + cat <<\_ASBOX
  16039. +## ----------- ##
  16040. +## confdefs.h. ##
  16041. +## ----------- ##
  16042. +_ASBOX
  16043. + echo
  16044. + cat confdefs.h
  16045. + echo
  16046. + fi
  16047. + test "$ac_signal" != 0 &&
  16048. + $as_echo "$as_me: caught signal $ac_signal"
  16049. + $as_echo "$as_me: exit $exit_status"
  16050. + } >&5
  16051. + rm -f core *.core core.conftest.* &&
  16052. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  16053. + exit $exit_status
  16054. +' 0
  16055. +for ac_signal in 1 2 13 15; do
  16056. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  16057. +done
  16058. +ac_signal=0
  16059. +
  16060. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  16061. +rm -f -r conftest* confdefs.h
  16062. +
  16063. +$as_echo "/* confdefs.h */" > confdefs.h
  16064. +
  16065. +# Predefined preprocessor variables.
  16066. +
  16067. +cat >>confdefs.h <<_ACEOF
  16068. +#define PACKAGE_NAME "$PACKAGE_NAME"
  16069. +_ACEOF
  16070. +
  16071. +cat >>confdefs.h <<_ACEOF
  16072. +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  16073. +_ACEOF
  16074. +
  16075. +cat >>confdefs.h <<_ACEOF
  16076. +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  16077. +_ACEOF
  16078. +
  16079. +cat >>confdefs.h <<_ACEOF
  16080. +#define PACKAGE_STRING "$PACKAGE_STRING"
  16081. +_ACEOF
  16082. +
  16083. +cat >>confdefs.h <<_ACEOF
  16084. +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  16085. +_ACEOF
  16086. +
  16087. +cat >>confdefs.h <<_ACEOF
  16088. +#define PACKAGE_URL "$PACKAGE_URL"
  16089. +_ACEOF
  16090. +
  16091. +
  16092. +# Let the site file select an alternate cache file if it wants to.
  16093. +# Prefer an explicitly selected file to automatically selected ones.
  16094. +ac_site_file1=NONE
  16095. +ac_site_file2=NONE
  16096. +if test -n "$CONFIG_SITE"; then
  16097. + ac_site_file1=$CONFIG_SITE
  16098. +elif test "x$prefix" != xNONE; then
  16099. + ac_site_file1=$prefix/share/config.site
  16100. + ac_site_file2=$prefix/etc/config.site
  16101. +else
  16102. + ac_site_file1=$ac_default_prefix/share/config.site
  16103. + ac_site_file2=$ac_default_prefix/etc/config.site
  16104. +fi
  16105. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  16106. +do
  16107. + test "x$ac_site_file" = xNONE && continue
  16108. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  16109. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  16110. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  16111. + sed 's/^/| /' "$ac_site_file" >&5
  16112. + . "$ac_site_file"
  16113. + fi
  16114. +done
  16115. +
  16116. +if test -r "$cache_file"; then
  16117. + # Some versions of bash will fail to source /dev/null (special files
  16118. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  16119. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  16120. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  16121. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  16122. + case $cache_file in
  16123. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  16124. + *) . "./$cache_file";;
  16125. + esac
  16126. + fi
  16127. +else
  16128. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  16129. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  16130. + >$cache_file
  16131. +fi
  16132. +
  16133. +# Check that the precious variables saved in the cache have kept the same
  16134. +# value.
  16135. +ac_cache_corrupted=false
  16136. +for ac_var in $ac_precious_vars; do
  16137. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  16138. + eval ac_new_set=\$ac_env_${ac_var}_set
  16139. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  16140. + eval ac_new_val=\$ac_env_${ac_var}_value
  16141. + case $ac_old_set,$ac_new_set in
  16142. + set,)
  16143. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  16144. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  16145. + ac_cache_corrupted=: ;;
  16146. + ,set)
  16147. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  16148. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  16149. + ac_cache_corrupted=: ;;
  16150. + ,);;
  16151. + *)
  16152. + if test "x$ac_old_val" != "x$ac_new_val"; then
  16153. + # differences in whitespace do not lead to failure.
  16154. + ac_old_val_w=`echo x $ac_old_val`
  16155. + ac_new_val_w=`echo x $ac_new_val`
  16156. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  16157. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  16158. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  16159. + ac_cache_corrupted=:
  16160. + else
  16161. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  16162. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  16163. + eval $ac_var=\$ac_old_val
  16164. + fi
  16165. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  16166. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  16167. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  16168. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  16169. + fi;;
  16170. + esac
  16171. + # Pass precious variables to config.status.
  16172. + if test "$ac_new_set" = set; then
  16173. + case $ac_new_val in
  16174. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  16175. + *) ac_arg=$ac_var=$ac_new_val ;;
  16176. + esac
  16177. + case " $ac_configure_args " in
  16178. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  16179. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  16180. + esac
  16181. + fi
  16182. +done
  16183. +if $ac_cache_corrupted; then
  16184. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16185. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16186. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  16187. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  16188. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  16189. +fi
  16190. +## -------------------- ##
  16191. +## Main body of script. ##
  16192. +## -------------------- ##
  16193. +
  16194. +ac_ext=c
  16195. +ac_cpp='$CPP $CPPFLAGS'
  16196. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16197. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16198. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16199. +
  16200. +
  16201. +
  16202. +ac_config_headers="$ac_config_headers config.h"
  16203. +
  16204. +
  16205. +SPEEX_MAJOR_VERSION=1
  16206. +SPEEX_MINOR_VERSION=1
  16207. +SPEEX_MICRO_VERSION=16
  16208. +SPEEX_EXTRA_VERSION=
  16209. +#SPEEX_VERSION=
  16210. +#SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION$SPEEX_EXTRA_VERSION
  16211. +SPEEX_VERSION="1.2rc1"
  16212. SPEEX_LT_CURRENT=6
  16213. SPEEX_LT_REVISION=0
  16214. @@ -1991,27 +2557,20 @@
  16215. -am__api_version="1.8"
  16216. +am__api_version='1.11'
  16217. +
  16218. ac_aux_dir=
  16219. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  16220. - if test -f "$ac_dir/install-sh"; then
  16221. - ac_aux_dir=$ac_dir
  16222. - ac_install_sh="$ac_aux_dir/install-sh -c"
  16223. - break
  16224. - elif test -f "$ac_dir/install.sh"; then
  16225. - ac_aux_dir=$ac_dir
  16226. - ac_install_sh="$ac_aux_dir/install.sh -c"
  16227. - break
  16228. - elif test -f "$ac_dir/shtool"; then
  16229. - ac_aux_dir=$ac_dir
  16230. - ac_install_sh="$ac_aux_dir/shtool install -c"
  16231. - break
  16232. - fi
  16233. + for ac_t in install-sh install.sh shtool; do
  16234. + if test -f "$ac_dir/$ac_t"; then
  16235. + ac_aux_dir=$ac_dir
  16236. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  16237. + break 2
  16238. + fi
  16239. + done
  16240. done
  16241. if test -z "$ac_aux_dir"; then
  16242. - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  16243. -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  16244. - { (exit 1); exit 1; }; }
  16245. + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  16246. fi
  16247. # These three variables are undocumented and unsupported,
  16248. @@ -2036,22 +2595,23 @@
  16249. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  16250. # OS/2's system install, which has a completely different semantic
  16251. # ./install, which can be erroneously created by make from ./install.sh.
  16252. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  16253. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  16254. +# Reject install programs that cannot install multiple files.
  16255. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  16256. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  16257. if test -z "$INSTALL"; then
  16258. -if test "${ac_cv_path_install+set}" = set; then
  16259. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16260. +if test "${ac_cv_path_install+set}" = set; then :
  16261. + $as_echo_n "(cached) " >&6
  16262. else
  16263. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16264. for as_dir in $PATH
  16265. do
  16266. IFS=$as_save_IFS
  16267. test -z "$as_dir" && as_dir=.
  16268. - # Account for people who put trailing slashes in PATH elements.
  16269. -case $as_dir/ in
  16270. - ./ | .// | /cC/* | \
  16271. + # Account for people who put trailing slashes in PATH elements.
  16272. +case $as_dir/ in #((
  16273. + ./ | .// | /[cC]/* | \
  16274. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  16275. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  16276. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  16277. /usr/ucb/* ) ;;
  16278. *)
  16279. # OSF1 and SCO ODT 3.0 have their own names for install.
  16280. @@ -2069,17 +2629,29 @@
  16281. # program-specific install script used by HP pwplus--don't use.
  16282. :
  16283. else
  16284. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  16285. - break 3
  16286. + rm -rf conftest.one conftest.two conftest.dir
  16287. + echo one > conftest.one
  16288. + echo two > conftest.two
  16289. + mkdir conftest.dir
  16290. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  16291. + test -s conftest.one && test -s conftest.two &&
  16292. + test -s conftest.dir/conftest.one &&
  16293. + test -s conftest.dir/conftest.two
  16294. + then
  16295. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  16296. + break 3
  16297. + fi
  16298. fi
  16299. fi
  16300. done
  16301. done
  16302. ;;
  16303. esac
  16304. -done
  16305. +
  16306. + done
  16307. IFS=$as_save_IFS
  16308. +rm -rf conftest.one conftest.two conftest.dir
  16309. fi
  16310. if test "${ac_cv_path_install+set}" = set; then
  16311. @@ -2092,8 +2664,8 @@
  16312. INSTALL=$ac_install_sh
  16313. fi
  16314. fi
  16315. -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  16316. -echo "${ECHO_T}$INSTALL" >&6; }
  16317. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  16318. +$as_echo "$INSTALL" >&6; }
  16319. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  16320. # It thinks the first close brace ends the variable substitution.
  16321. @@ -2103,21 +2675,34 @@
  16322. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  16323. -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  16324. -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  16325. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  16326. +$as_echo_n "checking whether build environment is sane... " >&6; }
  16327. # Just in case
  16328. sleep 1
  16329. echo timestamp > conftest.file
  16330. +# Reject unsafe characters in $srcdir or the absolute working directory
  16331. +# name. Accept space and tab only in the latter.
  16332. +am_lf='
  16333. +'
  16334. +case `pwd` in
  16335. + *[\\\"\#\$\&\'\`$am_lf]*)
  16336. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  16337. +esac
  16338. +case $srcdir in
  16339. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  16340. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  16341. +esac
  16342. +
  16343. # Do `set' in a subshell so we don't clobber the current shell's
  16344. # arguments. Must try -L first in case configure is actually a
  16345. # symlink; some systems play weird games with the mod time of symlinks
  16346. # (eg FreeBSD returns the mod time of the symlink's containing
  16347. # directory).
  16348. if (
  16349. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  16350. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  16351. if test "$*" = "X"; then
  16352. # -L didn't work.
  16353. - set X `ls -t $srcdir/configure conftest.file`
  16354. + set X `ls -t "$srcdir/configure" conftest.file`
  16355. fi
  16356. rm -f conftest.file
  16357. if test "$*" != "X $srcdir/configure conftest.file" \
  16358. @@ -2127,11 +2712,8 @@
  16359. # if, for instance, CONFIG_SHELL is bash and it inherits a
  16360. # broken ls alias from the environment. This has actually
  16361. # happened. Such a system could not be considered "sane".
  16362. - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  16363. -alias in your environment" >&5
  16364. -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  16365. -alias in your environment" >&2;}
  16366. - { (exit 1); exit 1; }; }
  16367. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  16368. +alias in your environment" "$LINENO" 5
  16369. fi
  16370. test "$2" = conftest.file
  16371. @@ -2140,134 +2722,268 @@
  16372. # Ok.
  16373. :
  16374. else
  16375. - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  16376. -Check your system clock" >&5
  16377. -echo "$as_me: error: newly created file is older than distributed files!
  16378. -Check your system clock" >&2;}
  16379. - { (exit 1); exit 1; }; }
  16380. + as_fn_error "newly created file is older than distributed files!
  16381. +Check your system clock" "$LINENO" 5
  16382. fi
  16383. -{ echo "$as_me:$LINENO: result: yes" >&5
  16384. -echo "${ECHO_T}yes" >&6; }
  16385. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16386. +$as_echo "yes" >&6; }
  16387. test "$program_prefix" != NONE &&
  16388. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  16389. # Use a double $ so make ignores it.
  16390. test "$program_suffix" != NONE &&
  16391. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  16392. -# Double any \ or $. echo might interpret backslashes.
  16393. +# Double any \ or $.
  16394. # By default was `s,x,x', remove it if useless.
  16395. -cat <<\_ACEOF >conftest.sed
  16396. -s/[\\$]/&&/g;s/;s,x,x,$//
  16397. -_ACEOF
  16398. -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  16399. -rm -f conftest.sed
  16400. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  16401. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  16402. # expand $ac_aux_dir to an absolute path
  16403. am_aux_dir=`cd $ac_aux_dir && pwd`
  16404. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  16405. +if test x"${MISSING+set}" != xset; then
  16406. + case $am_aux_dir in
  16407. + *\ * | *\ *)
  16408. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  16409. + *)
  16410. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  16411. + esac
  16412. +fi
  16413. # Use eval to expand $SHELL
  16414. if eval "$MISSING --run true"; then
  16415. am_missing_run="$MISSING --run "
  16416. else
  16417. am_missing_run=
  16418. - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  16419. -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  16420. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  16421. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  16422. fi
  16423. -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  16424. - # Keeping the `.' argument allows $(mkdir_p) to be used without
  16425. - # argument. Indeed, we sometimes output rules like
  16426. - # $(mkdir_p) $(somedir)
  16427. - # where $(somedir) is conditionally defined.
  16428. - # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
  16429. - # expensive solution, as it forces Make to start a sub-shell.)
  16430. - mkdir_p='mkdir -p -- .'
  16431. -else
  16432. - # On NextStep and OpenStep, the `mkdir' command does not
  16433. - # recognize any option. It will interpret all options as
  16434. - # directories to create, and then abort because `.' already
  16435. - # exists.
  16436. - for d in ./-p ./--version;
  16437. - do
  16438. - test -d $d && rmdir $d
  16439. - done
  16440. - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  16441. - if test -f "$ac_aux_dir/mkinstalldirs"; then
  16442. - mkdir_p='$(mkinstalldirs)'
  16443. - else
  16444. - mkdir_p='$(install_sh) -d'
  16445. - fi
  16446. +if test x"${install_sh}" != xset; then
  16447. + case $am_aux_dir in
  16448. + *\ * | *\ *)
  16449. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  16450. + *)
  16451. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  16452. + esac
  16453. fi
  16454. -for ac_prog in gawk mawk nawk awk
  16455. -do
  16456. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  16457. -set dummy $ac_prog; ac_word=$2
  16458. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  16459. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  16460. -if test "${ac_cv_prog_AWK+set}" = set; then
  16461. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16462. +# Installed binaries are usually stripped using `strip' when the user
  16463. +# run `make install-strip'. However `strip' might not be the right
  16464. +# tool to use in cross-compilation environments, therefore Automake
  16465. +# will honor the `STRIP' environment variable to overrule this program.
  16466. +if test "$cross_compiling" != no; then
  16467. + if test -n "$ac_tool_prefix"; then
  16468. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  16469. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  16470. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16471. +$as_echo_n "checking for $ac_word... " >&6; }
  16472. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  16473. + $as_echo_n "(cached) " >&6
  16474. else
  16475. - if test -n "$AWK"; then
  16476. - ac_cv_prog_AWK="$AWK" # Let the user override the test.
  16477. + if test -n "$STRIP"; then
  16478. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  16479. else
  16480. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16481. for as_dir in $PATH
  16482. do
  16483. IFS=$as_save_IFS
  16484. test -z "$as_dir" && as_dir=.
  16485. - for ac_exec_ext in '' $ac_executable_extensions; do
  16486. + for ac_exec_ext in '' $ac_executable_extensions; do
  16487. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16488. - ac_cv_prog_AWK="$ac_prog"
  16489. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  16490. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  16491. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16492. break 2
  16493. fi
  16494. done
  16495. -done
  16496. + done
  16497. IFS=$as_save_IFS
  16498. fi
  16499. fi
  16500. -AWK=$ac_cv_prog_AWK
  16501. -if test -n "$AWK"; then
  16502. - { echo "$as_me:$LINENO: result: $AWK" >&5
  16503. -echo "${ECHO_T}$AWK" >&6; }
  16504. +STRIP=$ac_cv_prog_STRIP
  16505. +if test -n "$STRIP"; then
  16506. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  16507. +$as_echo "$STRIP" >&6; }
  16508. else
  16509. - { echo "$as_me:$LINENO: result: no" >&5
  16510. -echo "${ECHO_T}no" >&6; }
  16511. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16512. +$as_echo "no" >&6; }
  16513. fi
  16514. - test -n "$AWK" && break
  16515. -done
  16516. -
  16517. -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  16518. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  16519. -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  16520. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  16521. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16522. -else
  16523. - cat >conftest.make <<\_ACEOF
  16524. -SHELL = /bin/sh
  16525. -all:
  16526. - @echo '@@@%%%=$(MAKE)=@@@%%%'
  16527. -_ACEOF
  16528. -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  16529. -case `${MAKE-make} -f conftest.make 2>/dev/null` in
  16530. - *@@@%%%=?*=@@@%%%*)
  16531. - eval ac_cv_prog_make_${ac_make}_set=yes;;
  16532. - *)
  16533. - eval ac_cv_prog_make_${ac_make}_set=no;;
  16534. -esac
  16535. -rm -f conftest.make
  16536. fi
  16537. -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  16538. - { echo "$as_me:$LINENO: result: yes" >&5
  16539. -echo "${ECHO_T}yes" >&6; }
  16540. - SET_MAKE=
  16541. +if test -z "$ac_cv_prog_STRIP"; then
  16542. + ac_ct_STRIP=$STRIP
  16543. + # Extract the first word of "strip", so it can be a program name with args.
  16544. +set dummy strip; ac_word=$2
  16545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16546. +$as_echo_n "checking for $ac_word... " >&6; }
  16547. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  16548. + $as_echo_n "(cached) " >&6
  16549. +else
  16550. + if test -n "$ac_ct_STRIP"; then
  16551. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  16552. +else
  16553. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16554. +for as_dir in $PATH
  16555. +do
  16556. + IFS=$as_save_IFS
  16557. + test -z "$as_dir" && as_dir=.
  16558. + for ac_exec_ext in '' $ac_executable_extensions; do
  16559. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16560. + ac_cv_prog_ac_ct_STRIP="strip"
  16561. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16562. + break 2
  16563. + fi
  16564. +done
  16565. + done
  16566. +IFS=$as_save_IFS
  16567. +
  16568. +fi
  16569. +fi
  16570. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  16571. +if test -n "$ac_ct_STRIP"; then
  16572. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  16573. +$as_echo "$ac_ct_STRIP" >&6; }
  16574. +else
  16575. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16576. +$as_echo "no" >&6; }
  16577. +fi
  16578. +
  16579. + if test "x$ac_ct_STRIP" = x; then
  16580. + STRIP=":"
  16581. + else
  16582. + case $cross_compiling:$ac_tool_warned in
  16583. +yes:)
  16584. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  16585. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  16586. +ac_tool_warned=yes ;;
  16587. +esac
  16588. + STRIP=$ac_ct_STRIP
  16589. + fi
  16590. +else
  16591. + STRIP="$ac_cv_prog_STRIP"
  16592. +fi
  16593. +
  16594. +fi
  16595. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  16596. +
  16597. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  16598. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  16599. +if test -z "$MKDIR_P"; then
  16600. + if test "${ac_cv_path_mkdir+set}" = set; then :
  16601. + $as_echo_n "(cached) " >&6
  16602. +else
  16603. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16604. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  16605. +do
  16606. + IFS=$as_save_IFS
  16607. + test -z "$as_dir" && as_dir=.
  16608. + for ac_prog in mkdir gmkdir; do
  16609. + for ac_exec_ext in '' $ac_executable_extensions; do
  16610. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  16611. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  16612. + 'mkdir (GNU coreutils) '* | \
  16613. + 'mkdir (coreutils) '* | \
  16614. + 'mkdir (fileutils) '4.1*)
  16615. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  16616. + break 3;;
  16617. + esac
  16618. + done
  16619. + done
  16620. + done
  16621. +IFS=$as_save_IFS
  16622. +
  16623. +fi
  16624. +
  16625. + test -d ./--version && rmdir ./--version
  16626. + if test "${ac_cv_path_mkdir+set}" = set; then
  16627. + MKDIR_P="$ac_cv_path_mkdir -p"
  16628. + else
  16629. + # As a last resort, use the slow shell script. Don't cache a
  16630. + # value for MKDIR_P within a source directory, because that will
  16631. + # break other packages using the cache if that directory is
  16632. + # removed, or if the value is a relative name.
  16633. + MKDIR_P="$ac_install_sh -d"
  16634. + fi
  16635. +fi
  16636. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  16637. +$as_echo "$MKDIR_P" >&6; }
  16638. +
  16639. +mkdir_p="$MKDIR_P"
  16640. +case $mkdir_p in
  16641. + [\\/$]* | ?:[\\/]*) ;;
  16642. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  16643. +esac
  16644. +
  16645. +for ac_prog in gawk mawk nawk awk
  16646. +do
  16647. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  16648. +set dummy $ac_prog; ac_word=$2
  16649. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16650. +$as_echo_n "checking for $ac_word... " >&6; }
  16651. +if test "${ac_cv_prog_AWK+set}" = set; then :
  16652. + $as_echo_n "(cached) " >&6
  16653. +else
  16654. + if test -n "$AWK"; then
  16655. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  16656. +else
  16657. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16658. +for as_dir in $PATH
  16659. +do
  16660. + IFS=$as_save_IFS
  16661. + test -z "$as_dir" && as_dir=.
  16662. + for ac_exec_ext in '' $ac_executable_extensions; do
  16663. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16664. + ac_cv_prog_AWK="$ac_prog"
  16665. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16666. + break 2
  16667. + fi
  16668. +done
  16669. + done
  16670. +IFS=$as_save_IFS
  16671. +
  16672. +fi
  16673. +fi
  16674. +AWK=$ac_cv_prog_AWK
  16675. +if test -n "$AWK"; then
  16676. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  16677. +$as_echo "$AWK" >&6; }
  16678. +else
  16679. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16680. +$as_echo "no" >&6; }
  16681. +fi
  16682. +
  16683. +
  16684. + test -n "$AWK" && break
  16685. +done
  16686. +
  16687. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  16688. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  16689. +set x ${MAKE-make}
  16690. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  16691. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  16692. + $as_echo_n "(cached) " >&6
  16693. else
  16694. - { echo "$as_me:$LINENO: result: no" >&5
  16695. -echo "${ECHO_T}no" >&6; }
  16696. + cat >conftest.make <<\_ACEOF
  16697. +SHELL = /bin/sh
  16698. +all:
  16699. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  16700. +_ACEOF
  16701. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  16702. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  16703. + *@@@%%%=?*=@@@%%%*)
  16704. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  16705. + *)
  16706. + eval ac_cv_prog_make_${ac_make}_set=no;;
  16707. +esac
  16708. +rm -f conftest.make
  16709. +fi
  16710. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  16711. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16712. +$as_echo "yes" >&6; }
  16713. + SET_MAKE=
  16714. +else
  16715. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16716. +$as_echo "no" >&6; }
  16717. SET_MAKE="MAKE=${MAKE-make}"
  16718. fi
  16719. @@ -2280,12 +2996,14 @@
  16720. fi
  16721. rmdir .tst 2>/dev/null
  16722. -# test to see if srcdir already configured
  16723. -if test "`cd $srcdir && pwd`" != "`pwd`" &&
  16724. - test -f $srcdir/config.status; then
  16725. - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  16726. -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  16727. - { (exit 1); exit 1; }; }
  16728. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  16729. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  16730. + # is not polluted with repeated "-I."
  16731. + am__isrc=' -I$(srcdir)'
  16732. + # test to see if srcdir already configured
  16733. + if test -f $srcdir/config.status; then
  16734. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  16735. + fi
  16736. fi
  16737. # test whether we have cygpath
  16738. @@ -2319,134 +3037,31 @@
  16739. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  16740. +# We need awk for the "check" target. The system "awk" is bad on
  16741. +# some platforms.
  16742. +# Always define AMTAR for backward compatibility.
  16743. AMTAR=${AMTAR-"${am_missing_run}tar"}
  16744. -install_sh=${install_sh-"$am_aux_dir/install-sh"}
  16745. -
  16746. -# Installed binaries are usually stripped using `strip' when the user
  16747. -# run `make install-strip'. However `strip' might not be the right
  16748. -# tool to use in cross-compilation environments, therefore Automake
  16749. -# will honor the `STRIP' environment variable to overrule this program.
  16750. -if test "$cross_compiling" != no; then
  16751. - if test -n "$ac_tool_prefix"; then
  16752. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  16753. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  16754. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  16755. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  16756. -if test "${ac_cv_prog_STRIP+set}" = set; then
  16757. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16758. -else
  16759. - if test -n "$STRIP"; then
  16760. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  16761. -else
  16762. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16763. -for as_dir in $PATH
  16764. -do
  16765. - IFS=$as_save_IFS
  16766. - test -z "$as_dir" && as_dir=.
  16767. - for ac_exec_ext in '' $ac_executable_extensions; do
  16768. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16769. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  16770. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  16771. - break 2
  16772. - fi
  16773. -done
  16774. -done
  16775. -IFS=$as_save_IFS
  16776. -
  16777. -fi
  16778. -fi
  16779. -STRIP=$ac_cv_prog_STRIP
  16780. -if test -n "$STRIP"; then
  16781. - { echo "$as_me:$LINENO: result: $STRIP" >&5
  16782. -echo "${ECHO_T}$STRIP" >&6; }
  16783. -else
  16784. - { echo "$as_me:$LINENO: result: no" >&5
  16785. -echo "${ECHO_T}no" >&6; }
  16786. -fi
  16787. -
  16788. -
  16789. -fi
  16790. -if test -z "$ac_cv_prog_STRIP"; then
  16791. - ac_ct_STRIP=$STRIP
  16792. - # Extract the first word of "strip", so it can be a program name with args.
  16793. -set dummy strip; ac_word=$2
  16794. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  16795. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  16796. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  16797. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16798. -else
  16799. - if test -n "$ac_ct_STRIP"; then
  16800. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  16801. -else
  16802. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16803. -for as_dir in $PATH
  16804. -do
  16805. - IFS=$as_save_IFS
  16806. - test -z "$as_dir" && as_dir=.
  16807. - for ac_exec_ext in '' $ac_executable_extensions; do
  16808. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16809. - ac_cv_prog_ac_ct_STRIP="strip"
  16810. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  16811. - break 2
  16812. - fi
  16813. -done
  16814. -done
  16815. -IFS=$as_save_IFS
  16816. -
  16817. -fi
  16818. -fi
  16819. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  16820. -if test -n "$ac_ct_STRIP"; then
  16821. - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  16822. -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  16823. -else
  16824. - { echo "$as_me:$LINENO: result: no" >&5
  16825. -echo "${ECHO_T}no" >&6; }
  16826. -fi
  16827. +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  16828. - if test "x$ac_ct_STRIP" = x; then
  16829. - STRIP=":"
  16830. - else
  16831. - case $cross_compiling:$ac_tool_warned in
  16832. -yes:)
  16833. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  16834. -whose name does not start with the host triplet. If you think this
  16835. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  16836. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  16837. -whose name does not start with the host triplet. If you think this
  16838. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  16839. -ac_tool_warned=yes ;;
  16840. -esac
  16841. - STRIP=$ac_ct_STRIP
  16842. - fi
  16843. -else
  16844. - STRIP="$ac_cv_prog_STRIP"
  16845. -fi
  16846. -fi
  16847. -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  16848. -# We need awk for the "check" target. The system "awk" is bad on
  16849. -# some platforms.
  16850. -{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  16851. -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  16852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  16853. +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  16854. # Check whether --enable-maintainer-mode was given.
  16855. -if test "${enable_maintainer_mode+set}" = set; then
  16856. +if test "${enable_maintainer_mode+set}" = set; then :
  16857. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  16858. else
  16859. USE_MAINTAINER_MODE=no
  16860. fi
  16861. - { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  16862. -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  16863. -
  16864. -
  16865. -if test $USE_MAINTAINER_MODE = yes; then
  16866. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  16867. +$as_echo "$USE_MAINTAINER_MODE" >&6; }
  16868. + if test $USE_MAINTAINER_MODE = yes; then
  16869. MAINTAINER_MODE_TRUE=
  16870. MAINTAINER_MODE_FALSE='#'
  16871. else
  16872. @@ -2460,35 +3075,27 @@
  16873. # Make sure we can run config.sub.
  16874. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  16875. - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  16876. -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  16877. - { (exit 1); exit 1; }; }
  16878. -
  16879. -{ echo "$as_me:$LINENO: checking build system type" >&5
  16880. -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  16881. -if test "${ac_cv_build+set}" = set; then
  16882. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16883. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  16884. +
  16885. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  16886. +$as_echo_n "checking build system type... " >&6; }
  16887. +if test "${ac_cv_build+set}" = set; then :
  16888. + $as_echo_n "(cached) " >&6
  16889. else
  16890. ac_build_alias=$build_alias
  16891. test "x$ac_build_alias" = x &&
  16892. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  16893. test "x$ac_build_alias" = x &&
  16894. - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  16895. -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  16896. - { (exit 1); exit 1; }; }
  16897. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  16898. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  16899. - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  16900. -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  16901. - { (exit 1); exit 1; }; }
  16902. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  16903. fi
  16904. -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  16905. -echo "${ECHO_T}$ac_cv_build" >&6; }
  16906. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  16907. +$as_echo "$ac_cv_build" >&6; }
  16908. case $ac_cv_build in
  16909. *-*-*) ;;
  16910. -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  16911. -echo "$as_me: error: invalid value of canonical build" >&2;}
  16912. - { (exit 1); exit 1; }; };;
  16913. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  16914. esac
  16915. build=$ac_cv_build
  16916. ac_save_IFS=$IFS; IFS='-'
  16917. @@ -2504,28 +3111,24 @@
  16918. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  16919. -{ echo "$as_me:$LINENO: checking host system type" >&5
  16920. -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  16921. -if test "${ac_cv_host+set}" = set; then
  16922. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16923. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  16924. +$as_echo_n "checking host system type... " >&6; }
  16925. +if test "${ac_cv_host+set}" = set; then :
  16926. + $as_echo_n "(cached) " >&6
  16927. else
  16928. if test "x$host_alias" = x; then
  16929. ac_cv_host=$ac_cv_build
  16930. else
  16931. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  16932. - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  16933. -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  16934. - { (exit 1); exit 1; }; }
  16935. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  16936. fi
  16937. fi
  16938. -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  16939. -echo "${ECHO_T}$ac_cv_host" >&6; }
  16940. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  16941. +$as_echo "$ac_cv_host" >&6; }
  16942. case $ac_cv_host in
  16943. *-*-*) ;;
  16944. -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  16945. -echo "$as_me: error: invalid value of canonical host" >&2;}
  16946. - { (exit 1); exit 1; }; };;
  16947. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  16948. esac
  16949. host=$ac_cv_host
  16950. ac_save_IFS=$IFS; IFS='-'
  16951. @@ -2541,79 +3144,333 @@
  16952. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  16953. +enable_win32_dll=yes
  16954. +case $host in
  16955. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  16956. + if test -n "$ac_tool_prefix"; then
  16957. + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  16958. +set dummy ${ac_tool_prefix}as; ac_word=$2
  16959. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  16960. +$as_echo_n "checking for $ac_word... " >&6; }
  16961. +if test "${ac_cv_prog_AS+set}" = set; then :
  16962. + $as_echo_n "(cached) " >&6
  16963. +else
  16964. + if test -n "$AS"; then
  16965. + ac_cv_prog_AS="$AS" # Let the user override the test.
  16966. +else
  16967. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  16968. +for as_dir in $PATH
  16969. +do
  16970. + IFS=$as_save_IFS
  16971. + test -z "$as_dir" && as_dir=.
  16972. + for ac_exec_ext in '' $ac_executable_extensions; do
  16973. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  16974. + ac_cv_prog_AS="${ac_tool_prefix}as"
  16975. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  16976. + break 2
  16977. + fi
  16978. +done
  16979. + done
  16980. +IFS=$as_save_IFS
  16981. -# Check whether --enable-shared was given.
  16982. -if test "${enable_shared+set}" = set; then
  16983. - enableval=$enable_shared; p=${PACKAGE-default}
  16984. - case $enableval in
  16985. - yes) enable_shared=yes ;;
  16986. - no) enable_shared=no ;;
  16987. - *)
  16988. - enable_shared=no
  16989. - # Look at the argument we got. We use all the common list separators.
  16990. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  16991. - for pkg in $enableval; do
  16992. - IFS="$lt_save_ifs"
  16993. - if test "X$pkg" = "X$p"; then
  16994. - enable_shared=yes
  16995. - fi
  16996. - done
  16997. - IFS="$lt_save_ifs"
  16998. - ;;
  16999. - esac
  17000. +fi
  17001. +fi
  17002. +AS=$ac_cv_prog_AS
  17003. +if test -n "$AS"; then
  17004. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  17005. +$as_echo "$AS" >&6; }
  17006. else
  17007. - enable_shared=yes
  17008. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17009. +$as_echo "no" >&6; }
  17010. fi
  17011. -# Check whether --enable-static was given.
  17012. -if test "${enable_static+set}" = set; then
  17013. - enableval=$enable_static; p=${PACKAGE-default}
  17014. - case $enableval in
  17015. - yes) enable_static=yes ;;
  17016. - no) enable_static=no ;;
  17017. - *)
  17018. - enable_static=no
  17019. - # Look at the argument we got. We use all the common list separators.
  17020. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  17021. - for pkg in $enableval; do
  17022. - IFS="$lt_save_ifs"
  17023. - if test "X$pkg" = "X$p"; then
  17024. - enable_static=yes
  17025. - fi
  17026. - done
  17027. - IFS="$lt_save_ifs"
  17028. - ;;
  17029. - esac
  17030. +fi
  17031. +if test -z "$ac_cv_prog_AS"; then
  17032. + ac_ct_AS=$AS
  17033. + # Extract the first word of "as", so it can be a program name with args.
  17034. +set dummy as; ac_word=$2
  17035. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17036. +$as_echo_n "checking for $ac_word... " >&6; }
  17037. +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
  17038. + $as_echo_n "(cached) " >&6
  17039. else
  17040. - enable_static=yes
  17041. + if test -n "$ac_ct_AS"; then
  17042. + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  17043. +else
  17044. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17045. +for as_dir in $PATH
  17046. +do
  17047. + IFS=$as_save_IFS
  17048. + test -z "$as_dir" && as_dir=.
  17049. + for ac_exec_ext in '' $ac_executable_extensions; do
  17050. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17051. + ac_cv_prog_ac_ct_AS="as"
  17052. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17053. + break 2
  17054. + fi
  17055. +done
  17056. + done
  17057. +IFS=$as_save_IFS
  17058. +
  17059. +fi
  17060. +fi
  17061. +ac_ct_AS=$ac_cv_prog_ac_ct_AS
  17062. +if test -n "$ac_ct_AS"; then
  17063. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  17064. +$as_echo "$ac_ct_AS" >&6; }
  17065. +else
  17066. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17067. +$as_echo "no" >&6; }
  17068. fi
  17069. + if test "x$ac_ct_AS" = x; then
  17070. + AS="false"
  17071. + else
  17072. + case $cross_compiling:$ac_tool_warned in
  17073. +yes:)
  17074. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17075. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17076. +ac_tool_warned=yes ;;
  17077. +esac
  17078. + AS=$ac_ct_AS
  17079. + fi
  17080. +else
  17081. + AS="$ac_cv_prog_AS"
  17082. +fi
  17083. -# Check whether --enable-fast-install was given.
  17084. -if test "${enable_fast_install+set}" = set; then
  17085. - enableval=$enable_fast_install; p=${PACKAGE-default}
  17086. - case $enableval in
  17087. - yes) enable_fast_install=yes ;;
  17088. - no) enable_fast_install=no ;;
  17089. - *)
  17090. - enable_fast_install=no
  17091. - # Look at the argument we got. We use all the common list separators.
  17092. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  17093. - for pkg in $enableval; do
  17094. - IFS="$lt_save_ifs"
  17095. - if test "X$pkg" = "X$p"; then
  17096. - enable_fast_install=yes
  17097. - fi
  17098. - done
  17099. - IFS="$lt_save_ifs"
  17100. - ;;
  17101. - esac
  17102. + if test -n "$ac_tool_prefix"; then
  17103. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  17104. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  17105. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17106. +$as_echo_n "checking for $ac_word... " >&6; }
  17107. +if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
  17108. + $as_echo_n "(cached) " >&6
  17109. else
  17110. - enable_fast_install=yes
  17111. + if test -n "$DLLTOOL"; then
  17112. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  17113. +else
  17114. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17115. +for as_dir in $PATH
  17116. +do
  17117. + IFS=$as_save_IFS
  17118. + test -z "$as_dir" && as_dir=.
  17119. + for ac_exec_ext in '' $ac_executable_extensions; do
  17120. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17121. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  17122. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17123. + break 2
  17124. + fi
  17125. +done
  17126. + done
  17127. +IFS=$as_save_IFS
  17128. +
  17129. +fi
  17130. +fi
  17131. +DLLTOOL=$ac_cv_prog_DLLTOOL
  17132. +if test -n "$DLLTOOL"; then
  17133. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  17134. +$as_echo "$DLLTOOL" >&6; }
  17135. +else
  17136. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17137. +$as_echo "no" >&6; }
  17138. +fi
  17139. +
  17140. +
  17141. +fi
  17142. +if test -z "$ac_cv_prog_DLLTOOL"; then
  17143. + ac_ct_DLLTOOL=$DLLTOOL
  17144. + # Extract the first word of "dlltool", so it can be a program name with args.
  17145. +set dummy dlltool; ac_word=$2
  17146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17147. +$as_echo_n "checking for $ac_word... " >&6; }
  17148. +if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
  17149. + $as_echo_n "(cached) " >&6
  17150. +else
  17151. + if test -n "$ac_ct_DLLTOOL"; then
  17152. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  17153. +else
  17154. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17155. +for as_dir in $PATH
  17156. +do
  17157. + IFS=$as_save_IFS
  17158. + test -z "$as_dir" && as_dir=.
  17159. + for ac_exec_ext in '' $ac_executable_extensions; do
  17160. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17161. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  17162. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17163. + break 2
  17164. + fi
  17165. +done
  17166. + done
  17167. +IFS=$as_save_IFS
  17168. +
  17169. +fi
  17170. +fi
  17171. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  17172. +if test -n "$ac_ct_DLLTOOL"; then
  17173. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  17174. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  17175. +else
  17176. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17177. +$as_echo "no" >&6; }
  17178. +fi
  17179. +
  17180. + if test "x$ac_ct_DLLTOOL" = x; then
  17181. + DLLTOOL="false"
  17182. + else
  17183. + case $cross_compiling:$ac_tool_warned in
  17184. +yes:)
  17185. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17186. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17187. +ac_tool_warned=yes ;;
  17188. +esac
  17189. + DLLTOOL=$ac_ct_DLLTOOL
  17190. + fi
  17191. +else
  17192. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  17193. fi
  17194. + if test -n "$ac_tool_prefix"; then
  17195. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  17196. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  17197. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17198. +$as_echo_n "checking for $ac_word... " >&6; }
  17199. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  17200. + $as_echo_n "(cached) " >&6
  17201. +else
  17202. + if test -n "$OBJDUMP"; then
  17203. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  17204. +else
  17205. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17206. +for as_dir in $PATH
  17207. +do
  17208. + IFS=$as_save_IFS
  17209. + test -z "$as_dir" && as_dir=.
  17210. + for ac_exec_ext in '' $ac_executable_extensions; do
  17211. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17212. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  17213. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17214. + break 2
  17215. + fi
  17216. +done
  17217. + done
  17218. +IFS=$as_save_IFS
  17219. +
  17220. +fi
  17221. +fi
  17222. +OBJDUMP=$ac_cv_prog_OBJDUMP
  17223. +if test -n "$OBJDUMP"; then
  17224. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  17225. +$as_echo "$OBJDUMP" >&6; }
  17226. +else
  17227. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17228. +$as_echo "no" >&6; }
  17229. +fi
  17230. +
  17231. +
  17232. +fi
  17233. +if test -z "$ac_cv_prog_OBJDUMP"; then
  17234. + ac_ct_OBJDUMP=$OBJDUMP
  17235. + # Extract the first word of "objdump", so it can be a program name with args.
  17236. +set dummy objdump; ac_word=$2
  17237. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17238. +$as_echo_n "checking for $ac_word... " >&6; }
  17239. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  17240. + $as_echo_n "(cached) " >&6
  17241. +else
  17242. + if test -n "$ac_ct_OBJDUMP"; then
  17243. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  17244. +else
  17245. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17246. +for as_dir in $PATH
  17247. +do
  17248. + IFS=$as_save_IFS
  17249. + test -z "$as_dir" && as_dir=.
  17250. + for ac_exec_ext in '' $ac_executable_extensions; do
  17251. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17252. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  17253. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17254. + break 2
  17255. + fi
  17256. +done
  17257. + done
  17258. +IFS=$as_save_IFS
  17259. +
  17260. +fi
  17261. +fi
  17262. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  17263. +if test -n "$ac_ct_OBJDUMP"; then
  17264. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  17265. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  17266. +else
  17267. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17268. +$as_echo "no" >&6; }
  17269. +fi
  17270. +
  17271. + if test "x$ac_ct_OBJDUMP" = x; then
  17272. + OBJDUMP="false"
  17273. + else
  17274. + case $cross_compiling:$ac_tool_warned in
  17275. +yes:)
  17276. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17277. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17278. +ac_tool_warned=yes ;;
  17279. +esac
  17280. + OBJDUMP=$ac_ct_OBJDUMP
  17281. + fi
  17282. +else
  17283. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  17284. +fi
  17285. +
  17286. + ;;
  17287. +esac
  17288. +
  17289. +test -z "$AS" && AS=as
  17290. +
  17291. +
  17292. +
  17293. +
  17294. +
  17295. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  17296. +
  17297. +
  17298. +
  17299. +
  17300. +
  17301. +test -z "$OBJDUMP" && OBJDUMP=objdump
  17302. +
  17303. +
  17304. +
  17305. +
  17306. +
  17307. +
  17308. +
  17309. +case `pwd` in
  17310. + *\ * | *\ *)
  17311. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  17312. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  17313. +esac
  17314. +
  17315. +
  17316. +
  17317. +macro_version='2.2.6b'
  17318. +macro_revision='1.3017'
  17319. +
  17320. +
  17321. +
  17322. +
  17323. +
  17324. +
  17325. +
  17326. +
  17327. +
  17328. +
  17329. +
  17330. +
  17331. +
  17332. +ltmain="$ac_aux_dir/ltmain.sh"
  17333. DEPDIR="${am__leading_dot}deps"
  17334. @@ -2623,44 +3480,44 @@
  17335. am_make=${MAKE-make}
  17336. cat > confinc << 'END'
  17337. am__doit:
  17338. - @echo done
  17339. + @echo this is the am__doit target
  17340. .PHONY: am__doit
  17341. END
  17342. # If we don't find an include directive, just comment out the code.
  17343. -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  17344. -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  17345. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  17346. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  17347. am__include="#"
  17348. am__quote=
  17349. _am_result=none
  17350. # First try GNU make style include.
  17351. echo "include confinc" > confmf
  17352. -# We grep out `Entering directory' and `Leaving directory'
  17353. -# messages which can occur if `w' ends up in MAKEFLAGS.
  17354. -# In particular we don't look at `^make:' because GNU make might
  17355. -# be invoked under some other name (usually "gmake"), in which
  17356. -# case it prints its new name instead of `make'.
  17357. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  17358. - am__include=include
  17359. - am__quote=
  17360. - _am_result=GNU
  17361. -fi
  17362. +# Ignore all kinds of additional output from `make'.
  17363. +case `$am_make -s -f confmf 2> /dev/null` in #(
  17364. +*the\ am__doit\ target*)
  17365. + am__include=include
  17366. + am__quote=
  17367. + _am_result=GNU
  17368. + ;;
  17369. +esac
  17370. # Now try BSD make style include.
  17371. if test "$am__include" = "#"; then
  17372. echo '.include "confinc"' > confmf
  17373. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  17374. - am__include=.include
  17375. - am__quote="\""
  17376. - _am_result=BSD
  17377. - fi
  17378. + case `$am_make -s -f confmf 2> /dev/null` in #(
  17379. + *the\ am__doit\ target*)
  17380. + am__include=.include
  17381. + am__quote="\""
  17382. + _am_result=BSD
  17383. + ;;
  17384. + esac
  17385. fi
  17386. -{ echo "$as_me:$LINENO: result: $_am_result" >&5
  17387. -echo "${ECHO_T}$_am_result" >&6; }
  17388. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  17389. +$as_echo "$_am_result" >&6; }
  17390. rm -f confinc confmf
  17391. # Check whether --enable-dependency-tracking was given.
  17392. -if test "${enable_dependency_tracking+set}" = set; then
  17393. +if test "${enable_dependency_tracking+set}" = set; then :
  17394. enableval=$enable_dependency_tracking;
  17395. fi
  17396. @@ -2668,9 +3525,7 @@
  17397. am_depcomp="$ac_aux_dir/depcomp"
  17398. AMDEPBACKSLASH='\'
  17399. fi
  17400. -
  17401. -
  17402. -if test "x$enable_dependency_tracking" != xno; then
  17403. + if test "x$enable_dependency_tracking" != xno; then
  17404. AMDEP_TRUE=
  17405. AMDEP_FALSE='#'
  17406. else
  17407. @@ -2679,7 +3534,6 @@
  17408. fi
  17409. -
  17410. ac_ext=c
  17411. ac_cpp='$CPP $CPPFLAGS'
  17412. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17413. @@ -2688,10 +3542,10 @@
  17414. if test -n "$ac_tool_prefix"; then
  17415. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  17416. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  17417. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17418. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17419. -if test "${ac_cv_prog_CC+set}" = set; then
  17420. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17421. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17422. +$as_echo_n "checking for $ac_word... " >&6; }
  17423. +if test "${ac_cv_prog_CC+set}" = set; then :
  17424. + $as_echo_n "(cached) " >&6
  17425. else
  17426. if test -n "$CC"; then
  17427. ac_cv_prog_CC="$CC" # Let the user override the test.
  17428. @@ -2701,25 +3555,25 @@
  17429. do
  17430. IFS=$as_save_IFS
  17431. test -z "$as_dir" && as_dir=.
  17432. - for ac_exec_ext in '' $ac_executable_extensions; do
  17433. + for ac_exec_ext in '' $ac_executable_extensions; do
  17434. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17435. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  17436. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17437. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17438. break 2
  17439. fi
  17440. done
  17441. -done
  17442. + done
  17443. IFS=$as_save_IFS
  17444. fi
  17445. fi
  17446. CC=$ac_cv_prog_CC
  17447. if test -n "$CC"; then
  17448. - { echo "$as_me:$LINENO: result: $CC" >&5
  17449. -echo "${ECHO_T}$CC" >&6; }
  17450. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  17451. +$as_echo "$CC" >&6; }
  17452. else
  17453. - { echo "$as_me:$LINENO: result: no" >&5
  17454. -echo "${ECHO_T}no" >&6; }
  17455. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17456. +$as_echo "no" >&6; }
  17457. fi
  17458. @@ -2728,10 +3582,10 @@
  17459. ac_ct_CC=$CC
  17460. # Extract the first word of "gcc", so it can be a program name with args.
  17461. set dummy gcc; ac_word=$2
  17462. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17463. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17464. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  17465. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17466. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17467. +$as_echo_n "checking for $ac_word... " >&6; }
  17468. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  17469. + $as_echo_n "(cached) " >&6
  17470. else
  17471. if test -n "$ac_ct_CC"; then
  17472. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  17473. @@ -2741,25 +3595,25 @@
  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. + for ac_exec_ext in '' $ac_executable_extensions; do
  17479. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17480. ac_cv_prog_ac_ct_CC="gcc"
  17481. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17482. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17483. break 2
  17484. fi
  17485. done
  17486. -done
  17487. + done
  17488. IFS=$as_save_IFS
  17489. fi
  17490. fi
  17491. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  17492. if test -n "$ac_ct_CC"; then
  17493. - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  17494. -echo "${ECHO_T}$ac_ct_CC" >&6; }
  17495. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  17496. +$as_echo "$ac_ct_CC" >&6; }
  17497. else
  17498. - { echo "$as_me:$LINENO: result: no" >&5
  17499. -echo "${ECHO_T}no" >&6; }
  17500. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17501. +$as_echo "no" >&6; }
  17502. fi
  17503. if test "x$ac_ct_CC" = x; then
  17504. @@ -2767,12 +3621,8 @@
  17505. else
  17506. case $cross_compiling:$ac_tool_warned in
  17507. yes:)
  17508. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  17509. -whose name does not start with the host triplet. If you think this
  17510. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  17511. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  17512. -whose name does not start with the host triplet. If you think this
  17513. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  17514. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17515. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17516. ac_tool_warned=yes ;;
  17517. esac
  17518. CC=$ac_ct_CC
  17519. @@ -2785,10 +3635,10 @@
  17520. if test -n "$ac_tool_prefix"; then
  17521. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  17522. set dummy ${ac_tool_prefix}cc; ac_word=$2
  17523. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17524. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17525. -if test "${ac_cv_prog_CC+set}" = set; then
  17526. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17527. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17528. +$as_echo_n "checking for $ac_word... " >&6; }
  17529. +if test "${ac_cv_prog_CC+set}" = set; then :
  17530. + $as_echo_n "(cached) " >&6
  17531. else
  17532. if test -n "$CC"; then
  17533. ac_cv_prog_CC="$CC" # Let the user override the test.
  17534. @@ -2798,25 +3648,25 @@
  17535. do
  17536. IFS=$as_save_IFS
  17537. test -z "$as_dir" && as_dir=.
  17538. - for ac_exec_ext in '' $ac_executable_extensions; do
  17539. + for ac_exec_ext in '' $ac_executable_extensions; do
  17540. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17541. ac_cv_prog_CC="${ac_tool_prefix}cc"
  17542. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17543. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17544. break 2
  17545. fi
  17546. done
  17547. -done
  17548. + done
  17549. IFS=$as_save_IFS
  17550. fi
  17551. fi
  17552. CC=$ac_cv_prog_CC
  17553. if test -n "$CC"; then
  17554. - { echo "$as_me:$LINENO: result: $CC" >&5
  17555. -echo "${ECHO_T}$CC" >&6; }
  17556. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  17557. +$as_echo "$CC" >&6; }
  17558. else
  17559. - { echo "$as_me:$LINENO: result: no" >&5
  17560. -echo "${ECHO_T}no" >&6; }
  17561. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17562. +$as_echo "no" >&6; }
  17563. fi
  17564. @@ -2825,10 +3675,10 @@
  17565. if test -z "$CC"; then
  17566. # Extract the first word of "cc", so it can be a program name with args.
  17567. set dummy cc; ac_word=$2
  17568. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17569. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17570. -if test "${ac_cv_prog_CC+set}" = set; then
  17571. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17572. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17573. +$as_echo_n "checking for $ac_word... " >&6; }
  17574. +if test "${ac_cv_prog_CC+set}" = set; then :
  17575. + $as_echo_n "(cached) " >&6
  17576. else
  17577. if test -n "$CC"; then
  17578. ac_cv_prog_CC="$CC" # Let the user override the test.
  17579. @@ -2839,18 +3689,18 @@
  17580. do
  17581. IFS=$as_save_IFS
  17582. test -z "$as_dir" && as_dir=.
  17583. - for ac_exec_ext in '' $ac_executable_extensions; do
  17584. + for ac_exec_ext in '' $ac_executable_extensions; do
  17585. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17586. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  17587. ac_prog_rejected=yes
  17588. continue
  17589. fi
  17590. ac_cv_prog_CC="cc"
  17591. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17592. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17593. break 2
  17594. fi
  17595. done
  17596. -done
  17597. + done
  17598. IFS=$as_save_IFS
  17599. if test $ac_prog_rejected = yes; then
  17600. @@ -2869,11 +3719,11 @@
  17601. fi
  17602. CC=$ac_cv_prog_CC
  17603. if test -n "$CC"; then
  17604. - { echo "$as_me:$LINENO: result: $CC" >&5
  17605. -echo "${ECHO_T}$CC" >&6; }
  17606. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  17607. +$as_echo "$CC" >&6; }
  17608. else
  17609. - { echo "$as_me:$LINENO: result: no" >&5
  17610. -echo "${ECHO_T}no" >&6; }
  17611. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17612. +$as_echo "no" >&6; }
  17613. fi
  17614. @@ -2884,10 +3734,10 @@
  17615. do
  17616. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  17617. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  17618. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17619. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17620. -if test "${ac_cv_prog_CC+set}" = set; then
  17621. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17622. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17623. +$as_echo_n "checking for $ac_word... " >&6; }
  17624. +if test "${ac_cv_prog_CC+set}" = set; then :
  17625. + $as_echo_n "(cached) " >&6
  17626. else
  17627. if test -n "$CC"; then
  17628. ac_cv_prog_CC="$CC" # Let the user override the test.
  17629. @@ -2897,25 +3747,25 @@
  17630. do
  17631. IFS=$as_save_IFS
  17632. test -z "$as_dir" && as_dir=.
  17633. - for ac_exec_ext in '' $ac_executable_extensions; do
  17634. + for ac_exec_ext in '' $ac_executable_extensions; do
  17635. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17636. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  17637. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17638. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17639. break 2
  17640. fi
  17641. done
  17642. -done
  17643. + done
  17644. IFS=$as_save_IFS
  17645. fi
  17646. fi
  17647. CC=$ac_cv_prog_CC
  17648. if test -n "$CC"; then
  17649. - { echo "$as_me:$LINENO: result: $CC" >&5
  17650. -echo "${ECHO_T}$CC" >&6; }
  17651. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  17652. +$as_echo "$CC" >&6; }
  17653. else
  17654. - { echo "$as_me:$LINENO: result: no" >&5
  17655. -echo "${ECHO_T}no" >&6; }
  17656. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17657. +$as_echo "no" >&6; }
  17658. fi
  17659. @@ -2928,10 +3778,10 @@
  17660. do
  17661. # Extract the first word of "$ac_prog", so it can be a program name with args.
  17662. set dummy $ac_prog; ac_word=$2
  17663. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17664. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17665. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  17666. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17667. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17668. +$as_echo_n "checking for $ac_word... " >&6; }
  17669. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  17670. + $as_echo_n "(cached) " >&6
  17671. else
  17672. if test -n "$ac_ct_CC"; then
  17673. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  17674. @@ -2941,25 +3791,25 @@
  17675. do
  17676. IFS=$as_save_IFS
  17677. test -z "$as_dir" && as_dir=.
  17678. - for ac_exec_ext in '' $ac_executable_extensions; do
  17679. + for ac_exec_ext in '' $ac_executable_extensions; do
  17680. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17681. ac_cv_prog_ac_ct_CC="$ac_prog"
  17682. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17683. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17684. break 2
  17685. fi
  17686. done
  17687. -done
  17688. + done
  17689. IFS=$as_save_IFS
  17690. fi
  17691. fi
  17692. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  17693. if test -n "$ac_ct_CC"; then
  17694. - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  17695. -echo "${ECHO_T}$ac_ct_CC" >&6; }
  17696. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  17697. +$as_echo "$ac_ct_CC" >&6; }
  17698. else
  17699. - { echo "$as_me:$LINENO: result: no" >&5
  17700. -echo "${ECHO_T}no" >&6; }
  17701. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17702. +$as_echo "no" >&6; }
  17703. fi
  17704. @@ -2971,12 +3821,8 @@
  17705. else
  17706. case $cross_compiling:$ac_tool_warned in
  17707. yes:)
  17708. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  17709. -whose name does not start with the host triplet. If you think this
  17710. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  17711. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  17712. -whose name does not start with the host triplet. If you think this
  17713. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  17714. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17715. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17716. ac_tool_warned=yes ;;
  17717. esac
  17718. CC=$ac_ct_CC
  17719. @@ -2986,51 +3832,37 @@
  17720. fi
  17721. -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  17722. -See \`config.log' for more details." >&5
  17723. -echo "$as_me: error: no acceptable C compiler found in \$PATH
  17724. -See \`config.log' for more details." >&2;}
  17725. - { (exit 1); exit 1; }; }
  17726. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17727. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17728. +as_fn_error "no acceptable C compiler found in \$PATH
  17729. +See \`config.log' for more details." "$LINENO" 5; }
  17730. # Provide some information about the compiler.
  17731. -echo "$as_me:$LINENO: checking for C compiler version" >&5
  17732. -ac_compiler=`set X $ac_compile; echo $2`
  17733. -{ (ac_try="$ac_compiler --version >&5"
  17734. -case "(($ac_try" in
  17735. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17736. - *) ac_try_echo=$ac_try;;
  17737. -esac
  17738. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17739. - (eval "$ac_compiler --version >&5") 2>&5
  17740. - ac_status=$?
  17741. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17742. - (exit $ac_status); }
  17743. -{ (ac_try="$ac_compiler -v >&5"
  17744. -case "(($ac_try" in
  17745. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17746. - *) ac_try_echo=$ac_try;;
  17747. -esac
  17748. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17749. - (eval "$ac_compiler -v >&5") 2>&5
  17750. - ac_status=$?
  17751. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17752. - (exit $ac_status); }
  17753. -{ (ac_try="$ac_compiler -V >&5"
  17754. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  17755. +set X $ac_compile
  17756. +ac_compiler=$2
  17757. +for ac_option in --version -v -V -qversion; do
  17758. + { { ac_try="$ac_compiler $ac_option >&5"
  17759. case "(($ac_try" in
  17760. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17761. *) ac_try_echo=$ac_try;;
  17762. esac
  17763. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17764. - (eval "$ac_compiler -V >&5") 2>&5
  17765. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  17766. +$as_echo "$ac_try_echo"; } >&5
  17767. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  17768. ac_status=$?
  17769. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17770. - (exit $ac_status); }
  17771. + if test -s conftest.err; then
  17772. + sed '10a\
  17773. +... rest of stderr output deleted ...
  17774. + 10q' conftest.err >conftest.er1
  17775. + cat conftest.er1 >&5
  17776. + fi
  17777. + rm -f conftest.er1 conftest.err
  17778. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17779. + test $ac_status = 0; }
  17780. +done
  17781. -cat >conftest.$ac_ext <<_ACEOF
  17782. -/* confdefs.h. */
  17783. -_ACEOF
  17784. -cat confdefs.h >>conftest.$ac_ext
  17785. -cat >>conftest.$ac_ext <<_ACEOF
  17786. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17787. /* end confdefs.h. */
  17788. int
  17789. @@ -3042,42 +3874,38 @@
  17790. }
  17791. _ACEOF
  17792. ac_clean_files_save=$ac_clean_files
  17793. -ac_clean_files="$ac_clean_files a.out a.exe b.out"
  17794. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  17795. # Try to create an executable without -o first, disregard a.out.
  17796. # It will help us diagnose broken compilers, and finding out an intuition
  17797. # of exeext.
  17798. -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  17799. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  17800. -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  17801. -#
  17802. -# List of possible output files, starting from the most likely.
  17803. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  17804. -# only as a last resort. b.out is created by i960 compilers.
  17805. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  17806. -#
  17807. -# The IRIX 6 linker writes into existing files which may not be
  17808. -# executable, retaining their permissions. Remove them first so a
  17809. -# subsequent execution test works.
  17810. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  17811. +$as_echo_n "checking whether the C compiler works... " >&6; }
  17812. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  17813. +
  17814. +# The possible output files:
  17815. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  17816. +
  17817. ac_rmfiles=
  17818. for ac_file in $ac_files
  17819. do
  17820. case $ac_file in
  17821. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  17822. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  17823. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  17824. esac
  17825. done
  17826. rm -f $ac_rmfiles
  17827. -if { (ac_try="$ac_link_default"
  17828. +if { { ac_try="$ac_link_default"
  17829. case "(($ac_try" in
  17830. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17831. *) ac_try_echo=$ac_try;;
  17832. esac
  17833. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17834. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  17835. +$as_echo "$ac_try_echo"; } >&5
  17836. (eval "$ac_link_default") 2>&5
  17837. ac_status=$?
  17838. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17839. - (exit $ac_status); }; then
  17840. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17841. + test $ac_status = 0; }; then :
  17842. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  17843. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  17844. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  17845. @@ -3087,14 +3915,14 @@
  17846. do
  17847. test -f "$ac_file" || continue
  17848. case $ac_file in
  17849. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  17850. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  17851. ;;
  17852. [ab].out )
  17853. # We found the default executable, but exeext='' is most
  17854. # certainly right.
  17855. break;;
  17856. *.* )
  17857. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  17858. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  17859. then :; else
  17860. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  17861. fi
  17862. @@ -3113,78 +3941,42 @@
  17863. else
  17864. ac_file=''
  17865. fi
  17866. -
  17867. -{ echo "$as_me:$LINENO: result: $ac_file" >&5
  17868. -echo "${ECHO_T}$ac_file" >&6; }
  17869. -if test -z "$ac_file"; then
  17870. - echo "$as_me: failed program was:" >&5
  17871. -sed 's/^/| /' conftest.$ac_ext >&5
  17872. -
  17873. -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  17874. -See \`config.log' for more details." >&5
  17875. -echo "$as_me: error: C compiler cannot create executables
  17876. -See \`config.log' for more details." >&2;}
  17877. - { (exit 77); exit 77; }; }
  17878. -fi
  17879. -
  17880. +if test -z "$ac_file"; then :
  17881. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17882. +$as_echo "no" >&6; }
  17883. +$as_echo "$as_me: failed program was:" >&5
  17884. +sed 's/^/| /' conftest.$ac_ext >&5
  17885. +
  17886. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17887. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17888. +{ as_fn_set_status 77
  17889. +as_fn_error "C compiler cannot create executables
  17890. +See \`config.log' for more details." "$LINENO" 5; }; }
  17891. +else
  17892. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17893. +$as_echo "yes" >&6; }
  17894. +fi
  17895. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  17896. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  17897. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  17898. +$as_echo "$ac_file" >&6; }
  17899. ac_exeext=$ac_cv_exeext
  17900. -# Check that the compiler produces executables we can run. If not, either
  17901. -# the compiler is broken, or we cross compile.
  17902. -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  17903. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  17904. -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  17905. -# If not cross compiling, check that we can run a simple program.
  17906. -if test "$cross_compiling" != yes; then
  17907. - if { ac_try='./$ac_file'
  17908. - { (case "(($ac_try" in
  17909. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17910. - *) ac_try_echo=$ac_try;;
  17911. -esac
  17912. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17913. - (eval "$ac_try") 2>&5
  17914. - ac_status=$?
  17915. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17916. - (exit $ac_status); }; }; then
  17917. - cross_compiling=no
  17918. - else
  17919. - if test "$cross_compiling" = maybe; then
  17920. - cross_compiling=yes
  17921. - else
  17922. - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  17923. -If you meant to cross compile, use \`--host'.
  17924. -See \`config.log' for more details." >&5
  17925. -echo "$as_me: error: cannot run C compiled programs.
  17926. -If you meant to cross compile, use \`--host'.
  17927. -See \`config.log' for more details." >&2;}
  17928. - { (exit 1); exit 1; }; }
  17929. - fi
  17930. - fi
  17931. -fi
  17932. -{ echo "$as_me:$LINENO: result: yes" >&5
  17933. -echo "${ECHO_T}yes" >&6; }
  17934. -
  17935. -rm -f a.out a.exe conftest$ac_cv_exeext b.out
  17936. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  17937. ac_clean_files=$ac_clean_files_save
  17938. -# Check that the compiler produces executables we can run. If not, either
  17939. -# the compiler is broken, or we cross compile.
  17940. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  17941. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  17942. -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  17943. -echo "${ECHO_T}$cross_compiling" >&6; }
  17944. -
  17945. -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  17946. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  17947. -if { (ac_try="$ac_link"
  17948. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  17949. +$as_echo_n "checking for suffix of executables... " >&6; }
  17950. +if { { ac_try="$ac_link"
  17951. case "(($ac_try" in
  17952. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17953. *) ac_try_echo=$ac_try;;
  17954. esac
  17955. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17956. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  17957. +$as_echo "$ac_try_echo"; } >&5
  17958. (eval "$ac_link") 2>&5
  17959. ac_status=$?
  17960. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17961. - (exit $ac_status); }; then
  17962. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17963. + test $ac_status = 0; }; then :
  17964. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  17965. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  17966. # work properly (i.e., refer to `conftest.exe'), while it won't with
  17967. @@ -3192,37 +3984,90 @@
  17968. for ac_file in conftest.exe conftest conftest.*; do
  17969. test -f "$ac_file" || continue
  17970. case $ac_file in
  17971. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  17972. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  17973. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  17974. break;;
  17975. * ) break;;
  17976. esac
  17977. done
  17978. else
  17979. - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  17980. -See \`config.log' for more details." >&5
  17981. -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  17982. -See \`config.log' for more details." >&2;}
  17983. - { (exit 1); exit 1; }; }
  17984. -fi
  17985. -
  17986. -rm -f conftest$ac_cv_exeext
  17987. -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  17988. -echo "${ECHO_T}$ac_cv_exeext" >&6; }
  17989. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17990. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17991. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  17992. +See \`config.log' for more details." "$LINENO" 5; }
  17993. +fi
  17994. +rm -f conftest conftest$ac_cv_exeext
  17995. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  17996. +$as_echo "$ac_cv_exeext" >&6; }
  17997. rm -f conftest.$ac_ext
  17998. EXEEXT=$ac_cv_exeext
  17999. ac_exeext=$EXEEXT
  18000. -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  18001. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  18002. -if test "${ac_cv_objext+set}" = set; then
  18003. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18004. -else
  18005. - cat >conftest.$ac_ext <<_ACEOF
  18006. -/* confdefs.h. */
  18007. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18008. +/* end confdefs.h. */
  18009. +#include <stdio.h>
  18010. +int
  18011. +main ()
  18012. +{
  18013. +FILE *f = fopen ("conftest.out", "w");
  18014. + return ferror (f) || fclose (f) != 0;
  18015. +
  18016. + ;
  18017. + return 0;
  18018. +}
  18019. _ACEOF
  18020. -cat confdefs.h >>conftest.$ac_ext
  18021. -cat >>conftest.$ac_ext <<_ACEOF
  18022. +ac_clean_files="$ac_clean_files conftest.out"
  18023. +# Check that the compiler produces executables we can run. If not, either
  18024. +# the compiler is broken, or we cross compile.
  18025. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  18026. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  18027. +if test "$cross_compiling" != yes; then
  18028. + { { ac_try="$ac_link"
  18029. +case "(($ac_try" in
  18030. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18031. + *) ac_try_echo=$ac_try;;
  18032. +esac
  18033. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18034. +$as_echo "$ac_try_echo"; } >&5
  18035. + (eval "$ac_link") 2>&5
  18036. + ac_status=$?
  18037. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18038. + test $ac_status = 0; }
  18039. + if { ac_try='./conftest$ac_cv_exeext'
  18040. + { { case "(($ac_try" in
  18041. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18042. + *) ac_try_echo=$ac_try;;
  18043. +esac
  18044. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18045. +$as_echo "$ac_try_echo"; } >&5
  18046. + (eval "$ac_try") 2>&5
  18047. + ac_status=$?
  18048. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18049. + test $ac_status = 0; }; }; then
  18050. + cross_compiling=no
  18051. + else
  18052. + if test "$cross_compiling" = maybe; then
  18053. + cross_compiling=yes
  18054. + else
  18055. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  18056. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  18057. +as_fn_error "cannot run C compiled programs.
  18058. +If you meant to cross compile, use \`--host'.
  18059. +See \`config.log' for more details." "$LINENO" 5; }
  18060. + fi
  18061. + fi
  18062. +fi
  18063. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  18064. +$as_echo "$cross_compiling" >&6; }
  18065. +
  18066. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  18067. +ac_clean_files=$ac_clean_files_save
  18068. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  18069. +$as_echo_n "checking for suffix of object files... " >&6; }
  18070. +if test "${ac_cv_objext+set}" = set; then :
  18071. + $as_echo_n "(cached) " >&6
  18072. +else
  18073. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18074. /* end confdefs.h. */
  18075. int
  18076. @@ -3234,51 +4079,46 @@
  18077. }
  18078. _ACEOF
  18079. rm -f conftest.o conftest.obj
  18080. -if { (ac_try="$ac_compile"
  18081. +if { { ac_try="$ac_compile"
  18082. case "(($ac_try" in
  18083. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18084. *) ac_try_echo=$ac_try;;
  18085. esac
  18086. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18087. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  18088. +$as_echo "$ac_try_echo"; } >&5
  18089. (eval "$ac_compile") 2>&5
  18090. ac_status=$?
  18091. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18092. - (exit $ac_status); }; then
  18093. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18094. + test $ac_status = 0; }; then :
  18095. for ac_file in conftest.o conftest.obj conftest.*; do
  18096. test -f "$ac_file" || continue;
  18097. case $ac_file in
  18098. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  18099. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  18100. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  18101. break;;
  18102. esac
  18103. done
  18104. else
  18105. - echo "$as_me: failed program was:" >&5
  18106. + $as_echo "$as_me: failed program was:" >&5
  18107. sed 's/^/| /' conftest.$ac_ext >&5
  18108. -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  18109. -See \`config.log' for more details." >&5
  18110. -echo "$as_me: error: cannot compute suffix of object files: cannot compile
  18111. -See \`config.log' for more details." >&2;}
  18112. - { (exit 1); exit 1; }; }
  18113. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  18114. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  18115. +as_fn_error "cannot compute suffix of object files: cannot compile
  18116. +See \`config.log' for more details." "$LINENO" 5; }
  18117. fi
  18118. -
  18119. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  18120. fi
  18121. -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  18122. -echo "${ECHO_T}$ac_cv_objext" >&6; }
  18123. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  18124. +$as_echo "$ac_cv_objext" >&6; }
  18125. OBJEXT=$ac_cv_objext
  18126. ac_objext=$OBJEXT
  18127. -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  18128. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  18129. -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  18130. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18131. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  18132. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  18133. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  18134. + $as_echo_n "(cached) " >&6
  18135. else
  18136. - cat >conftest.$ac_ext <<_ACEOF
  18137. -/* confdefs.h. */
  18138. -_ACEOF
  18139. -cat confdefs.h >>conftest.$ac_ext
  18140. -cat >>conftest.$ac_ext <<_ACEOF
  18141. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18142. /* end confdefs.h. */
  18143. int
  18144. @@ -3292,54 +4132,34 @@
  18145. return 0;
  18146. }
  18147. _ACEOF
  18148. -rm -f conftest.$ac_objext
  18149. -if { (ac_try="$ac_compile"
  18150. -case "(($ac_try" in
  18151. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18152. - *) ac_try_echo=$ac_try;;
  18153. -esac
  18154. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18155. - (eval "$ac_compile") 2>conftest.er1
  18156. - ac_status=$?
  18157. - grep -v '^ *+' conftest.er1 >conftest.err
  18158. - rm -f conftest.er1
  18159. - cat conftest.err >&5
  18160. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18161. - (exit $ac_status); } && {
  18162. - test -z "$ac_c_werror_flag" ||
  18163. - test ! -s conftest.err
  18164. - } && test -s conftest.$ac_objext; then
  18165. +if ac_fn_c_try_compile "$LINENO"; then :
  18166. ac_compiler_gnu=yes
  18167. else
  18168. - echo "$as_me: failed program was:" >&5
  18169. -sed 's/^/| /' conftest.$ac_ext >&5
  18170. -
  18171. - ac_compiler_gnu=no
  18172. + ac_compiler_gnu=no
  18173. fi
  18174. -
  18175. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18176. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  18177. fi
  18178. -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  18179. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  18180. -GCC=`test $ac_compiler_gnu = yes && echo yes`
  18181. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  18182. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  18183. +if test $ac_compiler_gnu = yes; then
  18184. + GCC=yes
  18185. +else
  18186. + GCC=
  18187. +fi
  18188. ac_test_CFLAGS=${CFLAGS+set}
  18189. ac_save_CFLAGS=$CFLAGS
  18190. -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  18191. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  18192. -if test "${ac_cv_prog_cc_g+set}" = set; then
  18193. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18194. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  18195. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  18196. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  18197. + $as_echo_n "(cached) " >&6
  18198. else
  18199. ac_save_c_werror_flag=$ac_c_werror_flag
  18200. ac_c_werror_flag=yes
  18201. ac_cv_prog_cc_g=no
  18202. CFLAGS="-g"
  18203. - cat >conftest.$ac_ext <<_ACEOF
  18204. -/* confdefs.h. */
  18205. -_ACEOF
  18206. -cat confdefs.h >>conftest.$ac_ext
  18207. -cat >>conftest.$ac_ext <<_ACEOF
  18208. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18209. /* end confdefs.h. */
  18210. int
  18211. @@ -3350,34 +4170,11 @@
  18212. return 0;
  18213. }
  18214. _ACEOF
  18215. -rm -f conftest.$ac_objext
  18216. -if { (ac_try="$ac_compile"
  18217. -case "(($ac_try" in
  18218. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18219. - *) ac_try_echo=$ac_try;;
  18220. -esac
  18221. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18222. - (eval "$ac_compile") 2>conftest.er1
  18223. - ac_status=$?
  18224. - grep -v '^ *+' conftest.er1 >conftest.err
  18225. - rm -f conftest.er1
  18226. - cat conftest.err >&5
  18227. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18228. - (exit $ac_status); } && {
  18229. - test -z "$ac_c_werror_flag" ||
  18230. - test ! -s conftest.err
  18231. - } && test -s conftest.$ac_objext; then
  18232. +if ac_fn_c_try_compile "$LINENO"; then :
  18233. ac_cv_prog_cc_g=yes
  18234. else
  18235. - echo "$as_me: failed program was:" >&5
  18236. -sed 's/^/| /' conftest.$ac_ext >&5
  18237. -
  18238. - CFLAGS=""
  18239. - cat >conftest.$ac_ext <<_ACEOF
  18240. -/* confdefs.h. */
  18241. -_ACEOF
  18242. -cat confdefs.h >>conftest.$ac_ext
  18243. -cat >>conftest.$ac_ext <<_ACEOF
  18244. + CFLAGS=""
  18245. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18246. /* end confdefs.h. */
  18247. int
  18248. @@ -3388,35 +4185,12 @@
  18249. return 0;
  18250. }
  18251. _ACEOF
  18252. -rm -f conftest.$ac_objext
  18253. -if { (ac_try="$ac_compile"
  18254. -case "(($ac_try" in
  18255. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18256. - *) ac_try_echo=$ac_try;;
  18257. -esac
  18258. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18259. - (eval "$ac_compile") 2>conftest.er1
  18260. - ac_status=$?
  18261. - grep -v '^ *+' conftest.er1 >conftest.err
  18262. - rm -f conftest.er1
  18263. - cat conftest.err >&5
  18264. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18265. - (exit $ac_status); } && {
  18266. - test -z "$ac_c_werror_flag" ||
  18267. - test ! -s conftest.err
  18268. - } && test -s conftest.$ac_objext; then
  18269. - :
  18270. -else
  18271. - echo "$as_me: failed program was:" >&5
  18272. -sed 's/^/| /' conftest.$ac_ext >&5
  18273. +if ac_fn_c_try_compile "$LINENO"; then :
  18274. - ac_c_werror_flag=$ac_save_c_werror_flag
  18275. +else
  18276. + ac_c_werror_flag=$ac_save_c_werror_flag
  18277. CFLAGS="-g"
  18278. - cat >conftest.$ac_ext <<_ACEOF
  18279. -/* confdefs.h. */
  18280. -_ACEOF
  18281. -cat confdefs.h >>conftest.$ac_ext
  18282. -cat >>conftest.$ac_ext <<_ACEOF
  18283. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18284. /* end confdefs.h. */
  18285. int
  18286. @@ -3427,42 +4201,18 @@
  18287. return 0;
  18288. }
  18289. _ACEOF
  18290. -rm -f conftest.$ac_objext
  18291. -if { (ac_try="$ac_compile"
  18292. -case "(($ac_try" in
  18293. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18294. - *) ac_try_echo=$ac_try;;
  18295. -esac
  18296. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18297. - (eval "$ac_compile") 2>conftest.er1
  18298. - ac_status=$?
  18299. - grep -v '^ *+' conftest.er1 >conftest.err
  18300. - rm -f conftest.er1
  18301. - cat conftest.err >&5
  18302. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18303. - (exit $ac_status); } && {
  18304. - test -z "$ac_c_werror_flag" ||
  18305. - test ! -s conftest.err
  18306. - } && test -s conftest.$ac_objext; then
  18307. +if ac_fn_c_try_compile "$LINENO"; then :
  18308. ac_cv_prog_cc_g=yes
  18309. -else
  18310. - echo "$as_me: failed program was:" >&5
  18311. -sed 's/^/| /' conftest.$ac_ext >&5
  18312. -
  18313. -
  18314. fi
  18315. -
  18316. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18317. fi
  18318. -
  18319. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18320. fi
  18321. -
  18322. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18323. ac_c_werror_flag=$ac_save_c_werror_flag
  18324. fi
  18325. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  18326. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  18327. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  18328. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  18329. if test "$ac_test_CFLAGS" = set; then
  18330. CFLAGS=$ac_save_CFLAGS
  18331. elif test $ac_cv_prog_cc_g = yes; then
  18332. @@ -3478,18 +4228,14 @@
  18333. CFLAGS=
  18334. fi
  18335. fi
  18336. -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  18337. -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  18338. -if test "${ac_cv_prog_cc_c89+set}" = set; then
  18339. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18340. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  18341. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  18342. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  18343. + $as_echo_n "(cached) " >&6
  18344. else
  18345. ac_cv_prog_cc_c89=no
  18346. ac_save_CC=$CC
  18347. -cat >conftest.$ac_ext <<_ACEOF
  18348. -/* confdefs.h. */
  18349. -_ACEOF
  18350. -cat confdefs.h >>conftest.$ac_ext
  18351. -cat >>conftest.$ac_ext <<_ACEOF
  18352. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18353. /* end confdefs.h. */
  18354. #include <stdarg.h>
  18355. #include <stdio.h>
  18356. @@ -3546,31 +4292,9 @@
  18357. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  18358. do
  18359. CC="$ac_save_CC $ac_arg"
  18360. - rm -f conftest.$ac_objext
  18361. -if { (ac_try="$ac_compile"
  18362. -case "(($ac_try" in
  18363. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18364. - *) ac_try_echo=$ac_try;;
  18365. -esac
  18366. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18367. - (eval "$ac_compile") 2>conftest.er1
  18368. - ac_status=$?
  18369. - grep -v '^ *+' conftest.er1 >conftest.err
  18370. - rm -f conftest.er1
  18371. - cat conftest.err >&5
  18372. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18373. - (exit $ac_status); } && {
  18374. - test -z "$ac_c_werror_flag" ||
  18375. - test ! -s conftest.err
  18376. - } && test -s conftest.$ac_objext; then
  18377. + if ac_fn_c_try_compile "$LINENO"; then :
  18378. ac_cv_prog_cc_c89=$ac_arg
  18379. -else
  18380. - echo "$as_me: failed program was:" >&5
  18381. -sed 's/^/| /' conftest.$ac_ext >&5
  18382. -
  18383. -
  18384. fi
  18385. -
  18386. rm -f core conftest.err conftest.$ac_objext
  18387. test "x$ac_cv_prog_cc_c89" != "xno" && break
  18388. done
  18389. @@ -3581,17 +4305,19 @@
  18390. # AC_CACHE_VAL
  18391. case "x$ac_cv_prog_cc_c89" in
  18392. x)
  18393. - { echo "$as_me:$LINENO: result: none needed" >&5
  18394. -echo "${ECHO_T}none needed" >&6; } ;;
  18395. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  18396. +$as_echo "none needed" >&6; } ;;
  18397. xno)
  18398. - { echo "$as_me:$LINENO: result: unsupported" >&5
  18399. -echo "${ECHO_T}unsupported" >&6; } ;;
  18400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  18401. +$as_echo "unsupported" >&6; } ;;
  18402. *)
  18403. CC="$CC $ac_cv_prog_cc_c89"
  18404. - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  18405. -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  18406. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  18407. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  18408. esac
  18409. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  18410. +fi
  18411. ac_ext=c
  18412. ac_cpp='$CPP $CPPFLAGS'
  18413. @@ -3601,10 +4327,10 @@
  18414. depcc="$CC" am_compiler_list=
  18415. -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  18416. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  18417. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  18418. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18419. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  18420. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  18421. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  18422. + $as_echo_n "(cached) " >&6
  18423. else
  18424. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  18425. # We make a subdir and do the tests there. Otherwise we can end up
  18426. @@ -3629,6 +4355,11 @@
  18427. if test "$am_compiler_list" = ""; then
  18428. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  18429. fi
  18430. + am__universal=false
  18431. + case " $depcc " in #(
  18432. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  18433. + esac
  18434. +
  18435. for depmode in $am_compiler_list; do
  18436. # Setup a source with many dependencies, because some compilers
  18437. # like to wrap large dependency lists on column 80 (with \), and
  18438. @@ -3646,7 +4377,17 @@
  18439. done
  18440. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  18441. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  18442. + # mode. It turns out that the SunPro C++ compiler does not properly
  18443. + # handle `-M -o', and we need to detect this. Also, some Intel
  18444. + # versions had trouble with output in subdirs
  18445. + am__obj=sub/conftest.${OBJEXT-o}
  18446. + am__minus_obj="-o $am__obj"
  18447. case $depmode in
  18448. + gcc)
  18449. + # This depmode causes a compiler race in universal mode.
  18450. + test "$am__universal" = false || continue
  18451. + ;;
  18452. nosideeffect)
  18453. # after this tag, mechanisms are not by side-effect, so they'll
  18454. # only be used when explicitly requested
  18455. @@ -3656,18 +4397,23 @@
  18456. break
  18457. fi
  18458. ;;
  18459. + msvisualcpp | msvcmsys)
  18460. + # This compiler won't grok `-c -o', but also, the minuso test has
  18461. + # not run yet. These depmodes are late enough in the game, and
  18462. + # so weak that their functioning should not be impacted.
  18463. + am__obj=conftest.${OBJEXT-o}
  18464. + am__minus_obj=
  18465. + ;;
  18466. none) break ;;
  18467. esac
  18468. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  18469. - # mode. It turns out that the SunPro C++ compiler does not properly
  18470. - # handle `-M -o', and we need to detect this.
  18471. if depmode=$depmode \
  18472. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  18473. + source=sub/conftest.c object=$am__obj \
  18474. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  18475. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  18476. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  18477. >/dev/null 2>conftest.err &&
  18478. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  18479. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  18480. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  18481. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  18482. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  18483. # icc doesn't choke on unknown options, it will just issue warnings
  18484. # or remarks (even with -Werror). So we grep stderr for any message
  18485. @@ -3691,13 +4437,11 @@
  18486. fi
  18487. fi
  18488. -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  18489. -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  18490. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  18491. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  18492. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  18493. -
  18494. -
  18495. -if
  18496. + if
  18497. test "x$enable_dependency_tracking" != xno \
  18498. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  18499. am__fastdepCC_TRUE=
  18500. @@ -3708,104 +4452,122 @@
  18501. fi
  18502. -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  18503. -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  18504. -if test "${lt_cv_path_SED+set}" = set; then
  18505. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18506. -else
  18507. - # Loop through the user's path and test for sed and gsed.
  18508. -# Then use that list of sed's as ones to test for truncation.
  18509. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18510. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  18511. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  18512. +if test "${ac_cv_path_SED+set}" = set; then :
  18513. + $as_echo_n "(cached) " >&6
  18514. +else
  18515. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  18516. + for ac_i in 1 2 3 4 5 6 7; do
  18517. + ac_script="$ac_script$as_nl$ac_script"
  18518. + done
  18519. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  18520. + { ac_script=; unset ac_script;}
  18521. + if test -z "$SED"; then
  18522. + ac_path_SED_found=false
  18523. + # Loop through the user's path and test for each of PROGNAME-LIST
  18524. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18525. for as_dir in $PATH
  18526. do
  18527. IFS=$as_save_IFS
  18528. test -z "$as_dir" && as_dir=.
  18529. - for lt_ac_prog in sed gsed; do
  18530. + for ac_prog in sed gsed; do
  18531. for ac_exec_ext in '' $ac_executable_extensions; do
  18532. - if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
  18533. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  18534. - fi
  18535. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  18536. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  18537. +# Check for GNU ac_path_SED and select it if it is found.
  18538. + # Check for GNU $ac_path_SED
  18539. +case `"$ac_path_SED" --version 2>&1` in
  18540. +*GNU*)
  18541. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  18542. +*)
  18543. + ac_count=0
  18544. + $as_echo_n 0123456789 >"conftest.in"
  18545. + while :
  18546. + do
  18547. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  18548. + mv "conftest.tmp" "conftest.in"
  18549. + cp "conftest.in" "conftest.nl"
  18550. + $as_echo '' >> "conftest.nl"
  18551. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  18552. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  18553. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  18554. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  18555. + # Best one so far, save it but keep looking for a better one
  18556. + ac_cv_path_SED="$ac_path_SED"
  18557. + ac_path_SED_max=$ac_count
  18558. + fi
  18559. + # 10*(2^10) chars as input seems more than enough
  18560. + test $ac_count -gt 10 && break
  18561. + done
  18562. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  18563. +esac
  18564. +
  18565. + $ac_path_SED_found && break 3
  18566. done
  18567. done
  18568. -done
  18569. + done
  18570. IFS=$as_save_IFS
  18571. -lt_ac_max=0
  18572. -lt_ac_count=0
  18573. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  18574. -# along with /bin/sed that truncates output.
  18575. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  18576. - test ! -f $lt_ac_sed && continue
  18577. - cat /dev/null > conftest.in
  18578. - lt_ac_count=0
  18579. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  18580. - # Check for GNU sed and select it if it is found.
  18581. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  18582. - lt_cv_path_SED=$lt_ac_sed
  18583. - break
  18584. + if test -z "$ac_cv_path_SED"; then
  18585. + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  18586. fi
  18587. - while true; do
  18588. - cat conftest.in conftest.in >conftest.tmp
  18589. - mv conftest.tmp conftest.in
  18590. - cp conftest.in conftest.nl
  18591. - echo >>conftest.nl
  18592. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  18593. - cmp -s conftest.out conftest.nl || break
  18594. - # 10000 chars as input seems more than enough
  18595. - test $lt_ac_count -gt 10 && break
  18596. - lt_ac_count=`expr $lt_ac_count + 1`
  18597. - if test $lt_ac_count -gt $lt_ac_max; then
  18598. - lt_ac_max=$lt_ac_count
  18599. - lt_cv_path_SED=$lt_ac_sed
  18600. - fi
  18601. - done
  18602. -done
  18603. +else
  18604. + ac_cv_path_SED=$SED
  18605. +fi
  18606. fi
  18607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  18608. +$as_echo "$ac_cv_path_SED" >&6; }
  18609. + SED="$ac_cv_path_SED"
  18610. + rm -f conftest.sed
  18611. +
  18612. +test -z "$SED" && SED=sed
  18613. +Xsed="$SED -e 1s/^X//"
  18614. +
  18615. +
  18616. -SED=$lt_cv_path_SED
  18617. -{ echo "$as_me:$LINENO: result: $SED" >&5
  18618. -echo "${ECHO_T}$SED" >&6; }
  18619. -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  18620. -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  18621. -if test "${ac_cv_path_GREP+set}" = set; then
  18622. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18623. -else
  18624. - # Extract the first word of "grep ggrep" to use in msg output
  18625. -if test -z "$GREP"; then
  18626. -set dummy grep ggrep; ac_prog_name=$2
  18627. -if test "${ac_cv_path_GREP+set}" = set; then
  18628. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18629. +
  18630. +
  18631. +
  18632. +
  18633. +
  18634. +
  18635. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  18636. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  18637. +if test "${ac_cv_path_GREP+set}" = set; then :
  18638. + $as_echo_n "(cached) " >&6
  18639. else
  18640. + if test -z "$GREP"; then
  18641. ac_path_GREP_found=false
  18642. -# Loop through the user's path and test for each of PROGNAME-LIST
  18643. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18644. + # Loop through the user's path and test for each of PROGNAME-LIST
  18645. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18646. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  18647. do
  18648. IFS=$as_save_IFS
  18649. test -z "$as_dir" && as_dir=.
  18650. - for ac_prog in grep ggrep; do
  18651. - for ac_exec_ext in '' $ac_executable_extensions; do
  18652. - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  18653. - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  18654. - # Check for GNU ac_path_GREP and select it if it is found.
  18655. + for ac_prog in grep ggrep; do
  18656. + for ac_exec_ext in '' $ac_executable_extensions; do
  18657. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  18658. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  18659. +# Check for GNU ac_path_GREP and select it if it is found.
  18660. # Check for GNU $ac_path_GREP
  18661. case `"$ac_path_GREP" --version 2>&1` in
  18662. *GNU*)
  18663. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  18664. *)
  18665. ac_count=0
  18666. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  18667. + $as_echo_n 0123456789 >"conftest.in"
  18668. while :
  18669. do
  18670. cat "conftest.in" "conftest.in" >"conftest.tmp"
  18671. mv "conftest.tmp" "conftest.in"
  18672. cp "conftest.in" "conftest.nl"
  18673. - echo 'GREP' >> "conftest.nl"
  18674. + $as_echo 'GREP' >> "conftest.nl"
  18675. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  18676. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  18677. - ac_count=`expr $ac_count + 1`
  18678. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  18679. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  18680. # Best one so far, save it but keep looking for a better one
  18681. ac_cv_path_GREP="$ac_path_GREP"
  18682. @@ -3817,77 +4579,61 @@
  18683. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  18684. esac
  18685. -
  18686. - $ac_path_GREP_found && break 3
  18687. + $ac_path_GREP_found && break 3
  18688. + done
  18689. + done
  18690. done
  18691. -done
  18692. -
  18693. -done
  18694. IFS=$as_save_IFS
  18695. -
  18696. -
  18697. -fi
  18698. -
  18699. -GREP="$ac_cv_path_GREP"
  18700. -if test -z "$GREP"; then
  18701. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  18702. -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  18703. - { (exit 1); exit 1; }; }
  18704. -fi
  18705. -
  18706. + if test -z "$ac_cv_path_GREP"; then
  18707. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  18708. + fi
  18709. else
  18710. ac_cv_path_GREP=$GREP
  18711. fi
  18712. -
  18713. fi
  18714. -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  18715. -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  18716. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  18717. +$as_echo "$ac_cv_path_GREP" >&6; }
  18718. GREP="$ac_cv_path_GREP"
  18719. -{ echo "$as_me:$LINENO: checking for egrep" >&5
  18720. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  18721. -if test "${ac_cv_path_EGREP+set}" = set; then
  18722. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18723. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  18724. +$as_echo_n "checking for egrep... " >&6; }
  18725. +if test "${ac_cv_path_EGREP+set}" = set; then :
  18726. + $as_echo_n "(cached) " >&6
  18727. else
  18728. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  18729. then ac_cv_path_EGREP="$GREP -E"
  18730. else
  18731. - # Extract the first word of "egrep" to use in msg output
  18732. -if test -z "$EGREP"; then
  18733. -set dummy egrep; ac_prog_name=$2
  18734. -if test "${ac_cv_path_EGREP+set}" = set; then
  18735. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18736. -else
  18737. + if test -z "$EGREP"; then
  18738. ac_path_EGREP_found=false
  18739. -# Loop through the user's path and test for each of PROGNAME-LIST
  18740. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18741. + # Loop through the user's path and test for each of PROGNAME-LIST
  18742. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18743. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  18744. do
  18745. IFS=$as_save_IFS
  18746. test -z "$as_dir" && as_dir=.
  18747. - for ac_prog in egrep; do
  18748. - for ac_exec_ext in '' $ac_executable_extensions; do
  18749. - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  18750. - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  18751. - # Check for GNU ac_path_EGREP and select it if it is found.
  18752. + for ac_prog in egrep; do
  18753. + for ac_exec_ext in '' $ac_executable_extensions; do
  18754. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  18755. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  18756. +# Check for GNU ac_path_EGREP and select it if it is found.
  18757. # Check for GNU $ac_path_EGREP
  18758. case `"$ac_path_EGREP" --version 2>&1` in
  18759. *GNU*)
  18760. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  18761. *)
  18762. ac_count=0
  18763. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  18764. + $as_echo_n 0123456789 >"conftest.in"
  18765. while :
  18766. do
  18767. cat "conftest.in" "conftest.in" >"conftest.tmp"
  18768. mv "conftest.tmp" "conftest.in"
  18769. cp "conftest.in" "conftest.nl"
  18770. - echo 'EGREP' >> "conftest.nl"
  18771. + $as_echo 'EGREP' >> "conftest.nl"
  18772. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  18773. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  18774. - ac_count=`expr $ac_count + 1`
  18775. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  18776. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  18777. # Best one so far, save it but keep looking for a better one
  18778. ac_cv_path_EGREP="$ac_path_EGREP"
  18779. @@ -3899,49 +4645,124 @@
  18780. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  18781. esac
  18782. -
  18783. - $ac_path_EGREP_found && break 3
  18784. + $ac_path_EGREP_found && break 3
  18785. + done
  18786. + done
  18787. done
  18788. -done
  18789. -
  18790. -done
  18791. IFS=$as_save_IFS
  18792. -
  18793. -
  18794. -fi
  18795. -
  18796. -EGREP="$ac_cv_path_EGREP"
  18797. -if test -z "$EGREP"; then
  18798. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  18799. -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  18800. - { (exit 1); exit 1; }; }
  18801. -fi
  18802. -
  18803. + if test -z "$ac_cv_path_EGREP"; then
  18804. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  18805. + fi
  18806. else
  18807. ac_cv_path_EGREP=$EGREP
  18808. fi
  18809. -
  18810. fi
  18811. fi
  18812. -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  18813. -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  18814. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  18815. +$as_echo "$ac_cv_path_EGREP" >&6; }
  18816. EGREP="$ac_cv_path_EGREP"
  18817. -
  18818. -# Check whether --with-gnu-ld was given.
  18819. -if test "${with_gnu_ld+set}" = set; then
  18820. - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  18821. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  18822. +$as_echo_n "checking for fgrep... " >&6; }
  18823. +if test "${ac_cv_path_FGREP+set}" = set; then :
  18824. + $as_echo_n "(cached) " >&6
  18825. else
  18826. - with_gnu_ld=no
  18827. -fi
  18828. -
  18829. -ac_prog=ld
  18830. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  18831. + then ac_cv_path_FGREP="$GREP -F"
  18832. + else
  18833. + if test -z "$FGREP"; then
  18834. + ac_path_FGREP_found=false
  18835. + # Loop through the user's path and test for each of PROGNAME-LIST
  18836. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18837. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  18838. +do
  18839. + IFS=$as_save_IFS
  18840. + test -z "$as_dir" && as_dir=.
  18841. + for ac_prog in fgrep; do
  18842. + for ac_exec_ext in '' $ac_executable_extensions; do
  18843. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  18844. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  18845. +# Check for GNU ac_path_FGREP and select it if it is found.
  18846. + # Check for GNU $ac_path_FGREP
  18847. +case `"$ac_path_FGREP" --version 2>&1` in
  18848. +*GNU*)
  18849. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  18850. +*)
  18851. + ac_count=0
  18852. + $as_echo_n 0123456789 >"conftest.in"
  18853. + while :
  18854. + do
  18855. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  18856. + mv "conftest.tmp" "conftest.in"
  18857. + cp "conftest.in" "conftest.nl"
  18858. + $as_echo 'FGREP' >> "conftest.nl"
  18859. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  18860. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  18861. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  18862. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  18863. + # Best one so far, save it but keep looking for a better one
  18864. + ac_cv_path_FGREP="$ac_path_FGREP"
  18865. + ac_path_FGREP_max=$ac_count
  18866. + fi
  18867. + # 10*(2^10) chars as input seems more than enough
  18868. + test $ac_count -gt 10 && break
  18869. + done
  18870. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  18871. +esac
  18872. +
  18873. + $ac_path_FGREP_found && break 3
  18874. + done
  18875. + done
  18876. + done
  18877. +IFS=$as_save_IFS
  18878. + if test -z "$ac_cv_path_FGREP"; then
  18879. + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  18880. + fi
  18881. +else
  18882. + ac_cv_path_FGREP=$FGREP
  18883. +fi
  18884. +
  18885. + fi
  18886. +fi
  18887. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  18888. +$as_echo "$ac_cv_path_FGREP" >&6; }
  18889. + FGREP="$ac_cv_path_FGREP"
  18890. +
  18891. +
  18892. +test -z "$GREP" && GREP=grep
  18893. +
  18894. +
  18895. +
  18896. +
  18897. +
  18898. +
  18899. +
  18900. +
  18901. +
  18902. +
  18903. +
  18904. +
  18905. +
  18906. +
  18907. +
  18908. +
  18909. +
  18910. +
  18911. +
  18912. +# Check whether --with-gnu-ld was given.
  18913. +if test "${with_gnu_ld+set}" = set; then :
  18914. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  18915. +else
  18916. + with_gnu_ld=no
  18917. +fi
  18918. +
  18919. +ac_prog=ld
  18920. if test "$GCC" = yes; then
  18921. # Check if gcc -print-prog-name=ld gives a path.
  18922. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  18923. -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  18924. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  18925. +$as_echo_n "checking for ld used by $CC... " >&6; }
  18926. case $host in
  18927. *-*-mingw*)
  18928. # gcc leaves a trailing carriage return which upsets mingw
  18929. @@ -3954,9 +4775,9 @@
  18930. [\\/]* | ?:[\\/]*)
  18931. re_direlt='/[^/][^/]*/\.\./'
  18932. # Canonicalize the pathname of ld
  18933. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  18934. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  18935. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  18936. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  18937. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  18938. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  18939. done
  18940. test -z "$LD" && LD="$ac_prog"
  18941. ;;
  18942. @@ -3970,14 +4791,14 @@
  18943. ;;
  18944. esac
  18945. elif test "$with_gnu_ld" = yes; then
  18946. - { echo "$as_me:$LINENO: checking for GNU ld" >&5
  18947. -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  18948. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  18949. +$as_echo_n "checking for GNU ld... " >&6; }
  18950. else
  18951. - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  18952. -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  18953. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  18954. +$as_echo_n "checking for non-GNU ld... " >&6; }
  18955. fi
  18956. -if test "${lt_cv_path_LD+set}" = set; then
  18957. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18958. +if test "${lt_cv_path_LD+set}" = set; then :
  18959. + $as_echo_n "(cached) " >&6
  18960. else
  18961. if test -z "$LD"; then
  18962. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  18963. @@ -4007,19 +4828,17 @@
  18964. LD="$lt_cv_path_LD"
  18965. if test -n "$LD"; then
  18966. - { echo "$as_me:$LINENO: result: $LD" >&5
  18967. -echo "${ECHO_T}$LD" >&6; }
  18968. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  18969. +$as_echo "$LD" >&6; }
  18970. else
  18971. - { echo "$as_me:$LINENO: result: no" >&5
  18972. -echo "${ECHO_T}no" >&6; }
  18973. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18974. +$as_echo "no" >&6; }
  18975. fi
  18976. -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  18977. -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  18978. - { (exit 1); exit 1; }; }
  18979. -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  18980. -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  18981. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  18982. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18983. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  18984. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  18985. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  18986. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  18987. + $as_echo_n "(cached) " >&6
  18988. else
  18989. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  18990. case `$LD -v 2>&1 </dev/null` in
  18991. @@ -4031,40 +4850,22 @@
  18992. ;;
  18993. esac
  18994. fi
  18995. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  18996. -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  18997. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  18998. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  18999. with_gnu_ld=$lt_cv_prog_gnu_ld
  19000. -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  19001. -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  19002. -if test "${lt_cv_ld_reload_flag+set}" = set; then
  19003. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19004. -else
  19005. - lt_cv_ld_reload_flag='-r'
  19006. -fi
  19007. -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  19008. -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  19009. -reload_flag=$lt_cv_ld_reload_flag
  19010. -case $reload_flag in
  19011. -"" | " "*) ;;
  19012. -*) reload_flag=" $reload_flag" ;;
  19013. -esac
  19014. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  19015. -case $host_os in
  19016. - darwin*)
  19017. - if test "$GCC" = yes; then
  19018. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  19019. - else
  19020. - reload_cmds='$LD$reload_flag -o $output$reload_objs'
  19021. - fi
  19022. - ;;
  19023. -esac
  19024. -{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  19025. -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
  19026. -if test "${lt_cv_path_NM+set}" = set; then
  19027. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19028. +
  19029. +
  19030. +
  19031. +
  19032. +
  19033. +
  19034. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  19035. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  19036. +if test "${lt_cv_path_NM+set}" = set; then :
  19037. + $as_echo_n "(cached) " >&6
  19038. else
  19039. if test -n "$NM"; then
  19040. # Let the user override the test.
  19041. @@ -4107,644 +4908,394 @@
  19042. done
  19043. IFS="$lt_save_ifs"
  19044. done
  19045. - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  19046. + : ${lt_cv_path_NM=no}
  19047. fi
  19048. fi
  19049. -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  19050. -echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  19051. -NM="$lt_cv_path_NM"
  19052. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  19053. +$as_echo "$lt_cv_path_NM" >&6; }
  19054. +if test "$lt_cv_path_NM" != "no"; then
  19055. + NM="$lt_cv_path_NM"
  19056. +else
  19057. + # Didn't find any BSD compatible name lister, look for dumpbin.
  19058. + if test -n "$ac_tool_prefix"; then
  19059. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  19060. + do
  19061. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  19062. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  19063. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19064. +$as_echo_n "checking for $ac_word... " >&6; }
  19065. +if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  19066. + $as_echo_n "(cached) " >&6
  19067. +else
  19068. + if test -n "$DUMPBIN"; then
  19069. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  19070. +else
  19071. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19072. +for as_dir in $PATH
  19073. +do
  19074. + IFS=$as_save_IFS
  19075. + test -z "$as_dir" && as_dir=.
  19076. + for ac_exec_ext in '' $ac_executable_extensions; do
  19077. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19078. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  19079. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19080. + break 2
  19081. + fi
  19082. +done
  19083. + done
  19084. +IFS=$as_save_IFS
  19085. -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
  19086. -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  19087. -LN_S=$as_ln_s
  19088. -if test "$LN_S" = "ln -s"; then
  19089. - { echo "$as_me:$LINENO: result: yes" >&5
  19090. -echo "${ECHO_T}yes" >&6; }
  19091. +fi
  19092. +fi
  19093. +DUMPBIN=$ac_cv_prog_DUMPBIN
  19094. +if test -n "$DUMPBIN"; then
  19095. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  19096. +$as_echo "$DUMPBIN" >&6; }
  19097. else
  19098. - { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  19099. -echo "${ECHO_T}no, using $LN_S" >&6; }
  19100. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19101. +$as_echo "no" >&6; }
  19102. fi
  19103. -{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  19104. -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
  19105. -if test "${lt_cv_deplibs_check_method+set}" = set; then
  19106. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19107. -else
  19108. - lt_cv_file_magic_cmd='$MAGIC_CMD'
  19109. -lt_cv_file_magic_test_file=
  19110. -lt_cv_deplibs_check_method='unknown'
  19111. -# Need to set the preceding variable on all platforms that support
  19112. -# interlibrary dependencies.
  19113. -# 'none' -- dependencies not supported.
  19114. -# `unknown' -- same as none, but documents that we really don't know.
  19115. -# 'pass_all' -- all dependencies passed with no checks.
  19116. -# 'test_compile' -- check by making test program.
  19117. -# 'file_magic [[regex]]' -- check by looking for files in library path
  19118. -# which responds to the $file_magic_cmd with a given extended regex.
  19119. -# If you have `file' or equivalent on your system and you're not sure
  19120. -# whether `pass_all' will *always* work, you probably want this one.
  19121. -case $host_os in
  19122. -aix[4-9]*)
  19123. - lt_cv_deplibs_check_method=pass_all
  19124. - ;;
  19125. + test -n "$DUMPBIN" && break
  19126. + done
  19127. +fi
  19128. +if test -z "$DUMPBIN"; then
  19129. + ac_ct_DUMPBIN=$DUMPBIN
  19130. + for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  19131. +do
  19132. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  19133. +set dummy $ac_prog; ac_word=$2
  19134. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19135. +$as_echo_n "checking for $ac_word... " >&6; }
  19136. +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  19137. + $as_echo_n "(cached) " >&6
  19138. +else
  19139. + if test -n "$ac_ct_DUMPBIN"; then
  19140. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  19141. +else
  19142. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19143. +for as_dir in $PATH
  19144. +do
  19145. + IFS=$as_save_IFS
  19146. + test -z "$as_dir" && as_dir=.
  19147. + for ac_exec_ext in '' $ac_executable_extensions; do
  19148. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19149. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  19150. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19151. + break 2
  19152. + fi
  19153. +done
  19154. + done
  19155. +IFS=$as_save_IFS
  19156. -beos*)
  19157. - lt_cv_deplibs_check_method=pass_all
  19158. - ;;
  19159. +fi
  19160. +fi
  19161. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  19162. +if test -n "$ac_ct_DUMPBIN"; then
  19163. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  19164. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  19165. +else
  19166. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19167. +$as_echo "no" >&6; }
  19168. +fi
  19169. -bsdi[45]*)
  19170. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  19171. - lt_cv_file_magic_cmd='/usr/bin/file -L'
  19172. - lt_cv_file_magic_test_file=/shlib/libc.so
  19173. - ;;
  19174. -cygwin*)
  19175. - # func_win32_libid is a shell function defined in ltmain.sh
  19176. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  19177. - lt_cv_file_magic_cmd='func_win32_libid'
  19178. - ;;
  19179. + test -n "$ac_ct_DUMPBIN" && break
  19180. +done
  19181. -mingw* | pw32*)
  19182. - # Base MSYS/MinGW do not provide the 'file' command needed by
  19183. - # func_win32_libid shell function, so use a weaker test based on 'objdump',
  19184. - # unless we find 'file', for example because we are cross-compiling.
  19185. - if ( file / ) >/dev/null 2>&1; then
  19186. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  19187. - lt_cv_file_magic_cmd='func_win32_libid'
  19188. + if test "x$ac_ct_DUMPBIN" = x; then
  19189. + DUMPBIN=":"
  19190. else
  19191. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  19192. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  19193. + case $cross_compiling:$ac_tool_warned in
  19194. +yes:)
  19195. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  19196. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  19197. +ac_tool_warned=yes ;;
  19198. +esac
  19199. + DUMPBIN=$ac_ct_DUMPBIN
  19200. fi
  19201. - ;;
  19202. +fi
  19203. -darwin* | rhapsody*)
  19204. - lt_cv_deplibs_check_method=pass_all
  19205. - ;;
  19206. -freebsd* | dragonfly*)
  19207. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  19208. - case $host_cpu in
  19209. - i*86 )
  19210. - # Not sure whether the presence of OpenBSD here was a mistake.
  19211. - # Let's accept both of them until this is cleared up.
  19212. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  19213. - lt_cv_file_magic_cmd=/usr/bin/file
  19214. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  19215. - ;;
  19216. - esac
  19217. - else
  19218. - lt_cv_deplibs_check_method=pass_all
  19219. + if test "$DUMPBIN" != ":"; then
  19220. + NM="$DUMPBIN"
  19221. fi
  19222. - ;;
  19223. +fi
  19224. +test -z "$NM" && NM=nm
  19225. -gnu*)
  19226. - lt_cv_deplibs_check_method=pass_all
  19227. - ;;
  19228. -hpux10.20* | hpux11*)
  19229. - lt_cv_file_magic_cmd=/usr/bin/file
  19230. - case $host_cpu in
  19231. - ia64*)
  19232. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  19233. - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  19234. - ;;
  19235. - hppa*64*)
  19236. - 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]'
  19237. - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  19238. - ;;
  19239. - *)
  19240. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  19241. - lt_cv_file_magic_test_file=/usr/lib/libc.sl
  19242. - ;;
  19243. - esac
  19244. - ;;
  19245. -interix[3-9]*)
  19246. - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  19247. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  19248. - ;;
  19249. -irix5* | irix6* | nonstopux*)
  19250. - case $LD in
  19251. - *-32|*"-32 ") libmagic=32-bit;;
  19252. - *-n32|*"-n32 ") libmagic=N32;;
  19253. - *-64|*"-64 ") libmagic=64-bit;;
  19254. - *) libmagic=never-match;;
  19255. - esac
  19256. - lt_cv_deplibs_check_method=pass_all
  19257. - ;;
  19258. -# This must be Linux ELF.
  19259. -linux* | k*bsd*-gnu)
  19260. - lt_cv_deplibs_check_method=pass_all
  19261. - ;;
  19262. -netbsd* | netbsdelf*-gnu)
  19263. - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  19264. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  19265. - else
  19266. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  19267. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  19268. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  19269. +if test "${lt_cv_nm_interface+set}" = set; then :
  19270. + $as_echo_n "(cached) " >&6
  19271. +else
  19272. + lt_cv_nm_interface="BSD nm"
  19273. + echo "int some_variable = 0;" > conftest.$ac_ext
  19274. + (eval echo "\"\$as_me:5039: $ac_compile\"" >&5)
  19275. + (eval "$ac_compile" 2>conftest.err)
  19276. + cat conftest.err >&5
  19277. + (eval echo "\"\$as_me:5042: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  19278. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  19279. + cat conftest.err >&5
  19280. + (eval echo "\"\$as_me:5045: output\"" >&5)
  19281. + cat conftest.out >&5
  19282. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  19283. + lt_cv_nm_interface="MS dumpbin"
  19284. fi
  19285. - ;;
  19286. + rm -f conftest*
  19287. +fi
  19288. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  19289. +$as_echo "$lt_cv_nm_interface" >&6; }
  19290. -newos6*)
  19291. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  19292. - lt_cv_file_magic_cmd=/usr/bin/file
  19293. - lt_cv_file_magic_test_file=/usr/lib/libnls.so
  19294. - ;;
  19295. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  19296. +$as_echo_n "checking whether ln -s works... " >&6; }
  19297. +LN_S=$as_ln_s
  19298. +if test "$LN_S" = "ln -s"; then
  19299. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19300. +$as_echo "yes" >&6; }
  19301. +else
  19302. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  19303. +$as_echo "no, using $LN_S" >&6; }
  19304. +fi
  19305. -nto-qnx*)
  19306. - lt_cv_deplibs_check_method=unknown
  19307. - ;;
  19308. +# find the maximum length of command line arguments
  19309. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  19310. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  19311. +if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  19312. + $as_echo_n "(cached) " >&6
  19313. +else
  19314. + i=0
  19315. + teststring="ABCD"
  19316. -openbsd*)
  19317. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  19318. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  19319. - else
  19320. - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  19321. - fi
  19322. - ;;
  19323. + case $build_os in
  19324. + msdosdjgpp*)
  19325. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  19326. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  19327. + # during glob expansion). Even if it were fixed, the result of this
  19328. + # check would be larger than it should be.
  19329. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  19330. + ;;
  19331. -osf3* | osf4* | osf5*)
  19332. - lt_cv_deplibs_check_method=pass_all
  19333. - ;;
  19334. + gnu*)
  19335. + # Under GNU Hurd, this test is not required because there is
  19336. + # no limit to the length of command line arguments.
  19337. + # Libtool will interpret -1 as no limit whatsoever
  19338. + lt_cv_sys_max_cmd_len=-1;
  19339. + ;;
  19340. -rdos*)
  19341. - lt_cv_deplibs_check_method=pass_all
  19342. - ;;
  19343. + cygwin* | mingw* | cegcc*)
  19344. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  19345. + # about 5 minutes as the teststring grows exponentially.
  19346. + # Worse, since 9x/ME are not pre-emptively multitasking,
  19347. + # you end up with a "frozen" computer, even though with patience
  19348. + # the test eventually succeeds (with a max line length of 256k).
  19349. + # Instead, let's just punt: use the minimum linelength reported by
  19350. + # all of the supported platforms: 8192 (on NT/2K/XP).
  19351. + lt_cv_sys_max_cmd_len=8192;
  19352. + ;;
  19353. -solaris*)
  19354. - lt_cv_deplibs_check_method=pass_all
  19355. - ;;
  19356. + amigaos*)
  19357. + # On AmigaOS with pdksh, this test takes hours, literally.
  19358. + # So we just punt and use a minimum line length of 8192.
  19359. + lt_cv_sys_max_cmd_len=8192;
  19360. + ;;
  19361. -sysv4 | sysv4.3*)
  19362. - case $host_vendor in
  19363. - motorola)
  19364. - 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]'
  19365. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  19366. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  19367. + # This has been around since 386BSD, at least. Likely further.
  19368. + if test -x /sbin/sysctl; then
  19369. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  19370. + elif test -x /usr/sbin/sysctl; then
  19371. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  19372. + else
  19373. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  19374. + fi
  19375. + # And add a safety zone
  19376. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  19377. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  19378. ;;
  19379. - ncr)
  19380. - lt_cv_deplibs_check_method=pass_all
  19381. +
  19382. + interix*)
  19383. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  19384. + lt_cv_sys_max_cmd_len=196608
  19385. ;;
  19386. - sequent)
  19387. - lt_cv_file_magic_cmd='/bin/file'
  19388. - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  19389. +
  19390. + osf*)
  19391. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  19392. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  19393. + # nice to cause kernel panics so lets avoid the loop below.
  19394. + # First set a reasonable default.
  19395. + lt_cv_sys_max_cmd_len=16384
  19396. + #
  19397. + if test -x /sbin/sysconfig; then
  19398. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  19399. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  19400. + esac
  19401. + fi
  19402. ;;
  19403. - sni)
  19404. - lt_cv_file_magic_cmd='/bin/file'
  19405. - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  19406. - lt_cv_file_magic_test_file=/lib/libc.so
  19407. + sco3.2v5*)
  19408. + lt_cv_sys_max_cmd_len=102400
  19409. ;;
  19410. - siemens)
  19411. - lt_cv_deplibs_check_method=pass_all
  19412. + sysv5* | sco5v6* | sysv4.2uw2*)
  19413. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  19414. + if test -n "$kargmax"; then
  19415. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  19416. + else
  19417. + lt_cv_sys_max_cmd_len=32768
  19418. + fi
  19419. ;;
  19420. - pc)
  19421. - lt_cv_deplibs_check_method=pass_all
  19422. + *)
  19423. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  19424. + if test -n "$lt_cv_sys_max_cmd_len"; then
  19425. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  19426. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  19427. + else
  19428. + # Make teststring a little bigger before we do anything with it.
  19429. + # a 1K string should be a reasonable start.
  19430. + for i in 1 2 3 4 5 6 7 8 ; do
  19431. + teststring=$teststring$teststring
  19432. + done
  19433. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  19434. + # If test is not a shell built-in, we'll probably end up computing a
  19435. + # maximum length that is only half of the actual maximum length, but
  19436. + # we can't tell.
  19437. + while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  19438. + = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  19439. + test $i != 17 # 1/2 MB should be enough
  19440. + do
  19441. + i=`expr $i + 1`
  19442. + teststring=$teststring$teststring
  19443. + done
  19444. + # Only check the string length outside the loop.
  19445. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  19446. + teststring=
  19447. + # Add a significant safety factor because C++ compilers can tack on
  19448. + # massive amounts of additional arguments before passing them to the
  19449. + # linker. It appears as though 1/2 is a usable value.
  19450. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  19451. + fi
  19452. ;;
  19453. esac
  19454. - ;;
  19455. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  19456. - lt_cv_deplibs_check_method=pass_all
  19457. - ;;
  19458. -esac
  19459. +fi
  19460. +if test -n $lt_cv_sys_max_cmd_len ; then
  19461. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  19462. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  19463. +else
  19464. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  19465. +$as_echo "none" >&6; }
  19466. fi
  19467. -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  19468. -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  19469. -file_magic_cmd=$lt_cv_file_magic_cmd
  19470. -deplibs_check_method=$lt_cv_deplibs_check_method
  19471. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  19472. +max_cmd_len=$lt_cv_sys_max_cmd_len
  19473. -# If no C compiler was specified, use CC.
  19474. -LTCC=${LTCC-"$CC"}
  19475. -# If no C compiler flags were specified, use CFLAGS.
  19476. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  19477. -# Allow CC to be a program name with arguments.
  19478. -compiler=$CC
  19479. +: ${CP="cp -f"}
  19480. +: ${MV="mv -f"}
  19481. +: ${RM="rm -f"}
  19482. +
  19483. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  19484. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  19485. +# Try some XSI features
  19486. +xsi_shell=no
  19487. +( _lt_dummy="a/b/c"
  19488. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  19489. + = c,a/b,, \
  19490. + && eval 'test $(( 1 + 1 )) -eq 2 \
  19491. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  19492. + && xsi_shell=yes
  19493. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  19494. +$as_echo "$xsi_shell" >&6; }
  19495. +
  19496. +
  19497. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  19498. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  19499. +lt_shell_append=no
  19500. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  19501. + >/dev/null 2>&1 \
  19502. + && lt_shell_append=yes
  19503. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  19504. +$as_echo "$lt_shell_append" >&6; }
  19505. -# Check whether --enable-libtool-lock was given.
  19506. -if test "${enable_libtool_lock+set}" = set; then
  19507. - enableval=$enable_libtool_lock;
  19508. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  19509. + lt_unset=unset
  19510. +else
  19511. + lt_unset=false
  19512. fi
  19513. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  19514. -# Some flags need to be propagated to the compiler or linker for good
  19515. -# libtool support.
  19516. -case $host in
  19517. -ia64-*-hpux*)
  19518. - # Find out which ABI we are using.
  19519. - echo 'int i;' > conftest.$ac_ext
  19520. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  19521. - (eval $ac_compile) 2>&5
  19522. - ac_status=$?
  19523. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19524. - (exit $ac_status); }; then
  19525. - case `/usr/bin/file conftest.$ac_objext` in
  19526. - *ELF-32*)
  19527. - HPUX_IA64_MODE="32"
  19528. - ;;
  19529. - *ELF-64*)
  19530. - HPUX_IA64_MODE="64"
  19531. - ;;
  19532. - esac
  19533. - fi
  19534. - rm -rf conftest*
  19535. +
  19536. +
  19537. +
  19538. +# test EBCDIC or ASCII
  19539. +case `echo X|tr X '\101'` in
  19540. + A) # ASCII based system
  19541. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  19542. + lt_SP2NL='tr \040 \012'
  19543. + lt_NL2SP='tr \015\012 \040\040'
  19544. ;;
  19545. -*-*-irix6*)
  19546. - # Find out which ABI we are using.
  19547. - echo '#line 4364 "configure"' > conftest.$ac_ext
  19548. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  19549. - (eval $ac_compile) 2>&5
  19550. - ac_status=$?
  19551. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19552. - (exit $ac_status); }; then
  19553. - if test "$lt_cv_prog_gnu_ld" = yes; then
  19554. - case `/usr/bin/file conftest.$ac_objext` in
  19555. - *32-bit*)
  19556. - LD="${LD-ld} -melf32bsmip"
  19557. - ;;
  19558. - *N32*)
  19559. - LD="${LD-ld} -melf32bmipn32"
  19560. - ;;
  19561. - *64-bit*)
  19562. - LD="${LD-ld} -melf64bmip"
  19563. - ;;
  19564. - esac
  19565. - else
  19566. - case `/usr/bin/file conftest.$ac_objext` in
  19567. - *32-bit*)
  19568. - LD="${LD-ld} -32"
  19569. - ;;
  19570. - *N32*)
  19571. - LD="${LD-ld} -n32"
  19572. - ;;
  19573. - *64-bit*)
  19574. - LD="${LD-ld} -64"
  19575. - ;;
  19576. - esac
  19577. - fi
  19578. - fi
  19579. - rm -rf conftest*
  19580. + *) # EBCDIC based system
  19581. + lt_SP2NL='tr \100 \n'
  19582. + lt_NL2SP='tr \r\n \100\100'
  19583. ;;
  19584. +esac
  19585. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  19586. -s390*-*linux*|sparc*-*linux*)
  19587. - # Find out which ABI we are using.
  19588. - echo 'int i;' > conftest.$ac_ext
  19589. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  19590. - (eval $ac_compile) 2>&5
  19591. - ac_status=$?
  19592. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19593. - (exit $ac_status); }; then
  19594. - case `/usr/bin/file conftest.o` in
  19595. - *32-bit*)
  19596. - case $host in
  19597. - x86_64-*kfreebsd*-gnu)
  19598. - LD="${LD-ld} -m elf_i386_fbsd"
  19599. - ;;
  19600. - x86_64-*linux*)
  19601. - LD="${LD-ld} -m elf_i386"
  19602. - ;;
  19603. - ppc64-*linux*|powerpc64-*linux*)
  19604. - LD="${LD-ld} -m elf32ppclinux"
  19605. - ;;
  19606. - s390x-*linux*)
  19607. - LD="${LD-ld} -m elf_s390"
  19608. - ;;
  19609. - sparc64-*linux*)
  19610. - LD="${LD-ld} -m elf32_sparc"
  19611. - ;;
  19612. - esac
  19613. - ;;
  19614. - *64-bit*)
  19615. - case $host in
  19616. - x86_64-*kfreebsd*-gnu)
  19617. - LD="${LD-ld} -m elf_x86_64_fbsd"
  19618. - ;;
  19619. - x86_64-*linux*)
  19620. - LD="${LD-ld} -m elf_x86_64"
  19621. - ;;
  19622. - ppc*-*linux*|powerpc*-*linux*)
  19623. - LD="${LD-ld} -m elf64ppc"
  19624. - ;;
  19625. - s390*-*linux*)
  19626. - LD="${LD-ld} -m elf64_s390"
  19627. - ;;
  19628. - sparc*-*linux*)
  19629. - LD="${LD-ld} -m elf64_sparc"
  19630. - ;;
  19631. - esac
  19632. - ;;
  19633. - esac
  19634. - fi
  19635. - rm -rf conftest*
  19636. - ;;
  19637. -*-*-sco3.2v5*)
  19638. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  19639. - SAVE_CFLAGS="$CFLAGS"
  19640. - CFLAGS="$CFLAGS -belf"
  19641. - { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  19642. -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  19643. -if test "${lt_cv_cc_needs_belf+set}" = set; then
  19644. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19645. -else
  19646. - ac_ext=c
  19647. -ac_cpp='$CPP $CPPFLAGS'
  19648. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  19649. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  19650. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  19651. - cat >conftest.$ac_ext <<_ACEOF
  19652. -/* confdefs.h. */
  19653. -_ACEOF
  19654. -cat confdefs.h >>conftest.$ac_ext
  19655. -cat >>conftest.$ac_ext <<_ACEOF
  19656. -/* end confdefs.h. */
  19657. -int
  19658. -main ()
  19659. -{
  19660. - ;
  19661. - return 0;
  19662. -}
  19663. -_ACEOF
  19664. -rm -f conftest.$ac_objext conftest$ac_exeext
  19665. -if { (ac_try="$ac_link"
  19666. -case "(($ac_try" in
  19667. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19668. - *) ac_try_echo=$ac_try;;
  19669. -esac
  19670. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19671. - (eval "$ac_link") 2>conftest.er1
  19672. - ac_status=$?
  19673. - grep -v '^ *+' conftest.er1 >conftest.err
  19674. - rm -f conftest.er1
  19675. - cat conftest.err >&5
  19676. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19677. - (exit $ac_status); } && {
  19678. - test -z "$ac_c_werror_flag" ||
  19679. - test ! -s conftest.err
  19680. - } && test -s conftest$ac_exeext &&
  19681. - $as_test_x conftest$ac_exeext; then
  19682. - lt_cv_cc_needs_belf=yes
  19683. -else
  19684. - echo "$as_me: failed program was:" >&5
  19685. -sed 's/^/| /' conftest.$ac_ext >&5
  19686. - lt_cv_cc_needs_belf=no
  19687. -fi
  19688. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  19689. - conftest$ac_exeext conftest.$ac_ext
  19690. - ac_ext=c
  19691. -ac_cpp='$CPP $CPPFLAGS'
  19692. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  19693. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  19694. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  19695. -fi
  19696. -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  19697. -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  19698. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  19699. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  19700. - CFLAGS="$SAVE_CFLAGS"
  19701. - fi
  19702. - ;;
  19703. -sparc*-*solaris*)
  19704. - # Find out which ABI we are using.
  19705. - echo 'int i;' > conftest.$ac_ext
  19706. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  19707. - (eval $ac_compile) 2>&5
  19708. - ac_status=$?
  19709. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19710. - (exit $ac_status); }; then
  19711. - case `/usr/bin/file conftest.o` in
  19712. - *64-bit*)
  19713. - case $lt_cv_prog_gnu_ld in
  19714. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  19715. - *)
  19716. - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  19717. - LD="${LD-ld} -64"
  19718. - fi
  19719. - ;;
  19720. - esac
  19721. - ;;
  19722. - esac
  19723. - fi
  19724. - rm -rf conftest*
  19725. - ;;
  19726. -*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  19727. - if test -n "$ac_tool_prefix"; then
  19728. - # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  19729. -set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  19730. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  19731. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  19732. -if test "${ac_cv_prog_DLLTOOL+set}" = set; then
  19733. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19734. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  19735. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  19736. +if test "${lt_cv_ld_reload_flag+set}" = set; then :
  19737. + $as_echo_n "(cached) " >&6
  19738. else
  19739. - if test -n "$DLLTOOL"; then
  19740. - ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  19741. -else
  19742. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19743. -for as_dir in $PATH
  19744. -do
  19745. - IFS=$as_save_IFS
  19746. - test -z "$as_dir" && as_dir=.
  19747. - for ac_exec_ext in '' $ac_executable_extensions; do
  19748. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19749. - ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  19750. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19751. - break 2
  19752. - fi
  19753. -done
  19754. -done
  19755. -IFS=$as_save_IFS
  19756. -
  19757. -fi
  19758. -fi
  19759. -DLLTOOL=$ac_cv_prog_DLLTOOL
  19760. -if test -n "$DLLTOOL"; then
  19761. - { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
  19762. -echo "${ECHO_T}$DLLTOOL" >&6; }
  19763. -else
  19764. - { echo "$as_me:$LINENO: result: no" >&5
  19765. -echo "${ECHO_T}no" >&6; }
  19766. -fi
  19767. -
  19768. -
  19769. + lt_cv_ld_reload_flag='-r'
  19770. fi
  19771. -if test -z "$ac_cv_prog_DLLTOOL"; then
  19772. - ac_ct_DLLTOOL=$DLLTOOL
  19773. - # Extract the first word of "dlltool", so it can be a program name with args.
  19774. -set dummy dlltool; ac_word=$2
  19775. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  19776. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  19777. -if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
  19778. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19779. -else
  19780. - if test -n "$ac_ct_DLLTOOL"; then
  19781. - ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  19782. -else
  19783. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19784. -for as_dir in $PATH
  19785. -do
  19786. - IFS=$as_save_IFS
  19787. - test -z "$as_dir" && as_dir=.
  19788. - for ac_exec_ext in '' $ac_executable_extensions; do
  19789. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19790. - ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  19791. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19792. - break 2
  19793. - fi
  19794. -done
  19795. -done
  19796. -IFS=$as_save_IFS
  19797. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  19798. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  19799. +reload_flag=$lt_cv_ld_reload_flag
  19800. +case $reload_flag in
  19801. +"" | " "*) ;;
  19802. +*) reload_flag=" $reload_flag" ;;
  19803. +esac
  19804. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  19805. +case $host_os in
  19806. + darwin*)
  19807. + if test "$GCC" = yes; then
  19808. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  19809. + else
  19810. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  19811. + fi
  19812. + ;;
  19813. +esac
  19814. -fi
  19815. -fi
  19816. -ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  19817. -if test -n "$ac_ct_DLLTOOL"; then
  19818. - { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
  19819. -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
  19820. -else
  19821. - { echo "$as_me:$LINENO: result: no" >&5
  19822. -echo "${ECHO_T}no" >&6; }
  19823. -fi
  19824. - if test "x$ac_ct_DLLTOOL" = x; then
  19825. - DLLTOOL="false"
  19826. - else
  19827. - case $cross_compiling:$ac_tool_warned in
  19828. -yes:)
  19829. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  19830. -whose name does not start with the host triplet. If you think this
  19831. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  19832. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  19833. -whose name does not start with the host triplet. If you think this
  19834. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  19835. -ac_tool_warned=yes ;;
  19836. -esac
  19837. - DLLTOOL=$ac_ct_DLLTOOL
  19838. - fi
  19839. -else
  19840. - DLLTOOL="$ac_cv_prog_DLLTOOL"
  19841. -fi
  19842. - if test -n "$ac_tool_prefix"; then
  19843. - # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  19844. -set dummy ${ac_tool_prefix}as; ac_word=$2
  19845. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  19846. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  19847. -if test "${ac_cv_prog_AS+set}" = set; then
  19848. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19849. -else
  19850. - if test -n "$AS"; then
  19851. - ac_cv_prog_AS="$AS" # Let the user override the test.
  19852. -else
  19853. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19854. -for as_dir in $PATH
  19855. -do
  19856. - IFS=$as_save_IFS
  19857. - test -z "$as_dir" && as_dir=.
  19858. - for ac_exec_ext in '' $ac_executable_extensions; do
  19859. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19860. - ac_cv_prog_AS="${ac_tool_prefix}as"
  19861. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19862. - break 2
  19863. - fi
  19864. -done
  19865. -done
  19866. -IFS=$as_save_IFS
  19867. -fi
  19868. -fi
  19869. -AS=$ac_cv_prog_AS
  19870. -if test -n "$AS"; then
  19871. - { echo "$as_me:$LINENO: result: $AS" >&5
  19872. -echo "${ECHO_T}$AS" >&6; }
  19873. -else
  19874. - { echo "$as_me:$LINENO: result: no" >&5
  19875. -echo "${ECHO_T}no" >&6; }
  19876. -fi
  19877. -fi
  19878. -if test -z "$ac_cv_prog_AS"; then
  19879. - ac_ct_AS=$AS
  19880. - # Extract the first word of "as", so it can be a program name with args.
  19881. -set dummy as; ac_word=$2
  19882. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  19883. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  19884. -if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
  19885. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19886. -else
  19887. - if test -n "$ac_ct_AS"; then
  19888. - ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  19889. -else
  19890. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19891. -for as_dir in $PATH
  19892. -do
  19893. - IFS=$as_save_IFS
  19894. - test -z "$as_dir" && as_dir=.
  19895. - for ac_exec_ext in '' $ac_executable_extensions; do
  19896. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19897. - ac_cv_prog_ac_ct_AS="as"
  19898. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19899. - break 2
  19900. - fi
  19901. -done
  19902. -done
  19903. -IFS=$as_save_IFS
  19904. -fi
  19905. -fi
  19906. -ac_ct_AS=$ac_cv_prog_ac_ct_AS
  19907. -if test -n "$ac_ct_AS"; then
  19908. - { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
  19909. -echo "${ECHO_T}$ac_ct_AS" >&6; }
  19910. -else
  19911. - { echo "$as_me:$LINENO: result: no" >&5
  19912. -echo "${ECHO_T}no" >&6; }
  19913. -fi
  19914. - if test "x$ac_ct_AS" = x; then
  19915. - AS="false"
  19916. - else
  19917. - case $cross_compiling:$ac_tool_warned in
  19918. -yes:)
  19919. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  19920. -whose name does not start with the host triplet. If you think this
  19921. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  19922. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  19923. -whose name does not start with the host triplet. If you think this
  19924. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  19925. -ac_tool_warned=yes ;;
  19926. -esac
  19927. - AS=$ac_ct_AS
  19928. - fi
  19929. -else
  19930. - AS="$ac_cv_prog_AS"
  19931. -fi
  19932. - if test -n "$ac_tool_prefix"; then
  19933. +if test -n "$ac_tool_prefix"; then
  19934. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  19935. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  19936. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  19937. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  19938. -if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  19939. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19940. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19941. +$as_echo_n "checking for $ac_word... " >&6; }
  19942. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  19943. + $as_echo_n "(cached) " >&6
  19944. else
  19945. if test -n "$OBJDUMP"; then
  19946. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  19947. @@ -4754,25 +5305,25 @@
  19948. do
  19949. IFS=$as_save_IFS
  19950. test -z "$as_dir" && as_dir=.
  19951. - for ac_exec_ext in '' $ac_executable_extensions; do
  19952. + for ac_exec_ext in '' $ac_executable_extensions; do
  19953. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19954. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  19955. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19956. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19957. break 2
  19958. fi
  19959. done
  19960. -done
  19961. + done
  19962. IFS=$as_save_IFS
  19963. fi
  19964. fi
  19965. OBJDUMP=$ac_cv_prog_OBJDUMP
  19966. if test -n "$OBJDUMP"; then
  19967. - { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  19968. -echo "${ECHO_T}$OBJDUMP" >&6; }
  19969. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  19970. +$as_echo "$OBJDUMP" >&6; }
  19971. else
  19972. - { echo "$as_me:$LINENO: result: no" >&5
  19973. -echo "${ECHO_T}no" >&6; }
  19974. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19975. +$as_echo "no" >&6; }
  19976. fi
  19977. @@ -4781,10 +5332,10 @@
  19978. ac_ct_OBJDUMP=$OBJDUMP
  19979. # Extract the first word of "objdump", so it can be a program name with args.
  19980. set dummy objdump; ac_word=$2
  19981. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  19982. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  19983. -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  19984. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19985. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19986. +$as_echo_n "checking for $ac_word... " >&6; }
  19987. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  19988. + $as_echo_n "(cached) " >&6
  19989. else
  19990. if test -n "$ac_ct_OBJDUMP"; then
  19991. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  19992. @@ -4794,25 +5345,25 @@
  19993. do
  19994. IFS=$as_save_IFS
  19995. test -z "$as_dir" && as_dir=.
  19996. - for ac_exec_ext in '' $ac_executable_extensions; do
  19997. + for ac_exec_ext in '' $ac_executable_extensions; do
  19998. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19999. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  20000. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  20001. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20002. break 2
  20003. fi
  20004. done
  20005. -done
  20006. + done
  20007. IFS=$as_save_IFS
  20008. fi
  20009. fi
  20010. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  20011. if test -n "$ac_ct_OBJDUMP"; then
  20012. - { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  20013. -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
  20014. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  20015. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  20016. else
  20017. - { echo "$as_me:$LINENO: result: no" >&5
  20018. -echo "${ECHO_T}no" >&6; }
  20019. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20020. +$as_echo "no" >&6; }
  20021. fi
  20022. if test "x$ac_ct_OBJDUMP" = x; then
  20023. @@ -4820,12 +5371,8 @@
  20024. else
  20025. case $cross_compiling:$ac_tool_warned in
  20026. yes:)
  20027. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  20028. -whose name does not start with the host triplet. If you think this
  20029. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  20030. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  20031. -whose name does not start with the host triplet. If you think this
  20032. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  20033. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20034. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20035. ac_tool_warned=yes ;;
  20036. esac
  20037. OBJDUMP=$ac_ct_OBJDUMP
  20038. @@ -4834,419 +5381,217 @@
  20039. OBJDUMP="$ac_cv_prog_OBJDUMP"
  20040. fi
  20041. - ;;
  20042. -
  20043. -esac
  20044. +test -z "$OBJDUMP" && OBJDUMP=objdump
  20045. -need_locks="$enable_libtool_lock"
  20046. -ac_ext=c
  20047. -ac_cpp='$CPP $CPPFLAGS'
  20048. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20049. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20050. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20051. -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  20052. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  20053. -# On Suns, sometimes $CPP names a directory.
  20054. -if test -n "$CPP" && test -d "$CPP"; then
  20055. - CPP=
  20056. -fi
  20057. -if test -z "$CPP"; then
  20058. - if test "${ac_cv_prog_CPP+set}" = set; then
  20059. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20060. -else
  20061. - # Double quotes because CPP needs to be expanded
  20062. - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  20063. - do
  20064. - ac_preproc_ok=false
  20065. -for ac_c_preproc_warn_flag in '' yes
  20066. -do
  20067. - # Use a header file that comes with gcc, so configuring glibc
  20068. - # with a fresh cross-compiler works.
  20069. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  20070. - # <limits.h> exists even on freestanding compilers.
  20071. - # On the NeXT, cc -E runs the code through the compiler's parser,
  20072. - # not just through cpp. "Syntax error" is here to catch this case.
  20073. - cat >conftest.$ac_ext <<_ACEOF
  20074. -/* confdefs.h. */
  20075. -_ACEOF
  20076. -cat confdefs.h >>conftest.$ac_ext
  20077. -cat >>conftest.$ac_ext <<_ACEOF
  20078. -/* end confdefs.h. */
  20079. -#ifdef __STDC__
  20080. -# include <limits.h>
  20081. -#else
  20082. -# include <assert.h>
  20083. -#endif
  20084. - Syntax error
  20085. -_ACEOF
  20086. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  20087. -case "(($ac_try" in
  20088. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20089. - *) ac_try_echo=$ac_try;;
  20090. -esac
  20091. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20092. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  20093. - ac_status=$?
  20094. - grep -v '^ *+' conftest.er1 >conftest.err
  20095. - rm -f conftest.er1
  20096. - cat conftest.err >&5
  20097. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20098. - (exit $ac_status); } >/dev/null && {
  20099. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  20100. - test ! -s conftest.err
  20101. - }; then
  20102. - :
  20103. -else
  20104. - echo "$as_me: failed program was:" >&5
  20105. -sed 's/^/| /' conftest.$ac_ext >&5
  20106. - # Broken: fails on valid input.
  20107. -continue
  20108. -fi
  20109. -rm -f conftest.err conftest.$ac_ext
  20110. - # OK, works on sane cases. Now check whether nonexistent headers
  20111. - # can be detected and how.
  20112. - cat >conftest.$ac_ext <<_ACEOF
  20113. -/* confdefs.h. */
  20114. -_ACEOF
  20115. -cat confdefs.h >>conftest.$ac_ext
  20116. -cat >>conftest.$ac_ext <<_ACEOF
  20117. -/* end confdefs.h. */
  20118. -#include <ac_nonexistent.h>
  20119. -_ACEOF
  20120. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  20121. -case "(($ac_try" in
  20122. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20123. - *) ac_try_echo=$ac_try;;
  20124. -esac
  20125. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20126. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  20127. - ac_status=$?
  20128. - grep -v '^ *+' conftest.er1 >conftest.err
  20129. - rm -f conftest.er1
  20130. - cat conftest.err >&5
  20131. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20132. - (exit $ac_status); } >/dev/null && {
  20133. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  20134. - test ! -s conftest.err
  20135. - }; then
  20136. - # Broken: success on invalid input.
  20137. -continue
  20138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  20139. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  20140. +if test "${lt_cv_deplibs_check_method+set}" = set; then :
  20141. + $as_echo_n "(cached) " >&6
  20142. else
  20143. - echo "$as_me: failed program was:" >&5
  20144. -sed 's/^/| /' conftest.$ac_ext >&5
  20145. -
  20146. - # Passes both tests.
  20147. -ac_preproc_ok=:
  20148. -break
  20149. -fi
  20150. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  20151. +lt_cv_file_magic_test_file=
  20152. +lt_cv_deplibs_check_method='unknown'
  20153. +# Need to set the preceding variable on all platforms that support
  20154. +# interlibrary dependencies.
  20155. +# 'none' -- dependencies not supported.
  20156. +# `unknown' -- same as none, but documents that we really don't know.
  20157. +# 'pass_all' -- all dependencies passed with no checks.
  20158. +# 'test_compile' -- check by making test program.
  20159. +# 'file_magic [[regex]]' -- check by looking for files in library path
  20160. +# which responds to the $file_magic_cmd with a given extended regex.
  20161. +# If you have `file' or equivalent on your system and you're not sure
  20162. +# whether `pass_all' will *always* work, you probably want this one.
  20163. -rm -f conftest.err conftest.$ac_ext
  20164. +case $host_os in
  20165. +aix[4-9]*)
  20166. + lt_cv_deplibs_check_method=pass_all
  20167. + ;;
  20168. -done
  20169. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  20170. -rm -f conftest.err conftest.$ac_ext
  20171. -if $ac_preproc_ok; then
  20172. - break
  20173. -fi
  20174. +beos*)
  20175. + lt_cv_deplibs_check_method=pass_all
  20176. + ;;
  20177. - done
  20178. - ac_cv_prog_CPP=$CPP
  20179. +bsdi[45]*)
  20180. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  20181. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  20182. + lt_cv_file_magic_test_file=/shlib/libc.so
  20183. + ;;
  20184. -fi
  20185. - CPP=$ac_cv_prog_CPP
  20186. -else
  20187. - ac_cv_prog_CPP=$CPP
  20188. -fi
  20189. -{ echo "$as_me:$LINENO: result: $CPP" >&5
  20190. -echo "${ECHO_T}$CPP" >&6; }
  20191. -ac_preproc_ok=false
  20192. -for ac_c_preproc_warn_flag in '' yes
  20193. -do
  20194. - # Use a header file that comes with gcc, so configuring glibc
  20195. - # with a fresh cross-compiler works.
  20196. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  20197. - # <limits.h> exists even on freestanding compilers.
  20198. - # On the NeXT, cc -E runs the code through the compiler's parser,
  20199. - # not just through cpp. "Syntax error" is here to catch this case.
  20200. - cat >conftest.$ac_ext <<_ACEOF
  20201. -/* confdefs.h. */
  20202. -_ACEOF
  20203. -cat confdefs.h >>conftest.$ac_ext
  20204. -cat >>conftest.$ac_ext <<_ACEOF
  20205. -/* end confdefs.h. */
  20206. -#ifdef __STDC__
  20207. -# include <limits.h>
  20208. -#else
  20209. -# include <assert.h>
  20210. -#endif
  20211. - Syntax error
  20212. -_ACEOF
  20213. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  20214. -case "(($ac_try" in
  20215. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20216. - *) ac_try_echo=$ac_try;;
  20217. -esac
  20218. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20219. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  20220. - ac_status=$?
  20221. - grep -v '^ *+' conftest.er1 >conftest.err
  20222. - rm -f conftest.er1
  20223. - cat conftest.err >&5
  20224. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20225. - (exit $ac_status); } >/dev/null && {
  20226. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  20227. - test ! -s conftest.err
  20228. - }; then
  20229. - :
  20230. -else
  20231. - echo "$as_me: failed program was:" >&5
  20232. -sed 's/^/| /' conftest.$ac_ext >&5
  20233. +cygwin*)
  20234. + # func_win32_libid is a shell function defined in ltmain.sh
  20235. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  20236. + lt_cv_file_magic_cmd='func_win32_libid'
  20237. + ;;
  20238. - # Broken: fails on valid input.
  20239. -continue
  20240. -fi
  20241. +mingw* | pw32*)
  20242. + # Base MSYS/MinGW do not provide the 'file' command needed by
  20243. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  20244. + # unless we find 'file', for example because we are cross-compiling.
  20245. + if ( file / ) >/dev/null 2>&1; then
  20246. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  20247. + lt_cv_file_magic_cmd='func_win32_libid'
  20248. + else
  20249. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  20250. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  20251. + fi
  20252. + ;;
  20253. -rm -f conftest.err conftest.$ac_ext
  20254. +cegcc)
  20255. + # use the weaker test based on 'objdump'. See mingw*.
  20256. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  20257. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  20258. + ;;
  20259. - # OK, works on sane cases. Now check whether nonexistent headers
  20260. - # can be detected and how.
  20261. - cat >conftest.$ac_ext <<_ACEOF
  20262. -/* confdefs.h. */
  20263. -_ACEOF
  20264. -cat confdefs.h >>conftest.$ac_ext
  20265. -cat >>conftest.$ac_ext <<_ACEOF
  20266. -/* end confdefs.h. */
  20267. -#include <ac_nonexistent.h>
  20268. -_ACEOF
  20269. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  20270. -case "(($ac_try" in
  20271. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20272. - *) ac_try_echo=$ac_try;;
  20273. -esac
  20274. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20275. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  20276. - ac_status=$?
  20277. - grep -v '^ *+' conftest.er1 >conftest.err
  20278. - rm -f conftest.er1
  20279. - cat conftest.err >&5
  20280. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20281. - (exit $ac_status); } >/dev/null && {
  20282. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  20283. - test ! -s conftest.err
  20284. - }; then
  20285. - # Broken: success on invalid input.
  20286. -continue
  20287. -else
  20288. - echo "$as_me: failed program was:" >&5
  20289. -sed 's/^/| /' conftest.$ac_ext >&5
  20290. +darwin* | rhapsody*)
  20291. + lt_cv_deplibs_check_method=pass_all
  20292. + ;;
  20293. - # Passes both tests.
  20294. -ac_preproc_ok=:
  20295. -break
  20296. -fi
  20297. +freebsd* | dragonfly*)
  20298. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  20299. + case $host_cpu in
  20300. + i*86 )
  20301. + # Not sure whether the presence of OpenBSD here was a mistake.
  20302. + # Let's accept both of them until this is cleared up.
  20303. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  20304. + lt_cv_file_magic_cmd=/usr/bin/file
  20305. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  20306. + ;;
  20307. + esac
  20308. + else
  20309. + lt_cv_deplibs_check_method=pass_all
  20310. + fi
  20311. + ;;
  20312. -rm -f conftest.err conftest.$ac_ext
  20313. +gnu*)
  20314. + lt_cv_deplibs_check_method=pass_all
  20315. + ;;
  20316. -done
  20317. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  20318. -rm -f conftest.err conftest.$ac_ext
  20319. -if $ac_preproc_ok; then
  20320. - :
  20321. -else
  20322. - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  20323. -See \`config.log' for more details." >&5
  20324. -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  20325. -See \`config.log' for more details." >&2;}
  20326. - { (exit 1); exit 1; }; }
  20327. -fi
  20328. +hpux10.20* | hpux11*)
  20329. + lt_cv_file_magic_cmd=/usr/bin/file
  20330. + case $host_cpu in
  20331. + ia64*)
  20332. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  20333. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  20334. + ;;
  20335. + hppa*64*)
  20336. + 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]'
  20337. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  20338. + ;;
  20339. + *)
  20340. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  20341. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  20342. + ;;
  20343. + esac
  20344. + ;;
  20345. -ac_ext=c
  20346. -ac_cpp='$CPP $CPPFLAGS'
  20347. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20348. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20349. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  20350. +interix[3-9]*)
  20351. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  20352. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  20353. + ;;
  20354. +irix5* | irix6* | nonstopux*)
  20355. + case $LD in
  20356. + *-32|*"-32 ") libmagic=32-bit;;
  20357. + *-n32|*"-n32 ") libmagic=N32;;
  20358. + *-64|*"-64 ") libmagic=64-bit;;
  20359. + *) libmagic=never-match;;
  20360. + esac
  20361. + lt_cv_deplibs_check_method=pass_all
  20362. + ;;
  20363. -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  20364. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  20365. -if test "${ac_cv_header_stdc+set}" = set; then
  20366. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20367. -else
  20368. - cat >conftest.$ac_ext <<_ACEOF
  20369. -/* confdefs.h. */
  20370. -_ACEOF
  20371. -cat confdefs.h >>conftest.$ac_ext
  20372. -cat >>conftest.$ac_ext <<_ACEOF
  20373. -/* end confdefs.h. */
  20374. -#include <stdlib.h>
  20375. -#include <stdarg.h>
  20376. -#include <string.h>
  20377. -#include <float.h>
  20378. +# This must be Linux ELF.
  20379. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  20380. + lt_cv_deplibs_check_method=pass_all
  20381. + ;;
  20382. -int
  20383. -main ()
  20384. -{
  20385. +netbsd* | netbsdelf*-gnu)
  20386. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  20387. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  20388. + else
  20389. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  20390. + fi
  20391. + ;;
  20392. - ;
  20393. - return 0;
  20394. -}
  20395. -_ACEOF
  20396. -rm -f conftest.$ac_objext
  20397. -if { (ac_try="$ac_compile"
  20398. -case "(($ac_try" in
  20399. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20400. - *) ac_try_echo=$ac_try;;
  20401. -esac
  20402. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20403. - (eval "$ac_compile") 2>conftest.er1
  20404. - ac_status=$?
  20405. - grep -v '^ *+' conftest.er1 >conftest.err
  20406. - rm -f conftest.er1
  20407. - cat conftest.err >&5
  20408. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20409. - (exit $ac_status); } && {
  20410. - test -z "$ac_c_werror_flag" ||
  20411. - test ! -s conftest.err
  20412. - } && test -s conftest.$ac_objext; then
  20413. - ac_cv_header_stdc=yes
  20414. -else
  20415. - echo "$as_me: failed program was:" >&5
  20416. -sed 's/^/| /' conftest.$ac_ext >&5
  20417. +newos6*)
  20418. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  20419. + lt_cv_file_magic_cmd=/usr/bin/file
  20420. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  20421. + ;;
  20422. - ac_cv_header_stdc=no
  20423. -fi
  20424. +*nto* | *qnx*)
  20425. + lt_cv_deplibs_check_method=pass_all
  20426. + ;;
  20427. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20428. +openbsd*)
  20429. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  20430. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  20431. + else
  20432. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  20433. + fi
  20434. + ;;
  20435. -if test $ac_cv_header_stdc = yes; then
  20436. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  20437. - cat >conftest.$ac_ext <<_ACEOF
  20438. -/* confdefs.h. */
  20439. -_ACEOF
  20440. -cat confdefs.h >>conftest.$ac_ext
  20441. -cat >>conftest.$ac_ext <<_ACEOF
  20442. -/* end confdefs.h. */
  20443. -#include <string.h>
  20444. +osf3* | osf4* | osf5*)
  20445. + lt_cv_deplibs_check_method=pass_all
  20446. + ;;
  20447. -_ACEOF
  20448. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  20449. - $EGREP "memchr" >/dev/null 2>&1; then
  20450. - :
  20451. -else
  20452. - ac_cv_header_stdc=no
  20453. -fi
  20454. -rm -f conftest*
  20455. +rdos*)
  20456. + lt_cv_deplibs_check_method=pass_all
  20457. + ;;
  20458. -fi
  20459. +solaris*)
  20460. + lt_cv_deplibs_check_method=pass_all
  20461. + ;;
  20462. -if test $ac_cv_header_stdc = yes; then
  20463. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  20464. - cat >conftest.$ac_ext <<_ACEOF
  20465. -/* confdefs.h. */
  20466. -_ACEOF
  20467. -cat confdefs.h >>conftest.$ac_ext
  20468. -cat >>conftest.$ac_ext <<_ACEOF
  20469. -/* end confdefs.h. */
  20470. -#include <stdlib.h>
  20471. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  20472. + lt_cv_deplibs_check_method=pass_all
  20473. + ;;
  20474. -_ACEOF
  20475. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  20476. - $EGREP "free" >/dev/null 2>&1; then
  20477. - :
  20478. -else
  20479. - ac_cv_header_stdc=no
  20480. -fi
  20481. -rm -f conftest*
  20482. +sysv4 | sysv4.3*)
  20483. + case $host_vendor in
  20484. + motorola)
  20485. + 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]'
  20486. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  20487. + ;;
  20488. + ncr)
  20489. + lt_cv_deplibs_check_method=pass_all
  20490. + ;;
  20491. + sequent)
  20492. + lt_cv_file_magic_cmd='/bin/file'
  20493. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  20494. + ;;
  20495. + sni)
  20496. + lt_cv_file_magic_cmd='/bin/file'
  20497. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  20498. + lt_cv_file_magic_test_file=/lib/libc.so
  20499. + ;;
  20500. + siemens)
  20501. + lt_cv_deplibs_check_method=pass_all
  20502. + ;;
  20503. + pc)
  20504. + lt_cv_deplibs_check_method=pass_all
  20505. + ;;
  20506. + esac
  20507. + ;;
  20508. -fi
  20509. +tpf*)
  20510. + lt_cv_deplibs_check_method=pass_all
  20511. + ;;
  20512. +esac
  20513. -if test $ac_cv_header_stdc = yes; then
  20514. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  20515. - if test "$cross_compiling" = yes; then
  20516. - :
  20517. -else
  20518. - cat >conftest.$ac_ext <<_ACEOF
  20519. -/* confdefs.h. */
  20520. -_ACEOF
  20521. -cat confdefs.h >>conftest.$ac_ext
  20522. -cat >>conftest.$ac_ext <<_ACEOF
  20523. -/* end confdefs.h. */
  20524. -#include <ctype.h>
  20525. -#include <stdlib.h>
  20526. -#if ((' ' & 0x0FF) == 0x020)
  20527. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  20528. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  20529. -#else
  20530. -# define ISLOWER(c) \
  20531. - (('a' <= (c) && (c) <= 'i') \
  20532. - || ('j' <= (c) && (c) <= 'r') \
  20533. - || ('s' <= (c) && (c) <= 'z'))
  20534. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  20535. -#endif
  20536. -
  20537. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  20538. -int
  20539. -main ()
  20540. -{
  20541. - int i;
  20542. - for (i = 0; i < 256; i++)
  20543. - if (XOR (islower (i), ISLOWER (i))
  20544. - || toupper (i) != TOUPPER (i))
  20545. - return 2;
  20546. - return 0;
  20547. -}
  20548. -_ACEOF
  20549. -rm -f conftest$ac_exeext
  20550. -if { (ac_try="$ac_link"
  20551. -case "(($ac_try" in
  20552. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20553. - *) ac_try_echo=$ac_try;;
  20554. -esac
  20555. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20556. - (eval "$ac_link") 2>&5
  20557. - ac_status=$?
  20558. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20559. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  20560. - { (case "(($ac_try" in
  20561. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20562. - *) ac_try_echo=$ac_try;;
  20563. -esac
  20564. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20565. - (eval "$ac_try") 2>&5
  20566. - ac_status=$?
  20567. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20568. - (exit $ac_status); }; }; then
  20569. - :
  20570. -else
  20571. - echo "$as_me: program exited with status $ac_status" >&5
  20572. -echo "$as_me: failed program was:" >&5
  20573. -sed 's/^/| /' conftest.$ac_ext >&5
  20574. -
  20575. -( exit $ac_status )
  20576. -ac_cv_header_stdc=no
  20577. -fi
  20578. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  20579. fi
  20580. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  20581. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  20582. +file_magic_cmd=$lt_cv_file_magic_cmd
  20583. +deplibs_check_method=$lt_cv_deplibs_check_method
  20584. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  20585. -fi
  20586. -fi
  20587. -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  20588. -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  20589. -if test $ac_cv_header_stdc = yes; then
  20590. -
  20591. -cat >>confdefs.h <<\_ACEOF
  20592. -#define STDC_HEADERS 1
  20593. -_ACEOF
  20594. -
  20595. -fi
  20596. -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  20597. @@ -5256,1417 +5601,500 @@
  20598. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  20599. - inttypes.h stdint.h unistd.h
  20600. -do
  20601. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  20602. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  20603. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  20604. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  20605. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20606. +if test -n "$ac_tool_prefix"; then
  20607. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  20608. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  20609. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20610. +$as_echo_n "checking for $ac_word... " >&6; }
  20611. +if test "${ac_cv_prog_AR+set}" = set; then :
  20612. + $as_echo_n "(cached) " >&6
  20613. else
  20614. - cat >conftest.$ac_ext <<_ACEOF
  20615. -/* confdefs.h. */
  20616. -_ACEOF
  20617. -cat confdefs.h >>conftest.$ac_ext
  20618. -cat >>conftest.$ac_ext <<_ACEOF
  20619. -/* end confdefs.h. */
  20620. -$ac_includes_default
  20621. -
  20622. -#include <$ac_header>
  20623. -_ACEOF
  20624. -rm -f conftest.$ac_objext
  20625. -if { (ac_try="$ac_compile"
  20626. -case "(($ac_try" in
  20627. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20628. - *) ac_try_echo=$ac_try;;
  20629. -esac
  20630. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20631. - (eval "$ac_compile") 2>conftest.er1
  20632. - ac_status=$?
  20633. - grep -v '^ *+' conftest.er1 >conftest.err
  20634. - rm -f conftest.er1
  20635. - cat conftest.err >&5
  20636. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20637. - (exit $ac_status); } && {
  20638. - test -z "$ac_c_werror_flag" ||
  20639. - test ! -s conftest.err
  20640. - } && test -s conftest.$ac_objext; then
  20641. - eval "$as_ac_Header=yes"
  20642. + if test -n "$AR"; then
  20643. + ac_cv_prog_AR="$AR" # Let the user override the test.
  20644. else
  20645. - echo "$as_me: failed program was:" >&5
  20646. -sed 's/^/| /' conftest.$ac_ext >&5
  20647. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20648. +for as_dir in $PATH
  20649. +do
  20650. + IFS=$as_save_IFS
  20651. + test -z "$as_dir" && as_dir=.
  20652. + for ac_exec_ext in '' $ac_executable_extensions; do
  20653. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20654. + ac_cv_prog_AR="${ac_tool_prefix}ar"
  20655. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20656. + break 2
  20657. + fi
  20658. +done
  20659. + done
  20660. +IFS=$as_save_IFS
  20661. - eval "$as_ac_Header=no"
  20662. fi
  20663. -
  20664. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20665. fi
  20666. -ac_res=`eval echo '${'$as_ac_Header'}'`
  20667. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  20668. -echo "${ECHO_T}$ac_res" >&6; }
  20669. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  20670. - cat >>confdefs.h <<_ACEOF
  20671. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  20672. -_ACEOF
  20673. -
  20674. +AR=$ac_cv_prog_AR
  20675. +if test -n "$AR"; then
  20676. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  20677. +$as_echo "$AR" >&6; }
  20678. +else
  20679. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20680. +$as_echo "no" >&6; }
  20681. fi
  20682. -done
  20683. -
  20684. -
  20685. -for ac_header in dlfcn.h
  20686. -do
  20687. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  20688. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  20689. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  20690. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  20691. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  20692. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20693. -fi
  20694. -ac_res=`eval echo '${'$as_ac_Header'}'`
  20695. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  20696. -echo "${ECHO_T}$ac_res" >&6; }
  20697. +fi
  20698. +if test -z "$ac_cv_prog_AR"; then
  20699. + ac_ct_AR=$AR
  20700. + # Extract the first word of "ar", so it can be a program name with args.
  20701. +set dummy ar; ac_word=$2
  20702. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20703. +$as_echo_n "checking for $ac_word... " >&6; }
  20704. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  20705. + $as_echo_n "(cached) " >&6
  20706. else
  20707. - # Is the header compilable?
  20708. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  20709. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  20710. -cat >conftest.$ac_ext <<_ACEOF
  20711. -/* confdefs.h. */
  20712. -_ACEOF
  20713. -cat confdefs.h >>conftest.$ac_ext
  20714. -cat >>conftest.$ac_ext <<_ACEOF
  20715. -/* end confdefs.h. */
  20716. -$ac_includes_default
  20717. -#include <$ac_header>
  20718. -_ACEOF
  20719. -rm -f conftest.$ac_objext
  20720. -if { (ac_try="$ac_compile"
  20721. -case "(($ac_try" in
  20722. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20723. - *) ac_try_echo=$ac_try;;
  20724. -esac
  20725. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20726. - (eval "$ac_compile") 2>conftest.er1
  20727. - ac_status=$?
  20728. - grep -v '^ *+' conftest.er1 >conftest.err
  20729. - rm -f conftest.er1
  20730. - cat conftest.err >&5
  20731. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20732. - (exit $ac_status); } && {
  20733. - test -z "$ac_c_werror_flag" ||
  20734. - test ! -s conftest.err
  20735. - } && test -s conftest.$ac_objext; then
  20736. - ac_header_compiler=yes
  20737. + if test -n "$ac_ct_AR"; then
  20738. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  20739. else
  20740. - echo "$as_me: failed program was:" >&5
  20741. -sed 's/^/| /' conftest.$ac_ext >&5
  20742. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20743. +for as_dir in $PATH
  20744. +do
  20745. + IFS=$as_save_IFS
  20746. + test -z "$as_dir" && as_dir=.
  20747. + for ac_exec_ext in '' $ac_executable_extensions; do
  20748. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20749. + ac_cv_prog_ac_ct_AR="ar"
  20750. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20751. + break 2
  20752. + fi
  20753. +done
  20754. + done
  20755. +IFS=$as_save_IFS
  20756. - ac_header_compiler=no
  20757. +fi
  20758. +fi
  20759. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  20760. +if test -n "$ac_ct_AR"; then
  20761. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  20762. +$as_echo "$ac_ct_AR" >&6; }
  20763. +else
  20764. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20765. +$as_echo "no" >&6; }
  20766. fi
  20767. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20768. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  20769. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  20770. -
  20771. -# Is the header present?
  20772. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  20773. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  20774. -cat >conftest.$ac_ext <<_ACEOF
  20775. -/* confdefs.h. */
  20776. -_ACEOF
  20777. -cat confdefs.h >>conftest.$ac_ext
  20778. -cat >>conftest.$ac_ext <<_ACEOF
  20779. -/* end confdefs.h. */
  20780. -#include <$ac_header>
  20781. -_ACEOF
  20782. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  20783. -case "(($ac_try" in
  20784. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20785. - *) ac_try_echo=$ac_try;;
  20786. + if test "x$ac_ct_AR" = x; then
  20787. + AR="false"
  20788. + else
  20789. + case $cross_compiling:$ac_tool_warned in
  20790. +yes:)
  20791. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20792. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20793. +ac_tool_warned=yes ;;
  20794. esac
  20795. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20796. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  20797. - ac_status=$?
  20798. - grep -v '^ *+' conftest.er1 >conftest.err
  20799. - rm -f conftest.er1
  20800. - cat conftest.err >&5
  20801. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20802. - (exit $ac_status); } >/dev/null && {
  20803. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  20804. - test ! -s conftest.err
  20805. - }; then
  20806. - ac_header_preproc=yes
  20807. + AR=$ac_ct_AR
  20808. + fi
  20809. else
  20810. - echo "$as_me: failed program was:" >&5
  20811. -sed 's/^/| /' conftest.$ac_ext >&5
  20812. -
  20813. - ac_header_preproc=no
  20814. + AR="$ac_cv_prog_AR"
  20815. fi
  20816. -rm -f conftest.err conftest.$ac_ext
  20817. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  20818. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  20819. +test -z "$AR" && AR=ar
  20820. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  20821. -# So? What about this header?
  20822. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  20823. - yes:no: )
  20824. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  20825. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  20826. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  20827. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  20828. - ac_header_preproc=yes
  20829. - ;;
  20830. - no:yes:* )
  20831. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  20832. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  20833. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  20834. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  20835. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  20836. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  20837. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  20838. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  20839. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  20840. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  20841. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  20842. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  20843. - ;;
  20844. -esac
  20845. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  20846. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  20847. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  20848. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20849. -else
  20850. - eval "$as_ac_Header=\$ac_header_preproc"
  20851. -fi
  20852. -ac_res=`eval echo '${'$as_ac_Header'}'`
  20853. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  20854. -echo "${ECHO_T}$ac_res" >&6; }
  20855. -fi
  20856. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  20857. - cat >>confdefs.h <<_ACEOF
  20858. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  20859. -_ACEOF
  20860. -fi
  20861. -done
  20862. -ac_ext=cpp
  20863. -ac_cpp='$CXXCPP $CPPFLAGS'
  20864. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  20865. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  20866. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  20867. -if test -z "$CXX"; then
  20868. - if test -n "$CCC"; then
  20869. - CXX=$CCC
  20870. - else
  20871. - if test -n "$ac_tool_prefix"; then
  20872. - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  20873. - do
  20874. - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  20875. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  20876. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  20877. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  20878. -if test "${ac_cv_prog_CXX+set}" = set; then
  20879. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20880. +
  20881. +
  20882. +
  20883. +
  20884. +
  20885. +if test -n "$ac_tool_prefix"; then
  20886. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  20887. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  20888. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20889. +$as_echo_n "checking for $ac_word... " >&6; }
  20890. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  20891. + $as_echo_n "(cached) " >&6
  20892. else
  20893. - if test -n "$CXX"; then
  20894. - ac_cv_prog_CXX="$CXX" # Let the user override the test.
  20895. + if test -n "$STRIP"; then
  20896. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  20897. else
  20898. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20899. for as_dir in $PATH
  20900. do
  20901. IFS=$as_save_IFS
  20902. test -z "$as_dir" && as_dir=.
  20903. - for ac_exec_ext in '' $ac_executable_extensions; do
  20904. + for ac_exec_ext in '' $ac_executable_extensions; do
  20905. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20906. - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  20907. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  20908. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  20909. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20910. break 2
  20911. fi
  20912. done
  20913. -done
  20914. + done
  20915. IFS=$as_save_IFS
  20916. fi
  20917. fi
  20918. -CXX=$ac_cv_prog_CXX
  20919. -if test -n "$CXX"; then
  20920. - { echo "$as_me:$LINENO: result: $CXX" >&5
  20921. -echo "${ECHO_T}$CXX" >&6; }
  20922. +STRIP=$ac_cv_prog_STRIP
  20923. +if test -n "$STRIP"; then
  20924. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  20925. +$as_echo "$STRIP" >&6; }
  20926. else
  20927. - { echo "$as_me:$LINENO: result: no" >&5
  20928. -echo "${ECHO_T}no" >&6; }
  20929. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20930. +$as_echo "no" >&6; }
  20931. fi
  20932. - test -n "$CXX" && break
  20933. - done
  20934. fi
  20935. -if test -z "$CXX"; then
  20936. - ac_ct_CXX=$CXX
  20937. - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  20938. -do
  20939. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  20940. -set dummy $ac_prog; ac_word=$2
  20941. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  20942. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  20943. -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  20944. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20945. +if test -z "$ac_cv_prog_STRIP"; then
  20946. + ac_ct_STRIP=$STRIP
  20947. + # Extract the first word of "strip", so it can be a program name with args.
  20948. +set dummy strip; ac_word=$2
  20949. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20950. +$as_echo_n "checking for $ac_word... " >&6; }
  20951. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  20952. + $as_echo_n "(cached) " >&6
  20953. else
  20954. - if test -n "$ac_ct_CXX"; then
  20955. - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  20956. + if test -n "$ac_ct_STRIP"; then
  20957. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  20958. else
  20959. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20960. for as_dir in $PATH
  20961. do
  20962. IFS=$as_save_IFS
  20963. test -z "$as_dir" && as_dir=.
  20964. - for ac_exec_ext in '' $ac_executable_extensions; do
  20965. + for ac_exec_ext in '' $ac_executable_extensions; do
  20966. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20967. - ac_cv_prog_ac_ct_CXX="$ac_prog"
  20968. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  20969. + ac_cv_prog_ac_ct_STRIP="strip"
  20970. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20971. break 2
  20972. fi
  20973. done
  20974. -done
  20975. + done
  20976. IFS=$as_save_IFS
  20977. fi
  20978. fi
  20979. -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  20980. -if test -n "$ac_ct_CXX"; then
  20981. - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  20982. -echo "${ECHO_T}$ac_ct_CXX" >&6; }
  20983. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  20984. +if test -n "$ac_ct_STRIP"; then
  20985. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  20986. +$as_echo "$ac_ct_STRIP" >&6; }
  20987. else
  20988. - { echo "$as_me:$LINENO: result: no" >&5
  20989. -echo "${ECHO_T}no" >&6; }
  20990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20991. +$as_echo "no" >&6; }
  20992. fi
  20993. -
  20994. - test -n "$ac_ct_CXX" && break
  20995. -done
  20996. -
  20997. - if test "x$ac_ct_CXX" = x; then
  20998. - CXX="g++"
  20999. + if test "x$ac_ct_STRIP" = x; then
  21000. + STRIP=":"
  21001. else
  21002. case $cross_compiling:$ac_tool_warned in
  21003. yes:)
  21004. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  21005. -whose name does not start with the host triplet. If you think this
  21006. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  21007. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  21008. -whose name does not start with the host triplet. If you think this
  21009. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  21010. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  21011. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  21012. ac_tool_warned=yes ;;
  21013. esac
  21014. - CXX=$ac_ct_CXX
  21015. + STRIP=$ac_ct_STRIP
  21016. fi
  21017. +else
  21018. + STRIP="$ac_cv_prog_STRIP"
  21019. fi
  21020. - fi
  21021. -fi
  21022. -# Provide some information about the compiler.
  21023. -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  21024. -ac_compiler=`set X $ac_compile; echo $2`
  21025. -{ (ac_try="$ac_compiler --version >&5"
  21026. -case "(($ac_try" in
  21027. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21028. - *) ac_try_echo=$ac_try;;
  21029. -esac
  21030. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21031. - (eval "$ac_compiler --version >&5") 2>&5
  21032. - ac_status=$?
  21033. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21034. - (exit $ac_status); }
  21035. -{ (ac_try="$ac_compiler -v >&5"
  21036. -case "(($ac_try" in
  21037. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21038. - *) ac_try_echo=$ac_try;;
  21039. -esac
  21040. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21041. - (eval "$ac_compiler -v >&5") 2>&5
  21042. - ac_status=$?
  21043. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21044. - (exit $ac_status); }
  21045. -{ (ac_try="$ac_compiler -V >&5"
  21046. -case "(($ac_try" in
  21047. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21048. - *) ac_try_echo=$ac_try;;
  21049. -esac
  21050. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21051. - (eval "$ac_compiler -V >&5") 2>&5
  21052. - ac_status=$?
  21053. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21054. - (exit $ac_status); }
  21055. +test -z "$STRIP" && STRIP=:
  21056. -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  21057. -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
  21058. -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  21059. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21060. -else
  21061. - cat >conftest.$ac_ext <<_ACEOF
  21062. -/* confdefs.h. */
  21063. -_ACEOF
  21064. -cat confdefs.h >>conftest.$ac_ext
  21065. -cat >>conftest.$ac_ext <<_ACEOF
  21066. -/* end confdefs.h. */
  21067. -int
  21068. -main ()
  21069. -{
  21070. -#ifndef __GNUC__
  21071. - choke me
  21072. -#endif
  21073. - ;
  21074. - return 0;
  21075. -}
  21076. -_ACEOF
  21077. -rm -f conftest.$ac_objext
  21078. -if { (ac_try="$ac_compile"
  21079. -case "(($ac_try" in
  21080. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21081. - *) ac_try_echo=$ac_try;;
  21082. -esac
  21083. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21084. - (eval "$ac_compile") 2>conftest.er1
  21085. - ac_status=$?
  21086. - grep -v '^ *+' conftest.er1 >conftest.err
  21087. - rm -f conftest.er1
  21088. - cat conftest.err >&5
  21089. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21090. - (exit $ac_status); } && {
  21091. - test -z "$ac_cxx_werror_flag" ||
  21092. - test ! -s conftest.err
  21093. - } && test -s conftest.$ac_objext; then
  21094. - ac_compiler_gnu=yes
  21095. +
  21096. +
  21097. +
  21098. +if test -n "$ac_tool_prefix"; then
  21099. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  21100. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  21101. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21102. +$as_echo_n "checking for $ac_word... " >&6; }
  21103. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  21104. + $as_echo_n "(cached) " >&6
  21105. else
  21106. - echo "$as_me: failed program was:" >&5
  21107. -sed 's/^/| /' conftest.$ac_ext >&5
  21108. + if test -n "$RANLIB"; then
  21109. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  21110. +else
  21111. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21112. +for as_dir in $PATH
  21113. +do
  21114. + IFS=$as_save_IFS
  21115. + test -z "$as_dir" && as_dir=.
  21116. + for ac_exec_ext in '' $ac_executable_extensions; do
  21117. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21118. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  21119. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21120. + break 2
  21121. + fi
  21122. +done
  21123. + done
  21124. +IFS=$as_save_IFS
  21125. - ac_compiler_gnu=no
  21126. +fi
  21127. +fi
  21128. +RANLIB=$ac_cv_prog_RANLIB
  21129. +if test -n "$RANLIB"; then
  21130. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  21131. +$as_echo "$RANLIB" >&6; }
  21132. +else
  21133. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21134. +$as_echo "no" >&6; }
  21135. fi
  21136. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21137. -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  21138. fi
  21139. -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  21140. -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
  21141. -GXX=`test $ac_compiler_gnu = yes && echo yes`
  21142. -ac_test_CXXFLAGS=${CXXFLAGS+set}
  21143. -ac_save_CXXFLAGS=$CXXFLAGS
  21144. -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  21145. -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
  21146. -if test "${ac_cv_prog_cxx_g+set}" = set; then
  21147. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21148. -else
  21149. - ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  21150. - ac_cxx_werror_flag=yes
  21151. - ac_cv_prog_cxx_g=no
  21152. - CXXFLAGS="-g"
  21153. - cat >conftest.$ac_ext <<_ACEOF
  21154. -/* confdefs.h. */
  21155. -_ACEOF
  21156. -cat confdefs.h >>conftest.$ac_ext
  21157. -cat >>conftest.$ac_ext <<_ACEOF
  21158. -/* end confdefs.h. */
  21159. +if test -z "$ac_cv_prog_RANLIB"; then
  21160. + ac_ct_RANLIB=$RANLIB
  21161. + # Extract the first word of "ranlib", so it can be a program name with args.
  21162. +set dummy ranlib; ac_word=$2
  21163. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21164. +$as_echo_n "checking for $ac_word... " >&6; }
  21165. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  21166. + $as_echo_n "(cached) " >&6
  21167. +else
  21168. + if test -n "$ac_ct_RANLIB"; then
  21169. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  21170. +else
  21171. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21172. +for as_dir in $PATH
  21173. +do
  21174. + IFS=$as_save_IFS
  21175. + test -z "$as_dir" && as_dir=.
  21176. + for ac_exec_ext in '' $ac_executable_extensions; do
  21177. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21178. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  21179. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21180. + break 2
  21181. + fi
  21182. +done
  21183. + done
  21184. +IFS=$as_save_IFS
  21185. -int
  21186. -main ()
  21187. -{
  21188. +fi
  21189. +fi
  21190. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  21191. +if test -n "$ac_ct_RANLIB"; then
  21192. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  21193. +$as_echo "$ac_ct_RANLIB" >&6; }
  21194. +else
  21195. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21196. +$as_echo "no" >&6; }
  21197. +fi
  21198. - ;
  21199. - return 0;
  21200. -}
  21201. -_ACEOF
  21202. -rm -f conftest.$ac_objext
  21203. -if { (ac_try="$ac_compile"
  21204. -case "(($ac_try" in
  21205. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21206. - *) ac_try_echo=$ac_try;;
  21207. + if test "x$ac_ct_RANLIB" = x; then
  21208. + RANLIB=":"
  21209. + else
  21210. + case $cross_compiling:$ac_tool_warned in
  21211. +yes:)
  21212. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  21213. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  21214. +ac_tool_warned=yes ;;
  21215. esac
  21216. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21217. - (eval "$ac_compile") 2>conftest.er1
  21218. - ac_status=$?
  21219. - grep -v '^ *+' conftest.er1 >conftest.err
  21220. - rm -f conftest.er1
  21221. - cat conftest.err >&5
  21222. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21223. - (exit $ac_status); } && {
  21224. - test -z "$ac_cxx_werror_flag" ||
  21225. - test ! -s conftest.err
  21226. - } && test -s conftest.$ac_objext; then
  21227. - ac_cv_prog_cxx_g=yes
  21228. + RANLIB=$ac_ct_RANLIB
  21229. + fi
  21230. else
  21231. - echo "$as_me: failed program was:" >&5
  21232. -sed 's/^/| /' conftest.$ac_ext >&5
  21233. + RANLIB="$ac_cv_prog_RANLIB"
  21234. +fi
  21235. - CXXFLAGS=""
  21236. - cat >conftest.$ac_ext <<_ACEOF
  21237. -/* confdefs.h. */
  21238. -_ACEOF
  21239. -cat confdefs.h >>conftest.$ac_ext
  21240. -cat >>conftest.$ac_ext <<_ACEOF
  21241. -/* end confdefs.h. */
  21242. +test -z "$RANLIB" && RANLIB=:
  21243. -int
  21244. -main ()
  21245. -{
  21246. - ;
  21247. - return 0;
  21248. -}
  21249. -_ACEOF
  21250. -rm -f conftest.$ac_objext
  21251. -if { (ac_try="$ac_compile"
  21252. -case "(($ac_try" in
  21253. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21254. - *) ac_try_echo=$ac_try;;
  21255. -esac
  21256. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21257. - (eval "$ac_compile") 2>conftest.er1
  21258. - ac_status=$?
  21259. - grep -v '^ *+' conftest.er1 >conftest.err
  21260. - rm -f conftest.er1
  21261. - cat conftest.err >&5
  21262. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21263. - (exit $ac_status); } && {
  21264. - test -z "$ac_cxx_werror_flag" ||
  21265. - test ! -s conftest.err
  21266. - } && test -s conftest.$ac_objext; then
  21267. - :
  21268. -else
  21269. - echo "$as_me: failed program was:" >&5
  21270. -sed 's/^/| /' conftest.$ac_ext >&5
  21271. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  21272. - CXXFLAGS="-g"
  21273. - cat >conftest.$ac_ext <<_ACEOF
  21274. -/* confdefs.h. */
  21275. -_ACEOF
  21276. -cat confdefs.h >>conftest.$ac_ext
  21277. -cat >>conftest.$ac_ext <<_ACEOF
  21278. -/* end confdefs.h. */
  21279. -int
  21280. -main ()
  21281. -{
  21282. - ;
  21283. - return 0;
  21284. -}
  21285. -_ACEOF
  21286. -rm -f conftest.$ac_objext
  21287. -if { (ac_try="$ac_compile"
  21288. -case "(($ac_try" in
  21289. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21290. - *) ac_try_echo=$ac_try;;
  21291. -esac
  21292. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21293. - (eval "$ac_compile") 2>conftest.er1
  21294. - ac_status=$?
  21295. - grep -v '^ *+' conftest.er1 >conftest.err
  21296. - rm -f conftest.er1
  21297. - cat conftest.err >&5
  21298. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21299. - (exit $ac_status); } && {
  21300. - test -z "$ac_cxx_werror_flag" ||
  21301. - test ! -s conftest.err
  21302. - } && test -s conftest.$ac_objext; then
  21303. - ac_cv_prog_cxx_g=yes
  21304. -else
  21305. - echo "$as_me: failed program was:" >&5
  21306. -sed 's/^/| /' conftest.$ac_ext >&5
  21307. +# Determine commands to create old-style static archives.
  21308. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  21309. +old_postinstall_cmds='chmod 644 $oldlib'
  21310. +old_postuninstall_cmds=
  21311. +if test -n "$RANLIB"; then
  21312. + case $host_os in
  21313. + openbsd*)
  21314. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  21315. + ;;
  21316. + *)
  21317. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  21318. + ;;
  21319. + esac
  21320. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  21321. fi
  21322. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21323. -fi
  21324. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21325. -fi
  21326. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21327. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  21328. -fi
  21329. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  21330. -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
  21331. -if test "$ac_test_CXXFLAGS" = set; then
  21332. - CXXFLAGS=$ac_save_CXXFLAGS
  21333. -elif test $ac_cv_prog_cxx_g = yes; then
  21334. - if test "$GXX" = yes; then
  21335. - CXXFLAGS="-g -O2"
  21336. - else
  21337. - CXXFLAGS="-g"
  21338. - fi
  21339. -else
  21340. - if test "$GXX" = yes; then
  21341. - CXXFLAGS="-O2"
  21342. - else
  21343. - CXXFLAGS=
  21344. - fi
  21345. -fi
  21346. -ac_ext=cpp
  21347. -ac_cpp='$CXXCPP $CPPFLAGS'
  21348. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  21349. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  21350. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  21351. -depcc="$CXX" am_compiler_list=
  21352. -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  21353. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  21354. -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  21355. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21356. -else
  21357. - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  21358. - # We make a subdir and do the tests there. Otherwise we can end up
  21359. - # making bogus files that we don't know about and never remove. For
  21360. - # instance it was reported that on HP-UX the gcc test will end up
  21361. - # making a dummy file named `D' -- because `-MD' means `put the output
  21362. - # in D'.
  21363. - mkdir conftest.dir
  21364. - # Copy depcomp to subdir because otherwise we won't find it if we're
  21365. - # using a relative directory.
  21366. - cp "$am_depcomp" conftest.dir
  21367. - cd conftest.dir
  21368. - # We will build objects and dependencies in a subdirectory because
  21369. - # it helps to detect inapplicable dependency modes. For instance
  21370. - # both Tru64's cc and ICC support -MD to output dependencies as a
  21371. - # side effect of compilation, but ICC will put the dependencies in
  21372. - # the current directory while Tru64 will put them in the object
  21373. - # directory.
  21374. - mkdir sub
  21375. - am_cv_CXX_dependencies_compiler_type=none
  21376. - if test "$am_compiler_list" = ""; then
  21377. - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  21378. - fi
  21379. - for depmode in $am_compiler_list; do
  21380. - # Setup a source with many dependencies, because some compilers
  21381. - # like to wrap large dependency lists on column 80 (with \), and
  21382. - # we should not choose a depcomp mode which is confused by this.
  21383. - #
  21384. - # We need to recreate these files for each test, as the compiler may
  21385. - # overwrite some of them when testing with obscure command lines.
  21386. - # This happens at least with the AIX C compiler.
  21387. - : > sub/conftest.c
  21388. - for i in 1 2 3 4 5 6; do
  21389. - echo '#include "conftst'$i'.h"' >> sub/conftest.c
  21390. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  21391. - # Solaris 8's {/usr,}/bin/sh.
  21392. - touch sub/conftst$i.h
  21393. - done
  21394. - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  21395. - case $depmode in
  21396. - nosideeffect)
  21397. - # after this tag, mechanisms are not by side-effect, so they'll
  21398. - # only be used when explicitly requested
  21399. - if test "x$enable_dependency_tracking" = xyes; then
  21400. - continue
  21401. - else
  21402. - break
  21403. - fi
  21404. - ;;
  21405. - none) break ;;
  21406. - esac
  21407. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  21408. - # mode. It turns out that the SunPro C++ compiler does not properly
  21409. - # handle `-M -o', and we need to detect this.
  21410. - if depmode=$depmode \
  21411. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  21412. - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  21413. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  21414. - >/dev/null 2>conftest.err &&
  21415. - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  21416. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  21417. - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  21418. - # icc doesn't choke on unknown options, it will just issue warnings
  21419. - # or remarks (even with -Werror). So we grep stderr for any message
  21420. - # that says an option was ignored or not supported.
  21421. - # When given -MP, icc 7.0 and 7.1 complain thusly:
  21422. - # icc: Command line warning: ignoring option '-M'; no argument required
  21423. - # The diagnosis changed in icc 8.0:
  21424. - # icc: Command line remark: option '-MP' not supported
  21425. - if (grep 'ignoring option' conftest.err ||
  21426. - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  21427. - am_cv_CXX_dependencies_compiler_type=$depmode
  21428. - break
  21429. - fi
  21430. - fi
  21431. - done
  21432. - cd ..
  21433. - rm -rf conftest.dir
  21434. -else
  21435. - am_cv_CXX_dependencies_compiler_type=none
  21436. -fi
  21437. -fi
  21438. -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  21439. -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
  21440. -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  21441. -if
  21442. - test "x$enable_dependency_tracking" != xno \
  21443. - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  21444. - am__fastdepCXX_TRUE=
  21445. - am__fastdepCXX_FALSE='#'
  21446. -else
  21447. - am__fastdepCXX_TRUE='#'
  21448. - am__fastdepCXX_FALSE=
  21449. -fi
  21450. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  21451. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  21452. - (test "X$CXX" != "Xg++"))) ; then
  21453. - ac_ext=cpp
  21454. -ac_cpp='$CXXCPP $CPPFLAGS'
  21455. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  21456. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  21457. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  21458. -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  21459. -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
  21460. -if test -z "$CXXCPP"; then
  21461. - if test "${ac_cv_prog_CXXCPP+set}" = set; then
  21462. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21463. -else
  21464. - # Double quotes because CXXCPP needs to be expanded
  21465. - for CXXCPP in "$CXX -E" "/lib/cpp"
  21466. - do
  21467. - ac_preproc_ok=false
  21468. -for ac_cxx_preproc_warn_flag in '' yes
  21469. -do
  21470. - # Use a header file that comes with gcc, so configuring glibc
  21471. - # with a fresh cross-compiler works.
  21472. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  21473. - # <limits.h> exists even on freestanding compilers.
  21474. - # On the NeXT, cc -E runs the code through the compiler's parser,
  21475. - # not just through cpp. "Syntax error" is here to catch this case.
  21476. - cat >conftest.$ac_ext <<_ACEOF
  21477. -/* confdefs.h. */
  21478. -_ACEOF
  21479. -cat confdefs.h >>conftest.$ac_ext
  21480. -cat >>conftest.$ac_ext <<_ACEOF
  21481. -/* end confdefs.h. */
  21482. -#ifdef __STDC__
  21483. -# include <limits.h>
  21484. -#else
  21485. -# include <assert.h>
  21486. -#endif
  21487. - Syntax error
  21488. -_ACEOF
  21489. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  21490. -case "(($ac_try" in
  21491. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21492. - *) ac_try_echo=$ac_try;;
  21493. -esac
  21494. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21495. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  21496. - ac_status=$?
  21497. - grep -v '^ *+' conftest.er1 >conftest.err
  21498. - rm -f conftest.er1
  21499. - cat conftest.err >&5
  21500. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21501. - (exit $ac_status); } >/dev/null && {
  21502. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  21503. - test ! -s conftest.err
  21504. - }; then
  21505. - :
  21506. -else
  21507. - echo "$as_me: failed program was:" >&5
  21508. -sed 's/^/| /' conftest.$ac_ext >&5
  21509. - # Broken: fails on valid input.
  21510. -continue
  21511. -fi
  21512. -rm -f conftest.err conftest.$ac_ext
  21513. - # OK, works on sane cases. Now check whether nonexistent headers
  21514. - # can be detected and how.
  21515. - cat >conftest.$ac_ext <<_ACEOF
  21516. -/* confdefs.h. */
  21517. -_ACEOF
  21518. -cat confdefs.h >>conftest.$ac_ext
  21519. -cat >>conftest.$ac_ext <<_ACEOF
  21520. -/* end confdefs.h. */
  21521. -#include <ac_nonexistent.h>
  21522. -_ACEOF
  21523. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  21524. -case "(($ac_try" in
  21525. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21526. - *) ac_try_echo=$ac_try;;
  21527. -esac
  21528. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21529. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  21530. - ac_status=$?
  21531. - grep -v '^ *+' conftest.er1 >conftest.err
  21532. - rm -f conftest.er1
  21533. - cat conftest.err >&5
  21534. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21535. - (exit $ac_status); } >/dev/null && {
  21536. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  21537. - test ! -s conftest.err
  21538. - }; then
  21539. - # Broken: success on invalid input.
  21540. -continue
  21541. -else
  21542. - echo "$as_me: failed program was:" >&5
  21543. -sed 's/^/| /' conftest.$ac_ext >&5
  21544. - # Passes both tests.
  21545. -ac_preproc_ok=:
  21546. -break
  21547. -fi
  21548. -rm -f conftest.err conftest.$ac_ext
  21549. -done
  21550. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  21551. -rm -f conftest.err conftest.$ac_ext
  21552. -if $ac_preproc_ok; then
  21553. - break
  21554. -fi
  21555. - done
  21556. - ac_cv_prog_CXXCPP=$CXXCPP
  21557. -fi
  21558. - CXXCPP=$ac_cv_prog_CXXCPP
  21559. -else
  21560. - ac_cv_prog_CXXCPP=$CXXCPP
  21561. -fi
  21562. -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
  21563. -echo "${ECHO_T}$CXXCPP" >&6; }
  21564. -ac_preproc_ok=false
  21565. -for ac_cxx_preproc_warn_flag in '' yes
  21566. -do
  21567. - # Use a header file that comes with gcc, so configuring glibc
  21568. - # with a fresh cross-compiler works.
  21569. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  21570. - # <limits.h> exists even on freestanding compilers.
  21571. - # On the NeXT, cc -E runs the code through the compiler's parser,
  21572. - # not just through cpp. "Syntax error" is here to catch this case.
  21573. - cat >conftest.$ac_ext <<_ACEOF
  21574. -/* confdefs.h. */
  21575. -_ACEOF
  21576. -cat confdefs.h >>conftest.$ac_ext
  21577. -cat >>conftest.$ac_ext <<_ACEOF
  21578. -/* end confdefs.h. */
  21579. -#ifdef __STDC__
  21580. -# include <limits.h>
  21581. -#else
  21582. -# include <assert.h>
  21583. -#endif
  21584. - Syntax error
  21585. -_ACEOF
  21586. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  21587. -case "(($ac_try" in
  21588. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21589. - *) ac_try_echo=$ac_try;;
  21590. -esac
  21591. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21592. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  21593. - ac_status=$?
  21594. - grep -v '^ *+' conftest.er1 >conftest.err
  21595. - rm -f conftest.er1
  21596. - cat conftest.err >&5
  21597. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21598. - (exit $ac_status); } >/dev/null && {
  21599. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  21600. - test ! -s conftest.err
  21601. - }; then
  21602. - :
  21603. -else
  21604. - echo "$as_me: failed program was:" >&5
  21605. -sed 's/^/| /' conftest.$ac_ext >&5
  21606. - # Broken: fails on valid input.
  21607. -continue
  21608. -fi
  21609. -rm -f conftest.err conftest.$ac_ext
  21610. - # OK, works on sane cases. Now check whether nonexistent headers
  21611. - # can be detected and how.
  21612. - cat >conftest.$ac_ext <<_ACEOF
  21613. -/* confdefs.h. */
  21614. -_ACEOF
  21615. -cat confdefs.h >>conftest.$ac_ext
  21616. -cat >>conftest.$ac_ext <<_ACEOF
  21617. -/* end confdefs.h. */
  21618. -#include <ac_nonexistent.h>
  21619. -_ACEOF
  21620. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  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_cpp conftest.$ac_ext") 2>conftest.er1
  21627. - ac_status=$?
  21628. - grep -v '^ *+' conftest.er1 >conftest.err
  21629. - rm -f conftest.er1
  21630. - cat conftest.err >&5
  21631. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21632. - (exit $ac_status); } >/dev/null && {
  21633. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  21634. - test ! -s conftest.err
  21635. - }; then
  21636. - # Broken: success on invalid input.
  21637. -continue
  21638. -else
  21639. - echo "$as_me: failed program was:" >&5
  21640. -sed 's/^/| /' conftest.$ac_ext >&5
  21641. - # Passes both tests.
  21642. -ac_preproc_ok=:
  21643. -break
  21644. -fi
  21645. -rm -f conftest.err conftest.$ac_ext
  21646. -done
  21647. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  21648. -rm -f conftest.err conftest.$ac_ext
  21649. -if $ac_preproc_ok; then
  21650. - :
  21651. -else
  21652. - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  21653. -See \`config.log' for more details." >&5
  21654. -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  21655. -See \`config.log' for more details." >&2;}
  21656. - { (exit 1); exit 1; }; }
  21657. -fi
  21658. -ac_ext=cpp
  21659. -ac_cpp='$CXXCPP $CPPFLAGS'
  21660. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  21661. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  21662. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  21663. -fi
  21664. -ac_ext=f
  21665. -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  21666. -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  21667. -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  21668. -if test -n "$ac_tool_prefix"; then
  21669. - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
  21670. - do
  21671. - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  21672. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  21673. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  21674. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  21675. -if test "${ac_cv_prog_F77+set}" = set; then
  21676. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21677. -else
  21678. - if test -n "$F77"; then
  21679. - ac_cv_prog_F77="$F77" # Let the user override the test.
  21680. -else
  21681. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21682. -for as_dir in $PATH
  21683. -do
  21684. - IFS=$as_save_IFS
  21685. - test -z "$as_dir" && as_dir=.
  21686. - for ac_exec_ext in '' $ac_executable_extensions; do
  21687. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21688. - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
  21689. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  21690. - break 2
  21691. - fi
  21692. -done
  21693. -done
  21694. -IFS=$as_save_IFS
  21695. +# If no C compiler was specified, use CC.
  21696. +LTCC=${LTCC-"$CC"}
  21697. -fi
  21698. -fi
  21699. -F77=$ac_cv_prog_F77
  21700. -if test -n "$F77"; then
  21701. - { echo "$as_me:$LINENO: result: $F77" >&5
  21702. -echo "${ECHO_T}$F77" >&6; }
  21703. -else
  21704. - { echo "$as_me:$LINENO: result: no" >&5
  21705. -echo "${ECHO_T}no" >&6; }
  21706. -fi
  21707. +# If no C compiler flags were specified, use CFLAGS.
  21708. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  21709. +# Allow CC to be a program name with arguments.
  21710. +compiler=$CC
  21711. - test -n "$F77" && break
  21712. - done
  21713. -fi
  21714. -if test -z "$F77"; then
  21715. - ac_ct_F77=$F77
  21716. - for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
  21717. -do
  21718. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  21719. -set dummy $ac_prog; ac_word=$2
  21720. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  21721. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  21722. -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
  21723. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21724. -else
  21725. - if test -n "$ac_ct_F77"; then
  21726. - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
  21727. -else
  21728. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21729. -for as_dir in $PATH
  21730. -do
  21731. - IFS=$as_save_IFS
  21732. - test -z "$as_dir" && as_dir=.
  21733. - for ac_exec_ext in '' $ac_executable_extensions; do
  21734. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  21735. - ac_cv_prog_ac_ct_F77="$ac_prog"
  21736. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  21737. - break 2
  21738. - fi
  21739. -done
  21740. -done
  21741. -IFS=$as_save_IFS
  21742. -fi
  21743. -fi
  21744. -ac_ct_F77=$ac_cv_prog_ac_ct_F77
  21745. -if test -n "$ac_ct_F77"; then
  21746. - { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
  21747. -echo "${ECHO_T}$ac_ct_F77" >&6; }
  21748. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  21749. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  21750. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  21751. +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  21752. + $as_echo_n "(cached) " >&6
  21753. else
  21754. - { echo "$as_me:$LINENO: result: no" >&5
  21755. -echo "${ECHO_T}no" >&6; }
  21756. -fi
  21757. -
  21758. - test -n "$ac_ct_F77" && break
  21759. -done
  21760. +# These are sane defaults that work on at least a few old systems.
  21761. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  21762. - if test "x$ac_ct_F77" = x; then
  21763. - F77=""
  21764. - else
  21765. - case $cross_compiling:$ac_tool_warned in
  21766. -yes:)
  21767. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  21768. -whose name does not start with the host triplet. If you think this
  21769. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  21770. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  21771. -whose name does not start with the host triplet. If you think this
  21772. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  21773. -ac_tool_warned=yes ;;
  21774. -esac
  21775. - F77=$ac_ct_F77
  21776. - fi
  21777. -fi
  21778. +# Character class describing NM global symbol codes.
  21779. +symcode='[BCDEGRST]'
  21780. +# Regexp to match symbols that can be accessed directly from C.
  21781. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  21782. -# Provide some information about the compiler.
  21783. -echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
  21784. -ac_compiler=`set X $ac_compile; echo $2`
  21785. -{ (ac_try="$ac_compiler --version >&5"
  21786. -case "(($ac_try" in
  21787. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21788. - *) ac_try_echo=$ac_try;;
  21789. -esac
  21790. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21791. - (eval "$ac_compiler --version >&5") 2>&5
  21792. - ac_status=$?
  21793. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21794. - (exit $ac_status); }
  21795. -{ (ac_try="$ac_compiler -v >&5"
  21796. -case "(($ac_try" in
  21797. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21798. - *) ac_try_echo=$ac_try;;
  21799. +# Define system-specific variables.
  21800. +case $host_os in
  21801. +aix*)
  21802. + symcode='[BCDT]'
  21803. + ;;
  21804. +cygwin* | mingw* | pw32* | cegcc*)
  21805. + symcode='[ABCDGISTW]'
  21806. + ;;
  21807. +hpux*)
  21808. + if test "$host_cpu" = ia64; then
  21809. + symcode='[ABCDEGRST]'
  21810. + fi
  21811. + ;;
  21812. +irix* | nonstopux*)
  21813. + symcode='[BCDEGRST]'
  21814. + ;;
  21815. +osf*)
  21816. + symcode='[BCDEGQRST]'
  21817. + ;;
  21818. +solaris*)
  21819. + symcode='[BDRT]'
  21820. + ;;
  21821. +sco3.2v5*)
  21822. + symcode='[DT]'
  21823. + ;;
  21824. +sysv4.2uw2*)
  21825. + symcode='[DT]'
  21826. + ;;
  21827. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  21828. + symcode='[ABDT]'
  21829. + ;;
  21830. +sysv4)
  21831. + symcode='[DFNSTU]'
  21832. + ;;
  21833. esac
  21834. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21835. - (eval "$ac_compiler -v >&5") 2>&5
  21836. - ac_status=$?
  21837. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21838. - (exit $ac_status); }
  21839. -{ (ac_try="$ac_compiler -V >&5"
  21840. -case "(($ac_try" in
  21841. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21842. - *) ac_try_echo=$ac_try;;
  21843. +
  21844. +# If we're using GNU nm, then use its standard symbol codes.
  21845. +case `$NM -V 2>&1` in
  21846. +*GNU* | *'with BFD'*)
  21847. + symcode='[ABCDGIRSTW]' ;;
  21848. esac
  21849. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21850. - (eval "$ac_compiler -V >&5") 2>&5
  21851. - ac_status=$?
  21852. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21853. - (exit $ac_status); }
  21854. -rm -f a.out
  21855. -
  21856. -# If we don't use `.F' as extension, the preprocessor is not run on the
  21857. -# input file. (Note that this only needs to work for GNU compilers.)
  21858. -ac_save_ext=$ac_ext
  21859. -ac_ext=F
  21860. -{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  21861. -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
  21862. -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
  21863. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21864. -else
  21865. - cat >conftest.$ac_ext <<_ACEOF
  21866. - program main
  21867. -#ifndef __GNUC__
  21868. - choke me
  21869. -#endif
  21870. - end
  21871. -_ACEOF
  21872. -rm -f conftest.$ac_objext
  21873. -if { (ac_try="$ac_compile"
  21874. -case "(($ac_try" in
  21875. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21876. - *) ac_try_echo=$ac_try;;
  21877. +# Transform an extracted symbol line into a proper C declaration.
  21878. +# Some systems (esp. on ia64) link data and code symbols differently,
  21879. +# so use this general approach.
  21880. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  21881. +
  21882. +# Transform an extracted symbol line into symbol name and symbol address
  21883. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  21884. +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'"
  21885. +
  21886. +# Handle CRLF in mingw tool chain
  21887. +opt_cr=
  21888. +case $build_os in
  21889. +mingw*)
  21890. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  21891. + ;;
  21892. esac
  21893. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21894. - (eval "$ac_compile") 2>conftest.er1
  21895. - ac_status=$?
  21896. - grep -v '^ *+' conftest.er1 >conftest.err
  21897. - rm -f conftest.er1
  21898. - cat conftest.err >&5
  21899. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21900. - (exit $ac_status); } && {
  21901. - test -z "$ac_f77_werror_flag" ||
  21902. - test ! -s conftest.err
  21903. - } && test -s conftest.$ac_objext; then
  21904. - ac_compiler_gnu=yes
  21905. -else
  21906. - echo "$as_me: failed program was:" >&5
  21907. -sed 's/^/| /' conftest.$ac_ext >&5
  21908. - ac_compiler_gnu=no
  21909. -fi
  21910. +# Try without a prefix underscore, then with it.
  21911. +for ac_symprfx in "" "_"; do
  21912. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21913. -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  21914. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  21915. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  21916. -fi
  21917. -{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  21918. -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
  21919. -ac_ext=$ac_save_ext
  21920. -ac_test_FFLAGS=${FFLAGS+set}
  21921. -ac_save_FFLAGS=$FFLAGS
  21922. -FFLAGS=
  21923. -{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
  21924. -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
  21925. -if test "${ac_cv_prog_f77_g+set}" = set; then
  21926. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21927. -else
  21928. - FFLAGS=-g
  21929. -cat >conftest.$ac_ext <<_ACEOF
  21930. - program main
  21931. -
  21932. - end
  21933. -_ACEOF
  21934. -rm -f conftest.$ac_objext
  21935. -if { (ac_try="$ac_compile"
  21936. -case "(($ac_try" in
  21937. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21938. - *) ac_try_echo=$ac_try;;
  21939. -esac
  21940. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21941. - (eval "$ac_compile") 2>conftest.er1
  21942. - ac_status=$?
  21943. - grep -v '^ *+' conftest.er1 >conftest.err
  21944. - rm -f conftest.er1
  21945. - cat conftest.err >&5
  21946. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21947. - (exit $ac_status); } && {
  21948. - test -z "$ac_f77_werror_flag" ||
  21949. - test ! -s conftest.err
  21950. - } && test -s conftest.$ac_objext; then
  21951. - ac_cv_prog_f77_g=yes
  21952. -else
  21953. - echo "$as_me: failed program was:" >&5
  21954. -sed 's/^/| /' conftest.$ac_ext >&5
  21955. -
  21956. - ac_cv_prog_f77_g=no
  21957. -fi
  21958. -
  21959. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21960. -
  21961. -fi
  21962. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  21963. -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
  21964. -if test "$ac_test_FFLAGS" = set; then
  21965. - FFLAGS=$ac_save_FFLAGS
  21966. -elif test $ac_cv_prog_f77_g = yes; then
  21967. - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  21968. - FFLAGS="-g -O2"
  21969. - else
  21970. - FFLAGS="-g"
  21971. - fi
  21972. -else
  21973. - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  21974. - FFLAGS="-O2"
  21975. - else
  21976. - FFLAGS=
  21977. - fi
  21978. -fi
  21979. -
  21980. -G77=`test $ac_compiler_gnu = yes && echo yes`
  21981. -ac_ext=c
  21982. -ac_cpp='$CPP $CPPFLAGS'
  21983. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  21984. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  21985. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  21986. -
  21987. -
  21988. -
  21989. -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  21990. -# find the maximum length of command line arguments
  21991. -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  21992. -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  21993. -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  21994. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21995. -else
  21996. - i=0
  21997. - teststring="ABCD"
  21998. -
  21999. - case $build_os in
  22000. - msdosdjgpp*)
  22001. - # On DJGPP, this test can blow up pretty badly due to problems in libc
  22002. - # (any single argument exceeding 2000 bytes causes a buffer overrun
  22003. - # during glob expansion). Even if it were fixed, the result of this
  22004. - # check would be larger than it should be.
  22005. - lt_cv_sys_max_cmd_len=12288; # 12K is about right
  22006. - ;;
  22007. -
  22008. - gnu*)
  22009. - # Under GNU Hurd, this test is not required because there is
  22010. - # no limit to the length of command line arguments.
  22011. - # Libtool will interpret -1 as no limit whatsoever
  22012. - lt_cv_sys_max_cmd_len=-1;
  22013. - ;;
  22014. -
  22015. - cygwin* | mingw*)
  22016. - # On Win9x/ME, this test blows up -- it succeeds, but takes
  22017. - # about 5 minutes as the teststring grows exponentially.
  22018. - # Worse, since 9x/ME are not pre-emptively multitasking,
  22019. - # you end up with a "frozen" computer, even though with patience
  22020. - # the test eventually succeeds (with a max line length of 256k).
  22021. - # Instead, let's just punt: use the minimum linelength reported by
  22022. - # all of the supported platforms: 8192 (on NT/2K/XP).
  22023. - lt_cv_sys_max_cmd_len=8192;
  22024. - ;;
  22025. -
  22026. - amigaos*)
  22027. - # On AmigaOS with pdksh, this test takes hours, literally.
  22028. - # So we just punt and use a minimum line length of 8192.
  22029. - lt_cv_sys_max_cmd_len=8192;
  22030. - ;;
  22031. -
  22032. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  22033. - # This has been around since 386BSD, at least. Likely further.
  22034. - if test -x /sbin/sysctl; then
  22035. - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  22036. - elif test -x /usr/sbin/sysctl; then
  22037. - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  22038. - else
  22039. - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  22040. - fi
  22041. - # And add a safety zone
  22042. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  22043. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  22044. - ;;
  22045. -
  22046. - interix*)
  22047. - # We know the value 262144 and hardcode it with a safety zone (like BSD)
  22048. - lt_cv_sys_max_cmd_len=196608
  22049. - ;;
  22050. -
  22051. - osf*)
  22052. - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  22053. - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  22054. - # nice to cause kernel panics so lets avoid the loop below.
  22055. - # First set a reasonable default.
  22056. - lt_cv_sys_max_cmd_len=16384
  22057. - #
  22058. - if test -x /sbin/sysconfig; then
  22059. - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  22060. - *1*) lt_cv_sys_max_cmd_len=-1 ;;
  22061. - esac
  22062. - fi
  22063. - ;;
  22064. - sco3.2v5*)
  22065. - lt_cv_sys_max_cmd_len=102400
  22066. - ;;
  22067. - sysv5* | sco5v6* | sysv4.2uw2*)
  22068. - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  22069. - if test -n "$kargmax"; then
  22070. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  22071. - else
  22072. - lt_cv_sys_max_cmd_len=32768
  22073. - fi
  22074. - ;;
  22075. - *)
  22076. - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  22077. - if test -n "$lt_cv_sys_max_cmd_len"; then
  22078. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  22079. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  22080. - else
  22081. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  22082. - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  22083. - = "XX$teststring") >/dev/null 2>&1 &&
  22084. - new_result=`expr "X$teststring" : ".*" 2>&1` &&
  22085. - lt_cv_sys_max_cmd_len=$new_result &&
  22086. - test $i != 17 # 1/2 MB should be enough
  22087. - do
  22088. - i=`expr $i + 1`
  22089. - teststring=$teststring$teststring
  22090. - done
  22091. - teststring=
  22092. - # Add a significant safety factor because C++ compilers can tack on massive
  22093. - # amounts of additional arguments before passing them to the linker.
  22094. - # It appears as though 1/2 is a usable value.
  22095. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  22096. - fi
  22097. - ;;
  22098. - esac
  22099. -
  22100. -fi
  22101. -
  22102. -if test -n $lt_cv_sys_max_cmd_len ; then
  22103. - { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  22104. -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  22105. -else
  22106. - { echo "$as_me:$LINENO: result: none" >&5
  22107. -echo "${ECHO_T}none" >&6; }
  22108. -fi
  22109. -
  22110. -
  22111. -
  22112. -
  22113. -
  22114. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  22115. -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  22116. -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  22117. -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  22118. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22119. -else
  22120. -
  22121. -# These are sane defaults that work on at least a few old systems.
  22122. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  22123. -
  22124. -# Character class describing NM global symbol codes.
  22125. -symcode='[BCDEGRST]'
  22126. -
  22127. -# Regexp to match symbols that can be accessed directly from C.
  22128. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  22129. -
  22130. -# Transform an extracted symbol line into a proper C declaration
  22131. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  22132. -
  22133. -# Transform an extracted symbol line into symbol name and symbol address
  22134. -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'"
  22135. -
  22136. -# Define system-specific variables.
  22137. -case $host_os in
  22138. -aix*)
  22139. - symcode='[BCDT]'
  22140. - ;;
  22141. -cygwin* | mingw* | pw32*)
  22142. - symcode='[ABCDGISTW]'
  22143. - ;;
  22144. -hpux*) # Its linker distinguishes data from code symbols
  22145. - if test "$host_cpu" = ia64; then
  22146. - symcode='[ABCDEGRST]'
  22147. - fi
  22148. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  22149. - 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'"
  22150. - ;;
  22151. -linux* | k*bsd*-gnu)
  22152. - if test "$host_cpu" = ia64; then
  22153. - symcode='[ABCDGIRSTW]'
  22154. - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  22155. - 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'"
  22156. - fi
  22157. - ;;
  22158. -irix* | nonstopux*)
  22159. - symcode='[BCDEGRST]'
  22160. - ;;
  22161. -osf*)
  22162. - symcode='[BCDEGQRST]'
  22163. - ;;
  22164. -solaris*)
  22165. - symcode='[BDRT]'
  22166. - ;;
  22167. -sco3.2v5*)
  22168. - symcode='[DT]'
  22169. - ;;
  22170. -sysv4.2uw2*)
  22171. - symcode='[DT]'
  22172. - ;;
  22173. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  22174. - symcode='[ABDT]'
  22175. - ;;
  22176. -sysv4)
  22177. - symcode='[DFNSTU]'
  22178. - ;;
  22179. -esac
  22180. -
  22181. -# Handle CRLF in mingw tool chain
  22182. -opt_cr=
  22183. -case $build_os in
  22184. -mingw*)
  22185. - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  22186. - ;;
  22187. -esac
  22188. -
  22189. -# If we're using GNU nm, then use its standard symbol codes.
  22190. -case `$NM -V 2>&1` in
  22191. -*GNU* | *'with BFD'*)
  22192. - symcode='[ABCDGIRSTW]' ;;
  22193. -esac
  22194. -
  22195. -# Try without a prefix undercore, then with it.
  22196. -for ac_symprfx in "" "_"; do
  22197. -
  22198. - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  22199. - symxfrm="\\1 $ac_symprfx\\2 \\2"
  22200. -
  22201. - # Write the raw and C identifiers.
  22202. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  22203. + # Write the raw and C identifiers.
  22204. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  22205. + # Fake it for dumpbin and say T for any non-static function
  22206. + # and D for any global variable.
  22207. + # Also find C++ and __fastcall symbols from MSVC++,
  22208. + # which start with @ or ?.
  22209. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  22210. +" {last_section=section; section=\$ 3};"\
  22211. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  22212. +" \$ 0!~/External *\|/{next};"\
  22213. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  22214. +" {if(hide[section]) next};"\
  22215. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  22216. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  22217. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  22218. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  22219. +" ' prfx=^$ac_symprfx"
  22220. + else
  22221. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  22222. + fi
  22223. # Check to see that the pipe works correctly.
  22224. pipe_works=no
  22225. rm -f conftest*
  22226. - cat > conftest.$ac_ext <<EOF
  22227. + cat > conftest.$ac_ext <<_LT_EOF
  22228. #ifdef __cplusplus
  22229. extern "C" {
  22230. #endif
  22231. char nm_test_var;
  22232. -void nm_test_func(){}
  22233. +void nm_test_func(void);
  22234. +void nm_test_func(void){}
  22235. #ifdef __cplusplus
  22236. }
  22237. #endif
  22238. int main(){nm_test_var='a';nm_test_func();return(0);}
  22239. -EOF
  22240. +_LT_EOF
  22241. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  22242. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  22243. (eval $ac_compile) 2>&5
  22244. ac_status=$?
  22245. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22246. - (exit $ac_status); }; then
  22247. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22248. + test $ac_status = 0; }; then
  22249. # Now try to grab the symbols.
  22250. nlist=conftest.nm
  22251. - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  22252. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  22253. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  22254. ac_status=$?
  22255. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22256. - (exit $ac_status); } && test -s "$nlist"; then
  22257. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22258. + test $ac_status = 0; } && test -s "$nlist"; then
  22259. # Try sorting and uniquifying the output.
  22260. if sort "$nlist" | uniq > "$nlist"T; then
  22261. mv -f "$nlist"T "$nlist"
  22262. @@ -6675,53 +6103,55 @@
  22263. fi
  22264. # Make sure that we snagged all the symbols we need.
  22265. - if grep ' nm_test_var$' "$nlist" >/dev/null; then
  22266. - if grep ' nm_test_func$' "$nlist" >/dev/null; then
  22267. - cat <<EOF > conftest.$ac_ext
  22268. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  22269. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  22270. + cat <<_LT_EOF > conftest.$ac_ext
  22271. #ifdef __cplusplus
  22272. extern "C" {
  22273. #endif
  22274. -EOF
  22275. +_LT_EOF
  22276. # Now generate the symbol file.
  22277. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  22278. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  22279. - cat <<EOF >> conftest.$ac_ext
  22280. -#if defined (__STDC__) && __STDC__
  22281. -# define lt_ptr_t void *
  22282. -#else
  22283. -# define lt_ptr_t char *
  22284. -# define const
  22285. -#endif
  22286. + cat <<_LT_EOF >> conftest.$ac_ext
  22287. -/* The mapping between symbol names and symbols. */
  22288. +/* The mapping between symbol names and symbols. */
  22289. const struct {
  22290. const char *name;
  22291. - lt_ptr_t address;
  22292. + void *address;
  22293. }
  22294. -lt_preloaded_symbols[] =
  22295. +lt__PROGRAM__LTX_preloaded_symbols[] =
  22296. {
  22297. -EOF
  22298. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  22299. - cat <<\EOF >> conftest.$ac_ext
  22300. - {0, (lt_ptr_t) 0}
  22301. + { "@PROGRAM@", (void *) 0 },
  22302. +_LT_EOF
  22303. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  22304. + cat <<\_LT_EOF >> conftest.$ac_ext
  22305. + {0, (void *) 0}
  22306. };
  22307. +/* This works around a problem in FreeBSD linker */
  22308. +#ifdef FREEBSD_WORKAROUND
  22309. +static const void *lt_preloaded_setup() {
  22310. + return lt__PROGRAM__LTX_preloaded_symbols;
  22311. +}
  22312. +#endif
  22313. +
  22314. #ifdef __cplusplus
  22315. }
  22316. #endif
  22317. -EOF
  22318. +_LT_EOF
  22319. # Now try linking the two files.
  22320. mv conftest.$ac_objext conftstm.$ac_objext
  22321. lt_save_LIBS="$LIBS"
  22322. lt_save_CFLAGS="$CFLAGS"
  22323. LIBS="conftstm.$ac_objext"
  22324. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  22325. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  22326. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  22327. (eval $ac_link) 2>&5
  22328. ac_status=$?
  22329. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22330. - (exit $ac_status); } && test -s conftest${ac_exeext}; then
  22331. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22332. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  22333. pipe_works=yes
  22334. fi
  22335. LIBS="$lt_save_LIBS"
  22336. @@ -6755,783 +6185,756 @@
  22337. lt_cv_sys_global_symbol_to_cdecl=
  22338. fi
  22339. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  22340. - { echo "$as_me:$LINENO: result: failed" >&5
  22341. -echo "${ECHO_T}failed" >&6; }
  22342. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  22343. +$as_echo "failed" >&6; }
  22344. else
  22345. - { echo "$as_me:$LINENO: result: ok" >&5
  22346. -echo "${ECHO_T}ok" >&6; }
  22347. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  22348. +$as_echo "ok" >&6; }
  22349. fi
  22350. -{ echo "$as_me:$LINENO: checking for objdir" >&5
  22351. -echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
  22352. -if test "${lt_cv_objdir+set}" = set; then
  22353. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22354. -else
  22355. - rm -f .libs 2>/dev/null
  22356. -mkdir .libs 2>/dev/null
  22357. -if test -d .libs; then
  22358. - lt_cv_objdir=.libs
  22359. -else
  22360. - # MS-DOS does not allow filenames that begin with a dot.
  22361. - lt_cv_objdir=_libs
  22362. -fi
  22363. -rmdir .libs 2>/dev/null
  22364. -fi
  22365. -{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  22366. -echo "${ECHO_T}$lt_cv_objdir" >&6; }
  22367. -objdir=$lt_cv_objdir
  22368. -case $host_os in
  22369. -aix3*)
  22370. - # AIX sometimes has problems with the GCC collect2 program. For some
  22371. - # reason, if we set the COLLECT_NAMES environment variable, the problems
  22372. - # vanish in a puff of smoke.
  22373. - if test "X${COLLECT_NAMES+set}" != Xset; then
  22374. - COLLECT_NAMES=
  22375. - export COLLECT_NAMES
  22376. - fi
  22377. - ;;
  22378. -esac
  22379. -# Sed substitution that helps us do robust quoting. It backslashifies
  22380. -# metacharacters that are still active within double-quoted strings.
  22381. -Xsed='sed -e 1s/^X//'
  22382. -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
  22383. -# Same as above, but do not quote variable references.
  22384. -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
  22385. -# Sed substitution to delay expansion of an escaped shell variable in a
  22386. -# double_quote_subst'ed string.
  22387. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  22388. -# Sed substitution to avoid accidental globbing in evaled expressions
  22389. -no_glob_subst='s/\*/\\\*/g'
  22390. -# Constants:
  22391. -rm="rm -f"
  22392. -# Global variables:
  22393. -default_ofile=libtool
  22394. -can_build_shared=yes
  22395. -# All known linkers require a `.a' archive for static linking (except MSVC,
  22396. -# which needs '.lib').
  22397. -libext=a
  22398. -ltmain="$ac_aux_dir/ltmain.sh"
  22399. -ofile="$default_ofile"
  22400. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  22401. -if test -n "$ac_tool_prefix"; then
  22402. - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  22403. -set dummy ${ac_tool_prefix}ar; ac_word=$2
  22404. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  22405. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  22406. -if test "${ac_cv_prog_AR+set}" = set; then
  22407. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22408. +
  22409. +
  22410. +
  22411. +
  22412. +
  22413. +
  22414. +
  22415. +
  22416. +
  22417. +# Check whether --enable-libtool-lock was given.
  22418. +if test "${enable_libtool_lock+set}" = set; then :
  22419. + enableval=$enable_libtool_lock;
  22420. +fi
  22421. +
  22422. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  22423. +
  22424. +# Some flags need to be propagated to the compiler or linker for good
  22425. +# libtool support.
  22426. +case $host in
  22427. +ia64-*-hpux*)
  22428. + # Find out which ABI we are using.
  22429. + echo 'int i;' > conftest.$ac_ext
  22430. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  22431. + (eval $ac_compile) 2>&5
  22432. + ac_status=$?
  22433. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22434. + test $ac_status = 0; }; then
  22435. + case `/usr/bin/file conftest.$ac_objext` in
  22436. + *ELF-32*)
  22437. + HPUX_IA64_MODE="32"
  22438. + ;;
  22439. + *ELF-64*)
  22440. + HPUX_IA64_MODE="64"
  22441. + ;;
  22442. + esac
  22443. + fi
  22444. + rm -rf conftest*
  22445. + ;;
  22446. +*-*-irix6*)
  22447. + # Find out which ABI we are using.
  22448. + echo '#line 6248 "configure"' > conftest.$ac_ext
  22449. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  22450. + (eval $ac_compile) 2>&5
  22451. + ac_status=$?
  22452. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22453. + test $ac_status = 0; }; then
  22454. + if test "$lt_cv_prog_gnu_ld" = yes; then
  22455. + case `/usr/bin/file conftest.$ac_objext` in
  22456. + *32-bit*)
  22457. + LD="${LD-ld} -melf32bsmip"
  22458. + ;;
  22459. + *N32*)
  22460. + LD="${LD-ld} -melf32bmipn32"
  22461. + ;;
  22462. + *64-bit*)
  22463. + LD="${LD-ld} -melf64bmip"
  22464. + ;;
  22465. + esac
  22466. + else
  22467. + case `/usr/bin/file conftest.$ac_objext` in
  22468. + *32-bit*)
  22469. + LD="${LD-ld} -32"
  22470. + ;;
  22471. + *N32*)
  22472. + LD="${LD-ld} -n32"
  22473. + ;;
  22474. + *64-bit*)
  22475. + LD="${LD-ld} -64"
  22476. + ;;
  22477. + esac
  22478. + fi
  22479. + fi
  22480. + rm -rf conftest*
  22481. + ;;
  22482. +
  22483. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  22484. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  22485. + # Find out which ABI we are using.
  22486. + echo 'int i;' > conftest.$ac_ext
  22487. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  22488. + (eval $ac_compile) 2>&5
  22489. + ac_status=$?
  22490. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22491. + test $ac_status = 0; }; then
  22492. + case `/usr/bin/file conftest.o` in
  22493. + *32-bit*)
  22494. + case $host in
  22495. + x86_64-*kfreebsd*-gnu)
  22496. + LD="${LD-ld} -m elf_i386_fbsd"
  22497. + ;;
  22498. + x86_64-*linux*)
  22499. + LD="${LD-ld} -m elf_i386"
  22500. + ;;
  22501. + ppc64-*linux*|powerpc64-*linux*)
  22502. + LD="${LD-ld} -m elf32ppclinux"
  22503. + ;;
  22504. + s390x-*linux*)
  22505. + LD="${LD-ld} -m elf_s390"
  22506. + ;;
  22507. + sparc64-*linux*)
  22508. + LD="${LD-ld} -m elf32_sparc"
  22509. + ;;
  22510. + esac
  22511. + ;;
  22512. + *64-bit*)
  22513. + case $host in
  22514. + x86_64-*kfreebsd*-gnu)
  22515. + LD="${LD-ld} -m elf_x86_64_fbsd"
  22516. + ;;
  22517. + x86_64-*linux*)
  22518. + LD="${LD-ld} -m elf_x86_64"
  22519. + ;;
  22520. + ppc*-*linux*|powerpc*-*linux*)
  22521. + LD="${LD-ld} -m elf64ppc"
  22522. + ;;
  22523. + s390*-*linux*|s390*-*tpf*)
  22524. + LD="${LD-ld} -m elf64_s390"
  22525. + ;;
  22526. + sparc*-*linux*)
  22527. + LD="${LD-ld} -m elf64_sparc"
  22528. + ;;
  22529. + esac
  22530. + ;;
  22531. + esac
  22532. + fi
  22533. + rm -rf conftest*
  22534. + ;;
  22535. +
  22536. +*-*-sco3.2v5*)
  22537. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  22538. + SAVE_CFLAGS="$CFLAGS"
  22539. + CFLAGS="$CFLAGS -belf"
  22540. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  22541. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  22542. +if test "${lt_cv_cc_needs_belf+set}" = set; then :
  22543. + $as_echo_n "(cached) " >&6
  22544. else
  22545. - if test -n "$AR"; then
  22546. - ac_cv_prog_AR="$AR" # Let the user override the test.
  22547. + ac_ext=c
  22548. +ac_cpp='$CPP $CPPFLAGS'
  22549. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  22550. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  22551. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  22552. +
  22553. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22554. +/* end confdefs.h. */
  22555. +
  22556. +int
  22557. +main ()
  22558. +{
  22559. +
  22560. + ;
  22561. + return 0;
  22562. +}
  22563. +_ACEOF
  22564. +if ac_fn_c_try_link "$LINENO"; then :
  22565. + lt_cv_cc_needs_belf=yes
  22566. +else
  22567. + lt_cv_cc_needs_belf=no
  22568. +fi
  22569. +rm -f core conftest.err conftest.$ac_objext \
  22570. + conftest$ac_exeext conftest.$ac_ext
  22571. + ac_ext=c
  22572. +ac_cpp='$CPP $CPPFLAGS'
  22573. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  22574. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  22575. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  22576. +
  22577. +fi
  22578. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  22579. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  22580. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  22581. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  22582. + CFLAGS="$SAVE_CFLAGS"
  22583. + fi
  22584. + ;;
  22585. +sparc*-*solaris*)
  22586. + # Find out which ABI we are using.
  22587. + echo 'int i;' > conftest.$ac_ext
  22588. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  22589. + (eval $ac_compile) 2>&5
  22590. + ac_status=$?
  22591. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22592. + test $ac_status = 0; }; then
  22593. + case `/usr/bin/file conftest.o` in
  22594. + *64-bit*)
  22595. + case $lt_cv_prog_gnu_ld in
  22596. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  22597. + *)
  22598. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  22599. + LD="${LD-ld} -64"
  22600. + fi
  22601. + ;;
  22602. + esac
  22603. + ;;
  22604. + esac
  22605. + fi
  22606. + rm -rf conftest*
  22607. + ;;
  22608. +esac
  22609. +
  22610. +need_locks="$enable_libtool_lock"
  22611. +
  22612. +
  22613. + case $host_os in
  22614. + rhapsody* | darwin*)
  22615. + if test -n "$ac_tool_prefix"; then
  22616. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  22617. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  22618. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22619. +$as_echo_n "checking for $ac_word... " >&6; }
  22620. +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  22621. + $as_echo_n "(cached) " >&6
  22622. +else
  22623. + if test -n "$DSYMUTIL"; then
  22624. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  22625. else
  22626. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22627. for as_dir in $PATH
  22628. do
  22629. IFS=$as_save_IFS
  22630. test -z "$as_dir" && as_dir=.
  22631. - for ac_exec_ext in '' $ac_executable_extensions; do
  22632. + for ac_exec_ext in '' $ac_executable_extensions; do
  22633. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22634. - ac_cv_prog_AR="${ac_tool_prefix}ar"
  22635. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  22636. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  22637. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22638. break 2
  22639. fi
  22640. done
  22641. -done
  22642. + done
  22643. IFS=$as_save_IFS
  22644. fi
  22645. fi
  22646. -AR=$ac_cv_prog_AR
  22647. -if test -n "$AR"; then
  22648. - { echo "$as_me:$LINENO: result: $AR" >&5
  22649. -echo "${ECHO_T}$AR" >&6; }
  22650. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  22651. +if test -n "$DSYMUTIL"; then
  22652. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  22653. +$as_echo "$DSYMUTIL" >&6; }
  22654. else
  22655. - { echo "$as_me:$LINENO: result: no" >&5
  22656. -echo "${ECHO_T}no" >&6; }
  22657. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22658. +$as_echo "no" >&6; }
  22659. fi
  22660. fi
  22661. -if test -z "$ac_cv_prog_AR"; then
  22662. - ac_ct_AR=$AR
  22663. - # Extract the first word of "ar", so it can be a program name with args.
  22664. -set dummy ar; ac_word=$2
  22665. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  22666. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  22667. -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  22668. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22669. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  22670. + ac_ct_DSYMUTIL=$DSYMUTIL
  22671. + # Extract the first word of "dsymutil", so it can be a program name with args.
  22672. +set dummy dsymutil; ac_word=$2
  22673. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22674. +$as_echo_n "checking for $ac_word... " >&6; }
  22675. +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  22676. + $as_echo_n "(cached) " >&6
  22677. else
  22678. - if test -n "$ac_ct_AR"; then
  22679. - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  22680. + if test -n "$ac_ct_DSYMUTIL"; then
  22681. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  22682. else
  22683. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22684. for as_dir in $PATH
  22685. do
  22686. IFS=$as_save_IFS
  22687. test -z "$as_dir" && as_dir=.
  22688. - for ac_exec_ext in '' $ac_executable_extensions; do
  22689. + for ac_exec_ext in '' $ac_executable_extensions; do
  22690. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22691. - ac_cv_prog_ac_ct_AR="ar"
  22692. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  22693. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  22694. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22695. break 2
  22696. fi
  22697. done
  22698. -done
  22699. + done
  22700. IFS=$as_save_IFS
  22701. fi
  22702. fi
  22703. -ac_ct_AR=$ac_cv_prog_ac_ct_AR
  22704. -if test -n "$ac_ct_AR"; then
  22705. - { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  22706. -echo "${ECHO_T}$ac_ct_AR" >&6; }
  22707. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  22708. +if test -n "$ac_ct_DSYMUTIL"; then
  22709. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  22710. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  22711. else
  22712. - { echo "$as_me:$LINENO: result: no" >&5
  22713. -echo "${ECHO_T}no" >&6; }
  22714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22715. +$as_echo "no" >&6; }
  22716. fi
  22717. - if test "x$ac_ct_AR" = x; then
  22718. - AR="false"
  22719. + if test "x$ac_ct_DSYMUTIL" = x; then
  22720. + DSYMUTIL=":"
  22721. else
  22722. case $cross_compiling:$ac_tool_warned in
  22723. yes:)
  22724. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  22725. -whose name does not start with the host triplet. If you think this
  22726. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  22727. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  22728. -whose name does not start with the host triplet. If you think this
  22729. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  22730. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  22731. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  22732. ac_tool_warned=yes ;;
  22733. esac
  22734. - AR=$ac_ct_AR
  22735. + DSYMUTIL=$ac_ct_DSYMUTIL
  22736. fi
  22737. else
  22738. - AR="$ac_cv_prog_AR"
  22739. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  22740. fi
  22741. -if test -n "$ac_tool_prefix"; then
  22742. - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  22743. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  22744. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  22745. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  22746. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  22747. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22748. + if test -n "$ac_tool_prefix"; then
  22749. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  22750. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  22751. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22752. +$as_echo_n "checking for $ac_word... " >&6; }
  22753. +if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  22754. + $as_echo_n "(cached) " >&6
  22755. else
  22756. - if test -n "$RANLIB"; then
  22757. - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  22758. + if test -n "$NMEDIT"; then
  22759. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  22760. else
  22761. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22762. for as_dir in $PATH
  22763. do
  22764. IFS=$as_save_IFS
  22765. test -z "$as_dir" && as_dir=.
  22766. - for ac_exec_ext in '' $ac_executable_extensions; do
  22767. + for ac_exec_ext in '' $ac_executable_extensions; do
  22768. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22769. - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  22770. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  22771. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  22772. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22773. break 2
  22774. fi
  22775. done
  22776. -done
  22777. + done
  22778. IFS=$as_save_IFS
  22779. fi
  22780. fi
  22781. -RANLIB=$ac_cv_prog_RANLIB
  22782. -if test -n "$RANLIB"; then
  22783. - { echo "$as_me:$LINENO: result: $RANLIB" >&5
  22784. -echo "${ECHO_T}$RANLIB" >&6; }
  22785. +NMEDIT=$ac_cv_prog_NMEDIT
  22786. +if test -n "$NMEDIT"; then
  22787. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  22788. +$as_echo "$NMEDIT" >&6; }
  22789. else
  22790. - { echo "$as_me:$LINENO: result: no" >&5
  22791. -echo "${ECHO_T}no" >&6; }
  22792. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22793. +$as_echo "no" >&6; }
  22794. fi
  22795. fi
  22796. -if test -z "$ac_cv_prog_RANLIB"; then
  22797. - ac_ct_RANLIB=$RANLIB
  22798. - # Extract the first word of "ranlib", so it can be a program name with args.
  22799. -set dummy ranlib; ac_word=$2
  22800. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  22801. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  22802. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  22803. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22804. +if test -z "$ac_cv_prog_NMEDIT"; then
  22805. + ac_ct_NMEDIT=$NMEDIT
  22806. + # Extract the first word of "nmedit", so it can be a program name with args.
  22807. +set dummy nmedit; ac_word=$2
  22808. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22809. +$as_echo_n "checking for $ac_word... " >&6; }
  22810. +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  22811. + $as_echo_n "(cached) " >&6
  22812. else
  22813. - if test -n "$ac_ct_RANLIB"; then
  22814. - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  22815. + if test -n "$ac_ct_NMEDIT"; then
  22816. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  22817. else
  22818. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22819. for as_dir in $PATH
  22820. do
  22821. IFS=$as_save_IFS
  22822. test -z "$as_dir" && as_dir=.
  22823. - for ac_exec_ext in '' $ac_executable_extensions; do
  22824. + for ac_exec_ext in '' $ac_executable_extensions; do
  22825. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22826. - ac_cv_prog_ac_ct_RANLIB="ranlib"
  22827. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  22828. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  22829. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22830. break 2
  22831. fi
  22832. done
  22833. -done
  22834. + done
  22835. IFS=$as_save_IFS
  22836. fi
  22837. fi
  22838. -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  22839. -if test -n "$ac_ct_RANLIB"; then
  22840. - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  22841. -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  22842. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  22843. +if test -n "$ac_ct_NMEDIT"; then
  22844. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  22845. +$as_echo "$ac_ct_NMEDIT" >&6; }
  22846. else
  22847. - { echo "$as_me:$LINENO: result: no" >&5
  22848. -echo "${ECHO_T}no" >&6; }
  22849. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22850. +$as_echo "no" >&6; }
  22851. fi
  22852. - if test "x$ac_ct_RANLIB" = x; then
  22853. - RANLIB=":"
  22854. + if test "x$ac_ct_NMEDIT" = x; then
  22855. + NMEDIT=":"
  22856. else
  22857. case $cross_compiling:$ac_tool_warned in
  22858. yes:)
  22859. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  22860. -whose name does not start with the host triplet. If you think this
  22861. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  22862. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  22863. -whose name does not start with the host triplet. If you think this
  22864. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  22865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  22866. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  22867. ac_tool_warned=yes ;;
  22868. esac
  22869. - RANLIB=$ac_ct_RANLIB
  22870. + NMEDIT=$ac_ct_NMEDIT
  22871. fi
  22872. else
  22873. - RANLIB="$ac_cv_prog_RANLIB"
  22874. + NMEDIT="$ac_cv_prog_NMEDIT"
  22875. fi
  22876. -if test -n "$ac_tool_prefix"; then
  22877. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  22878. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  22879. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  22880. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  22881. -if test "${ac_cv_prog_STRIP+set}" = set; then
  22882. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22883. + if test -n "$ac_tool_prefix"; then
  22884. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  22885. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  22886. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22887. +$as_echo_n "checking for $ac_word... " >&6; }
  22888. +if test "${ac_cv_prog_LIPO+set}" = set; then :
  22889. + $as_echo_n "(cached) " >&6
  22890. else
  22891. - if test -n "$STRIP"; then
  22892. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  22893. + if test -n "$LIPO"; then
  22894. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  22895. else
  22896. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22897. for as_dir in $PATH
  22898. do
  22899. IFS=$as_save_IFS
  22900. test -z "$as_dir" && as_dir=.
  22901. - for ac_exec_ext in '' $ac_executable_extensions; do
  22902. + for ac_exec_ext in '' $ac_executable_extensions; do
  22903. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22904. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  22905. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  22906. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  22907. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22908. break 2
  22909. fi
  22910. done
  22911. -done
  22912. + done
  22913. IFS=$as_save_IFS
  22914. fi
  22915. fi
  22916. -STRIP=$ac_cv_prog_STRIP
  22917. -if test -n "$STRIP"; then
  22918. - { echo "$as_me:$LINENO: result: $STRIP" >&5
  22919. -echo "${ECHO_T}$STRIP" >&6; }
  22920. +LIPO=$ac_cv_prog_LIPO
  22921. +if test -n "$LIPO"; then
  22922. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  22923. +$as_echo "$LIPO" >&6; }
  22924. else
  22925. - { echo "$as_me:$LINENO: result: no" >&5
  22926. -echo "${ECHO_T}no" >&6; }
  22927. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22928. +$as_echo "no" >&6; }
  22929. fi
  22930. fi
  22931. -if test -z "$ac_cv_prog_STRIP"; then
  22932. - ac_ct_STRIP=$STRIP
  22933. - # Extract the first word of "strip", so it can be a program name with args.
  22934. -set dummy strip; ac_word=$2
  22935. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  22936. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  22937. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  22938. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22939. +if test -z "$ac_cv_prog_LIPO"; then
  22940. + ac_ct_LIPO=$LIPO
  22941. + # Extract the first word of "lipo", so it can be a program name with args.
  22942. +set dummy lipo; ac_word=$2
  22943. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22944. +$as_echo_n "checking for $ac_word... " >&6; }
  22945. +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  22946. + $as_echo_n "(cached) " >&6
  22947. else
  22948. - if test -n "$ac_ct_STRIP"; then
  22949. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  22950. + if test -n "$ac_ct_LIPO"; then
  22951. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  22952. else
  22953. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22954. for as_dir in $PATH
  22955. do
  22956. IFS=$as_save_IFS
  22957. test -z "$as_dir" && as_dir=.
  22958. - for ac_exec_ext in '' $ac_executable_extensions; do
  22959. + for ac_exec_ext in '' $ac_executable_extensions; do
  22960. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  22961. - ac_cv_prog_ac_ct_STRIP="strip"
  22962. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  22963. + ac_cv_prog_ac_ct_LIPO="lipo"
  22964. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22965. break 2
  22966. fi
  22967. done
  22968. -done
  22969. + done
  22970. IFS=$as_save_IFS
  22971. fi
  22972. fi
  22973. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  22974. -if test -n "$ac_ct_STRIP"; then
  22975. - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  22976. -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  22977. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  22978. +if test -n "$ac_ct_LIPO"; then
  22979. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  22980. +$as_echo "$ac_ct_LIPO" >&6; }
  22981. else
  22982. - { echo "$as_me:$LINENO: result: no" >&5
  22983. -echo "${ECHO_T}no" >&6; }
  22984. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22985. +$as_echo "no" >&6; }
  22986. fi
  22987. - if test "x$ac_ct_STRIP" = x; then
  22988. - STRIP=":"
  22989. + if test "x$ac_ct_LIPO" = x; then
  22990. + LIPO=":"
  22991. else
  22992. case $cross_compiling:$ac_tool_warned in
  22993. yes:)
  22994. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  22995. -whose name does not start with the host triplet. If you think this
  22996. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  22997. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  22998. -whose name does not start with the host triplet. If you think this
  22999. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  23000. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23001. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23002. ac_tool_warned=yes ;;
  23003. esac
  23004. - STRIP=$ac_ct_STRIP
  23005. + LIPO=$ac_ct_LIPO
  23006. fi
  23007. else
  23008. - STRIP="$ac_cv_prog_STRIP"
  23009. -fi
  23010. -
  23011. -
  23012. -old_CC="$CC"
  23013. -old_CFLAGS="$CFLAGS"
  23014. -
  23015. -# Set sane defaults for various variables
  23016. -test -z "$AR" && AR=ar
  23017. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  23018. -test -z "$AS" && AS=as
  23019. -test -z "$CC" && CC=cc
  23020. -test -z "$LTCC" && LTCC=$CC
  23021. -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  23022. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  23023. -test -z "$LD" && LD=ld
  23024. -test -z "$LN_S" && LN_S="ln -s"
  23025. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  23026. -test -z "$NM" && NM=nm
  23027. -test -z "$SED" && SED=sed
  23028. -test -z "$OBJDUMP" && OBJDUMP=objdump
  23029. -test -z "$RANLIB" && RANLIB=:
  23030. -test -z "$STRIP" && STRIP=:
  23031. -test -z "$ac_objext" && ac_objext=o
  23032. -
  23033. -# Determine commands to create old-style static archives.
  23034. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  23035. -old_postinstall_cmds='chmod 644 $oldlib'
  23036. -old_postuninstall_cmds=
  23037. -
  23038. -if test -n "$RANLIB"; then
  23039. - case $host_os in
  23040. - openbsd*)
  23041. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  23042. - ;;
  23043. - *)
  23044. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  23045. - ;;
  23046. - esac
  23047. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  23048. -fi
  23049. -
  23050. -for cc_temp in $compiler""; do
  23051. - case $cc_temp in
  23052. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  23053. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  23054. - \-*) ;;
  23055. - *) break;;
  23056. - esac
  23057. -done
  23058. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  23059. -
  23060. -
  23061. -# Only perform the check for file, if the check method requires it
  23062. -case $deplibs_check_method in
  23063. -file_magic*)
  23064. - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  23065. - { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  23066. -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
  23067. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  23068. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23069. -else
  23070. - case $MAGIC_CMD in
  23071. -[\\/*] | ?:[\\/]*)
  23072. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  23073. - ;;
  23074. -*)
  23075. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  23076. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  23077. - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  23078. - for ac_dir in $ac_dummy; do
  23079. - IFS="$lt_save_ifs"
  23080. - test -z "$ac_dir" && ac_dir=.
  23081. - if test -f $ac_dir/${ac_tool_prefix}file; then
  23082. - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  23083. - if test -n "$file_magic_test_file"; then
  23084. - case $deplibs_check_method in
  23085. - "file_magic "*)
  23086. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  23087. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  23088. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  23089. - $EGREP "$file_magic_regex" > /dev/null; then
  23090. - :
  23091. - else
  23092. - cat <<EOF 1>&2
  23093. -
  23094. -*** Warning: the command libtool uses to detect shared libraries,
  23095. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  23096. -*** The result is that libtool may fail to recognize shared libraries
  23097. -*** as such. This will affect the creation of libtool libraries that
  23098. -*** depend on shared libraries, but programs linked with such libtool
  23099. -*** libraries will work regardless of this problem. Nevertheless, you
  23100. -*** may want to report the problem to your system manager and/or to
  23101. -*** bug-libtool@gnu.org
  23102. -
  23103. -EOF
  23104. - fi ;;
  23105. - esac
  23106. - fi
  23107. - break
  23108. - fi
  23109. - done
  23110. - IFS="$lt_save_ifs"
  23111. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  23112. - ;;
  23113. -esac
  23114. -fi
  23115. -
  23116. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  23117. -if test -n "$MAGIC_CMD"; then
  23118. - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  23119. -echo "${ECHO_T}$MAGIC_CMD" >&6; }
  23120. -else
  23121. - { echo "$as_me:$LINENO: result: no" >&5
  23122. -echo "${ECHO_T}no" >&6; }
  23123. -fi
  23124. -
  23125. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  23126. - if test -n "$ac_tool_prefix"; then
  23127. - { echo "$as_me:$LINENO: checking for file" >&5
  23128. -echo $ECHO_N "checking for file... $ECHO_C" >&6; }
  23129. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  23130. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23131. -else
  23132. - case $MAGIC_CMD in
  23133. -[\\/*] | ?:[\\/]*)
  23134. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  23135. - ;;
  23136. -*)
  23137. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  23138. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  23139. - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  23140. - for ac_dir in $ac_dummy; do
  23141. - IFS="$lt_save_ifs"
  23142. - test -z "$ac_dir" && ac_dir=.
  23143. - if test -f $ac_dir/file; then
  23144. - lt_cv_path_MAGIC_CMD="$ac_dir/file"
  23145. - if test -n "$file_magic_test_file"; then
  23146. - case $deplibs_check_method in
  23147. - "file_magic "*)
  23148. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  23149. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  23150. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  23151. - $EGREP "$file_magic_regex" > /dev/null; then
  23152. - :
  23153. - else
  23154. - cat <<EOF 1>&2
  23155. -
  23156. -*** Warning: the command libtool uses to detect shared libraries,
  23157. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  23158. -*** The result is that libtool may fail to recognize shared libraries
  23159. -*** as such. This will affect the creation of libtool libraries that
  23160. -*** depend on shared libraries, but programs linked with such libtool
  23161. -*** libraries will work regardless of this problem. Nevertheless, you
  23162. -*** may want to report the problem to your system manager and/or to
  23163. -*** bug-libtool@gnu.org
  23164. -
  23165. -EOF
  23166. - fi ;;
  23167. - esac
  23168. - fi
  23169. - break
  23170. - fi
  23171. - done
  23172. - IFS="$lt_save_ifs"
  23173. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  23174. - ;;
  23175. -esac
  23176. -fi
  23177. -
  23178. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  23179. -if test -n "$MAGIC_CMD"; then
  23180. - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  23181. -echo "${ECHO_T}$MAGIC_CMD" >&6; }
  23182. -else
  23183. - { echo "$as_me:$LINENO: result: no" >&5
  23184. -echo "${ECHO_T}no" >&6; }
  23185. + LIPO="$ac_cv_prog_LIPO"
  23186. fi
  23187. - else
  23188. - MAGIC_CMD=:
  23189. - fi
  23190. -fi
  23191. -
  23192. - fi
  23193. - ;;
  23194. -esac
  23195. -
  23196. -
  23197. - case $host_os in
  23198. - rhapsody* | darwin*)
  23199. if test -n "$ac_tool_prefix"; then
  23200. - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  23201. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  23202. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  23203. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  23204. -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  23205. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23206. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  23207. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  23208. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23209. +$as_echo_n "checking for $ac_word... " >&6; }
  23210. +if test "${ac_cv_prog_OTOOL+set}" = set; then :
  23211. + $as_echo_n "(cached) " >&6
  23212. else
  23213. - if test -n "$DSYMUTIL"; then
  23214. - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  23215. + if test -n "$OTOOL"; then
  23216. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  23217. else
  23218. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23219. for as_dir in $PATH
  23220. do
  23221. IFS=$as_save_IFS
  23222. test -z "$as_dir" && as_dir=.
  23223. - for ac_exec_ext in '' $ac_executable_extensions; do
  23224. + for ac_exec_ext in '' $ac_executable_extensions; do
  23225. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23226. - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  23227. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  23228. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  23229. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23230. break 2
  23231. fi
  23232. done
  23233. -done
  23234. + done
  23235. IFS=$as_save_IFS
  23236. fi
  23237. fi
  23238. -DSYMUTIL=$ac_cv_prog_DSYMUTIL
  23239. -if test -n "$DSYMUTIL"; then
  23240. - { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  23241. -echo "${ECHO_T}$DSYMUTIL" >&6; }
  23242. +OTOOL=$ac_cv_prog_OTOOL
  23243. +if test -n "$OTOOL"; then
  23244. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  23245. +$as_echo "$OTOOL" >&6; }
  23246. else
  23247. - { echo "$as_me:$LINENO: result: no" >&5
  23248. -echo "${ECHO_T}no" >&6; }
  23249. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23250. +$as_echo "no" >&6; }
  23251. fi
  23252. fi
  23253. -if test -z "$ac_cv_prog_DSYMUTIL"; then
  23254. - ac_ct_DSYMUTIL=$DSYMUTIL
  23255. - # Extract the first word of "dsymutil", so it can be a program name with args.
  23256. -set dummy dsymutil; ac_word=$2
  23257. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  23258. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  23259. -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  23260. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23261. +if test -z "$ac_cv_prog_OTOOL"; then
  23262. + ac_ct_OTOOL=$OTOOL
  23263. + # Extract the first word of "otool", so it can be a program name with args.
  23264. +set dummy otool; ac_word=$2
  23265. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23266. +$as_echo_n "checking for $ac_word... " >&6; }
  23267. +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  23268. + $as_echo_n "(cached) " >&6
  23269. else
  23270. - if test -n "$ac_ct_DSYMUTIL"; then
  23271. - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  23272. + if test -n "$ac_ct_OTOOL"; then
  23273. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  23274. else
  23275. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23276. for as_dir in $PATH
  23277. do
  23278. IFS=$as_save_IFS
  23279. test -z "$as_dir" && as_dir=.
  23280. - for ac_exec_ext in '' $ac_executable_extensions; do
  23281. + for ac_exec_ext in '' $ac_executable_extensions; do
  23282. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23283. - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  23284. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  23285. + ac_cv_prog_ac_ct_OTOOL="otool"
  23286. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23287. break 2
  23288. fi
  23289. done
  23290. -done
  23291. + done
  23292. IFS=$as_save_IFS
  23293. fi
  23294. fi
  23295. -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  23296. -if test -n "$ac_ct_DSYMUTIL"; then
  23297. - { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  23298. -echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
  23299. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  23300. +if test -n "$ac_ct_OTOOL"; then
  23301. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  23302. +$as_echo "$ac_ct_OTOOL" >&6; }
  23303. else
  23304. - { echo "$as_me:$LINENO: result: no" >&5
  23305. -echo "${ECHO_T}no" >&6; }
  23306. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23307. +$as_echo "no" >&6; }
  23308. fi
  23309. - if test "x$ac_ct_DSYMUTIL" = x; then
  23310. - DSYMUTIL=":"
  23311. + if test "x$ac_ct_OTOOL" = x; then
  23312. + OTOOL=":"
  23313. else
  23314. case $cross_compiling:$ac_tool_warned in
  23315. yes:)
  23316. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  23317. -whose name does not start with the host triplet. If you think this
  23318. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  23319. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  23320. -whose name does not start with the host triplet. If you think this
  23321. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  23322. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23323. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23324. ac_tool_warned=yes ;;
  23325. esac
  23326. - DSYMUTIL=$ac_ct_DSYMUTIL
  23327. + OTOOL=$ac_ct_OTOOL
  23328. fi
  23329. else
  23330. - DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  23331. + OTOOL="$ac_cv_prog_OTOOL"
  23332. fi
  23333. if test -n "$ac_tool_prefix"; then
  23334. - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  23335. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  23336. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  23337. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  23338. -if test "${ac_cv_prog_NMEDIT+set}" = set; then
  23339. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23340. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  23341. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  23342. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23343. +$as_echo_n "checking for $ac_word... " >&6; }
  23344. +if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  23345. + $as_echo_n "(cached) " >&6
  23346. else
  23347. - if test -n "$NMEDIT"; then
  23348. - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  23349. + if test -n "$OTOOL64"; then
  23350. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  23351. else
  23352. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23353. for as_dir in $PATH
  23354. do
  23355. IFS=$as_save_IFS
  23356. test -z "$as_dir" && as_dir=.
  23357. - for ac_exec_ext in '' $ac_executable_extensions; do
  23358. + for ac_exec_ext in '' $ac_executable_extensions; do
  23359. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23360. - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  23361. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  23362. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  23363. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23364. break 2
  23365. fi
  23366. done
  23367. -done
  23368. + done
  23369. IFS=$as_save_IFS
  23370. fi
  23371. fi
  23372. -NMEDIT=$ac_cv_prog_NMEDIT
  23373. -if test -n "$NMEDIT"; then
  23374. - { echo "$as_me:$LINENO: result: $NMEDIT" >&5
  23375. -echo "${ECHO_T}$NMEDIT" >&6; }
  23376. +OTOOL64=$ac_cv_prog_OTOOL64
  23377. +if test -n "$OTOOL64"; then
  23378. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  23379. +$as_echo "$OTOOL64" >&6; }
  23380. else
  23381. - { echo "$as_me:$LINENO: result: no" >&5
  23382. -echo "${ECHO_T}no" >&6; }
  23383. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23384. +$as_echo "no" >&6; }
  23385. fi
  23386. fi
  23387. -if test -z "$ac_cv_prog_NMEDIT"; then
  23388. - ac_ct_NMEDIT=$NMEDIT
  23389. - # Extract the first word of "nmedit", so it can be a program name with args.
  23390. -set dummy nmedit; ac_word=$2
  23391. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  23392. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  23393. -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  23394. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23395. +if test -z "$ac_cv_prog_OTOOL64"; then
  23396. + ac_ct_OTOOL64=$OTOOL64
  23397. + # Extract the first word of "otool64", so it can be a program name with args.
  23398. +set dummy otool64; ac_word=$2
  23399. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23400. +$as_echo_n "checking for $ac_word... " >&6; }
  23401. +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  23402. + $as_echo_n "(cached) " >&6
  23403. else
  23404. - if test -n "$ac_ct_NMEDIT"; then
  23405. - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  23406. + if test -n "$ac_ct_OTOOL64"; then
  23407. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  23408. else
  23409. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23410. for as_dir in $PATH
  23411. do
  23412. IFS=$as_save_IFS
  23413. test -z "$as_dir" && as_dir=.
  23414. - for ac_exec_ext in '' $ac_executable_extensions; do
  23415. + for ac_exec_ext in '' $ac_executable_extensions; do
  23416. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  23417. - ac_cv_prog_ac_ct_NMEDIT="nmedit"
  23418. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  23419. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  23420. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23421. break 2
  23422. fi
  23423. done
  23424. -done
  23425. + done
  23426. IFS=$as_save_IFS
  23427. fi
  23428. fi
  23429. -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  23430. -if test -n "$ac_ct_NMEDIT"; then
  23431. - { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  23432. -echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
  23433. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  23434. +if test -n "$ac_ct_OTOOL64"; then
  23435. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  23436. +$as_echo "$ac_ct_OTOOL64" >&6; }
  23437. else
  23438. - { echo "$as_me:$LINENO: result: no" >&5
  23439. -echo "${ECHO_T}no" >&6; }
  23440. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23441. +$as_echo "no" >&6; }
  23442. fi
  23443. - if test "x$ac_ct_NMEDIT" = x; then
  23444. - NMEDIT=":"
  23445. + if test "x$ac_ct_OTOOL64" = x; then
  23446. + OTOOL64=":"
  23447. else
  23448. case $cross_compiling:$ac_tool_warned in
  23449. yes:)
  23450. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  23451. -whose name does not start with the host triplet. If you think this
  23452. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  23453. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  23454. -whose name does not start with the host triplet. If you think this
  23455. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  23456. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23457. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23458. ac_tool_warned=yes ;;
  23459. esac
  23460. - NMEDIT=$ac_ct_NMEDIT
  23461. + OTOOL64=$ac_ct_OTOOL64
  23462. fi
  23463. else
  23464. - NMEDIT="$ac_cv_prog_NMEDIT"
  23465. + OTOOL64="$ac_cv_prog_OTOOL64"
  23466. fi
  23467. - { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  23468. -echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
  23469. -if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  23470. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23471. +
  23472. +
  23473. +
  23474. +
  23475. +
  23476. +
  23477. +
  23478. +
  23479. +
  23480. +
  23481. +
  23482. +
  23483. +
  23484. +
  23485. +
  23486. +
  23487. +
  23488. +
  23489. +
  23490. +
  23491. +
  23492. +
  23493. +
  23494. +
  23495. +
  23496. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  23497. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  23498. +if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  23499. + $as_echo_n "(cached) " >&6
  23500. else
  23501. lt_cv_apple_cc_single_mod=no
  23502. if test -z "${LT_MULTI_MODULE}"; then
  23503. - # By default we will add the -single_module flag. You can override
  23504. - # by either setting the environment variable LT_MULTI_MODULE
  23505. - # non-empty at configure time, or by adding -multi_module to the
  23506. - # link flags.
  23507. - echo "int foo(void){return 1;}" > conftest.c
  23508. - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  23509. - -dynamiclib ${wl}-single_module conftest.c
  23510. - if test -f libconftest.dylib; then
  23511. - lt_cv_apple_cc_single_mod=yes
  23512. - rm -rf libconftest.dylib*
  23513. - fi
  23514. - rm conftest.c
  23515. + # By default we will add the -single_module flag. You can override
  23516. + # by either setting the environment variable LT_MULTI_MODULE
  23517. + # non-empty at configure time, or by adding -multi_module to the
  23518. + # link flags.
  23519. + rm -rf libconftest.dylib*
  23520. + echo "int foo(void){return 1;}" > conftest.c
  23521. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  23522. +-dynamiclib -Wl,-single_module conftest.c" >&5
  23523. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  23524. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  23525. + _lt_result=$?
  23526. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  23527. + lt_cv_apple_cc_single_mod=yes
  23528. + else
  23529. + cat conftest.err >&5
  23530. + fi
  23531. + rm -rf libconftest.dylib*
  23532. + rm -f conftest.*
  23533. fi
  23534. fi
  23535. -{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  23536. -echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
  23537. - { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  23538. -echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
  23539. -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  23540. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23541. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  23542. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  23543. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  23544. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  23545. +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  23546. + $as_echo_n "(cached) " >&6
  23547. else
  23548. lt_cv_ld_exported_symbols_list=no
  23549. save_LDFLAGS=$LDFLAGS
  23550. echo "_main" > conftest.sym
  23551. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  23552. - cat >conftest.$ac_ext <<_ACEOF
  23553. -/* confdefs.h. */
  23554. -_ACEOF
  23555. -cat confdefs.h >>conftest.$ac_ext
  23556. -cat >>conftest.$ac_ext <<_ACEOF
  23557. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23558. /* end confdefs.h. */
  23559. int
  23560. @@ -7542,55 +6945,34 @@
  23561. return 0;
  23562. }
  23563. _ACEOF
  23564. -rm -f conftest.$ac_objext conftest$ac_exeext
  23565. -if { (ac_try="$ac_link"
  23566. -case "(($ac_try" in
  23567. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23568. - *) ac_try_echo=$ac_try;;
  23569. -esac
  23570. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23571. - (eval "$ac_link") 2>conftest.er1
  23572. - ac_status=$?
  23573. - grep -v '^ *+' conftest.er1 >conftest.err
  23574. - rm -f conftest.er1
  23575. - cat conftest.err >&5
  23576. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23577. - (exit $ac_status); } && {
  23578. - test -z "$ac_c_werror_flag" ||
  23579. - test ! -s conftest.err
  23580. - } && test -s conftest$ac_exeext &&
  23581. - $as_test_x conftest$ac_exeext; then
  23582. +if ac_fn_c_try_link "$LINENO"; then :
  23583. lt_cv_ld_exported_symbols_list=yes
  23584. else
  23585. - echo "$as_me: failed program was:" >&5
  23586. -sed 's/^/| /' conftest.$ac_ext >&5
  23587. -
  23588. - lt_cv_ld_exported_symbols_list=no
  23589. + lt_cv_ld_exported_symbols_list=no
  23590. fi
  23591. -
  23592. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23593. - conftest$ac_exeext conftest.$ac_ext
  23594. - LDFLAGS="$save_LDFLAGS"
  23595. +rm -f core conftest.err conftest.$ac_objext \
  23596. + conftest$ac_exeext conftest.$ac_ext
  23597. + LDFLAGS="$save_LDFLAGS"
  23598. fi
  23599. -{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  23600. -echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
  23601. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  23602. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  23603. case $host_os in
  23604. - rhapsody* | darwin1.[0123])
  23605. + rhapsody* | darwin1.[012])
  23606. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  23607. darwin1.*)
  23608. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  23609. - darwin*)
  23610. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  23611. + darwin*) # darwin 5.x on
  23612. # if running on 10.5 or later, the deployment target defaults
  23613. # to the OS version, if on x86, and 10.4, the deployment
  23614. # target defaults to 10.4. Don't you love it?
  23615. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  23616. - 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  23617. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  23618. - 10.[012]*)
  23619. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  23620. - 10.*)
  23621. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  23622. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  23623. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  23624. + 10.[012]*)
  23625. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  23626. + 10.*)
  23627. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  23628. esac
  23629. ;;
  23630. esac
  23631. @@ -7600,40 +6982,147 @@
  23632. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  23633. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  23634. else
  23635. - _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
  23636. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  23637. fi
  23638. if test "$DSYMUTIL" != ":"; then
  23639. - _lt_dsymutil="~$DSYMUTIL \$lib || :"
  23640. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  23641. else
  23642. _lt_dsymutil=
  23643. fi
  23644. ;;
  23645. esac
  23646. +ac_ext=c
  23647. +ac_cpp='$CPP $CPPFLAGS'
  23648. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  23649. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  23650. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  23651. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  23652. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  23653. +# On Suns, sometimes $CPP names a directory.
  23654. +if test -n "$CPP" && test -d "$CPP"; then
  23655. + CPP=
  23656. +fi
  23657. +if test -z "$CPP"; then
  23658. + if test "${ac_cv_prog_CPP+set}" = set; then :
  23659. + $as_echo_n "(cached) " >&6
  23660. +else
  23661. + # Double quotes because CPP needs to be expanded
  23662. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  23663. + do
  23664. + ac_preproc_ok=false
  23665. +for ac_c_preproc_warn_flag in '' yes
  23666. +do
  23667. + # Use a header file that comes with gcc, so configuring glibc
  23668. + # with a fresh cross-compiler works.
  23669. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  23670. + # <limits.h> exists even on freestanding compilers.
  23671. + # On the NeXT, cc -E runs the code through the compiler's parser,
  23672. + # not just through cpp. "Syntax error" is here to catch this case.
  23673. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23674. +/* end confdefs.h. */
  23675. +#ifdef __STDC__
  23676. +# include <limits.h>
  23677. +#else
  23678. +# include <assert.h>
  23679. +#endif
  23680. + Syntax error
  23681. +_ACEOF
  23682. +if ac_fn_c_try_cpp "$LINENO"; then :
  23683. -enable_dlopen=no
  23684. -enable_win32_dll=yes
  23685. +else
  23686. + # Broken: fails on valid input.
  23687. +continue
  23688. +fi
  23689. +rm -f conftest.err conftest.$ac_ext
  23690. -# Check whether --enable-libtool-lock was given.
  23691. -if test "${enable_libtool_lock+set}" = set; then
  23692. - enableval=$enable_libtool_lock;
  23693. + # OK, works on sane cases. Now check whether nonexistent headers
  23694. + # can be detected and how.
  23695. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23696. +/* end confdefs.h. */
  23697. +#include <ac_nonexistent.h>
  23698. +_ACEOF
  23699. +if ac_fn_c_try_cpp "$LINENO"; then :
  23700. + # Broken: success on invalid input.
  23701. +continue
  23702. +else
  23703. + # Passes both tests.
  23704. +ac_preproc_ok=:
  23705. +break
  23706. fi
  23707. +rm -f conftest.err conftest.$ac_ext
  23708. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  23709. +done
  23710. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  23711. +rm -f conftest.err conftest.$ac_ext
  23712. +if $ac_preproc_ok; then :
  23713. + break
  23714. +fi
  23715. + done
  23716. + ac_cv_prog_CPP=$CPP
  23717. -# Check whether --with-pic was given.
  23718. -if test "${with_pic+set}" = set; then
  23719. - withval=$with_pic; pic_mode="$withval"
  23720. +fi
  23721. + CPP=$ac_cv_prog_CPP
  23722. else
  23723. - pic_mode=default
  23724. + ac_cv_prog_CPP=$CPP
  23725. fi
  23726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  23727. +$as_echo "$CPP" >&6; }
  23728. +ac_preproc_ok=false
  23729. +for ac_c_preproc_warn_flag in '' yes
  23730. +do
  23731. + # Use a header file that comes with gcc, so configuring glibc
  23732. + # with a fresh cross-compiler works.
  23733. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  23734. + # <limits.h> exists even on freestanding compilers.
  23735. + # On the NeXT, cc -E runs the code through the compiler's parser,
  23736. + # not just through cpp. "Syntax error" is here to catch this case.
  23737. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23738. +/* end confdefs.h. */
  23739. +#ifdef __STDC__
  23740. +# include <limits.h>
  23741. +#else
  23742. +# include <assert.h>
  23743. +#endif
  23744. + Syntax error
  23745. +_ACEOF
  23746. +if ac_fn_c_try_cpp "$LINENO"; then :
  23747. -test -z "$pic_mode" && pic_mode=default
  23748. +else
  23749. + # Broken: fails on valid input.
  23750. +continue
  23751. +fi
  23752. +rm -f conftest.err conftest.$ac_ext
  23753. +
  23754. + # OK, works on sane cases. Now check whether nonexistent headers
  23755. + # can be detected and how.
  23756. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23757. +/* end confdefs.h. */
  23758. +#include <ac_nonexistent.h>
  23759. +_ACEOF
  23760. +if ac_fn_c_try_cpp "$LINENO"; then :
  23761. + # Broken: success on invalid input.
  23762. +continue
  23763. +else
  23764. + # Passes both tests.
  23765. +ac_preproc_ok=:
  23766. +break
  23767. +fi
  23768. +rm -f conftest.err conftest.$ac_ext
  23769. +
  23770. +done
  23771. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  23772. +rm -f conftest.err conftest.$ac_ext
  23773. +if $ac_preproc_ok; then :
  23774. +
  23775. +else
  23776. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23777. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23778. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  23779. +See \`config.log' for more details." "$LINENO" 5; }
  23780. +fi
  23781. -# Use C for the default configuration in the libtool script
  23782. -tagname=
  23783. -lt_save_CC="$CC"
  23784. ac_ext=c
  23785. ac_cpp='$CPP $CPPFLAGS'
  23786. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  23787. @@ -7641,10863 +7130,2487 @@
  23788. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  23789. -# Source file extension for C test sources.
  23790. -ac_ext=c
  23791. -
  23792. -# Object file extension for compiled C test sources.
  23793. -objext=o
  23794. -objext=$objext
  23795. -
  23796. -# Code to be used in simple compile tests
  23797. -lt_simple_compile_test_code="int some_variable = 0;"
  23798. -
  23799. -# Code to be used in simple link tests
  23800. -lt_simple_link_test_code='int main(){return(0);}'
  23801. -
  23802. -
  23803. -# If no C compiler was specified, use CC.
  23804. -LTCC=${LTCC-"$CC"}
  23805. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  23806. +$as_echo_n "checking for ANSI C header files... " >&6; }
  23807. +if test "${ac_cv_header_stdc+set}" = set; then :
  23808. + $as_echo_n "(cached) " >&6
  23809. +else
  23810. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23811. +/* end confdefs.h. */
  23812. +#include <stdlib.h>
  23813. +#include <stdarg.h>
  23814. +#include <string.h>
  23815. +#include <float.h>
  23816. -# If no C compiler flags were specified, use CFLAGS.
  23817. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  23818. +int
  23819. +main ()
  23820. +{
  23821. -# Allow CC to be a program name with arguments.
  23822. -compiler=$CC
  23823. + ;
  23824. + return 0;
  23825. +}
  23826. +_ACEOF
  23827. +if ac_fn_c_try_compile "$LINENO"; then :
  23828. + ac_cv_header_stdc=yes
  23829. +else
  23830. + ac_cv_header_stdc=no
  23831. +fi
  23832. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23833. +if test $ac_cv_header_stdc = yes; then
  23834. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  23835. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23836. +/* end confdefs.h. */
  23837. +#include <string.h>
  23838. -# save warnings/boilerplate of simple test code
  23839. -ac_outfile=conftest.$ac_objext
  23840. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  23841. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  23842. -_lt_compiler_boilerplate=`cat conftest.err`
  23843. -$rm conftest*
  23844. +_ACEOF
  23845. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  23846. + $EGREP "memchr" >/dev/null 2>&1; then :
  23847. -ac_outfile=conftest.$ac_objext
  23848. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  23849. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  23850. -_lt_linker_boilerplate=`cat conftest.err`
  23851. -$rm -r conftest*
  23852. +else
  23853. + ac_cv_header_stdc=no
  23854. +fi
  23855. +rm -f conftest*
  23856. +fi
  23857. +if test $ac_cv_header_stdc = yes; then
  23858. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  23859. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23860. +/* end confdefs.h. */
  23861. +#include <stdlib.h>
  23862. -lt_prog_compiler_no_builtin_flag=
  23863. +_ACEOF
  23864. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  23865. + $EGREP "free" >/dev/null 2>&1; then :
  23866. -if test "$GCC" = yes; then
  23867. - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  23868. +else
  23869. + ac_cv_header_stdc=no
  23870. +fi
  23871. +rm -f conftest*
  23872. +fi
  23873. -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  23874. -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  23875. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  23876. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23877. +if test $ac_cv_header_stdc = yes; then
  23878. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  23879. + if test "$cross_compiling" = yes; then :
  23880. + :
  23881. else
  23882. - lt_cv_prog_compiler_rtti_exceptions=no
  23883. - ac_outfile=conftest.$ac_objext
  23884. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  23885. - lt_compiler_flag="-fno-rtti -fno-exceptions"
  23886. - # Insert the option either (1) after the last *FLAGS variable, or
  23887. - # (2) before a word containing "conftest.", or (3) at the end.
  23888. - # Note that $ac_compile itself does not contain backslashes and begins
  23889. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  23890. - # The option is referenced via a variable to avoid confusing sed.
  23891. - lt_compile=`echo "$ac_compile" | $SED \
  23892. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  23893. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  23894. - -e 's:$: $lt_compiler_flag:'`
  23895. - (eval echo "\"\$as_me:7707: $lt_compile\"" >&5)
  23896. - (eval "$lt_compile" 2>conftest.err)
  23897. - ac_status=$?
  23898. - cat conftest.err >&5
  23899. - echo "$as_me:7711: \$? = $ac_status" >&5
  23900. - if (exit $ac_status) && test -s "$ac_outfile"; then
  23901. - # The compiler can only warn and ignore the option if not recognized
  23902. - # So say no if there are warnings other than the usual output.
  23903. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  23904. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  23905. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  23906. - lt_cv_prog_compiler_rtti_exceptions=yes
  23907. - fi
  23908. - fi
  23909. - $rm conftest*
  23910. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23911. +/* end confdefs.h. */
  23912. +#include <ctype.h>
  23913. +#include <stdlib.h>
  23914. +#if ((' ' & 0x0FF) == 0x020)
  23915. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  23916. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  23917. +#else
  23918. +# define ISLOWER(c) \
  23919. + (('a' <= (c) && (c) <= 'i') \
  23920. + || ('j' <= (c) && (c) <= 'r') \
  23921. + || ('s' <= (c) && (c) <= 'z'))
  23922. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  23923. +#endif
  23924. -fi
  23925. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  23926. -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  23927. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  23928. +int
  23929. +main ()
  23930. +{
  23931. + int i;
  23932. + for (i = 0; i < 256; i++)
  23933. + if (XOR (islower (i), ISLOWER (i))
  23934. + || toupper (i) != TOUPPER (i))
  23935. + return 2;
  23936. + return 0;
  23937. +}
  23938. +_ACEOF
  23939. +if ac_fn_c_try_run "$LINENO"; then :
  23940. -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  23941. - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  23942. else
  23943. - :
  23944. + ac_cv_header_stdc=no
  23945. +fi
  23946. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23947. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23948. fi
  23949. fi
  23950. +fi
  23951. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  23952. +$as_echo "$ac_cv_header_stdc" >&6; }
  23953. +if test $ac_cv_header_stdc = yes; then
  23954. -lt_prog_compiler_wl=
  23955. -lt_prog_compiler_pic=
  23956. -lt_prog_compiler_static=
  23957. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  23958. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  23959. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  23960. +fi
  23961. - if test "$GCC" = yes; then
  23962. - lt_prog_compiler_wl='-Wl,'
  23963. - lt_prog_compiler_static='-static'
  23964. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  23965. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  23966. + inttypes.h stdint.h unistd.h
  23967. +do :
  23968. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  23969. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  23970. +"
  23971. +eval as_val=\$$as_ac_Header
  23972. + if test "x$as_val" = x""yes; then :
  23973. + cat >>confdefs.h <<_ACEOF
  23974. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  23975. +_ACEOF
  23976. - case $host_os in
  23977. - aix*)
  23978. - # All AIX code is PIC.
  23979. - if test "$host_cpu" = ia64; then
  23980. - # AIX 5 now supports IA64 processor
  23981. - lt_prog_compiler_static='-Bstatic'
  23982. - fi
  23983. - ;;
  23984. +fi
  23985. - amigaos*)
  23986. - # FIXME: we need at least 68020 code to build shared libraries, but
  23987. - # adding the `-m68020' flag to GCC prevents building anything better,
  23988. - # like `-m68040'.
  23989. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  23990. - ;;
  23991. +done
  23992. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  23993. - # PIC is the default for these OSes.
  23994. - ;;
  23995. - mingw* | cygwin* | pw32* | os2*)
  23996. - # This hack is so that the source file can tell whether it is being
  23997. - # built for inclusion in a dll (and should export symbols for example).
  23998. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  23999. - # (--disable-auto-import) libraries
  24000. - lt_prog_compiler_pic='-DDLL_EXPORT'
  24001. - ;;
  24002. +for ac_header in dlfcn.h
  24003. +do :
  24004. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  24005. +"
  24006. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  24007. + cat >>confdefs.h <<_ACEOF
  24008. +#define HAVE_DLFCN_H 1
  24009. +_ACEOF
  24010. - darwin* | rhapsody*)
  24011. - # PIC is the default on this platform
  24012. - # Common symbols not allowed in MH_DYLIB files
  24013. - lt_prog_compiler_pic='-fno-common'
  24014. - ;;
  24015. +fi
  24016. - interix[3-9]*)
  24017. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  24018. - # Instead, we relocate shared libraries at runtime.
  24019. - ;;
  24020. +done
  24021. - msdosdjgpp*)
  24022. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  24023. - # on systems that don't support them.
  24024. - lt_prog_compiler_can_build_shared=no
  24025. - enable_shared=no
  24026. - ;;
  24027. - sysv4*MP*)
  24028. - if test -d /usr/nec; then
  24029. - lt_prog_compiler_pic=-Kconform_pic
  24030. - fi
  24031. - ;;
  24032. - hpux*)
  24033. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  24034. - # not for PA HP-UX.
  24035. - case $host_cpu in
  24036. - hppa*64*|ia64*)
  24037. - # +Z the default
  24038. - ;;
  24039. - *)
  24040. - lt_prog_compiler_pic='-fPIC'
  24041. - ;;
  24042. - esac
  24043. - ;;
  24044. +# Set options
  24045. +
  24046. +
  24047. +
  24048. + enable_dlopen=no
  24049. +
  24050. +
  24051. + # Check whether --enable-shared was given.
  24052. +if test "${enable_shared+set}" = set; then :
  24053. + enableval=$enable_shared; p=${PACKAGE-default}
  24054. + case $enableval in
  24055. + yes) enable_shared=yes ;;
  24056. + no) enable_shared=no ;;
  24057. *)
  24058. - lt_prog_compiler_pic='-fPIC'
  24059. + enable_shared=no
  24060. + # Look at the argument we got. We use all the common list separators.
  24061. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  24062. + for pkg in $enableval; do
  24063. + IFS="$lt_save_ifs"
  24064. + if test "X$pkg" = "X$p"; then
  24065. + enable_shared=yes
  24066. + fi
  24067. + done
  24068. + IFS="$lt_save_ifs"
  24069. ;;
  24070. esac
  24071. - else
  24072. - # PORTME Check for flag to pass linker flags through the system compiler.
  24073. - case $host_os in
  24074. - aix*)
  24075. - lt_prog_compiler_wl='-Wl,'
  24076. - if test "$host_cpu" = ia64; then
  24077. - # AIX 5 now supports IA64 processor
  24078. - lt_prog_compiler_static='-Bstatic'
  24079. - else
  24080. - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  24081. - fi
  24082. - ;;
  24083. - darwin*)
  24084. - # PIC is the default on this platform
  24085. - # Common symbols not allowed in MH_DYLIB files
  24086. - case $cc_basename in
  24087. - xlc*)
  24088. - lt_prog_compiler_pic='-qnocommon'
  24089. - lt_prog_compiler_wl='-Wl,'
  24090. - ;;
  24091. - esac
  24092. - ;;
  24093. +else
  24094. + enable_shared=yes
  24095. +fi
  24096. - mingw* | cygwin* | pw32* | os2*)
  24097. - # This hack is so that the source file can tell whether it is being
  24098. - # built for inclusion in a dll (and should export symbols for example).
  24099. - lt_prog_compiler_pic='-DDLL_EXPORT'
  24100. - ;;
  24101. - hpux9* | hpux10* | hpux11*)
  24102. - lt_prog_compiler_wl='-Wl,'
  24103. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  24104. - # not for PA HP-UX.
  24105. - case $host_cpu in
  24106. - hppa*64*|ia64*)
  24107. - # +Z the default
  24108. - ;;
  24109. - *)
  24110. - lt_prog_compiler_pic='+Z'
  24111. - ;;
  24112. - esac
  24113. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  24114. - lt_prog_compiler_static='${wl}-a ${wl}archive'
  24115. - ;;
  24116. - irix5* | irix6* | nonstopux*)
  24117. - lt_prog_compiler_wl='-Wl,'
  24118. - # PIC (with -KPIC) is the default.
  24119. - lt_prog_compiler_static='-non_shared'
  24120. - ;;
  24121. - newsos6)
  24122. - lt_prog_compiler_pic='-KPIC'
  24123. - lt_prog_compiler_static='-Bstatic'
  24124. - ;;
  24125. - linux* | k*bsd*-gnu)
  24126. - case $cc_basename in
  24127. - icc* | ecc*)
  24128. - lt_prog_compiler_wl='-Wl,'
  24129. - lt_prog_compiler_pic='-KPIC'
  24130. - lt_prog_compiler_static='-static'
  24131. - ;;
  24132. - pgcc* | pgf77* | pgf90* | pgf95*)
  24133. - # Portland Group compilers (*not* the Pentium gcc compiler,
  24134. - # which looks to be a dead project)
  24135. - lt_prog_compiler_wl='-Wl,'
  24136. - lt_prog_compiler_pic='-fpic'
  24137. - lt_prog_compiler_static='-Bstatic'
  24138. - ;;
  24139. - ccc*)
  24140. - lt_prog_compiler_wl='-Wl,'
  24141. - # All Alpha code is PIC.
  24142. - lt_prog_compiler_static='-non_shared'
  24143. - ;;
  24144. - *)
  24145. - case `$CC -V 2>&1 | sed 5q` in
  24146. - *Sun\ C*)
  24147. - # Sun C 5.9
  24148. - lt_prog_compiler_pic='-KPIC'
  24149. - lt_prog_compiler_static='-Bstatic'
  24150. - lt_prog_compiler_wl='-Wl,'
  24151. - ;;
  24152. - *Sun\ F*)
  24153. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  24154. - lt_prog_compiler_pic='-KPIC'
  24155. - lt_prog_compiler_static='-Bstatic'
  24156. - lt_prog_compiler_wl=''
  24157. - ;;
  24158. - esac
  24159. - ;;
  24160. - esac
  24161. - ;;
  24162. - osf3* | osf4* | osf5*)
  24163. - lt_prog_compiler_wl='-Wl,'
  24164. - # All OSF/1 code is PIC.
  24165. - lt_prog_compiler_static='-non_shared'
  24166. - ;;
  24167. - rdos*)
  24168. - lt_prog_compiler_static='-non_shared'
  24169. - ;;
  24170. - solaris*)
  24171. - lt_prog_compiler_pic='-KPIC'
  24172. - lt_prog_compiler_static='-Bstatic'
  24173. - case $cc_basename in
  24174. - f77* | f90* | f95*)
  24175. - lt_prog_compiler_wl='-Qoption ld ';;
  24176. - *)
  24177. - lt_prog_compiler_wl='-Wl,';;
  24178. - esac
  24179. - ;;
  24180. - sunos4*)
  24181. - lt_prog_compiler_wl='-Qoption ld '
  24182. - lt_prog_compiler_pic='-PIC'
  24183. - lt_prog_compiler_static='-Bstatic'
  24184. + # Check whether --enable-static was given.
  24185. +if test "${enable_static+set}" = set; then :
  24186. + enableval=$enable_static; p=${PACKAGE-default}
  24187. + case $enableval in
  24188. + yes) enable_static=yes ;;
  24189. + no) enable_static=no ;;
  24190. + *)
  24191. + enable_static=no
  24192. + # Look at the argument we got. We use all the common list separators.
  24193. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  24194. + for pkg in $enableval; do
  24195. + IFS="$lt_save_ifs"
  24196. + if test "X$pkg" = "X$p"; then
  24197. + enable_static=yes
  24198. + fi
  24199. + done
  24200. + IFS="$lt_save_ifs"
  24201. ;;
  24202. + esac
  24203. +else
  24204. + enable_static=yes
  24205. +fi
  24206. +
  24207. - sysv4 | sysv4.2uw2* | sysv4.3*)
  24208. - lt_prog_compiler_wl='-Wl,'
  24209. - lt_prog_compiler_pic='-KPIC'
  24210. - lt_prog_compiler_static='-Bstatic'
  24211. - ;;
  24212. - sysv4*MP*)
  24213. - if test -d /usr/nec ;then
  24214. - lt_prog_compiler_pic='-Kconform_pic'
  24215. - lt_prog_compiler_static='-Bstatic'
  24216. - fi
  24217. - ;;
  24218. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  24219. - lt_prog_compiler_wl='-Wl,'
  24220. - lt_prog_compiler_pic='-KPIC'
  24221. - lt_prog_compiler_static='-Bstatic'
  24222. - ;;
  24223. - unicos*)
  24224. - lt_prog_compiler_wl='-Wl,'
  24225. - lt_prog_compiler_can_build_shared=no
  24226. - ;;
  24227. - uts4*)
  24228. - lt_prog_compiler_pic='-pic'
  24229. - lt_prog_compiler_static='-Bstatic'
  24230. - ;;
  24231. - *)
  24232. - lt_prog_compiler_can_build_shared=no
  24233. - ;;
  24234. - esac
  24235. - fi
  24236. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  24237. -echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
  24238. -#
  24239. -# Check to make sure the PIC flag actually works.
  24240. -#
  24241. -if test -n "$lt_prog_compiler_pic"; then
  24242. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  24243. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
  24244. -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  24245. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24246. +# Check whether --with-pic was given.
  24247. +if test "${with_pic+set}" = set; then :
  24248. + withval=$with_pic; pic_mode="$withval"
  24249. else
  24250. - lt_cv_prog_compiler_pic_works=no
  24251. - ac_outfile=conftest.$ac_objext
  24252. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  24253. - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  24254. - # Insert the option either (1) after the last *FLAGS variable, or
  24255. - # (2) before a word containing "conftest.", or (3) at the end.
  24256. - # Note that $ac_compile itself does not contain backslashes and begins
  24257. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  24258. - # The option is referenced via a variable to avoid confusing sed.
  24259. - lt_compile=`echo "$ac_compile" | $SED \
  24260. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  24261. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  24262. - -e 's:$: $lt_compiler_flag:'`
  24263. - (eval echo "\"\$as_me:7997: $lt_compile\"" >&5)
  24264. - (eval "$lt_compile" 2>conftest.err)
  24265. - ac_status=$?
  24266. - cat conftest.err >&5
  24267. - echo "$as_me:8001: \$? = $ac_status" >&5
  24268. - if (exit $ac_status) && test -s "$ac_outfile"; then
  24269. - # The compiler can only warn and ignore the option if not recognized
  24270. - # So say no if there are warnings other than the usual output.
  24271. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  24272. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  24273. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  24274. - lt_cv_prog_compiler_pic_works=yes
  24275. - fi
  24276. - fi
  24277. - $rm conftest*
  24278. -
  24279. + pic_mode=default
  24280. fi
  24281. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  24282. -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
  24283. -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  24284. - case $lt_prog_compiler_pic in
  24285. - "" | " "*) ;;
  24286. - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  24287. - esac
  24288. -else
  24289. - lt_prog_compiler_pic=
  24290. - lt_prog_compiler_can_build_shared=no
  24291. -fi
  24292. -fi
  24293. -case $host_os in
  24294. - # For platforms which do not support PIC, -DPIC is meaningless:
  24295. - *djgpp*)
  24296. - lt_prog_compiler_pic=
  24297. - ;;
  24298. - *)
  24299. - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  24300. - ;;
  24301. -esac
  24302. +test -z "$pic_mode" && pic_mode=default
  24303. -#
  24304. -# Check to make sure the static flag actually works.
  24305. -#
  24306. -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  24307. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  24308. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  24309. -if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  24310. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24311. -else
  24312. - lt_cv_prog_compiler_static_works=no
  24313. - save_LDFLAGS="$LDFLAGS"
  24314. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  24315. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  24316. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  24317. - # The linker can only warn and ignore the option if not recognized
  24318. - # So say no if there are warnings
  24319. - if test -s conftest.err; then
  24320. - # Append any errors to the config.log.
  24321. - cat conftest.err 1>&5
  24322. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  24323. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  24324. - if diff conftest.exp conftest.er2 >/dev/null; then
  24325. - lt_cv_prog_compiler_static_works=yes
  24326. - fi
  24327. - else
  24328. - lt_cv_prog_compiler_static_works=yes
  24329. - fi
  24330. - fi
  24331. - $rm -r conftest*
  24332. - LDFLAGS="$save_LDFLAGS"
  24333. -fi
  24334. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  24335. -echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
  24336. -if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  24337. - :
  24338. +
  24339. +
  24340. +
  24341. +
  24342. + # Check whether --enable-fast-install was given.
  24343. +if test "${enable_fast_install+set}" = set; then :
  24344. + enableval=$enable_fast_install; p=${PACKAGE-default}
  24345. + case $enableval in
  24346. + yes) enable_fast_install=yes ;;
  24347. + no) enable_fast_install=no ;;
  24348. + *)
  24349. + enable_fast_install=no
  24350. + # Look at the argument we got. We use all the common list separators.
  24351. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  24352. + for pkg in $enableval; do
  24353. + IFS="$lt_save_ifs"
  24354. + if test "X$pkg" = "X$p"; then
  24355. + enable_fast_install=yes
  24356. + fi
  24357. + done
  24358. + IFS="$lt_save_ifs"
  24359. + ;;
  24360. + esac
  24361. else
  24362. - lt_prog_compiler_static=
  24363. + enable_fast_install=yes
  24364. fi
  24365. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  24366. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  24367. -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  24368. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24369. -else
  24370. - lt_cv_prog_compiler_c_o=no
  24371. - $rm -r conftest 2>/dev/null
  24372. - mkdir conftest
  24373. - cd conftest
  24374. - mkdir out
  24375. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  24376. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  24377. - # Insert the option either (1) after the last *FLAGS variable, or
  24378. - # (2) before a word containing "conftest.", or (3) at the end.
  24379. - # Note that $ac_compile itself does not contain backslashes and begins
  24380. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  24381. - lt_compile=`echo "$ac_compile" | $SED \
  24382. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  24383. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  24384. - -e 's:$: $lt_compiler_flag:'`
  24385. - (eval echo "\"\$as_me:8101: $lt_compile\"" >&5)
  24386. - (eval "$lt_compile" 2>out/conftest.err)
  24387. - ac_status=$?
  24388. - cat out/conftest.err >&5
  24389. - echo "$as_me:8105: \$? = $ac_status" >&5
  24390. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  24391. - then
  24392. - # The compiler can only warn and ignore the option if not recognized
  24393. - # So say no if there are warnings
  24394. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  24395. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  24396. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  24397. - lt_cv_prog_compiler_c_o=yes
  24398. - fi
  24399. - fi
  24400. - chmod u+w . 2>&5
  24401. - $rm conftest*
  24402. - # SGI C++ compiler will create directory out/ii_files/ for
  24403. - # template instantiation
  24404. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  24405. - $rm out/* && rmdir out
  24406. - cd ..
  24407. - rmdir conftest
  24408. - $rm conftest*
  24409. -fi
  24410. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  24411. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  24412. -hard_links="nottested"
  24413. -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  24414. - # do not overwrite the value of need_locks provided by the user
  24415. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  24416. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  24417. - hard_links=yes
  24418. - $rm conftest*
  24419. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  24420. - touch conftest.a
  24421. - ln conftest.a conftest.b 2>&5 || hard_links=no
  24422. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  24423. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  24424. -echo "${ECHO_T}$hard_links" >&6; }
  24425. - if test "$hard_links" = no; then
  24426. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  24427. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  24428. - need_locks=warn
  24429. - fi
  24430. -else
  24431. - need_locks=no
  24432. -fi
  24433. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  24434. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  24435. - runpath_var=
  24436. - allow_undefined_flag=
  24437. - enable_shared_with_static_runtimes=no
  24438. - archive_cmds=
  24439. - archive_expsym_cmds=
  24440. - old_archive_From_new_cmds=
  24441. - old_archive_from_expsyms_cmds=
  24442. - export_dynamic_flag_spec=
  24443. - whole_archive_flag_spec=
  24444. - thread_safe_flag_spec=
  24445. - hardcode_libdir_flag_spec=
  24446. - hardcode_libdir_flag_spec_ld=
  24447. - hardcode_libdir_separator=
  24448. - hardcode_direct=no
  24449. - hardcode_minus_L=no
  24450. - hardcode_shlibpath_var=unsupported
  24451. - link_all_deplibs=unknown
  24452. - hardcode_automatic=no
  24453. - module_cmds=
  24454. - module_expsym_cmds=
  24455. - always_export_symbols=no
  24456. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  24457. - # include_expsyms should be a list of space-separated symbols to be *always*
  24458. - # included in the symbol list
  24459. - include_expsyms=
  24460. - # exclude_expsyms can be an extended regexp of symbols to exclude
  24461. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  24462. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  24463. - # as well as any symbol that contains `d'.
  24464. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  24465. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  24466. - # platforms (ab)use it in PIC code, but their linkers get confused if
  24467. - # the symbol is explicitly referenced. Since portable code cannot
  24468. - # rely on this symbol name, it's probably fine to never include it in
  24469. - # preloaded symbol tables.
  24470. - # Exclude shared library initialization/finalization symbols.
  24471. - extract_expsyms_cmds=
  24472. - # Just being paranoid about ensuring that cc_basename is set.
  24473. - for cc_temp in $compiler""; do
  24474. - case $cc_temp in
  24475. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  24476. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  24477. - \-*) ;;
  24478. - *) break;;
  24479. - esac
  24480. -done
  24481. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  24482. - case $host_os in
  24483. - cygwin* | mingw* | pw32*)
  24484. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  24485. - # When not using gcc, we currently assume that we are using
  24486. - # Microsoft Visual C++.
  24487. - if test "$GCC" != yes; then
  24488. - with_gnu_ld=no
  24489. - fi
  24490. - ;;
  24491. - interix*)
  24492. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  24493. - with_gnu_ld=yes
  24494. - ;;
  24495. - openbsd*)
  24496. - with_gnu_ld=no
  24497. - ;;
  24498. - esac
  24499. - ld_shlibs=yes
  24500. - if test "$with_gnu_ld" = yes; then
  24501. - # If archive_cmds runs LD, not CC, wlarc should be empty
  24502. - wlarc='${wl}'
  24503. - # Set some defaults for GNU ld with shared library support. These
  24504. - # are reset later if shared libraries are not supported. Putting them
  24505. - # here allows them to be overridden if necessary.
  24506. - runpath_var=LD_RUN_PATH
  24507. - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  24508. - export_dynamic_flag_spec='${wl}--export-dynamic'
  24509. - # ancient GNU ld didn't support --whole-archive et. al.
  24510. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  24511. - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  24512. - else
  24513. - whole_archive_flag_spec=
  24514. - fi
  24515. - supports_anon_versioning=no
  24516. - case `$LD -v 2>/dev/null` in
  24517. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  24518. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  24519. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  24520. - *\ 2.11.*) ;; # other 2.11 versions
  24521. - *) supports_anon_versioning=yes ;;
  24522. - esac
  24523. +# This can be used to rebuild libtool when needed
  24524. +LIBTOOL_DEPS="$ltmain"
  24525. - # See if GNU ld supports shared libraries.
  24526. - case $host_os in
  24527. - aix[3-9]*)
  24528. - # On AIX/PPC, the GNU linker is very broken
  24529. - if test "$host_cpu" != ia64; then
  24530. - ld_shlibs=no
  24531. - cat <<EOF 1>&2
  24532. +# Always use our own libtool.
  24533. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  24534. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  24535. -*** to be unable to reliably create shared libraries on AIX.
  24536. -*** Therefore, libtool is disabling shared libraries support. If you
  24537. -*** really care for shared libraries, you may want to modify your PATH
  24538. -*** so that a non-GNU linker is found, and then restart.
  24539. -EOF
  24540. - fi
  24541. - ;;
  24542. - amigaos*)
  24543. - 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)'
  24544. - hardcode_libdir_flag_spec='-L$libdir'
  24545. - hardcode_minus_L=yes
  24546. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  24547. - # that the semantics of dynamic libraries on AmigaOS, at least up
  24548. - # to version 4, is to share data among multiple programs linked
  24549. - # with the same dynamic library. Since this doesn't match the
  24550. - # behavior of shared libraries on other platforms, we can't use
  24551. - # them.
  24552. - ld_shlibs=no
  24553. - ;;
  24554. - beos*)
  24555. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  24556. - allow_undefined_flag=unsupported
  24557. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  24558. - # support --undefined. This deserves some investigation. FIXME
  24559. - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  24560. - else
  24561. - ld_shlibs=no
  24562. - fi
  24563. - ;;
  24564. - cygwin* | mingw* | pw32*)
  24565. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  24566. - # as there is no search path for DLLs.
  24567. - hardcode_libdir_flag_spec='-L$libdir'
  24568. - allow_undefined_flag=unsupported
  24569. - always_export_symbols=no
  24570. - enable_shared_with_static_runtimes=yes
  24571. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  24572. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  24573. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  24574. - # If the export-symbols file already is a .def file (1st line
  24575. - # is EXPORTS), use it as is; otherwise, prepend...
  24576. - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  24577. - cp $export_symbols $output_objdir/$soname.def;
  24578. - else
  24579. - echo EXPORTS > $output_objdir/$soname.def;
  24580. - cat $export_symbols >> $output_objdir/$soname.def;
  24581. - fi~
  24582. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  24583. - else
  24584. - ld_shlibs=no
  24585. - fi
  24586. - ;;
  24587. - interix[3-9]*)
  24588. - hardcode_direct=no
  24589. - hardcode_shlibpath_var=no
  24590. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  24591. - export_dynamic_flag_spec='${wl}-E'
  24592. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  24593. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  24594. - # default) and relocated if they conflict, which is a slow very memory
  24595. - # consuming and fragmenting process. To avoid this, we pick a random,
  24596. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  24597. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  24598. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  24599. - 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'
  24600. - ;;
  24601. - gnu* | linux* | k*bsd*-gnu)
  24602. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  24603. - tmp_addflag=
  24604. - case $cc_basename,$host_cpu in
  24605. - pgcc*) # Portland Group C compiler
  24606. - 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'
  24607. - tmp_addflag=' $pic_flag'
  24608. - ;;
  24609. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  24610. - 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'
  24611. - tmp_addflag=' $pic_flag -Mnomain' ;;
  24612. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  24613. - tmp_addflag=' -i_dynamic' ;;
  24614. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  24615. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  24616. - ifc* | ifort*) # Intel Fortran compiler
  24617. - tmp_addflag=' -nofor_main' ;;
  24618. - esac
  24619. - case `$CC -V 2>&1 | sed 5q` in
  24620. - *Sun\ C*) # Sun C 5.9
  24621. - 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'
  24622. - tmp_sharedflag='-G' ;;
  24623. - *Sun\ F*) # Sun Fortran 8.3
  24624. - tmp_sharedflag='-G' ;;
  24625. - *)
  24626. - tmp_sharedflag='-shared' ;;
  24627. - esac
  24628. - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  24629. - if test $supports_anon_versioning = yes; then
  24630. - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
  24631. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  24632. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  24633. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  24634. - fi
  24635. - link_all_deplibs=no
  24636. - else
  24637. - ld_shlibs=no
  24638. - fi
  24639. - ;;
  24640. - netbsd* | netbsdelf*-gnu)
  24641. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  24642. - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  24643. - wlarc=
  24644. - else
  24645. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  24646. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  24647. - fi
  24648. - ;;
  24649. - solaris*)
  24650. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  24651. - ld_shlibs=no
  24652. - cat <<EOF 1>&2
  24653. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  24654. -*** create shared libraries on Solaris systems. Therefore, libtool
  24655. -*** is disabling shared libraries support. We urge you to upgrade GNU
  24656. -*** binutils to release 2.9.1 or newer. Another option is to modify
  24657. -*** your PATH or compiler configuration so that the native linker is
  24658. -*** used, and then restart.
  24659. -EOF
  24660. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  24661. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  24662. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  24663. - else
  24664. - ld_shlibs=no
  24665. - fi
  24666. - ;;
  24667. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  24668. - case `$LD -v 2>&1` in
  24669. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  24670. - ld_shlibs=no
  24671. - cat <<_LT_EOF 1>&2
  24672. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  24673. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  24674. -*** is disabling shared libraries support. We urge you to upgrade GNU
  24675. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  24676. -*** your PATH or compiler configuration so that the native linker is
  24677. -*** used, and then restart.
  24678. -_LT_EOF
  24679. - ;;
  24680. - *)
  24681. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  24682. - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  24683. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  24684. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  24685. - else
  24686. - ld_shlibs=no
  24687. - fi
  24688. - ;;
  24689. - esac
  24690. - ;;
  24691. - sunos4*)
  24692. - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  24693. - wlarc=
  24694. - hardcode_direct=yes
  24695. - hardcode_shlibpath_var=no
  24696. - ;;
  24697. - *)
  24698. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  24699. - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  24700. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  24701. - else
  24702. - ld_shlibs=no
  24703. - fi
  24704. - ;;
  24705. - esac
  24706. - if test "$ld_shlibs" = no; then
  24707. - runpath_var=
  24708. - hardcode_libdir_flag_spec=
  24709. - export_dynamic_flag_spec=
  24710. - whole_archive_flag_spec=
  24711. - fi
  24712. - else
  24713. - # PORTME fill in a description of your system's linker (not GNU ld)
  24714. - case $host_os in
  24715. - aix3*)
  24716. - allow_undefined_flag=unsupported
  24717. - always_export_symbols=yes
  24718. - 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'
  24719. - # Note: this linker hardcodes the directories in LIBPATH if there
  24720. - # are no directories specified by -L.
  24721. - hardcode_minus_L=yes
  24722. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  24723. - # Neither direct hardcoding nor static linking is supported with a
  24724. - # broken collect2.
  24725. - hardcode_direct=unsupported
  24726. - fi
  24727. - ;;
  24728. - aix[4-9]*)
  24729. - if test "$host_cpu" = ia64; then
  24730. - # On IA64, the linker does run time linking by default, so we don't
  24731. - # have to do anything special.
  24732. - aix_use_runtimelinking=no
  24733. - exp_sym_flag='-Bexport'
  24734. - no_entry_flag=""
  24735. - else
  24736. - # If we're using GNU nm, then we don't want the "-C" option.
  24737. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  24738. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  24739. - 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'
  24740. - else
  24741. - 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'
  24742. - fi
  24743. - aix_use_runtimelinking=no
  24744. - # Test if we are trying to use run time linking or normal
  24745. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  24746. - # need to do runtime linking.
  24747. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  24748. - for ld_flag in $LDFLAGS; do
  24749. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  24750. - aix_use_runtimelinking=yes
  24751. - break
  24752. - fi
  24753. - done
  24754. - ;;
  24755. - esac
  24756. - exp_sym_flag='-bexport'
  24757. - no_entry_flag='-bnoentry'
  24758. - fi
  24759. - # When large executables or shared objects are built, AIX ld can
  24760. - # have problems creating the table of contents. If linking a library
  24761. - # or program results in "error TOC overflow" add -mminimal-toc to
  24762. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  24763. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  24764. - archive_cmds=''
  24765. - hardcode_direct=yes
  24766. - hardcode_libdir_separator=':'
  24767. - link_all_deplibs=yes
  24768. +test -z "$LN_S" && LN_S="ln -s"
  24769. - if test "$GCC" = yes; then
  24770. - case $host_os in aix4.[012]|aix4.[012].*)
  24771. - # We only want to do this on AIX 4.2 and lower, the check
  24772. - # below for broken collect2 doesn't work under 4.3+
  24773. - collect2name=`${CC} -print-prog-name=collect2`
  24774. - if test -f "$collect2name" && \
  24775. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  24776. - then
  24777. - # We have reworked collect2
  24778. - :
  24779. - else
  24780. - # We have old collect2
  24781. - hardcode_direct=unsupported
  24782. - # It fails to find uninstalled libraries when the uninstalled
  24783. - # path is not listed in the libpath. Setting hardcode_minus_L
  24784. - # to unsupported forces relinking
  24785. - hardcode_minus_L=yes
  24786. - hardcode_libdir_flag_spec='-L$libdir'
  24787. - hardcode_libdir_separator=
  24788. - fi
  24789. - ;;
  24790. - esac
  24791. - shared_flag='-shared'
  24792. - if test "$aix_use_runtimelinking" = yes; then
  24793. - shared_flag="$shared_flag "'${wl}-G'
  24794. - fi
  24795. - else
  24796. - # not using gcc
  24797. - if test "$host_cpu" = ia64; then
  24798. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  24799. - # chokes on -Wl,-G. The following line is correct:
  24800. - shared_flag='-G'
  24801. - else
  24802. - if test "$aix_use_runtimelinking" = yes; then
  24803. - shared_flag='${wl}-G'
  24804. - else
  24805. - shared_flag='${wl}-bM:SRE'
  24806. - fi
  24807. - fi
  24808. - fi
  24809. - # It seems that -bexpall does not export symbols beginning with
  24810. - # underscore (_), so it is better to generate a list of symbols to export.
  24811. - always_export_symbols=yes
  24812. - if test "$aix_use_runtimelinking" = yes; then
  24813. - # Warning - without using the other runtime loading flags (-brtl),
  24814. - # -berok will link without error, but may produce a broken library.
  24815. - allow_undefined_flag='-berok'
  24816. - # Determine the default libpath from the value encoded in an empty executable.
  24817. - cat >conftest.$ac_ext <<_ACEOF
  24818. -/* confdefs.h. */
  24819. -_ACEOF
  24820. -cat confdefs.h >>conftest.$ac_ext
  24821. -cat >>conftest.$ac_ext <<_ACEOF
  24822. -/* end confdefs.h. */
  24823. -int
  24824. -main ()
  24825. -{
  24826. - ;
  24827. - return 0;
  24828. -}
  24829. -_ACEOF
  24830. -rm -f conftest.$ac_objext conftest$ac_exeext
  24831. -if { (ac_try="$ac_link"
  24832. -case "(($ac_try" in
  24833. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24834. - *) ac_try_echo=$ac_try;;
  24835. -esac
  24836. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24837. - (eval "$ac_link") 2>conftest.er1
  24838. - ac_status=$?
  24839. - grep -v '^ *+' conftest.er1 >conftest.err
  24840. - rm -f conftest.er1
  24841. - cat conftest.err >&5
  24842. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24843. - (exit $ac_status); } && {
  24844. - test -z "$ac_c_werror_flag" ||
  24845. - test ! -s conftest.err
  24846. - } && test -s conftest$ac_exeext &&
  24847. - $as_test_x conftest$ac_exeext; then
  24848. -lt_aix_libpath_sed='
  24849. - /Import File Strings/,/^$/ {
  24850. - /^0/ {
  24851. - s/^0 *\(.*\)$/\1/
  24852. - p
  24853. - }
  24854. - }'
  24855. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  24856. -# Check for a 64-bit object if we didn't find anything.
  24857. -if test -z "$aix_libpath"; then
  24858. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  24859. -fi
  24860. -else
  24861. - echo "$as_me: failed program was:" >&5
  24862. -sed 's/^/| /' conftest.$ac_ext >&5
  24863. -fi
  24864. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24865. - conftest$ac_exeext conftest.$ac_ext
  24866. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  24867. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  24868. - 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"
  24869. - else
  24870. - if test "$host_cpu" = ia64; then
  24871. - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  24872. - allow_undefined_flag="-z nodefs"
  24873. - 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"
  24874. - else
  24875. - # Determine the default libpath from the value encoded in an empty executable.
  24876. - cat >conftest.$ac_ext <<_ACEOF
  24877. -/* confdefs.h. */
  24878. -_ACEOF
  24879. -cat confdefs.h >>conftest.$ac_ext
  24880. -cat >>conftest.$ac_ext <<_ACEOF
  24881. -/* end confdefs.h. */
  24882. -int
  24883. -main ()
  24884. -{
  24885. - ;
  24886. - return 0;
  24887. -}
  24888. -_ACEOF
  24889. -rm -f conftest.$ac_objext conftest$ac_exeext
  24890. -if { (ac_try="$ac_link"
  24891. -case "(($ac_try" in
  24892. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24893. - *) ac_try_echo=$ac_try;;
  24894. -esac
  24895. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24896. - (eval "$ac_link") 2>conftest.er1
  24897. - ac_status=$?
  24898. - grep -v '^ *+' conftest.er1 >conftest.err
  24899. - rm -f conftest.er1
  24900. - cat conftest.err >&5
  24901. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24902. - (exit $ac_status); } && {
  24903. - test -z "$ac_c_werror_flag" ||
  24904. - test ! -s conftest.err
  24905. - } && test -s conftest$ac_exeext &&
  24906. - $as_test_x conftest$ac_exeext; then
  24907. -lt_aix_libpath_sed='
  24908. - /Import File Strings/,/^$/ {
  24909. - /^0/ {
  24910. - s/^0 *\(.*\)$/\1/
  24911. - p
  24912. - }
  24913. - }'
  24914. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  24915. -# Check for a 64-bit object if we didn't find anything.
  24916. -if test -z "$aix_libpath"; then
  24917. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  24918. -fi
  24919. -else
  24920. - echo "$as_me: failed program was:" >&5
  24921. -sed 's/^/| /' conftest.$ac_ext >&5
  24922. +if test -n "${ZSH_VERSION+set}" ; then
  24923. + setopt NO_GLOB_SUBST
  24924. fi
  24925. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24926. - conftest$ac_exeext conftest.$ac_ext
  24927. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  24928. -
  24929. - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  24930. - # Warning - without using the other run time loading flags,
  24931. - # -berok will link without error, but may produce a broken library.
  24932. - no_undefined_flag=' ${wl}-bernotok'
  24933. - allow_undefined_flag=' ${wl}-berok'
  24934. - # Exported symbols can be pulled into shared objects from archives
  24935. - whole_archive_flag_spec='$convenience'
  24936. - archive_cmds_need_lc=yes
  24937. - # This is similar to how AIX traditionally builds its shared libraries.
  24938. - 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'
  24939. - fi
  24940. - fi
  24941. - ;;
  24942. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  24943. +$as_echo_n "checking for objdir... " >&6; }
  24944. +if test "${lt_cv_objdir+set}" = set; then :
  24945. + $as_echo_n "(cached) " >&6
  24946. +else
  24947. + rm -f .libs 2>/dev/null
  24948. +mkdir .libs 2>/dev/null
  24949. +if test -d .libs; then
  24950. + lt_cv_objdir=.libs
  24951. +else
  24952. + # MS-DOS does not allow filenames that begin with a dot.
  24953. + lt_cv_objdir=_libs
  24954. +fi
  24955. +rmdir .libs 2>/dev/null
  24956. +fi
  24957. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  24958. +$as_echo "$lt_cv_objdir" >&6; }
  24959. +objdir=$lt_cv_objdir
  24960. - amigaos*)
  24961. - 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)'
  24962. - hardcode_libdir_flag_spec='-L$libdir'
  24963. - hardcode_minus_L=yes
  24964. - # see comment about different semantics on the GNU ld section
  24965. - ld_shlibs=no
  24966. - ;;
  24967. - bsdi[45]*)
  24968. - export_dynamic_flag_spec=-rdynamic
  24969. - ;;
  24970. - cygwin* | mingw* | pw32*)
  24971. - # When not using gcc, we currently assume that we are using
  24972. - # Microsoft Visual C++.
  24973. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  24974. - # no search path for DLLs.
  24975. - hardcode_libdir_flag_spec=' '
  24976. - allow_undefined_flag=unsupported
  24977. - # Tell ltmain to make .lib files, not .a files.
  24978. - libext=lib
  24979. - # Tell ltmain to make .dll files, not .so files.
  24980. - shrext_cmds=".dll"
  24981. - # FIXME: Setting linknames here is a bad hack.
  24982. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  24983. - # The linker will automatically build a .lib file if we build a DLL.
  24984. - old_archive_From_new_cmds='true'
  24985. - # FIXME: Should let the user specify the lib program.
  24986. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  24987. - fix_srcfile_path='`cygpath -w "$srcfile"`'
  24988. - enable_shared_with_static_runtimes=yes
  24989. - ;;
  24990. - darwin* | rhapsody*)
  24991. - case $host_os in
  24992. - rhapsody* | darwin1.[012])
  24993. - allow_undefined_flag='${wl}-undefined ${wl}suppress'
  24994. - ;;
  24995. - *) # Darwin 1.3 on
  24996. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  24997. - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  24998. - else
  24999. - case ${MACOSX_DEPLOYMENT_TARGET} in
  25000. - 10.[012])
  25001. - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  25002. - ;;
  25003. - 10.*)
  25004. - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
  25005. - ;;
  25006. - esac
  25007. - fi
  25008. - ;;
  25009. - esac
  25010. - archive_cmds_need_lc=no
  25011. - hardcode_direct=no
  25012. - hardcode_automatic=yes
  25013. - hardcode_shlibpath_var=unsupported
  25014. - whole_archive_flag_spec=''
  25015. - link_all_deplibs=yes
  25016. - if test "$GCC" = yes ; then
  25017. - output_verbose_link_cmd='echo'
  25018. - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  25019. - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  25020. - 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}"
  25021. - 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}"
  25022. - else
  25023. - case $cc_basename in
  25024. - xlc*)
  25025. - output_verbose_link_cmd='echo'
  25026. - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  25027. - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  25028. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  25029. - 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  25030. - 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}'
  25031. - ;;
  25032. - *)
  25033. - ld_shlibs=no
  25034. - ;;
  25035. - esac
  25036. - fi
  25037. - ;;
  25038. - dgux*)
  25039. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25040. - hardcode_libdir_flag_spec='-L$libdir'
  25041. - hardcode_shlibpath_var=no
  25042. - ;;
  25043. +cat >>confdefs.h <<_ACEOF
  25044. +#define LT_OBJDIR "$lt_cv_objdir/"
  25045. +_ACEOF
  25046. - freebsd1*)
  25047. - ld_shlibs=no
  25048. - ;;
  25049. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  25050. - # support. Future versions do this automatically, but an explicit c++rt0.o
  25051. - # does not break anything, and helps significantly (at the cost of a little
  25052. - # extra space).
  25053. - freebsd2.2*)
  25054. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  25055. - hardcode_libdir_flag_spec='-R$libdir'
  25056. - hardcode_direct=yes
  25057. - hardcode_shlibpath_var=no
  25058. - ;;
  25059. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  25060. - freebsd2*)
  25061. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  25062. - hardcode_direct=yes
  25063. - hardcode_minus_L=yes
  25064. - hardcode_shlibpath_var=no
  25065. - ;;
  25066. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  25067. - freebsd* | dragonfly*)
  25068. - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  25069. - hardcode_libdir_flag_spec='-R$libdir'
  25070. - hardcode_direct=yes
  25071. - hardcode_shlibpath_var=no
  25072. - ;;
  25073. - hpux9*)
  25074. - if test "$GCC" = yes; then
  25075. - 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'
  25076. - else
  25077. - 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'
  25078. - fi
  25079. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  25080. - hardcode_libdir_separator=:
  25081. - hardcode_direct=yes
  25082. - # hardcode_minus_L: Not really in the search PATH,
  25083. - # but as the default location of the library.
  25084. - hardcode_minus_L=yes
  25085. - export_dynamic_flag_spec='${wl}-E'
  25086. - ;;
  25087. - hpux10*)
  25088. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  25089. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  25090. - else
  25091. - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  25092. - fi
  25093. - if test "$with_gnu_ld" = no; then
  25094. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  25095. - hardcode_libdir_separator=:
  25096. - hardcode_direct=yes
  25097. - export_dynamic_flag_spec='${wl}-E'
  25098. - # hardcode_minus_L: Not really in the search PATH,
  25099. - # but as the default location of the library.
  25100. - hardcode_minus_L=yes
  25101. - fi
  25102. - ;;
  25103. - hpux11*)
  25104. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  25105. - case $host_cpu in
  25106. - hppa*64*)
  25107. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  25108. - ;;
  25109. - ia64*)
  25110. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  25111. - ;;
  25112. - *)
  25113. - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  25114. - ;;
  25115. - esac
  25116. - else
  25117. - case $host_cpu in
  25118. - hppa*64*)
  25119. - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  25120. - ;;
  25121. - ia64*)
  25122. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  25123. - ;;
  25124. - *)
  25125. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  25126. - ;;
  25127. - esac
  25128. - fi
  25129. - if test "$with_gnu_ld" = no; then
  25130. - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  25131. - hardcode_libdir_separator=:
  25132. - case $host_cpu in
  25133. - hppa*64*|ia64*)
  25134. - hardcode_libdir_flag_spec_ld='+b $libdir'
  25135. - hardcode_direct=no
  25136. - hardcode_shlibpath_var=no
  25137. - ;;
  25138. - *)
  25139. - hardcode_direct=yes
  25140. - export_dynamic_flag_spec='${wl}-E'
  25141. - # hardcode_minus_L: Not really in the search PATH,
  25142. - # but as the default location of the library.
  25143. - hardcode_minus_L=yes
  25144. - ;;
  25145. - esac
  25146. - fi
  25147. - ;;
  25148. - irix5* | irix6* | nonstopux*)
  25149. - if test "$GCC" = yes; then
  25150. - 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'
  25151. - else
  25152. - 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'
  25153. - hardcode_libdir_flag_spec_ld='-rpath $libdir'
  25154. - fi
  25155. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  25156. - hardcode_libdir_separator=:
  25157. - link_all_deplibs=yes
  25158. - ;;
  25159. - netbsd* | netbsdelf*-gnu)
  25160. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  25161. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  25162. - else
  25163. - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  25164. - fi
  25165. - hardcode_libdir_flag_spec='-R$libdir'
  25166. - hardcode_direct=yes
  25167. - hardcode_shlibpath_var=no
  25168. - ;;
  25169. - newsos6)
  25170. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25171. - hardcode_direct=yes
  25172. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  25173. - hardcode_libdir_separator=:
  25174. - hardcode_shlibpath_var=no
  25175. - ;;
  25176. - openbsd*)
  25177. - if test -f /usr/libexec/ld.so; then
  25178. - hardcode_direct=yes
  25179. - hardcode_shlibpath_var=no
  25180. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  25181. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  25182. - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  25183. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  25184. - export_dynamic_flag_spec='${wl}-E'
  25185. - else
  25186. - case $host_os in
  25187. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  25188. - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  25189. - hardcode_libdir_flag_spec='-R$libdir'
  25190. - ;;
  25191. - *)
  25192. - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  25193. - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  25194. - ;;
  25195. - esac
  25196. - fi
  25197. - else
  25198. - ld_shlibs=no
  25199. - fi
  25200. - ;;
  25201. - os2*)
  25202. - hardcode_libdir_flag_spec='-L$libdir'
  25203. - hardcode_minus_L=yes
  25204. - allow_undefined_flag=unsupported
  25205. - 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'
  25206. - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  25207. - ;;
  25208. +case $host_os in
  25209. +aix3*)
  25210. + # AIX sometimes has problems with the GCC collect2 program. For some
  25211. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  25212. + # vanish in a puff of smoke.
  25213. + if test "X${COLLECT_NAMES+set}" != Xset; then
  25214. + COLLECT_NAMES=
  25215. + export COLLECT_NAMES
  25216. + fi
  25217. + ;;
  25218. +esac
  25219. - osf3*)
  25220. - if test "$GCC" = yes; then
  25221. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  25222. - 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'
  25223. - else
  25224. - allow_undefined_flag=' -expect_unresolved \*'
  25225. - 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'
  25226. - fi
  25227. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  25228. - hardcode_libdir_separator=:
  25229. - ;;
  25230. +# Sed substitution that helps us do robust quoting. It backslashifies
  25231. +# metacharacters that are still active within double-quoted strings.
  25232. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  25233. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  25234. - if test "$GCC" = yes; then
  25235. - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  25236. - 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'
  25237. - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  25238. - else
  25239. - allow_undefined_flag=' -expect_unresolved \*'
  25240. - 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'
  25241. - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  25242. - $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'
  25243. +# Same as above, but do not quote variable references.
  25244. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  25245. - # Both c and cxx compiler support -rpath directly
  25246. - hardcode_libdir_flag_spec='-rpath $libdir'
  25247. - fi
  25248. - hardcode_libdir_separator=:
  25249. - ;;
  25250. +# Sed substitution to delay expansion of an escaped shell variable in a
  25251. +# double_quote_subst'ed string.
  25252. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  25253. - solaris*)
  25254. - no_undefined_flag=' -z text'
  25255. - if test "$GCC" = yes; then
  25256. - wlarc='${wl}'
  25257. - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  25258. - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  25259. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  25260. - else
  25261. - wlarc=''
  25262. - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25263. - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  25264. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  25265. - fi
  25266. - hardcode_libdir_flag_spec='-R$libdir'
  25267. - hardcode_shlibpath_var=no
  25268. - case $host_os in
  25269. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  25270. - *)
  25271. - # The compiler driver will combine and reorder linker options,
  25272. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  25273. - # but is careful enough not to reorder.
  25274. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  25275. - if test "$GCC" = yes; then
  25276. - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  25277. - else
  25278. - whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  25279. - fi
  25280. - ;;
  25281. - esac
  25282. - link_all_deplibs=yes
  25283. - ;;
  25284. -
  25285. - sunos4*)
  25286. - if test "x$host_vendor" = xsequent; then
  25287. - # Use $CC to link under sequent, because it throws in some extra .o
  25288. - # files that make .init and .fini sections work.
  25289. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  25290. - else
  25291. - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  25292. - fi
  25293. - hardcode_libdir_flag_spec='-L$libdir'
  25294. - hardcode_direct=yes
  25295. - hardcode_minus_L=yes
  25296. - hardcode_shlibpath_var=no
  25297. - ;;
  25298. -
  25299. - sysv4)
  25300. - case $host_vendor in
  25301. - sni)
  25302. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25303. - hardcode_direct=yes # is this really true???
  25304. - ;;
  25305. - siemens)
  25306. - ## LD is ld it makes a PLAMLIB
  25307. - ## CC just makes a GrossModule.
  25308. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  25309. - reload_cmds='$CC -r -o $output$reload_objs'
  25310. - hardcode_direct=no
  25311. - ;;
  25312. - motorola)
  25313. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25314. - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  25315. - ;;
  25316. - esac
  25317. - runpath_var='LD_RUN_PATH'
  25318. - hardcode_shlibpath_var=no
  25319. - ;;
  25320. +# Sed substitution to delay expansion of an escaped single quote.
  25321. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  25322. - sysv4.3*)
  25323. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25324. - hardcode_shlibpath_var=no
  25325. - export_dynamic_flag_spec='-Bexport'
  25326. - ;;
  25327. -
  25328. - sysv4*MP*)
  25329. - if test -d /usr/nec; then
  25330. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25331. - hardcode_shlibpath_var=no
  25332. - runpath_var=LD_RUN_PATH
  25333. - hardcode_runpath_var=yes
  25334. - ld_shlibs=yes
  25335. - fi
  25336. - ;;
  25337. +# Sed substitution to avoid accidental globbing in evaled expressions
  25338. +no_glob_subst='s/\*/\\\*/g'
  25339. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  25340. - no_undefined_flag='${wl}-z,text'
  25341. - archive_cmds_need_lc=no
  25342. - hardcode_shlibpath_var=no
  25343. - runpath_var='LD_RUN_PATH'
  25344. +# Global variables:
  25345. +ofile=libtool
  25346. +can_build_shared=yes
  25347. - if test "$GCC" = yes; then
  25348. - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  25349. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  25350. - else
  25351. - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  25352. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  25353. - fi
  25354. - ;;
  25355. +# All known linkers require a `.a' archive for static linking (except MSVC,
  25356. +# which needs '.lib').
  25357. +libext=a
  25358. - sysv5* | sco3.2v5* | sco5v6*)
  25359. - # Note: We can NOT use -z defs as we might desire, because we do not
  25360. - # link with -lc, and that would cause any symbols used from libc to
  25361. - # always be unresolved, which means just about no library would
  25362. - # ever link correctly. If we're not using GNU ld we use -z text
  25363. - # though, which does catch some bad symbols but isn't as heavy-handed
  25364. - # as -z defs.
  25365. - no_undefined_flag='${wl}-z,text'
  25366. - allow_undefined_flag='${wl}-z,nodefs'
  25367. - archive_cmds_need_lc=no
  25368. - hardcode_shlibpath_var=no
  25369. - hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  25370. - hardcode_libdir_separator=':'
  25371. - link_all_deplibs=yes
  25372. - export_dynamic_flag_spec='${wl}-Bexport'
  25373. - runpath_var='LD_RUN_PATH'
  25374. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  25375. - if test "$GCC" = yes; then
  25376. - archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  25377. - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  25378. - else
  25379. - archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  25380. - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  25381. - fi
  25382. - ;;
  25383. +old_CC="$CC"
  25384. +old_CFLAGS="$CFLAGS"
  25385. - uts4*)
  25386. - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  25387. - hardcode_libdir_flag_spec='-L$libdir'
  25388. - hardcode_shlibpath_var=no
  25389. - ;;
  25390. +# Set sane defaults for various variables
  25391. +test -z "$CC" && CC=cc
  25392. +test -z "$LTCC" && LTCC=$CC
  25393. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  25394. +test -z "$LD" && LD=ld
  25395. +test -z "$ac_objext" && ac_objext=o
  25396. - *)
  25397. - ld_shlibs=no
  25398. - ;;
  25399. - esac
  25400. - fi
  25401. +for cc_temp in $compiler""; do
  25402. + case $cc_temp in
  25403. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  25404. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  25405. + \-*) ;;
  25406. + *) break;;
  25407. + esac
  25408. +done
  25409. +cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  25410. -{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  25411. -echo "${ECHO_T}$ld_shlibs" >&6; }
  25412. -test "$ld_shlibs" = no && can_build_shared=no
  25413. -#
  25414. -# Do we need to explicitly link libc?
  25415. -#
  25416. -case "x$archive_cmds_need_lc" in
  25417. -x|xyes)
  25418. - # Assume -lc should be added
  25419. - archive_cmds_need_lc=yes
  25420. +# Only perform the check for file, if the check method requires it
  25421. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  25422. +case $deplibs_check_method in
  25423. +file_magic*)
  25424. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  25425. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  25426. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  25427. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  25428. + $as_echo_n "(cached) " >&6
  25429. +else
  25430. + case $MAGIC_CMD in
  25431. +[\\/*] | ?:[\\/]*)
  25432. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  25433. + ;;
  25434. +*)
  25435. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  25436. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  25437. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  25438. + for ac_dir in $ac_dummy; do
  25439. + IFS="$lt_save_ifs"
  25440. + test -z "$ac_dir" && ac_dir=.
  25441. + if test -f $ac_dir/${ac_tool_prefix}file; then
  25442. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  25443. + if test -n "$file_magic_test_file"; then
  25444. + case $deplibs_check_method in
  25445. + "file_magic "*)
  25446. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  25447. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25448. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  25449. + $EGREP "$file_magic_regex" > /dev/null; then
  25450. + :
  25451. + else
  25452. + cat <<_LT_EOF 1>&2
  25453. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  25454. - case $archive_cmds in
  25455. - *'~'*)
  25456. - # FIXME: we may have to deal with multi-command sequences.
  25457. - ;;
  25458. - '$CC '*)
  25459. - # Test whether the compiler implicitly links with -lc since on some
  25460. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  25461. - # to ld, don't add -lc before -lgcc.
  25462. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  25463. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  25464. - $rm conftest*
  25465. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  25466. +*** Warning: the command libtool uses to detect shared libraries,
  25467. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  25468. +*** The result is that libtool may fail to recognize shared libraries
  25469. +*** as such. This will affect the creation of libtool libraries that
  25470. +*** depend on shared libraries, but programs linked with such libtool
  25471. +*** libraries will work regardless of this problem. Nevertheless, you
  25472. +*** may want to report the problem to your system manager and/or to
  25473. +*** bug-libtool@gnu.org
  25474. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  25475. - (eval $ac_compile) 2>&5
  25476. - ac_status=$?
  25477. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25478. - (exit $ac_status); } 2>conftest.err; then
  25479. - soname=conftest
  25480. - lib=conftest
  25481. - libobjs=conftest.$ac_objext
  25482. - deplibs=
  25483. - wl=$lt_prog_compiler_wl
  25484. - pic_flag=$lt_prog_compiler_pic
  25485. - compiler_flags=-v
  25486. - linker_flags=-v
  25487. - verstring=
  25488. - output_objdir=.
  25489. - libname=conftest
  25490. - lt_save_allow_undefined_flag=$allow_undefined_flag
  25491. - allow_undefined_flag=
  25492. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  25493. - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  25494. - ac_status=$?
  25495. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25496. - (exit $ac_status); }
  25497. - then
  25498. - archive_cmds_need_lc=no
  25499. - else
  25500. - archive_cmds_need_lc=yes
  25501. - fi
  25502. - allow_undefined_flag=$lt_save_allow_undefined_flag
  25503. - else
  25504. - cat conftest.err 1>&5
  25505. +_LT_EOF
  25506. + fi ;;
  25507. + esac
  25508. fi
  25509. - $rm conftest*
  25510. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  25511. -echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
  25512. - ;;
  25513. - esac
  25514. - fi
  25515. + break
  25516. + fi
  25517. + done
  25518. + IFS="$lt_save_ifs"
  25519. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  25520. ;;
  25521. esac
  25522. +fi
  25523. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  25524. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  25525. -library_names_spec=
  25526. -libname_spec='lib$name'
  25527. -soname_spec=
  25528. -shrext_cmds=".so"
  25529. -postinstall_cmds=
  25530. -postuninstall_cmds=
  25531. -finish_cmds=
  25532. -finish_eval=
  25533. -shlibpath_var=
  25534. -shlibpath_overrides_runpath=unknown
  25535. -version_type=none
  25536. -dynamic_linker="$host_os ld.so"
  25537. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  25538. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25539. +if test -n "$MAGIC_CMD"; then
  25540. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  25541. +$as_echo "$MAGIC_CMD" >&6; }
  25542. +else
  25543. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  25544. +$as_echo "no" >&6; }
  25545. +fi
  25546. -if test "$GCC" = yes; then
  25547. - case $host_os in
  25548. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  25549. - *) lt_awk_arg="/^libraries:/" ;;
  25550. - esac
  25551. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  25552. - if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
  25553. - # if the path contains ";" then we assume it to be the separator
  25554. - # otherwise default to the standard path separator (i.e. ":") - it is
  25555. - # assumed that no part of a normal pathname contains ";" but that should
  25556. - # okay in the real world where ";" in dirpaths is itself problematic.
  25557. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  25558. - else
  25559. - lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  25560. - fi
  25561. - # Ok, now we have the path, separated by spaces, we can step through it
  25562. - # and add multilib dir if necessary.
  25563. - lt_tmp_lt_search_path_spec=
  25564. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  25565. - for lt_sys_path in $lt_search_path_spec; do
  25566. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  25567. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  25568. - else
  25569. - test -d "$lt_sys_path" && \
  25570. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  25571. - fi
  25572. - done
  25573. - lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
  25574. -BEGIN {RS=" "; FS="/|\n";} {
  25575. - lt_foo="";
  25576. - lt_count=0;
  25577. - for (lt_i = NF; lt_i > 0; lt_i--) {
  25578. - if ($lt_i != "" && $lt_i != ".") {
  25579. - if ($lt_i == "..") {
  25580. - lt_count++;
  25581. - } else {
  25582. - if (lt_count == 0) {
  25583. - lt_foo="/" $lt_i lt_foo;
  25584. - } else {
  25585. - lt_count--;
  25586. - }
  25587. - }
  25588. - }
  25589. - }
  25590. - if (lt_foo != "") { lt_freq[lt_foo]++; }
  25591. - if (lt_freq[lt_foo] == 1) { print lt_foo; }
  25592. -}'`
  25593. - sys_lib_search_path_spec=`echo $lt_search_path_spec`
  25594. -else
  25595. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  25596. -fi
  25597. -need_lib_prefix=unknown
  25598. -hardcode_into_libs=no
  25599. -# when you set need_version to no, make sure it does not cause -set_version
  25600. -# flags to be left without arguments
  25601. -need_version=unknown
  25602. -case $host_os in
  25603. -aix3*)
  25604. - version_type=linux
  25605. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  25606. - shlibpath_var=LIBPATH
  25607. - # AIX 3 has no versioning support, so we append a major version to the name.
  25608. - soname_spec='${libname}${release}${shared_ext}$major'
  25609. +
  25610. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  25611. + if test -n "$ac_tool_prefix"; then
  25612. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  25613. +$as_echo_n "checking for file... " >&6; }
  25614. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  25615. + $as_echo_n "(cached) " >&6
  25616. +else
  25617. + case $MAGIC_CMD in
  25618. +[\\/*] | ?:[\\/]*)
  25619. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  25620. ;;
  25621. +*)
  25622. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  25623. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  25624. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  25625. + for ac_dir in $ac_dummy; do
  25626. + IFS="$lt_save_ifs"
  25627. + test -z "$ac_dir" && ac_dir=.
  25628. + if test -f $ac_dir/file; then
  25629. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  25630. + if test -n "$file_magic_test_file"; then
  25631. + case $deplibs_check_method in
  25632. + "file_magic "*)
  25633. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  25634. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25635. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  25636. + $EGREP "$file_magic_regex" > /dev/null; then
  25637. + :
  25638. + else
  25639. + cat <<_LT_EOF 1>&2
  25640. -aix[4-9]*)
  25641. - version_type=linux
  25642. - need_lib_prefix=no
  25643. - need_version=no
  25644. - hardcode_into_libs=yes
  25645. - if test "$host_cpu" = ia64; then
  25646. - # AIX 5 supports IA64
  25647. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  25648. - shlibpath_var=LD_LIBRARY_PATH
  25649. - else
  25650. - # With GCC up to 2.95.x, collect2 would create an import file
  25651. - # for dependence libraries. The import file would start with
  25652. - # the line `#! .'. This would cause the generated library to
  25653. - # depend on `.', always an invalid library. This was fixed in
  25654. - # development snapshots of GCC prior to 3.0.
  25655. - case $host_os in
  25656. - aix4 | aix4.[01] | aix4.[01].*)
  25657. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  25658. - echo ' yes '
  25659. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  25660. - :
  25661. - else
  25662. - can_build_shared=no
  25663. +*** Warning: the command libtool uses to detect shared libraries,
  25664. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  25665. +*** The result is that libtool may fail to recognize shared libraries
  25666. +*** as such. This will affect the creation of libtool libraries that
  25667. +*** depend on shared libraries, but programs linked with such libtool
  25668. +*** libraries will work regardless of this problem. Nevertheless, you
  25669. +*** may want to report the problem to your system manager and/or to
  25670. +*** bug-libtool@gnu.org
  25671. +
  25672. +_LT_EOF
  25673. + fi ;;
  25674. + esac
  25675. fi
  25676. - ;;
  25677. - esac
  25678. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  25679. - # soname into executable. Probably we can add versioning support to
  25680. - # collect2, so additional links can be useful in future.
  25681. - if test "$aix_use_runtimelinking" = yes; then
  25682. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  25683. - # instead of lib<name>.a to let people know that these are not
  25684. - # typical AIX shared libraries.
  25685. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25686. - else
  25687. - # We preserve .a as extension for shared libraries through AIX4.2
  25688. - # and later when we are not doing run time linking.
  25689. - library_names_spec='${libname}${release}.a $libname.a'
  25690. - soname_spec='${libname}${release}${shared_ext}$major'
  25691. + break
  25692. fi
  25693. - shlibpath_var=LIBPATH
  25694. - fi
  25695. + done
  25696. + IFS="$lt_save_ifs"
  25697. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  25698. ;;
  25699. +esac
  25700. +fi
  25701. -amigaos*)
  25702. - library_names_spec='$libname.ixlibrary $libname.a'
  25703. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  25704. - 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'
  25705. - ;;
  25706. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  25707. +if test -n "$MAGIC_CMD"; then
  25708. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  25709. +$as_echo "$MAGIC_CMD" >&6; }
  25710. +else
  25711. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  25712. +$as_echo "no" >&6; }
  25713. +fi
  25714. -beos*)
  25715. - library_names_spec='${libname}${shared_ext}'
  25716. - dynamic_linker="$host_os ld.so"
  25717. - shlibpath_var=LIBRARY_PATH
  25718. - ;;
  25719. -bsdi[45]*)
  25720. - version_type=linux
  25721. - need_version=no
  25722. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25723. - soname_spec='${libname}${release}${shared_ext}$major'
  25724. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  25725. - shlibpath_var=LD_LIBRARY_PATH
  25726. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  25727. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  25728. - # the default ld.so.conf also contains /usr/contrib/lib and
  25729. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  25730. - # libtool to hard-code these into programs
  25731. + else
  25732. + MAGIC_CMD=:
  25733. + fi
  25734. +fi
  25735. +
  25736. + fi
  25737. ;;
  25738. +esac
  25739. -cygwin* | mingw* | pw32*)
  25740. - version_type=windows
  25741. - shrext_cmds=".dll"
  25742. - need_version=no
  25743. - need_lib_prefix=no
  25744. +# Use C for the default configuration in the libtool script
  25745. - case $GCC,$host_os in
  25746. - yes,cygwin* | yes,mingw* | yes,pw32*)
  25747. - library_names_spec='$libname.dll.a'
  25748. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  25749. - postinstall_cmds='base_file=`basename \${file}`~
  25750. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  25751. - dldir=$destdir/`dirname \$dlpath`~
  25752. - test -d \$dldir || mkdir -p \$dldir~
  25753. - $install_prog $dir/$dlname \$dldir/$dlname~
  25754. - chmod a+x \$dldir/$dlname'
  25755. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  25756. - dlpath=$dir/\$dldll~
  25757. - $rm \$dlpath'
  25758. - shlibpath_overrides_runpath=yes
  25759. +lt_save_CC="$CC"
  25760. +ac_ext=c
  25761. +ac_cpp='$CPP $CPPFLAGS'
  25762. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25763. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25764. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25765. - case $host_os in
  25766. - cygwin*)
  25767. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  25768. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  25769. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  25770. - ;;
  25771. - mingw*)
  25772. - # MinGW DLLs use traditional 'lib' prefix
  25773. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  25774. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  25775. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  25776. - # It is most probably a Windows format PATH printed by
  25777. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  25778. - # path with ; separators, and with drive letters. We can handle the
  25779. - # drive letters (cygwin fileutils understands them), so leave them,
  25780. - # especially as we might pass files found there to a mingw objdump,
  25781. - # which wouldn't understand a cygwinified path. Ahh.
  25782. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  25783. - else
  25784. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  25785. - fi
  25786. - ;;
  25787. - pw32*)
  25788. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  25789. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  25790. - ;;
  25791. - esac
  25792. - ;;
  25793. - *)
  25794. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  25795. - ;;
  25796. - esac
  25797. - dynamic_linker='Win32 ld.exe'
  25798. - # FIXME: first we should search . and the directory the executable is in
  25799. - shlibpath_var=PATH
  25800. - ;;
  25801. +# Source file extension for C test sources.
  25802. +ac_ext=c
  25803. -darwin* | rhapsody*)
  25804. - dynamic_linker="$host_os dyld"
  25805. - version_type=darwin
  25806. - need_lib_prefix=no
  25807. - need_version=no
  25808. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  25809. - soname_spec='${libname}${release}${major}$shared_ext'
  25810. - shlibpath_overrides_runpath=yes
  25811. - shlibpath_var=DYLD_LIBRARY_PATH
  25812. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  25813. +# Object file extension for compiled C test sources.
  25814. +objext=o
  25815. +objext=$objext
  25816. - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  25817. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  25818. - ;;
  25819. +# Code to be used in simple compile tests
  25820. +lt_simple_compile_test_code="int some_variable = 0;"
  25821. -dgux*)
  25822. - version_type=linux
  25823. - need_lib_prefix=no
  25824. - need_version=no
  25825. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  25826. - soname_spec='${libname}${release}${shared_ext}$major'
  25827. - shlibpath_var=LD_LIBRARY_PATH
  25828. - ;;
  25829. +# Code to be used in simple link tests
  25830. +lt_simple_link_test_code='int main(){return(0);}'
  25831. -freebsd1*)
  25832. - dynamic_linker=no
  25833. - ;;
  25834. -freebsd* | dragonfly*)
  25835. - # DragonFly does not have aout. When/if they implement a new
  25836. - # versioning mechanism, adjust this.
  25837. - if test -x /usr/bin/objformat; then
  25838. - objformat=`/usr/bin/objformat`
  25839. - else
  25840. - case $host_os in
  25841. - freebsd[123]*) objformat=aout ;;
  25842. - *) objformat=elf ;;
  25843. - esac
  25844. - fi
  25845. - version_type=freebsd-$objformat
  25846. - case $version_type in
  25847. - freebsd-elf*)
  25848. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  25849. - need_version=no
  25850. - need_lib_prefix=no
  25851. - ;;
  25852. - freebsd-*)
  25853. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  25854. - need_version=yes
  25855. - ;;
  25856. - esac
  25857. - shlibpath_var=LD_LIBRARY_PATH
  25858. - case $host_os in
  25859. - freebsd2*)
  25860. - shlibpath_overrides_runpath=yes
  25861. - ;;
  25862. - freebsd3.[01]* | freebsdelf3.[01]*)
  25863. - shlibpath_overrides_runpath=yes
  25864. - hardcode_into_libs=yes
  25865. - ;;
  25866. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  25867. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  25868. - shlibpath_overrides_runpath=no
  25869. - hardcode_into_libs=yes
  25870. - ;;
  25871. - *) # from 4.6 on, and DragonFly
  25872. - shlibpath_overrides_runpath=yes
  25873. - hardcode_into_libs=yes
  25874. - ;;
  25875. - esac
  25876. - ;;
  25877. -
  25878. -gnu*)
  25879. - version_type=linux
  25880. - need_lib_prefix=no
  25881. - need_version=no
  25882. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  25883. - soname_spec='${libname}${release}${shared_ext}$major'
  25884. - shlibpath_var=LD_LIBRARY_PATH
  25885. - hardcode_into_libs=yes
  25886. - ;;
  25887. -
  25888. -hpux9* | hpux10* | hpux11*)
  25889. - # Give a soname corresponding to the major version so that dld.sl refuses to
  25890. - # link against other versions.
  25891. - version_type=sunos
  25892. - need_lib_prefix=no
  25893. - need_version=no
  25894. - case $host_cpu in
  25895. - ia64*)
  25896. - shrext_cmds='.so'
  25897. - hardcode_into_libs=yes
  25898. - dynamic_linker="$host_os dld.so"
  25899. - shlibpath_var=LD_LIBRARY_PATH
  25900. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  25901. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25902. - soname_spec='${libname}${release}${shared_ext}$major'
  25903. - if test "X$HPUX_IA64_MODE" = X32; then
  25904. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  25905. - else
  25906. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  25907. - fi
  25908. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  25909. - ;;
  25910. - hppa*64*)
  25911. - shrext_cmds='.sl'
  25912. - hardcode_into_libs=yes
  25913. - dynamic_linker="$host_os dld.sl"
  25914. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  25915. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  25916. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25917. - soname_spec='${libname}${release}${shared_ext}$major'
  25918. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  25919. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  25920. - ;;
  25921. - *)
  25922. - shrext_cmds='.sl'
  25923. - dynamic_linker="$host_os dld.sl"
  25924. - shlibpath_var=SHLIB_PATH
  25925. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  25926. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25927. - soname_spec='${libname}${release}${shared_ext}$major'
  25928. - ;;
  25929. - esac
  25930. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  25931. - postinstall_cmds='chmod 555 $lib'
  25932. - ;;
  25933. -interix[3-9]*)
  25934. - version_type=linux
  25935. - need_lib_prefix=no
  25936. - need_version=no
  25937. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  25938. - soname_spec='${libname}${release}${shared_ext}$major'
  25939. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  25940. - shlibpath_var=LD_LIBRARY_PATH
  25941. - shlibpath_overrides_runpath=no
  25942. - hardcode_into_libs=yes
  25943. - ;;
  25944. -irix5* | irix6* | nonstopux*)
  25945. - case $host_os in
  25946. - nonstopux*) version_type=nonstopux ;;
  25947. - *)
  25948. - if test "$lt_cv_prog_gnu_ld" = yes; then
  25949. - version_type=linux
  25950. - else
  25951. - version_type=irix
  25952. - fi ;;
  25953. - esac
  25954. - need_lib_prefix=no
  25955. - need_version=no
  25956. - soname_spec='${libname}${release}${shared_ext}$major'
  25957. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  25958. - case $host_os in
  25959. - irix5* | nonstopux*)
  25960. - libsuff= shlibsuff=
  25961. - ;;
  25962. - *)
  25963. - case $LD in # libtool.m4 will add one of these switches to LD
  25964. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  25965. - libsuff= shlibsuff= libmagic=32-bit;;
  25966. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  25967. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  25968. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  25969. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  25970. - *) libsuff= shlibsuff= libmagic=never-match;;
  25971. - esac
  25972. - ;;
  25973. - esac
  25974. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  25975. - shlibpath_overrides_runpath=no
  25976. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  25977. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  25978. - hardcode_into_libs=yes
  25979. - ;;
  25980. -# No shared lib support for Linux oldld, aout, or coff.
  25981. -linux*oldld* | linux*aout* | linux*coff*)
  25982. - dynamic_linker=no
  25983. - ;;
  25984. -# This must be Linux ELF.
  25985. -linux* | k*bsd*-gnu)
  25986. - version_type=linux
  25987. - need_lib_prefix=no
  25988. - need_version=no
  25989. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  25990. - soname_spec='${libname}${release}${shared_ext}$major'
  25991. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  25992. - shlibpath_var=LD_LIBRARY_PATH
  25993. - shlibpath_overrides_runpath=no
  25994. - # This implies no fast_install, which is unacceptable.
  25995. - # Some rework will be needed to allow for fast_install
  25996. - # before this can be enabled.
  25997. - hardcode_into_libs=yes
  25998. - # Append ld.so.conf contents to the search path
  25999. - if test -f /etc/ld.so.conf; then
  26000. - 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' ' '`
  26001. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  26002. - fi
  26003. +# If no C compiler was specified, use CC.
  26004. +LTCC=${LTCC-"$CC"}
  26005. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  26006. - # powerpc, because MkLinux only supported shared libraries with the
  26007. - # GNU dynamic linker. Since this was broken with cross compilers,
  26008. - # most powerpc-linux boxes support dynamic linking these days and
  26009. - # people can always --disable-shared, the test was removed, and we
  26010. - # assume the GNU/Linux dynamic linker is in use.
  26011. - dynamic_linker='GNU/Linux ld.so'
  26012. - ;;
  26013. +# If no C compiler flags were specified, use CFLAGS.
  26014. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  26015. -netbsdelf*-gnu)
  26016. - version_type=linux
  26017. - need_lib_prefix=no
  26018. - need_version=no
  26019. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  26020. - soname_spec='${libname}${release}${shared_ext}$major'
  26021. - shlibpath_var=LD_LIBRARY_PATH
  26022. - shlibpath_overrides_runpath=no
  26023. - hardcode_into_libs=yes
  26024. - dynamic_linker='NetBSD ld.elf_so'
  26025. - ;;
  26026. +# Allow CC to be a program name with arguments.
  26027. +compiler=$CC
  26028. -netbsd*)
  26029. - version_type=sunos
  26030. - need_lib_prefix=no
  26031. - need_version=no
  26032. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  26033. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  26034. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  26035. - dynamic_linker='NetBSD (a.out) ld.so'
  26036. - else
  26037. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  26038. - soname_spec='${libname}${release}${shared_ext}$major'
  26039. - dynamic_linker='NetBSD ld.elf_so'
  26040. - fi
  26041. - shlibpath_var=LD_LIBRARY_PATH
  26042. - shlibpath_overrides_runpath=yes
  26043. - hardcode_into_libs=yes
  26044. - ;;
  26045. +# Save the default compiler, since it gets overwritten when the other
  26046. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  26047. +compiler_DEFAULT=$CC
  26048. -newsos6)
  26049. - version_type=linux
  26050. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  26051. - shlibpath_var=LD_LIBRARY_PATH
  26052. - shlibpath_overrides_runpath=yes
  26053. - ;;
  26054. +# save warnings/boilerplate of simple test code
  26055. +ac_outfile=conftest.$ac_objext
  26056. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  26057. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  26058. +_lt_compiler_boilerplate=`cat conftest.err`
  26059. +$RM conftest*
  26060. -nto-qnx*)
  26061. - version_type=linux
  26062. - need_lib_prefix=no
  26063. - need_version=no
  26064. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  26065. - soname_spec='${libname}${release}${shared_ext}$major'
  26066. - shlibpath_var=LD_LIBRARY_PATH
  26067. - shlibpath_overrides_runpath=yes
  26068. - ;;
  26069. +ac_outfile=conftest.$ac_objext
  26070. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  26071. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  26072. +_lt_linker_boilerplate=`cat conftest.err`
  26073. +$RM -r conftest*
  26074. -openbsd*)
  26075. - version_type=sunos
  26076. - sys_lib_dlsearch_path_spec="/usr/lib"
  26077. - need_lib_prefix=no
  26078. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  26079. - case $host_os in
  26080. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  26081. - *) need_version=no ;;
  26082. - esac
  26083. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  26084. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  26085. - shlibpath_var=LD_LIBRARY_PATH
  26086. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  26087. - case $host_os in
  26088. - openbsd2.[89] | openbsd2.[89].*)
  26089. - shlibpath_overrides_runpath=no
  26090. - ;;
  26091. - *)
  26092. - shlibpath_overrides_runpath=yes
  26093. - ;;
  26094. - esac
  26095. - else
  26096. - shlibpath_overrides_runpath=yes
  26097. - fi
  26098. - ;;
  26099. -os2*)
  26100. - libname_spec='$name'
  26101. - shrext_cmds=".dll"
  26102. - need_lib_prefix=no
  26103. - library_names_spec='$libname${shared_ext} $libname.a'
  26104. - dynamic_linker='OS/2 ld.exe'
  26105. - shlibpath_var=LIBPATH
  26106. - ;;
  26107. +if test -n "$compiler"; then
  26108. -osf3* | osf4* | osf5*)
  26109. - version_type=osf
  26110. - need_lib_prefix=no
  26111. - need_version=no
  26112. - soname_spec='${libname}${release}${shared_ext}$major'
  26113. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  26114. - shlibpath_var=LD_LIBRARY_PATH
  26115. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  26116. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  26117. - ;;
  26118. +lt_prog_compiler_no_builtin_flag=
  26119. -rdos*)
  26120. - dynamic_linker=no
  26121. - ;;
  26122. +if test "$GCC" = yes; then
  26123. + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  26124. -solaris*)
  26125. - version_type=linux
  26126. - need_lib_prefix=no
  26127. - need_version=no
  26128. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  26129. - soname_spec='${libname}${release}${shared_ext}$major'
  26130. - shlibpath_var=LD_LIBRARY_PATH
  26131. - shlibpath_overrides_runpath=yes
  26132. - hardcode_into_libs=yes
  26133. - # ldd complains unless libraries are executable
  26134. - postinstall_cmds='chmod +x $lib'
  26135. - ;;
  26136. -
  26137. -sunos4*)
  26138. - version_type=sunos
  26139. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  26140. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  26141. - shlibpath_var=LD_LIBRARY_PATH
  26142. - shlibpath_overrides_runpath=yes
  26143. - if test "$with_gnu_ld" = yes; then
  26144. - need_lib_prefix=no
  26145. - fi
  26146. - need_version=yes
  26147. - ;;
  26148. -
  26149. -sysv4 | sysv4.3*)
  26150. - version_type=linux
  26151. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  26152. - soname_spec='${libname}${release}${shared_ext}$major'
  26153. - shlibpath_var=LD_LIBRARY_PATH
  26154. - case $host_vendor in
  26155. - sni)
  26156. - shlibpath_overrides_runpath=no
  26157. - need_lib_prefix=no
  26158. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  26159. - runpath_var=LD_RUN_PATH
  26160. - ;;
  26161. - siemens)
  26162. - need_lib_prefix=no
  26163. - ;;
  26164. - motorola)
  26165. - need_lib_prefix=no
  26166. - need_version=no
  26167. - shlibpath_overrides_runpath=no
  26168. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  26169. - ;;
  26170. - esac
  26171. - ;;
  26172. -
  26173. -sysv4*MP*)
  26174. - if test -d /usr/nec ;then
  26175. - version_type=linux
  26176. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  26177. - soname_spec='$libname${shared_ext}.$major'
  26178. - shlibpath_var=LD_LIBRARY_PATH
  26179. - fi
  26180. - ;;
  26181. -
  26182. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  26183. - version_type=freebsd-elf
  26184. - need_lib_prefix=no
  26185. - need_version=no
  26186. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  26187. - soname_spec='${libname}${release}${shared_ext}$major'
  26188. - shlibpath_var=LD_LIBRARY_PATH
  26189. - hardcode_into_libs=yes
  26190. - if test "$with_gnu_ld" = yes; then
  26191. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  26192. - shlibpath_overrides_runpath=no
  26193. - else
  26194. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  26195. - shlibpath_overrides_runpath=yes
  26196. - case $host_os in
  26197. - sco3.2v5*)
  26198. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  26199. - ;;
  26200. - esac
  26201. - fi
  26202. - sys_lib_dlsearch_path_spec='/usr/lib'
  26203. - ;;
  26204. -
  26205. -uts4*)
  26206. - version_type=linux
  26207. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  26208. - soname_spec='${libname}${release}${shared_ext}$major'
  26209. - shlibpath_var=LD_LIBRARY_PATH
  26210. - ;;
  26211. -
  26212. -*)
  26213. - dynamic_linker=no
  26214. - ;;
  26215. -esac
  26216. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  26217. -echo "${ECHO_T}$dynamic_linker" >&6; }
  26218. -test "$dynamic_linker" = no && can_build_shared=no
  26219. -
  26220. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  26221. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26222. -else
  26223. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  26224. -fi
  26225. -
  26226. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  26227. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  26228. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26229. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  26230. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  26231. +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  26232. + $as_echo_n "(cached) " >&6
  26233. else
  26234. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  26235. -fi
  26236. -
  26237. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  26238. + lt_cv_prog_compiler_rtti_exceptions=no
  26239. + ac_outfile=conftest.$ac_objext
  26240. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  26241. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  26242. + # Insert the option either (1) after the last *FLAGS variable, or
  26243. + # (2) before a word containing "conftest.", or (3) at the end.
  26244. + # Note that $ac_compile itself does not contain backslashes and begins
  26245. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  26246. + # The option is referenced via a variable to avoid confusing sed.
  26247. + lt_compile=`echo "$ac_compile" | $SED \
  26248. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  26249. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  26250. + -e 's:$: $lt_compiler_flag:'`
  26251. + (eval echo "\"\$as_me:7772: $lt_compile\"" >&5)
  26252. + (eval "$lt_compile" 2>conftest.err)
  26253. + ac_status=$?
  26254. + cat conftest.err >&5
  26255. + echo "$as_me:7776: \$? = $ac_status" >&5
  26256. + if (exit $ac_status) && test -s "$ac_outfile"; then
  26257. + # The compiler can only warn and ignore the option if not recognized
  26258. + # So say no if there are warnings other than the usual output.
  26259. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  26260. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  26261. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  26262. + lt_cv_prog_compiler_rtti_exceptions=yes
  26263. + fi
  26264. + fi
  26265. + $RM conftest*
  26266. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  26267. -if test "$GCC" = yes; then
  26268. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  26269. fi
  26270. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  26271. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  26272. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  26273. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  26274. -hardcode_action=
  26275. -if test -n "$hardcode_libdir_flag_spec" || \
  26276. - test -n "$runpath_var" || \
  26277. - test "X$hardcode_automatic" = "Xyes" ; then
  26278. -
  26279. - # We can hardcode non-existant directories.
  26280. - if test "$hardcode_direct" != no &&
  26281. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  26282. - # have to relink, otherwise we might link with an installed library
  26283. - # when we should be linking with a yet-to-be-installed one
  26284. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
  26285. - test "$hardcode_minus_L" != no; then
  26286. - # Linking always hardcodes the temporary library directory.
  26287. - hardcode_action=relink
  26288. - else
  26289. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  26290. - hardcode_action=immediate
  26291. - fi
  26292. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  26293. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  26294. else
  26295. - # We cannot hardcode anything, or else we can only hardcode existing
  26296. - # directories.
  26297. - hardcode_action=unsupported
  26298. -fi
  26299. -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
  26300. -echo "${ECHO_T}$hardcode_action" >&6; }
  26301. -
  26302. -if test "$hardcode_action" = relink; then
  26303. - # Fast installation is not supported
  26304. - enable_fast_install=no
  26305. -elif test "$shlibpath_overrides_runpath" = yes ||
  26306. - test "$enable_shared" = no; then
  26307. - # Fast installation is not necessary
  26308. - enable_fast_install=needless
  26309. + :
  26310. fi
  26311. -striplib=
  26312. -old_striplib=
  26313. -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  26314. -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
  26315. -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  26316. - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  26317. - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  26318. - { echo "$as_me:$LINENO: result: yes" >&5
  26319. -echo "${ECHO_T}yes" >&6; }
  26320. -else
  26321. -# FIXME - insert some real tests, host_os isn't really good enough
  26322. - case $host_os in
  26323. - darwin*)
  26324. - if test -n "$STRIP" ; then
  26325. - striplib="$STRIP -x"
  26326. - old_striplib="$STRIP -S"
  26327. - { echo "$as_me:$LINENO: result: yes" >&5
  26328. -echo "${ECHO_T}yes" >&6; }
  26329. - else
  26330. - { echo "$as_me:$LINENO: result: no" >&5
  26331. -echo "${ECHO_T}no" >&6; }
  26332. -fi
  26333. - ;;
  26334. - *)
  26335. - { echo "$as_me:$LINENO: result: no" >&5
  26336. -echo "${ECHO_T}no" >&6; }
  26337. - ;;
  26338. - esac
  26339. fi
  26340. -if test "x$enable_dlopen" != xyes; then
  26341. - enable_dlopen=unknown
  26342. - enable_dlopen_self=unknown
  26343. - enable_dlopen_self_static=unknown
  26344. -else
  26345. - lt_cv_dlopen=no
  26346. - lt_cv_dlopen_libs=
  26347. - case $host_os in
  26348. - beos*)
  26349. - lt_cv_dlopen="load_add_on"
  26350. - lt_cv_dlopen_libs=
  26351. - lt_cv_dlopen_self=yes
  26352. - ;;
  26353. - mingw* | pw32*)
  26354. - lt_cv_dlopen="LoadLibrary"
  26355. - lt_cv_dlopen_libs=
  26356. - ;;
  26357. - cygwin*)
  26358. - lt_cv_dlopen="dlopen"
  26359. - lt_cv_dlopen_libs=
  26360. - ;;
  26361. - darwin*)
  26362. - # if libdl is installed we need to link against it
  26363. - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  26364. -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  26365. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  26366. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26367. -else
  26368. - ac_check_lib_save_LIBS=$LIBS
  26369. -LIBS="-ldl $LIBS"
  26370. -cat >conftest.$ac_ext <<_ACEOF
  26371. -/* confdefs.h. */
  26372. -_ACEOF
  26373. -cat confdefs.h >>conftest.$ac_ext
  26374. -cat >>conftest.$ac_ext <<_ACEOF
  26375. -/* end confdefs.h. */
  26376. -/* Override any GCC internal prototype to avoid an error.
  26377. - Use char because int might match the return type of a GCC
  26378. - builtin and then its argument prototype would still apply. */
  26379. -#ifdef __cplusplus
  26380. -extern "C"
  26381. -#endif
  26382. -char dlopen ();
  26383. -int
  26384. -main ()
  26385. -{
  26386. -return dlopen ();
  26387. - ;
  26388. - return 0;
  26389. -}
  26390. -_ACEOF
  26391. -rm -f conftest.$ac_objext conftest$ac_exeext
  26392. -if { (ac_try="$ac_link"
  26393. -case "(($ac_try" in
  26394. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26395. - *) ac_try_echo=$ac_try;;
  26396. -esac
  26397. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26398. - (eval "$ac_link") 2>conftest.er1
  26399. - ac_status=$?
  26400. - grep -v '^ *+' conftest.er1 >conftest.err
  26401. - rm -f conftest.er1
  26402. - cat conftest.err >&5
  26403. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26404. - (exit $ac_status); } && {
  26405. - test -z "$ac_c_werror_flag" ||
  26406. - test ! -s conftest.err
  26407. - } && test -s conftest$ac_exeext &&
  26408. - $as_test_x conftest$ac_exeext; then
  26409. - ac_cv_lib_dl_dlopen=yes
  26410. -else
  26411. - echo "$as_me: failed program was:" >&5
  26412. -sed 's/^/| /' conftest.$ac_ext >&5
  26413. + lt_prog_compiler_wl=
  26414. +lt_prog_compiler_pic=
  26415. +lt_prog_compiler_static=
  26416. - ac_cv_lib_dl_dlopen=no
  26417. -fi
  26418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  26419. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  26420. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26421. - conftest$ac_exeext conftest.$ac_ext
  26422. -LIBS=$ac_check_lib_save_LIBS
  26423. -fi
  26424. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  26425. -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  26426. -if test $ac_cv_lib_dl_dlopen = yes; then
  26427. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  26428. -else
  26429. + if test "$GCC" = yes; then
  26430. + lt_prog_compiler_wl='-Wl,'
  26431. + lt_prog_compiler_static='-static'
  26432. - lt_cv_dlopen="dyld"
  26433. - lt_cv_dlopen_libs=
  26434. - lt_cv_dlopen_self=yes
  26435. + case $host_os in
  26436. + aix*)
  26437. + # All AIX code is PIC.
  26438. + if test "$host_cpu" = ia64; then
  26439. + # AIX 5 now supports IA64 processor
  26440. + lt_prog_compiler_static='-Bstatic'
  26441. + fi
  26442. + ;;
  26443. -fi
  26444. + amigaos*)
  26445. + case $host_cpu in
  26446. + powerpc)
  26447. + # see comment about AmigaOS4 .so support
  26448. + lt_prog_compiler_pic='-fPIC'
  26449. + ;;
  26450. + m68k)
  26451. + # FIXME: we need at least 68020 code to build shared libraries, but
  26452. + # adding the `-m68020' flag to GCC prevents building anything better,
  26453. + # like `-m68040'.
  26454. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  26455. + ;;
  26456. + esac
  26457. + ;;
  26458. - ;;
  26459. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  26460. + # PIC is the default for these OSes.
  26461. + ;;
  26462. - *)
  26463. - { echo "$as_me:$LINENO: checking for shl_load" >&5
  26464. -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
  26465. -if test "${ac_cv_func_shl_load+set}" = set; then
  26466. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26467. -else
  26468. - cat >conftest.$ac_ext <<_ACEOF
  26469. -/* confdefs.h. */
  26470. -_ACEOF
  26471. -cat confdefs.h >>conftest.$ac_ext
  26472. -cat >>conftest.$ac_ext <<_ACEOF
  26473. -/* end confdefs.h. */
  26474. -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  26475. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26476. -#define shl_load innocuous_shl_load
  26477. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  26478. + # This hack is so that the source file can tell whether it is being
  26479. + # built for inclusion in a dll (and should export symbols for example).
  26480. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  26481. + # (--disable-auto-import) libraries
  26482. + lt_prog_compiler_pic='-DDLL_EXPORT'
  26483. + ;;
  26484. -/* System header to define __stub macros and hopefully few prototypes,
  26485. - which can conflict with char shl_load (); below.
  26486. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26487. - <limits.h> exists even on freestanding compilers. */
  26488. -
  26489. -#ifdef __STDC__
  26490. -# include <limits.h>
  26491. -#else
  26492. -# include <assert.h>
  26493. -#endif
  26494. -
  26495. -#undef shl_load
  26496. -
  26497. -/* Override any GCC internal prototype to avoid an error.
  26498. - Use char because int might match the return type of a GCC
  26499. - builtin and then its argument prototype would still apply. */
  26500. -#ifdef __cplusplus
  26501. -extern "C"
  26502. -#endif
  26503. -char shl_load ();
  26504. -/* The GNU C library defines this for functions which it implements
  26505. - to always fail with ENOSYS. Some functions are actually named
  26506. - something starting with __ and the normal name is an alias. */
  26507. -#if defined __stub_shl_load || defined __stub___shl_load
  26508. -choke me
  26509. -#endif
  26510. -
  26511. -int
  26512. -main ()
  26513. -{
  26514. -return shl_load ();
  26515. - ;
  26516. - return 0;
  26517. -}
  26518. -_ACEOF
  26519. -rm -f conftest.$ac_objext conftest$ac_exeext
  26520. -if { (ac_try="$ac_link"
  26521. -case "(($ac_try" in
  26522. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26523. - *) ac_try_echo=$ac_try;;
  26524. -esac
  26525. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26526. - (eval "$ac_link") 2>conftest.er1
  26527. - ac_status=$?
  26528. - grep -v '^ *+' conftest.er1 >conftest.err
  26529. - rm -f conftest.er1
  26530. - cat conftest.err >&5
  26531. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26532. - (exit $ac_status); } && {
  26533. - test -z "$ac_c_werror_flag" ||
  26534. - test ! -s conftest.err
  26535. - } && test -s conftest$ac_exeext &&
  26536. - $as_test_x conftest$ac_exeext; then
  26537. - ac_cv_func_shl_load=yes
  26538. -else
  26539. - echo "$as_me: failed program was:" >&5
  26540. -sed 's/^/| /' conftest.$ac_ext >&5
  26541. -
  26542. - ac_cv_func_shl_load=no
  26543. -fi
  26544. -
  26545. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26546. - conftest$ac_exeext conftest.$ac_ext
  26547. -fi
  26548. -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  26549. -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
  26550. -if test $ac_cv_func_shl_load = yes; then
  26551. - lt_cv_dlopen="shl_load"
  26552. -else
  26553. - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  26554. -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
  26555. -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  26556. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26557. -else
  26558. - ac_check_lib_save_LIBS=$LIBS
  26559. -LIBS="-ldld $LIBS"
  26560. -cat >conftest.$ac_ext <<_ACEOF
  26561. -/* confdefs.h. */
  26562. -_ACEOF
  26563. -cat confdefs.h >>conftest.$ac_ext
  26564. -cat >>conftest.$ac_ext <<_ACEOF
  26565. -/* end confdefs.h. */
  26566. -
  26567. -/* Override any GCC internal prototype to avoid an error.
  26568. - Use char because int might match the return type of a GCC
  26569. - builtin and then its argument prototype would still apply. */
  26570. -#ifdef __cplusplus
  26571. -extern "C"
  26572. -#endif
  26573. -char shl_load ();
  26574. -int
  26575. -main ()
  26576. -{
  26577. -return shl_load ();
  26578. - ;
  26579. - return 0;
  26580. -}
  26581. -_ACEOF
  26582. -rm -f conftest.$ac_objext conftest$ac_exeext
  26583. -if { (ac_try="$ac_link"
  26584. -case "(($ac_try" in
  26585. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26586. - *) ac_try_echo=$ac_try;;
  26587. -esac
  26588. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26589. - (eval "$ac_link") 2>conftest.er1
  26590. - ac_status=$?
  26591. - grep -v '^ *+' conftest.er1 >conftest.err
  26592. - rm -f conftest.er1
  26593. - cat conftest.err >&5
  26594. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26595. - (exit $ac_status); } && {
  26596. - test -z "$ac_c_werror_flag" ||
  26597. - test ! -s conftest.err
  26598. - } && test -s conftest$ac_exeext &&
  26599. - $as_test_x conftest$ac_exeext; then
  26600. - ac_cv_lib_dld_shl_load=yes
  26601. -else
  26602. - echo "$as_me: failed program was:" >&5
  26603. -sed 's/^/| /' conftest.$ac_ext >&5
  26604. -
  26605. - ac_cv_lib_dld_shl_load=no
  26606. -fi
  26607. -
  26608. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26609. - conftest$ac_exeext conftest.$ac_ext
  26610. -LIBS=$ac_check_lib_save_LIBS
  26611. -fi
  26612. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  26613. -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
  26614. -if test $ac_cv_lib_dld_shl_load = yes; then
  26615. - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  26616. -else
  26617. - { echo "$as_me:$LINENO: checking for dlopen" >&5
  26618. -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
  26619. -if test "${ac_cv_func_dlopen+set}" = set; then
  26620. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26621. -else
  26622. - cat >conftest.$ac_ext <<_ACEOF
  26623. -/* confdefs.h. */
  26624. -_ACEOF
  26625. -cat confdefs.h >>conftest.$ac_ext
  26626. -cat >>conftest.$ac_ext <<_ACEOF
  26627. -/* end confdefs.h. */
  26628. -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  26629. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26630. -#define dlopen innocuous_dlopen
  26631. -
  26632. -/* System header to define __stub macros and hopefully few prototypes,
  26633. - which can conflict with char dlopen (); below.
  26634. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26635. - <limits.h> exists even on freestanding compilers. */
  26636. -
  26637. -#ifdef __STDC__
  26638. -# include <limits.h>
  26639. -#else
  26640. -# include <assert.h>
  26641. -#endif
  26642. -
  26643. -#undef dlopen
  26644. -
  26645. -/* Override any GCC internal prototype to avoid an error.
  26646. - Use char because int might match the return type of a GCC
  26647. - builtin and then its argument prototype would still apply. */
  26648. -#ifdef __cplusplus
  26649. -extern "C"
  26650. -#endif
  26651. -char dlopen ();
  26652. -/* The GNU C library defines this for functions which it implements
  26653. - to always fail with ENOSYS. Some functions are actually named
  26654. - something starting with __ and the normal name is an alias. */
  26655. -#if defined __stub_dlopen || defined __stub___dlopen
  26656. -choke me
  26657. -#endif
  26658. -
  26659. -int
  26660. -main ()
  26661. -{
  26662. -return dlopen ();
  26663. - ;
  26664. - return 0;
  26665. -}
  26666. -_ACEOF
  26667. -rm -f conftest.$ac_objext conftest$ac_exeext
  26668. -if { (ac_try="$ac_link"
  26669. -case "(($ac_try" in
  26670. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26671. - *) ac_try_echo=$ac_try;;
  26672. -esac
  26673. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26674. - (eval "$ac_link") 2>conftest.er1
  26675. - ac_status=$?
  26676. - grep -v '^ *+' conftest.er1 >conftest.err
  26677. - rm -f conftest.er1
  26678. - cat conftest.err >&5
  26679. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26680. - (exit $ac_status); } && {
  26681. - test -z "$ac_c_werror_flag" ||
  26682. - test ! -s conftest.err
  26683. - } && test -s conftest$ac_exeext &&
  26684. - $as_test_x conftest$ac_exeext; then
  26685. - ac_cv_func_dlopen=yes
  26686. -else
  26687. - echo "$as_me: failed program was:" >&5
  26688. -sed 's/^/| /' conftest.$ac_ext >&5
  26689. -
  26690. - ac_cv_func_dlopen=no
  26691. -fi
  26692. -
  26693. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26694. - conftest$ac_exeext conftest.$ac_ext
  26695. -fi
  26696. -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  26697. -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
  26698. -if test $ac_cv_func_dlopen = yes; then
  26699. - lt_cv_dlopen="dlopen"
  26700. -else
  26701. - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  26702. -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  26703. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  26704. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26705. -else
  26706. - ac_check_lib_save_LIBS=$LIBS
  26707. -LIBS="-ldl $LIBS"
  26708. -cat >conftest.$ac_ext <<_ACEOF
  26709. -/* confdefs.h. */
  26710. -_ACEOF
  26711. -cat confdefs.h >>conftest.$ac_ext
  26712. -cat >>conftest.$ac_ext <<_ACEOF
  26713. -/* end confdefs.h. */
  26714. -
  26715. -/* Override any GCC internal prototype to avoid an error.
  26716. - Use char because int might match the return type of a GCC
  26717. - builtin and then its argument prototype would still apply. */
  26718. -#ifdef __cplusplus
  26719. -extern "C"
  26720. -#endif
  26721. -char dlopen ();
  26722. -int
  26723. -main ()
  26724. -{
  26725. -return dlopen ();
  26726. - ;
  26727. - return 0;
  26728. -}
  26729. -_ACEOF
  26730. -rm -f conftest.$ac_objext conftest$ac_exeext
  26731. -if { (ac_try="$ac_link"
  26732. -case "(($ac_try" in
  26733. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26734. - *) ac_try_echo=$ac_try;;
  26735. -esac
  26736. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26737. - (eval "$ac_link") 2>conftest.er1
  26738. - ac_status=$?
  26739. - grep -v '^ *+' conftest.er1 >conftest.err
  26740. - rm -f conftest.er1
  26741. - cat conftest.err >&5
  26742. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26743. - (exit $ac_status); } && {
  26744. - test -z "$ac_c_werror_flag" ||
  26745. - test ! -s conftest.err
  26746. - } && test -s conftest$ac_exeext &&
  26747. - $as_test_x conftest$ac_exeext; then
  26748. - ac_cv_lib_dl_dlopen=yes
  26749. -else
  26750. - echo "$as_me: failed program was:" >&5
  26751. -sed 's/^/| /' conftest.$ac_ext >&5
  26752. -
  26753. - ac_cv_lib_dl_dlopen=no
  26754. -fi
  26755. -
  26756. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26757. - conftest$ac_exeext conftest.$ac_ext
  26758. -LIBS=$ac_check_lib_save_LIBS
  26759. -fi
  26760. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  26761. -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  26762. -if test $ac_cv_lib_dl_dlopen = yes; then
  26763. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  26764. -else
  26765. - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  26766. -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
  26767. -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  26768. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26769. -else
  26770. - ac_check_lib_save_LIBS=$LIBS
  26771. -LIBS="-lsvld $LIBS"
  26772. -cat >conftest.$ac_ext <<_ACEOF
  26773. -/* confdefs.h. */
  26774. -_ACEOF
  26775. -cat confdefs.h >>conftest.$ac_ext
  26776. -cat >>conftest.$ac_ext <<_ACEOF
  26777. -/* end confdefs.h. */
  26778. -
  26779. -/* Override any GCC internal prototype to avoid an error.
  26780. - Use char because int might match the return type of a GCC
  26781. - builtin and then its argument prototype would still apply. */
  26782. -#ifdef __cplusplus
  26783. -extern "C"
  26784. -#endif
  26785. -char dlopen ();
  26786. -int
  26787. -main ()
  26788. -{
  26789. -return dlopen ();
  26790. - ;
  26791. - return 0;
  26792. -}
  26793. -_ACEOF
  26794. -rm -f conftest.$ac_objext conftest$ac_exeext
  26795. -if { (ac_try="$ac_link"
  26796. -case "(($ac_try" in
  26797. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26798. - *) ac_try_echo=$ac_try;;
  26799. -esac
  26800. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26801. - (eval "$ac_link") 2>conftest.er1
  26802. - ac_status=$?
  26803. - grep -v '^ *+' conftest.er1 >conftest.err
  26804. - rm -f conftest.er1
  26805. - cat conftest.err >&5
  26806. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26807. - (exit $ac_status); } && {
  26808. - test -z "$ac_c_werror_flag" ||
  26809. - test ! -s conftest.err
  26810. - } && test -s conftest$ac_exeext &&
  26811. - $as_test_x conftest$ac_exeext; then
  26812. - ac_cv_lib_svld_dlopen=yes
  26813. -else
  26814. - echo "$as_me: failed program was:" >&5
  26815. -sed 's/^/| /' conftest.$ac_ext >&5
  26816. -
  26817. - ac_cv_lib_svld_dlopen=no
  26818. -fi
  26819. -
  26820. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26821. - conftest$ac_exeext conftest.$ac_ext
  26822. -LIBS=$ac_check_lib_save_LIBS
  26823. -fi
  26824. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  26825. -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
  26826. -if test $ac_cv_lib_svld_dlopen = yes; then
  26827. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  26828. -else
  26829. - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  26830. -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
  26831. -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  26832. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26833. -else
  26834. - ac_check_lib_save_LIBS=$LIBS
  26835. -LIBS="-ldld $LIBS"
  26836. -cat >conftest.$ac_ext <<_ACEOF
  26837. -/* confdefs.h. */
  26838. -_ACEOF
  26839. -cat confdefs.h >>conftest.$ac_ext
  26840. -cat >>conftest.$ac_ext <<_ACEOF
  26841. -/* end confdefs.h. */
  26842. -
  26843. -/* Override any GCC internal prototype to avoid an error.
  26844. - Use char because int might match the return type of a GCC
  26845. - builtin and then its argument prototype would still apply. */
  26846. -#ifdef __cplusplus
  26847. -extern "C"
  26848. -#endif
  26849. -char dld_link ();
  26850. -int
  26851. -main ()
  26852. -{
  26853. -return dld_link ();
  26854. - ;
  26855. - return 0;
  26856. -}
  26857. -_ACEOF
  26858. -rm -f conftest.$ac_objext conftest$ac_exeext
  26859. -if { (ac_try="$ac_link"
  26860. -case "(($ac_try" in
  26861. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26862. - *) ac_try_echo=$ac_try;;
  26863. -esac
  26864. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26865. - (eval "$ac_link") 2>conftest.er1
  26866. - ac_status=$?
  26867. - grep -v '^ *+' conftest.er1 >conftest.err
  26868. - rm -f conftest.er1
  26869. - cat conftest.err >&5
  26870. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26871. - (exit $ac_status); } && {
  26872. - test -z "$ac_c_werror_flag" ||
  26873. - test ! -s conftest.err
  26874. - } && test -s conftest$ac_exeext &&
  26875. - $as_test_x conftest$ac_exeext; then
  26876. - ac_cv_lib_dld_dld_link=yes
  26877. -else
  26878. - echo "$as_me: failed program was:" >&5
  26879. -sed 's/^/| /' conftest.$ac_ext >&5
  26880. -
  26881. - ac_cv_lib_dld_dld_link=no
  26882. -fi
  26883. -
  26884. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26885. - conftest$ac_exeext conftest.$ac_ext
  26886. -LIBS=$ac_check_lib_save_LIBS
  26887. -fi
  26888. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  26889. -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
  26890. -if test $ac_cv_lib_dld_dld_link = yes; then
  26891. - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  26892. -fi
  26893. -
  26894. -
  26895. -fi
  26896. -
  26897. -
  26898. -fi
  26899. -
  26900. -
  26901. -fi
  26902. -
  26903. -
  26904. -fi
  26905. -
  26906. -
  26907. -fi
  26908. -
  26909. - ;;
  26910. - esac
  26911. -
  26912. - if test "x$lt_cv_dlopen" != xno; then
  26913. - enable_dlopen=yes
  26914. - else
  26915. - enable_dlopen=no
  26916. - fi
  26917. -
  26918. - case $lt_cv_dlopen in
  26919. - dlopen)
  26920. - save_CPPFLAGS="$CPPFLAGS"
  26921. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  26922. -
  26923. - save_LDFLAGS="$LDFLAGS"
  26924. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  26925. -
  26926. - save_LIBS="$LIBS"
  26927. - LIBS="$lt_cv_dlopen_libs $LIBS"
  26928. -
  26929. - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  26930. -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
  26931. -if test "${lt_cv_dlopen_self+set}" = set; then
  26932. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26933. -else
  26934. - if test "$cross_compiling" = yes; then :
  26935. - lt_cv_dlopen_self=cross
  26936. -else
  26937. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  26938. - lt_status=$lt_dlunknown
  26939. - cat > conftest.$ac_ext <<EOF
  26940. -#line 10478 "configure"
  26941. -#include "confdefs.h"
  26942. -
  26943. -#if HAVE_DLFCN_H
  26944. -#include <dlfcn.h>
  26945. -#endif
  26946. -
  26947. -#include <stdio.h>
  26948. -
  26949. -#ifdef RTLD_GLOBAL
  26950. -# define LT_DLGLOBAL RTLD_GLOBAL
  26951. -#else
  26952. -# ifdef DL_GLOBAL
  26953. -# define LT_DLGLOBAL DL_GLOBAL
  26954. -# else
  26955. -# define LT_DLGLOBAL 0
  26956. -# endif
  26957. -#endif
  26958. -
  26959. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  26960. - find out it does not work in some platform. */
  26961. -#ifndef LT_DLLAZY_OR_NOW
  26962. -# ifdef RTLD_LAZY
  26963. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  26964. -# else
  26965. -# ifdef DL_LAZY
  26966. -# define LT_DLLAZY_OR_NOW DL_LAZY
  26967. -# else
  26968. -# ifdef RTLD_NOW
  26969. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  26970. -# else
  26971. -# ifdef DL_NOW
  26972. -# define LT_DLLAZY_OR_NOW DL_NOW
  26973. -# else
  26974. -# define LT_DLLAZY_OR_NOW 0
  26975. -# endif
  26976. -# endif
  26977. -# endif
  26978. -# endif
  26979. -#endif
  26980. -
  26981. -#ifdef __cplusplus
  26982. -extern "C" void exit (int);
  26983. -#endif
  26984. -
  26985. -void fnord() { int i=42;}
  26986. -int main ()
  26987. -{
  26988. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  26989. - int status = $lt_dlunknown;
  26990. -
  26991. - if (self)
  26992. - {
  26993. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  26994. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  26995. - /* dlclose (self); */
  26996. - }
  26997. - else
  26998. - puts (dlerror ());
  26999. -
  27000. - exit (status);
  27001. -}
  27002. -EOF
  27003. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  27004. - (eval $ac_link) 2>&5
  27005. - ac_status=$?
  27006. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27007. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  27008. - (./conftest; exit; ) >&5 2>/dev/null
  27009. - lt_status=$?
  27010. - case x$lt_status in
  27011. - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  27012. - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  27013. - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  27014. - esac
  27015. - else :
  27016. - # compilation failed
  27017. - lt_cv_dlopen_self=no
  27018. - fi
  27019. -fi
  27020. -rm -fr conftest*
  27021. -
  27022. -
  27023. -fi
  27024. -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  27025. -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
  27026. -
  27027. - if test "x$lt_cv_dlopen_self" = xyes; then
  27028. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  27029. - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  27030. -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
  27031. -if test "${lt_cv_dlopen_self_static+set}" = set; then
  27032. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27033. -else
  27034. - if test "$cross_compiling" = yes; then :
  27035. - lt_cv_dlopen_self_static=cross
  27036. -else
  27037. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  27038. - lt_status=$lt_dlunknown
  27039. - cat > conftest.$ac_ext <<EOF
  27040. -#line 10578 "configure"
  27041. -#include "confdefs.h"
  27042. -
  27043. -#if HAVE_DLFCN_H
  27044. -#include <dlfcn.h>
  27045. -#endif
  27046. -
  27047. -#include <stdio.h>
  27048. -
  27049. -#ifdef RTLD_GLOBAL
  27050. -# define LT_DLGLOBAL RTLD_GLOBAL
  27051. -#else
  27052. -# ifdef DL_GLOBAL
  27053. -# define LT_DLGLOBAL DL_GLOBAL
  27054. -# else
  27055. -# define LT_DLGLOBAL 0
  27056. -# endif
  27057. -#endif
  27058. -
  27059. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  27060. - find out it does not work in some platform. */
  27061. -#ifndef LT_DLLAZY_OR_NOW
  27062. -# ifdef RTLD_LAZY
  27063. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  27064. -# else
  27065. -# ifdef DL_LAZY
  27066. -# define LT_DLLAZY_OR_NOW DL_LAZY
  27067. -# else
  27068. -# ifdef RTLD_NOW
  27069. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  27070. -# else
  27071. -# ifdef DL_NOW
  27072. -# define LT_DLLAZY_OR_NOW DL_NOW
  27073. -# else
  27074. -# define LT_DLLAZY_OR_NOW 0
  27075. -# endif
  27076. -# endif
  27077. -# endif
  27078. -# endif
  27079. -#endif
  27080. -
  27081. -#ifdef __cplusplus
  27082. -extern "C" void exit (int);
  27083. -#endif
  27084. -
  27085. -void fnord() { int i=42;}
  27086. -int main ()
  27087. -{
  27088. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  27089. - int status = $lt_dlunknown;
  27090. -
  27091. - if (self)
  27092. - {
  27093. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  27094. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  27095. - /* dlclose (self); */
  27096. - }
  27097. - else
  27098. - puts (dlerror ());
  27099. -
  27100. - exit (status);
  27101. -}
  27102. -EOF
  27103. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  27104. - (eval $ac_link) 2>&5
  27105. - ac_status=$?
  27106. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27107. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  27108. - (./conftest; exit; ) >&5 2>/dev/null
  27109. - lt_status=$?
  27110. - case x$lt_status in
  27111. - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  27112. - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  27113. - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  27114. - esac
  27115. - else :
  27116. - # compilation failed
  27117. - lt_cv_dlopen_self_static=no
  27118. - fi
  27119. -fi
  27120. -rm -fr conftest*
  27121. -
  27122. -
  27123. -fi
  27124. -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  27125. -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
  27126. - fi
  27127. -
  27128. - CPPFLAGS="$save_CPPFLAGS"
  27129. - LDFLAGS="$save_LDFLAGS"
  27130. - LIBS="$save_LIBS"
  27131. - ;;
  27132. - esac
  27133. -
  27134. - case $lt_cv_dlopen_self in
  27135. - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  27136. - *) enable_dlopen_self=unknown ;;
  27137. - esac
  27138. -
  27139. - case $lt_cv_dlopen_self_static in
  27140. - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  27141. - *) enable_dlopen_self_static=unknown ;;
  27142. - esac
  27143. -fi
  27144. -
  27145. -
  27146. -# Report which library types will actually be built
  27147. -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  27148. -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
  27149. -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
  27150. -echo "${ECHO_T}$can_build_shared" >&6; }
  27151. -
  27152. -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  27153. -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
  27154. -test "$can_build_shared" = "no" && enable_shared=no
  27155. -
  27156. -# On AIX, shared libraries and static libraries use the same namespace, and
  27157. -# are all built from PIC.
  27158. -case $host_os in
  27159. -aix3*)
  27160. - test "$enable_shared" = yes && enable_static=no
  27161. - if test -n "$RANLIB"; then
  27162. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  27163. - postinstall_cmds='$RANLIB $lib'
  27164. - fi
  27165. - ;;
  27166. -
  27167. -aix[4-9]*)
  27168. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  27169. - test "$enable_shared" = yes && enable_static=no
  27170. - fi
  27171. - ;;
  27172. -esac
  27173. -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
  27174. -echo "${ECHO_T}$enable_shared" >&6; }
  27175. -
  27176. -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  27177. -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
  27178. -# Make sure either enable_shared or enable_static is yes.
  27179. -test "$enable_shared" = yes || enable_static=yes
  27180. -{ echo "$as_me:$LINENO: result: $enable_static" >&5
  27181. -echo "${ECHO_T}$enable_static" >&6; }
  27182. -
  27183. -# The else clause should only fire when bootstrapping the
  27184. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  27185. -# with your package, and you will get complaints that there are
  27186. -# no rules to generate ltmain.sh.
  27187. -if test -f "$ltmain"; then
  27188. - # See if we are running on zsh, and set the options which allow our commands through
  27189. - # without removal of \ escapes.
  27190. - if test -n "${ZSH_VERSION+set}" ; then
  27191. - setopt NO_GLOB_SUBST
  27192. - fi
  27193. - # Now quote all the things that may contain metacharacters while being
  27194. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  27195. - # variables and quote the copies for generation of the libtool script.
  27196. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  27197. - SED SHELL STRIP \
  27198. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  27199. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  27200. - deplibs_check_method reload_flag reload_cmds need_locks \
  27201. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  27202. - lt_cv_sys_global_symbol_to_c_name_address \
  27203. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  27204. - old_postinstall_cmds old_postuninstall_cmds \
  27205. - compiler \
  27206. - CC \
  27207. - LD \
  27208. - lt_prog_compiler_wl \
  27209. - lt_prog_compiler_pic \
  27210. - lt_prog_compiler_static \
  27211. - lt_prog_compiler_no_builtin_flag \
  27212. - export_dynamic_flag_spec \
  27213. - thread_safe_flag_spec \
  27214. - whole_archive_flag_spec \
  27215. - enable_shared_with_static_runtimes \
  27216. - old_archive_cmds \
  27217. - old_archive_from_new_cmds \
  27218. - predep_objects \
  27219. - postdep_objects \
  27220. - predeps \
  27221. - postdeps \
  27222. - compiler_lib_search_path \
  27223. - compiler_lib_search_dirs \
  27224. - archive_cmds \
  27225. - archive_expsym_cmds \
  27226. - postinstall_cmds \
  27227. - postuninstall_cmds \
  27228. - old_archive_from_expsyms_cmds \
  27229. - allow_undefined_flag \
  27230. - no_undefined_flag \
  27231. - export_symbols_cmds \
  27232. - hardcode_libdir_flag_spec \
  27233. - hardcode_libdir_flag_spec_ld \
  27234. - hardcode_libdir_separator \
  27235. - hardcode_automatic \
  27236. - module_cmds \
  27237. - module_expsym_cmds \
  27238. - lt_cv_prog_compiler_c_o \
  27239. - fix_srcfile_path \
  27240. - exclude_expsyms \
  27241. - include_expsyms; do
  27242. -
  27243. - case $var in
  27244. - old_archive_cmds | \
  27245. - old_archive_from_new_cmds | \
  27246. - archive_cmds | \
  27247. - archive_expsym_cmds | \
  27248. - module_cmds | \
  27249. - module_expsym_cmds | \
  27250. - old_archive_from_expsyms_cmds | \
  27251. - export_symbols_cmds | \
  27252. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  27253. - postinstall_cmds | postuninstall_cmds | \
  27254. - old_postinstall_cmds | old_postuninstall_cmds | \
  27255. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  27256. - # Double-quote double-evaled strings.
  27257. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  27258. - ;;
  27259. - *)
  27260. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  27261. - ;;
  27262. - esac
  27263. - done
  27264. -
  27265. - case $lt_echo in
  27266. - *'\$0 --fallback-echo"')
  27267. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  27268. - ;;
  27269. - esac
  27270. -
  27271. -cfgfile="${ofile}T"
  27272. - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
  27273. - $rm -f "$cfgfile"
  27274. - { echo "$as_me:$LINENO: creating $ofile" >&5
  27275. -echo "$as_me: creating $ofile" >&6;}
  27276. -
  27277. - cat <<__EOF__ >> "$cfgfile"
  27278. -#! $SHELL
  27279. -
  27280. -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  27281. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
  27282. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  27283. -#
  27284. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  27285. -# Free Software Foundation, Inc.
  27286. -#
  27287. -# This file is part of GNU Libtool:
  27288. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  27289. -#
  27290. -# This program is free software; you can redistribute it and/or modify
  27291. -# it under the terms of the GNU General Public License as published by
  27292. -# the Free Software Foundation; either version 2 of the License, or
  27293. -# (at your option) any later version.
  27294. -#
  27295. -# This program is distributed in the hope that it will be useful, but
  27296. -# WITHOUT ANY WARRANTY; without even the implied warranty of
  27297. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  27298. -# General Public License for more details.
  27299. -#
  27300. -# You should have received a copy of the GNU General Public License
  27301. -# along with this program; if not, write to the Free Software
  27302. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  27303. -#
  27304. -# As a special exception to the GNU General Public License, if you
  27305. -# distribute this file as part of a program that contains a
  27306. -# configuration script generated by Autoconf, you may include it under
  27307. -# the same distribution terms that you use for the rest of that program.
  27308. -
  27309. -# A sed program that does not truncate output.
  27310. -SED=$lt_SED
  27311. -
  27312. -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  27313. -Xsed="$SED -e 1s/^X//"
  27314. -
  27315. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  27316. -# if CDPATH is set.
  27317. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  27318. -
  27319. -# The names of the tagged configurations supported by this script.
  27320. -available_tags=
  27321. -
  27322. -# ### BEGIN LIBTOOL CONFIG
  27323. -
  27324. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  27325. -
  27326. -# Shell to use when invoking shell scripts.
  27327. -SHELL=$lt_SHELL
  27328. -
  27329. -# Whether or not to build shared libraries.
  27330. -build_libtool_libs=$enable_shared
  27331. -
  27332. -# Whether or not to build static libraries.
  27333. -build_old_libs=$enable_static
  27334. -
  27335. -# Whether or not to add -lc for building shared libraries.
  27336. -build_libtool_need_lc=$archive_cmds_need_lc
  27337. -
  27338. -# Whether or not to disallow shared libs when runtime libs are static
  27339. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  27340. -
  27341. -# Whether or not to optimize for fast installation.
  27342. -fast_install=$enable_fast_install
  27343. -
  27344. -# The host system.
  27345. -host_alias=$host_alias
  27346. -host=$host
  27347. -host_os=$host_os
  27348. -
  27349. -# The build system.
  27350. -build_alias=$build_alias
  27351. -build=$build
  27352. -build_os=$build_os
  27353. -
  27354. -# An echo program that does not interpret backslashes.
  27355. -echo=$lt_echo
  27356. -
  27357. -# The archiver.
  27358. -AR=$lt_AR
  27359. -AR_FLAGS=$lt_AR_FLAGS
  27360. -
  27361. -# A C compiler.
  27362. -LTCC=$lt_LTCC
  27363. -
  27364. -# LTCC compiler flags.
  27365. -LTCFLAGS=$lt_LTCFLAGS
  27366. -
  27367. -# A language-specific compiler.
  27368. -CC=$lt_compiler
  27369. -
  27370. -# Is the compiler the GNU C compiler?
  27371. -with_gcc=$GCC
  27372. -
  27373. -# An ERE matcher.
  27374. -EGREP=$lt_EGREP
  27375. -
  27376. -# The linker used to build libraries.
  27377. -LD=$lt_LD
  27378. -
  27379. -# Whether we need hard or soft links.
  27380. -LN_S=$lt_LN_S
  27381. -
  27382. -# A BSD-compatible nm program.
  27383. -NM=$lt_NM
  27384. -
  27385. -# A symbol stripping program
  27386. -STRIP=$lt_STRIP
  27387. -
  27388. -# Used to examine libraries when file_magic_cmd begins "file"
  27389. -MAGIC_CMD=$MAGIC_CMD
  27390. -
  27391. -# Used on cygwin: DLL creation program.
  27392. -DLLTOOL="$DLLTOOL"
  27393. -
  27394. -# Used on cygwin: object dumper.
  27395. -OBJDUMP="$OBJDUMP"
  27396. -
  27397. -# Used on cygwin: assembler.
  27398. -AS="$AS"
  27399. -
  27400. -# The name of the directory that contains temporary libtool files.
  27401. -objdir=$objdir
  27402. -
  27403. -# How to create reloadable object files.
  27404. -reload_flag=$lt_reload_flag
  27405. -reload_cmds=$lt_reload_cmds
  27406. -
  27407. -# How to pass a linker flag through the compiler.
  27408. -wl=$lt_lt_prog_compiler_wl
  27409. -
  27410. -# Object file suffix (normally "o").
  27411. -objext="$ac_objext"
  27412. -
  27413. -# Old archive suffix (normally "a").
  27414. -libext="$libext"
  27415. -
  27416. -# Shared library suffix (normally ".so").
  27417. -shrext_cmds='$shrext_cmds'
  27418. -
  27419. -# Executable file suffix (normally "").
  27420. -exeext="$exeext"
  27421. -
  27422. -# Additional compiler flags for building library objects.
  27423. -pic_flag=$lt_lt_prog_compiler_pic
  27424. -pic_mode=$pic_mode
  27425. -
  27426. -# What is the maximum length of a command?
  27427. -max_cmd_len=$lt_cv_sys_max_cmd_len
  27428. -
  27429. -# Does compiler simultaneously support -c and -o options?
  27430. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  27431. -
  27432. -# Must we lock files when doing compilation?
  27433. -need_locks=$lt_need_locks
  27434. -
  27435. -# Do we need the lib prefix for modules?
  27436. -need_lib_prefix=$need_lib_prefix
  27437. -
  27438. -# Do we need a version for libraries?
  27439. -need_version=$need_version
  27440. -
  27441. -# Whether dlopen is supported.
  27442. -dlopen_support=$enable_dlopen
  27443. -
  27444. -# Whether dlopen of programs is supported.
  27445. -dlopen_self=$enable_dlopen_self
  27446. -
  27447. -# Whether dlopen of statically linked programs is supported.
  27448. -dlopen_self_static=$enable_dlopen_self_static
  27449. -
  27450. -# Compiler flag to prevent dynamic linking.
  27451. -link_static_flag=$lt_lt_prog_compiler_static
  27452. -
  27453. -# Compiler flag to turn off builtin functions.
  27454. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  27455. -
  27456. -# Compiler flag to allow reflexive dlopens.
  27457. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  27458. -
  27459. -# Compiler flag to generate shared objects directly from archives.
  27460. -whole_archive_flag_spec=$lt_whole_archive_flag_spec
  27461. -
  27462. -# Compiler flag to generate thread-safe objects.
  27463. -thread_safe_flag_spec=$lt_thread_safe_flag_spec
  27464. -
  27465. -# Library versioning type.
  27466. -version_type=$version_type
  27467. -
  27468. -# Format of library name prefix.
  27469. -libname_spec=$lt_libname_spec
  27470. -
  27471. -# List of archive names. First name is the real one, the rest are links.
  27472. -# The last name is the one that the linker finds with -lNAME.
  27473. -library_names_spec=$lt_library_names_spec
  27474. -
  27475. -# The coded name of the library, if different from the real name.
  27476. -soname_spec=$lt_soname_spec
  27477. -
  27478. -# Commands used to build and install an old-style archive.
  27479. -RANLIB=$lt_RANLIB
  27480. -old_archive_cmds=$lt_old_archive_cmds
  27481. -old_postinstall_cmds=$lt_old_postinstall_cmds
  27482. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  27483. -
  27484. -# Create an old-style archive from a shared archive.
  27485. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  27486. -
  27487. -# Create a temporary old-style archive to link instead of a shared archive.
  27488. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  27489. -
  27490. -# Commands used to build and install a shared archive.
  27491. -archive_cmds=$lt_archive_cmds
  27492. -archive_expsym_cmds=$lt_archive_expsym_cmds
  27493. -postinstall_cmds=$lt_postinstall_cmds
  27494. -postuninstall_cmds=$lt_postuninstall_cmds
  27495. -
  27496. -# Commands used to build a loadable module (assumed same as above if empty)
  27497. -module_cmds=$lt_module_cmds
  27498. -module_expsym_cmds=$lt_module_expsym_cmds
  27499. -
  27500. -# Commands to strip libraries.
  27501. -old_striplib=$lt_old_striplib
  27502. -striplib=$lt_striplib
  27503. -
  27504. -# Dependencies to place before the objects being linked to create a
  27505. -# shared library.
  27506. -predep_objects=$lt_predep_objects
  27507. -
  27508. -# Dependencies to place after the objects being linked to create a
  27509. -# shared library.
  27510. -postdep_objects=$lt_postdep_objects
  27511. -
  27512. -# Dependencies to place before the objects being linked to create a
  27513. -# shared library.
  27514. -predeps=$lt_predeps
  27515. -
  27516. -# Dependencies to place after the objects being linked to create a
  27517. -# shared library.
  27518. -postdeps=$lt_postdeps
  27519. -
  27520. -# The directories searched by this compiler when creating a shared
  27521. -# library
  27522. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  27523. -
  27524. -# The library search path used internally by the compiler when linking
  27525. -# a shared library.
  27526. -compiler_lib_search_path=$lt_compiler_lib_search_path
  27527. -
  27528. -# Method to check whether dependent libraries are shared objects.
  27529. -deplibs_check_method=$lt_deplibs_check_method
  27530. -
  27531. -# Command to use when deplibs_check_method == file_magic.
  27532. -file_magic_cmd=$lt_file_magic_cmd
  27533. -
  27534. -# Flag that allows shared libraries with undefined symbols to be built.
  27535. -allow_undefined_flag=$lt_allow_undefined_flag
  27536. -
  27537. -# Flag that forces no undefined symbols.
  27538. -no_undefined_flag=$lt_no_undefined_flag
  27539. -
  27540. -# Commands used to finish a libtool library installation in a directory.
  27541. -finish_cmds=$lt_finish_cmds
  27542. -
  27543. -# Same as above, but a single script fragment to be evaled but not shown.
  27544. -finish_eval=$lt_finish_eval
  27545. -
  27546. -# Take the output of nm and produce a listing of raw symbols and C names.
  27547. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  27548. -
  27549. -# Transform the output of nm in a proper C declaration
  27550. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  27551. -
  27552. -# Transform the output of nm in a C name address pair
  27553. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  27554. -
  27555. -# This is the shared library runtime path variable.
  27556. -runpath_var=$runpath_var
  27557. -
  27558. -# This is the shared library path variable.
  27559. -shlibpath_var=$shlibpath_var
  27560. -
  27561. -# Is shlibpath searched before the hard-coded library search path?
  27562. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  27563. -
  27564. -# How to hardcode a shared library path into an executable.
  27565. -hardcode_action=$hardcode_action
  27566. -
  27567. -# Whether we should hardcode library paths into libraries.
  27568. -hardcode_into_libs=$hardcode_into_libs
  27569. -
  27570. -# Flag to hardcode \$libdir into a binary during linking.
  27571. -# This must work even if \$libdir does not exist.
  27572. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  27573. -
  27574. -# If ld is used when linking, flag to hardcode \$libdir into
  27575. -# a binary during linking. This must work even if \$libdir does
  27576. -# not exist.
  27577. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  27578. -
  27579. -# Whether we need a single -rpath flag with a separated argument.
  27580. -hardcode_libdir_separator=$lt_hardcode_libdir_separator
  27581. -
  27582. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  27583. -# resulting binary.
  27584. -hardcode_direct=$hardcode_direct
  27585. -
  27586. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  27587. -# resulting binary.
  27588. -hardcode_minus_L=$hardcode_minus_L
  27589. -
  27590. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  27591. -# the resulting binary.
  27592. -hardcode_shlibpath_var=$hardcode_shlibpath_var
  27593. -
  27594. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  27595. -# and all subsequent libraries and executables linked against it.
  27596. -hardcode_automatic=$hardcode_automatic
  27597. -
  27598. -# Variables whose values should be saved in libtool wrapper scripts and
  27599. -# restored at relink time.
  27600. -variables_saved_for_relink="$variables_saved_for_relink"
  27601. -
  27602. -# Whether libtool must link a program against all its dependency libraries.
  27603. -link_all_deplibs=$link_all_deplibs
  27604. -
  27605. -# Compile-time system search path for libraries
  27606. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  27607. -
  27608. -# Run-time system search path for libraries
  27609. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  27610. -
  27611. -# Fix the shell variable \$srcfile for the compiler.
  27612. -fix_srcfile_path=$lt_fix_srcfile_path
  27613. -
  27614. -# Set to yes if exported symbols are required.
  27615. -always_export_symbols=$always_export_symbols
  27616. -
  27617. -# The commands to list exported symbols.
  27618. -export_symbols_cmds=$lt_export_symbols_cmds
  27619. -
  27620. -# The commands to extract the exported symbol list from a shared archive.
  27621. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  27622. -
  27623. -# Symbols that should not be listed in the preloaded symbols.
  27624. -exclude_expsyms=$lt_exclude_expsyms
  27625. -
  27626. -# Symbols that must always be exported.
  27627. -include_expsyms=$lt_include_expsyms
  27628. -
  27629. -# ### END LIBTOOL CONFIG
  27630. -
  27631. -__EOF__
  27632. -
  27633. -
  27634. - case $host_os in
  27635. - aix3*)
  27636. - cat <<\EOF >> "$cfgfile"
  27637. -
  27638. -# AIX sometimes has problems with the GCC collect2 program. For some
  27639. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  27640. -# vanish in a puff of smoke.
  27641. -if test "X${COLLECT_NAMES+set}" != Xset; then
  27642. - COLLECT_NAMES=
  27643. - export COLLECT_NAMES
  27644. -fi
  27645. -EOF
  27646. - ;;
  27647. - esac
  27648. -
  27649. - # We use sed instead of cat because bash on DJGPP gets confused if
  27650. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  27651. - # text mode, it properly converts lines to CR/LF. This bash problem
  27652. - # is reportedly fixed, but why not run on old versions too?
  27653. - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
  27654. -
  27655. - mv -f "$cfgfile" "$ofile" || \
  27656. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  27657. - chmod +x "$ofile"
  27658. -
  27659. -else
  27660. - # If there is no Makefile yet, we rely on a make rule to execute
  27661. - # `config.status --recheck' to rerun these tests and create the
  27662. - # libtool script then.
  27663. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  27664. - if test -f "$ltmain_in"; then
  27665. - test -f Makefile && make "$ltmain"
  27666. - fi
  27667. -fi
  27668. -
  27669. -
  27670. -ac_ext=c
  27671. -ac_cpp='$CPP $CPPFLAGS'
  27672. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  27673. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  27674. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  27675. -
  27676. -CC="$lt_save_CC"
  27677. -
  27678. -
  27679. -# Check whether --with-tags was given.
  27680. -if test "${with_tags+set}" = set; then
  27681. - withval=$with_tags; tagnames="$withval"
  27682. -fi
  27683. -
  27684. -
  27685. -if test -f "$ltmain" && test -n "$tagnames"; then
  27686. - if test ! -f "${ofile}"; then
  27687. - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
  27688. -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
  27689. - fi
  27690. -
  27691. - if test -z "$LTCC"; then
  27692. - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
  27693. - if test -z "$LTCC"; then
  27694. - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
  27695. -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
  27696. - else
  27697. - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
  27698. -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
  27699. - fi
  27700. - fi
  27701. - if test -z "$LTCFLAGS"; then
  27702. - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
  27703. - fi
  27704. -
  27705. - # Extract list of available tagged configurations in $ofile.
  27706. - # Note that this assumes the entire list is on one line.
  27707. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
  27708. -
  27709. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  27710. - for tagname in $tagnames; do
  27711. - IFS="$lt_save_ifs"
  27712. - # Check whether tagname contains only valid characters
  27713. - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
  27714. - "") ;;
  27715. - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
  27716. -echo "$as_me: error: invalid tag name: $tagname" >&2;}
  27717. - { (exit 1); exit 1; }; }
  27718. - ;;
  27719. - esac
  27720. -
  27721. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
  27722. - then
  27723. - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
  27724. -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
  27725. - { (exit 1); exit 1; }; }
  27726. - fi
  27727. -
  27728. - # Update the list of available tags.
  27729. - if test -n "$tagname"; then
  27730. - echo appending configuration tag \"$tagname\" to $ofile
  27731. -
  27732. - case $tagname in
  27733. - CXX)
  27734. - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  27735. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  27736. - (test "X$CXX" != "Xg++"))) ; then
  27737. - ac_ext=cpp
  27738. -ac_cpp='$CXXCPP $CPPFLAGS'
  27739. -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  27740. -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  27741. -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  27742. -
  27743. -
  27744. -
  27745. -
  27746. -archive_cmds_need_lc_CXX=no
  27747. -allow_undefined_flag_CXX=
  27748. -always_export_symbols_CXX=no
  27749. -archive_expsym_cmds_CXX=
  27750. -export_dynamic_flag_spec_CXX=
  27751. -hardcode_direct_CXX=no
  27752. -hardcode_libdir_flag_spec_CXX=
  27753. -hardcode_libdir_flag_spec_ld_CXX=
  27754. -hardcode_libdir_separator_CXX=
  27755. -hardcode_minus_L_CXX=no
  27756. -hardcode_shlibpath_var_CXX=unsupported
  27757. -hardcode_automatic_CXX=no
  27758. -module_cmds_CXX=
  27759. -module_expsym_cmds_CXX=
  27760. -link_all_deplibs_CXX=unknown
  27761. -old_archive_cmds_CXX=$old_archive_cmds
  27762. -no_undefined_flag_CXX=
  27763. -whole_archive_flag_spec_CXX=
  27764. -enable_shared_with_static_runtimes_CXX=no
  27765. -
  27766. -# Dependencies to place before and after the object being linked:
  27767. -predep_objects_CXX=
  27768. -postdep_objects_CXX=
  27769. -predeps_CXX=
  27770. -postdeps_CXX=
  27771. -compiler_lib_search_path_CXX=
  27772. -compiler_lib_search_dirs_CXX=
  27773. -
  27774. -# Source file extension for C++ test sources.
  27775. -ac_ext=cpp
  27776. -
  27777. -# Object file extension for compiled C++ test sources.
  27778. -objext=o
  27779. -objext_CXX=$objext
  27780. -
  27781. -# Code to be used in simple compile tests
  27782. -lt_simple_compile_test_code="int some_variable = 0;"
  27783. -
  27784. -# Code to be used in simple link tests
  27785. -lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
  27786. -
  27787. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  27788. -
  27789. -# If no C compiler was specified, use CC.
  27790. -LTCC=${LTCC-"$CC"}
  27791. -
  27792. -# If no C compiler flags were specified, use CFLAGS.
  27793. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  27794. -
  27795. -# Allow CC to be a program name with arguments.
  27796. -compiler=$CC
  27797. -
  27798. -
  27799. -# save warnings/boilerplate of simple test code
  27800. -ac_outfile=conftest.$ac_objext
  27801. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  27802. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  27803. -_lt_compiler_boilerplate=`cat conftest.err`
  27804. -$rm conftest*
  27805. -
  27806. -ac_outfile=conftest.$ac_objext
  27807. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  27808. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  27809. -_lt_linker_boilerplate=`cat conftest.err`
  27810. -$rm -r conftest*
  27811. -
  27812. -
  27813. -# Allow CC to be a program name with arguments.
  27814. -lt_save_CC=$CC
  27815. -lt_save_LD=$LD
  27816. -lt_save_GCC=$GCC
  27817. -GCC=$GXX
  27818. -lt_save_with_gnu_ld=$with_gnu_ld
  27819. -lt_save_path_LD=$lt_cv_path_LD
  27820. -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  27821. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  27822. -else
  27823. - $as_unset lt_cv_prog_gnu_ld
  27824. -fi
  27825. -if test -n "${lt_cv_path_LDCXX+set}"; then
  27826. - lt_cv_path_LD=$lt_cv_path_LDCXX
  27827. -else
  27828. - $as_unset lt_cv_path_LD
  27829. -fi
  27830. -test -z "${LDCXX+set}" || LD=$LDCXX
  27831. -CC=${CXX-"c++"}
  27832. -compiler=$CC
  27833. -compiler_CXX=$CC
  27834. -for cc_temp in $compiler""; do
  27835. - case $cc_temp in
  27836. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  27837. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  27838. - \-*) ;;
  27839. - *) break;;
  27840. - esac
  27841. -done
  27842. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  27843. -
  27844. -
  27845. -# We don't want -fno-exception wen compiling C++ code, so set the
  27846. -# no_builtin_flag separately
  27847. -if test "$GXX" = yes; then
  27848. - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  27849. -else
  27850. - lt_prog_compiler_no_builtin_flag_CXX=
  27851. -fi
  27852. -
  27853. -if test "$GXX" = yes; then
  27854. - # Set up default GNU C++ configuration
  27855. -
  27856. -
  27857. -# Check whether --with-gnu-ld was given.
  27858. -if test "${with_gnu_ld+set}" = set; then
  27859. - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  27860. -else
  27861. - with_gnu_ld=no
  27862. -fi
  27863. -
  27864. -ac_prog=ld
  27865. -if test "$GCC" = yes; then
  27866. - # Check if gcc -print-prog-name=ld gives a path.
  27867. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  27868. -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  27869. - case $host in
  27870. - *-*-mingw*)
  27871. - # gcc leaves a trailing carriage return which upsets mingw
  27872. - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  27873. - *)
  27874. - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  27875. - esac
  27876. - case $ac_prog in
  27877. - # Accept absolute paths.
  27878. - [\\/]* | ?:[\\/]*)
  27879. - re_direlt='/[^/][^/]*/\.\./'
  27880. - # Canonicalize the pathname of ld
  27881. - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  27882. - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  27883. - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  27884. - done
  27885. - test -z "$LD" && LD="$ac_prog"
  27886. - ;;
  27887. - "")
  27888. - # If it fails, then pretend we aren't using GCC.
  27889. - ac_prog=ld
  27890. - ;;
  27891. - *)
  27892. - # If it is relative, then search for the first ld in PATH.
  27893. - with_gnu_ld=unknown
  27894. - ;;
  27895. - esac
  27896. -elif test "$with_gnu_ld" = yes; then
  27897. - { echo "$as_me:$LINENO: checking for GNU ld" >&5
  27898. -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  27899. -else
  27900. - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  27901. -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  27902. -fi
  27903. -if test "${lt_cv_path_LD+set}" = set; then
  27904. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27905. -else
  27906. - if test -z "$LD"; then
  27907. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  27908. - for ac_dir in $PATH; do
  27909. - IFS="$lt_save_ifs"
  27910. - test -z "$ac_dir" && ac_dir=.
  27911. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  27912. - lt_cv_path_LD="$ac_dir/$ac_prog"
  27913. - # Check to see if the program is GNU ld. I'd rather use --version,
  27914. - # but apparently some variants of GNU ld only accept -v.
  27915. - # Break only if it was the GNU/non-GNU ld that we prefer.
  27916. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  27917. - *GNU* | *'with BFD'*)
  27918. - test "$with_gnu_ld" != no && break
  27919. - ;;
  27920. - *)
  27921. - test "$with_gnu_ld" != yes && break
  27922. - ;;
  27923. - esac
  27924. - fi
  27925. - done
  27926. - IFS="$lt_save_ifs"
  27927. -else
  27928. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  27929. -fi
  27930. -fi
  27931. -
  27932. -LD="$lt_cv_path_LD"
  27933. -if test -n "$LD"; then
  27934. - { echo "$as_me:$LINENO: result: $LD" >&5
  27935. -echo "${ECHO_T}$LD" >&6; }
  27936. -else
  27937. - { echo "$as_me:$LINENO: result: no" >&5
  27938. -echo "${ECHO_T}no" >&6; }
  27939. -fi
  27940. -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  27941. -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  27942. - { (exit 1); exit 1; }; }
  27943. -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  27944. -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  27945. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  27946. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27947. -else
  27948. - # I'd rather use --version here, but apparently some GNU lds only accept -v.
  27949. -case `$LD -v 2>&1 </dev/null` in
  27950. -*GNU* | *'with BFD'*)
  27951. - lt_cv_prog_gnu_ld=yes
  27952. - ;;
  27953. -*)
  27954. - lt_cv_prog_gnu_ld=no
  27955. - ;;
  27956. -esac
  27957. -fi
  27958. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  27959. -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  27960. -with_gnu_ld=$lt_cv_prog_gnu_ld
  27961. -
  27962. -
  27963. -
  27964. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  27965. - # archiving commands below assume that GNU ld is being used.
  27966. - if test "$with_gnu_ld" = yes; then
  27967. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  27968. - 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'
  27969. -
  27970. - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  27971. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  27972. -
  27973. - # If archive_cmds runs LD, not CC, wlarc should be empty
  27974. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  27975. - # investigate it a little bit more. (MM)
  27976. - wlarc='${wl}'
  27977. -
  27978. - # ancient GNU ld didn't support --whole-archive et. al.
  27979. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
  27980. - grep 'no-whole-archive' > /dev/null; then
  27981. - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  27982. - else
  27983. - whole_archive_flag_spec_CXX=
  27984. - fi
  27985. - else
  27986. - with_gnu_ld=no
  27987. - wlarc=
  27988. -
  27989. - # A generic and very simple default shared library creation
  27990. - # command for GNU C++ for the case where it uses the native
  27991. - # linker, instead of GNU ld. If possible, this setting should
  27992. - # overridden to take advantage of the native linker features on
  27993. - # the platform it is being used on.
  27994. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  27995. - fi
  27996. -
  27997. - # Commands to make compiler produce verbose output that lists
  27998. - # what "hidden" libraries, object files and flags are used when
  27999. - # linking a shared library.
  28000. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  28001. -
  28002. -else
  28003. - GXX=no
  28004. - with_gnu_ld=no
  28005. - wlarc=
  28006. -fi
  28007. -
  28008. -# PORTME: fill in a description of your system's C++ link characteristics
  28009. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  28010. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  28011. -ld_shlibs_CXX=yes
  28012. -case $host_os in
  28013. - aix3*)
  28014. - # FIXME: insert proper C++ library support
  28015. - ld_shlibs_CXX=no
  28016. - ;;
  28017. - aix[4-9]*)
  28018. - if test "$host_cpu" = ia64; then
  28019. - # On IA64, the linker does run time linking by default, so we don't
  28020. - # have to do anything special.
  28021. - aix_use_runtimelinking=no
  28022. - exp_sym_flag='-Bexport'
  28023. - no_entry_flag=""
  28024. - else
  28025. - aix_use_runtimelinking=no
  28026. -
  28027. - # Test if we are trying to use run time linking or normal
  28028. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  28029. - # need to do runtime linking.
  28030. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  28031. - for ld_flag in $LDFLAGS; do
  28032. - case $ld_flag in
  28033. - *-brtl*)
  28034. - aix_use_runtimelinking=yes
  28035. - break
  28036. - ;;
  28037. - esac
  28038. - done
  28039. - ;;
  28040. - esac
  28041. -
  28042. - exp_sym_flag='-bexport'
  28043. - no_entry_flag='-bnoentry'
  28044. - fi
  28045. -
  28046. - # When large executables or shared objects are built, AIX ld can
  28047. - # have problems creating the table of contents. If linking a library
  28048. - # or program results in "error TOC overflow" add -mminimal-toc to
  28049. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  28050. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  28051. -
  28052. - archive_cmds_CXX=''
  28053. - hardcode_direct_CXX=yes
  28054. - hardcode_libdir_separator_CXX=':'
  28055. - link_all_deplibs_CXX=yes
  28056. -
  28057. - if test "$GXX" = yes; then
  28058. - case $host_os in aix4.[012]|aix4.[012].*)
  28059. - # We only want to do this on AIX 4.2 and lower, the check
  28060. - # below for broken collect2 doesn't work under 4.3+
  28061. - collect2name=`${CC} -print-prog-name=collect2`
  28062. - if test -f "$collect2name" && \
  28063. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  28064. - then
  28065. - # We have reworked collect2
  28066. - :
  28067. - else
  28068. - # We have old collect2
  28069. - hardcode_direct_CXX=unsupported
  28070. - # It fails to find uninstalled libraries when the uninstalled
  28071. - # path is not listed in the libpath. Setting hardcode_minus_L
  28072. - # to unsupported forces relinking
  28073. - hardcode_minus_L_CXX=yes
  28074. - hardcode_libdir_flag_spec_CXX='-L$libdir'
  28075. - hardcode_libdir_separator_CXX=
  28076. - fi
  28077. - ;;
  28078. - esac
  28079. - shared_flag='-shared'
  28080. - if test "$aix_use_runtimelinking" = yes; then
  28081. - shared_flag="$shared_flag "'${wl}-G'
  28082. - fi
  28083. - else
  28084. - # not using gcc
  28085. - if test "$host_cpu" = ia64; then
  28086. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  28087. - # chokes on -Wl,-G. The following line is correct:
  28088. - shared_flag='-G'
  28089. - else
  28090. - if test "$aix_use_runtimelinking" = yes; then
  28091. - shared_flag='${wl}-G'
  28092. - else
  28093. - shared_flag='${wl}-bM:SRE'
  28094. - fi
  28095. - fi
  28096. - fi
  28097. -
  28098. - # It seems that -bexpall does not export symbols beginning with
  28099. - # underscore (_), so it is better to generate a list of symbols to export.
  28100. - always_export_symbols_CXX=yes
  28101. - if test "$aix_use_runtimelinking" = yes; then
  28102. - # Warning - without using the other runtime loading flags (-brtl),
  28103. - # -berok will link without error, but may produce a broken library.
  28104. - allow_undefined_flag_CXX='-berok'
  28105. - # Determine the default libpath from the value encoded in an empty executable.
  28106. - cat >conftest.$ac_ext <<_ACEOF
  28107. -/* confdefs.h. */
  28108. -_ACEOF
  28109. -cat confdefs.h >>conftest.$ac_ext
  28110. -cat >>conftest.$ac_ext <<_ACEOF
  28111. -/* end confdefs.h. */
  28112. -
  28113. -int
  28114. -main ()
  28115. -{
  28116. -
  28117. - ;
  28118. - return 0;
  28119. -}
  28120. -_ACEOF
  28121. -rm -f conftest.$ac_objext conftest$ac_exeext
  28122. -if { (ac_try="$ac_link"
  28123. -case "(($ac_try" in
  28124. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  28125. - *) ac_try_echo=$ac_try;;
  28126. -esac
  28127. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  28128. - (eval "$ac_link") 2>conftest.er1
  28129. - ac_status=$?
  28130. - grep -v '^ *+' conftest.er1 >conftest.err
  28131. - rm -f conftest.er1
  28132. - cat conftest.err >&5
  28133. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  28134. - (exit $ac_status); } && {
  28135. - test -z "$ac_cxx_werror_flag" ||
  28136. - test ! -s conftest.err
  28137. - } && test -s conftest$ac_exeext &&
  28138. - $as_test_x conftest$ac_exeext; then
  28139. -
  28140. -lt_aix_libpath_sed='
  28141. - /Import File Strings/,/^$/ {
  28142. - /^0/ {
  28143. - s/^0 *\(.*\)$/\1/
  28144. - p
  28145. - }
  28146. - }'
  28147. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  28148. -# Check for a 64-bit object if we didn't find anything.
  28149. -if test -z "$aix_libpath"; then
  28150. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  28151. -fi
  28152. -else
  28153. - echo "$as_me: failed program was:" >&5
  28154. -sed 's/^/| /' conftest.$ac_ext >&5
  28155. -
  28156. -
  28157. -fi
  28158. -
  28159. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  28160. - conftest$ac_exeext conftest.$ac_ext
  28161. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  28162. -
  28163. - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  28164. -
  28165. - 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"
  28166. - else
  28167. - if test "$host_cpu" = ia64; then
  28168. - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  28169. - allow_undefined_flag_CXX="-z nodefs"
  28170. - 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"
  28171. - else
  28172. - # Determine the default libpath from the value encoded in an empty executable.
  28173. - cat >conftest.$ac_ext <<_ACEOF
  28174. -/* confdefs.h. */
  28175. -_ACEOF
  28176. -cat confdefs.h >>conftest.$ac_ext
  28177. -cat >>conftest.$ac_ext <<_ACEOF
  28178. -/* end confdefs.h. */
  28179. -
  28180. -int
  28181. -main ()
  28182. -{
  28183. -
  28184. - ;
  28185. - return 0;
  28186. -}
  28187. -_ACEOF
  28188. -rm -f conftest.$ac_objext conftest$ac_exeext
  28189. -if { (ac_try="$ac_link"
  28190. -case "(($ac_try" in
  28191. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  28192. - *) ac_try_echo=$ac_try;;
  28193. -esac
  28194. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  28195. - (eval "$ac_link") 2>conftest.er1
  28196. - ac_status=$?
  28197. - grep -v '^ *+' conftest.er1 >conftest.err
  28198. - rm -f conftest.er1
  28199. - cat conftest.err >&5
  28200. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  28201. - (exit $ac_status); } && {
  28202. - test -z "$ac_cxx_werror_flag" ||
  28203. - test ! -s conftest.err
  28204. - } && test -s conftest$ac_exeext &&
  28205. - $as_test_x conftest$ac_exeext; then
  28206. -
  28207. -lt_aix_libpath_sed='
  28208. - /Import File Strings/,/^$/ {
  28209. - /^0/ {
  28210. - s/^0 *\(.*\)$/\1/
  28211. - p
  28212. - }
  28213. - }'
  28214. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  28215. -# Check for a 64-bit object if we didn't find anything.
  28216. -if test -z "$aix_libpath"; then
  28217. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  28218. -fi
  28219. -else
  28220. - echo "$as_me: failed program was:" >&5
  28221. -sed 's/^/| /' conftest.$ac_ext >&5
  28222. -
  28223. -
  28224. -fi
  28225. -
  28226. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  28227. - conftest$ac_exeext conftest.$ac_ext
  28228. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  28229. -
  28230. - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  28231. - # Warning - without using the other run time loading flags,
  28232. - # -berok will link without error, but may produce a broken library.
  28233. - no_undefined_flag_CXX=' ${wl}-bernotok'
  28234. - allow_undefined_flag_CXX=' ${wl}-berok'
  28235. - # Exported symbols can be pulled into shared objects from archives
  28236. - whole_archive_flag_spec_CXX='$convenience'
  28237. - archive_cmds_need_lc_CXX=yes
  28238. - # This is similar to how AIX traditionally builds its shared libraries.
  28239. - 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'
  28240. - fi
  28241. - fi
  28242. - ;;
  28243. -
  28244. - beos*)
  28245. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  28246. - allow_undefined_flag_CXX=unsupported
  28247. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  28248. - # support --undefined. This deserves some investigation. FIXME
  28249. - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  28250. - else
  28251. - ld_shlibs_CXX=no
  28252. - fi
  28253. - ;;
  28254. -
  28255. - chorus*)
  28256. - case $cc_basename in
  28257. - *)
  28258. - # FIXME: insert proper C++ library support
  28259. - ld_shlibs_CXX=no
  28260. - ;;
  28261. - esac
  28262. - ;;
  28263. -
  28264. - cygwin* | mingw* | pw32*)
  28265. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  28266. - # as there is no search path for DLLs.
  28267. - hardcode_libdir_flag_spec_CXX='-L$libdir'
  28268. - allow_undefined_flag_CXX=unsupported
  28269. - always_export_symbols_CXX=no
  28270. - enable_shared_with_static_runtimes_CXX=yes
  28271. -
  28272. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  28273. - 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'
  28274. - # If the export-symbols file already is a .def file (1st line
  28275. - # is EXPORTS), use it as is; otherwise, prepend...
  28276. - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  28277. - cp $export_symbols $output_objdir/$soname.def;
  28278. - else
  28279. - echo EXPORTS > $output_objdir/$soname.def;
  28280. - cat $export_symbols >> $output_objdir/$soname.def;
  28281. - fi~
  28282. - $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'
  28283. - else
  28284. - ld_shlibs_CXX=no
  28285. - fi
  28286. - ;;
  28287. - darwin* | rhapsody*)
  28288. - archive_cmds_need_lc_CXX=no
  28289. - hardcode_direct_CXX=no
  28290. - hardcode_automatic_CXX=yes
  28291. - hardcode_shlibpath_var_CXX=unsupported
  28292. - whole_archive_flag_spec_CXX=''
  28293. - link_all_deplibs_CXX=yes
  28294. - allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  28295. - if test "$GXX" = yes ; then
  28296. - output_verbose_link_cmd='echo'
  28297. - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  28298. - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  28299. - archive_expsym_cmds_CXX="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}"
  28300. - module_expsym_cmds_CXX="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}"
  28301. - if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  28302. - 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${_lt_dsymutil}"
  28303. - archive_expsym_cmds_CXX="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}"
  28304. - fi
  28305. - else
  28306. - case $cc_basename in
  28307. - xlc*)
  28308. - output_verbose_link_cmd='echo'
  28309. - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  28310. - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  28311. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  28312. - 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  28313. - 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}'
  28314. - ;;
  28315. - *)
  28316. - ld_shlibs_CXX=no
  28317. - ;;
  28318. - esac
  28319. - fi
  28320. - ;;
  28321. -
  28322. - dgux*)
  28323. - case $cc_basename in
  28324. - ec++*)
  28325. - # FIXME: insert proper C++ library support
  28326. - ld_shlibs_CXX=no
  28327. - ;;
  28328. - ghcx*)
  28329. - # Green Hills C++ Compiler
  28330. - # FIXME: insert proper C++ library support
  28331. - ld_shlibs_CXX=no
  28332. - ;;
  28333. - *)
  28334. - # FIXME: insert proper C++ library support
  28335. - ld_shlibs_CXX=no
  28336. - ;;
  28337. - esac
  28338. - ;;
  28339. - freebsd[12]*)
  28340. - # C++ shared libraries reported to be fairly broken before switch to ELF
  28341. - ld_shlibs_CXX=no
  28342. - ;;
  28343. - freebsd-elf*)
  28344. - archive_cmds_need_lc_CXX=no
  28345. - ;;
  28346. - freebsd* | dragonfly*)
  28347. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  28348. - # conventions
  28349. - ld_shlibs_CXX=yes
  28350. - ;;
  28351. - gnu*)
  28352. - ;;
  28353. - hpux9*)
  28354. - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  28355. - hardcode_libdir_separator_CXX=:
  28356. - export_dynamic_flag_spec_CXX='${wl}-E'
  28357. - hardcode_direct_CXX=yes
  28358. - hardcode_minus_L_CXX=yes # Not in the search PATH,
  28359. - # but as the default
  28360. - # location of the library.
  28361. -
  28362. - case $cc_basename in
  28363. - CC*)
  28364. - # FIXME: insert proper C++ library support
  28365. - ld_shlibs_CXX=no
  28366. - ;;
  28367. - aCC*)
  28368. - 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'
  28369. - # Commands to make compiler produce verbose output that lists
  28370. - # what "hidden" libraries, object files and flags are used when
  28371. - # linking a shared library.
  28372. - #
  28373. - # There doesn't appear to be a way to prevent this compiler from
  28374. - # explicitly linking system object files so we need to strip them
  28375. - # from the output so that they don't get included in the library
  28376. - # dependencies.
  28377. - 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'
  28378. - ;;
  28379. - *)
  28380. - if test "$GXX" = yes; then
  28381. - 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'
  28382. - else
  28383. - # FIXME: insert proper C++ library support
  28384. - ld_shlibs_CXX=no
  28385. - fi
  28386. - ;;
  28387. - esac
  28388. - ;;
  28389. - hpux10*|hpux11*)
  28390. - if test $with_gnu_ld = no; then
  28391. - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  28392. - hardcode_libdir_separator_CXX=:
  28393. -
  28394. - case $host_cpu in
  28395. - hppa*64*|ia64*) ;;
  28396. - *)
  28397. - export_dynamic_flag_spec_CXX='${wl}-E'
  28398. - ;;
  28399. - esac
  28400. - fi
  28401. - case $host_cpu in
  28402. - hppa*64*|ia64*)
  28403. - hardcode_direct_CXX=no
  28404. - hardcode_shlibpath_var_CXX=no
  28405. - ;;
  28406. - *)
  28407. - hardcode_direct_CXX=yes
  28408. - hardcode_minus_L_CXX=yes # Not in the search PATH,
  28409. - # but as the default
  28410. - # location of the library.
  28411. - ;;
  28412. - esac
  28413. -
  28414. - case $cc_basename in
  28415. - CC*)
  28416. - # FIXME: insert proper C++ library support
  28417. - ld_shlibs_CXX=no
  28418. - ;;
  28419. - aCC*)
  28420. - case $host_cpu in
  28421. - hppa*64*)
  28422. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  28423. - ;;
  28424. - ia64*)
  28425. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  28426. - ;;
  28427. - *)
  28428. - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  28429. - ;;
  28430. - esac
  28431. - # Commands to make compiler produce verbose output that lists
  28432. - # what "hidden" libraries, object files and flags are used when
  28433. - # linking a shared library.
  28434. - #
  28435. - # There doesn't appear to be a way to prevent this compiler from
  28436. - # explicitly linking system object files so we need to strip them
  28437. - # from the output so that they don't get included in the library
  28438. - # dependencies.
  28439. - 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'
  28440. - ;;
  28441. - *)
  28442. - if test "$GXX" = yes; then
  28443. - if test $with_gnu_ld = no; then
  28444. - case $host_cpu in
  28445. - hppa*64*)
  28446. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  28447. - ;;
  28448. - ia64*)
  28449. - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  28450. - ;;
  28451. - *)
  28452. - 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'
  28453. - ;;
  28454. - esac
  28455. - fi
  28456. - else
  28457. - # FIXME: insert proper C++ library support
  28458. - ld_shlibs_CXX=no
  28459. - fi
  28460. - ;;
  28461. - esac
  28462. - ;;
  28463. - interix[3-9]*)
  28464. - hardcode_direct_CXX=no
  28465. - hardcode_shlibpath_var_CXX=no
  28466. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  28467. - export_dynamic_flag_spec_CXX='${wl}-E'
  28468. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  28469. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  28470. - # default) and relocated if they conflict, which is a slow very memory
  28471. - # consuming and fragmenting process. To avoid this, we pick a random,
  28472. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  28473. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  28474. - 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'
  28475. - 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'
  28476. - ;;
  28477. - irix5* | irix6*)
  28478. - case $cc_basename in
  28479. - CC*)
  28480. - # SGI C++
  28481. - 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'
  28482. -
  28483. - # Archives containing C++ object files must be created using
  28484. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  28485. - # necessary to make sure instantiated templates are included
  28486. - # in the archive.
  28487. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
  28488. - ;;
  28489. - *)
  28490. - if test "$GXX" = yes; then
  28491. - if test "$with_gnu_ld" = no; then
  28492. - 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'
  28493. - else
  28494. - 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'
  28495. - fi
  28496. - fi
  28497. - link_all_deplibs_CXX=yes
  28498. - ;;
  28499. - esac
  28500. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  28501. - hardcode_libdir_separator_CXX=:
  28502. - ;;
  28503. - linux* | k*bsd*-gnu)
  28504. - case $cc_basename in
  28505. - KCC*)
  28506. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  28507. -
  28508. - # KCC will only create a shared library if the output file
  28509. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  28510. - # to its proper name (with version) after linking.
  28511. - 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'
  28512. - 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'
  28513. - # Commands to make compiler produce verbose output that lists
  28514. - # what "hidden" libraries, object files and flags are used when
  28515. - # linking a shared library.
  28516. - #
  28517. - # There doesn't appear to be a way to prevent this compiler from
  28518. - # explicitly linking system object files so we need to strip them
  28519. - # from the output so that they don't get included in the library
  28520. - # dependencies.
  28521. - 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'
  28522. -
  28523. - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
  28524. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  28525. -
  28526. - # Archives containing C++ object files must be created using
  28527. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  28528. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  28529. - ;;
  28530. - icpc*)
  28531. - # Intel C++
  28532. - with_gnu_ld=yes
  28533. - # version 8.0 and above of icpc choke on multiply defined symbols
  28534. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  28535. - # earlier do not add the objects themselves.
  28536. - case `$CC -V 2>&1` in
  28537. - *"Version 7."*)
  28538. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  28539. - 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'
  28540. - ;;
  28541. - *) # Version 8.0 or newer
  28542. - tmp_idyn=
  28543. - case $host_cpu in
  28544. - ia64*) tmp_idyn=' -i_dynamic';;
  28545. - esac
  28546. - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  28547. - 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'
  28548. - ;;
  28549. - esac
  28550. - archive_cmds_need_lc_CXX=no
  28551. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  28552. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  28553. - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  28554. - ;;
  28555. - pgCC* | pgcpp*)
  28556. - # Portland Group C++ compiler
  28557. - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  28558. - 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'
  28559. -
  28560. - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
  28561. - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  28562. - 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'
  28563. - ;;
  28564. - cxx*)
  28565. - # Compaq C++
  28566. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  28567. - 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'
  28568. -
  28569. - runpath_var=LD_RUN_PATH
  28570. - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  28571. - hardcode_libdir_separator_CXX=:
  28572. -
  28573. - # Commands to make compiler produce verbose output that lists
  28574. - # what "hidden" libraries, object files and flags are used when
  28575. - # linking a shared library.
  28576. - #
  28577. - # There doesn't appear to be a way to prevent this compiler from
  28578. - # explicitly linking system object files so we need to strip them
  28579. - # from the output so that they don't get included in the library
  28580. - # dependencies.
  28581. - 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'
  28582. - ;;
  28583. - *)
  28584. - case `$CC -V 2>&1 | sed 5q` in
  28585. - *Sun\ C*)
  28586. - # Sun C++ 5.9
  28587. - no_undefined_flag_CXX=' -zdefs'
  28588. - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  28589. - archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  28590. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  28591. - whole_archive_flag_spec_CXX='${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'
  28592. -
  28593. - # Not sure whether something based on
  28594. - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  28595. - # would be better.
  28596. - output_verbose_link_cmd='echo'
  28597. -
  28598. - # Archives containing C++ object files must be created using
  28599. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  28600. - # necessary to make sure instantiated templates are included
  28601. - # in the archive.
  28602. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  28603. - ;;
  28604. - esac
  28605. - ;;
  28606. - esac
  28607. - ;;
  28608. - lynxos*)
  28609. - # FIXME: insert proper C++ library support
  28610. - ld_shlibs_CXX=no
  28611. - ;;
  28612. - m88k*)
  28613. - # FIXME: insert proper C++ library support
  28614. - ld_shlibs_CXX=no
  28615. - ;;
  28616. - mvs*)
  28617. - case $cc_basename in
  28618. - cxx*)
  28619. - # FIXME: insert proper C++ library support
  28620. - ld_shlibs_CXX=no
  28621. - ;;
  28622. - *)
  28623. - # FIXME: insert proper C++ library support
  28624. - ld_shlibs_CXX=no
  28625. - ;;
  28626. - esac
  28627. - ;;
  28628. - netbsd* | netbsdelf*-gnu)
  28629. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  28630. - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  28631. - wlarc=
  28632. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  28633. - hardcode_direct_CXX=yes
  28634. - hardcode_shlibpath_var_CXX=no
  28635. - fi
  28636. - # Workaround some broken pre-1.5 toolchains
  28637. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  28638. - ;;
  28639. - openbsd2*)
  28640. - # C++ shared libraries are fairly broken
  28641. - ld_shlibs_CXX=no
  28642. - ;;
  28643. - openbsd*)
  28644. - if test -f /usr/libexec/ld.so; then
  28645. - hardcode_direct_CXX=yes
  28646. - hardcode_shlibpath_var_CXX=no
  28647. - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  28648. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  28649. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  28650. - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  28651. - export_dynamic_flag_spec_CXX='${wl}-E'
  28652. - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  28653. - fi
  28654. - output_verbose_link_cmd='echo'
  28655. - else
  28656. - ld_shlibs_CXX=no
  28657. - fi
  28658. - ;;
  28659. - osf3*)
  28660. - case $cc_basename in
  28661. - KCC*)
  28662. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  28663. -
  28664. - # KCC will only create a shared library if the output file
  28665. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  28666. - # to its proper name (with version) after linking.
  28667. - 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'
  28668. -
  28669. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  28670. - hardcode_libdir_separator_CXX=:
  28671. -
  28672. - # Archives containing C++ object files must be created using
  28673. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  28674. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  28675. -
  28676. - ;;
  28677. - RCC*)
  28678. - # Rational C++ 2.4.1
  28679. - # FIXME: insert proper C++ library support
  28680. - ld_shlibs_CXX=no
  28681. - ;;
  28682. - cxx*)
  28683. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  28684. - 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'
  28685. -
  28686. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  28687. - hardcode_libdir_separator_CXX=:
  28688. -
  28689. - # Commands to make compiler produce verbose output that lists
  28690. - # what "hidden" libraries, object files and flags are used when
  28691. - # linking a shared library.
  28692. - #
  28693. - # There doesn't appear to be a way to prevent this compiler from
  28694. - # explicitly linking system object files so we need to strip them
  28695. - # from the output so that they don't get included in the library
  28696. - # dependencies.
  28697. - 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'
  28698. - ;;
  28699. - *)
  28700. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  28701. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  28702. - 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'
  28703. -
  28704. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  28705. - hardcode_libdir_separator_CXX=:
  28706. -
  28707. - # Commands to make compiler produce verbose output that lists
  28708. - # what "hidden" libraries, object files and flags are used when
  28709. - # linking a shared library.
  28710. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  28711. -
  28712. - else
  28713. - # FIXME: insert proper C++ library support
  28714. - ld_shlibs_CXX=no
  28715. - fi
  28716. - ;;
  28717. - esac
  28718. - ;;
  28719. - osf4* | osf5*)
  28720. - case $cc_basename in
  28721. - KCC*)
  28722. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  28723. -
  28724. - # KCC will only create a shared library if the output file
  28725. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  28726. - # to its proper name (with version) after linking.
  28727. - 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'
  28728. -
  28729. - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  28730. - hardcode_libdir_separator_CXX=:
  28731. -
  28732. - # Archives containing C++ object files must be created using
  28733. - # the KAI C++ compiler.
  28734. - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
  28735. - ;;
  28736. - RCC*)
  28737. - # Rational C++ 2.4.1
  28738. - # FIXME: insert proper C++ library support
  28739. - ld_shlibs_CXX=no
  28740. - ;;
  28741. - cxx*)
  28742. - allow_undefined_flag_CXX=' -expect_unresolved \*'
  28743. - 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'
  28744. - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  28745. - echo "-hidden">> $lib.exp~
  28746. - $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~
  28747. - $rm $lib.exp'
  28748. -
  28749. - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
  28750. - hardcode_libdir_separator_CXX=:
  28751. -
  28752. - # Commands to make compiler produce verbose output that lists
  28753. - # what "hidden" libraries, object files and flags are used when
  28754. - # linking a shared library.
  28755. - #
  28756. - # There doesn't appear to be a way to prevent this compiler from
  28757. - # explicitly linking system object files so we need to strip them
  28758. - # from the output so that they don't get included in the library
  28759. - # dependencies.
  28760. - 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'
  28761. - ;;
  28762. - *)
  28763. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  28764. - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  28765. - 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'
  28766. -
  28767. - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  28768. - hardcode_libdir_separator_CXX=:
  28769. -
  28770. - # Commands to make compiler produce verbose output that lists
  28771. - # what "hidden" libraries, object files and flags are used when
  28772. - # linking a shared library.
  28773. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
  28774. -
  28775. - else
  28776. - # FIXME: insert proper C++ library support
  28777. - ld_shlibs_CXX=no
  28778. - fi
  28779. - ;;
  28780. - esac
  28781. - ;;
  28782. - psos*)
  28783. - # FIXME: insert proper C++ library support
  28784. - ld_shlibs_CXX=no
  28785. - ;;
  28786. - sunos4*)
  28787. - case $cc_basename in
  28788. - CC*)
  28789. - # Sun C++ 4.x
  28790. - # FIXME: insert proper C++ library support
  28791. - ld_shlibs_CXX=no
  28792. - ;;
  28793. - lcc*)
  28794. - # Lucid
  28795. - # FIXME: insert proper C++ library support
  28796. - ld_shlibs_CXX=no
  28797. - ;;
  28798. - *)
  28799. - # FIXME: insert proper C++ library support
  28800. - ld_shlibs_CXX=no
  28801. - ;;
  28802. - esac
  28803. - ;;
  28804. - solaris*)
  28805. - case $cc_basename in
  28806. - CC*)
  28807. - # Sun C++ 4.2, 5.x and Centerline C++
  28808. - archive_cmds_need_lc_CXX=yes
  28809. - no_undefined_flag_CXX=' -zdefs'
  28810. - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  28811. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  28812. - $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'
  28813. -
  28814. - hardcode_libdir_flag_spec_CXX='-R$libdir'
  28815. - hardcode_shlibpath_var_CXX=no
  28816. - case $host_os in
  28817. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  28818. - *)
  28819. - # The compiler driver will combine and reorder linker options,
  28820. - # but understands `-z linker_flag'.
  28821. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  28822. - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
  28823. - ;;
  28824. - esac
  28825. - link_all_deplibs_CXX=yes
  28826. -
  28827. - output_verbose_link_cmd='echo'
  28828. -
  28829. - # Archives containing C++ object files must be created using
  28830. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  28831. - # necessary to make sure instantiated templates are included
  28832. - # in the archive.
  28833. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  28834. - ;;
  28835. - gcx*)
  28836. - # Green Hills C++ Compiler
  28837. - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  28838. -
  28839. - # The C++ compiler must be used to create the archive.
  28840. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  28841. - ;;
  28842. - *)
  28843. - # GNU C++ compiler with Solaris linker
  28844. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  28845. - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
  28846. - if $CC --version | grep -v '^2\.7' > /dev/null; then
  28847. - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  28848. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  28849. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  28850. -
  28851. - # Commands to make compiler produce verbose output that lists
  28852. - # what "hidden" libraries, object files and flags are used when
  28853. - # linking a shared library.
  28854. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  28855. - else
  28856. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  28857. - # platform.
  28858. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  28859. - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  28860. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
  28861. -
  28862. - # Commands to make compiler produce verbose output that lists
  28863. - # what "hidden" libraries, object files and flags are used when
  28864. - # linking a shared library.
  28865. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
  28866. - fi
  28867. -
  28868. - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
  28869. - case $host_os in
  28870. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  28871. - *)
  28872. - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  28873. - ;;
  28874. - esac
  28875. - fi
  28876. - ;;
  28877. - esac
  28878. - ;;
  28879. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  28880. - no_undefined_flag_CXX='${wl}-z,text'
  28881. - archive_cmds_need_lc_CXX=no
  28882. - hardcode_shlibpath_var_CXX=no
  28883. - runpath_var='LD_RUN_PATH'
  28884. -
  28885. - case $cc_basename in
  28886. - CC*)
  28887. - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  28888. - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  28889. - ;;
  28890. - *)
  28891. - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  28892. - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  28893. - ;;
  28894. - esac
  28895. - ;;
  28896. - sysv5* | sco3.2v5* | sco5v6*)
  28897. - # Note: We can NOT use -z defs as we might desire, because we do not
  28898. - # link with -lc, and that would cause any symbols used from libc to
  28899. - # always be unresolved, which means just about no library would
  28900. - # ever link correctly. If we're not using GNU ld we use -z text
  28901. - # though, which does catch some bad symbols but isn't as heavy-handed
  28902. - # as -z defs.
  28903. - # For security reasons, it is highly recommended that you always
  28904. - # use absolute paths for naming shared libraries, and exclude the
  28905. - # DT_RUNPATH tag from executables and libraries. But doing so
  28906. - # requires that you compile everything twice, which is a pain.
  28907. - # So that behaviour is only enabled if SCOABSPATH is set to a
  28908. - # non-empty value in the environment. Most likely only useful for
  28909. - # creating official distributions of packages.
  28910. - # This is a hack until libtool officially supports absolute path
  28911. - # names for shared libraries.
  28912. - no_undefined_flag_CXX='${wl}-z,text'
  28913. - allow_undefined_flag_CXX='${wl}-z,nodefs'
  28914. - archive_cmds_need_lc_CXX=no
  28915. - hardcode_shlibpath_var_CXX=no
  28916. - hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  28917. - hardcode_libdir_separator_CXX=':'
  28918. - link_all_deplibs_CXX=yes
  28919. - export_dynamic_flag_spec_CXX='${wl}-Bexport'
  28920. - runpath_var='LD_RUN_PATH'
  28921. -
  28922. - case $cc_basename in
  28923. - CC*)
  28924. - archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  28925. - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  28926. - ;;
  28927. - *)
  28928. - archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  28929. - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  28930. - ;;
  28931. - esac
  28932. - ;;
  28933. - tandem*)
  28934. - case $cc_basename in
  28935. - NCC*)
  28936. - # NonStop-UX NCC 3.20
  28937. - # FIXME: insert proper C++ library support
  28938. - ld_shlibs_CXX=no
  28939. - ;;
  28940. - *)
  28941. - # FIXME: insert proper C++ library support
  28942. - ld_shlibs_CXX=no
  28943. - ;;
  28944. - esac
  28945. - ;;
  28946. - vxworks*)
  28947. - # FIXME: insert proper C++ library support
  28948. - ld_shlibs_CXX=no
  28949. - ;;
  28950. - *)
  28951. - # FIXME: insert proper C++ library support
  28952. - ld_shlibs_CXX=no
  28953. - ;;
  28954. -esac
  28955. -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  28956. -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
  28957. -test "$ld_shlibs_CXX" = no && can_build_shared=no
  28958. -
  28959. -GCC_CXX="$GXX"
  28960. -LD_CXX="$LD"
  28961. -
  28962. -cat > conftest.$ac_ext <<EOF
  28963. -class Foo
  28964. -{
  28965. -public:
  28966. - Foo (void) { a = 0; }
  28967. -private:
  28968. - int a;
  28969. -};
  28970. -EOF
  28971. -
  28972. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  28973. - (eval $ac_compile) 2>&5
  28974. - ac_status=$?
  28975. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  28976. - (exit $ac_status); }; then
  28977. - # Parse the compiler output and extract the necessary
  28978. - # objects, libraries and library flags.
  28979. -
  28980. - # Sentinel used to keep track of whether or not we are before
  28981. - # the conftest object file.
  28982. - pre_test_object_deps_done=no
  28983. -
  28984. - # The `*' in the case matches for architectures that use `case' in
  28985. - # $output_verbose_cmd can trigger glob expansion during the loop
  28986. - # eval without this substitution.
  28987. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
  28988. -
  28989. - for p in `eval $output_verbose_link_cmd`; do
  28990. - case $p in
  28991. -
  28992. - -L* | -R* | -l*)
  28993. - # Some compilers place space between "-{L,R}" and the path.
  28994. - # Remove the space.
  28995. - if test $p = "-L" \
  28996. - || test $p = "-R"; then
  28997. - prev=$p
  28998. - continue
  28999. - else
  29000. - prev=
  29001. - fi
  29002. -
  29003. - if test "$pre_test_object_deps_done" = no; then
  29004. - case $p in
  29005. - -L* | -R*)
  29006. - # Internal compiler library paths should come after those
  29007. - # provided the user. The postdeps already come after the
  29008. - # user supplied libs so there is no need to process them.
  29009. - if test -z "$compiler_lib_search_path_CXX"; then
  29010. - compiler_lib_search_path_CXX="${prev}${p}"
  29011. - else
  29012. - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
  29013. - fi
  29014. - ;;
  29015. - # The "-l" case would never come before the object being
  29016. - # linked, so don't bother handling this case.
  29017. - esac
  29018. - else
  29019. - if test -z "$postdeps_CXX"; then
  29020. - postdeps_CXX="${prev}${p}"
  29021. - else
  29022. - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
  29023. - fi
  29024. - fi
  29025. - ;;
  29026. -
  29027. - *.$objext)
  29028. - # This assumes that the test object file only shows up
  29029. - # once in the compiler output.
  29030. - if test "$p" = "conftest.$objext"; then
  29031. - pre_test_object_deps_done=yes
  29032. - continue
  29033. - fi
  29034. -
  29035. - if test "$pre_test_object_deps_done" = no; then
  29036. - if test -z "$predep_objects_CXX"; then
  29037. - predep_objects_CXX="$p"
  29038. - else
  29039. - predep_objects_CXX="$predep_objects_CXX $p"
  29040. - fi
  29041. - else
  29042. - if test -z "$postdep_objects_CXX"; then
  29043. - postdep_objects_CXX="$p"
  29044. - else
  29045. - postdep_objects_CXX="$postdep_objects_CXX $p"
  29046. - fi
  29047. - fi
  29048. - ;;
  29049. -
  29050. - *) ;; # Ignore the rest.
  29051. -
  29052. - esac
  29053. - done
  29054. -
  29055. - # Clean up.
  29056. - rm -f a.out a.exe
  29057. -else
  29058. - echo "libtool.m4: error: problem compiling CXX test program"
  29059. -fi
  29060. -
  29061. -$rm -f confest.$objext
  29062. -
  29063. -compiler_lib_search_dirs_CXX=
  29064. -if test -n "$compiler_lib_search_path_CXX"; then
  29065. - compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  29066. -fi
  29067. -
  29068. -# PORTME: override above test on systems where it is broken
  29069. -case $host_os in
  29070. -interix[3-9]*)
  29071. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  29072. - # hack all around it, let's just trust "g++" to DTRT.
  29073. - predep_objects_CXX=
  29074. - postdep_objects_CXX=
  29075. - postdeps_CXX=
  29076. - ;;
  29077. -
  29078. -linux*)
  29079. - case `$CC -V 2>&1 | sed 5q` in
  29080. - *Sun\ C*)
  29081. - # Sun C++ 5.9
  29082. - #
  29083. - # The more standards-conforming stlport4 library is
  29084. - # incompatible with the Cstd library. Avoid specifying
  29085. - # it if it's in CXXFLAGS. Ignore libCrun as
  29086. - # -library=stlport4 depends on it.
  29087. - case " $CXX $CXXFLAGS " in
  29088. - *" -library=stlport4 "*)
  29089. - solaris_use_stlport4=yes
  29090. - ;;
  29091. - esac
  29092. - if test "$solaris_use_stlport4" != yes; then
  29093. - postdeps_CXX='-library=Cstd -library=Crun'
  29094. - fi
  29095. - ;;
  29096. - esac
  29097. - ;;
  29098. -
  29099. -solaris*)
  29100. - case $cc_basename in
  29101. - CC*)
  29102. - # The more standards-conforming stlport4 library is
  29103. - # incompatible with the Cstd library. Avoid specifying
  29104. - # it if it's in CXXFLAGS. Ignore libCrun as
  29105. - # -library=stlport4 depends on it.
  29106. - case " $CXX $CXXFLAGS " in
  29107. - *" -library=stlport4 "*)
  29108. - solaris_use_stlport4=yes
  29109. - ;;
  29110. - esac
  29111. -
  29112. - # Adding this requires a known-good setup of shared libraries for
  29113. - # Sun compiler versions before 5.6, else PIC objects from an old
  29114. - # archive will be linked into the output, leading to subtle bugs.
  29115. - if test "$solaris_use_stlport4" != yes; then
  29116. - postdeps_CXX='-library=Cstd -library=Crun'
  29117. - fi
  29118. - ;;
  29119. - esac
  29120. - ;;
  29121. -esac
  29122. -
  29123. -case " $postdeps_CXX " in
  29124. -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
  29125. -esac
  29126. -
  29127. -lt_prog_compiler_wl_CXX=
  29128. -lt_prog_compiler_pic_CXX=
  29129. -lt_prog_compiler_static_CXX=
  29130. -
  29131. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  29132. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  29133. -
  29134. - # C++ specific cases for pic, static, wl, etc.
  29135. - if test "$GXX" = yes; then
  29136. - lt_prog_compiler_wl_CXX='-Wl,'
  29137. - lt_prog_compiler_static_CXX='-static'
  29138. -
  29139. - case $host_os in
  29140. - aix*)
  29141. - # All AIX code is PIC.
  29142. - if test "$host_cpu" = ia64; then
  29143. - # AIX 5 now supports IA64 processor
  29144. - lt_prog_compiler_static_CXX='-Bstatic'
  29145. - fi
  29146. - ;;
  29147. - amigaos*)
  29148. - # FIXME: we need at least 68020 code to build shared libraries, but
  29149. - # adding the `-m68020' flag to GCC prevents building anything better,
  29150. - # like `-m68040'.
  29151. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
  29152. - ;;
  29153. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  29154. - # PIC is the default for these OSes.
  29155. - ;;
  29156. - mingw* | cygwin* | os2* | pw32*)
  29157. - # This hack is so that the source file can tell whether it is being
  29158. - # built for inclusion in a dll (and should export symbols for example).
  29159. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  29160. - # (--disable-auto-import) libraries
  29161. - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
  29162. - ;;
  29163. - darwin* | rhapsody*)
  29164. - # PIC is the default on this platform
  29165. - # Common symbols not allowed in MH_DYLIB files
  29166. - lt_prog_compiler_pic_CXX='-fno-common'
  29167. - ;;
  29168. - *djgpp*)
  29169. - # DJGPP does not support shared libraries at all
  29170. - lt_prog_compiler_pic_CXX=
  29171. - ;;
  29172. - interix[3-9]*)
  29173. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  29174. - # Instead, we relocate shared libraries at runtime.
  29175. - ;;
  29176. - sysv4*MP*)
  29177. - if test -d /usr/nec; then
  29178. - lt_prog_compiler_pic_CXX=-Kconform_pic
  29179. - fi
  29180. - ;;
  29181. - hpux*)
  29182. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  29183. - # not for PA HP-UX.
  29184. - case $host_cpu in
  29185. - hppa*64*|ia64*)
  29186. - ;;
  29187. - *)
  29188. - lt_prog_compiler_pic_CXX='-fPIC'
  29189. - ;;
  29190. - esac
  29191. - ;;
  29192. - *)
  29193. - lt_prog_compiler_pic_CXX='-fPIC'
  29194. - ;;
  29195. - esac
  29196. - else
  29197. - case $host_os in
  29198. - aix[4-9]*)
  29199. - # All AIX code is PIC.
  29200. - if test "$host_cpu" = ia64; then
  29201. - # AIX 5 now supports IA64 processor
  29202. - lt_prog_compiler_static_CXX='-Bstatic'
  29203. - else
  29204. - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
  29205. - fi
  29206. - ;;
  29207. - chorus*)
  29208. - case $cc_basename in
  29209. - cxch68*)
  29210. - # Green Hills C++ Compiler
  29211. - # _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"
  29212. - ;;
  29213. - esac
  29214. - ;;
  29215. - darwin*)
  29216. - # PIC is the default on this platform
  29217. - # Common symbols not allowed in MH_DYLIB files
  29218. - case $cc_basename in
  29219. - xlc*)
  29220. - lt_prog_compiler_pic_CXX='-qnocommon'
  29221. - lt_prog_compiler_wl_CXX='-Wl,'
  29222. - ;;
  29223. - esac
  29224. - ;;
  29225. - dgux*)
  29226. - case $cc_basename in
  29227. - ec++*)
  29228. - lt_prog_compiler_pic_CXX='-KPIC'
  29229. - ;;
  29230. - ghcx*)
  29231. - # Green Hills C++ Compiler
  29232. - lt_prog_compiler_pic_CXX='-pic'
  29233. - ;;
  29234. - *)
  29235. - ;;
  29236. - esac
  29237. - ;;
  29238. - freebsd* | dragonfly*)
  29239. - # FreeBSD uses GNU C++
  29240. - ;;
  29241. - hpux9* | hpux10* | hpux11*)
  29242. - case $cc_basename in
  29243. - CC*)
  29244. - lt_prog_compiler_wl_CXX='-Wl,'
  29245. - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  29246. - if test "$host_cpu" != ia64; then
  29247. - lt_prog_compiler_pic_CXX='+Z'
  29248. - fi
  29249. - ;;
  29250. - aCC*)
  29251. - lt_prog_compiler_wl_CXX='-Wl,'
  29252. - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
  29253. - case $host_cpu in
  29254. - hppa*64*|ia64*)
  29255. - # +Z the default
  29256. - ;;
  29257. - *)
  29258. - lt_prog_compiler_pic_CXX='+Z'
  29259. - ;;
  29260. - esac
  29261. - ;;
  29262. - *)
  29263. - ;;
  29264. - esac
  29265. - ;;
  29266. - interix*)
  29267. - # This is c89, which is MS Visual C++ (no shared libs)
  29268. - # Anyone wants to do a port?
  29269. - ;;
  29270. - irix5* | irix6* | nonstopux*)
  29271. - case $cc_basename in
  29272. - CC*)
  29273. - lt_prog_compiler_wl_CXX='-Wl,'
  29274. - lt_prog_compiler_static_CXX='-non_shared'
  29275. - # CC pic flag -KPIC is the default.
  29276. - ;;
  29277. - *)
  29278. - ;;
  29279. - esac
  29280. - ;;
  29281. - linux* | k*bsd*-gnu)
  29282. - case $cc_basename in
  29283. - KCC*)
  29284. - # KAI C++ Compiler
  29285. - lt_prog_compiler_wl_CXX='--backend -Wl,'
  29286. - lt_prog_compiler_pic_CXX='-fPIC'
  29287. - ;;
  29288. - icpc* | ecpc*)
  29289. - # Intel C++
  29290. - lt_prog_compiler_wl_CXX='-Wl,'
  29291. - lt_prog_compiler_pic_CXX='-KPIC'
  29292. - lt_prog_compiler_static_CXX='-static'
  29293. - ;;
  29294. - pgCC* | pgcpp*)
  29295. - # Portland Group C++ compiler.
  29296. - lt_prog_compiler_wl_CXX='-Wl,'
  29297. - lt_prog_compiler_pic_CXX='-fpic'
  29298. - lt_prog_compiler_static_CXX='-Bstatic'
  29299. - ;;
  29300. - cxx*)
  29301. - # Compaq C++
  29302. - # Make sure the PIC flag is empty. It appears that all Alpha
  29303. - # Linux and Compaq Tru64 Unix objects are PIC.
  29304. - lt_prog_compiler_pic_CXX=
  29305. - lt_prog_compiler_static_CXX='-non_shared'
  29306. - ;;
  29307. - *)
  29308. - case `$CC -V 2>&1 | sed 5q` in
  29309. - *Sun\ C*)
  29310. - # Sun C++ 5.9
  29311. - lt_prog_compiler_pic_CXX='-KPIC'
  29312. - lt_prog_compiler_static_CXX='-Bstatic'
  29313. - lt_prog_compiler_wl_CXX='-Qoption ld '
  29314. - ;;
  29315. - esac
  29316. - ;;
  29317. - esac
  29318. - ;;
  29319. - lynxos*)
  29320. - ;;
  29321. - m88k*)
  29322. - ;;
  29323. - mvs*)
  29324. - case $cc_basename in
  29325. - cxx*)
  29326. - lt_prog_compiler_pic_CXX='-W c,exportall'
  29327. - ;;
  29328. - *)
  29329. - ;;
  29330. - esac
  29331. - ;;
  29332. - netbsd* | netbsdelf*-gnu)
  29333. - ;;
  29334. - osf3* | osf4* | osf5*)
  29335. - case $cc_basename in
  29336. - KCC*)
  29337. - lt_prog_compiler_wl_CXX='--backend -Wl,'
  29338. - ;;
  29339. - RCC*)
  29340. - # Rational C++ 2.4.1
  29341. - lt_prog_compiler_pic_CXX='-pic'
  29342. - ;;
  29343. - cxx*)
  29344. - # Digital/Compaq C++
  29345. - lt_prog_compiler_wl_CXX='-Wl,'
  29346. - # Make sure the PIC flag is empty. It appears that all Alpha
  29347. - # Linux and Compaq Tru64 Unix objects are PIC.
  29348. - lt_prog_compiler_pic_CXX=
  29349. - lt_prog_compiler_static_CXX='-non_shared'
  29350. - ;;
  29351. - *)
  29352. - ;;
  29353. - esac
  29354. - ;;
  29355. - psos*)
  29356. - ;;
  29357. - solaris*)
  29358. - case $cc_basename in
  29359. - CC*)
  29360. - # Sun C++ 4.2, 5.x and Centerline C++
  29361. - lt_prog_compiler_pic_CXX='-KPIC'
  29362. - lt_prog_compiler_static_CXX='-Bstatic'
  29363. - lt_prog_compiler_wl_CXX='-Qoption ld '
  29364. - ;;
  29365. - gcx*)
  29366. - # Green Hills C++ Compiler
  29367. - lt_prog_compiler_pic_CXX='-PIC'
  29368. - ;;
  29369. - *)
  29370. - ;;
  29371. - esac
  29372. - ;;
  29373. - sunos4*)
  29374. - case $cc_basename in
  29375. - CC*)
  29376. - # Sun C++ 4.x
  29377. - lt_prog_compiler_pic_CXX='-pic'
  29378. - lt_prog_compiler_static_CXX='-Bstatic'
  29379. - ;;
  29380. - lcc*)
  29381. - # Lucid
  29382. - lt_prog_compiler_pic_CXX='-pic'
  29383. - ;;
  29384. - *)
  29385. - ;;
  29386. - esac
  29387. - ;;
  29388. - tandem*)
  29389. - case $cc_basename in
  29390. - NCC*)
  29391. - # NonStop-UX NCC 3.20
  29392. - lt_prog_compiler_pic_CXX='-KPIC'
  29393. - ;;
  29394. - *)
  29395. - ;;
  29396. - esac
  29397. - ;;
  29398. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  29399. - case $cc_basename in
  29400. - CC*)
  29401. - lt_prog_compiler_wl_CXX='-Wl,'
  29402. - lt_prog_compiler_pic_CXX='-KPIC'
  29403. - lt_prog_compiler_static_CXX='-Bstatic'
  29404. - ;;
  29405. - esac
  29406. - ;;
  29407. - vxworks*)
  29408. - ;;
  29409. - *)
  29410. - lt_prog_compiler_can_build_shared_CXX=no
  29411. - ;;
  29412. - esac
  29413. - fi
  29414. -
  29415. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
  29416. -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
  29417. -
  29418. -#
  29419. -# Check to make sure the PIC flag actually works.
  29420. -#
  29421. -if test -n "$lt_prog_compiler_pic_CXX"; then
  29422. -
  29423. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  29424. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
  29425. -if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
  29426. - echo $ECHO_N "(cached) $ECHO_C" >&6
  29427. -else
  29428. - lt_cv_prog_compiler_pic_works_CXX=no
  29429. - ac_outfile=conftest.$ac_objext
  29430. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  29431. - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
  29432. - # Insert the option either (1) after the last *FLAGS variable, or
  29433. - # (2) before a word containing "conftest.", or (3) at the end.
  29434. - # Note that $ac_compile itself does not contain backslashes and begins
  29435. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  29436. - # The option is referenced via a variable to avoid confusing sed.
  29437. - lt_compile=`echo "$ac_compile" | $SED \
  29438. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  29439. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  29440. - -e 's:$: $lt_compiler_flag:'`
  29441. - (eval echo "\"\$as_me:12979: $lt_compile\"" >&5)
  29442. - (eval "$lt_compile" 2>conftest.err)
  29443. - ac_status=$?
  29444. - cat conftest.err >&5
  29445. - echo "$as_me:12983: \$? = $ac_status" >&5
  29446. - if (exit $ac_status) && test -s "$ac_outfile"; then
  29447. - # The compiler can only warn and ignore the option if not recognized
  29448. - # So say no if there are warnings other than the usual output.
  29449. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  29450. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  29451. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  29452. - lt_cv_prog_compiler_pic_works_CXX=yes
  29453. - fi
  29454. - fi
  29455. - $rm conftest*
  29456. -
  29457. -fi
  29458. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  29459. -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  29460. -
  29461. -if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  29462. - case $lt_prog_compiler_pic_CXX in
  29463. - "" | " "*) ;;
  29464. - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
  29465. - esac
  29466. -else
  29467. - lt_prog_compiler_pic_CXX=
  29468. - lt_prog_compiler_can_build_shared_CXX=no
  29469. -fi
  29470. -
  29471. -fi
  29472. -case $host_os in
  29473. - # For platforms which do not support PIC, -DPIC is meaningless:
  29474. - *djgpp*)
  29475. - lt_prog_compiler_pic_CXX=
  29476. - ;;
  29477. - *)
  29478. - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  29479. - ;;
  29480. -esac
  29481. -
  29482. -#
  29483. -# Check to make sure the static flag actually works.
  29484. -#
  29485. -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  29486. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  29487. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  29488. -if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
  29489. - echo $ECHO_N "(cached) $ECHO_C" >&6
  29490. -else
  29491. - lt_cv_prog_compiler_static_works_CXX=no
  29492. - save_LDFLAGS="$LDFLAGS"
  29493. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  29494. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  29495. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  29496. - # The linker can only warn and ignore the option if not recognized
  29497. - # So say no if there are warnings
  29498. - if test -s conftest.err; then
  29499. - # Append any errors to the config.log.
  29500. - cat conftest.err 1>&5
  29501. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  29502. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  29503. - if diff conftest.exp conftest.er2 >/dev/null; then
  29504. - lt_cv_prog_compiler_static_works_CXX=yes
  29505. - fi
  29506. - else
  29507. - lt_cv_prog_compiler_static_works_CXX=yes
  29508. - fi
  29509. - fi
  29510. - $rm -r conftest*
  29511. - LDFLAGS="$save_LDFLAGS"
  29512. -
  29513. -fi
  29514. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  29515. -echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
  29516. -
  29517. -if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  29518. - :
  29519. -else
  29520. - lt_prog_compiler_static_CXX=
  29521. -fi
  29522. -
  29523. -
  29524. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  29525. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  29526. -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
  29527. - echo $ECHO_N "(cached) $ECHO_C" >&6
  29528. -else
  29529. - lt_cv_prog_compiler_c_o_CXX=no
  29530. - $rm -r conftest 2>/dev/null
  29531. - mkdir conftest
  29532. - cd conftest
  29533. - mkdir out
  29534. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  29535. -
  29536. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  29537. - # Insert the option either (1) after the last *FLAGS variable, or
  29538. - # (2) before a word containing "conftest.", or (3) at the end.
  29539. - # Note that $ac_compile itself does not contain backslashes and begins
  29540. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  29541. - lt_compile=`echo "$ac_compile" | $SED \
  29542. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  29543. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  29544. - -e 's:$: $lt_compiler_flag:'`
  29545. - (eval echo "\"\$as_me:13083: $lt_compile\"" >&5)
  29546. - (eval "$lt_compile" 2>out/conftest.err)
  29547. - ac_status=$?
  29548. - cat out/conftest.err >&5
  29549. - echo "$as_me:13087: \$? = $ac_status" >&5
  29550. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  29551. - then
  29552. - # The compiler can only warn and ignore the option if not recognized
  29553. - # So say no if there are warnings
  29554. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  29555. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  29556. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  29557. - lt_cv_prog_compiler_c_o_CXX=yes
  29558. - fi
  29559. - fi
  29560. - chmod u+w . 2>&5
  29561. - $rm conftest*
  29562. - # SGI C++ compiler will create directory out/ii_files/ for
  29563. - # template instantiation
  29564. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  29565. - $rm out/* && rmdir out
  29566. - cd ..
  29567. - rmdir conftest
  29568. - $rm conftest*
  29569. -
  29570. -fi
  29571. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  29572. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
  29573. -
  29574. -
  29575. -hard_links="nottested"
  29576. -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  29577. - # do not overwrite the value of need_locks provided by the user
  29578. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  29579. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  29580. - hard_links=yes
  29581. - $rm conftest*
  29582. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  29583. - touch conftest.a
  29584. - ln conftest.a conftest.b 2>&5 || hard_links=no
  29585. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  29586. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  29587. -echo "${ECHO_T}$hard_links" >&6; }
  29588. - if test "$hard_links" = no; then
  29589. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  29590. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  29591. - need_locks=warn
  29592. - fi
  29593. -else
  29594. - need_locks=no
  29595. -fi
  29596. -
  29597. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  29598. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  29599. -
  29600. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  29601. - case $host_os in
  29602. - aix[4-9]*)
  29603. - # If we're using GNU nm, then we don't want the "-C" option.
  29604. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  29605. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  29606. - 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'
  29607. - else
  29608. - 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'
  29609. - fi
  29610. - ;;
  29611. - pw32*)
  29612. - export_symbols_cmds_CXX="$ltdll_cmds"
  29613. - ;;
  29614. - cygwin* | mingw*)
  29615. - 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'
  29616. - ;;
  29617. - linux* | k*bsd*-gnu)
  29618. - link_all_deplibs_CXX=no
  29619. - ;;
  29620. - *)
  29621. - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  29622. - ;;
  29623. - esac
  29624. - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  29625. -
  29626. -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  29627. -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
  29628. -test "$ld_shlibs_CXX" = no && can_build_shared=no
  29629. -
  29630. -#
  29631. -# Do we need to explicitly link libc?
  29632. -#
  29633. -case "x$archive_cmds_need_lc_CXX" in
  29634. -x|xyes)
  29635. - # Assume -lc should be added
  29636. - archive_cmds_need_lc_CXX=yes
  29637. -
  29638. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  29639. - case $archive_cmds_CXX in
  29640. - *'~'*)
  29641. - # FIXME: we may have to deal with multi-command sequences.
  29642. - ;;
  29643. - '$CC '*)
  29644. - # Test whether the compiler implicitly links with -lc since on some
  29645. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  29646. - # to ld, don't add -lc before -lgcc.
  29647. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  29648. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  29649. - $rm conftest*
  29650. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  29651. -
  29652. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  29653. - (eval $ac_compile) 2>&5
  29654. - ac_status=$?
  29655. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29656. - (exit $ac_status); } 2>conftest.err; then
  29657. - soname=conftest
  29658. - lib=conftest
  29659. - libobjs=conftest.$ac_objext
  29660. - deplibs=
  29661. - wl=$lt_prog_compiler_wl_CXX
  29662. - pic_flag=$lt_prog_compiler_pic_CXX
  29663. - compiler_flags=-v
  29664. - linker_flags=-v
  29665. - verstring=
  29666. - output_objdir=.
  29667. - libname=conftest
  29668. - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  29669. - allow_undefined_flag_CXX=
  29670. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  29671. - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  29672. - ac_status=$?
  29673. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  29674. - (exit $ac_status); }
  29675. - then
  29676. - archive_cmds_need_lc_CXX=no
  29677. - else
  29678. - archive_cmds_need_lc_CXX=yes
  29679. - fi
  29680. - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
  29681. - else
  29682. - cat conftest.err 1>&5
  29683. - fi
  29684. - $rm conftest*
  29685. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
  29686. -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
  29687. - ;;
  29688. - esac
  29689. - fi
  29690. - ;;
  29691. -esac
  29692. -
  29693. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  29694. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  29695. -library_names_spec=
  29696. -libname_spec='lib$name'
  29697. -soname_spec=
  29698. -shrext_cmds=".so"
  29699. -postinstall_cmds=
  29700. -postuninstall_cmds=
  29701. -finish_cmds=
  29702. -finish_eval=
  29703. -shlibpath_var=
  29704. -shlibpath_overrides_runpath=unknown
  29705. -version_type=none
  29706. -dynamic_linker="$host_os ld.so"
  29707. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  29708. -
  29709. -need_lib_prefix=unknown
  29710. -hardcode_into_libs=no
  29711. -
  29712. -# when you set need_version to no, make sure it does not cause -set_version
  29713. -# flags to be left without arguments
  29714. -need_version=unknown
  29715. -
  29716. -case $host_os in
  29717. -aix3*)
  29718. - version_type=linux
  29719. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  29720. - shlibpath_var=LIBPATH
  29721. -
  29722. - # AIX 3 has no versioning support, so we append a major version to the name.
  29723. - soname_spec='${libname}${release}${shared_ext}$major'
  29724. - ;;
  29725. -
  29726. -aix[4-9]*)
  29727. - version_type=linux
  29728. - need_lib_prefix=no
  29729. - need_version=no
  29730. - hardcode_into_libs=yes
  29731. - if test "$host_cpu" = ia64; then
  29732. - # AIX 5 supports IA64
  29733. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  29734. - shlibpath_var=LD_LIBRARY_PATH
  29735. - else
  29736. - # With GCC up to 2.95.x, collect2 would create an import file
  29737. - # for dependence libraries. The import file would start with
  29738. - # the line `#! .'. This would cause the generated library to
  29739. - # depend on `.', always an invalid library. This was fixed in
  29740. - # development snapshots of GCC prior to 3.0.
  29741. - case $host_os in
  29742. - aix4 | aix4.[01] | aix4.[01].*)
  29743. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  29744. - echo ' yes '
  29745. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  29746. - :
  29747. - else
  29748. - can_build_shared=no
  29749. - fi
  29750. - ;;
  29751. - esac
  29752. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  29753. - # soname into executable. Probably we can add versioning support to
  29754. - # collect2, so additional links can be useful in future.
  29755. - if test "$aix_use_runtimelinking" = yes; then
  29756. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  29757. - # instead of lib<name>.a to let people know that these are not
  29758. - # typical AIX shared libraries.
  29759. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29760. - else
  29761. - # We preserve .a as extension for shared libraries through AIX4.2
  29762. - # and later when we are not doing run time linking.
  29763. - library_names_spec='${libname}${release}.a $libname.a'
  29764. - soname_spec='${libname}${release}${shared_ext}$major'
  29765. - fi
  29766. - shlibpath_var=LIBPATH
  29767. - fi
  29768. - ;;
  29769. -
  29770. -amigaos*)
  29771. - library_names_spec='$libname.ixlibrary $libname.a'
  29772. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  29773. - 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'
  29774. - ;;
  29775. -
  29776. -beos*)
  29777. - library_names_spec='${libname}${shared_ext}'
  29778. - dynamic_linker="$host_os ld.so"
  29779. - shlibpath_var=LIBRARY_PATH
  29780. - ;;
  29781. -
  29782. -bsdi[45]*)
  29783. - version_type=linux
  29784. - need_version=no
  29785. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29786. - soname_spec='${libname}${release}${shared_ext}$major'
  29787. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  29788. - shlibpath_var=LD_LIBRARY_PATH
  29789. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  29790. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  29791. - # the default ld.so.conf also contains /usr/contrib/lib and
  29792. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  29793. - # libtool to hard-code these into programs
  29794. - ;;
  29795. -
  29796. -cygwin* | mingw* | pw32*)
  29797. - version_type=windows
  29798. - shrext_cmds=".dll"
  29799. - need_version=no
  29800. - need_lib_prefix=no
  29801. -
  29802. - case $GCC,$host_os in
  29803. - yes,cygwin* | yes,mingw* | yes,pw32*)
  29804. - library_names_spec='$libname.dll.a'
  29805. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  29806. - postinstall_cmds='base_file=`basename \${file}`~
  29807. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  29808. - dldir=$destdir/`dirname \$dlpath`~
  29809. - test -d \$dldir || mkdir -p \$dldir~
  29810. - $install_prog $dir/$dlname \$dldir/$dlname~
  29811. - chmod a+x \$dldir/$dlname'
  29812. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  29813. - dlpath=$dir/\$dldll~
  29814. - $rm \$dlpath'
  29815. - shlibpath_overrides_runpath=yes
  29816. -
  29817. - case $host_os in
  29818. - cygwin*)
  29819. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  29820. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  29821. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  29822. - ;;
  29823. - mingw*)
  29824. - # MinGW DLLs use traditional 'lib' prefix
  29825. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  29826. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  29827. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  29828. - # It is most probably a Windows format PATH printed by
  29829. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  29830. - # path with ; separators, and with drive letters. We can handle the
  29831. - # drive letters (cygwin fileutils understands them), so leave them,
  29832. - # especially as we might pass files found there to a mingw objdump,
  29833. - # which wouldn't understand a cygwinified path. Ahh.
  29834. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  29835. - else
  29836. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  29837. - fi
  29838. - ;;
  29839. - pw32*)
  29840. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  29841. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  29842. - ;;
  29843. - esac
  29844. - ;;
  29845. -
  29846. - *)
  29847. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  29848. - ;;
  29849. - esac
  29850. - dynamic_linker='Win32 ld.exe'
  29851. - # FIXME: first we should search . and the directory the executable is in
  29852. - shlibpath_var=PATH
  29853. - ;;
  29854. -
  29855. -darwin* | rhapsody*)
  29856. - dynamic_linker="$host_os dyld"
  29857. - version_type=darwin
  29858. - need_lib_prefix=no
  29859. - need_version=no
  29860. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  29861. - soname_spec='${libname}${release}${major}$shared_ext'
  29862. - shlibpath_overrides_runpath=yes
  29863. - shlibpath_var=DYLD_LIBRARY_PATH
  29864. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  29865. -
  29866. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  29867. - ;;
  29868. -
  29869. -dgux*)
  29870. - version_type=linux
  29871. - need_lib_prefix=no
  29872. - need_version=no
  29873. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  29874. - soname_spec='${libname}${release}${shared_ext}$major'
  29875. - shlibpath_var=LD_LIBRARY_PATH
  29876. - ;;
  29877. -
  29878. -freebsd1*)
  29879. - dynamic_linker=no
  29880. - ;;
  29881. -
  29882. -freebsd* | dragonfly*)
  29883. - # DragonFly does not have aout. When/if they implement a new
  29884. - # versioning mechanism, adjust this.
  29885. - if test -x /usr/bin/objformat; then
  29886. - objformat=`/usr/bin/objformat`
  29887. - else
  29888. - case $host_os in
  29889. - freebsd[123]*) objformat=aout ;;
  29890. - *) objformat=elf ;;
  29891. - esac
  29892. - fi
  29893. - version_type=freebsd-$objformat
  29894. - case $version_type in
  29895. - freebsd-elf*)
  29896. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  29897. - need_version=no
  29898. - need_lib_prefix=no
  29899. - ;;
  29900. - freebsd-*)
  29901. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  29902. - need_version=yes
  29903. - ;;
  29904. - esac
  29905. - shlibpath_var=LD_LIBRARY_PATH
  29906. - case $host_os in
  29907. - freebsd2*)
  29908. - shlibpath_overrides_runpath=yes
  29909. - ;;
  29910. - freebsd3.[01]* | freebsdelf3.[01]*)
  29911. - shlibpath_overrides_runpath=yes
  29912. - hardcode_into_libs=yes
  29913. - ;;
  29914. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  29915. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  29916. - shlibpath_overrides_runpath=no
  29917. - hardcode_into_libs=yes
  29918. - ;;
  29919. - *) # from 4.6 on, and DragonFly
  29920. - shlibpath_overrides_runpath=yes
  29921. - hardcode_into_libs=yes
  29922. - ;;
  29923. - esac
  29924. - ;;
  29925. -
  29926. -gnu*)
  29927. - version_type=linux
  29928. - need_lib_prefix=no
  29929. - need_version=no
  29930. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  29931. - soname_spec='${libname}${release}${shared_ext}$major'
  29932. - shlibpath_var=LD_LIBRARY_PATH
  29933. - hardcode_into_libs=yes
  29934. - ;;
  29935. -
  29936. -hpux9* | hpux10* | hpux11*)
  29937. - # Give a soname corresponding to the major version so that dld.sl refuses to
  29938. - # link against other versions.
  29939. - version_type=sunos
  29940. - need_lib_prefix=no
  29941. - need_version=no
  29942. - case $host_cpu in
  29943. - ia64*)
  29944. - shrext_cmds='.so'
  29945. - hardcode_into_libs=yes
  29946. - dynamic_linker="$host_os dld.so"
  29947. - shlibpath_var=LD_LIBRARY_PATH
  29948. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  29949. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29950. - soname_spec='${libname}${release}${shared_ext}$major'
  29951. - if test "X$HPUX_IA64_MODE" = X32; then
  29952. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  29953. - else
  29954. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  29955. - fi
  29956. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  29957. - ;;
  29958. - hppa*64*)
  29959. - shrext_cmds='.sl'
  29960. - hardcode_into_libs=yes
  29961. - dynamic_linker="$host_os dld.sl"
  29962. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  29963. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  29964. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29965. - soname_spec='${libname}${release}${shared_ext}$major'
  29966. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  29967. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  29968. - ;;
  29969. - *)
  29970. - shrext_cmds='.sl'
  29971. - dynamic_linker="$host_os dld.sl"
  29972. - shlibpath_var=SHLIB_PATH
  29973. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  29974. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29975. - soname_spec='${libname}${release}${shared_ext}$major'
  29976. - ;;
  29977. - esac
  29978. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  29979. - postinstall_cmds='chmod 555 $lib'
  29980. - ;;
  29981. -
  29982. -interix[3-9]*)
  29983. - version_type=linux
  29984. - need_lib_prefix=no
  29985. - need_version=no
  29986. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  29987. - soname_spec='${libname}${release}${shared_ext}$major'
  29988. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  29989. - shlibpath_var=LD_LIBRARY_PATH
  29990. - shlibpath_overrides_runpath=no
  29991. - hardcode_into_libs=yes
  29992. - ;;
  29993. -
  29994. -irix5* | irix6* | nonstopux*)
  29995. - case $host_os in
  29996. - nonstopux*) version_type=nonstopux ;;
  29997. - *)
  29998. - if test "$lt_cv_prog_gnu_ld" = yes; then
  29999. - version_type=linux
  30000. - else
  30001. - version_type=irix
  30002. - fi ;;
  30003. - esac
  30004. - need_lib_prefix=no
  30005. - need_version=no
  30006. - soname_spec='${libname}${release}${shared_ext}$major'
  30007. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  30008. - case $host_os in
  30009. - irix5* | nonstopux*)
  30010. - libsuff= shlibsuff=
  30011. - ;;
  30012. - *)
  30013. - case $LD in # libtool.m4 will add one of these switches to LD
  30014. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  30015. - libsuff= shlibsuff= libmagic=32-bit;;
  30016. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  30017. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  30018. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  30019. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  30020. - *) libsuff= shlibsuff= libmagic=never-match;;
  30021. - esac
  30022. - ;;
  30023. - esac
  30024. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  30025. - shlibpath_overrides_runpath=no
  30026. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  30027. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  30028. - hardcode_into_libs=yes
  30029. - ;;
  30030. -
  30031. -# No shared lib support for Linux oldld, aout, or coff.
  30032. -linux*oldld* | linux*aout* | linux*coff*)
  30033. - dynamic_linker=no
  30034. - ;;
  30035. -
  30036. -# This must be Linux ELF.
  30037. -linux* | k*bsd*-gnu)
  30038. - version_type=linux
  30039. - need_lib_prefix=no
  30040. - need_version=no
  30041. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  30042. - soname_spec='${libname}${release}${shared_ext}$major'
  30043. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  30044. - shlibpath_var=LD_LIBRARY_PATH
  30045. - shlibpath_overrides_runpath=no
  30046. - # This implies no fast_install, which is unacceptable.
  30047. - # Some rework will be needed to allow for fast_install
  30048. - # before this can be enabled.
  30049. - hardcode_into_libs=yes
  30050. -
  30051. - # Append ld.so.conf contents to the search path
  30052. - if test -f /etc/ld.so.conf; then
  30053. - 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' ' '`
  30054. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  30055. - fi
  30056. -
  30057. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  30058. - # powerpc, because MkLinux only supported shared libraries with the
  30059. - # GNU dynamic linker. Since this was broken with cross compilers,
  30060. - # most powerpc-linux boxes support dynamic linking these days and
  30061. - # people can always --disable-shared, the test was removed, and we
  30062. - # assume the GNU/Linux dynamic linker is in use.
  30063. - dynamic_linker='GNU/Linux ld.so'
  30064. - ;;
  30065. -
  30066. -netbsdelf*-gnu)
  30067. - version_type=linux
  30068. - need_lib_prefix=no
  30069. - need_version=no
  30070. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  30071. - soname_spec='${libname}${release}${shared_ext}$major'
  30072. - shlibpath_var=LD_LIBRARY_PATH
  30073. - shlibpath_overrides_runpath=no
  30074. - hardcode_into_libs=yes
  30075. - dynamic_linker='NetBSD ld.elf_so'
  30076. - ;;
  30077. -
  30078. -netbsd*)
  30079. - version_type=sunos
  30080. - need_lib_prefix=no
  30081. - need_version=no
  30082. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  30083. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  30084. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  30085. - dynamic_linker='NetBSD (a.out) ld.so'
  30086. - else
  30087. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  30088. - soname_spec='${libname}${release}${shared_ext}$major'
  30089. - dynamic_linker='NetBSD ld.elf_so'
  30090. - fi
  30091. - shlibpath_var=LD_LIBRARY_PATH
  30092. - shlibpath_overrides_runpath=yes
  30093. - hardcode_into_libs=yes
  30094. - ;;
  30095. -
  30096. -newsos6)
  30097. - version_type=linux
  30098. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  30099. - shlibpath_var=LD_LIBRARY_PATH
  30100. - shlibpath_overrides_runpath=yes
  30101. - ;;
  30102. -
  30103. -nto-qnx*)
  30104. - version_type=linux
  30105. - need_lib_prefix=no
  30106. - need_version=no
  30107. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  30108. - soname_spec='${libname}${release}${shared_ext}$major'
  30109. - shlibpath_var=LD_LIBRARY_PATH
  30110. - shlibpath_overrides_runpath=yes
  30111. - ;;
  30112. -
  30113. -openbsd*)
  30114. - version_type=sunos
  30115. - sys_lib_dlsearch_path_spec="/usr/lib"
  30116. - need_lib_prefix=no
  30117. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  30118. - case $host_os in
  30119. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  30120. - *) need_version=no ;;
  30121. - esac
  30122. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  30123. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  30124. - shlibpath_var=LD_LIBRARY_PATH
  30125. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  30126. - case $host_os in
  30127. - openbsd2.[89] | openbsd2.[89].*)
  30128. - shlibpath_overrides_runpath=no
  30129. - ;;
  30130. - *)
  30131. - shlibpath_overrides_runpath=yes
  30132. - ;;
  30133. - esac
  30134. - else
  30135. - shlibpath_overrides_runpath=yes
  30136. - fi
  30137. - ;;
  30138. -
  30139. -os2*)
  30140. - libname_spec='$name'
  30141. - shrext_cmds=".dll"
  30142. - need_lib_prefix=no
  30143. - library_names_spec='$libname${shared_ext} $libname.a'
  30144. - dynamic_linker='OS/2 ld.exe'
  30145. - shlibpath_var=LIBPATH
  30146. - ;;
  30147. -
  30148. -osf3* | osf4* | osf5*)
  30149. - version_type=osf
  30150. - need_lib_prefix=no
  30151. - need_version=no
  30152. - soname_spec='${libname}${release}${shared_ext}$major'
  30153. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  30154. - shlibpath_var=LD_LIBRARY_PATH
  30155. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  30156. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  30157. - ;;
  30158. -
  30159. -rdos*)
  30160. - dynamic_linker=no
  30161. - ;;
  30162. -
  30163. -solaris*)
  30164. - version_type=linux
  30165. - need_lib_prefix=no
  30166. - need_version=no
  30167. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  30168. - soname_spec='${libname}${release}${shared_ext}$major'
  30169. - shlibpath_var=LD_LIBRARY_PATH
  30170. - shlibpath_overrides_runpath=yes
  30171. - hardcode_into_libs=yes
  30172. - # ldd complains unless libraries are executable
  30173. - postinstall_cmds='chmod +x $lib'
  30174. - ;;
  30175. -
  30176. -sunos4*)
  30177. - version_type=sunos
  30178. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  30179. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  30180. - shlibpath_var=LD_LIBRARY_PATH
  30181. - shlibpath_overrides_runpath=yes
  30182. - if test "$with_gnu_ld" = yes; then
  30183. - need_lib_prefix=no
  30184. - fi
  30185. - need_version=yes
  30186. - ;;
  30187. -
  30188. -sysv4 | sysv4.3*)
  30189. - version_type=linux
  30190. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  30191. - soname_spec='${libname}${release}${shared_ext}$major'
  30192. - shlibpath_var=LD_LIBRARY_PATH
  30193. - case $host_vendor in
  30194. - sni)
  30195. - shlibpath_overrides_runpath=no
  30196. - need_lib_prefix=no
  30197. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  30198. - runpath_var=LD_RUN_PATH
  30199. - ;;
  30200. - siemens)
  30201. - need_lib_prefix=no
  30202. - ;;
  30203. - motorola)
  30204. - need_lib_prefix=no
  30205. - need_version=no
  30206. - shlibpath_overrides_runpath=no
  30207. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  30208. - ;;
  30209. - esac
  30210. - ;;
  30211. -
  30212. -sysv4*MP*)
  30213. - if test -d /usr/nec ;then
  30214. - version_type=linux
  30215. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  30216. - soname_spec='$libname${shared_ext}.$major'
  30217. - shlibpath_var=LD_LIBRARY_PATH
  30218. - fi
  30219. - ;;
  30220. -
  30221. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  30222. - version_type=freebsd-elf
  30223. - need_lib_prefix=no
  30224. - need_version=no
  30225. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  30226. - soname_spec='${libname}${release}${shared_ext}$major'
  30227. - shlibpath_var=LD_LIBRARY_PATH
  30228. - hardcode_into_libs=yes
  30229. - if test "$with_gnu_ld" = yes; then
  30230. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  30231. - shlibpath_overrides_runpath=no
  30232. - else
  30233. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  30234. - shlibpath_overrides_runpath=yes
  30235. - case $host_os in
  30236. - sco3.2v5*)
  30237. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  30238. - ;;
  30239. - esac
  30240. - fi
  30241. - sys_lib_dlsearch_path_spec='/usr/lib'
  30242. - ;;
  30243. -
  30244. -uts4*)
  30245. - version_type=linux
  30246. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  30247. - soname_spec='${libname}${release}${shared_ext}$major'
  30248. - shlibpath_var=LD_LIBRARY_PATH
  30249. - ;;
  30250. -
  30251. -*)
  30252. - dynamic_linker=no
  30253. - ;;
  30254. -esac
  30255. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  30256. -echo "${ECHO_T}$dynamic_linker" >&6; }
  30257. -test "$dynamic_linker" = no && can_build_shared=no
  30258. -
  30259. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  30260. - echo $ECHO_N "(cached) $ECHO_C" >&6
  30261. -else
  30262. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  30263. -fi
  30264. -
  30265. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  30266. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  30267. - echo $ECHO_N "(cached) $ECHO_C" >&6
  30268. -else
  30269. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  30270. -fi
  30271. -
  30272. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  30273. -
  30274. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  30275. -if test "$GCC" = yes; then
  30276. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  30277. -fi
  30278. -
  30279. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  30280. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  30281. -hardcode_action_CXX=
  30282. -if test -n "$hardcode_libdir_flag_spec_CXX" || \
  30283. - test -n "$runpath_var_CXX" || \
  30284. - test "X$hardcode_automatic_CXX" = "Xyes" ; then
  30285. -
  30286. - # We can hardcode non-existant directories.
  30287. - if test "$hardcode_direct_CXX" != no &&
  30288. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  30289. - # have to relink, otherwise we might link with an installed library
  30290. - # when we should be linking with a yet-to-be-installed one
  30291. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  30292. - test "$hardcode_minus_L_CXX" != no; then
  30293. - # Linking always hardcodes the temporary library directory.
  30294. - hardcode_action_CXX=relink
  30295. - else
  30296. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  30297. - hardcode_action_CXX=immediate
  30298. - fi
  30299. -else
  30300. - # We cannot hardcode anything, or else we can only hardcode existing
  30301. - # directories.
  30302. - hardcode_action_CXX=unsupported
  30303. -fi
  30304. -{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
  30305. -echo "${ECHO_T}$hardcode_action_CXX" >&6; }
  30306. -
  30307. -if test "$hardcode_action_CXX" = relink; then
  30308. - # Fast installation is not supported
  30309. - enable_fast_install=no
  30310. -elif test "$shlibpath_overrides_runpath" = yes ||
  30311. - test "$enable_shared" = no; then
  30312. - # Fast installation is not necessary
  30313. - enable_fast_install=needless
  30314. -fi
  30315. -
  30316. -
  30317. -# The else clause should only fire when bootstrapping the
  30318. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  30319. -# with your package, and you will get complaints that there are
  30320. -# no rules to generate ltmain.sh.
  30321. -if test -f "$ltmain"; then
  30322. - # See if we are running on zsh, and set the options which allow our commands through
  30323. - # without removal of \ escapes.
  30324. - if test -n "${ZSH_VERSION+set}" ; then
  30325. - setopt NO_GLOB_SUBST
  30326. - fi
  30327. - # Now quote all the things that may contain metacharacters while being
  30328. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  30329. - # variables and quote the copies for generation of the libtool script.
  30330. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  30331. - SED SHELL STRIP \
  30332. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  30333. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  30334. - deplibs_check_method reload_flag reload_cmds need_locks \
  30335. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  30336. - lt_cv_sys_global_symbol_to_c_name_address \
  30337. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  30338. - old_postinstall_cmds old_postuninstall_cmds \
  30339. - compiler_CXX \
  30340. - CC_CXX \
  30341. - LD_CXX \
  30342. - lt_prog_compiler_wl_CXX \
  30343. - lt_prog_compiler_pic_CXX \
  30344. - lt_prog_compiler_static_CXX \
  30345. - lt_prog_compiler_no_builtin_flag_CXX \
  30346. - export_dynamic_flag_spec_CXX \
  30347. - thread_safe_flag_spec_CXX \
  30348. - whole_archive_flag_spec_CXX \
  30349. - enable_shared_with_static_runtimes_CXX \
  30350. - old_archive_cmds_CXX \
  30351. - old_archive_from_new_cmds_CXX \
  30352. - predep_objects_CXX \
  30353. - postdep_objects_CXX \
  30354. - predeps_CXX \
  30355. - postdeps_CXX \
  30356. - compiler_lib_search_path_CXX \
  30357. - compiler_lib_search_dirs_CXX \
  30358. - archive_cmds_CXX \
  30359. - archive_expsym_cmds_CXX \
  30360. - postinstall_cmds_CXX \
  30361. - postuninstall_cmds_CXX \
  30362. - old_archive_from_expsyms_cmds_CXX \
  30363. - allow_undefined_flag_CXX \
  30364. - no_undefined_flag_CXX \
  30365. - export_symbols_cmds_CXX \
  30366. - hardcode_libdir_flag_spec_CXX \
  30367. - hardcode_libdir_flag_spec_ld_CXX \
  30368. - hardcode_libdir_separator_CXX \
  30369. - hardcode_automatic_CXX \
  30370. - module_cmds_CXX \
  30371. - module_expsym_cmds_CXX \
  30372. - lt_cv_prog_compiler_c_o_CXX \
  30373. - fix_srcfile_path_CXX \
  30374. - exclude_expsyms_CXX \
  30375. - include_expsyms_CXX; do
  30376. -
  30377. - case $var in
  30378. - old_archive_cmds_CXX | \
  30379. - old_archive_from_new_cmds_CXX | \
  30380. - archive_cmds_CXX | \
  30381. - archive_expsym_cmds_CXX | \
  30382. - module_cmds_CXX | \
  30383. - module_expsym_cmds_CXX | \
  30384. - old_archive_from_expsyms_cmds_CXX | \
  30385. - export_symbols_cmds_CXX | \
  30386. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  30387. - postinstall_cmds | postuninstall_cmds | \
  30388. - old_postinstall_cmds | old_postuninstall_cmds | \
  30389. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  30390. - # Double-quote double-evaled strings.
  30391. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  30392. - ;;
  30393. - *)
  30394. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  30395. - ;;
  30396. - esac
  30397. - done
  30398. -
  30399. - case $lt_echo in
  30400. - *'\$0 --fallback-echo"')
  30401. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  30402. - ;;
  30403. - esac
  30404. -
  30405. -cfgfile="$ofile"
  30406. -
  30407. - cat <<__EOF__ >> "$cfgfile"
  30408. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  30409. -
  30410. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  30411. -
  30412. -# Shell to use when invoking shell scripts.
  30413. -SHELL=$lt_SHELL
  30414. -
  30415. -# Whether or not to build shared libraries.
  30416. -build_libtool_libs=$enable_shared
  30417. -
  30418. -# Whether or not to build static libraries.
  30419. -build_old_libs=$enable_static
  30420. -
  30421. -# Whether or not to add -lc for building shared libraries.
  30422. -build_libtool_need_lc=$archive_cmds_need_lc_CXX
  30423. -
  30424. -# Whether or not to disallow shared libs when runtime libs are static
  30425. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  30426. -
  30427. -# Whether or not to optimize for fast installation.
  30428. -fast_install=$enable_fast_install
  30429. -
  30430. -# The host system.
  30431. -host_alias=$host_alias
  30432. -host=$host
  30433. -host_os=$host_os
  30434. -
  30435. -# The build system.
  30436. -build_alias=$build_alias
  30437. -build=$build
  30438. -build_os=$build_os
  30439. -
  30440. -# An echo program that does not interpret backslashes.
  30441. -echo=$lt_echo
  30442. -
  30443. -# The archiver.
  30444. -AR=$lt_AR
  30445. -AR_FLAGS=$lt_AR_FLAGS
  30446. -
  30447. -# A C compiler.
  30448. -LTCC=$lt_LTCC
  30449. -
  30450. -# LTCC compiler flags.
  30451. -LTCFLAGS=$lt_LTCFLAGS
  30452. -
  30453. -# A language-specific compiler.
  30454. -CC=$lt_compiler_CXX
  30455. -
  30456. -# Is the compiler the GNU C compiler?
  30457. -with_gcc=$GCC_CXX
  30458. -
  30459. -# An ERE matcher.
  30460. -EGREP=$lt_EGREP
  30461. -
  30462. -# The linker used to build libraries.
  30463. -LD=$lt_LD_CXX
  30464. -
  30465. -# Whether we need hard or soft links.
  30466. -LN_S=$lt_LN_S
  30467. -
  30468. -# A BSD-compatible nm program.
  30469. -NM=$lt_NM
  30470. -
  30471. -# A symbol stripping program
  30472. -STRIP=$lt_STRIP
  30473. -
  30474. -# Used to examine libraries when file_magic_cmd begins "file"
  30475. -MAGIC_CMD=$MAGIC_CMD
  30476. -
  30477. -# Used on cygwin: DLL creation program.
  30478. -DLLTOOL="$DLLTOOL"
  30479. -
  30480. -# Used on cygwin: object dumper.
  30481. -OBJDUMP="$OBJDUMP"
  30482. -
  30483. -# Used on cygwin: assembler.
  30484. -AS="$AS"
  30485. -
  30486. -# The name of the directory that contains temporary libtool files.
  30487. -objdir=$objdir
  30488. -
  30489. -# How to create reloadable object files.
  30490. -reload_flag=$lt_reload_flag
  30491. -reload_cmds=$lt_reload_cmds
  30492. -
  30493. -# How to pass a linker flag through the compiler.
  30494. -wl=$lt_lt_prog_compiler_wl_CXX
  30495. -
  30496. -# Object file suffix (normally "o").
  30497. -objext="$ac_objext"
  30498. -
  30499. -# Old archive suffix (normally "a").
  30500. -libext="$libext"
  30501. -
  30502. -# Shared library suffix (normally ".so").
  30503. -shrext_cmds='$shrext_cmds'
  30504. -
  30505. -# Executable file suffix (normally "").
  30506. -exeext="$exeext"
  30507. -
  30508. -# Additional compiler flags for building library objects.
  30509. -pic_flag=$lt_lt_prog_compiler_pic_CXX
  30510. -pic_mode=$pic_mode
  30511. -
  30512. -# What is the maximum length of a command?
  30513. -max_cmd_len=$lt_cv_sys_max_cmd_len
  30514. -
  30515. -# Does compiler simultaneously support -c and -o options?
  30516. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  30517. -
  30518. -# Must we lock files when doing compilation?
  30519. -need_locks=$lt_need_locks
  30520. -
  30521. -# Do we need the lib prefix for modules?
  30522. -need_lib_prefix=$need_lib_prefix
  30523. -
  30524. -# Do we need a version for libraries?
  30525. -need_version=$need_version
  30526. -
  30527. -# Whether dlopen is supported.
  30528. -dlopen_support=$enable_dlopen
  30529. -
  30530. -# Whether dlopen of programs is supported.
  30531. -dlopen_self=$enable_dlopen_self
  30532. -
  30533. -# Whether dlopen of statically linked programs is supported.
  30534. -dlopen_self_static=$enable_dlopen_self_static
  30535. -
  30536. -# Compiler flag to prevent dynamic linking.
  30537. -link_static_flag=$lt_lt_prog_compiler_static_CXX
  30538. -
  30539. -# Compiler flag to turn off builtin functions.
  30540. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  30541. -
  30542. -# Compiler flag to allow reflexive dlopens.
  30543. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  30544. -
  30545. -# Compiler flag to generate shared objects directly from archives.
  30546. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  30547. -
  30548. -# Compiler flag to generate thread-safe objects.
  30549. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
  30550. -
  30551. -# Library versioning type.
  30552. -version_type=$version_type
  30553. -
  30554. -# Format of library name prefix.
  30555. -libname_spec=$lt_libname_spec
  30556. -
  30557. -# List of archive names. First name is the real one, the rest are links.
  30558. -# The last name is the one that the linker finds with -lNAME.
  30559. -library_names_spec=$lt_library_names_spec
  30560. -
  30561. -# The coded name of the library, if different from the real name.
  30562. -soname_spec=$lt_soname_spec
  30563. -
  30564. -# Commands used to build and install an old-style archive.
  30565. -RANLIB=$lt_RANLIB
  30566. -old_archive_cmds=$lt_old_archive_cmds_CXX
  30567. -old_postinstall_cmds=$lt_old_postinstall_cmds
  30568. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  30569. -
  30570. -# Create an old-style archive from a shared archive.
  30571. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  30572. -
  30573. -# Create a temporary old-style archive to link instead of a shared archive.
  30574. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  30575. -
  30576. -# Commands used to build and install a shared archive.
  30577. -archive_cmds=$lt_archive_cmds_CXX
  30578. -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  30579. -postinstall_cmds=$lt_postinstall_cmds
  30580. -postuninstall_cmds=$lt_postuninstall_cmds
  30581. -
  30582. -# Commands used to build a loadable module (assumed same as above if empty)
  30583. -module_cmds=$lt_module_cmds_CXX
  30584. -module_expsym_cmds=$lt_module_expsym_cmds_CXX
  30585. -
  30586. -# Commands to strip libraries.
  30587. -old_striplib=$lt_old_striplib
  30588. -striplib=$lt_striplib
  30589. -
  30590. -# Dependencies to place before the objects being linked to create a
  30591. -# shared library.
  30592. -predep_objects=$lt_predep_objects_CXX
  30593. -
  30594. -# Dependencies to place after the objects being linked to create a
  30595. -# shared library.
  30596. -postdep_objects=$lt_postdep_objects_CXX
  30597. -
  30598. -# Dependencies to place before the objects being linked to create a
  30599. -# shared library.
  30600. -predeps=$lt_predeps_CXX
  30601. -
  30602. -# Dependencies to place after the objects being linked to create a
  30603. -# shared library.
  30604. -postdeps=$lt_postdeps_CXX
  30605. -
  30606. -# The directories searched by this compiler when creating a shared
  30607. -# library
  30608. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  30609. -
  30610. -# The library search path used internally by the compiler when linking
  30611. -# a shared library.
  30612. -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  30613. -
  30614. -# Method to check whether dependent libraries are shared objects.
  30615. -deplibs_check_method=$lt_deplibs_check_method
  30616. -
  30617. -# Command to use when deplibs_check_method == file_magic.
  30618. -file_magic_cmd=$lt_file_magic_cmd
  30619. -
  30620. -# Flag that allows shared libraries with undefined symbols to be built.
  30621. -allow_undefined_flag=$lt_allow_undefined_flag_CXX
  30622. -
  30623. -# Flag that forces no undefined symbols.
  30624. -no_undefined_flag=$lt_no_undefined_flag_CXX
  30625. -
  30626. -# Commands used to finish a libtool library installation in a directory.
  30627. -finish_cmds=$lt_finish_cmds
  30628. -
  30629. -# Same as above, but a single script fragment to be evaled but not shown.
  30630. -finish_eval=$lt_finish_eval
  30631. -
  30632. -# Take the output of nm and produce a listing of raw symbols and C names.
  30633. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  30634. -
  30635. -# Transform the output of nm in a proper C declaration
  30636. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  30637. -
  30638. -# Transform the output of nm in a C name address pair
  30639. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  30640. -
  30641. -# This is the shared library runtime path variable.
  30642. -runpath_var=$runpath_var
  30643. -
  30644. -# This is the shared library path variable.
  30645. -shlibpath_var=$shlibpath_var
  30646. -
  30647. -# Is shlibpath searched before the hard-coded library search path?
  30648. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  30649. -
  30650. -# How to hardcode a shared library path into an executable.
  30651. -hardcode_action=$hardcode_action_CXX
  30652. -
  30653. -# Whether we should hardcode library paths into libraries.
  30654. -hardcode_into_libs=$hardcode_into_libs
  30655. -
  30656. -# Flag to hardcode \$libdir into a binary during linking.
  30657. -# This must work even if \$libdir does not exist.
  30658. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  30659. -
  30660. -# If ld is used when linking, flag to hardcode \$libdir into
  30661. -# a binary during linking. This must work even if \$libdir does
  30662. -# not exist.
  30663. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  30664. -
  30665. -# Whether we need a single -rpath flag with a separated argument.
  30666. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  30667. -
  30668. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  30669. -# resulting binary.
  30670. -hardcode_direct=$hardcode_direct_CXX
  30671. -
  30672. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  30673. -# resulting binary.
  30674. -hardcode_minus_L=$hardcode_minus_L_CXX
  30675. -
  30676. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  30677. -# the resulting binary.
  30678. -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  30679. -
  30680. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  30681. -# and all subsequent libraries and executables linked against it.
  30682. -hardcode_automatic=$hardcode_automatic_CXX
  30683. -
  30684. -# Variables whose values should be saved in libtool wrapper scripts and
  30685. -# restored at relink time.
  30686. -variables_saved_for_relink="$variables_saved_for_relink"
  30687. -
  30688. -# Whether libtool must link a program against all its dependency libraries.
  30689. -link_all_deplibs=$link_all_deplibs_CXX
  30690. -
  30691. -# Compile-time system search path for libraries
  30692. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  30693. -
  30694. -# Run-time system search path for libraries
  30695. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  30696. -
  30697. -# Fix the shell variable \$srcfile for the compiler.
  30698. -fix_srcfile_path=$lt_fix_srcfile_path
  30699. -
  30700. -# Set to yes if exported symbols are required.
  30701. -always_export_symbols=$always_export_symbols_CXX
  30702. -
  30703. -# The commands to list exported symbols.
  30704. -export_symbols_cmds=$lt_export_symbols_cmds_CXX
  30705. -
  30706. -# The commands to extract the exported symbol list from a shared archive.
  30707. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  30708. -
  30709. -# Symbols that should not be listed in the preloaded symbols.
  30710. -exclude_expsyms=$lt_exclude_expsyms_CXX
  30711. -
  30712. -# Symbols that must always be exported.
  30713. -include_expsyms=$lt_include_expsyms_CXX
  30714. -
  30715. -# ### END LIBTOOL TAG CONFIG: $tagname
  30716. -
  30717. -__EOF__
  30718. -
  30719. -
  30720. -else
  30721. - # If there is no Makefile yet, we rely on a make rule to execute
  30722. - # `config.status --recheck' to rerun these tests and create the
  30723. - # libtool script then.
  30724. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  30725. - if test -f "$ltmain_in"; then
  30726. - test -f Makefile && make "$ltmain"
  30727. - fi
  30728. -fi
  30729. -
  30730. -
  30731. -ac_ext=c
  30732. -ac_cpp='$CPP $CPPFLAGS'
  30733. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30734. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30735. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30736. -
  30737. -CC=$lt_save_CC
  30738. -LDCXX=$LD
  30739. -LD=$lt_save_LD
  30740. -GCC=$lt_save_GCC
  30741. -with_gnu_ldcxx=$with_gnu_ld
  30742. -with_gnu_ld=$lt_save_with_gnu_ld
  30743. -lt_cv_path_LDCXX=$lt_cv_path_LD
  30744. -lt_cv_path_LD=$lt_save_path_LD
  30745. -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  30746. -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  30747. -
  30748. - else
  30749. - tagname=""
  30750. - fi
  30751. - ;;
  30752. -
  30753. - F77)
  30754. - if test -n "$F77" && test "X$F77" != "Xno"; then
  30755. -
  30756. -ac_ext=f
  30757. -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  30758. -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30759. -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  30760. -
  30761. -
  30762. -archive_cmds_need_lc_F77=no
  30763. -allow_undefined_flag_F77=
  30764. -always_export_symbols_F77=no
  30765. -archive_expsym_cmds_F77=
  30766. -export_dynamic_flag_spec_F77=
  30767. -hardcode_direct_F77=no
  30768. -hardcode_libdir_flag_spec_F77=
  30769. -hardcode_libdir_flag_spec_ld_F77=
  30770. -hardcode_libdir_separator_F77=
  30771. -hardcode_minus_L_F77=no
  30772. -hardcode_automatic_F77=no
  30773. -module_cmds_F77=
  30774. -module_expsym_cmds_F77=
  30775. -link_all_deplibs_F77=unknown
  30776. -old_archive_cmds_F77=$old_archive_cmds
  30777. -no_undefined_flag_F77=
  30778. -whole_archive_flag_spec_F77=
  30779. -enable_shared_with_static_runtimes_F77=no
  30780. -
  30781. -# Source file extension for f77 test sources.
  30782. -ac_ext=f
  30783. -
  30784. -# Object file extension for compiled f77 test sources.
  30785. -objext=o
  30786. -objext_F77=$objext
  30787. -
  30788. -# Code to be used in simple compile tests
  30789. -lt_simple_compile_test_code="\
  30790. - subroutine t
  30791. - return
  30792. - end
  30793. -"
  30794. -
  30795. -# Code to be used in simple link tests
  30796. -lt_simple_link_test_code="\
  30797. - program t
  30798. - end
  30799. -"
  30800. -
  30801. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  30802. -
  30803. -# If no C compiler was specified, use CC.
  30804. -LTCC=${LTCC-"$CC"}
  30805. -
  30806. -# If no C compiler flags were specified, use CFLAGS.
  30807. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  30808. -
  30809. -# Allow CC to be a program name with arguments.
  30810. -compiler=$CC
  30811. -
  30812. -
  30813. -# save warnings/boilerplate of simple test code
  30814. -ac_outfile=conftest.$ac_objext
  30815. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  30816. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  30817. -_lt_compiler_boilerplate=`cat conftest.err`
  30818. -$rm conftest*
  30819. -
  30820. -ac_outfile=conftest.$ac_objext
  30821. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  30822. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  30823. -_lt_linker_boilerplate=`cat conftest.err`
  30824. -$rm -r conftest*
  30825. -
  30826. -
  30827. -# Allow CC to be a program name with arguments.
  30828. -lt_save_CC="$CC"
  30829. -CC=${F77-"f77"}
  30830. -compiler=$CC
  30831. -compiler_F77=$CC
  30832. -for cc_temp in $compiler""; do
  30833. - case $cc_temp in
  30834. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  30835. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  30836. - \-*) ;;
  30837. - *) break;;
  30838. - esac
  30839. -done
  30840. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  30841. -
  30842. -
  30843. -{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  30844. -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
  30845. -{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
  30846. -echo "${ECHO_T}$can_build_shared" >&6; }
  30847. -
  30848. -{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  30849. -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
  30850. -test "$can_build_shared" = "no" && enable_shared=no
  30851. -
  30852. -# On AIX, shared libraries and static libraries use the same namespace, and
  30853. -# are all built from PIC.
  30854. -case $host_os in
  30855. -aix3*)
  30856. - test "$enable_shared" = yes && enable_static=no
  30857. - if test -n "$RANLIB"; then
  30858. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  30859. - postinstall_cmds='$RANLIB $lib'
  30860. - fi
  30861. - ;;
  30862. -aix[4-9]*)
  30863. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  30864. - test "$enable_shared" = yes && enable_static=no
  30865. - fi
  30866. - ;;
  30867. -esac
  30868. -{ echo "$as_me:$LINENO: result: $enable_shared" >&5
  30869. -echo "${ECHO_T}$enable_shared" >&6; }
  30870. -
  30871. -{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  30872. -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
  30873. -# Make sure either enable_shared or enable_static is yes.
  30874. -test "$enable_shared" = yes || enable_static=yes
  30875. -{ echo "$as_me:$LINENO: result: $enable_static" >&5
  30876. -echo "${ECHO_T}$enable_static" >&6; }
  30877. -
  30878. -GCC_F77="$G77"
  30879. -LD_F77="$LD"
  30880. -
  30881. -lt_prog_compiler_wl_F77=
  30882. -lt_prog_compiler_pic_F77=
  30883. -lt_prog_compiler_static_F77=
  30884. -
  30885. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  30886. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  30887. -
  30888. - if test "$GCC" = yes; then
  30889. - lt_prog_compiler_wl_F77='-Wl,'
  30890. - lt_prog_compiler_static_F77='-static'
  30891. -
  30892. - case $host_os in
  30893. - aix*)
  30894. - # All AIX code is PIC.
  30895. - if test "$host_cpu" = ia64; then
  30896. - # AIX 5 now supports IA64 processor
  30897. - lt_prog_compiler_static_F77='-Bstatic'
  30898. - fi
  30899. - ;;
  30900. -
  30901. - amigaos*)
  30902. - # FIXME: we need at least 68020 code to build shared libraries, but
  30903. - # adding the `-m68020' flag to GCC prevents building anything better,
  30904. - # like `-m68040'.
  30905. - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
  30906. - ;;
  30907. -
  30908. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  30909. - # PIC is the default for these OSes.
  30910. - ;;
  30911. -
  30912. - mingw* | cygwin* | pw32* | os2*)
  30913. - # This hack is so that the source file can tell whether it is being
  30914. - # built for inclusion in a dll (and should export symbols for example).
  30915. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  30916. - # (--disable-auto-import) libraries
  30917. - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
  30918. - ;;
  30919. -
  30920. - darwin* | rhapsody*)
  30921. - # PIC is the default on this platform
  30922. - # Common symbols not allowed in MH_DYLIB files
  30923. - lt_prog_compiler_pic_F77='-fno-common'
  30924. - ;;
  30925. -
  30926. - interix[3-9]*)
  30927. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  30928. - # Instead, we relocate shared libraries at runtime.
  30929. - ;;
  30930. -
  30931. - msdosdjgpp*)
  30932. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  30933. - # on systems that don't support them.
  30934. - lt_prog_compiler_can_build_shared_F77=no
  30935. - enable_shared=no
  30936. - ;;
  30937. -
  30938. - sysv4*MP*)
  30939. - if test -d /usr/nec; then
  30940. - lt_prog_compiler_pic_F77=-Kconform_pic
  30941. - fi
  30942. - ;;
  30943. -
  30944. - hpux*)
  30945. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  30946. - # not for PA HP-UX.
  30947. - case $host_cpu in
  30948. - hppa*64*|ia64*)
  30949. - # +Z the default
  30950. - ;;
  30951. - *)
  30952. - lt_prog_compiler_pic_F77='-fPIC'
  30953. - ;;
  30954. - esac
  30955. - ;;
  30956. -
  30957. - *)
  30958. - lt_prog_compiler_pic_F77='-fPIC'
  30959. - ;;
  30960. - esac
  30961. - else
  30962. - # PORTME Check for flag to pass linker flags through the system compiler.
  30963. - case $host_os in
  30964. - aix*)
  30965. - lt_prog_compiler_wl_F77='-Wl,'
  30966. - if test "$host_cpu" = ia64; then
  30967. - # AIX 5 now supports IA64 processor
  30968. - lt_prog_compiler_static_F77='-Bstatic'
  30969. - else
  30970. - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
  30971. - fi
  30972. - ;;
  30973. - darwin*)
  30974. - # PIC is the default on this platform
  30975. - # Common symbols not allowed in MH_DYLIB files
  30976. - case $cc_basename in
  30977. - xlc*)
  30978. - lt_prog_compiler_pic_F77='-qnocommon'
  30979. - lt_prog_compiler_wl_F77='-Wl,'
  30980. - ;;
  30981. - esac
  30982. - ;;
  30983. -
  30984. - mingw* | cygwin* | pw32* | os2*)
  30985. - # This hack is so that the source file can tell whether it is being
  30986. - # built for inclusion in a dll (and should export symbols for example).
  30987. - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
  30988. - ;;
  30989. -
  30990. - hpux9* | hpux10* | hpux11*)
  30991. - lt_prog_compiler_wl_F77='-Wl,'
  30992. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  30993. - # not for PA HP-UX.
  30994. - case $host_cpu in
  30995. - hppa*64*|ia64*)
  30996. - # +Z the default
  30997. - ;;
  30998. - *)
  30999. - lt_prog_compiler_pic_F77='+Z'
  31000. - ;;
  31001. - esac
  31002. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  31003. - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
  31004. - ;;
  31005. -
  31006. - irix5* | irix6* | nonstopux*)
  31007. - lt_prog_compiler_wl_F77='-Wl,'
  31008. - # PIC (with -KPIC) is the default.
  31009. - lt_prog_compiler_static_F77='-non_shared'
  31010. - ;;
  31011. -
  31012. - newsos6)
  31013. - lt_prog_compiler_pic_F77='-KPIC'
  31014. - lt_prog_compiler_static_F77='-Bstatic'
  31015. - ;;
  31016. -
  31017. - linux* | k*bsd*-gnu)
  31018. - case $cc_basename in
  31019. - icc* | ecc*)
  31020. - lt_prog_compiler_wl_F77='-Wl,'
  31021. - lt_prog_compiler_pic_F77='-KPIC'
  31022. - lt_prog_compiler_static_F77='-static'
  31023. - ;;
  31024. - pgcc* | pgf77* | pgf90* | pgf95*)
  31025. - # Portland Group compilers (*not* the Pentium gcc compiler,
  31026. - # which looks to be a dead project)
  31027. - lt_prog_compiler_wl_F77='-Wl,'
  31028. - lt_prog_compiler_pic_F77='-fpic'
  31029. - lt_prog_compiler_static_F77='-Bstatic'
  31030. - ;;
  31031. - ccc*)
  31032. - lt_prog_compiler_wl_F77='-Wl,'
  31033. - # All Alpha code is PIC.
  31034. - lt_prog_compiler_static_F77='-non_shared'
  31035. - ;;
  31036. - *)
  31037. - case `$CC -V 2>&1 | sed 5q` in
  31038. - *Sun\ C*)
  31039. - # Sun C 5.9
  31040. - lt_prog_compiler_pic_F77='-KPIC'
  31041. - lt_prog_compiler_static_F77='-Bstatic'
  31042. - lt_prog_compiler_wl_F77='-Wl,'
  31043. - ;;
  31044. - *Sun\ F*)
  31045. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  31046. - lt_prog_compiler_pic_F77='-KPIC'
  31047. - lt_prog_compiler_static_F77='-Bstatic'
  31048. - lt_prog_compiler_wl_F77=''
  31049. - ;;
  31050. - esac
  31051. - ;;
  31052. - esac
  31053. - ;;
  31054. -
  31055. - osf3* | osf4* | osf5*)
  31056. - lt_prog_compiler_wl_F77='-Wl,'
  31057. - # All OSF/1 code is PIC.
  31058. - lt_prog_compiler_static_F77='-non_shared'
  31059. - ;;
  31060. -
  31061. - rdos*)
  31062. - lt_prog_compiler_static_F77='-non_shared'
  31063. - ;;
  31064. -
  31065. - solaris*)
  31066. - lt_prog_compiler_pic_F77='-KPIC'
  31067. - lt_prog_compiler_static_F77='-Bstatic'
  31068. - case $cc_basename in
  31069. - f77* | f90* | f95*)
  31070. - lt_prog_compiler_wl_F77='-Qoption ld ';;
  31071. - *)
  31072. - lt_prog_compiler_wl_F77='-Wl,';;
  31073. - esac
  31074. - ;;
  31075. -
  31076. - sunos4*)
  31077. - lt_prog_compiler_wl_F77='-Qoption ld '
  31078. - lt_prog_compiler_pic_F77='-PIC'
  31079. - lt_prog_compiler_static_F77='-Bstatic'
  31080. - ;;
  31081. -
  31082. - sysv4 | sysv4.2uw2* | sysv4.3*)
  31083. - lt_prog_compiler_wl_F77='-Wl,'
  31084. - lt_prog_compiler_pic_F77='-KPIC'
  31085. - lt_prog_compiler_static_F77='-Bstatic'
  31086. - ;;
  31087. -
  31088. - sysv4*MP*)
  31089. - if test -d /usr/nec ;then
  31090. - lt_prog_compiler_pic_F77='-Kconform_pic'
  31091. - lt_prog_compiler_static_F77='-Bstatic'
  31092. - fi
  31093. - ;;
  31094. -
  31095. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  31096. - lt_prog_compiler_wl_F77='-Wl,'
  31097. - lt_prog_compiler_pic_F77='-KPIC'
  31098. - lt_prog_compiler_static_F77='-Bstatic'
  31099. - ;;
  31100. -
  31101. - unicos*)
  31102. - lt_prog_compiler_wl_F77='-Wl,'
  31103. - lt_prog_compiler_can_build_shared_F77=no
  31104. - ;;
  31105. -
  31106. - uts4*)
  31107. - lt_prog_compiler_pic_F77='-pic'
  31108. - lt_prog_compiler_static_F77='-Bstatic'
  31109. - ;;
  31110. -
  31111. - *)
  31112. - lt_prog_compiler_can_build_shared_F77=no
  31113. - ;;
  31114. - esac
  31115. - fi
  31116. -
  31117. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
  31118. -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
  31119. -
  31120. -#
  31121. -# Check to make sure the PIC flag actually works.
  31122. -#
  31123. -if test -n "$lt_prog_compiler_pic_F77"; then
  31124. -
  31125. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
  31126. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
  31127. -if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
  31128. - echo $ECHO_N "(cached) $ECHO_C" >&6
  31129. -else
  31130. - lt_cv_prog_compiler_pic_works_F77=no
  31131. - ac_outfile=conftest.$ac_objext
  31132. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  31133. - lt_compiler_flag="$lt_prog_compiler_pic_F77"
  31134. - # Insert the option either (1) after the last *FLAGS variable, or
  31135. - # (2) before a word containing "conftest.", or (3) at the end.
  31136. - # Note that $ac_compile itself does not contain backslashes and begins
  31137. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  31138. - # The option is referenced via a variable to avoid confusing sed.
  31139. - lt_compile=`echo "$ac_compile" | $SED \
  31140. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  31141. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  31142. - -e 's:$: $lt_compiler_flag:'`
  31143. - (eval echo "\"\$as_me:14681: $lt_compile\"" >&5)
  31144. - (eval "$lt_compile" 2>conftest.err)
  31145. - ac_status=$?
  31146. - cat conftest.err >&5
  31147. - echo "$as_me:14685: \$? = $ac_status" >&5
  31148. - if (exit $ac_status) && test -s "$ac_outfile"; then
  31149. - # The compiler can only warn and ignore the option if not recognized
  31150. - # So say no if there are warnings other than the usual output.
  31151. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  31152. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  31153. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  31154. - lt_cv_prog_compiler_pic_works_F77=yes
  31155. - fi
  31156. - fi
  31157. - $rm conftest*
  31158. -
  31159. -fi
  31160. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
  31161. -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
  31162. -
  31163. -if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
  31164. - case $lt_prog_compiler_pic_F77 in
  31165. - "" | " "*) ;;
  31166. - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
  31167. - esac
  31168. -else
  31169. - lt_prog_compiler_pic_F77=
  31170. - lt_prog_compiler_can_build_shared_F77=no
  31171. -fi
  31172. -
  31173. -fi
  31174. -case $host_os in
  31175. - # For platforms which do not support PIC, -DPIC is meaningless:
  31176. - *djgpp*)
  31177. - lt_prog_compiler_pic_F77=
  31178. - ;;
  31179. - *)
  31180. - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
  31181. - ;;
  31182. -esac
  31183. -
  31184. -#
  31185. -# Check to make sure the static flag actually works.
  31186. -#
  31187. -wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
  31188. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  31189. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  31190. -if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
  31191. - echo $ECHO_N "(cached) $ECHO_C" >&6
  31192. -else
  31193. - lt_cv_prog_compiler_static_works_F77=no
  31194. - save_LDFLAGS="$LDFLAGS"
  31195. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  31196. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  31197. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  31198. - # The linker can only warn and ignore the option if not recognized
  31199. - # So say no if there are warnings
  31200. - if test -s conftest.err; then
  31201. - # Append any errors to the config.log.
  31202. - cat conftest.err 1>&5
  31203. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  31204. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  31205. - if diff conftest.exp conftest.er2 >/dev/null; then
  31206. - lt_cv_prog_compiler_static_works_F77=yes
  31207. - fi
  31208. - else
  31209. - lt_cv_prog_compiler_static_works_F77=yes
  31210. - fi
  31211. - fi
  31212. - $rm -r conftest*
  31213. - LDFLAGS="$save_LDFLAGS"
  31214. -
  31215. -fi
  31216. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
  31217. -echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
  31218. -
  31219. -if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
  31220. - :
  31221. -else
  31222. - lt_prog_compiler_static_F77=
  31223. -fi
  31224. -
  31225. -
  31226. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  31227. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  31228. -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
  31229. - echo $ECHO_N "(cached) $ECHO_C" >&6
  31230. -else
  31231. - lt_cv_prog_compiler_c_o_F77=no
  31232. - $rm -r conftest 2>/dev/null
  31233. - mkdir conftest
  31234. - cd conftest
  31235. - mkdir out
  31236. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  31237. -
  31238. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  31239. - # Insert the option either (1) after the last *FLAGS variable, or
  31240. - # (2) before a word containing "conftest.", or (3) at the end.
  31241. - # Note that $ac_compile itself does not contain backslashes and begins
  31242. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  31243. - lt_compile=`echo "$ac_compile" | $SED \
  31244. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  31245. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  31246. - -e 's:$: $lt_compiler_flag:'`
  31247. - (eval echo "\"\$as_me:14785: $lt_compile\"" >&5)
  31248. - (eval "$lt_compile" 2>out/conftest.err)
  31249. - ac_status=$?
  31250. - cat out/conftest.err >&5
  31251. - echo "$as_me:14789: \$? = $ac_status" >&5
  31252. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  31253. - then
  31254. - # The compiler can only warn and ignore the option if not recognized
  31255. - # So say no if there are warnings
  31256. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  31257. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  31258. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  31259. - lt_cv_prog_compiler_c_o_F77=yes
  31260. - fi
  31261. - fi
  31262. - chmod u+w . 2>&5
  31263. - $rm conftest*
  31264. - # SGI C++ compiler will create directory out/ii_files/ for
  31265. - # template instantiation
  31266. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  31267. - $rm out/* && rmdir out
  31268. - cd ..
  31269. - rmdir conftest
  31270. - $rm conftest*
  31271. -
  31272. -fi
  31273. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
  31274. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
  31275. -
  31276. -
  31277. -hard_links="nottested"
  31278. -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
  31279. - # do not overwrite the value of need_locks provided by the user
  31280. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  31281. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  31282. - hard_links=yes
  31283. - $rm conftest*
  31284. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  31285. - touch conftest.a
  31286. - ln conftest.a conftest.b 2>&5 || hard_links=no
  31287. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  31288. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  31289. -echo "${ECHO_T}$hard_links" >&6; }
  31290. - if test "$hard_links" = no; then
  31291. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  31292. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  31293. - need_locks=warn
  31294. - fi
  31295. -else
  31296. - need_locks=no
  31297. -fi
  31298. -
  31299. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  31300. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  31301. -
  31302. - runpath_var=
  31303. - allow_undefined_flag_F77=
  31304. - enable_shared_with_static_runtimes_F77=no
  31305. - archive_cmds_F77=
  31306. - archive_expsym_cmds_F77=
  31307. - old_archive_From_new_cmds_F77=
  31308. - old_archive_from_expsyms_cmds_F77=
  31309. - export_dynamic_flag_spec_F77=
  31310. - whole_archive_flag_spec_F77=
  31311. - thread_safe_flag_spec_F77=
  31312. - hardcode_libdir_flag_spec_F77=
  31313. - hardcode_libdir_flag_spec_ld_F77=
  31314. - hardcode_libdir_separator_F77=
  31315. - hardcode_direct_F77=no
  31316. - hardcode_minus_L_F77=no
  31317. - hardcode_shlibpath_var_F77=unsupported
  31318. - link_all_deplibs_F77=unknown
  31319. - hardcode_automatic_F77=no
  31320. - module_cmds_F77=
  31321. - module_expsym_cmds_F77=
  31322. - always_export_symbols_F77=no
  31323. - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  31324. - # include_expsyms should be a list of space-separated symbols to be *always*
  31325. - # included in the symbol list
  31326. - include_expsyms_F77=
  31327. - # exclude_expsyms can be an extended regexp of symbols to exclude
  31328. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  31329. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  31330. - # as well as any symbol that contains `d'.
  31331. - exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  31332. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  31333. - # platforms (ab)use it in PIC code, but their linkers get confused if
  31334. - # the symbol is explicitly referenced. Since portable code cannot
  31335. - # rely on this symbol name, it's probably fine to never include it in
  31336. - # preloaded symbol tables.
  31337. - # Exclude shared library initialization/finalization symbols.
  31338. - extract_expsyms_cmds=
  31339. - # Just being paranoid about ensuring that cc_basename is set.
  31340. - for cc_temp in $compiler""; do
  31341. - case $cc_temp in
  31342. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  31343. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  31344. - \-*) ;;
  31345. - *) break;;
  31346. - esac
  31347. -done
  31348. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  31349. -
  31350. - case $host_os in
  31351. - cygwin* | mingw* | pw32*)
  31352. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  31353. - # When not using gcc, we currently assume that we are using
  31354. - # Microsoft Visual C++.
  31355. - if test "$GCC" != yes; then
  31356. - with_gnu_ld=no
  31357. - fi
  31358. - ;;
  31359. - interix*)
  31360. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  31361. - with_gnu_ld=yes
  31362. - ;;
  31363. - openbsd*)
  31364. - with_gnu_ld=no
  31365. - ;;
  31366. - esac
  31367. -
  31368. - ld_shlibs_F77=yes
  31369. - if test "$with_gnu_ld" = yes; then
  31370. - # If archive_cmds runs LD, not CC, wlarc should be empty
  31371. - wlarc='${wl}'
  31372. -
  31373. - # Set some defaults for GNU ld with shared library support. These
  31374. - # are reset later if shared libraries are not supported. Putting them
  31375. - # here allows them to be overridden if necessary.
  31376. - runpath_var=LD_RUN_PATH
  31377. - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
  31378. - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
  31379. - # ancient GNU ld didn't support --whole-archive et. al.
  31380. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  31381. - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  31382. - else
  31383. - whole_archive_flag_spec_F77=
  31384. - fi
  31385. - supports_anon_versioning=no
  31386. - case `$LD -v 2>/dev/null` in
  31387. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  31388. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  31389. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  31390. - *\ 2.11.*) ;; # other 2.11 versions
  31391. - *) supports_anon_versioning=yes ;;
  31392. - esac
  31393. -
  31394. - # See if GNU ld supports shared libraries.
  31395. - case $host_os in
  31396. - aix[3-9]*)
  31397. - # On AIX/PPC, the GNU linker is very broken
  31398. - if test "$host_cpu" != ia64; then
  31399. - ld_shlibs_F77=no
  31400. - cat <<EOF 1>&2
  31401. -
  31402. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  31403. -*** to be unable to reliably create shared libraries on AIX.
  31404. -*** Therefore, libtool is disabling shared libraries support. If you
  31405. -*** really care for shared libraries, you may want to modify your PATH
  31406. -*** so that a non-GNU linker is found, and then restart.
  31407. -
  31408. -EOF
  31409. - fi
  31410. - ;;
  31411. -
  31412. - amigaos*)
  31413. - 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)'
  31414. - hardcode_libdir_flag_spec_F77='-L$libdir'
  31415. - hardcode_minus_L_F77=yes
  31416. -
  31417. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  31418. - # that the semantics of dynamic libraries on AmigaOS, at least up
  31419. - # to version 4, is to share data among multiple programs linked
  31420. - # with the same dynamic library. Since this doesn't match the
  31421. - # behavior of shared libraries on other platforms, we can't use
  31422. - # them.
  31423. - ld_shlibs_F77=no
  31424. - ;;
  31425. -
  31426. - beos*)
  31427. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  31428. - allow_undefined_flag_F77=unsupported
  31429. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  31430. - # support --undefined. This deserves some investigation. FIXME
  31431. - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31432. - else
  31433. - ld_shlibs_F77=no
  31434. - fi
  31435. - ;;
  31436. -
  31437. - cygwin* | mingw* | pw32*)
  31438. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
  31439. - # as there is no search path for DLLs.
  31440. - hardcode_libdir_flag_spec_F77='-L$libdir'
  31441. - allow_undefined_flag_F77=unsupported
  31442. - always_export_symbols_F77=no
  31443. - enable_shared_with_static_runtimes_F77=yes
  31444. - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  31445. -
  31446. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  31447. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  31448. - # If the export-symbols file already is a .def file (1st line
  31449. - # is EXPORTS), use it as is; otherwise, prepend...
  31450. - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  31451. - cp $export_symbols $output_objdir/$soname.def;
  31452. - else
  31453. - echo EXPORTS > $output_objdir/$soname.def;
  31454. - cat $export_symbols >> $output_objdir/$soname.def;
  31455. - fi~
  31456. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  31457. - else
  31458. - ld_shlibs_F77=no
  31459. - fi
  31460. - ;;
  31461. -
  31462. - interix[3-9]*)
  31463. - hardcode_direct_F77=no
  31464. - hardcode_shlibpath_var_F77=no
  31465. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  31466. - export_dynamic_flag_spec_F77='${wl}-E'
  31467. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  31468. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  31469. - # default) and relocated if they conflict, which is a slow very memory
  31470. - # consuming and fragmenting process. To avoid this, we pick a random,
  31471. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  31472. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  31473. - 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'
  31474. - 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'
  31475. - ;;
  31476. -
  31477. - gnu* | linux* | k*bsd*-gnu)
  31478. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  31479. - tmp_addflag=
  31480. - case $cc_basename,$host_cpu in
  31481. - pgcc*) # Portland Group C compiler
  31482. - 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'
  31483. - tmp_addflag=' $pic_flag'
  31484. - ;;
  31485. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  31486. - 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'
  31487. - tmp_addflag=' $pic_flag -Mnomain' ;;
  31488. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  31489. - tmp_addflag=' -i_dynamic' ;;
  31490. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  31491. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  31492. - ifc* | ifort*) # Intel Fortran compiler
  31493. - tmp_addflag=' -nofor_main' ;;
  31494. - esac
  31495. - case `$CC -V 2>&1 | sed 5q` in
  31496. - *Sun\ C*) # Sun C 5.9
  31497. - whole_archive_flag_spec_F77='${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'
  31498. - tmp_sharedflag='-G' ;;
  31499. - *Sun\ F*) # Sun Fortran 8.3
  31500. - tmp_sharedflag='-G' ;;
  31501. - *)
  31502. - tmp_sharedflag='-shared' ;;
  31503. - esac
  31504. - archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31505. -
  31506. - if test $supports_anon_versioning = yes; then
  31507. - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
  31508. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  31509. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  31510. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  31511. - fi
  31512. - link_all_deplibs_F77=no
  31513. - else
  31514. - ld_shlibs_F77=no
  31515. - fi
  31516. - ;;
  31517. -
  31518. - netbsd* | netbsdelf*-gnu)
  31519. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  31520. - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  31521. - wlarc=
  31522. - else
  31523. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31524. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  31525. - fi
  31526. - ;;
  31527. -
  31528. - solaris*)
  31529. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  31530. - ld_shlibs_F77=no
  31531. - cat <<EOF 1>&2
  31532. -
  31533. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  31534. -*** create shared libraries on Solaris systems. Therefore, libtool
  31535. -*** is disabling shared libraries support. We urge you to upgrade GNU
  31536. -*** binutils to release 2.9.1 or newer. Another option is to modify
  31537. -*** your PATH or compiler configuration so that the native linker is
  31538. -*** used, and then restart.
  31539. -
  31540. -EOF
  31541. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  31542. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31543. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  31544. - else
  31545. - ld_shlibs_F77=no
  31546. - fi
  31547. - ;;
  31548. -
  31549. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  31550. - case `$LD -v 2>&1` in
  31551. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  31552. - ld_shlibs_F77=no
  31553. - cat <<_LT_EOF 1>&2
  31554. -
  31555. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  31556. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  31557. -*** is disabling shared libraries support. We urge you to upgrade GNU
  31558. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  31559. -*** your PATH or compiler configuration so that the native linker is
  31560. -*** used, and then restart.
  31561. -
  31562. -_LT_EOF
  31563. - ;;
  31564. - *)
  31565. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  31566. - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  31567. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  31568. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  31569. - else
  31570. - ld_shlibs_F77=no
  31571. - fi
  31572. - ;;
  31573. - esac
  31574. - ;;
  31575. -
  31576. - sunos4*)
  31577. - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  31578. - wlarc=
  31579. - hardcode_direct_F77=yes
  31580. - hardcode_shlibpath_var_F77=no
  31581. - ;;
  31582. -
  31583. - *)
  31584. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  31585. - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31586. - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  31587. - else
  31588. - ld_shlibs_F77=no
  31589. - fi
  31590. - ;;
  31591. - esac
  31592. -
  31593. - if test "$ld_shlibs_F77" = no; then
  31594. - runpath_var=
  31595. - hardcode_libdir_flag_spec_F77=
  31596. - export_dynamic_flag_spec_F77=
  31597. - whole_archive_flag_spec_F77=
  31598. - fi
  31599. - else
  31600. - # PORTME fill in a description of your system's linker (not GNU ld)
  31601. - case $host_os in
  31602. - aix3*)
  31603. - allow_undefined_flag_F77=unsupported
  31604. - always_export_symbols_F77=yes
  31605. - 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'
  31606. - # Note: this linker hardcodes the directories in LIBPATH if there
  31607. - # are no directories specified by -L.
  31608. - hardcode_minus_L_F77=yes
  31609. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  31610. - # Neither direct hardcoding nor static linking is supported with a
  31611. - # broken collect2.
  31612. - hardcode_direct_F77=unsupported
  31613. - fi
  31614. - ;;
  31615. -
  31616. - aix[4-9]*)
  31617. - if test "$host_cpu" = ia64; then
  31618. - # On IA64, the linker does run time linking by default, so we don't
  31619. - # have to do anything special.
  31620. - aix_use_runtimelinking=no
  31621. - exp_sym_flag='-Bexport'
  31622. - no_entry_flag=""
  31623. - else
  31624. - # If we're using GNU nm, then we don't want the "-C" option.
  31625. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  31626. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  31627. - 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'
  31628. - else
  31629. - 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'
  31630. - fi
  31631. - aix_use_runtimelinking=no
  31632. -
  31633. - # Test if we are trying to use run time linking or normal
  31634. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  31635. - # need to do runtime linking.
  31636. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  31637. - for ld_flag in $LDFLAGS; do
  31638. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  31639. - aix_use_runtimelinking=yes
  31640. - break
  31641. - fi
  31642. - done
  31643. - ;;
  31644. - esac
  31645. -
  31646. - exp_sym_flag='-bexport'
  31647. - no_entry_flag='-bnoentry'
  31648. - fi
  31649. -
  31650. - # When large executables or shared objects are built, AIX ld can
  31651. - # have problems creating the table of contents. If linking a library
  31652. - # or program results in "error TOC overflow" add -mminimal-toc to
  31653. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  31654. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  31655. -
  31656. - archive_cmds_F77=''
  31657. - hardcode_direct_F77=yes
  31658. - hardcode_libdir_separator_F77=':'
  31659. - link_all_deplibs_F77=yes
  31660. -
  31661. - if test "$GCC" = yes; then
  31662. - case $host_os in aix4.[012]|aix4.[012].*)
  31663. - # We only want to do this on AIX 4.2 and lower, the check
  31664. - # below for broken collect2 doesn't work under 4.3+
  31665. - collect2name=`${CC} -print-prog-name=collect2`
  31666. - if test -f "$collect2name" && \
  31667. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  31668. - then
  31669. - # We have reworked collect2
  31670. - :
  31671. - else
  31672. - # We have old collect2
  31673. - hardcode_direct_F77=unsupported
  31674. - # It fails to find uninstalled libraries when the uninstalled
  31675. - # path is not listed in the libpath. Setting hardcode_minus_L
  31676. - # to unsupported forces relinking
  31677. - hardcode_minus_L_F77=yes
  31678. - hardcode_libdir_flag_spec_F77='-L$libdir'
  31679. - hardcode_libdir_separator_F77=
  31680. - fi
  31681. - ;;
  31682. - esac
  31683. - shared_flag='-shared'
  31684. - if test "$aix_use_runtimelinking" = yes; then
  31685. - shared_flag="$shared_flag "'${wl}-G'
  31686. - fi
  31687. - else
  31688. - # not using gcc
  31689. - if test "$host_cpu" = ia64; then
  31690. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  31691. - # chokes on -Wl,-G. The following line is correct:
  31692. - shared_flag='-G'
  31693. - else
  31694. - if test "$aix_use_runtimelinking" = yes; then
  31695. - shared_flag='${wl}-G'
  31696. - else
  31697. - shared_flag='${wl}-bM:SRE'
  31698. - fi
  31699. - fi
  31700. - fi
  31701. -
  31702. - # It seems that -bexpall does not export symbols beginning with
  31703. - # underscore (_), so it is better to generate a list of symbols to export.
  31704. - always_export_symbols_F77=yes
  31705. - if test "$aix_use_runtimelinking" = yes; then
  31706. - # Warning - without using the other runtime loading flags (-brtl),
  31707. - # -berok will link without error, but may produce a broken library.
  31708. - allow_undefined_flag_F77='-berok'
  31709. - # Determine the default libpath from the value encoded in an empty executable.
  31710. - cat >conftest.$ac_ext <<_ACEOF
  31711. - program main
  31712. -
  31713. - end
  31714. -_ACEOF
  31715. -rm -f conftest.$ac_objext conftest$ac_exeext
  31716. -if { (ac_try="$ac_link"
  31717. -case "(($ac_try" in
  31718. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  31719. - *) ac_try_echo=$ac_try;;
  31720. -esac
  31721. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  31722. - (eval "$ac_link") 2>conftest.er1
  31723. - ac_status=$?
  31724. - grep -v '^ *+' conftest.er1 >conftest.err
  31725. - rm -f conftest.er1
  31726. - cat conftest.err >&5
  31727. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  31728. - (exit $ac_status); } && {
  31729. - test -z "$ac_f77_werror_flag" ||
  31730. - test ! -s conftest.err
  31731. - } && test -s conftest$ac_exeext &&
  31732. - $as_test_x conftest$ac_exeext; then
  31733. -
  31734. -lt_aix_libpath_sed='
  31735. - /Import File Strings/,/^$/ {
  31736. - /^0/ {
  31737. - s/^0 *\(.*\)$/\1/
  31738. - p
  31739. - }
  31740. - }'
  31741. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  31742. -# Check for a 64-bit object if we didn't find anything.
  31743. -if test -z "$aix_libpath"; then
  31744. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  31745. -fi
  31746. -else
  31747. - echo "$as_me: failed program was:" >&5
  31748. -sed 's/^/| /' conftest.$ac_ext >&5
  31749. -
  31750. -
  31751. -fi
  31752. -
  31753. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  31754. - conftest$ac_exeext conftest.$ac_ext
  31755. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  31756. -
  31757. - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  31758. - 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"
  31759. - else
  31760. - if test "$host_cpu" = ia64; then
  31761. - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
  31762. - allow_undefined_flag_F77="-z nodefs"
  31763. - 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"
  31764. - else
  31765. - # Determine the default libpath from the value encoded in an empty executable.
  31766. - cat >conftest.$ac_ext <<_ACEOF
  31767. - program main
  31768. -
  31769. - end
  31770. -_ACEOF
  31771. -rm -f conftest.$ac_objext conftest$ac_exeext
  31772. -if { (ac_try="$ac_link"
  31773. -case "(($ac_try" in
  31774. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  31775. - *) ac_try_echo=$ac_try;;
  31776. -esac
  31777. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  31778. - (eval "$ac_link") 2>conftest.er1
  31779. - ac_status=$?
  31780. - grep -v '^ *+' conftest.er1 >conftest.err
  31781. - rm -f conftest.er1
  31782. - cat conftest.err >&5
  31783. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  31784. - (exit $ac_status); } && {
  31785. - test -z "$ac_f77_werror_flag" ||
  31786. - test ! -s conftest.err
  31787. - } && test -s conftest$ac_exeext &&
  31788. - $as_test_x conftest$ac_exeext; then
  31789. -
  31790. -lt_aix_libpath_sed='
  31791. - /Import File Strings/,/^$/ {
  31792. - /^0/ {
  31793. - s/^0 *\(.*\)$/\1/
  31794. - p
  31795. - }
  31796. - }'
  31797. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  31798. -# Check for a 64-bit object if we didn't find anything.
  31799. -if test -z "$aix_libpath"; then
  31800. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  31801. -fi
  31802. -else
  31803. - echo "$as_me: failed program was:" >&5
  31804. -sed 's/^/| /' conftest.$ac_ext >&5
  31805. -
  31806. -
  31807. -fi
  31808. -
  31809. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  31810. - conftest$ac_exeext conftest.$ac_ext
  31811. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  31812. -
  31813. - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  31814. - # Warning - without using the other run time loading flags,
  31815. - # -berok will link without error, but may produce a broken library.
  31816. - no_undefined_flag_F77=' ${wl}-bernotok'
  31817. - allow_undefined_flag_F77=' ${wl}-berok'
  31818. - # Exported symbols can be pulled into shared objects from archives
  31819. - whole_archive_flag_spec_F77='$convenience'
  31820. - archive_cmds_need_lc_F77=yes
  31821. - # This is similar to how AIX traditionally builds its shared libraries.
  31822. - 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'
  31823. - fi
  31824. - fi
  31825. - ;;
  31826. -
  31827. - amigaos*)
  31828. - 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)'
  31829. - hardcode_libdir_flag_spec_F77='-L$libdir'
  31830. - hardcode_minus_L_F77=yes
  31831. - # see comment about different semantics on the GNU ld section
  31832. - ld_shlibs_F77=no
  31833. - ;;
  31834. -
  31835. - bsdi[45]*)
  31836. - export_dynamic_flag_spec_F77=-rdynamic
  31837. - ;;
  31838. -
  31839. - cygwin* | mingw* | pw32*)
  31840. - # When not using gcc, we currently assume that we are using
  31841. - # Microsoft Visual C++.
  31842. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  31843. - # no search path for DLLs.
  31844. - hardcode_libdir_flag_spec_F77=' '
  31845. - allow_undefined_flag_F77=unsupported
  31846. - # Tell ltmain to make .lib files, not .a files.
  31847. - libext=lib
  31848. - # Tell ltmain to make .dll files, not .so files.
  31849. - shrext_cmds=".dll"
  31850. - # FIXME: Setting linknames here is a bad hack.
  31851. - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  31852. - # The linker will automatically build a .lib file if we build a DLL.
  31853. - old_archive_From_new_cmds_F77='true'
  31854. - # FIXME: Should let the user specify the lib program.
  31855. - old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
  31856. - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
  31857. - enable_shared_with_static_runtimes_F77=yes
  31858. - ;;
  31859. -
  31860. - darwin* | rhapsody*)
  31861. - case $host_os in
  31862. - rhapsody* | darwin1.[012])
  31863. - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
  31864. - ;;
  31865. - *) # Darwin 1.3 on
  31866. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  31867. - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  31868. - else
  31869. - case ${MACOSX_DEPLOYMENT_TARGET} in
  31870. - 10.[012])
  31871. - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  31872. - ;;
  31873. - 10.*)
  31874. - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
  31875. - ;;
  31876. - esac
  31877. - fi
  31878. - ;;
  31879. - esac
  31880. - archive_cmds_need_lc_F77=no
  31881. - hardcode_direct_F77=no
  31882. - hardcode_automatic_F77=yes
  31883. - hardcode_shlibpath_var_F77=unsupported
  31884. - whole_archive_flag_spec_F77=''
  31885. - link_all_deplibs_F77=yes
  31886. - if test "$GCC" = yes ; then
  31887. - output_verbose_link_cmd='echo'
  31888. - archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  31889. - module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  31890. - archive_expsym_cmds_F77="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}"
  31891. - module_expsym_cmds_F77="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}"
  31892. - else
  31893. - case $cc_basename in
  31894. - xlc*)
  31895. - output_verbose_link_cmd='echo'
  31896. - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  31897. - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  31898. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  31899. - 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  31900. - 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}'
  31901. - ;;
  31902. - *)
  31903. - ld_shlibs_F77=no
  31904. - ;;
  31905. - esac
  31906. - fi
  31907. - ;;
  31908. -
  31909. - dgux*)
  31910. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  31911. - hardcode_libdir_flag_spec_F77='-L$libdir'
  31912. - hardcode_shlibpath_var_F77=no
  31913. - ;;
  31914. -
  31915. - freebsd1*)
  31916. - ld_shlibs_F77=no
  31917. - ;;
  31918. -
  31919. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  31920. - # support. Future versions do this automatically, but an explicit c++rt0.o
  31921. - # does not break anything, and helps significantly (at the cost of a little
  31922. - # extra space).
  31923. - freebsd2.2*)
  31924. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  31925. - hardcode_libdir_flag_spec_F77='-R$libdir'
  31926. - hardcode_direct_F77=yes
  31927. - hardcode_shlibpath_var_F77=no
  31928. - ;;
  31929. -
  31930. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  31931. - freebsd2*)
  31932. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  31933. - hardcode_direct_F77=yes
  31934. - hardcode_minus_L_F77=yes
  31935. - hardcode_shlibpath_var_F77=no
  31936. - ;;
  31937. -
  31938. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  31939. - freebsd* | dragonfly*)
  31940. - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  31941. - hardcode_libdir_flag_spec_F77='-R$libdir'
  31942. - hardcode_direct_F77=yes
  31943. - hardcode_shlibpath_var_F77=no
  31944. - ;;
  31945. -
  31946. - hpux9*)
  31947. - if test "$GCC" = yes; then
  31948. - 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'
  31949. - else
  31950. - 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'
  31951. - fi
  31952. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  31953. - hardcode_libdir_separator_F77=:
  31954. - hardcode_direct_F77=yes
  31955. -
  31956. - # hardcode_minus_L: Not really in the search PATH,
  31957. - # but as the default location of the library.
  31958. - hardcode_minus_L_F77=yes
  31959. - export_dynamic_flag_spec_F77='${wl}-E'
  31960. - ;;
  31961. -
  31962. - hpux10*)
  31963. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  31964. - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  31965. - else
  31966. - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  31967. - fi
  31968. - if test "$with_gnu_ld" = no; then
  31969. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  31970. - hardcode_libdir_separator_F77=:
  31971. -
  31972. - hardcode_direct_F77=yes
  31973. - export_dynamic_flag_spec_F77='${wl}-E'
  31974. -
  31975. - # hardcode_minus_L: Not really in the search PATH,
  31976. - # but as the default location of the library.
  31977. - hardcode_minus_L_F77=yes
  31978. - fi
  31979. - ;;
  31980. -
  31981. - hpux11*)
  31982. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  31983. - case $host_cpu in
  31984. - hppa*64*)
  31985. - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  31986. - ;;
  31987. - ia64*)
  31988. - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  31989. - ;;
  31990. - *)
  31991. - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  31992. - ;;
  31993. - esac
  31994. - else
  31995. - case $host_cpu in
  31996. - hppa*64*)
  31997. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  31998. - ;;
  31999. - ia64*)
  32000. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  32001. - ;;
  32002. - *)
  32003. - archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  32004. - ;;
  32005. - esac
  32006. - fi
  32007. - if test "$with_gnu_ld" = no; then
  32008. - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
  32009. - hardcode_libdir_separator_F77=:
  32010. -
  32011. - case $host_cpu in
  32012. - hppa*64*|ia64*)
  32013. - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
  32014. - hardcode_direct_F77=no
  32015. - hardcode_shlibpath_var_F77=no
  32016. - ;;
  32017. - *)
  32018. - hardcode_direct_F77=yes
  32019. - export_dynamic_flag_spec_F77='${wl}-E'
  32020. -
  32021. - # hardcode_minus_L: Not really in the search PATH,
  32022. - # but as the default location of the library.
  32023. - hardcode_minus_L_F77=yes
  32024. - ;;
  32025. - esac
  32026. - fi
  32027. - ;;
  32028. -
  32029. - irix5* | irix6* | nonstopux*)
  32030. - if test "$GCC" = yes; then
  32031. - 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'
  32032. - else
  32033. - 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'
  32034. - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
  32035. - fi
  32036. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  32037. - hardcode_libdir_separator_F77=:
  32038. - link_all_deplibs_F77=yes
  32039. - ;;
  32040. -
  32041. - netbsd* | netbsdelf*-gnu)
  32042. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  32043. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  32044. - else
  32045. - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  32046. - fi
  32047. - hardcode_libdir_flag_spec_F77='-R$libdir'
  32048. - hardcode_direct_F77=yes
  32049. - hardcode_shlibpath_var_F77=no
  32050. - ;;
  32051. -
  32052. - newsos6)
  32053. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32054. - hardcode_direct_F77=yes
  32055. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  32056. - hardcode_libdir_separator_F77=:
  32057. - hardcode_shlibpath_var_F77=no
  32058. - ;;
  32059. -
  32060. - openbsd*)
  32061. - if test -f /usr/libexec/ld.so; then
  32062. - hardcode_direct_F77=yes
  32063. - hardcode_shlibpath_var_F77=no
  32064. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  32065. - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  32066. - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  32067. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  32068. - export_dynamic_flag_spec_F77='${wl}-E'
  32069. - else
  32070. - case $host_os in
  32071. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  32072. - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  32073. - hardcode_libdir_flag_spec_F77='-R$libdir'
  32074. - ;;
  32075. - *)
  32076. - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  32077. - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  32078. - ;;
  32079. - esac
  32080. - fi
  32081. - else
  32082. - ld_shlibs_F77=no
  32083. - fi
  32084. - ;;
  32085. -
  32086. - os2*)
  32087. - hardcode_libdir_flag_spec_F77='-L$libdir'
  32088. - hardcode_minus_L_F77=yes
  32089. - allow_undefined_flag_F77=unsupported
  32090. - 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'
  32091. - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  32092. - ;;
  32093. -
  32094. - osf3*)
  32095. - if test "$GCC" = yes; then
  32096. - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
  32097. - 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'
  32098. - else
  32099. - allow_undefined_flag_F77=' -expect_unresolved \*'
  32100. - 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'
  32101. - fi
  32102. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  32103. - hardcode_libdir_separator_F77=:
  32104. - ;;
  32105. -
  32106. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  32107. - if test "$GCC" = yes; then
  32108. - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
  32109. - 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'
  32110. - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
  32111. - else
  32112. - allow_undefined_flag_F77=' -expect_unresolved \*'
  32113. - 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'
  32114. - 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~
  32115. - $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'
  32116. -
  32117. - # Both c and cxx compiler support -rpath directly
  32118. - hardcode_libdir_flag_spec_F77='-rpath $libdir'
  32119. - fi
  32120. - hardcode_libdir_separator_F77=:
  32121. - ;;
  32122. -
  32123. - solaris*)
  32124. - no_undefined_flag_F77=' -z text'
  32125. - if test "$GCC" = yes; then
  32126. - wlarc='${wl}'
  32127. - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  32128. - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  32129. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  32130. - else
  32131. - wlarc=''
  32132. - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32133. - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  32134. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  32135. - fi
  32136. - hardcode_libdir_flag_spec_F77='-R$libdir'
  32137. - hardcode_shlibpath_var_F77=no
  32138. - case $host_os in
  32139. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  32140. - *)
  32141. - # The compiler driver will combine and reorder linker options,
  32142. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  32143. - # but is careful enough not to reorder.
  32144. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  32145. - if test "$GCC" = yes; then
  32146. - whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  32147. - else
  32148. - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
  32149. - fi
  32150. - ;;
  32151. - esac
  32152. - link_all_deplibs_F77=yes
  32153. - ;;
  32154. -
  32155. - sunos4*)
  32156. - if test "x$host_vendor" = xsequent; then
  32157. - # Use $CC to link under sequent, because it throws in some extra .o
  32158. - # files that make .init and .fini sections work.
  32159. - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  32160. - else
  32161. - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  32162. - fi
  32163. - hardcode_libdir_flag_spec_F77='-L$libdir'
  32164. - hardcode_direct_F77=yes
  32165. - hardcode_minus_L_F77=yes
  32166. - hardcode_shlibpath_var_F77=no
  32167. - ;;
  32168. -
  32169. - sysv4)
  32170. - case $host_vendor in
  32171. - sni)
  32172. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32173. - hardcode_direct_F77=yes # is this really true???
  32174. - ;;
  32175. - siemens)
  32176. - ## LD is ld it makes a PLAMLIB
  32177. - ## CC just makes a GrossModule.
  32178. - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  32179. - reload_cmds_F77='$CC -r -o $output$reload_objs'
  32180. - hardcode_direct_F77=no
  32181. - ;;
  32182. - motorola)
  32183. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32184. - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
  32185. - ;;
  32186. - esac
  32187. - runpath_var='LD_RUN_PATH'
  32188. - hardcode_shlibpath_var_F77=no
  32189. - ;;
  32190. -
  32191. - sysv4.3*)
  32192. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32193. - hardcode_shlibpath_var_F77=no
  32194. - export_dynamic_flag_spec_F77='-Bexport'
  32195. - ;;
  32196. -
  32197. - sysv4*MP*)
  32198. - if test -d /usr/nec; then
  32199. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32200. - hardcode_shlibpath_var_F77=no
  32201. - runpath_var=LD_RUN_PATH
  32202. - hardcode_runpath_var=yes
  32203. - ld_shlibs_F77=yes
  32204. - fi
  32205. - ;;
  32206. -
  32207. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  32208. - no_undefined_flag_F77='${wl}-z,text'
  32209. - archive_cmds_need_lc_F77=no
  32210. - hardcode_shlibpath_var_F77=no
  32211. - runpath_var='LD_RUN_PATH'
  32212. -
  32213. - if test "$GCC" = yes; then
  32214. - archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32215. - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32216. - else
  32217. - archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32218. - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32219. - fi
  32220. - ;;
  32221. -
  32222. - sysv5* | sco3.2v5* | sco5v6*)
  32223. - # Note: We can NOT use -z defs as we might desire, because we do not
  32224. - # link with -lc, and that would cause any symbols used from libc to
  32225. - # always be unresolved, which means just about no library would
  32226. - # ever link correctly. If we're not using GNU ld we use -z text
  32227. - # though, which does catch some bad symbols but isn't as heavy-handed
  32228. - # as -z defs.
  32229. - no_undefined_flag_F77='${wl}-z,text'
  32230. - allow_undefined_flag_F77='${wl}-z,nodefs'
  32231. - archive_cmds_need_lc_F77=no
  32232. - hardcode_shlibpath_var_F77=no
  32233. - hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  32234. - hardcode_libdir_separator_F77=':'
  32235. - link_all_deplibs_F77=yes
  32236. - export_dynamic_flag_spec_F77='${wl}-Bexport'
  32237. - runpath_var='LD_RUN_PATH'
  32238. -
  32239. - if test "$GCC" = yes; then
  32240. - archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  32241. - archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  32242. - else
  32243. - archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  32244. - archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  32245. - fi
  32246. - ;;
  32247. -
  32248. - uts4*)
  32249. - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32250. - hardcode_libdir_flag_spec_F77='-L$libdir'
  32251. - hardcode_shlibpath_var_F77=no
  32252. - ;;
  32253. -
  32254. - *)
  32255. - ld_shlibs_F77=no
  32256. - ;;
  32257. - esac
  32258. - fi
  32259. -
  32260. -{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
  32261. -echo "${ECHO_T}$ld_shlibs_F77" >&6; }
  32262. -test "$ld_shlibs_F77" = no && can_build_shared=no
  32263. -
  32264. -#
  32265. -# Do we need to explicitly link libc?
  32266. -#
  32267. -case "x$archive_cmds_need_lc_F77" in
  32268. -x|xyes)
  32269. - # Assume -lc should be added
  32270. - archive_cmds_need_lc_F77=yes
  32271. -
  32272. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  32273. - case $archive_cmds_F77 in
  32274. - *'~'*)
  32275. - # FIXME: we may have to deal with multi-command sequences.
  32276. - ;;
  32277. - '$CC '*)
  32278. - # Test whether the compiler implicitly links with -lc since on some
  32279. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  32280. - # to ld, don't add -lc before -lgcc.
  32281. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  32282. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  32283. - $rm conftest*
  32284. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32285. -
  32286. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  32287. - (eval $ac_compile) 2>&5
  32288. - ac_status=$?
  32289. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32290. - (exit $ac_status); } 2>conftest.err; then
  32291. - soname=conftest
  32292. - lib=conftest
  32293. - libobjs=conftest.$ac_objext
  32294. - deplibs=
  32295. - wl=$lt_prog_compiler_wl_F77
  32296. - pic_flag=$lt_prog_compiler_pic_F77
  32297. - compiler_flags=-v
  32298. - linker_flags=-v
  32299. - verstring=
  32300. - output_objdir=.
  32301. - libname=conftest
  32302. - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
  32303. - allow_undefined_flag_F77=
  32304. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  32305. - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  32306. - ac_status=$?
  32307. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  32308. - (exit $ac_status); }
  32309. - then
  32310. - archive_cmds_need_lc_F77=no
  32311. - else
  32312. - archive_cmds_need_lc_F77=yes
  32313. - fi
  32314. - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
  32315. - else
  32316. - cat conftest.err 1>&5
  32317. - fi
  32318. - $rm conftest*
  32319. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
  32320. -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
  32321. - ;;
  32322. - esac
  32323. - fi
  32324. - ;;
  32325. -esac
  32326. -
  32327. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  32328. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  32329. -library_names_spec=
  32330. -libname_spec='lib$name'
  32331. -soname_spec=
  32332. -shrext_cmds=".so"
  32333. -postinstall_cmds=
  32334. -postuninstall_cmds=
  32335. -finish_cmds=
  32336. -finish_eval=
  32337. -shlibpath_var=
  32338. -shlibpath_overrides_runpath=unknown
  32339. -version_type=none
  32340. -dynamic_linker="$host_os ld.so"
  32341. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  32342. -
  32343. -need_lib_prefix=unknown
  32344. -hardcode_into_libs=no
  32345. -
  32346. -# when you set need_version to no, make sure it does not cause -set_version
  32347. -# flags to be left without arguments
  32348. -need_version=unknown
  32349. -
  32350. -case $host_os in
  32351. -aix3*)
  32352. - version_type=linux
  32353. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  32354. - shlibpath_var=LIBPATH
  32355. -
  32356. - # AIX 3 has no versioning support, so we append a major version to the name.
  32357. - soname_spec='${libname}${release}${shared_ext}$major'
  32358. - ;;
  32359. -
  32360. -aix[4-9]*)
  32361. - version_type=linux
  32362. - need_lib_prefix=no
  32363. - need_version=no
  32364. - hardcode_into_libs=yes
  32365. - if test "$host_cpu" = ia64; then
  32366. - # AIX 5 supports IA64
  32367. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  32368. - shlibpath_var=LD_LIBRARY_PATH
  32369. - else
  32370. - # With GCC up to 2.95.x, collect2 would create an import file
  32371. - # for dependence libraries. The import file would start with
  32372. - # the line `#! .'. This would cause the generated library to
  32373. - # depend on `.', always an invalid library. This was fixed in
  32374. - # development snapshots of GCC prior to 3.0.
  32375. - case $host_os in
  32376. - aix4 | aix4.[01] | aix4.[01].*)
  32377. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  32378. - echo ' yes '
  32379. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  32380. - :
  32381. - else
  32382. - can_build_shared=no
  32383. - fi
  32384. - ;;
  32385. - esac
  32386. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  32387. - # soname into executable. Probably we can add versioning support to
  32388. - # collect2, so additional links can be useful in future.
  32389. - if test "$aix_use_runtimelinking" = yes; then
  32390. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  32391. - # instead of lib<name>.a to let people know that these are not
  32392. - # typical AIX shared libraries.
  32393. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32394. - else
  32395. - # We preserve .a as extension for shared libraries through AIX4.2
  32396. - # and later when we are not doing run time linking.
  32397. - library_names_spec='${libname}${release}.a $libname.a'
  32398. - soname_spec='${libname}${release}${shared_ext}$major'
  32399. - fi
  32400. - shlibpath_var=LIBPATH
  32401. - fi
  32402. - ;;
  32403. -
  32404. -amigaos*)
  32405. - library_names_spec='$libname.ixlibrary $libname.a'
  32406. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  32407. - 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'
  32408. - ;;
  32409. -
  32410. -beos*)
  32411. - library_names_spec='${libname}${shared_ext}'
  32412. - dynamic_linker="$host_os ld.so"
  32413. - shlibpath_var=LIBRARY_PATH
  32414. - ;;
  32415. -
  32416. -bsdi[45]*)
  32417. - version_type=linux
  32418. - need_version=no
  32419. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32420. - soname_spec='${libname}${release}${shared_ext}$major'
  32421. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  32422. - shlibpath_var=LD_LIBRARY_PATH
  32423. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  32424. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  32425. - # the default ld.so.conf also contains /usr/contrib/lib and
  32426. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  32427. - # libtool to hard-code these into programs
  32428. - ;;
  32429. -
  32430. -cygwin* | mingw* | pw32*)
  32431. - version_type=windows
  32432. - shrext_cmds=".dll"
  32433. - need_version=no
  32434. - need_lib_prefix=no
  32435. -
  32436. - case $GCC,$host_os in
  32437. - yes,cygwin* | yes,mingw* | yes,pw32*)
  32438. - library_names_spec='$libname.dll.a'
  32439. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  32440. - postinstall_cmds='base_file=`basename \${file}`~
  32441. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  32442. - dldir=$destdir/`dirname \$dlpath`~
  32443. - test -d \$dldir || mkdir -p \$dldir~
  32444. - $install_prog $dir/$dlname \$dldir/$dlname~
  32445. - chmod a+x \$dldir/$dlname'
  32446. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  32447. - dlpath=$dir/\$dldll~
  32448. - $rm \$dlpath'
  32449. - shlibpath_overrides_runpath=yes
  32450. -
  32451. - case $host_os in
  32452. - cygwin*)
  32453. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  32454. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  32455. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  32456. - ;;
  32457. - mingw*)
  32458. - # MinGW DLLs use traditional 'lib' prefix
  32459. - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  32460. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  32461. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  32462. - # It is most probably a Windows format PATH printed by
  32463. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  32464. - # path with ; separators, and with drive letters. We can handle the
  32465. - # drive letters (cygwin fileutils understands them), so leave them,
  32466. - # especially as we might pass files found there to a mingw objdump,
  32467. - # which wouldn't understand a cygwinified path. Ahh.
  32468. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  32469. - else
  32470. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  32471. - fi
  32472. - ;;
  32473. - pw32*)
  32474. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  32475. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  32476. - ;;
  32477. - esac
  32478. - ;;
  32479. -
  32480. - *)
  32481. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  32482. - ;;
  32483. - esac
  32484. - dynamic_linker='Win32 ld.exe'
  32485. - # FIXME: first we should search . and the directory the executable is in
  32486. - shlibpath_var=PATH
  32487. - ;;
  32488. -
  32489. -darwin* | rhapsody*)
  32490. - dynamic_linker="$host_os dyld"
  32491. - version_type=darwin
  32492. - need_lib_prefix=no
  32493. - need_version=no
  32494. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  32495. - soname_spec='${libname}${release}${major}$shared_ext'
  32496. - shlibpath_overrides_runpath=yes
  32497. - shlibpath_var=DYLD_LIBRARY_PATH
  32498. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  32499. -
  32500. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  32501. - ;;
  32502. -
  32503. -dgux*)
  32504. - version_type=linux
  32505. - need_lib_prefix=no
  32506. - need_version=no
  32507. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  32508. - soname_spec='${libname}${release}${shared_ext}$major'
  32509. - shlibpath_var=LD_LIBRARY_PATH
  32510. - ;;
  32511. -
  32512. -freebsd1*)
  32513. - dynamic_linker=no
  32514. - ;;
  32515. -
  32516. -freebsd* | dragonfly*)
  32517. - # DragonFly does not have aout. When/if they implement a new
  32518. - # versioning mechanism, adjust this.
  32519. - if test -x /usr/bin/objformat; then
  32520. - objformat=`/usr/bin/objformat`
  32521. - else
  32522. - case $host_os in
  32523. - freebsd[123]*) objformat=aout ;;
  32524. - *) objformat=elf ;;
  32525. - esac
  32526. - fi
  32527. - version_type=freebsd-$objformat
  32528. - case $version_type in
  32529. - freebsd-elf*)
  32530. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  32531. - need_version=no
  32532. - need_lib_prefix=no
  32533. - ;;
  32534. - freebsd-*)
  32535. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  32536. - need_version=yes
  32537. - ;;
  32538. - esac
  32539. - shlibpath_var=LD_LIBRARY_PATH
  32540. - case $host_os in
  32541. - freebsd2*)
  32542. - shlibpath_overrides_runpath=yes
  32543. - ;;
  32544. - freebsd3.[01]* | freebsdelf3.[01]*)
  32545. - shlibpath_overrides_runpath=yes
  32546. - hardcode_into_libs=yes
  32547. - ;;
  32548. - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  32549. - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  32550. - shlibpath_overrides_runpath=no
  32551. - hardcode_into_libs=yes
  32552. - ;;
  32553. - *) # from 4.6 on, and DragonFly
  32554. - shlibpath_overrides_runpath=yes
  32555. - hardcode_into_libs=yes
  32556. - ;;
  32557. - esac
  32558. - ;;
  32559. -
  32560. -gnu*)
  32561. - version_type=linux
  32562. - need_lib_prefix=no
  32563. - need_version=no
  32564. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  32565. - soname_spec='${libname}${release}${shared_ext}$major'
  32566. - shlibpath_var=LD_LIBRARY_PATH
  32567. - hardcode_into_libs=yes
  32568. - ;;
  32569. -
  32570. -hpux9* | hpux10* | hpux11*)
  32571. - # Give a soname corresponding to the major version so that dld.sl refuses to
  32572. - # link against other versions.
  32573. - version_type=sunos
  32574. - need_lib_prefix=no
  32575. - need_version=no
  32576. - case $host_cpu in
  32577. - ia64*)
  32578. - shrext_cmds='.so'
  32579. - hardcode_into_libs=yes
  32580. - dynamic_linker="$host_os dld.so"
  32581. - shlibpath_var=LD_LIBRARY_PATH
  32582. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  32583. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32584. - soname_spec='${libname}${release}${shared_ext}$major'
  32585. - if test "X$HPUX_IA64_MODE" = X32; then
  32586. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  32587. - else
  32588. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  32589. - fi
  32590. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  32591. - ;;
  32592. - hppa*64*)
  32593. - shrext_cmds='.sl'
  32594. - hardcode_into_libs=yes
  32595. - dynamic_linker="$host_os dld.sl"
  32596. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  32597. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  32598. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32599. - soname_spec='${libname}${release}${shared_ext}$major'
  32600. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  32601. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  32602. - ;;
  32603. - *)
  32604. - shrext_cmds='.sl'
  32605. - dynamic_linker="$host_os dld.sl"
  32606. - shlibpath_var=SHLIB_PATH
  32607. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  32608. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32609. - soname_spec='${libname}${release}${shared_ext}$major'
  32610. - ;;
  32611. - esac
  32612. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  32613. - postinstall_cmds='chmod 555 $lib'
  32614. - ;;
  32615. -
  32616. -interix[3-9]*)
  32617. - version_type=linux
  32618. - need_lib_prefix=no
  32619. - need_version=no
  32620. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  32621. - soname_spec='${libname}${release}${shared_ext}$major'
  32622. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  32623. - shlibpath_var=LD_LIBRARY_PATH
  32624. - shlibpath_overrides_runpath=no
  32625. - hardcode_into_libs=yes
  32626. - ;;
  32627. -
  32628. -irix5* | irix6* | nonstopux*)
  32629. - case $host_os in
  32630. - nonstopux*) version_type=nonstopux ;;
  32631. - *)
  32632. - if test "$lt_cv_prog_gnu_ld" = yes; then
  32633. - version_type=linux
  32634. - else
  32635. - version_type=irix
  32636. - fi ;;
  32637. - esac
  32638. - need_lib_prefix=no
  32639. - need_version=no
  32640. - soname_spec='${libname}${release}${shared_ext}$major'
  32641. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  32642. - case $host_os in
  32643. - irix5* | nonstopux*)
  32644. - libsuff= shlibsuff=
  32645. - ;;
  32646. - *)
  32647. - case $LD in # libtool.m4 will add one of these switches to LD
  32648. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  32649. - libsuff= shlibsuff= libmagic=32-bit;;
  32650. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  32651. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  32652. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  32653. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  32654. - *) libsuff= shlibsuff= libmagic=never-match;;
  32655. - esac
  32656. - ;;
  32657. - esac
  32658. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  32659. - shlibpath_overrides_runpath=no
  32660. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  32661. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  32662. - hardcode_into_libs=yes
  32663. - ;;
  32664. + darwin* | rhapsody*)
  32665. + # PIC is the default on this platform
  32666. + # Common symbols not allowed in MH_DYLIB files
  32667. + lt_prog_compiler_pic='-fno-common'
  32668. + ;;
  32669. -# No shared lib support for Linux oldld, aout, or coff.
  32670. -linux*oldld* | linux*aout* | linux*coff*)
  32671. - dynamic_linker=no
  32672. - ;;
  32673. + hpux*)
  32674. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  32675. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  32676. + # sets the default TLS model and affects inlining.
  32677. + case $host_cpu in
  32678. + hppa*64*)
  32679. + # +Z the default
  32680. + ;;
  32681. + *)
  32682. + lt_prog_compiler_pic='-fPIC'
  32683. + ;;
  32684. + esac
  32685. + ;;
  32686. -# This must be Linux ELF.
  32687. -linux* | k*bsd*-gnu)
  32688. - version_type=linux
  32689. - need_lib_prefix=no
  32690. - need_version=no
  32691. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32692. - soname_spec='${libname}${release}${shared_ext}$major'
  32693. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  32694. - shlibpath_var=LD_LIBRARY_PATH
  32695. - shlibpath_overrides_runpath=no
  32696. - # This implies no fast_install, which is unacceptable.
  32697. - # Some rework will be needed to allow for fast_install
  32698. - # before this can be enabled.
  32699. - hardcode_into_libs=yes
  32700. + interix[3-9]*)
  32701. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  32702. + # Instead, we relocate shared libraries at runtime.
  32703. + ;;
  32704. - # Append ld.so.conf contents to the search path
  32705. - if test -f /etc/ld.so.conf; then
  32706. - 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' ' '`
  32707. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  32708. - fi
  32709. + msdosdjgpp*)
  32710. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  32711. + # on systems that don't support them.
  32712. + lt_prog_compiler_can_build_shared=no
  32713. + enable_shared=no
  32714. + ;;
  32715. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  32716. - # powerpc, because MkLinux only supported shared libraries with the
  32717. - # GNU dynamic linker. Since this was broken with cross compilers,
  32718. - # most powerpc-linux boxes support dynamic linking these days and
  32719. - # people can always --disable-shared, the test was removed, and we
  32720. - # assume the GNU/Linux dynamic linker is in use.
  32721. - dynamic_linker='GNU/Linux ld.so'
  32722. - ;;
  32723. + *nto* | *qnx*)
  32724. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  32725. + # it will coredump.
  32726. + lt_prog_compiler_pic='-fPIC -shared'
  32727. + ;;
  32728. -netbsdelf*-gnu)
  32729. - version_type=linux
  32730. - need_lib_prefix=no
  32731. - need_version=no
  32732. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  32733. - soname_spec='${libname}${release}${shared_ext}$major'
  32734. - shlibpath_var=LD_LIBRARY_PATH
  32735. - shlibpath_overrides_runpath=no
  32736. - hardcode_into_libs=yes
  32737. - dynamic_linker='NetBSD ld.elf_so'
  32738. - ;;
  32739. + sysv4*MP*)
  32740. + if test -d /usr/nec; then
  32741. + lt_prog_compiler_pic=-Kconform_pic
  32742. + fi
  32743. + ;;
  32744. -netbsd*)
  32745. - version_type=sunos
  32746. - need_lib_prefix=no
  32747. - need_version=no
  32748. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  32749. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  32750. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  32751. - dynamic_linker='NetBSD (a.out) ld.so'
  32752. + *)
  32753. + lt_prog_compiler_pic='-fPIC'
  32754. + ;;
  32755. + esac
  32756. else
  32757. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  32758. - soname_spec='${libname}${release}${shared_ext}$major'
  32759. - dynamic_linker='NetBSD ld.elf_so'
  32760. - fi
  32761. - shlibpath_var=LD_LIBRARY_PATH
  32762. - shlibpath_overrides_runpath=yes
  32763. - hardcode_into_libs=yes
  32764. - ;;
  32765. + # PORTME Check for flag to pass linker flags through the system compiler.
  32766. + case $host_os in
  32767. + aix*)
  32768. + lt_prog_compiler_wl='-Wl,'
  32769. + if test "$host_cpu" = ia64; then
  32770. + # AIX 5 now supports IA64 processor
  32771. + lt_prog_compiler_static='-Bstatic'
  32772. + else
  32773. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  32774. + fi
  32775. + ;;
  32776. -newsos6)
  32777. - version_type=linux
  32778. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32779. - shlibpath_var=LD_LIBRARY_PATH
  32780. - shlibpath_overrides_runpath=yes
  32781. - ;;
  32782. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  32783. + # This hack is so that the source file can tell whether it is being
  32784. + # built for inclusion in a dll (and should export symbols for example).
  32785. + lt_prog_compiler_pic='-DDLL_EXPORT'
  32786. + ;;
  32787. -nto-qnx*)
  32788. - version_type=linux
  32789. - need_lib_prefix=no
  32790. - need_version=no
  32791. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32792. - soname_spec='${libname}${release}${shared_ext}$major'
  32793. - shlibpath_var=LD_LIBRARY_PATH
  32794. - shlibpath_overrides_runpath=yes
  32795. - ;;
  32796. + hpux9* | hpux10* | hpux11*)
  32797. + lt_prog_compiler_wl='-Wl,'
  32798. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  32799. + # not for PA HP-UX.
  32800. + case $host_cpu in
  32801. + hppa*64*|ia64*)
  32802. + # +Z the default
  32803. + ;;
  32804. + *)
  32805. + lt_prog_compiler_pic='+Z'
  32806. + ;;
  32807. + esac
  32808. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  32809. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  32810. + ;;
  32811. -openbsd*)
  32812. - version_type=sunos
  32813. - sys_lib_dlsearch_path_spec="/usr/lib"
  32814. - need_lib_prefix=no
  32815. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  32816. - case $host_os in
  32817. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  32818. - *) need_version=no ;;
  32819. - esac
  32820. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  32821. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  32822. - shlibpath_var=LD_LIBRARY_PATH
  32823. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  32824. - case $host_os in
  32825. - openbsd2.[89] | openbsd2.[89].*)
  32826. - shlibpath_overrides_runpath=no
  32827. + irix5* | irix6* | nonstopux*)
  32828. + lt_prog_compiler_wl='-Wl,'
  32829. + # PIC (with -KPIC) is the default.
  32830. + lt_prog_compiler_static='-non_shared'
  32831. + ;;
  32832. +
  32833. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  32834. + case $cc_basename in
  32835. + # old Intel for x86_64 which still supported -KPIC.
  32836. + ecc*)
  32837. + lt_prog_compiler_wl='-Wl,'
  32838. + lt_prog_compiler_pic='-KPIC'
  32839. + lt_prog_compiler_static='-static'
  32840. + ;;
  32841. + # icc used to be incompatible with GCC.
  32842. + # ICC 10 doesn't accept -KPIC any more.
  32843. + icc* | ifort*)
  32844. + lt_prog_compiler_wl='-Wl,'
  32845. + lt_prog_compiler_pic='-fPIC'
  32846. + lt_prog_compiler_static='-static'
  32847. + ;;
  32848. + # Lahey Fortran 8.1.
  32849. + lf95*)
  32850. + lt_prog_compiler_wl='-Wl,'
  32851. + lt_prog_compiler_pic='--shared'
  32852. + lt_prog_compiler_static='--static'
  32853. + ;;
  32854. + pgcc* | pgf77* | pgf90* | pgf95*)
  32855. + # Portland Group compilers (*not* the Pentium gcc compiler,
  32856. + # which looks to be a dead project)
  32857. + lt_prog_compiler_wl='-Wl,'
  32858. + lt_prog_compiler_pic='-fpic'
  32859. + lt_prog_compiler_static='-Bstatic'
  32860. + ;;
  32861. + ccc*)
  32862. + lt_prog_compiler_wl='-Wl,'
  32863. + # All Alpha code is PIC.
  32864. + lt_prog_compiler_static='-non_shared'
  32865. + ;;
  32866. + xl*)
  32867. + # IBM XL C 8.0/Fortran 10.1 on PPC
  32868. + lt_prog_compiler_wl='-Wl,'
  32869. + lt_prog_compiler_pic='-qpic'
  32870. + lt_prog_compiler_static='-qstaticlink'
  32871. ;;
  32872. *)
  32873. - shlibpath_overrides_runpath=yes
  32874. + case `$CC -V 2>&1 | sed 5q` in
  32875. + *Sun\ C*)
  32876. + # Sun C 5.9
  32877. + lt_prog_compiler_pic='-KPIC'
  32878. + lt_prog_compiler_static='-Bstatic'
  32879. + lt_prog_compiler_wl='-Wl,'
  32880. + ;;
  32881. + *Sun\ F*)
  32882. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  32883. + lt_prog_compiler_pic='-KPIC'
  32884. + lt_prog_compiler_static='-Bstatic'
  32885. + lt_prog_compiler_wl=''
  32886. + ;;
  32887. + esac
  32888. ;;
  32889. esac
  32890. - else
  32891. - shlibpath_overrides_runpath=yes
  32892. - fi
  32893. - ;;
  32894. + ;;
  32895. -os2*)
  32896. - libname_spec='$name'
  32897. - shrext_cmds=".dll"
  32898. - need_lib_prefix=no
  32899. - library_names_spec='$libname${shared_ext} $libname.a'
  32900. - dynamic_linker='OS/2 ld.exe'
  32901. - shlibpath_var=LIBPATH
  32902. - ;;
  32903. + newsos6)
  32904. + lt_prog_compiler_pic='-KPIC'
  32905. + lt_prog_compiler_static='-Bstatic'
  32906. + ;;
  32907. -osf3* | osf4* | osf5*)
  32908. - version_type=osf
  32909. - need_lib_prefix=no
  32910. - need_version=no
  32911. - soname_spec='${libname}${release}${shared_ext}$major'
  32912. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32913. - shlibpath_var=LD_LIBRARY_PATH
  32914. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  32915. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  32916. - ;;
  32917. + *nto* | *qnx*)
  32918. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  32919. + # it will coredump.
  32920. + lt_prog_compiler_pic='-fPIC -shared'
  32921. + ;;
  32922. -rdos*)
  32923. - dynamic_linker=no
  32924. - ;;
  32925. + osf3* | osf4* | osf5*)
  32926. + lt_prog_compiler_wl='-Wl,'
  32927. + # All OSF/1 code is PIC.
  32928. + lt_prog_compiler_static='-non_shared'
  32929. + ;;
  32930. -solaris*)
  32931. - version_type=linux
  32932. - need_lib_prefix=no
  32933. - need_version=no
  32934. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32935. - soname_spec='${libname}${release}${shared_ext}$major'
  32936. - shlibpath_var=LD_LIBRARY_PATH
  32937. - shlibpath_overrides_runpath=yes
  32938. - hardcode_into_libs=yes
  32939. - # ldd complains unless libraries are executable
  32940. - postinstall_cmds='chmod +x $lib'
  32941. - ;;
  32942. + rdos*)
  32943. + lt_prog_compiler_static='-non_shared'
  32944. + ;;
  32945. -sunos4*)
  32946. - version_type=sunos
  32947. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  32948. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  32949. - shlibpath_var=LD_LIBRARY_PATH
  32950. - shlibpath_overrides_runpath=yes
  32951. - if test "$with_gnu_ld" = yes; then
  32952. - need_lib_prefix=no
  32953. - fi
  32954. - need_version=yes
  32955. - ;;
  32956. + solaris*)
  32957. + lt_prog_compiler_pic='-KPIC'
  32958. + lt_prog_compiler_static='-Bstatic'
  32959. + case $cc_basename in
  32960. + f77* | f90* | f95*)
  32961. + lt_prog_compiler_wl='-Qoption ld ';;
  32962. + *)
  32963. + lt_prog_compiler_wl='-Wl,';;
  32964. + esac
  32965. + ;;
  32966. -sysv4 | sysv4.3*)
  32967. - version_type=linux
  32968. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  32969. - soname_spec='${libname}${release}${shared_ext}$major'
  32970. - shlibpath_var=LD_LIBRARY_PATH
  32971. - case $host_vendor in
  32972. - sni)
  32973. - shlibpath_overrides_runpath=no
  32974. - need_lib_prefix=no
  32975. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  32976. - runpath_var=LD_RUN_PATH
  32977. + sunos4*)
  32978. + lt_prog_compiler_wl='-Qoption ld '
  32979. + lt_prog_compiler_pic='-PIC'
  32980. + lt_prog_compiler_static='-Bstatic'
  32981. ;;
  32982. - siemens)
  32983. - need_lib_prefix=no
  32984. +
  32985. + sysv4 | sysv4.2uw2* | sysv4.3*)
  32986. + lt_prog_compiler_wl='-Wl,'
  32987. + lt_prog_compiler_pic='-KPIC'
  32988. + lt_prog_compiler_static='-Bstatic'
  32989. ;;
  32990. - motorola)
  32991. - need_lib_prefix=no
  32992. - need_version=no
  32993. - shlibpath_overrides_runpath=no
  32994. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  32995. +
  32996. + sysv4*MP*)
  32997. + if test -d /usr/nec ;then
  32998. + lt_prog_compiler_pic='-Kconform_pic'
  32999. + lt_prog_compiler_static='-Bstatic'
  33000. + fi
  33001. ;;
  33002. - esac
  33003. - ;;
  33004. -sysv4*MP*)
  33005. - if test -d /usr/nec ;then
  33006. - version_type=linux
  33007. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  33008. - soname_spec='$libname${shared_ext}.$major'
  33009. - shlibpath_var=LD_LIBRARY_PATH
  33010. - fi
  33011. - ;;
  33012. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  33013. + lt_prog_compiler_wl='-Wl,'
  33014. + lt_prog_compiler_pic='-KPIC'
  33015. + lt_prog_compiler_static='-Bstatic'
  33016. + ;;
  33017. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  33018. - version_type=freebsd-elf
  33019. - need_lib_prefix=no
  33020. - need_version=no
  33021. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  33022. - soname_spec='${libname}${release}${shared_ext}$major'
  33023. - shlibpath_var=LD_LIBRARY_PATH
  33024. - hardcode_into_libs=yes
  33025. - if test "$with_gnu_ld" = yes; then
  33026. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  33027. - shlibpath_overrides_runpath=no
  33028. - else
  33029. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  33030. - shlibpath_overrides_runpath=yes
  33031. - case $host_os in
  33032. - sco3.2v5*)
  33033. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  33034. - ;;
  33035. + unicos*)
  33036. + lt_prog_compiler_wl='-Wl,'
  33037. + lt_prog_compiler_can_build_shared=no
  33038. + ;;
  33039. +
  33040. + uts4*)
  33041. + lt_prog_compiler_pic='-pic'
  33042. + lt_prog_compiler_static='-Bstatic'
  33043. + ;;
  33044. +
  33045. + *)
  33046. + lt_prog_compiler_can_build_shared=no
  33047. + ;;
  33048. esac
  33049. fi
  33050. - sys_lib_dlsearch_path_spec='/usr/lib'
  33051. - ;;
  33052. -uts4*)
  33053. - version_type=linux
  33054. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  33055. - soname_spec='${libname}${release}${shared_ext}$major'
  33056. - shlibpath_var=LD_LIBRARY_PATH
  33057. - ;;
  33058. +case $host_os in
  33059. + # For platforms which do not support PIC, -DPIC is meaningless:
  33060. + *djgpp*)
  33061. + lt_prog_compiler_pic=
  33062. + ;;
  33063. + *)
  33064. + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  33065. + ;;
  33066. +esac
  33067. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  33068. +$as_echo "$lt_prog_compiler_pic" >&6; }
  33069. +
  33070. +
  33071. +
  33072. +
  33073. +
  33074. +
  33075. +#
  33076. +# Check to make sure the PIC flag actually works.
  33077. +#
  33078. +if test -n "$lt_prog_compiler_pic"; then
  33079. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  33080. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  33081. +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  33082. + $as_echo_n "(cached) " >&6
  33083. +else
  33084. + lt_cv_prog_compiler_pic_works=no
  33085. + ac_outfile=conftest.$ac_objext
  33086. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  33087. + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  33088. + # Insert the option either (1) after the last *FLAGS variable, or
  33089. + # (2) before a word containing "conftest.", or (3) at the end.
  33090. + # Note that $ac_compile itself does not contain backslashes and begins
  33091. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  33092. + # The option is referenced via a variable to avoid confusing sed.
  33093. + lt_compile=`echo "$ac_compile" | $SED \
  33094. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  33095. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  33096. + -e 's:$: $lt_compiler_flag:'`
  33097. + (eval echo "\"\$as_me:8111: $lt_compile\"" >&5)
  33098. + (eval "$lt_compile" 2>conftest.err)
  33099. + ac_status=$?
  33100. + cat conftest.err >&5
  33101. + echo "$as_me:8115: \$? = $ac_status" >&5
  33102. + if (exit $ac_status) && test -s "$ac_outfile"; then
  33103. + # The compiler can only warn and ignore the option if not recognized
  33104. + # So say no if there are warnings other than the usual output.
  33105. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  33106. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  33107. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  33108. + lt_cv_prog_compiler_pic_works=yes
  33109. + fi
  33110. + fi
  33111. + $RM conftest*
  33112. +
  33113. +fi
  33114. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  33115. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  33116. +
  33117. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  33118. + case $lt_prog_compiler_pic in
  33119. + "" | " "*) ;;
  33120. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  33121. + esac
  33122. +else
  33123. + lt_prog_compiler_pic=
  33124. + lt_prog_compiler_can_build_shared=no
  33125. +fi
  33126. +
  33127. +fi
  33128. +
  33129. +
  33130. +
  33131. +
  33132. +
  33133. +
  33134. +#
  33135. +# Check to make sure the static flag actually works.
  33136. +#
  33137. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  33138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  33139. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  33140. +if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  33141. + $as_echo_n "(cached) " >&6
  33142. +else
  33143. + lt_cv_prog_compiler_static_works=no
  33144. + save_LDFLAGS="$LDFLAGS"
  33145. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  33146. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  33147. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  33148. + # The linker can only warn and ignore the option if not recognized
  33149. + # So say no if there are warnings
  33150. + if test -s conftest.err; then
  33151. + # Append any errors to the config.log.
  33152. + cat conftest.err 1>&5
  33153. + $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  33154. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  33155. + if diff conftest.exp conftest.er2 >/dev/null; then
  33156. + lt_cv_prog_compiler_static_works=yes
  33157. + fi
  33158. + else
  33159. + lt_cv_prog_compiler_static_works=yes
  33160. + fi
  33161. + fi
  33162. + $RM -r conftest*
  33163. + LDFLAGS="$save_LDFLAGS"
  33164. -*)
  33165. - dynamic_linker=no
  33166. - ;;
  33167. -esac
  33168. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  33169. -echo "${ECHO_T}$dynamic_linker" >&6; }
  33170. -test "$dynamic_linker" = no && can_build_shared=no
  33171. +fi
  33172. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  33173. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  33174. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  33175. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33176. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  33177. + :
  33178. else
  33179. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  33180. + lt_prog_compiler_static=
  33181. fi
  33182. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  33183. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  33184. - echo $ECHO_N "(cached) $ECHO_C" >&6
  33185. +
  33186. +
  33187. +
  33188. +
  33189. +
  33190. +
  33191. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  33192. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  33193. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  33194. + $as_echo_n "(cached) " >&6
  33195. else
  33196. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  33197. -fi
  33198. + lt_cv_prog_compiler_c_o=no
  33199. + $RM -r conftest 2>/dev/null
  33200. + mkdir conftest
  33201. + cd conftest
  33202. + mkdir out
  33203. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  33204. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  33205. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  33206. + # Insert the option either (1) after the last *FLAGS variable, or
  33207. + # (2) before a word containing "conftest.", or (3) at the end.
  33208. + # Note that $ac_compile itself does not contain backslashes and begins
  33209. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  33210. + lt_compile=`echo "$ac_compile" | $SED \
  33211. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  33212. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  33213. + -e 's:$: $lt_compiler_flag:'`
  33214. + (eval echo "\"\$as_me:8216: $lt_compile\"" >&5)
  33215. + (eval "$lt_compile" 2>out/conftest.err)
  33216. + ac_status=$?
  33217. + cat out/conftest.err >&5
  33218. + echo "$as_me:8220: \$? = $ac_status" >&5
  33219. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  33220. + then
  33221. + # The compiler can only warn and ignore the option if not recognized
  33222. + # So say no if there are warnings
  33223. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  33224. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  33225. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  33226. + lt_cv_prog_compiler_c_o=yes
  33227. + fi
  33228. + fi
  33229. + chmod u+w . 2>&5
  33230. + $RM conftest*
  33231. + # SGI C++ compiler will create directory out/ii_files/ for
  33232. + # template instantiation
  33233. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  33234. + $RM out/* && rmdir out
  33235. + cd ..
  33236. + $RM -r conftest
  33237. + $RM conftest*
  33238. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  33239. -if test "$GCC" = yes; then
  33240. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  33241. fi
  33242. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  33243. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  33244. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  33245. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  33246. -hardcode_action_F77=
  33247. -if test -n "$hardcode_libdir_flag_spec_F77" || \
  33248. - test -n "$runpath_var_F77" || \
  33249. - test "X$hardcode_automatic_F77" = "Xyes" ; then
  33250. - # We can hardcode non-existant directories.
  33251. - if test "$hardcode_direct_F77" != no &&
  33252. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  33253. - # have to relink, otherwise we might link with an installed library
  33254. - # when we should be linking with a yet-to-be-installed one
  33255. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
  33256. - test "$hardcode_minus_L_F77" != no; then
  33257. - # Linking always hardcodes the temporary library directory.
  33258. - hardcode_action_F77=relink
  33259. - else
  33260. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  33261. - hardcode_action_F77=immediate
  33262. - fi
  33263. +
  33264. +
  33265. +
  33266. +
  33267. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  33268. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  33269. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  33270. + $as_echo_n "(cached) " >&6
  33271. else
  33272. - # We cannot hardcode anything, or else we can only hardcode existing
  33273. - # directories.
  33274. - hardcode_action_F77=unsupported
  33275. -fi
  33276. -{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
  33277. -echo "${ECHO_T}$hardcode_action_F77" >&6; }
  33278. + lt_cv_prog_compiler_c_o=no
  33279. + $RM -r conftest 2>/dev/null
  33280. + mkdir conftest
  33281. + cd conftest
  33282. + mkdir out
  33283. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  33284. +
  33285. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  33286. + # Insert the option either (1) after the last *FLAGS variable, or
  33287. + # (2) before a word containing "conftest.", or (3) at the end.
  33288. + # Note that $ac_compile itself does not contain backslashes and begins
  33289. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  33290. + lt_compile=`echo "$ac_compile" | $SED \
  33291. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  33292. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  33293. + -e 's:$: $lt_compiler_flag:'`
  33294. + (eval echo "\"\$as_me:8271: $lt_compile\"" >&5)
  33295. + (eval "$lt_compile" 2>out/conftest.err)
  33296. + ac_status=$?
  33297. + cat out/conftest.err >&5
  33298. + echo "$as_me:8275: \$? = $ac_status" >&5
  33299. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  33300. + then
  33301. + # The compiler can only warn and ignore the option if not recognized
  33302. + # So say no if there are warnings
  33303. + $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  33304. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  33305. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  33306. + lt_cv_prog_compiler_c_o=yes
  33307. + fi
  33308. + fi
  33309. + chmod u+w . 2>&5
  33310. + $RM conftest*
  33311. + # SGI C++ compiler will create directory out/ii_files/ for
  33312. + # template instantiation
  33313. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  33314. + $RM out/* && rmdir out
  33315. + cd ..
  33316. + $RM -r conftest
  33317. + $RM conftest*
  33318. -if test "$hardcode_action_F77" = relink; then
  33319. - # Fast installation is not supported
  33320. - enable_fast_install=no
  33321. -elif test "$shlibpath_overrides_runpath" = yes ||
  33322. - test "$enable_shared" = no; then
  33323. - # Fast installation is not necessary
  33324. - enable_fast_install=needless
  33325. fi
  33326. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  33327. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  33328. -# The else clause should only fire when bootstrapping the
  33329. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  33330. -# with your package, and you will get complaints that there are
  33331. -# no rules to generate ltmain.sh.
  33332. -if test -f "$ltmain"; then
  33333. - # See if we are running on zsh, and set the options which allow our commands through
  33334. - # without removal of \ escapes.
  33335. - if test -n "${ZSH_VERSION+set}" ; then
  33336. - setopt NO_GLOB_SUBST
  33337. - fi
  33338. - # Now quote all the things that may contain metacharacters while being
  33339. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  33340. - # variables and quote the copies for generation of the libtool script.
  33341. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  33342. - SED SHELL STRIP \
  33343. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  33344. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  33345. - deplibs_check_method reload_flag reload_cmds need_locks \
  33346. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  33347. - lt_cv_sys_global_symbol_to_c_name_address \
  33348. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  33349. - old_postinstall_cmds old_postuninstall_cmds \
  33350. - compiler_F77 \
  33351. - CC_F77 \
  33352. - LD_F77 \
  33353. - lt_prog_compiler_wl_F77 \
  33354. - lt_prog_compiler_pic_F77 \
  33355. - lt_prog_compiler_static_F77 \
  33356. - lt_prog_compiler_no_builtin_flag_F77 \
  33357. - export_dynamic_flag_spec_F77 \
  33358. - thread_safe_flag_spec_F77 \
  33359. - whole_archive_flag_spec_F77 \
  33360. - enable_shared_with_static_runtimes_F77 \
  33361. - old_archive_cmds_F77 \
  33362. - old_archive_from_new_cmds_F77 \
  33363. - predep_objects_F77 \
  33364. - postdep_objects_F77 \
  33365. - predeps_F77 \
  33366. - postdeps_F77 \
  33367. - compiler_lib_search_path_F77 \
  33368. - compiler_lib_search_dirs_F77 \
  33369. - archive_cmds_F77 \
  33370. - archive_expsym_cmds_F77 \
  33371. - postinstall_cmds_F77 \
  33372. - postuninstall_cmds_F77 \
  33373. - old_archive_from_expsyms_cmds_F77 \
  33374. - allow_undefined_flag_F77 \
  33375. - no_undefined_flag_F77 \
  33376. - export_symbols_cmds_F77 \
  33377. - hardcode_libdir_flag_spec_F77 \
  33378. - hardcode_libdir_flag_spec_ld_F77 \
  33379. - hardcode_libdir_separator_F77 \
  33380. - hardcode_automatic_F77 \
  33381. - module_cmds_F77 \
  33382. - module_expsym_cmds_F77 \
  33383. - lt_cv_prog_compiler_c_o_F77 \
  33384. - fix_srcfile_path_F77 \
  33385. - exclude_expsyms_F77 \
  33386. - include_expsyms_F77; do
  33387. -
  33388. - case $var in
  33389. - old_archive_cmds_F77 | \
  33390. - old_archive_from_new_cmds_F77 | \
  33391. - archive_cmds_F77 | \
  33392. - archive_expsym_cmds_F77 | \
  33393. - module_cmds_F77 | \
  33394. - module_expsym_cmds_F77 | \
  33395. - old_archive_from_expsyms_cmds_F77 | \
  33396. - export_symbols_cmds_F77 | \
  33397. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  33398. - postinstall_cmds | postuninstall_cmds | \
  33399. - old_postinstall_cmds | old_postuninstall_cmds | \
  33400. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  33401. - # Double-quote double-evaled strings.
  33402. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  33403. - ;;
  33404. - *)
  33405. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  33406. - ;;
  33407. - esac
  33408. - done
  33409. - case $lt_echo in
  33410. - *'\$0 --fallback-echo"')
  33411. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  33412. - ;;
  33413. - esac
  33414. -cfgfile="$ofile"
  33415. +hard_links="nottested"
  33416. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  33417. + # do not overwrite the value of need_locks provided by the user
  33418. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  33419. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  33420. + hard_links=yes
  33421. + $RM conftest*
  33422. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  33423. + touch conftest.a
  33424. + ln conftest.a conftest.b 2>&5 || hard_links=no
  33425. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  33426. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  33427. +$as_echo "$hard_links" >&6; }
  33428. + if test "$hard_links" = no; then
  33429. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  33430. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  33431. + need_locks=warn
  33432. + fi
  33433. +else
  33434. + need_locks=no
  33435. +fi
  33436. +
  33437. - cat <<__EOF__ >> "$cfgfile"
  33438. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  33439. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  33440. -# Shell to use when invoking shell scripts.
  33441. -SHELL=$lt_SHELL
  33442. -# Whether or not to build shared libraries.
  33443. -build_libtool_libs=$enable_shared
  33444. -# Whether or not to build static libraries.
  33445. -build_old_libs=$enable_static
  33446. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  33447. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  33448. -# Whether or not to add -lc for building shared libraries.
  33449. -build_libtool_need_lc=$archive_cmds_need_lc_F77
  33450. + runpath_var=
  33451. + allow_undefined_flag=
  33452. + always_export_symbols=no
  33453. + archive_cmds=
  33454. + archive_expsym_cmds=
  33455. + compiler_needs_object=no
  33456. + enable_shared_with_static_runtimes=no
  33457. + export_dynamic_flag_spec=
  33458. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  33459. + hardcode_automatic=no
  33460. + hardcode_direct=no
  33461. + hardcode_direct_absolute=no
  33462. + hardcode_libdir_flag_spec=
  33463. + hardcode_libdir_flag_spec_ld=
  33464. + hardcode_libdir_separator=
  33465. + hardcode_minus_L=no
  33466. + hardcode_shlibpath_var=unsupported
  33467. + inherit_rpath=no
  33468. + link_all_deplibs=unknown
  33469. + module_cmds=
  33470. + module_expsym_cmds=
  33471. + old_archive_from_new_cmds=
  33472. + old_archive_from_expsyms_cmds=
  33473. + thread_safe_flag_spec=
  33474. + whole_archive_flag_spec=
  33475. + # include_expsyms should be a list of space-separated symbols to be *always*
  33476. + # included in the symbol list
  33477. + include_expsyms=
  33478. + # exclude_expsyms can be an extended regexp of symbols to exclude
  33479. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  33480. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  33481. + # as well as any symbol that contains `d'.
  33482. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  33483. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  33484. + # platforms (ab)use it in PIC code, but their linkers get confused if
  33485. + # the symbol is explicitly referenced. Since portable code cannot
  33486. + # rely on this symbol name, it's probably fine to never include it in
  33487. + # preloaded symbol tables.
  33488. + # Exclude shared library initialization/finalization symbols.
  33489. + extract_expsyms_cmds=
  33490. +
  33491. + case $host_os in
  33492. + cygwin* | mingw* | pw32* | cegcc*)
  33493. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  33494. + # When not using gcc, we currently assume that we are using
  33495. + # Microsoft Visual C++.
  33496. + if test "$GCC" != yes; then
  33497. + with_gnu_ld=no
  33498. + fi
  33499. + ;;
  33500. + interix*)
  33501. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  33502. + with_gnu_ld=yes
  33503. + ;;
  33504. + openbsd*)
  33505. + with_gnu_ld=no
  33506. + ;;
  33507. + linux* | k*bsd*-gnu)
  33508. + link_all_deplibs=no
  33509. + ;;
  33510. + esac
  33511. -# Whether or not to disallow shared libs when runtime libs are static
  33512. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
  33513. + ld_shlibs=yes
  33514. + if test "$with_gnu_ld" = yes; then
  33515. + # If archive_cmds runs LD, not CC, wlarc should be empty
  33516. + wlarc='${wl}'
  33517. -# Whether or not to optimize for fast installation.
  33518. -fast_install=$enable_fast_install
  33519. + # Set some defaults for GNU ld with shared library support. These
  33520. + # are reset later if shared libraries are not supported. Putting them
  33521. + # here allows them to be overridden if necessary.
  33522. + runpath_var=LD_RUN_PATH
  33523. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  33524. + export_dynamic_flag_spec='${wl}--export-dynamic'
  33525. + # ancient GNU ld didn't support --whole-archive et. al.
  33526. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  33527. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  33528. + else
  33529. + whole_archive_flag_spec=
  33530. + fi
  33531. + supports_anon_versioning=no
  33532. + case `$LD -v 2>&1` in
  33533. + *GNU\ gold*) supports_anon_versioning=yes ;;
  33534. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  33535. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  33536. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  33537. + *\ 2.11.*) ;; # other 2.11 versions
  33538. + *) supports_anon_versioning=yes ;;
  33539. + esac
  33540. -# The host system.
  33541. -host_alias=$host_alias
  33542. -host=$host
  33543. -host_os=$host_os
  33544. + # See if GNU ld supports shared libraries.
  33545. + case $host_os in
  33546. + aix[3-9]*)
  33547. + # On AIX/PPC, the GNU linker is very broken
  33548. + if test "$host_cpu" != ia64; then
  33549. + ld_shlibs=no
  33550. + cat <<_LT_EOF 1>&2
  33551. -# The build system.
  33552. -build_alias=$build_alias
  33553. -build=$build
  33554. -build_os=$build_os
  33555. +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  33556. +*** to be unable to reliably create shared libraries on AIX.
  33557. +*** Therefore, libtool is disabling shared libraries support. If you
  33558. +*** really care for shared libraries, you may want to modify your PATH
  33559. +*** so that a non-GNU linker is found, and then restart.
  33560. -# An echo program that does not interpret backslashes.
  33561. -echo=$lt_echo
  33562. +_LT_EOF
  33563. + fi
  33564. + ;;
  33565. -# The archiver.
  33566. -AR=$lt_AR
  33567. -AR_FLAGS=$lt_AR_FLAGS
  33568. + amigaos*)
  33569. + case $host_cpu in
  33570. + powerpc)
  33571. + # see comment about AmigaOS4 .so support
  33572. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33573. + archive_expsym_cmds=''
  33574. + ;;
  33575. + m68k)
  33576. + 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)'
  33577. + hardcode_libdir_flag_spec='-L$libdir'
  33578. + hardcode_minus_L=yes
  33579. + ;;
  33580. + esac
  33581. + ;;
  33582. -# A C compiler.
  33583. -LTCC=$lt_LTCC
  33584. + beos*)
  33585. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33586. + allow_undefined_flag=unsupported
  33587. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  33588. + # support --undefined. This deserves some investigation. FIXME
  33589. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33590. + else
  33591. + ld_shlibs=no
  33592. + fi
  33593. + ;;
  33594. -# LTCC compiler flags.
  33595. -LTCFLAGS=$lt_LTCFLAGS
  33596. + cygwin* | mingw* | pw32* | cegcc*)
  33597. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  33598. + # as there is no search path for DLLs.
  33599. + hardcode_libdir_flag_spec='-L$libdir'
  33600. + allow_undefined_flag=unsupported
  33601. + always_export_symbols=no
  33602. + enable_shared_with_static_runtimes=yes
  33603. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  33604. -# A language-specific compiler.
  33605. -CC=$lt_compiler_F77
  33606. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  33607. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  33608. + # If the export-symbols file already is a .def file (1st line
  33609. + # is EXPORTS), use it as is; otherwise, prepend...
  33610. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  33611. + cp $export_symbols $output_objdir/$soname.def;
  33612. + else
  33613. + echo EXPORTS > $output_objdir/$soname.def;
  33614. + cat $export_symbols >> $output_objdir/$soname.def;
  33615. + fi~
  33616. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  33617. + else
  33618. + ld_shlibs=no
  33619. + fi
  33620. + ;;
  33621. -# Is the compiler the GNU C compiler?
  33622. -with_gcc=$GCC_F77
  33623. + interix[3-9]*)
  33624. + hardcode_direct=no
  33625. + hardcode_shlibpath_var=no
  33626. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  33627. + export_dynamic_flag_spec='${wl}-E'
  33628. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  33629. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  33630. + # default) and relocated if they conflict, which is a slow very memory
  33631. + # consuming and fragmenting process. To avoid this, we pick a random,
  33632. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  33633. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  33634. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  33635. + 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'
  33636. + ;;
  33637. -# An ERE matcher.
  33638. -EGREP=$lt_EGREP
  33639. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  33640. + tmp_diet=no
  33641. + if test "$host_os" = linux-dietlibc; then
  33642. + case $cc_basename in
  33643. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  33644. + esac
  33645. + fi
  33646. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  33647. + && test "$tmp_diet" = no
  33648. + then
  33649. + tmp_addflag=
  33650. + tmp_sharedflag='-shared'
  33651. + case $cc_basename,$host_cpu in
  33652. + pgcc*) # Portland Group C compiler
  33653. + 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'
  33654. + tmp_addflag=' $pic_flag'
  33655. + ;;
  33656. + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  33657. + 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'
  33658. + tmp_addflag=' $pic_flag -Mnomain' ;;
  33659. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  33660. + tmp_addflag=' -i_dynamic' ;;
  33661. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  33662. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  33663. + ifc* | ifort*) # Intel Fortran compiler
  33664. + tmp_addflag=' -nofor_main' ;;
  33665. + lf95*) # Lahey Fortran 8.1
  33666. + whole_archive_flag_spec=
  33667. + tmp_sharedflag='--shared' ;;
  33668. + xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  33669. + tmp_sharedflag='-qmkshrobj'
  33670. + tmp_addflag= ;;
  33671. + esac
  33672. + case `$CC -V 2>&1 | sed 5q` in
  33673. + *Sun\ C*) # Sun C 5.9
  33674. + 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'
  33675. + compiler_needs_object=yes
  33676. + tmp_sharedflag='-G' ;;
  33677. + *Sun\ F*) # Sun Fortran 8.3
  33678. + tmp_sharedflag='-G' ;;
  33679. + esac
  33680. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33681. -# The linker used to build libraries.
  33682. -LD=$lt_LD_F77
  33683. + if test "x$supports_anon_versioning" = xyes; then
  33684. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  33685. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  33686. + echo "local: *; };" >> $output_objdir/$libname.ver~
  33687. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  33688. + fi
  33689. -# Whether we need hard or soft links.
  33690. -LN_S=$lt_LN_S
  33691. + case $cc_basename in
  33692. + xlf*)
  33693. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  33694. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  33695. + hardcode_libdir_flag_spec=
  33696. + hardcode_libdir_flag_spec_ld='-rpath $libdir'
  33697. + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  33698. + if test "x$supports_anon_versioning" = xyes; then
  33699. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  33700. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  33701. + echo "local: *; };" >> $output_objdir/$libname.ver~
  33702. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  33703. + fi
  33704. + ;;
  33705. + esac
  33706. + else
  33707. + ld_shlibs=no
  33708. + fi
  33709. + ;;
  33710. -# A BSD-compatible nm program.
  33711. -NM=$lt_NM
  33712. + netbsd* | netbsdelf*-gnu)
  33713. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  33714. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  33715. + wlarc=
  33716. + else
  33717. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33718. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  33719. + fi
  33720. + ;;
  33721. -# A symbol stripping program
  33722. -STRIP=$lt_STRIP
  33723. + solaris*)
  33724. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  33725. + ld_shlibs=no
  33726. + cat <<_LT_EOF 1>&2
  33727. -# Used to examine libraries when file_magic_cmd begins "file"
  33728. -MAGIC_CMD=$MAGIC_CMD
  33729. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  33730. +*** create shared libraries on Solaris systems. Therefore, libtool
  33731. +*** is disabling shared libraries support. We urge you to upgrade GNU
  33732. +*** binutils to release 2.9.1 or newer. Another option is to modify
  33733. +*** your PATH or compiler configuration so that the native linker is
  33734. +*** used, and then restart.
  33735. -# Used on cygwin: DLL creation program.
  33736. -DLLTOOL="$DLLTOOL"
  33737. +_LT_EOF
  33738. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33739. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33740. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  33741. + else
  33742. + ld_shlibs=no
  33743. + fi
  33744. + ;;
  33745. -# Used on cygwin: object dumper.
  33746. -OBJDUMP="$OBJDUMP"
  33747. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  33748. + case `$LD -v 2>&1` in
  33749. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  33750. + ld_shlibs=no
  33751. + cat <<_LT_EOF 1>&2
  33752. -# Used on cygwin: assembler.
  33753. -AS="$AS"
  33754. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  33755. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  33756. +*** is disabling shared libraries support. We urge you to upgrade GNU
  33757. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  33758. +*** your PATH or compiler configuration so that the native linker is
  33759. +*** used, and then restart.
  33760. -# The name of the directory that contains temporary libtool files.
  33761. -objdir=$objdir
  33762. +_LT_EOF
  33763. + ;;
  33764. + *)
  33765. + # For security reasons, it is highly recommended that you always
  33766. + # use absolute paths for naming shared libraries, and exclude the
  33767. + # DT_RUNPATH tag from executables and libraries. But doing so
  33768. + # requires that you compile everything twice, which is a pain.
  33769. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33770. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  33771. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33772. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  33773. + else
  33774. + ld_shlibs=no
  33775. + fi
  33776. + ;;
  33777. + esac
  33778. + ;;
  33779. -# How to create reloadable object files.
  33780. -reload_flag=$lt_reload_flag
  33781. -reload_cmds=$lt_reload_cmds
  33782. + sunos4*)
  33783. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  33784. + wlarc=
  33785. + hardcode_direct=yes
  33786. + hardcode_shlibpath_var=no
  33787. + ;;
  33788. -# How to pass a linker flag through the compiler.
  33789. -wl=$lt_lt_prog_compiler_wl_F77
  33790. + *)
  33791. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  33792. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33793. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  33794. + else
  33795. + ld_shlibs=no
  33796. + fi
  33797. + ;;
  33798. + esac
  33799. -# Object file suffix (normally "o").
  33800. -objext="$ac_objext"
  33801. + if test "$ld_shlibs" = no; then
  33802. + runpath_var=
  33803. + hardcode_libdir_flag_spec=
  33804. + export_dynamic_flag_spec=
  33805. + whole_archive_flag_spec=
  33806. + fi
  33807. + else
  33808. + # PORTME fill in a description of your system's linker (not GNU ld)
  33809. + case $host_os in
  33810. + aix3*)
  33811. + allow_undefined_flag=unsupported
  33812. + always_export_symbols=yes
  33813. + 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'
  33814. + # Note: this linker hardcodes the directories in LIBPATH if there
  33815. + # are no directories specified by -L.
  33816. + hardcode_minus_L=yes
  33817. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  33818. + # Neither direct hardcoding nor static linking is supported with a
  33819. + # broken collect2.
  33820. + hardcode_direct=unsupported
  33821. + fi
  33822. + ;;
  33823. -# Old archive suffix (normally "a").
  33824. -libext="$libext"
  33825. + aix[4-9]*)
  33826. + if test "$host_cpu" = ia64; then
  33827. + # On IA64, the linker does run time linking by default, so we don't
  33828. + # have to do anything special.
  33829. + aix_use_runtimelinking=no
  33830. + exp_sym_flag='-Bexport'
  33831. + no_entry_flag=""
  33832. + else
  33833. + # If we're using GNU nm, then we don't want the "-C" option.
  33834. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  33835. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  33836. + 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'
  33837. + else
  33838. + 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'
  33839. + fi
  33840. + aix_use_runtimelinking=no
  33841. -# Shared library suffix (normally ".so").
  33842. -shrext_cmds='$shrext_cmds'
  33843. + # Test if we are trying to use run time linking or normal
  33844. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  33845. + # need to do runtime linking.
  33846. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  33847. + for ld_flag in $LDFLAGS; do
  33848. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  33849. + aix_use_runtimelinking=yes
  33850. + break
  33851. + fi
  33852. + done
  33853. + ;;
  33854. + esac
  33855. -# Executable file suffix (normally "").
  33856. -exeext="$exeext"
  33857. + exp_sym_flag='-bexport'
  33858. + no_entry_flag='-bnoentry'
  33859. + fi
  33860. -# Additional compiler flags for building library objects.
  33861. -pic_flag=$lt_lt_prog_compiler_pic_F77
  33862. -pic_mode=$pic_mode
  33863. + # When large executables or shared objects are built, AIX ld can
  33864. + # have problems creating the table of contents. If linking a library
  33865. + # or program results in "error TOC overflow" add -mminimal-toc to
  33866. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  33867. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  33868. -# What is the maximum length of a command?
  33869. -max_cmd_len=$lt_cv_sys_max_cmd_len
  33870. + archive_cmds=''
  33871. + hardcode_direct=yes
  33872. + hardcode_direct_absolute=yes
  33873. + hardcode_libdir_separator=':'
  33874. + link_all_deplibs=yes
  33875. + file_list_spec='${wl}-f,'
  33876. -# Does compiler simultaneously support -c and -o options?
  33877. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
  33878. + if test "$GCC" = yes; then
  33879. + case $host_os in aix4.[012]|aix4.[012].*)
  33880. + # We only want to do this on AIX 4.2 and lower, the check
  33881. + # below for broken collect2 doesn't work under 4.3+
  33882. + collect2name=`${CC} -print-prog-name=collect2`
  33883. + if test -f "$collect2name" &&
  33884. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  33885. + then
  33886. + # We have reworked collect2
  33887. + :
  33888. + else
  33889. + # We have old collect2
  33890. + hardcode_direct=unsupported
  33891. + # It fails to find uninstalled libraries when the uninstalled
  33892. + # path is not listed in the libpath. Setting hardcode_minus_L
  33893. + # to unsupported forces relinking
  33894. + hardcode_minus_L=yes
  33895. + hardcode_libdir_flag_spec='-L$libdir'
  33896. + hardcode_libdir_separator=
  33897. + fi
  33898. + ;;
  33899. + esac
  33900. + shared_flag='-shared'
  33901. + if test "$aix_use_runtimelinking" = yes; then
  33902. + shared_flag="$shared_flag "'${wl}-G'
  33903. + fi
  33904. + link_all_deplibs=no
  33905. + else
  33906. + # not using gcc
  33907. + if test "$host_cpu" = ia64; then
  33908. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  33909. + # chokes on -Wl,-G. The following line is correct:
  33910. + shared_flag='-G'
  33911. + else
  33912. + if test "$aix_use_runtimelinking" = yes; then
  33913. + shared_flag='${wl}-G'
  33914. + else
  33915. + shared_flag='${wl}-bM:SRE'
  33916. + fi
  33917. + fi
  33918. + fi
  33919. -# Must we lock files when doing compilation?
  33920. -need_locks=$lt_need_locks
  33921. + export_dynamic_flag_spec='${wl}-bexpall'
  33922. + # It seems that -bexpall does not export symbols beginning with
  33923. + # underscore (_), so it is better to generate a list of symbols to export.
  33924. + always_export_symbols=yes
  33925. + if test "$aix_use_runtimelinking" = yes; then
  33926. + # Warning - without using the other runtime loading flags (-brtl),
  33927. + # -berok will link without error, but may produce a broken library.
  33928. + allow_undefined_flag='-berok'
  33929. + # Determine the default libpath from the value encoded in an
  33930. + # empty executable.
  33931. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33932. +/* end confdefs.h. */
  33933. -# Do we need the lib prefix for modules?
  33934. -need_lib_prefix=$need_lib_prefix
  33935. +int
  33936. +main ()
  33937. +{
  33938. -# Do we need a version for libraries?
  33939. -need_version=$need_version
  33940. + ;
  33941. + return 0;
  33942. +}
  33943. +_ACEOF
  33944. +if ac_fn_c_try_link "$LINENO"; then :
  33945. -# Whether dlopen is supported.
  33946. -dlopen_support=$enable_dlopen
  33947. +lt_aix_libpath_sed='
  33948. + /Import File Strings/,/^$/ {
  33949. + /^0/ {
  33950. + s/^0 *\(.*\)$/\1/
  33951. + p
  33952. + }
  33953. + }'
  33954. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33955. +# Check for a 64-bit object if we didn't find anything.
  33956. +if test -z "$aix_libpath"; then
  33957. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33958. +fi
  33959. +fi
  33960. +rm -f core conftest.err conftest.$ac_objext \
  33961. + conftest$ac_exeext conftest.$ac_ext
  33962. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  33963. -# Whether dlopen of programs is supported.
  33964. -dlopen_self=$enable_dlopen_self
  33965. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  33966. + 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"
  33967. + else
  33968. + if test "$host_cpu" = ia64; then
  33969. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  33970. + allow_undefined_flag="-z nodefs"
  33971. + 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"
  33972. + else
  33973. + # Determine the default libpath from the value encoded in an
  33974. + # empty executable.
  33975. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33976. +/* end confdefs.h. */
  33977. -# Whether dlopen of statically linked programs is supported.
  33978. -dlopen_self_static=$enable_dlopen_self_static
  33979. +int
  33980. +main ()
  33981. +{
  33982. -# Compiler flag to prevent dynamic linking.
  33983. -link_static_flag=$lt_lt_prog_compiler_static_F77
  33984. + ;
  33985. + return 0;
  33986. +}
  33987. +_ACEOF
  33988. +if ac_fn_c_try_link "$LINENO"; then :
  33989. -# Compiler flag to turn off builtin functions.
  33990. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
  33991. +lt_aix_libpath_sed='
  33992. + /Import File Strings/,/^$/ {
  33993. + /^0/ {
  33994. + s/^0 *\(.*\)$/\1/
  33995. + p
  33996. + }
  33997. + }'
  33998. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  33999. +# Check for a 64-bit object if we didn't find anything.
  34000. +if test -z "$aix_libpath"; then
  34001. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  34002. +fi
  34003. +fi
  34004. +rm -f core conftest.err conftest.$ac_objext \
  34005. + conftest$ac_exeext conftest.$ac_ext
  34006. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  34007. -# Compiler flag to allow reflexive dlopens.
  34008. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
  34009. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  34010. + # Warning - without using the other run time loading flags,
  34011. + # -berok will link without error, but may produce a broken library.
  34012. + no_undefined_flag=' ${wl}-bernotok'
  34013. + allow_undefined_flag=' ${wl}-berok'
  34014. + # Exported symbols can be pulled into shared objects from archives
  34015. + whole_archive_flag_spec='$convenience'
  34016. + archive_cmds_need_lc=yes
  34017. + # This is similar to how AIX traditionally builds its shared libraries.
  34018. + 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'
  34019. + fi
  34020. + fi
  34021. + ;;
  34022. -# Compiler flag to generate shared objects directly from archives.
  34023. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
  34024. + amigaos*)
  34025. + case $host_cpu in
  34026. + powerpc)
  34027. + # see comment about AmigaOS4 .so support
  34028. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  34029. + archive_expsym_cmds=''
  34030. + ;;
  34031. + m68k)
  34032. + 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)'
  34033. + hardcode_libdir_flag_spec='-L$libdir'
  34034. + hardcode_minus_L=yes
  34035. + ;;
  34036. + esac
  34037. + ;;
  34038. -# Compiler flag to generate thread-safe objects.
  34039. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
  34040. + bsdi[45]*)
  34041. + export_dynamic_flag_spec=-rdynamic
  34042. + ;;
  34043. -# Library versioning type.
  34044. -version_type=$version_type
  34045. + cygwin* | mingw* | pw32* | cegcc*)
  34046. + # When not using gcc, we currently assume that we are using
  34047. + # Microsoft Visual C++.
  34048. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  34049. + # no search path for DLLs.
  34050. + hardcode_libdir_flag_spec=' '
  34051. + allow_undefined_flag=unsupported
  34052. + # Tell ltmain to make .lib files, not .a files.
  34053. + libext=lib
  34054. + # Tell ltmain to make .dll files, not .so files.
  34055. + shrext_cmds=".dll"
  34056. + # FIXME: Setting linknames here is a bad hack.
  34057. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  34058. + # The linker will automatically build a .lib file if we build a DLL.
  34059. + old_archive_from_new_cmds='true'
  34060. + # FIXME: Should let the user specify the lib program.
  34061. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  34062. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  34063. + enable_shared_with_static_runtimes=yes
  34064. + ;;
  34065. -# Format of library name prefix.
  34066. -libname_spec=$lt_libname_spec
  34067. + darwin* | rhapsody*)
  34068. -# List of archive names. First name is the real one, the rest are links.
  34069. -# The last name is the one that the linker finds with -lNAME.
  34070. -library_names_spec=$lt_library_names_spec
  34071. -# The coded name of the library, if different from the real name.
  34072. -soname_spec=$lt_soname_spec
  34073. + archive_cmds_need_lc=no
  34074. + hardcode_direct=no
  34075. + hardcode_automatic=yes
  34076. + hardcode_shlibpath_var=unsupported
  34077. + whole_archive_flag_spec=''
  34078. + link_all_deplibs=yes
  34079. + allow_undefined_flag="$_lt_dar_allow_undefined"
  34080. + case $cc_basename in
  34081. + ifort*) _lt_dar_can_shared=yes ;;
  34082. + *) _lt_dar_can_shared=$GCC ;;
  34083. + esac
  34084. + if test "$_lt_dar_can_shared" = "yes"; then
  34085. + output_verbose_link_cmd=echo
  34086. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  34087. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  34088. + 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}"
  34089. + 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}"
  34090. -# Commands used to build and install an old-style archive.
  34091. -RANLIB=$lt_RANLIB
  34092. -old_archive_cmds=$lt_old_archive_cmds_F77
  34093. -old_postinstall_cmds=$lt_old_postinstall_cmds
  34094. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  34095. + else
  34096. + ld_shlibs=no
  34097. + fi
  34098. -# Create an old-style archive from a shared archive.
  34099. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
  34100. + ;;
  34101. -# Create a temporary old-style archive to link instead of a shared archive.
  34102. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
  34103. + dgux*)
  34104. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34105. + hardcode_libdir_flag_spec='-L$libdir'
  34106. + hardcode_shlibpath_var=no
  34107. + ;;
  34108. -# Commands used to build and install a shared archive.
  34109. -archive_cmds=$lt_archive_cmds_F77
  34110. -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
  34111. -postinstall_cmds=$lt_postinstall_cmds
  34112. -postuninstall_cmds=$lt_postuninstall_cmds
  34113. + freebsd1*)
  34114. + ld_shlibs=no
  34115. + ;;
  34116. -# Commands used to build a loadable module (assumed same as above if empty)
  34117. -module_cmds=$lt_module_cmds_F77
  34118. -module_expsym_cmds=$lt_module_expsym_cmds_F77
  34119. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  34120. + # support. Future versions do this automatically, but an explicit c++rt0.o
  34121. + # does not break anything, and helps significantly (at the cost of a little
  34122. + # extra space).
  34123. + freebsd2.2*)
  34124. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  34125. + hardcode_libdir_flag_spec='-R$libdir'
  34126. + hardcode_direct=yes
  34127. + hardcode_shlibpath_var=no
  34128. + ;;
  34129. -# Commands to strip libraries.
  34130. -old_striplib=$lt_old_striplib
  34131. -striplib=$lt_striplib
  34132. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  34133. + freebsd2*)
  34134. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  34135. + hardcode_direct=yes
  34136. + hardcode_minus_L=yes
  34137. + hardcode_shlibpath_var=no
  34138. + ;;
  34139. -# Dependencies to place before the objects being linked to create a
  34140. -# shared library.
  34141. -predep_objects=$lt_predep_objects_F77
  34142. -
  34143. -# Dependencies to place after the objects being linked to create a
  34144. -# shared library.
  34145. -postdep_objects=$lt_postdep_objects_F77
  34146. -
  34147. -# Dependencies to place before the objects being linked to create a
  34148. -# shared library.
  34149. -predeps=$lt_predeps_F77
  34150. -
  34151. -# Dependencies to place after the objects being linked to create a
  34152. -# shared library.
  34153. -postdeps=$lt_postdeps_F77
  34154. -
  34155. -# The directories searched by this compiler when creating a shared
  34156. -# library
  34157. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
  34158. -
  34159. -# The library search path used internally by the compiler when linking
  34160. -# a shared library.
  34161. -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
  34162. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  34163. + freebsd* | dragonfly*)
  34164. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  34165. + hardcode_libdir_flag_spec='-R$libdir'
  34166. + hardcode_direct=yes
  34167. + hardcode_shlibpath_var=no
  34168. + ;;
  34169. -# Method to check whether dependent libraries are shared objects.
  34170. -deplibs_check_method=$lt_deplibs_check_method
  34171. + hpux9*)
  34172. + if test "$GCC" = yes; then
  34173. + 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'
  34174. + else
  34175. + 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'
  34176. + fi
  34177. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  34178. + hardcode_libdir_separator=:
  34179. + hardcode_direct=yes
  34180. -# Command to use when deplibs_check_method == file_magic.
  34181. -file_magic_cmd=$lt_file_magic_cmd
  34182. + # hardcode_minus_L: Not really in the search PATH,
  34183. + # but as the default location of the library.
  34184. + hardcode_minus_L=yes
  34185. + export_dynamic_flag_spec='${wl}-E'
  34186. + ;;
  34187. -# Flag that allows shared libraries with undefined symbols to be built.
  34188. -allow_undefined_flag=$lt_allow_undefined_flag_F77
  34189. + hpux10*)
  34190. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  34191. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  34192. + else
  34193. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  34194. + fi
  34195. + if test "$with_gnu_ld" = no; then
  34196. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  34197. + hardcode_libdir_flag_spec_ld='+b $libdir'
  34198. + hardcode_libdir_separator=:
  34199. + hardcode_direct=yes
  34200. + hardcode_direct_absolute=yes
  34201. + export_dynamic_flag_spec='${wl}-E'
  34202. + # hardcode_minus_L: Not really in the search PATH,
  34203. + # but as the default location of the library.
  34204. + hardcode_minus_L=yes
  34205. + fi
  34206. + ;;
  34207. +
  34208. + hpux11*)
  34209. + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  34210. + case $host_cpu in
  34211. + hppa*64*)
  34212. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  34213. + ;;
  34214. + ia64*)
  34215. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  34216. + ;;
  34217. + *)
  34218. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  34219. + ;;
  34220. + esac
  34221. + else
  34222. + case $host_cpu in
  34223. + hppa*64*)
  34224. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  34225. + ;;
  34226. + ia64*)
  34227. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  34228. + ;;
  34229. + *)
  34230. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  34231. + ;;
  34232. + esac
  34233. + fi
  34234. + if test "$with_gnu_ld" = no; then
  34235. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  34236. + hardcode_libdir_separator=:
  34237. -# Flag that forces no undefined symbols.
  34238. -no_undefined_flag=$lt_no_undefined_flag_F77
  34239. + case $host_cpu in
  34240. + hppa*64*|ia64*)
  34241. + hardcode_direct=no
  34242. + hardcode_shlibpath_var=no
  34243. + ;;
  34244. + *)
  34245. + hardcode_direct=yes
  34246. + hardcode_direct_absolute=yes
  34247. + export_dynamic_flag_spec='${wl}-E'
  34248. -# Commands used to finish a libtool library installation in a directory.
  34249. -finish_cmds=$lt_finish_cmds
  34250. + # hardcode_minus_L: Not really in the search PATH,
  34251. + # but as the default location of the library.
  34252. + hardcode_minus_L=yes
  34253. + ;;
  34254. + esac
  34255. + fi
  34256. + ;;
  34257. -# Same as above, but a single script fragment to be evaled but not shown.
  34258. -finish_eval=$lt_finish_eval
  34259. + irix5* | irix6* | nonstopux*)
  34260. + if test "$GCC" = yes; then
  34261. + 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'
  34262. + # Try to use the -exported_symbol ld option, if it does not
  34263. + # work, assume that -exports_file does not work either and
  34264. + # implicitly export all symbols.
  34265. + save_LDFLAGS="$LDFLAGS"
  34266. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  34267. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34268. +/* end confdefs.h. */
  34269. +int foo(void) {}
  34270. +_ACEOF
  34271. +if ac_fn_c_try_link "$LINENO"; then :
  34272. + 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'
  34273. -# Take the output of nm and produce a listing of raw symbols and C names.
  34274. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  34275. +fi
  34276. +rm -f core conftest.err conftest.$ac_objext \
  34277. + conftest$ac_exeext conftest.$ac_ext
  34278. + LDFLAGS="$save_LDFLAGS"
  34279. + else
  34280. + 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'
  34281. + 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'
  34282. + fi
  34283. + archive_cmds_need_lc='no'
  34284. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  34285. + hardcode_libdir_separator=:
  34286. + inherit_rpath=yes
  34287. + link_all_deplibs=yes
  34288. + ;;
  34289. -# Transform the output of nm in a proper C declaration
  34290. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  34291. + netbsd* | netbsdelf*-gnu)
  34292. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  34293. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  34294. + else
  34295. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  34296. + fi
  34297. + hardcode_libdir_flag_spec='-R$libdir'
  34298. + hardcode_direct=yes
  34299. + hardcode_shlibpath_var=no
  34300. + ;;
  34301. -# Transform the output of nm in a C name address pair
  34302. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  34303. + newsos6)
  34304. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34305. + hardcode_direct=yes
  34306. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  34307. + hardcode_libdir_separator=:
  34308. + hardcode_shlibpath_var=no
  34309. + ;;
  34310. -# This is the shared library runtime path variable.
  34311. -runpath_var=$runpath_var
  34312. + *nto* | *qnx*)
  34313. + ;;
  34314. -# This is the shared library path variable.
  34315. -shlibpath_var=$shlibpath_var
  34316. + openbsd*)
  34317. + if test -f /usr/libexec/ld.so; then
  34318. + hardcode_direct=yes
  34319. + hardcode_shlibpath_var=no
  34320. + hardcode_direct_absolute=yes
  34321. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  34322. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34323. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  34324. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  34325. + export_dynamic_flag_spec='${wl}-E'
  34326. + else
  34327. + case $host_os in
  34328. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  34329. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  34330. + hardcode_libdir_flag_spec='-R$libdir'
  34331. + ;;
  34332. + *)
  34333. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  34334. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  34335. + ;;
  34336. + esac
  34337. + fi
  34338. + else
  34339. + ld_shlibs=no
  34340. + fi
  34341. + ;;
  34342. -# Is shlibpath searched before the hard-coded library search path?
  34343. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  34344. + os2*)
  34345. + hardcode_libdir_flag_spec='-L$libdir'
  34346. + hardcode_minus_L=yes
  34347. + allow_undefined_flag=unsupported
  34348. + 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'
  34349. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  34350. + ;;
  34351. -# How to hardcode a shared library path into an executable.
  34352. -hardcode_action=$hardcode_action_F77
  34353. + osf3*)
  34354. + if test "$GCC" = yes; then
  34355. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  34356. + 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'
  34357. + else
  34358. + allow_undefined_flag=' -expect_unresolved \*'
  34359. + 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'
  34360. + fi
  34361. + archive_cmds_need_lc='no'
  34362. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  34363. + hardcode_libdir_separator=:
  34364. + ;;
  34365. -# Whether we should hardcode library paths into libraries.
  34366. -hardcode_into_libs=$hardcode_into_libs
  34367. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  34368. + if test "$GCC" = yes; then
  34369. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  34370. + 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'
  34371. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  34372. + else
  34373. + allow_undefined_flag=' -expect_unresolved \*'
  34374. + 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'
  34375. + 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~
  34376. + $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'
  34377. -# Flag to hardcode \$libdir into a binary during linking.
  34378. -# This must work even if \$libdir does not exist.
  34379. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
  34380. + # Both c and cxx compiler support -rpath directly
  34381. + hardcode_libdir_flag_spec='-rpath $libdir'
  34382. + fi
  34383. + archive_cmds_need_lc='no'
  34384. + hardcode_libdir_separator=:
  34385. + ;;
  34386. -# If ld is used when linking, flag to hardcode \$libdir into
  34387. -# a binary during linking. This must work even if \$libdir does
  34388. -# not exist.
  34389. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
  34390. -
  34391. -# Whether we need a single -rpath flag with a separated argument.
  34392. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
  34393. -
  34394. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  34395. -# resulting binary.
  34396. -hardcode_direct=$hardcode_direct_F77
  34397. -
  34398. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  34399. -# resulting binary.
  34400. -hardcode_minus_L=$hardcode_minus_L_F77
  34401. -
  34402. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  34403. -# the resulting binary.
  34404. -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
  34405. -
  34406. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  34407. -# and all subsequent libraries and executables linked against it.
  34408. -hardcode_automatic=$hardcode_automatic_F77
  34409. + solaris*)
  34410. + no_undefined_flag=' -z defs'
  34411. + if test "$GCC" = yes; then
  34412. + wlarc='${wl}'
  34413. + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  34414. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34415. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  34416. + else
  34417. + case `$CC -V 2>&1` in
  34418. + *"Compilers 5.0"*)
  34419. + wlarc=''
  34420. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34421. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34422. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  34423. + ;;
  34424. + *)
  34425. + wlarc='${wl}'
  34426. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  34427. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  34428. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  34429. + ;;
  34430. + esac
  34431. + fi
  34432. + hardcode_libdir_flag_spec='-R$libdir'
  34433. + hardcode_shlibpath_var=no
  34434. + case $host_os in
  34435. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  34436. + *)
  34437. + # The compiler driver will combine and reorder linker options,
  34438. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  34439. + # but is careful enough not to reorder.
  34440. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  34441. + if test "$GCC" = yes; then
  34442. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  34443. + else
  34444. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  34445. + fi
  34446. + ;;
  34447. + esac
  34448. + link_all_deplibs=yes
  34449. + ;;
  34450. -# Variables whose values should be saved in libtool wrapper scripts and
  34451. -# restored at relink time.
  34452. -variables_saved_for_relink="$variables_saved_for_relink"
  34453. + sunos4*)
  34454. + if test "x$host_vendor" = xsequent; then
  34455. + # Use $CC to link under sequent, because it throws in some extra .o
  34456. + # files that make .init and .fini sections work.
  34457. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  34458. + else
  34459. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  34460. + fi
  34461. + hardcode_libdir_flag_spec='-L$libdir'
  34462. + hardcode_direct=yes
  34463. + hardcode_minus_L=yes
  34464. + hardcode_shlibpath_var=no
  34465. + ;;
  34466. -# Whether libtool must link a program against all its dependency libraries.
  34467. -link_all_deplibs=$link_all_deplibs_F77
  34468. + sysv4)
  34469. + case $host_vendor in
  34470. + sni)
  34471. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34472. + hardcode_direct=yes # is this really true???
  34473. + ;;
  34474. + siemens)
  34475. + ## LD is ld it makes a PLAMLIB
  34476. + ## CC just makes a GrossModule.
  34477. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  34478. + reload_cmds='$CC -r -o $output$reload_objs'
  34479. + hardcode_direct=no
  34480. + ;;
  34481. + motorola)
  34482. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34483. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  34484. + ;;
  34485. + esac
  34486. + runpath_var='LD_RUN_PATH'
  34487. + hardcode_shlibpath_var=no
  34488. + ;;
  34489. -# Compile-time system search path for libraries
  34490. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  34491. + sysv4.3*)
  34492. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34493. + hardcode_shlibpath_var=no
  34494. + export_dynamic_flag_spec='-Bexport'
  34495. + ;;
  34496. -# Run-time system search path for libraries
  34497. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  34498. + sysv4*MP*)
  34499. + if test -d /usr/nec; then
  34500. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34501. + hardcode_shlibpath_var=no
  34502. + runpath_var=LD_RUN_PATH
  34503. + hardcode_runpath_var=yes
  34504. + ld_shlibs=yes
  34505. + fi
  34506. + ;;
  34507. -# Fix the shell variable \$srcfile for the compiler.
  34508. -fix_srcfile_path=$lt_fix_srcfile_path
  34509. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  34510. + no_undefined_flag='${wl}-z,text'
  34511. + archive_cmds_need_lc=no
  34512. + hardcode_shlibpath_var=no
  34513. + runpath_var='LD_RUN_PATH'
  34514. -# Set to yes if exported symbols are required.
  34515. -always_export_symbols=$always_export_symbols_F77
  34516. + if test "$GCC" = yes; then
  34517. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34518. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34519. + else
  34520. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34521. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34522. + fi
  34523. + ;;
  34524. -# The commands to list exported symbols.
  34525. -export_symbols_cmds=$lt_export_symbols_cmds_F77
  34526. + sysv5* | sco3.2v5* | sco5v6*)
  34527. + # Note: We can NOT use -z defs as we might desire, because we do not
  34528. + # link with -lc, and that would cause any symbols used from libc to
  34529. + # always be unresolved, which means just about no library would
  34530. + # ever link correctly. If we're not using GNU ld we use -z text
  34531. + # though, which does catch some bad symbols but isn't as heavy-handed
  34532. + # as -z defs.
  34533. + no_undefined_flag='${wl}-z,text'
  34534. + allow_undefined_flag='${wl}-z,nodefs'
  34535. + archive_cmds_need_lc=no
  34536. + hardcode_shlibpath_var=no
  34537. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  34538. + hardcode_libdir_separator=':'
  34539. + link_all_deplibs=yes
  34540. + export_dynamic_flag_spec='${wl}-Bexport'
  34541. + runpath_var='LD_RUN_PATH'
  34542. -# The commands to extract the exported symbol list from a shared archive.
  34543. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  34544. + if test "$GCC" = yes; then
  34545. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34546. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34547. + else
  34548. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34549. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  34550. + fi
  34551. + ;;
  34552. -# Symbols that should not be listed in the preloaded symbols.
  34553. -exclude_expsyms=$lt_exclude_expsyms_F77
  34554. + uts4*)
  34555. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  34556. + hardcode_libdir_flag_spec='-L$libdir'
  34557. + hardcode_shlibpath_var=no
  34558. + ;;
  34559. -# Symbols that must always be exported.
  34560. -include_expsyms=$lt_include_expsyms_F77
  34561. + *)
  34562. + ld_shlibs=no
  34563. + ;;
  34564. + esac
  34565. -# ### END LIBTOOL TAG CONFIG: $tagname
  34566. + if test x$host_vendor = xsni; then
  34567. + case $host in
  34568. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  34569. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  34570. + ;;
  34571. + esac
  34572. + fi
  34573. + fi
  34574. -__EOF__
  34575. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  34576. +$as_echo "$ld_shlibs" >&6; }
  34577. +test "$ld_shlibs" = no && can_build_shared=no
  34578. +with_gnu_ld=$with_gnu_ld
  34579. -else
  34580. - # If there is no Makefile yet, we rely on a make rule to execute
  34581. - # `config.status --recheck' to rerun these tests and create the
  34582. - # libtool script then.
  34583. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  34584. - if test -f "$ltmain_in"; then
  34585. - test -f Makefile && make "$ltmain"
  34586. - fi
  34587. -fi
  34588. -ac_ext=c
  34589. -ac_cpp='$CPP $CPPFLAGS'
  34590. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  34591. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  34592. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  34593. -CC="$lt_save_CC"
  34594. - else
  34595. - tagname=""
  34596. - fi
  34597. - ;;
  34598. - GCJ)
  34599. - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
  34600. -# Source file extension for Java test sources.
  34601. -ac_ext=java
  34602. -# Object file extension for compiled Java test sources.
  34603. -objext=o
  34604. -objext_GCJ=$objext
  34605. -# Code to be used in simple compile tests
  34606. -lt_simple_compile_test_code="class foo {}"
  34607. -# Code to be used in simple link tests
  34608. -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
  34609. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  34610. -# If no C compiler was specified, use CC.
  34611. -LTCC=${LTCC-"$CC"}
  34612. -# If no C compiler flags were specified, use CFLAGS.
  34613. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  34614. -# Allow CC to be a program name with arguments.
  34615. -compiler=$CC
  34616. +#
  34617. +# Do we need to explicitly link libc?
  34618. +#
  34619. +case "x$archive_cmds_need_lc" in
  34620. +x|xyes)
  34621. + # Assume -lc should be added
  34622. + archive_cmds_need_lc=yes
  34623. +
  34624. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  34625. + case $archive_cmds in
  34626. + *'~'*)
  34627. + # FIXME: we may have to deal with multi-command sequences.
  34628. + ;;
  34629. + '$CC '*)
  34630. + # Test whether the compiler implicitly links with -lc since on some
  34631. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  34632. + # to ld, don't add -lc before -lgcc.
  34633. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  34634. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  34635. + $RM conftest*
  34636. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  34637. +
  34638. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  34639. + (eval $ac_compile) 2>&5
  34640. + ac_status=$?
  34641. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34642. + test $ac_status = 0; } 2>conftest.err; then
  34643. + soname=conftest
  34644. + lib=conftest
  34645. + libobjs=conftest.$ac_objext
  34646. + deplibs=
  34647. + wl=$lt_prog_compiler_wl
  34648. + pic_flag=$lt_prog_compiler_pic
  34649. + compiler_flags=-v
  34650. + linker_flags=-v
  34651. + verstring=
  34652. + output_objdir=.
  34653. + libname=conftest
  34654. + lt_save_allow_undefined_flag=$allow_undefined_flag
  34655. + allow_undefined_flag=
  34656. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  34657. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  34658. + ac_status=$?
  34659. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34660. + test $ac_status = 0; }
  34661. + then
  34662. + archive_cmds_need_lc=no
  34663. + else
  34664. + archive_cmds_need_lc=yes
  34665. + fi
  34666. + allow_undefined_flag=$lt_save_allow_undefined_flag
  34667. + else
  34668. + cat conftest.err 1>&5
  34669. + fi
  34670. + $RM conftest*
  34671. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  34672. +$as_echo "$archive_cmds_need_lc" >&6; }
  34673. + ;;
  34674. + esac
  34675. + fi
  34676. + ;;
  34677. +esac
  34678. +
  34679. +
  34680. +
  34681. +
  34682. +
  34683. +
  34684. +
  34685. +
  34686. +
  34687. -# save warnings/boilerplate of simple test code
  34688. -ac_outfile=conftest.$ac_objext
  34689. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  34690. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  34691. -_lt_compiler_boilerplate=`cat conftest.err`
  34692. -$rm conftest*
  34693. -ac_outfile=conftest.$ac_objext
  34694. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  34695. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  34696. -_lt_linker_boilerplate=`cat conftest.err`
  34697. -$rm -r conftest*
  34698. -# Allow CC to be a program name with arguments.
  34699. -lt_save_CC="$CC"
  34700. -CC=${GCJ-"gcj"}
  34701. -compiler=$CC
  34702. -compiler_GCJ=$CC
  34703. -for cc_temp in $compiler""; do
  34704. - case $cc_temp in
  34705. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  34706. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  34707. - \-*) ;;
  34708. - *) break;;
  34709. - esac
  34710. -done
  34711. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  34712. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  34713. -archive_cmds_need_lc_GCJ=no
  34714. -old_archive_cmds_GCJ=$old_archive_cmds
  34715. -lt_prog_compiler_no_builtin_flag_GCJ=
  34716. -if test "$GCC" = yes; then
  34717. - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
  34718. -{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  34719. -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  34720. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  34721. - echo $ECHO_N "(cached) $ECHO_C" >&6
  34722. -else
  34723. - lt_cv_prog_compiler_rtti_exceptions=no
  34724. - ac_outfile=conftest.$ac_objext
  34725. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  34726. - lt_compiler_flag="-fno-rtti -fno-exceptions"
  34727. - # Insert the option either (1) after the last *FLAGS variable, or
  34728. - # (2) before a word containing "conftest.", or (3) at the end.
  34729. - # Note that $ac_compile itself does not contain backslashes and begins
  34730. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  34731. - # The option is referenced via a variable to avoid confusing sed.
  34732. - lt_compile=`echo "$ac_compile" | $SED \
  34733. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  34734. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  34735. - -e 's:$: $lt_compiler_flag:'`
  34736. - (eval echo "\"\$as_me:17005: $lt_compile\"" >&5)
  34737. - (eval "$lt_compile" 2>conftest.err)
  34738. - ac_status=$?
  34739. - cat conftest.err >&5
  34740. - echo "$as_me:17009: \$? = $ac_status" >&5
  34741. - if (exit $ac_status) && test -s "$ac_outfile"; then
  34742. - # The compiler can only warn and ignore the option if not recognized
  34743. - # So say no if there are warnings other than the usual output.
  34744. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  34745. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  34746. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  34747. - lt_cv_prog_compiler_rtti_exceptions=yes
  34748. - fi
  34749. - fi
  34750. - $rm conftest*
  34751. -fi
  34752. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  34753. -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  34754. -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  34755. - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
  34756. -else
  34757. - :
  34758. -fi
  34759. -fi
  34760. -lt_prog_compiler_wl_GCJ=
  34761. -lt_prog_compiler_pic_GCJ=
  34762. -lt_prog_compiler_static_GCJ=
  34763. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  34764. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  34765. - if test "$GCC" = yes; then
  34766. - lt_prog_compiler_wl_GCJ='-Wl,'
  34767. - lt_prog_compiler_static_GCJ='-static'
  34768. - case $host_os in
  34769. - aix*)
  34770. - # All AIX code is PIC.
  34771. - if test "$host_cpu" = ia64; then
  34772. - # AIX 5 now supports IA64 processor
  34773. - lt_prog_compiler_static_GCJ='-Bstatic'
  34774. - fi
  34775. - ;;
  34776. - amigaos*)
  34777. - # FIXME: we need at least 68020 code to build shared libraries, but
  34778. - # adding the `-m68020' flag to GCC prevents building anything better,
  34779. - # like `-m68040'.
  34780. - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
  34781. - ;;
  34782. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  34783. - # PIC is the default for these OSes.
  34784. - ;;
  34785. - mingw* | cygwin* | pw32* | os2*)
  34786. - # This hack is so that the source file can tell whether it is being
  34787. - # built for inclusion in a dll (and should export symbols for example).
  34788. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  34789. - # (--disable-auto-import) libraries
  34790. - ;;
  34791. - darwin* | rhapsody*)
  34792. - # PIC is the default on this platform
  34793. - # Common symbols not allowed in MH_DYLIB files
  34794. - lt_prog_compiler_pic_GCJ='-fno-common'
  34795. - ;;
  34796. - interix[3-9]*)
  34797. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  34798. - # Instead, we relocate shared libraries at runtime.
  34799. - ;;
  34800. - msdosdjgpp*)
  34801. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  34802. - # on systems that don't support them.
  34803. - lt_prog_compiler_can_build_shared_GCJ=no
  34804. - enable_shared=no
  34805. - ;;
  34806. - sysv4*MP*)
  34807. - if test -d /usr/nec; then
  34808. - lt_prog_compiler_pic_GCJ=-Kconform_pic
  34809. - fi
  34810. - ;;
  34811. - hpux*)
  34812. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  34813. - # not for PA HP-UX.
  34814. - case $host_cpu in
  34815. - hppa*64*|ia64*)
  34816. - # +Z the default
  34817. - ;;
  34818. - *)
  34819. - lt_prog_compiler_pic_GCJ='-fPIC'
  34820. - ;;
  34821. - esac
  34822. - ;;
  34823. - *)
  34824. - lt_prog_compiler_pic_GCJ='-fPIC'
  34825. - ;;
  34826. - esac
  34827. - else
  34828. - # PORTME Check for flag to pass linker flags through the system compiler.
  34829. - case $host_os in
  34830. - aix*)
  34831. - lt_prog_compiler_wl_GCJ='-Wl,'
  34832. - if test "$host_cpu" = ia64; then
  34833. - # AIX 5 now supports IA64 processor
  34834. - lt_prog_compiler_static_GCJ='-Bstatic'
  34835. - else
  34836. - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
  34837. - fi
  34838. - ;;
  34839. - darwin*)
  34840. - # PIC is the default on this platform
  34841. - # Common symbols not allowed in MH_DYLIB files
  34842. - case $cc_basename in
  34843. - xlc*)
  34844. - lt_prog_compiler_pic_GCJ='-qnocommon'
  34845. - lt_prog_compiler_wl_GCJ='-Wl,'
  34846. - ;;
  34847. - esac
  34848. - ;;
  34849. - mingw* | cygwin* | pw32* | os2*)
  34850. - # This hack is so that the source file can tell whether it is being
  34851. - # built for inclusion in a dll (and should export symbols for example).
  34852. - ;;
  34853. - hpux9* | hpux10* | hpux11*)
  34854. - lt_prog_compiler_wl_GCJ='-Wl,'
  34855. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  34856. - # not for PA HP-UX.
  34857. - case $host_cpu in
  34858. - hppa*64*|ia64*)
  34859. - # +Z the default
  34860. - ;;
  34861. - *)
  34862. - lt_prog_compiler_pic_GCJ='+Z'
  34863. - ;;
  34864. - esac
  34865. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  34866. - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
  34867. - ;;
  34868. - irix5* | irix6* | nonstopux*)
  34869. - lt_prog_compiler_wl_GCJ='-Wl,'
  34870. - # PIC (with -KPIC) is the default.
  34871. - lt_prog_compiler_static_GCJ='-non_shared'
  34872. - ;;
  34873. - newsos6)
  34874. - lt_prog_compiler_pic_GCJ='-KPIC'
  34875. - lt_prog_compiler_static_GCJ='-Bstatic'
  34876. - ;;
  34877. - linux* | k*bsd*-gnu)
  34878. - case $cc_basename in
  34879. - icc* | ecc*)
  34880. - lt_prog_compiler_wl_GCJ='-Wl,'
  34881. - lt_prog_compiler_pic_GCJ='-KPIC'
  34882. - lt_prog_compiler_static_GCJ='-static'
  34883. - ;;
  34884. - pgcc* | pgf77* | pgf90* | pgf95*)
  34885. - # Portland Group compilers (*not* the Pentium gcc compiler,
  34886. - # which looks to be a dead project)
  34887. - lt_prog_compiler_wl_GCJ='-Wl,'
  34888. - lt_prog_compiler_pic_GCJ='-fpic'
  34889. - lt_prog_compiler_static_GCJ='-Bstatic'
  34890. - ;;
  34891. - ccc*)
  34892. - lt_prog_compiler_wl_GCJ='-Wl,'
  34893. - # All Alpha code is PIC.
  34894. - lt_prog_compiler_static_GCJ='-non_shared'
  34895. - ;;
  34896. - *)
  34897. - case `$CC -V 2>&1 | sed 5q` in
  34898. - *Sun\ C*)
  34899. - # Sun C 5.9
  34900. - lt_prog_compiler_pic_GCJ='-KPIC'
  34901. - lt_prog_compiler_static_GCJ='-Bstatic'
  34902. - lt_prog_compiler_wl_GCJ='-Wl,'
  34903. - ;;
  34904. - *Sun\ F*)
  34905. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  34906. - lt_prog_compiler_pic_GCJ='-KPIC'
  34907. - lt_prog_compiler_static_GCJ='-Bstatic'
  34908. - lt_prog_compiler_wl_GCJ=''
  34909. - ;;
  34910. - esac
  34911. - ;;
  34912. - esac
  34913. - ;;
  34914. - osf3* | osf4* | osf5*)
  34915. - lt_prog_compiler_wl_GCJ='-Wl,'
  34916. - # All OSF/1 code is PIC.
  34917. - lt_prog_compiler_static_GCJ='-non_shared'
  34918. - ;;
  34919. - rdos*)
  34920. - lt_prog_compiler_static_GCJ='-non_shared'
  34921. - ;;
  34922. - solaris*)
  34923. - lt_prog_compiler_pic_GCJ='-KPIC'
  34924. - lt_prog_compiler_static_GCJ='-Bstatic'
  34925. - case $cc_basename in
  34926. - f77* | f90* | f95*)
  34927. - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
  34928. - *)
  34929. - lt_prog_compiler_wl_GCJ='-Wl,';;
  34930. - esac
  34931. - ;;
  34932. - sunos4*)
  34933. - lt_prog_compiler_wl_GCJ='-Qoption ld '
  34934. - lt_prog_compiler_pic_GCJ='-PIC'
  34935. - lt_prog_compiler_static_GCJ='-Bstatic'
  34936. - ;;
  34937. - sysv4 | sysv4.2uw2* | sysv4.3*)
  34938. - lt_prog_compiler_wl_GCJ='-Wl,'
  34939. - lt_prog_compiler_pic_GCJ='-KPIC'
  34940. - lt_prog_compiler_static_GCJ='-Bstatic'
  34941. - ;;
  34942. - sysv4*MP*)
  34943. - if test -d /usr/nec ;then
  34944. - lt_prog_compiler_pic_GCJ='-Kconform_pic'
  34945. - lt_prog_compiler_static_GCJ='-Bstatic'
  34946. - fi
  34947. - ;;
  34948. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  34949. - lt_prog_compiler_wl_GCJ='-Wl,'
  34950. - lt_prog_compiler_pic_GCJ='-KPIC'
  34951. - lt_prog_compiler_static_GCJ='-Bstatic'
  34952. - ;;
  34953. - unicos*)
  34954. - lt_prog_compiler_wl_GCJ='-Wl,'
  34955. - lt_prog_compiler_can_build_shared_GCJ=no
  34956. - ;;
  34957. - uts4*)
  34958. - lt_prog_compiler_pic_GCJ='-pic'
  34959. - lt_prog_compiler_static_GCJ='-Bstatic'
  34960. - ;;
  34961. - *)
  34962. - lt_prog_compiler_can_build_shared_GCJ=no
  34963. - ;;
  34964. - esac
  34965. - fi
  34966. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
  34967. -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
  34968. -#
  34969. -# Check to make sure the PIC flag actually works.
  34970. -#
  34971. -if test -n "$lt_prog_compiler_pic_GCJ"; then
  34972. -{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
  34973. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
  34974. -if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
  34975. - echo $ECHO_N "(cached) $ECHO_C" >&6
  34976. -else
  34977. - lt_cv_prog_compiler_pic_works_GCJ=no
  34978. - ac_outfile=conftest.$ac_objext
  34979. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  34980. - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
  34981. - # Insert the option either (1) after the last *FLAGS variable, or
  34982. - # (2) before a word containing "conftest.", or (3) at the end.
  34983. - # Note that $ac_compile itself does not contain backslashes and begins
  34984. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  34985. - # The option is referenced via a variable to avoid confusing sed.
  34986. - lt_compile=`echo "$ac_compile" | $SED \
  34987. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  34988. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  34989. - -e 's:$: $lt_compiler_flag:'`
  34990. - (eval echo "\"\$as_me:17295: $lt_compile\"" >&5)
  34991. - (eval "$lt_compile" 2>conftest.err)
  34992. - ac_status=$?
  34993. - cat conftest.err >&5
  34994. - echo "$as_me:17299: \$? = $ac_status" >&5
  34995. - if (exit $ac_status) && test -s "$ac_outfile"; then
  34996. - # The compiler can only warn and ignore the option if not recognized
  34997. - # So say no if there are warnings other than the usual output.
  34998. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  34999. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  35000. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  35001. - lt_cv_prog_compiler_pic_works_GCJ=yes
  35002. - fi
  35003. - fi
  35004. - $rm conftest*
  35005. -fi
  35006. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
  35007. -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
  35008. -if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
  35009. - case $lt_prog_compiler_pic_GCJ in
  35010. - "" | " "*) ;;
  35011. - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
  35012. - esac
  35013. -else
  35014. - lt_prog_compiler_pic_GCJ=
  35015. - lt_prog_compiler_can_build_shared_GCJ=no
  35016. -fi
  35017. -fi
  35018. -case $host_os in
  35019. - # For platforms which do not support PIC, -DPIC is meaningless:
  35020. - *djgpp*)
  35021. - lt_prog_compiler_pic_GCJ=
  35022. - ;;
  35023. - *)
  35024. - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
  35025. - ;;
  35026. -esac
  35027. -#
  35028. -# Check to make sure the static flag actually works.
  35029. -#
  35030. -wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
  35031. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  35032. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  35033. -if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
  35034. - echo $ECHO_N "(cached) $ECHO_C" >&6
  35035. -else
  35036. - lt_cv_prog_compiler_static_works_GCJ=no
  35037. - save_LDFLAGS="$LDFLAGS"
  35038. - LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  35039. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  35040. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  35041. - # The linker can only warn and ignore the option if not recognized
  35042. - # So say no if there are warnings
  35043. - if test -s conftest.err; then
  35044. - # Append any errors to the config.log.
  35045. - cat conftest.err 1>&5
  35046. - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  35047. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  35048. - if diff conftest.exp conftest.er2 >/dev/null; then
  35049. - lt_cv_prog_compiler_static_works_GCJ=yes
  35050. - fi
  35051. - else
  35052. - lt_cv_prog_compiler_static_works_GCJ=yes
  35053. - fi
  35054. - fi
  35055. - $rm -r conftest*
  35056. - LDFLAGS="$save_LDFLAGS"
  35057. -fi
  35058. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
  35059. -echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
  35060. -if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
  35061. - :
  35062. -else
  35063. - lt_prog_compiler_static_GCJ=
  35064. -fi
  35065. -{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  35066. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  35067. -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
  35068. - echo $ECHO_N "(cached) $ECHO_C" >&6
  35069. -else
  35070. - lt_cv_prog_compiler_c_o_GCJ=no
  35071. - $rm -r conftest 2>/dev/null
  35072. - mkdir conftest
  35073. - cd conftest
  35074. - mkdir out
  35075. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  35076. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  35077. - # Insert the option either (1) after the last *FLAGS variable, or
  35078. - # (2) before a word containing "conftest.", or (3) at the end.
  35079. - # Note that $ac_compile itself does not contain backslashes and begins
  35080. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  35081. - lt_compile=`echo "$ac_compile" | $SED \
  35082. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  35083. - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  35084. - -e 's:$: $lt_compiler_flag:'`
  35085. - (eval echo "\"\$as_me:17399: $lt_compile\"" >&5)
  35086. - (eval "$lt_compile" 2>out/conftest.err)
  35087. - ac_status=$?
  35088. - cat out/conftest.err >&5
  35089. - echo "$as_me:17403: \$? = $ac_status" >&5
  35090. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  35091. - then
  35092. - # The compiler can only warn and ignore the option if not recognized
  35093. - # So say no if there are warnings
  35094. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  35095. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  35096. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  35097. - lt_cv_prog_compiler_c_o_GCJ=yes
  35098. - fi
  35099. - fi
  35100. - chmod u+w . 2>&5
  35101. - $rm conftest*
  35102. - # SGI C++ compiler will create directory out/ii_files/ for
  35103. - # template instantiation
  35104. - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  35105. - $rm out/* && rmdir out
  35106. - cd ..
  35107. - rmdir conftest
  35108. - $rm conftest*
  35109. -fi
  35110. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
  35111. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
  35112. -hard_links="nottested"
  35113. -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
  35114. - # do not overwrite the value of need_locks provided by the user
  35115. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  35116. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  35117. - hard_links=yes
  35118. - $rm conftest*
  35119. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  35120. - touch conftest.a
  35121. - ln conftest.a conftest.b 2>&5 || hard_links=no
  35122. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  35123. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  35124. -echo "${ECHO_T}$hard_links" >&6; }
  35125. - if test "$hard_links" = no; then
  35126. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  35127. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  35128. - need_locks=warn
  35129. - fi
  35130. -else
  35131. - need_locks=no
  35132. -fi
  35133. -{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  35134. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  35135. - runpath_var=
  35136. - allow_undefined_flag_GCJ=
  35137. - enable_shared_with_static_runtimes_GCJ=no
  35138. - archive_cmds_GCJ=
  35139. - archive_expsym_cmds_GCJ=
  35140. - old_archive_From_new_cmds_GCJ=
  35141. - old_archive_from_expsyms_cmds_GCJ=
  35142. - export_dynamic_flag_spec_GCJ=
  35143. - whole_archive_flag_spec_GCJ=
  35144. - thread_safe_flag_spec_GCJ=
  35145. - hardcode_libdir_flag_spec_GCJ=
  35146. - hardcode_libdir_flag_spec_ld_GCJ=
  35147. - hardcode_libdir_separator_GCJ=
  35148. - hardcode_direct_GCJ=no
  35149. - hardcode_minus_L_GCJ=no
  35150. - hardcode_shlibpath_var_GCJ=unsupported
  35151. - link_all_deplibs_GCJ=unknown
  35152. - hardcode_automatic_GCJ=no
  35153. - module_cmds_GCJ=
  35154. - module_expsym_cmds_GCJ=
  35155. - always_export_symbols_GCJ=no
  35156. - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  35157. - # include_expsyms should be a list of space-separated symbols to be *always*
  35158. - # included in the symbol list
  35159. - include_expsyms_GCJ=
  35160. - # exclude_expsyms can be an extended regexp of symbols to exclude
  35161. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  35162. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  35163. - # as well as any symbol that contains `d'.
  35164. - exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  35165. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  35166. - # platforms (ab)use it in PIC code, but their linkers get confused if
  35167. - # the symbol is explicitly referenced. Since portable code cannot
  35168. - # rely on this symbol name, it's probably fine to never include it in
  35169. - # preloaded symbol tables.
  35170. - # Exclude shared library initialization/finalization symbols.
  35171. - extract_expsyms_cmds=
  35172. - # Just being paranoid about ensuring that cc_basename is set.
  35173. - for cc_temp in $compiler""; do
  35174. - case $cc_temp in
  35175. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  35176. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  35177. - \-*) ;;
  35178. - *) break;;
  35179. - esac
  35180. -done
  35181. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  35182. - case $host_os in
  35183. - cygwin* | mingw* | pw32*)
  35184. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  35185. - # When not using gcc, we currently assume that we are using
  35186. - # Microsoft Visual C++.
  35187. - if test "$GCC" != yes; then
  35188. - with_gnu_ld=no
  35189. - fi
  35190. - ;;
  35191. - interix*)
  35192. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  35193. - with_gnu_ld=yes
  35194. - ;;
  35195. - openbsd*)
  35196. - with_gnu_ld=no
  35197. - ;;
  35198. - esac
  35199. - ld_shlibs_GCJ=yes
  35200. - if test "$with_gnu_ld" = yes; then
  35201. - # If archive_cmds runs LD, not CC, wlarc should be empty
  35202. - wlarc='${wl}'
  35203. - # Set some defaults for GNU ld with shared library support. These
  35204. - # are reset later if shared libraries are not supported. Putting them
  35205. - # here allows them to be overridden if necessary.
  35206. - runpath_var=LD_RUN_PATH
  35207. - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
  35208. - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
  35209. - # ancient GNU ld didn't support --whole-archive et. al.
  35210. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  35211. - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  35212. - else
  35213. - whole_archive_flag_spec_GCJ=
  35214. - fi
  35215. - supports_anon_versioning=no
  35216. - case `$LD -v 2>/dev/null` in
  35217. - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  35218. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  35219. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  35220. - *\ 2.11.*) ;; # other 2.11 versions
  35221. - *) supports_anon_versioning=yes ;;
  35222. - esac
  35223. - # See if GNU ld supports shared libraries.
  35224. - case $host_os in
  35225. - aix[3-9]*)
  35226. - # On AIX/PPC, the GNU linker is very broken
  35227. - if test "$host_cpu" != ia64; then
  35228. - ld_shlibs_GCJ=no
  35229. - cat <<EOF 1>&2
  35230. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  35231. -*** to be unable to reliably create shared libraries on AIX.
  35232. -*** Therefore, libtool is disabling shared libraries support. If you
  35233. -*** really care for shared libraries, you may want to modify your PATH
  35234. -*** so that a non-GNU linker is found, and then restart.
  35235. -EOF
  35236. - fi
  35237. - ;;
  35238. - amigaos*)
  35239. - 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)'
  35240. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  35241. - hardcode_minus_L_GCJ=yes
  35242. -
  35243. - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  35244. - # that the semantics of dynamic libraries on AmigaOS, at least up
  35245. - # to version 4, is to share data among multiple programs linked
  35246. - # with the same dynamic library. Since this doesn't match the
  35247. - # behavior of shared libraries on other platforms, we can't use
  35248. - # them.
  35249. - ld_shlibs_GCJ=no
  35250. - ;;
  35251. - beos*)
  35252. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  35253. - allow_undefined_flag_GCJ=unsupported
  35254. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  35255. - # support --undefined. This deserves some investigation. FIXME
  35256. - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  35257. - else
  35258. - ld_shlibs_GCJ=no
  35259. - fi
  35260. - ;;
  35261. - cygwin* | mingw* | pw32*)
  35262. - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
  35263. - # as there is no search path for DLLs.
  35264. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  35265. - allow_undefined_flag_GCJ=unsupported
  35266. - always_export_symbols_GCJ=no
  35267. - enable_shared_with_static_runtimes_GCJ=yes
  35268. - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  35269. - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  35270. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  35271. - # If the export-symbols file already is a .def file (1st line
  35272. - # is EXPORTS), use it as is; otherwise, prepend...
  35273. - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  35274. - cp $export_symbols $output_objdir/$soname.def;
  35275. - else
  35276. - echo EXPORTS > $output_objdir/$soname.def;
  35277. - cat $export_symbols >> $output_objdir/$soname.def;
  35278. - fi~
  35279. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  35280. - else
  35281. - ld_shlibs_GCJ=no
  35282. - fi
  35283. - ;;
  35284. - interix[3-9]*)
  35285. - hardcode_direct_GCJ=no
  35286. - hardcode_shlibpath_var_GCJ=no
  35287. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  35288. - export_dynamic_flag_spec_GCJ='${wl}-E'
  35289. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  35290. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  35291. - # default) and relocated if they conflict, which is a slow very memory
  35292. - # consuming and fragmenting process. To avoid this, we pick a random,
  35293. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  35294. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  35295. - 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'
  35296. - 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'
  35297. - ;;
  35298. - gnu* | linux* | k*bsd*-gnu)
  35299. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  35300. - tmp_addflag=
  35301. - case $cc_basename,$host_cpu in
  35302. - pgcc*) # Portland Group C compiler
  35303. - 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'
  35304. - tmp_addflag=' $pic_flag'
  35305. - ;;
  35306. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  35307. - 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'
  35308. - tmp_addflag=' $pic_flag -Mnomain' ;;
  35309. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  35310. - tmp_addflag=' -i_dynamic' ;;
  35311. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  35312. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  35313. - ifc* | ifort*) # Intel Fortran compiler
  35314. - tmp_addflag=' -nofor_main' ;;
  35315. - esac
  35316. - case `$CC -V 2>&1 | sed 5q` in
  35317. - *Sun\ C*) # Sun C 5.9
  35318. - whole_archive_flag_spec_GCJ='${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'
  35319. - tmp_sharedflag='-G' ;;
  35320. - *Sun\ F*) # Sun Fortran 8.3
  35321. - tmp_sharedflag='-G' ;;
  35322. - *)
  35323. - tmp_sharedflag='-shared' ;;
  35324. - esac
  35325. - archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  35326. - if test $supports_anon_versioning = yes; then
  35327. - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
  35328. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  35329. - $echo "local: *; };" >> $output_objdir/$libname.ver~
  35330. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  35331. - fi
  35332. - link_all_deplibs_GCJ=no
  35333. - else
  35334. - ld_shlibs_GCJ=no
  35335. - fi
  35336. - ;;
  35337. - netbsd* | netbsdelf*-gnu)
  35338. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  35339. - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  35340. - wlarc=
  35341. - else
  35342. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  35343. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  35344. - fi
  35345. - ;;
  35346. - solaris*)
  35347. - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  35348. - ld_shlibs_GCJ=no
  35349. - cat <<EOF 1>&2
  35350. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  35351. -*** create shared libraries on Solaris systems. Therefore, libtool
  35352. -*** is disabling shared libraries support. We urge you to upgrade GNU
  35353. -*** binutils to release 2.9.1 or newer. Another option is to modify
  35354. -*** your PATH or compiler configuration so that the native linker is
  35355. -*** used, and then restart.
  35356. -EOF
  35357. - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  35358. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  35359. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  35360. - else
  35361. - ld_shlibs_GCJ=no
  35362. - fi
  35363. - ;;
  35364. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  35365. - case `$LD -v 2>&1` in
  35366. - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  35367. - ld_shlibs_GCJ=no
  35368. - cat <<_LT_EOF 1>&2
  35369. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  35370. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  35371. -*** is disabling shared libraries support. We urge you to upgrade GNU
  35372. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  35373. -*** your PATH or compiler configuration so that the native linker is
  35374. -*** used, and then restart.
  35375. -_LT_EOF
  35376. - ;;
  35377. - *)
  35378. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  35379. - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  35380. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  35381. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  35382. - else
  35383. - ld_shlibs_GCJ=no
  35384. - fi
  35385. - ;;
  35386. - esac
  35387. - ;;
  35388. - sunos4*)
  35389. - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  35390. - wlarc=
  35391. - hardcode_direct_GCJ=yes
  35392. - hardcode_shlibpath_var_GCJ=no
  35393. - ;;
  35394. - *)
  35395. - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  35396. - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  35397. - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  35398. - else
  35399. - ld_shlibs_GCJ=no
  35400. - fi
  35401. - ;;
  35402. - esac
  35403. - if test "$ld_shlibs_GCJ" = no; then
  35404. - runpath_var=
  35405. - hardcode_libdir_flag_spec_GCJ=
  35406. - export_dynamic_flag_spec_GCJ=
  35407. - whole_archive_flag_spec_GCJ=
  35408. - fi
  35409. - else
  35410. - # PORTME fill in a description of your system's linker (not GNU ld)
  35411. - case $host_os in
  35412. - aix3*)
  35413. - allow_undefined_flag_GCJ=unsupported
  35414. - always_export_symbols_GCJ=yes
  35415. - 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'
  35416. - # Note: this linker hardcodes the directories in LIBPATH if there
  35417. - # are no directories specified by -L.
  35418. - hardcode_minus_L_GCJ=yes
  35419. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  35420. - # Neither direct hardcoding nor static linking is supported with a
  35421. - # broken collect2.
  35422. - hardcode_direct_GCJ=unsupported
  35423. - fi
  35424. - ;;
  35425. - aix[4-9]*)
  35426. - if test "$host_cpu" = ia64; then
  35427. - # On IA64, the linker does run time linking by default, so we don't
  35428. - # have to do anything special.
  35429. - aix_use_runtimelinking=no
  35430. - exp_sym_flag='-Bexport'
  35431. - no_entry_flag=""
  35432. - else
  35433. - # If we're using GNU nm, then we don't want the "-C" option.
  35434. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  35435. - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  35436. - 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'
  35437. - else
  35438. - 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'
  35439. - fi
  35440. - aix_use_runtimelinking=no
  35441. - # Test if we are trying to use run time linking or normal
  35442. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  35443. - # need to do runtime linking.
  35444. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  35445. - for ld_flag in $LDFLAGS; do
  35446. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  35447. - aix_use_runtimelinking=yes
  35448. - break
  35449. - fi
  35450. - done
  35451. - ;;
  35452. - esac
  35453. - exp_sym_flag='-bexport'
  35454. - no_entry_flag='-bnoentry'
  35455. - fi
  35456. - # When large executables or shared objects are built, AIX ld can
  35457. - # have problems creating the table of contents. If linking a library
  35458. - # or program results in "error TOC overflow" add -mminimal-toc to
  35459. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  35460. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  35461. - archive_cmds_GCJ=''
  35462. - hardcode_direct_GCJ=yes
  35463. - hardcode_libdir_separator_GCJ=':'
  35464. - link_all_deplibs_GCJ=yes
  35465. - if test "$GCC" = yes; then
  35466. - case $host_os in aix4.[012]|aix4.[012].*)
  35467. - # We only want to do this on AIX 4.2 and lower, the check
  35468. - # below for broken collect2 doesn't work under 4.3+
  35469. - collect2name=`${CC} -print-prog-name=collect2`
  35470. - if test -f "$collect2name" && \
  35471. - strings "$collect2name" | grep resolve_lib_name >/dev/null
  35472. - then
  35473. - # We have reworked collect2
  35474. - :
  35475. - else
  35476. - # We have old collect2
  35477. - hardcode_direct_GCJ=unsupported
  35478. - # It fails to find uninstalled libraries when the uninstalled
  35479. - # path is not listed in the libpath. Setting hardcode_minus_L
  35480. - # to unsupported forces relinking
  35481. - hardcode_minus_L_GCJ=yes
  35482. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  35483. - hardcode_libdir_separator_GCJ=
  35484. - fi
  35485. - ;;
  35486. - esac
  35487. - shared_flag='-shared'
  35488. - if test "$aix_use_runtimelinking" = yes; then
  35489. - shared_flag="$shared_flag "'${wl}-G'
  35490. - fi
  35491. - else
  35492. - # not using gcc
  35493. - if test "$host_cpu" = ia64; then
  35494. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  35495. - # chokes on -Wl,-G. The following line is correct:
  35496. - shared_flag='-G'
  35497. - else
  35498. - if test "$aix_use_runtimelinking" = yes; then
  35499. - shared_flag='${wl}-G'
  35500. - else
  35501. - shared_flag='${wl}-bM:SRE'
  35502. - fi
  35503. - fi
  35504. - fi
  35505. - # It seems that -bexpall does not export symbols beginning with
  35506. - # underscore (_), so it is better to generate a list of symbols to export.
  35507. - always_export_symbols_GCJ=yes
  35508. - if test "$aix_use_runtimelinking" = yes; then
  35509. - # Warning - without using the other runtime loading flags (-brtl),
  35510. - # -berok will link without error, but may produce a broken library.
  35511. - allow_undefined_flag_GCJ='-berok'
  35512. - # Determine the default libpath from the value encoded in an empty executable.
  35513. - cat >conftest.$ac_ext <<_ACEOF
  35514. -/* confdefs.h. */
  35515. -_ACEOF
  35516. -cat confdefs.h >>conftest.$ac_ext
  35517. -cat >>conftest.$ac_ext <<_ACEOF
  35518. -/* end confdefs.h. */
  35519. -int
  35520. -main ()
  35521. -{
  35522. - ;
  35523. - return 0;
  35524. -}
  35525. -_ACEOF
  35526. -rm -f conftest.$ac_objext conftest$ac_exeext
  35527. -if { (ac_try="$ac_link"
  35528. -case "(($ac_try" in
  35529. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35530. - *) ac_try_echo=$ac_try;;
  35531. -esac
  35532. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35533. - (eval "$ac_link") 2>conftest.er1
  35534. - ac_status=$?
  35535. - grep -v '^ *+' conftest.er1 >conftest.err
  35536. - rm -f conftest.er1
  35537. - cat conftest.err >&5
  35538. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35539. - (exit $ac_status); } && {
  35540. - test -z "$ac_c_werror_flag" ||
  35541. - test ! -s conftest.err
  35542. - } && test -s conftest$ac_exeext &&
  35543. - $as_test_x conftest$ac_exeext; then
  35544. -lt_aix_libpath_sed='
  35545. - /Import File Strings/,/^$/ {
  35546. - /^0/ {
  35547. - s/^0 *\(.*\)$/\1/
  35548. - p
  35549. - }
  35550. - }'
  35551. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  35552. -# Check for a 64-bit object if we didn't find anything.
  35553. -if test -z "$aix_libpath"; then
  35554. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  35555. -fi
  35556. -else
  35557. - echo "$as_me: failed program was:" >&5
  35558. -sed 's/^/| /' conftest.$ac_ext >&5
  35559. -fi
  35560. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  35561. - conftest$ac_exeext conftest.$ac_ext
  35562. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  35563. - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  35564. - 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"
  35565. - else
  35566. - if test "$host_cpu" = ia64; then
  35567. - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
  35568. - allow_undefined_flag_GCJ="-z nodefs"
  35569. - 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"
  35570. - else
  35571. - # Determine the default libpath from the value encoded in an empty executable.
  35572. - cat >conftest.$ac_ext <<_ACEOF
  35573. -/* confdefs.h. */
  35574. -_ACEOF
  35575. -cat confdefs.h >>conftest.$ac_ext
  35576. -cat >>conftest.$ac_ext <<_ACEOF
  35577. -/* end confdefs.h. */
  35578. -int
  35579. -main ()
  35580. -{
  35581. - ;
  35582. - return 0;
  35583. -}
  35584. -_ACEOF
  35585. -rm -f conftest.$ac_objext conftest$ac_exeext
  35586. -if { (ac_try="$ac_link"
  35587. -case "(($ac_try" in
  35588. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  35589. - *) ac_try_echo=$ac_try;;
  35590. -esac
  35591. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  35592. - (eval "$ac_link") 2>conftest.er1
  35593. - ac_status=$?
  35594. - grep -v '^ *+' conftest.er1 >conftest.err
  35595. - rm -f conftest.er1
  35596. - cat conftest.err >&5
  35597. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  35598. - (exit $ac_status); } && {
  35599. - test -z "$ac_c_werror_flag" ||
  35600. - test ! -s conftest.err
  35601. - } && test -s conftest$ac_exeext &&
  35602. - $as_test_x conftest$ac_exeext; then
  35603. -lt_aix_libpath_sed='
  35604. - /Import File Strings/,/^$/ {
  35605. - /^0/ {
  35606. - s/^0 *\(.*\)$/\1/
  35607. - p
  35608. - }
  35609. - }'
  35610. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  35611. -# Check for a 64-bit object if we didn't find anything.
  35612. -if test -z "$aix_libpath"; then
  35613. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  35614. -fi
  35615. -else
  35616. - echo "$as_me: failed program was:" >&5
  35617. -sed 's/^/| /' conftest.$ac_ext >&5
  35618. -fi
  35619. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  35620. - conftest$ac_exeext conftest.$ac_ext
  35621. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  35622. - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  35623. - # Warning - without using the other run time loading flags,
  35624. - # -berok will link without error, but may produce a broken library.
  35625. - no_undefined_flag_GCJ=' ${wl}-bernotok'
  35626. - allow_undefined_flag_GCJ=' ${wl}-berok'
  35627. - # Exported symbols can be pulled into shared objects from archives
  35628. - whole_archive_flag_spec_GCJ='$convenience'
  35629. - archive_cmds_need_lc_GCJ=yes
  35630. - # This is similar to how AIX traditionally builds its shared libraries.
  35631. - 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'
  35632. - fi
  35633. - fi
  35634. - ;;
  35635. - amigaos*)
  35636. - 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)'
  35637. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  35638. - hardcode_minus_L_GCJ=yes
  35639. - # see comment about different semantics on the GNU ld section
  35640. - ld_shlibs_GCJ=no
  35641. - ;;
  35642. - bsdi[45]*)
  35643. - export_dynamic_flag_spec_GCJ=-rdynamic
  35644. - ;;
  35645. - cygwin* | mingw* | pw32*)
  35646. - # When not using gcc, we currently assume that we are using
  35647. - # Microsoft Visual C++.
  35648. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  35649. - # no search path for DLLs.
  35650. - hardcode_libdir_flag_spec_GCJ=' '
  35651. - allow_undefined_flag_GCJ=unsupported
  35652. - # Tell ltmain to make .lib files, not .a files.
  35653. - libext=lib
  35654. - # Tell ltmain to make .dll files, not .so files.
  35655. - shrext_cmds=".dll"
  35656. - # FIXME: Setting linknames here is a bad hack.
  35657. - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  35658. - # The linker will automatically build a .lib file if we build a DLL.
  35659. - old_archive_From_new_cmds_GCJ='true'
  35660. - # FIXME: Should let the user specify the lib program.
  35661. - old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
  35662. - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
  35663. - enable_shared_with_static_runtimes_GCJ=yes
  35664. - ;;
  35665. - darwin* | rhapsody*)
  35666. - case $host_os in
  35667. - rhapsody* | darwin1.[012])
  35668. - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
  35669. - ;;
  35670. - *) # Darwin 1.3 on
  35671. - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  35672. - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  35673. - else
  35674. - case ${MACOSX_DEPLOYMENT_TARGET} in
  35675. - 10.[012])
  35676. - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  35677. - ;;
  35678. - 10.*)
  35679. - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
  35680. - ;;
  35681. - esac
  35682. - fi
  35683. - ;;
  35684. - esac
  35685. - archive_cmds_need_lc_GCJ=no
  35686. - hardcode_direct_GCJ=no
  35687. - hardcode_automatic_GCJ=yes
  35688. - hardcode_shlibpath_var_GCJ=unsupported
  35689. - whole_archive_flag_spec_GCJ=''
  35690. - link_all_deplibs_GCJ=yes
  35691. - if test "$GCC" = yes ; then
  35692. - output_verbose_link_cmd='echo'
  35693. - archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  35694. - module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  35695. - archive_expsym_cmds_GCJ="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}"
  35696. - module_expsym_cmds_GCJ="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}"
  35697. - else
  35698. - case $cc_basename in
  35699. - xlc*)
  35700. - output_verbose_link_cmd='echo'
  35701. - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  35702. - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  35703. - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  35704. - 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
  35705. - 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}'
  35706. - ;;
  35707. - *)
  35708. - ld_shlibs_GCJ=no
  35709. - ;;
  35710. - esac
  35711. - fi
  35712. - ;;
  35713. - dgux*)
  35714. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  35715. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  35716. - hardcode_shlibpath_var_GCJ=no
  35717. - ;;
  35718. - freebsd1*)
  35719. - ld_shlibs_GCJ=no
  35720. - ;;
  35721. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  35722. - # support. Future versions do this automatically, but an explicit c++rt0.o
  35723. - # does not break anything, and helps significantly (at the cost of a little
  35724. - # extra space).
  35725. - freebsd2.2*)
  35726. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  35727. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  35728. - hardcode_direct_GCJ=yes
  35729. - hardcode_shlibpath_var_GCJ=no
  35730. - ;;
  35731. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  35732. - freebsd2*)
  35733. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  35734. - hardcode_direct_GCJ=yes
  35735. - hardcode_minus_L_GCJ=yes
  35736. - hardcode_shlibpath_var_GCJ=no
  35737. - ;;
  35738. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  35739. - freebsd* | dragonfly*)
  35740. - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  35741. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  35742. - hardcode_direct_GCJ=yes
  35743. - hardcode_shlibpath_var_GCJ=no
  35744. - ;;
  35745. - hpux9*)
  35746. - if test "$GCC" = yes; then
  35747. - 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'
  35748. - else
  35749. - 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'
  35750. - fi
  35751. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  35752. - hardcode_libdir_separator_GCJ=:
  35753. - hardcode_direct_GCJ=yes
  35754. - # hardcode_minus_L: Not really in the search PATH,
  35755. - # but as the default location of the library.
  35756. - hardcode_minus_L_GCJ=yes
  35757. - export_dynamic_flag_spec_GCJ='${wl}-E'
  35758. - ;;
  35759. - hpux10*)
  35760. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  35761. - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  35762. - else
  35763. - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  35764. - fi
  35765. - if test "$with_gnu_ld" = no; then
  35766. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  35767. - hardcode_libdir_separator_GCJ=:
  35768. - hardcode_direct_GCJ=yes
  35769. - export_dynamic_flag_spec_GCJ='${wl}-E'
  35770. - # hardcode_minus_L: Not really in the search PATH,
  35771. - # but as the default location of the library.
  35772. - hardcode_minus_L_GCJ=yes
  35773. - fi
  35774. - ;;
  35775. - hpux11*)
  35776. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  35777. - case $host_cpu in
  35778. - hppa*64*)
  35779. - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  35780. - ;;
  35781. - ia64*)
  35782. - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  35783. - ;;
  35784. - *)
  35785. - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  35786. - ;;
  35787. - esac
  35788. - else
  35789. - case $host_cpu in
  35790. - hppa*64*)
  35791. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  35792. - ;;
  35793. - ia64*)
  35794. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  35795. - ;;
  35796. - *)
  35797. - archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  35798. - ;;
  35799. - esac
  35800. - fi
  35801. - if test "$with_gnu_ld" = no; then
  35802. - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
  35803. - hardcode_libdir_separator_GCJ=:
  35804. - case $host_cpu in
  35805. - hppa*64*|ia64*)
  35806. - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
  35807. - hardcode_direct_GCJ=no
  35808. - hardcode_shlibpath_var_GCJ=no
  35809. - ;;
  35810. - *)
  35811. - hardcode_direct_GCJ=yes
  35812. - export_dynamic_flag_spec_GCJ='${wl}-E'
  35813. - # hardcode_minus_L: Not really in the search PATH,
  35814. - # but as the default location of the library.
  35815. - hardcode_minus_L_GCJ=yes
  35816. - ;;
  35817. - esac
  35818. - fi
  35819. - ;;
  35820. - irix5* | irix6* | nonstopux*)
  35821. - if test "$GCC" = yes; then
  35822. - 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'
  35823. - else
  35824. - 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'
  35825. - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
  35826. - fi
  35827. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  35828. - hardcode_libdir_separator_GCJ=:
  35829. - link_all_deplibs_GCJ=yes
  35830. - ;;
  35831. - netbsd* | netbsdelf*-gnu)
  35832. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  35833. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  35834. - else
  35835. - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  35836. - fi
  35837. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  35838. - hardcode_direct_GCJ=yes
  35839. - hardcode_shlibpath_var_GCJ=no
  35840. - ;;
  35841. - newsos6)
  35842. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  35843. - hardcode_direct_GCJ=yes
  35844. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  35845. - hardcode_libdir_separator_GCJ=:
  35846. - hardcode_shlibpath_var_GCJ=no
  35847. - ;;
  35848. - openbsd*)
  35849. - if test -f /usr/libexec/ld.so; then
  35850. - hardcode_direct_GCJ=yes
  35851. - hardcode_shlibpath_var_GCJ=no
  35852. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  35853. - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  35854. - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  35855. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  35856. - export_dynamic_flag_spec_GCJ='${wl}-E'
  35857. - else
  35858. - case $host_os in
  35859. - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  35860. - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  35861. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  35862. - ;;
  35863. - *)
  35864. - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  35865. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  35866. - ;;
  35867. - esac
  35868. - fi
  35869. - else
  35870. - ld_shlibs_GCJ=no
  35871. - fi
  35872. - ;;
  35873. - os2*)
  35874. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  35875. - hardcode_minus_L_GCJ=yes
  35876. - allow_undefined_flag_GCJ=unsupported
  35877. - 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'
  35878. - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  35879. - ;;
  35880. - osf3*)
  35881. - if test "$GCC" = yes; then
  35882. - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
  35883. - 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'
  35884. - else
  35885. - allow_undefined_flag_GCJ=' -expect_unresolved \*'
  35886. - 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'
  35887. - fi
  35888. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  35889. - hardcode_libdir_separator_GCJ=:
  35890. - ;;
  35891. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  35892. - if test "$GCC" = yes; then
  35893. - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
  35894. - 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'
  35895. - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
  35896. - else
  35897. - allow_undefined_flag_GCJ=' -expect_unresolved \*'
  35898. - 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'
  35899. - 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~
  35900. - $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'
  35901. - # Both c and cxx compiler support -rpath directly
  35902. - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
  35903. - fi
  35904. - hardcode_libdir_separator_GCJ=:
  35905. - ;;
  35906. - solaris*)
  35907. - no_undefined_flag_GCJ=' -z text'
  35908. - if test "$GCC" = yes; then
  35909. - wlarc='${wl}'
  35910. - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  35911. - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  35912. - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  35913. - else
  35914. - wlarc=''
  35915. - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  35916. - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  35917. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  35918. - fi
  35919. - hardcode_libdir_flag_spec_GCJ='-R$libdir'
  35920. - hardcode_shlibpath_var_GCJ=no
  35921. - case $host_os in
  35922. - solaris2.[0-5] | solaris2.[0-5].*) ;;
  35923. - *)
  35924. - # The compiler driver will combine and reorder linker options,
  35925. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  35926. - # but is careful enough not to reorder.
  35927. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  35928. - if test "$GCC" = yes; then
  35929. - whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  35930. - else
  35931. - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
  35932. - fi
  35933. - ;;
  35934. - esac
  35935. - link_all_deplibs_GCJ=yes
  35936. - ;;
  35937. - sunos4*)
  35938. - if test "x$host_vendor" = xsequent; then
  35939. - # Use $CC to link under sequent, because it throws in some extra .o
  35940. - # files that make .init and .fini sections work.
  35941. - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  35942. - else
  35943. - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  35944. - fi
  35945. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  35946. - hardcode_direct_GCJ=yes
  35947. - hardcode_minus_L_GCJ=yes
  35948. - hardcode_shlibpath_var_GCJ=no
  35949. - ;;
  35950. - sysv4)
  35951. - case $host_vendor in
  35952. - sni)
  35953. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  35954. - hardcode_direct_GCJ=yes # is this really true???
  35955. - ;;
  35956. - siemens)
  35957. - ## LD is ld it makes a PLAMLIB
  35958. - ## CC just makes a GrossModule.
  35959. - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  35960. - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
  35961. - hardcode_direct_GCJ=no
  35962. - ;;
  35963. - motorola)
  35964. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  35965. - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
  35966. - ;;
  35967. - esac
  35968. - runpath_var='LD_RUN_PATH'
  35969. - hardcode_shlibpath_var_GCJ=no
  35970. - ;;
  35971. - sysv4.3*)
  35972. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  35973. - hardcode_shlibpath_var_GCJ=no
  35974. - export_dynamic_flag_spec_GCJ='-Bexport'
  35975. - ;;
  35976. - sysv4*MP*)
  35977. - if test -d /usr/nec; then
  35978. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  35979. - hardcode_shlibpath_var_GCJ=no
  35980. - runpath_var=LD_RUN_PATH
  35981. - hardcode_runpath_var=yes
  35982. - ld_shlibs_GCJ=yes
  35983. - fi
  35984. - ;;
  35985. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  35986. - no_undefined_flag_GCJ='${wl}-z,text'
  35987. - archive_cmds_need_lc_GCJ=no
  35988. - hardcode_shlibpath_var_GCJ=no
  35989. - runpath_var='LD_RUN_PATH'
  35990. - if test "$GCC" = yes; then
  35991. - archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  35992. - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  35993. - else
  35994. - archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  35995. - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  35996. - fi
  35997. - ;;
  35998. - sysv5* | sco3.2v5* | sco5v6*)
  35999. - # Note: We can NOT use -z defs as we might desire, because we do not
  36000. - # link with -lc, and that would cause any symbols used from libc to
  36001. - # always be unresolved, which means just about no library would
  36002. - # ever link correctly. If we're not using GNU ld we use -z text
  36003. - # though, which does catch some bad symbols but isn't as heavy-handed
  36004. - # as -z defs.
  36005. - no_undefined_flag_GCJ='${wl}-z,text'
  36006. - allow_undefined_flag_GCJ='${wl}-z,nodefs'
  36007. - archive_cmds_need_lc_GCJ=no
  36008. - hardcode_shlibpath_var_GCJ=no
  36009. - hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  36010. - hardcode_libdir_separator_GCJ=':'
  36011. - link_all_deplibs_GCJ=yes
  36012. - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
  36013. - runpath_var='LD_RUN_PATH'
  36014. - if test "$GCC" = yes; then
  36015. - archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  36016. - archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  36017. - else
  36018. - archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  36019. - archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  36020. - fi
  36021. - ;;
  36022. - uts4*)
  36023. - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  36024. - hardcode_libdir_flag_spec_GCJ='-L$libdir'
  36025. - hardcode_shlibpath_var_GCJ=no
  36026. - ;;
  36027. - *)
  36028. - ld_shlibs_GCJ=no
  36029. - ;;
  36030. - esac
  36031. - fi
  36032. -{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
  36033. -echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
  36034. -test "$ld_shlibs_GCJ" = no && can_build_shared=no
  36035. -#
  36036. -# Do we need to explicitly link libc?
  36037. -#
  36038. -case "x$archive_cmds_need_lc_GCJ" in
  36039. -x|xyes)
  36040. - # Assume -lc should be added
  36041. - archive_cmds_need_lc_GCJ=yes
  36042. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  36043. - case $archive_cmds_GCJ in
  36044. - *'~'*)
  36045. - # FIXME: we may have to deal with multi-command sequences.
  36046. - ;;
  36047. - '$CC '*)
  36048. - # Test whether the compiler implicitly links with -lc since on some
  36049. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  36050. - # to ld, don't add -lc before -lgcc.
  36051. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  36052. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  36053. - $rm conftest*
  36054. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  36055. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  36056. - (eval $ac_compile) 2>&5
  36057. - ac_status=$?
  36058. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36059. - (exit $ac_status); } 2>conftest.err; then
  36060. - soname=conftest
  36061. - lib=conftest
  36062. - libobjs=conftest.$ac_objext
  36063. - deplibs=
  36064. - wl=$lt_prog_compiler_wl_GCJ
  36065. - pic_flag=$lt_prog_compiler_pic_GCJ
  36066. - compiler_flags=-v
  36067. - linker_flags=-v
  36068. - verstring=
  36069. - output_objdir=.
  36070. - libname=conftest
  36071. - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
  36072. - allow_undefined_flag_GCJ=
  36073. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  36074. - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  36075. - ac_status=$?
  36076. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  36077. - (exit $ac_status); }
  36078. - then
  36079. - archive_cmds_need_lc_GCJ=no
  36080. - else
  36081. - archive_cmds_need_lc_GCJ=yes
  36082. - fi
  36083. - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
  36084. - else
  36085. - cat conftest.err 1>&5
  36086. - fi
  36087. - $rm conftest*
  36088. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
  36089. -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
  36090. - ;;
  36091. - esac
  36092. - fi
  36093. - ;;
  36094. -esac
  36095. -{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  36096. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  36097. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  36098. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  36099. +
  36100. +if test "$GCC" = yes; then
  36101. + case $host_os in
  36102. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  36103. + *) lt_awk_arg="/^libraries:/" ;;
  36104. + esac
  36105. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  36106. + if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  36107. + # if the path contains ";" then we assume it to be the separator
  36108. + # otherwise default to the standard path separator (i.e. ":") - it is
  36109. + # assumed that no part of a normal pathname contains ";" but that should
  36110. + # okay in the real world where ";" in dirpaths is itself problematic.
  36111. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  36112. + else
  36113. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  36114. + fi
  36115. + # Ok, now we have the path, separated by spaces, we can step through it
  36116. + # and add multilib dir if necessary.
  36117. + lt_tmp_lt_search_path_spec=
  36118. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  36119. + for lt_sys_path in $lt_search_path_spec; do
  36120. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  36121. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  36122. + else
  36123. + test -d "$lt_sys_path" && \
  36124. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  36125. + fi
  36126. + done
  36127. + lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  36128. +BEGIN {RS=" "; FS="/|\n";} {
  36129. + lt_foo="";
  36130. + lt_count=0;
  36131. + for (lt_i = NF; lt_i > 0; lt_i--) {
  36132. + if ($lt_i != "" && $lt_i != ".") {
  36133. + if ($lt_i == "..") {
  36134. + lt_count++;
  36135. + } else {
  36136. + if (lt_count == 0) {
  36137. + lt_foo="/" $lt_i lt_foo;
  36138. + } else {
  36139. + lt_count--;
  36140. + }
  36141. + }
  36142. + }
  36143. + }
  36144. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  36145. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  36146. +}'`
  36147. + sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  36148. +else
  36149. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  36150. +fi
  36151. library_names_spec=
  36152. libname_spec='lib$name'
  36153. soname_spec=
  36154. @@ -18511,7 +9624,6 @@
  36155. version_type=none
  36156. dynamic_linker="$host_os ld.so"
  36157. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  36158. -
  36159. need_lib_prefix=unknown
  36160. hardcode_into_libs=no
  36161. @@ -18548,7 +9660,7 @@
  36162. aix4 | aix4.[01] | aix4.[01].*)
  36163. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  36164. echo ' yes '
  36165. - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  36166. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  36167. :
  36168. else
  36169. can_build_shared=no
  36170. @@ -18574,9 +9686,18 @@
  36171. ;;
  36172. amigaos*)
  36173. - library_names_spec='$libname.ixlibrary $libname.a'
  36174. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  36175. - 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'
  36176. + case $host_cpu in
  36177. + powerpc)
  36178. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  36179. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  36180. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  36181. + ;;
  36182. + m68k)
  36183. + library_names_spec='$libname.ixlibrary $libname.a'
  36184. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  36185. + 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'
  36186. + ;;
  36187. + esac
  36188. ;;
  36189. beos*)
  36190. @@ -18599,25 +9720,28 @@
  36191. # libtool to hard-code these into programs
  36192. ;;
  36193. -cygwin* | mingw* | pw32*)
  36194. +cygwin* | mingw* | pw32* | cegcc*)
  36195. version_type=windows
  36196. shrext_cmds=".dll"
  36197. need_version=no
  36198. need_lib_prefix=no
  36199. case $GCC,$host_os in
  36200. - yes,cygwin* | yes,mingw* | yes,pw32*)
  36201. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  36202. library_names_spec='$libname.dll.a'
  36203. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  36204. postinstall_cmds='base_file=`basename \${file}`~
  36205. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  36206. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  36207. dldir=$destdir/`dirname \$dlpath`~
  36208. test -d \$dldir || mkdir -p \$dldir~
  36209. $install_prog $dir/$dlname \$dldir/$dlname~
  36210. - chmod a+x \$dldir/$dlname'
  36211. + chmod a+x \$dldir/$dlname~
  36212. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  36213. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  36214. + fi'
  36215. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  36216. dlpath=$dir/\$dldll~
  36217. - $rm \$dlpath'
  36218. + $RM \$dlpath'
  36219. shlibpath_overrides_runpath=yes
  36220. case $host_os in
  36221. @@ -18626,20 +9750,20 @@
  36222. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  36223. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  36224. ;;
  36225. - mingw*)
  36226. + mingw* | cegcc*)
  36227. # MinGW DLLs use traditional 'lib' prefix
  36228. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  36229. - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  36230. - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  36231. + sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  36232. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  36233. # It is most probably a Windows format PATH printed by
  36234. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  36235. # path with ; separators, and with drive letters. We can handle the
  36236. # drive letters (cygwin fileutils understands them), so leave them,
  36237. # especially as we might pass files found there to a mingw objdump,
  36238. # which wouldn't understand a cygwinified path. Ahh.
  36239. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  36240. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  36241. else
  36242. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  36243. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  36244. fi
  36245. ;;
  36246. pw32*)
  36247. @@ -18663,12 +9787,13 @@
  36248. version_type=darwin
  36249. need_lib_prefix=no
  36250. need_version=no
  36251. - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  36252. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  36253. soname_spec='${libname}${release}${major}$shared_ext'
  36254. shlibpath_overrides_runpath=yes
  36255. shlibpath_var=DYLD_LIBRARY_PATH
  36256. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  36257. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  36258. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  36259. ;;
  36260. @@ -18761,18 +9886,18 @@
  36261. fi
  36262. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  36263. ;;
  36264. - hppa*64*)
  36265. - shrext_cmds='.sl'
  36266. - hardcode_into_libs=yes
  36267. - dynamic_linker="$host_os dld.sl"
  36268. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  36269. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  36270. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  36271. - soname_spec='${libname}${release}${shared_ext}$major'
  36272. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  36273. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  36274. - ;;
  36275. - *)
  36276. + hppa*64*)
  36277. + shrext_cmds='.sl'
  36278. + hardcode_into_libs=yes
  36279. + dynamic_linker="$host_os dld.sl"
  36280. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  36281. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  36282. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  36283. + soname_spec='${libname}${release}${shared_ext}$major'
  36284. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  36285. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  36286. + ;;
  36287. + *)
  36288. shrext_cmds='.sl'
  36289. dynamic_linker="$host_os dld.sl"
  36290. shlibpath_var=SHLIB_PATH
  36291. @@ -18840,7 +9965,7 @@
  36292. ;;
  36293. # This must be Linux ELF.
  36294. -linux* | k*bsd*-gnu)
  36295. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  36296. version_type=linux
  36297. need_lib_prefix=no
  36298. need_version=no
  36299. @@ -18849,6 +9974,32 @@
  36300. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  36301. shlibpath_var=LD_LIBRARY_PATH
  36302. shlibpath_overrides_runpath=no
  36303. + # Some binutils ld are patched to set DT_RUNPATH
  36304. + save_LDFLAGS=$LDFLAGS
  36305. + save_libdir=$libdir
  36306. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  36307. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  36308. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  36309. +/* end confdefs.h. */
  36310. +
  36311. +int
  36312. +main ()
  36313. +{
  36314. +
  36315. + ;
  36316. + return 0;
  36317. +}
  36318. +_ACEOF
  36319. +if ac_fn_c_try_link "$LINENO"; then :
  36320. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  36321. + shlibpath_overrides_runpath=yes
  36322. +fi
  36323. +fi
  36324. +rm -f core conftest.err conftest.$ac_objext \
  36325. + conftest$ac_exeext conftest.$ac_ext
  36326. + LDFLAGS=$save_LDFLAGS
  36327. + libdir=$save_libdir
  36328. +
  36329. # This implies no fast_install, which is unacceptable.
  36330. # Some rework will be needed to allow for fast_install
  36331. # before this can be enabled.
  36332. @@ -18856,7 +10007,7 @@
  36333. # Append ld.so.conf contents to the search path
  36334. if test -f /etc/ld.so.conf; then
  36335. - 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' ' '`
  36336. + 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' ' '`
  36337. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  36338. fi
  36339. @@ -18885,7 +10036,7 @@
  36340. version_type=sunos
  36341. need_lib_prefix=no
  36342. need_version=no
  36343. - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  36344. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  36345. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  36346. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  36347. dynamic_linker='NetBSD (a.out) ld.so'
  36348. @@ -18906,14 +10057,16 @@
  36349. shlibpath_overrides_runpath=yes
  36350. ;;
  36351. -nto-qnx*)
  36352. - version_type=linux
  36353. +*nto* | *qnx*)
  36354. + version_type=qnx
  36355. need_lib_prefix=no
  36356. need_version=no
  36357. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  36358. soname_spec='${libname}${release}${shared_ext}$major'
  36359. shlibpath_var=LD_LIBRARY_PATH
  36360. - shlibpath_overrides_runpath=yes
  36361. + shlibpath_overrides_runpath=no
  36362. + hardcode_into_libs=yes
  36363. + dynamic_linker='ldqnx.so'
  36364. ;;
  36365. openbsd*)
  36366. @@ -18922,13 +10075,13 @@
  36367. need_lib_prefix=no
  36368. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  36369. case $host_os in
  36370. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  36371. - *) need_version=no ;;
  36372. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  36373. + *) need_version=no ;;
  36374. esac
  36375. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  36376. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  36377. shlibpath_var=LD_LIBRARY_PATH
  36378. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  36379. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  36380. case $host_os in
  36381. openbsd2.[89] | openbsd2.[89].*)
  36382. shlibpath_overrides_runpath=no
  36383. @@ -19000,7 +10153,6 @@
  36384. sni)
  36385. shlibpath_overrides_runpath=no
  36386. need_lib_prefix=no
  36387. - export_dynamic_flag_spec='${wl}-Blargedynsym'
  36388. runpath_var=LD_RUN_PATH
  36389. ;;
  36390. siemens)
  36391. @@ -19031,13 +10183,12 @@
  36392. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  36393. soname_spec='${libname}${release}${shared_ext}$major'
  36394. shlibpath_var=LD_LIBRARY_PATH
  36395. + shlibpath_overrides_runpath=yes
  36396. hardcode_into_libs=yes
  36397. if test "$with_gnu_ld" = yes; then
  36398. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  36399. - shlibpath_overrides_runpath=no
  36400. else
  36401. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  36402. - shlibpath_overrides_runpath=yes
  36403. case $host_os in
  36404. sco3.2v5*)
  36405. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  36406. @@ -19047,6 +10198,17 @@
  36407. sys_lib_dlsearch_path_spec='/usr/lib'
  36408. ;;
  36409. +tpf*)
  36410. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  36411. + version_type=linux
  36412. + need_lib_prefix=no
  36413. + need_version=no
  36414. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  36415. + shlibpath_var=LD_LIBRARY_PATH
  36416. + shlibpath_overrides_runpath=no
  36417. + hardcode_into_libs=yes
  36418. + ;;
  36419. +
  36420. uts4*)
  36421. version_type=linux
  36422. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  36423. @@ -19057,969 +10219,734 @@
  36424. *)
  36425. dynamic_linker=no
  36426. ;;
  36427. -esac
  36428. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  36429. -echo "${ECHO_T}$dynamic_linker" >&6; }
  36430. -test "$dynamic_linker" = no && can_build_shared=no
  36431. -
  36432. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  36433. - echo $ECHO_N "(cached) $ECHO_C" >&6
  36434. -else
  36435. - lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
  36436. -fi
  36437. -
  36438. -sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  36439. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  36440. - echo $ECHO_N "(cached) $ECHO_C" >&6
  36441. -else
  36442. - lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
  36443. -fi
  36444. -
  36445. -sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  36446. -
  36447. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  36448. -if test "$GCC" = yes; then
  36449. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  36450. -fi
  36451. -
  36452. -{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  36453. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  36454. -hardcode_action_GCJ=
  36455. -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
  36456. - test -n "$runpath_var_GCJ" || \
  36457. - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
  36458. -
  36459. - # We can hardcode non-existant directories.
  36460. - if test "$hardcode_direct_GCJ" != no &&
  36461. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  36462. - # have to relink, otherwise we might link with an installed library
  36463. - # when we should be linking with a yet-to-be-installed one
  36464. - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
  36465. - test "$hardcode_minus_L_GCJ" != no; then
  36466. - # Linking always hardcodes the temporary library directory.
  36467. - hardcode_action_GCJ=relink
  36468. - else
  36469. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  36470. - hardcode_action_GCJ=immediate
  36471. - fi
  36472. -else
  36473. - # We cannot hardcode anything, or else we can only hardcode existing
  36474. - # directories.
  36475. - hardcode_action_GCJ=unsupported
  36476. -fi
  36477. -{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
  36478. -echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
  36479. -
  36480. -if test "$hardcode_action_GCJ" = relink; then
  36481. - # Fast installation is not supported
  36482. - enable_fast_install=no
  36483. -elif test "$shlibpath_overrides_runpath" = yes ||
  36484. - test "$enable_shared" = no; then
  36485. - # Fast installation is not necessary
  36486. - enable_fast_install=needless
  36487. -fi
  36488. -
  36489. -
  36490. -# The else clause should only fire when bootstrapping the
  36491. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  36492. -# with your package, and you will get complaints that there are
  36493. -# no rules to generate ltmain.sh.
  36494. -if test -f "$ltmain"; then
  36495. - # See if we are running on zsh, and set the options which allow our commands through
  36496. - # without removal of \ escapes.
  36497. - if test -n "${ZSH_VERSION+set}" ; then
  36498. - setopt NO_GLOB_SUBST
  36499. - fi
  36500. - # Now quote all the things that may contain metacharacters while being
  36501. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  36502. - # variables and quote the copies for generation of the libtool script.
  36503. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  36504. - SED SHELL STRIP \
  36505. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  36506. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  36507. - deplibs_check_method reload_flag reload_cmds need_locks \
  36508. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  36509. - lt_cv_sys_global_symbol_to_c_name_address \
  36510. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  36511. - old_postinstall_cmds old_postuninstall_cmds \
  36512. - compiler_GCJ \
  36513. - CC_GCJ \
  36514. - LD_GCJ \
  36515. - lt_prog_compiler_wl_GCJ \
  36516. - lt_prog_compiler_pic_GCJ \
  36517. - lt_prog_compiler_static_GCJ \
  36518. - lt_prog_compiler_no_builtin_flag_GCJ \
  36519. - export_dynamic_flag_spec_GCJ \
  36520. - thread_safe_flag_spec_GCJ \
  36521. - whole_archive_flag_spec_GCJ \
  36522. - enable_shared_with_static_runtimes_GCJ \
  36523. - old_archive_cmds_GCJ \
  36524. - old_archive_from_new_cmds_GCJ \
  36525. - predep_objects_GCJ \
  36526. - postdep_objects_GCJ \
  36527. - predeps_GCJ \
  36528. - postdeps_GCJ \
  36529. - compiler_lib_search_path_GCJ \
  36530. - compiler_lib_search_dirs_GCJ \
  36531. - archive_cmds_GCJ \
  36532. - archive_expsym_cmds_GCJ \
  36533. - postinstall_cmds_GCJ \
  36534. - postuninstall_cmds_GCJ \
  36535. - old_archive_from_expsyms_cmds_GCJ \
  36536. - allow_undefined_flag_GCJ \
  36537. - no_undefined_flag_GCJ \
  36538. - export_symbols_cmds_GCJ \
  36539. - hardcode_libdir_flag_spec_GCJ \
  36540. - hardcode_libdir_flag_spec_ld_GCJ \
  36541. - hardcode_libdir_separator_GCJ \
  36542. - hardcode_automatic_GCJ \
  36543. - module_cmds_GCJ \
  36544. - module_expsym_cmds_GCJ \
  36545. - lt_cv_prog_compiler_c_o_GCJ \
  36546. - fix_srcfile_path_GCJ \
  36547. - exclude_expsyms_GCJ \
  36548. - include_expsyms_GCJ; do
  36549. -
  36550. - case $var in
  36551. - old_archive_cmds_GCJ | \
  36552. - old_archive_from_new_cmds_GCJ | \
  36553. - archive_cmds_GCJ | \
  36554. - archive_expsym_cmds_GCJ | \
  36555. - module_cmds_GCJ | \
  36556. - module_expsym_cmds_GCJ | \
  36557. - old_archive_from_expsyms_cmds_GCJ | \
  36558. - export_symbols_cmds_GCJ | \
  36559. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  36560. - postinstall_cmds | postuninstall_cmds | \
  36561. - old_postinstall_cmds | old_postuninstall_cmds | \
  36562. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  36563. - # Double-quote double-evaled strings.
  36564. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  36565. - ;;
  36566. - *)
  36567. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  36568. - ;;
  36569. - esac
  36570. - done
  36571. -
  36572. - case $lt_echo in
  36573. - *'\$0 --fallback-echo"')
  36574. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  36575. - ;;
  36576. - esac
  36577. -
  36578. -cfgfile="$ofile"
  36579. -
  36580. - cat <<__EOF__ >> "$cfgfile"
  36581. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  36582. -
  36583. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  36584. -
  36585. -# Shell to use when invoking shell scripts.
  36586. -SHELL=$lt_SHELL
  36587. -
  36588. -# Whether or not to build shared libraries.
  36589. -build_libtool_libs=$enable_shared
  36590. -
  36591. -# Whether or not to build static libraries.
  36592. -build_old_libs=$enable_static
  36593. -
  36594. -# Whether or not to add -lc for building shared libraries.
  36595. -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
  36596. -
  36597. -# Whether or not to disallow shared libs when runtime libs are static
  36598. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
  36599. -
  36600. -# Whether or not to optimize for fast installation.
  36601. -fast_install=$enable_fast_install
  36602. -
  36603. -# The host system.
  36604. -host_alias=$host_alias
  36605. -host=$host
  36606. -host_os=$host_os
  36607. -
  36608. -# The build system.
  36609. -build_alias=$build_alias
  36610. -build=$build
  36611. -build_os=$build_os
  36612. -
  36613. -# An echo program that does not interpret backslashes.
  36614. -echo=$lt_echo
  36615. +esac
  36616. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  36617. +$as_echo "$dynamic_linker" >&6; }
  36618. +test "$dynamic_linker" = no && can_build_shared=no
  36619. -# The archiver.
  36620. -AR=$lt_AR
  36621. -AR_FLAGS=$lt_AR_FLAGS
  36622. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  36623. +if test "$GCC" = yes; then
  36624. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  36625. +fi
  36626. -# A C compiler.
  36627. -LTCC=$lt_LTCC
  36628. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  36629. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  36630. +fi
  36631. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  36632. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  36633. +fi
  36634. -# LTCC compiler flags.
  36635. -LTCFLAGS=$lt_LTCFLAGS
  36636. -# A language-specific compiler.
  36637. -CC=$lt_compiler_GCJ
  36638. -# Is the compiler the GNU C compiler?
  36639. -with_gcc=$GCC_GCJ
  36640. -# An ERE matcher.
  36641. -EGREP=$lt_EGREP
  36642. -# The linker used to build libraries.
  36643. -LD=$lt_LD_GCJ
  36644. -# Whether we need hard or soft links.
  36645. -LN_S=$lt_LN_S
  36646. -# A BSD-compatible nm program.
  36647. -NM=$lt_NM
  36648. -# A symbol stripping program
  36649. -STRIP=$lt_STRIP
  36650. -# Used to examine libraries when file_magic_cmd begins "file"
  36651. -MAGIC_CMD=$MAGIC_CMD
  36652. -# Used on cygwin: DLL creation program.
  36653. -DLLTOOL="$DLLTOOL"
  36654. -# Used on cygwin: object dumper.
  36655. -OBJDUMP="$OBJDUMP"
  36656. -# Used on cygwin: assembler.
  36657. -AS="$AS"
  36658. -# The name of the directory that contains temporary libtool files.
  36659. -objdir=$objdir
  36660. -# How to create reloadable object files.
  36661. -reload_flag=$lt_reload_flag
  36662. -reload_cmds=$lt_reload_cmds
  36663. -# How to pass a linker flag through the compiler.
  36664. -wl=$lt_lt_prog_compiler_wl_GCJ
  36665. -# Object file suffix (normally "o").
  36666. -objext="$ac_objext"
  36667. -# Old archive suffix (normally "a").
  36668. -libext="$libext"
  36669. -# Shared library suffix (normally ".so").
  36670. -shrext_cmds='$shrext_cmds'
  36671. -# Executable file suffix (normally "").
  36672. -exeext="$exeext"
  36673. -# Additional compiler flags for building library objects.
  36674. -pic_flag=$lt_lt_prog_compiler_pic_GCJ
  36675. -pic_mode=$pic_mode
  36676. -# What is the maximum length of a command?
  36677. -max_cmd_len=$lt_cv_sys_max_cmd_len
  36678. -# Does compiler simultaneously support -c and -o options?
  36679. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
  36680. -# Must we lock files when doing compilation?
  36681. -need_locks=$lt_need_locks
  36682. -# Do we need the lib prefix for modules?
  36683. -need_lib_prefix=$need_lib_prefix
  36684. -# Do we need a version for libraries?
  36685. -need_version=$need_version
  36686. -# Whether dlopen is supported.
  36687. -dlopen_support=$enable_dlopen
  36688. -# Whether dlopen of programs is supported.
  36689. -dlopen_self=$enable_dlopen_self
  36690. -# Whether dlopen of statically linked programs is supported.
  36691. -dlopen_self_static=$enable_dlopen_self_static
  36692. -# Compiler flag to prevent dynamic linking.
  36693. -link_static_flag=$lt_lt_prog_compiler_static_GCJ
  36694. -# Compiler flag to turn off builtin functions.
  36695. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
  36696. -# Compiler flag to allow reflexive dlopens.
  36697. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
  36698. -# Compiler flag to generate shared objects directly from archives.
  36699. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
  36700. -# Compiler flag to generate thread-safe objects.
  36701. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
  36702. -# Library versioning type.
  36703. -version_type=$version_type
  36704. -# Format of library name prefix.
  36705. -libname_spec=$lt_libname_spec
  36706. -# List of archive names. First name is the real one, the rest are links.
  36707. -# The last name is the one that the linker finds with -lNAME.
  36708. -library_names_spec=$lt_library_names_spec
  36709. -# The coded name of the library, if different from the real name.
  36710. -soname_spec=$lt_soname_spec
  36711. -# Commands used to build and install an old-style archive.
  36712. -RANLIB=$lt_RANLIB
  36713. -old_archive_cmds=$lt_old_archive_cmds_GCJ
  36714. -old_postinstall_cmds=$lt_old_postinstall_cmds
  36715. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  36716. -# Create an old-style archive from a shared archive.
  36717. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
  36718. -# Create a temporary old-style archive to link instead of a shared archive.
  36719. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
  36720. -# Commands used to build and install a shared archive.
  36721. -archive_cmds=$lt_archive_cmds_GCJ
  36722. -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
  36723. -postinstall_cmds=$lt_postinstall_cmds
  36724. -postuninstall_cmds=$lt_postuninstall_cmds
  36725. -# Commands used to build a loadable module (assumed same as above if empty)
  36726. -module_cmds=$lt_module_cmds_GCJ
  36727. -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
  36728. -# Commands to strip libraries.
  36729. -old_striplib=$lt_old_striplib
  36730. -striplib=$lt_striplib
  36731. -# Dependencies to place before the objects being linked to create a
  36732. -# shared library.
  36733. -predep_objects=$lt_predep_objects_GCJ
  36734. -
  36735. -# Dependencies to place after the objects being linked to create a
  36736. -# shared library.
  36737. -postdep_objects=$lt_postdep_objects_GCJ
  36738. -
  36739. -# Dependencies to place before the objects being linked to create a
  36740. -# shared library.
  36741. -predeps=$lt_predeps_GCJ
  36742. -
  36743. -# Dependencies to place after the objects being linked to create a
  36744. -# shared library.
  36745. -postdeps=$lt_postdeps_GCJ
  36746. -
  36747. -# The directories searched by this compiler when creating a shared
  36748. -# library
  36749. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
  36750. -
  36751. -# The library search path used internally by the compiler when linking
  36752. -# a shared library.
  36753. -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
  36754. -# Method to check whether dependent libraries are shared objects.
  36755. -deplibs_check_method=$lt_deplibs_check_method
  36756. -# Command to use when deplibs_check_method == file_magic.
  36757. -file_magic_cmd=$lt_file_magic_cmd
  36758. -# Flag that allows shared libraries with undefined symbols to be built.
  36759. -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
  36760. -# Flag that forces no undefined symbols.
  36761. -no_undefined_flag=$lt_no_undefined_flag_GCJ
  36762. -# Commands used to finish a libtool library installation in a directory.
  36763. -finish_cmds=$lt_finish_cmds
  36764. -# Same as above, but a single script fragment to be evaled but not shown.
  36765. -finish_eval=$lt_finish_eval
  36766. -# Take the output of nm and produce a listing of raw symbols and C names.
  36767. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  36768. -# Transform the output of nm in a proper C declaration
  36769. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  36770. -# Transform the output of nm in a C name address pair
  36771. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  36772. -# This is the shared library runtime path variable.
  36773. -runpath_var=$runpath_var
  36774. -# This is the shared library path variable.
  36775. -shlibpath_var=$shlibpath_var
  36776. -# Is shlibpath searched before the hard-coded library search path?
  36777. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  36778. -# How to hardcode a shared library path into an executable.
  36779. -hardcode_action=$hardcode_action_GCJ
  36780. -# Whether we should hardcode library paths into libraries.
  36781. -hardcode_into_libs=$hardcode_into_libs
  36782. -# Flag to hardcode \$libdir into a binary during linking.
  36783. -# This must work even if \$libdir does not exist.
  36784. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
  36785. -# If ld is used when linking, flag to hardcode \$libdir into
  36786. -# a binary during linking. This must work even if \$libdir does
  36787. -# not exist.
  36788. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
  36789. -
  36790. -# Whether we need a single -rpath flag with a separated argument.
  36791. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
  36792. -
  36793. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  36794. -# resulting binary.
  36795. -hardcode_direct=$hardcode_direct_GCJ
  36796. -
  36797. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  36798. -# resulting binary.
  36799. -hardcode_minus_L=$hardcode_minus_L_GCJ
  36800. -
  36801. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  36802. -# the resulting binary.
  36803. -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
  36804. -
  36805. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  36806. -# and all subsequent libraries and executables linked against it.
  36807. -hardcode_automatic=$hardcode_automatic_GCJ
  36808. -# Variables whose values should be saved in libtool wrapper scripts and
  36809. -# restored at relink time.
  36810. -variables_saved_for_relink="$variables_saved_for_relink"
  36811. -# Whether libtool must link a program against all its dependency libraries.
  36812. -link_all_deplibs=$link_all_deplibs_GCJ
  36813. -# Compile-time system search path for libraries
  36814. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  36815. -# Run-time system search path for libraries
  36816. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  36817. -# Fix the shell variable \$srcfile for the compiler.
  36818. -fix_srcfile_path=$lt_fix_srcfile_path
  36819. -# Set to yes if exported symbols are required.
  36820. -always_export_symbols=$always_export_symbols_GCJ
  36821. -# The commands to list exported symbols.
  36822. -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
  36823. -# The commands to extract the exported symbol list from a shared archive.
  36824. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  36825. -# Symbols that should not be listed in the preloaded symbols.
  36826. -exclude_expsyms=$lt_exclude_expsyms_GCJ
  36827. -# Symbols that must always be exported.
  36828. -include_expsyms=$lt_include_expsyms_GCJ
  36829. -# ### END LIBTOOL TAG CONFIG: $tagname
  36830. -__EOF__
  36831. -else
  36832. - # If there is no Makefile yet, we rely on a make rule to execute
  36833. - # `config.status --recheck' to rerun these tests and create the
  36834. - # libtool script then.
  36835. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  36836. - if test -f "$ltmain_in"; then
  36837. - test -f Makefile && make "$ltmain"
  36838. - fi
  36839. -fi
  36840. -ac_ext=c
  36841. -ac_cpp='$CPP $CPPFLAGS'
  36842. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  36843. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  36844. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  36845. -CC="$lt_save_CC"
  36846. - else
  36847. - tagname=""
  36848. - fi
  36849. - ;;
  36850. - RC)
  36851. -# Source file extension for RC test sources.
  36852. -ac_ext=rc
  36853. -# Object file extension for compiled RC test sources.
  36854. -objext=o
  36855. -objext_RC=$objext
  36856. -# Code to be used in simple compile tests
  36857. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  36858. -# Code to be used in simple link tests
  36859. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  36860. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  36861. -# If no C compiler was specified, use CC.
  36862. -LTCC=${LTCC-"$CC"}
  36863. -# If no C compiler flags were specified, use CFLAGS.
  36864. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  36865. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  36866. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  36867. +hardcode_action=
  36868. +if test -n "$hardcode_libdir_flag_spec" ||
  36869. + test -n "$runpath_var" ||
  36870. + test "X$hardcode_automatic" = "Xyes" ; then
  36871. -# Allow CC to be a program name with arguments.
  36872. -compiler=$CC
  36873. + # We can hardcode non-existent directories.
  36874. + if test "$hardcode_direct" != no &&
  36875. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  36876. + # have to relink, otherwise we might link with an installed library
  36877. + # when we should be linking with a yet-to-be-installed one
  36878. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  36879. + test "$hardcode_minus_L" != no; then
  36880. + # Linking always hardcodes the temporary library directory.
  36881. + hardcode_action=relink
  36882. + else
  36883. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  36884. + hardcode_action=immediate
  36885. + fi
  36886. +else
  36887. + # We cannot hardcode anything, or else we can only hardcode existing
  36888. + # directories.
  36889. + hardcode_action=unsupported
  36890. +fi
  36891. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  36892. +$as_echo "$hardcode_action" >&6; }
  36893. +if test "$hardcode_action" = relink ||
  36894. + test "$inherit_rpath" = yes; then
  36895. + # Fast installation is not supported
  36896. + enable_fast_install=no
  36897. +elif test "$shlibpath_overrides_runpath" = yes ||
  36898. + test "$enable_shared" = no; then
  36899. + # Fast installation is not necessary
  36900. + enable_fast_install=needless
  36901. +fi
  36902. -# save warnings/boilerplate of simple test code
  36903. -ac_outfile=conftest.$ac_objext
  36904. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  36905. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  36906. -_lt_compiler_boilerplate=`cat conftest.err`
  36907. -$rm conftest*
  36908. -ac_outfile=conftest.$ac_objext
  36909. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  36910. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  36911. -_lt_linker_boilerplate=`cat conftest.err`
  36912. -$rm -r conftest*
  36913. -# Allow CC to be a program name with arguments.
  36914. -lt_save_CC="$CC"
  36915. -CC=${RC-"windres"}
  36916. -compiler=$CC
  36917. -compiler_RC=$CC
  36918. -for cc_temp in $compiler""; do
  36919. - case $cc_temp in
  36920. - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  36921. - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  36922. - \-*) ;;
  36923. - *) break;;
  36924. - esac
  36925. -done
  36926. -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  36927. -lt_cv_prog_compiler_c_o_RC=yes
  36928. -# The else clause should only fire when bootstrapping the
  36929. -# libtool distribution, otherwise you forgot to ship ltmain.sh
  36930. -# with your package, and you will get complaints that there are
  36931. -# no rules to generate ltmain.sh.
  36932. -if test -f "$ltmain"; then
  36933. - # See if we are running on zsh, and set the options which allow our commands through
  36934. - # without removal of \ escapes.
  36935. - if test -n "${ZSH_VERSION+set}" ; then
  36936. - setopt NO_GLOB_SUBST
  36937. - fi
  36938. - # Now quote all the things that may contain metacharacters while being
  36939. - # careful not to overquote the AC_SUBSTed values. We take copies of the
  36940. - # variables and quote the copies for generation of the libtool script.
  36941. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
  36942. - SED SHELL STRIP \
  36943. - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
  36944. - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
  36945. - deplibs_check_method reload_flag reload_cmds need_locks \
  36946. - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
  36947. - lt_cv_sys_global_symbol_to_c_name_address \
  36948. - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
  36949. - old_postinstall_cmds old_postuninstall_cmds \
  36950. - compiler_RC \
  36951. - CC_RC \
  36952. - LD_RC \
  36953. - lt_prog_compiler_wl_RC \
  36954. - lt_prog_compiler_pic_RC \
  36955. - lt_prog_compiler_static_RC \
  36956. - lt_prog_compiler_no_builtin_flag_RC \
  36957. - export_dynamic_flag_spec_RC \
  36958. - thread_safe_flag_spec_RC \
  36959. - whole_archive_flag_spec_RC \
  36960. - enable_shared_with_static_runtimes_RC \
  36961. - old_archive_cmds_RC \
  36962. - old_archive_from_new_cmds_RC \
  36963. - predep_objects_RC \
  36964. - postdep_objects_RC \
  36965. - predeps_RC \
  36966. - postdeps_RC \
  36967. - compiler_lib_search_path_RC \
  36968. - compiler_lib_search_dirs_RC \
  36969. - archive_cmds_RC \
  36970. - archive_expsym_cmds_RC \
  36971. - postinstall_cmds_RC \
  36972. - postuninstall_cmds_RC \
  36973. - old_archive_from_expsyms_cmds_RC \
  36974. - allow_undefined_flag_RC \
  36975. - no_undefined_flag_RC \
  36976. - export_symbols_cmds_RC \
  36977. - hardcode_libdir_flag_spec_RC \
  36978. - hardcode_libdir_flag_spec_ld_RC \
  36979. - hardcode_libdir_separator_RC \
  36980. - hardcode_automatic_RC \
  36981. - module_cmds_RC \
  36982. - module_expsym_cmds_RC \
  36983. - lt_cv_prog_compiler_c_o_RC \
  36984. - fix_srcfile_path_RC \
  36985. - exclude_expsyms_RC \
  36986. - include_expsyms_RC; do
  36987. -
  36988. - case $var in
  36989. - old_archive_cmds_RC | \
  36990. - old_archive_from_new_cmds_RC | \
  36991. - archive_cmds_RC | \
  36992. - archive_expsym_cmds_RC | \
  36993. - module_cmds_RC | \
  36994. - module_expsym_cmds_RC | \
  36995. - old_archive_from_expsyms_cmds_RC | \
  36996. - export_symbols_cmds_RC | \
  36997. - extract_expsyms_cmds | reload_cmds | finish_cmds | \
  36998. - postinstall_cmds | postuninstall_cmds | \
  36999. - old_postinstall_cmds | old_postuninstall_cmds | \
  37000. - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
  37001. - # Double-quote double-evaled strings.
  37002. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  37003. - ;;
  37004. - *)
  37005. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  37006. - ;;
  37007. - esac
  37008. - done
  37009. + if test "x$enable_dlopen" != xyes; then
  37010. + enable_dlopen=unknown
  37011. + enable_dlopen_self=unknown
  37012. + enable_dlopen_self_static=unknown
  37013. +else
  37014. + lt_cv_dlopen=no
  37015. + lt_cv_dlopen_libs=
  37016. - case $lt_echo in
  37017. - *'\$0 --fallback-echo"')
  37018. - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  37019. + case $host_os in
  37020. + beos*)
  37021. + lt_cv_dlopen="load_add_on"
  37022. + lt_cv_dlopen_libs=
  37023. + lt_cv_dlopen_self=yes
  37024. ;;
  37025. - esac
  37026. -
  37027. -cfgfile="$ofile"
  37028. - cat <<__EOF__ >> "$cfgfile"
  37029. -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
  37030. + mingw* | pw32* | cegcc*)
  37031. + lt_cv_dlopen="LoadLibrary"
  37032. + lt_cv_dlopen_libs=
  37033. + ;;
  37034. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  37035. + cygwin*)
  37036. + lt_cv_dlopen="dlopen"
  37037. + lt_cv_dlopen_libs=
  37038. + ;;
  37039. -# Shell to use when invoking shell scripts.
  37040. -SHELL=$lt_SHELL
  37041. + darwin*)
  37042. + # if libdl is installed we need to link against it
  37043. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  37044. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  37045. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  37046. + $as_echo_n "(cached) " >&6
  37047. +else
  37048. + ac_check_lib_save_LIBS=$LIBS
  37049. +LIBS="-ldl $LIBS"
  37050. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37051. +/* end confdefs.h. */
  37052. -# Whether or not to build shared libraries.
  37053. -build_libtool_libs=$enable_shared
  37054. +/* Override any GCC internal prototype to avoid an error.
  37055. + Use char because int might match the return type of a GCC
  37056. + builtin and then its argument prototype would still apply. */
  37057. +#ifdef __cplusplus
  37058. +extern "C"
  37059. +#endif
  37060. +char dlopen ();
  37061. +int
  37062. +main ()
  37063. +{
  37064. +return dlopen ();
  37065. + ;
  37066. + return 0;
  37067. +}
  37068. +_ACEOF
  37069. +if ac_fn_c_try_link "$LINENO"; then :
  37070. + ac_cv_lib_dl_dlopen=yes
  37071. +else
  37072. + ac_cv_lib_dl_dlopen=no
  37073. +fi
  37074. +rm -f core conftest.err conftest.$ac_objext \
  37075. + conftest$ac_exeext conftest.$ac_ext
  37076. +LIBS=$ac_check_lib_save_LIBS
  37077. +fi
  37078. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  37079. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  37080. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  37081. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  37082. +else
  37083. -# Whether or not to build static libraries.
  37084. -build_old_libs=$enable_static
  37085. + lt_cv_dlopen="dyld"
  37086. + lt_cv_dlopen_libs=
  37087. + lt_cv_dlopen_self=yes
  37088. -# Whether or not to add -lc for building shared libraries.
  37089. -build_libtool_need_lc=$archive_cmds_need_lc_RC
  37090. +fi
  37091. -# Whether or not to disallow shared libs when runtime libs are static
  37092. -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
  37093. + ;;
  37094. -# Whether or not to optimize for fast installation.
  37095. -fast_install=$enable_fast_install
  37096. + *)
  37097. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  37098. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  37099. + lt_cv_dlopen="shl_load"
  37100. +else
  37101. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  37102. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  37103. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  37104. + $as_echo_n "(cached) " >&6
  37105. +else
  37106. + ac_check_lib_save_LIBS=$LIBS
  37107. +LIBS="-ldld $LIBS"
  37108. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37109. +/* end confdefs.h. */
  37110. -# The host system.
  37111. -host_alias=$host_alias
  37112. -host=$host
  37113. -host_os=$host_os
  37114. +/* Override any GCC internal prototype to avoid an error.
  37115. + Use char because int might match the return type of a GCC
  37116. + builtin and then its argument prototype would still apply. */
  37117. +#ifdef __cplusplus
  37118. +extern "C"
  37119. +#endif
  37120. +char shl_load ();
  37121. +int
  37122. +main ()
  37123. +{
  37124. +return shl_load ();
  37125. + ;
  37126. + return 0;
  37127. +}
  37128. +_ACEOF
  37129. +if ac_fn_c_try_link "$LINENO"; then :
  37130. + ac_cv_lib_dld_shl_load=yes
  37131. +else
  37132. + ac_cv_lib_dld_shl_load=no
  37133. +fi
  37134. +rm -f core conftest.err conftest.$ac_objext \
  37135. + conftest$ac_exeext conftest.$ac_ext
  37136. +LIBS=$ac_check_lib_save_LIBS
  37137. +fi
  37138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  37139. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  37140. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  37141. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  37142. +else
  37143. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  37144. +if test "x$ac_cv_func_dlopen" = x""yes; then :
  37145. + lt_cv_dlopen="dlopen"
  37146. +else
  37147. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  37148. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  37149. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  37150. + $as_echo_n "(cached) " >&6
  37151. +else
  37152. + ac_check_lib_save_LIBS=$LIBS
  37153. +LIBS="-ldl $LIBS"
  37154. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37155. +/* end confdefs.h. */
  37156. -# The build system.
  37157. -build_alias=$build_alias
  37158. -build=$build
  37159. -build_os=$build_os
  37160. +/* Override any GCC internal prototype to avoid an error.
  37161. + Use char because int might match the return type of a GCC
  37162. + builtin and then its argument prototype would still apply. */
  37163. +#ifdef __cplusplus
  37164. +extern "C"
  37165. +#endif
  37166. +char dlopen ();
  37167. +int
  37168. +main ()
  37169. +{
  37170. +return dlopen ();
  37171. + ;
  37172. + return 0;
  37173. +}
  37174. +_ACEOF
  37175. +if ac_fn_c_try_link "$LINENO"; then :
  37176. + ac_cv_lib_dl_dlopen=yes
  37177. +else
  37178. + ac_cv_lib_dl_dlopen=no
  37179. +fi
  37180. +rm -f core conftest.err conftest.$ac_objext \
  37181. + conftest$ac_exeext conftest.$ac_ext
  37182. +LIBS=$ac_check_lib_save_LIBS
  37183. +fi
  37184. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  37185. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  37186. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  37187. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  37188. +else
  37189. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  37190. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  37191. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  37192. + $as_echo_n "(cached) " >&6
  37193. +else
  37194. + ac_check_lib_save_LIBS=$LIBS
  37195. +LIBS="-lsvld $LIBS"
  37196. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37197. +/* end confdefs.h. */
  37198. -# An echo program that does not interpret backslashes.
  37199. -echo=$lt_echo
  37200. +/* Override any GCC internal prototype to avoid an error.
  37201. + Use char because int might match the return type of a GCC
  37202. + builtin and then its argument prototype would still apply. */
  37203. +#ifdef __cplusplus
  37204. +extern "C"
  37205. +#endif
  37206. +char dlopen ();
  37207. +int
  37208. +main ()
  37209. +{
  37210. +return dlopen ();
  37211. + ;
  37212. + return 0;
  37213. +}
  37214. +_ACEOF
  37215. +if ac_fn_c_try_link "$LINENO"; then :
  37216. + ac_cv_lib_svld_dlopen=yes
  37217. +else
  37218. + ac_cv_lib_svld_dlopen=no
  37219. +fi
  37220. +rm -f core conftest.err conftest.$ac_objext \
  37221. + conftest$ac_exeext conftest.$ac_ext
  37222. +LIBS=$ac_check_lib_save_LIBS
  37223. +fi
  37224. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  37225. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  37226. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  37227. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  37228. +else
  37229. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  37230. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  37231. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  37232. + $as_echo_n "(cached) " >&6
  37233. +else
  37234. + ac_check_lib_save_LIBS=$LIBS
  37235. +LIBS="-ldld $LIBS"
  37236. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37237. +/* end confdefs.h. */
  37238. -# The archiver.
  37239. -AR=$lt_AR
  37240. -AR_FLAGS=$lt_AR_FLAGS
  37241. +/* Override any GCC internal prototype to avoid an error.
  37242. + Use char because int might match the return type of a GCC
  37243. + builtin and then its argument prototype would still apply. */
  37244. +#ifdef __cplusplus
  37245. +extern "C"
  37246. +#endif
  37247. +char dld_link ();
  37248. +int
  37249. +main ()
  37250. +{
  37251. +return dld_link ();
  37252. + ;
  37253. + return 0;
  37254. +}
  37255. +_ACEOF
  37256. +if ac_fn_c_try_link "$LINENO"; then :
  37257. + ac_cv_lib_dld_dld_link=yes
  37258. +else
  37259. + ac_cv_lib_dld_dld_link=no
  37260. +fi
  37261. +rm -f core conftest.err conftest.$ac_objext \
  37262. + conftest$ac_exeext conftest.$ac_ext
  37263. +LIBS=$ac_check_lib_save_LIBS
  37264. +fi
  37265. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  37266. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  37267. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  37268. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  37269. +fi
  37270. -# A C compiler.
  37271. -LTCC=$lt_LTCC
  37272. -# LTCC compiler flags.
  37273. -LTCFLAGS=$lt_LTCFLAGS
  37274. +fi
  37275. -# A language-specific compiler.
  37276. -CC=$lt_compiler_RC
  37277. -# Is the compiler the GNU C compiler?
  37278. -with_gcc=$GCC_RC
  37279. +fi
  37280. -# An ERE matcher.
  37281. -EGREP=$lt_EGREP
  37282. -# The linker used to build libraries.
  37283. -LD=$lt_LD_RC
  37284. +fi
  37285. -# Whether we need hard or soft links.
  37286. -LN_S=$lt_LN_S
  37287. -# A BSD-compatible nm program.
  37288. -NM=$lt_NM
  37289. +fi
  37290. -# A symbol stripping program
  37291. -STRIP=$lt_STRIP
  37292. -# Used to examine libraries when file_magic_cmd begins "file"
  37293. -MAGIC_CMD=$MAGIC_CMD
  37294. +fi
  37295. -# Used on cygwin: DLL creation program.
  37296. -DLLTOOL="$DLLTOOL"
  37297. + ;;
  37298. + esac
  37299. -# Used on cygwin: object dumper.
  37300. -OBJDUMP="$OBJDUMP"
  37301. + if test "x$lt_cv_dlopen" != xno; then
  37302. + enable_dlopen=yes
  37303. + else
  37304. + enable_dlopen=no
  37305. + fi
  37306. -# Used on cygwin: assembler.
  37307. -AS="$AS"
  37308. + case $lt_cv_dlopen in
  37309. + dlopen)
  37310. + save_CPPFLAGS="$CPPFLAGS"
  37311. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  37312. -# The name of the directory that contains temporary libtool files.
  37313. -objdir=$objdir
  37314. + save_LDFLAGS="$LDFLAGS"
  37315. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  37316. -# How to create reloadable object files.
  37317. -reload_flag=$lt_reload_flag
  37318. -reload_cmds=$lt_reload_cmds
  37319. + save_LIBS="$LIBS"
  37320. + LIBS="$lt_cv_dlopen_libs $LIBS"
  37321. -# How to pass a linker flag through the compiler.
  37322. -wl=$lt_lt_prog_compiler_wl_RC
  37323. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  37324. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  37325. +if test "${lt_cv_dlopen_self+set}" = set; then :
  37326. + $as_echo_n "(cached) " >&6
  37327. +else
  37328. + if test "$cross_compiling" = yes; then :
  37329. + lt_cv_dlopen_self=cross
  37330. +else
  37331. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  37332. + lt_status=$lt_dlunknown
  37333. + cat > conftest.$ac_ext <<_LT_EOF
  37334. +#line 10655 "configure"
  37335. +#include "confdefs.h"
  37336. -# Object file suffix (normally "o").
  37337. -objext="$ac_objext"
  37338. +#if HAVE_DLFCN_H
  37339. +#include <dlfcn.h>
  37340. +#endif
  37341. -# Old archive suffix (normally "a").
  37342. -libext="$libext"
  37343. +#include <stdio.h>
  37344. -# Shared library suffix (normally ".so").
  37345. -shrext_cmds='$shrext_cmds'
  37346. +#ifdef RTLD_GLOBAL
  37347. +# define LT_DLGLOBAL RTLD_GLOBAL
  37348. +#else
  37349. +# ifdef DL_GLOBAL
  37350. +# define LT_DLGLOBAL DL_GLOBAL
  37351. +# else
  37352. +# define LT_DLGLOBAL 0
  37353. +# endif
  37354. +#endif
  37355. -# Executable file suffix (normally "").
  37356. -exeext="$exeext"
  37357. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  37358. + find out it does not work in some platform. */
  37359. +#ifndef LT_DLLAZY_OR_NOW
  37360. +# ifdef RTLD_LAZY
  37361. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  37362. +# else
  37363. +# ifdef DL_LAZY
  37364. +# define LT_DLLAZY_OR_NOW DL_LAZY
  37365. +# else
  37366. +# ifdef RTLD_NOW
  37367. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  37368. +# else
  37369. +# ifdef DL_NOW
  37370. +# define LT_DLLAZY_OR_NOW DL_NOW
  37371. +# else
  37372. +# define LT_DLLAZY_OR_NOW 0
  37373. +# endif
  37374. +# endif
  37375. +# endif
  37376. +# endif
  37377. +#endif
  37378. -# Additional compiler flags for building library objects.
  37379. -pic_flag=$lt_lt_prog_compiler_pic_RC
  37380. -pic_mode=$pic_mode
  37381. +void fnord() { int i=42;}
  37382. +int main ()
  37383. +{
  37384. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  37385. + int status = $lt_dlunknown;
  37386. -# What is the maximum length of a command?
  37387. -max_cmd_len=$lt_cv_sys_max_cmd_len
  37388. + if (self)
  37389. + {
  37390. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  37391. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  37392. + /* dlclose (self); */
  37393. + }
  37394. + else
  37395. + puts (dlerror ());
  37396. -# Does compiler simultaneously support -c and -o options?
  37397. -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
  37398. + return status;
  37399. +}
  37400. +_LT_EOF
  37401. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  37402. + (eval $ac_link) 2>&5
  37403. + ac_status=$?
  37404. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37405. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  37406. + (./conftest; exit; ) >&5 2>/dev/null
  37407. + lt_status=$?
  37408. + case x$lt_status in
  37409. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  37410. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  37411. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  37412. + esac
  37413. + else :
  37414. + # compilation failed
  37415. + lt_cv_dlopen_self=no
  37416. + fi
  37417. +fi
  37418. +rm -fr conftest*
  37419. -# Must we lock files when doing compilation?
  37420. -need_locks=$lt_need_locks
  37421. -# Do we need the lib prefix for modules?
  37422. -need_lib_prefix=$need_lib_prefix
  37423. +fi
  37424. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  37425. +$as_echo "$lt_cv_dlopen_self" >&6; }
  37426. -# Do we need a version for libraries?
  37427. -need_version=$need_version
  37428. + if test "x$lt_cv_dlopen_self" = xyes; then
  37429. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  37430. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  37431. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  37432. +if test "${lt_cv_dlopen_self_static+set}" = set; then :
  37433. + $as_echo_n "(cached) " >&6
  37434. +else
  37435. + if test "$cross_compiling" = yes; then :
  37436. + lt_cv_dlopen_self_static=cross
  37437. +else
  37438. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  37439. + lt_status=$lt_dlunknown
  37440. + cat > conftest.$ac_ext <<_LT_EOF
  37441. +#line 10751 "configure"
  37442. +#include "confdefs.h"
  37443. -# Whether dlopen is supported.
  37444. -dlopen_support=$enable_dlopen
  37445. +#if HAVE_DLFCN_H
  37446. +#include <dlfcn.h>
  37447. +#endif
  37448. -# Whether dlopen of programs is supported.
  37449. -dlopen_self=$enable_dlopen_self
  37450. +#include <stdio.h>
  37451. -# Whether dlopen of statically linked programs is supported.
  37452. -dlopen_self_static=$enable_dlopen_self_static
  37453. +#ifdef RTLD_GLOBAL
  37454. +# define LT_DLGLOBAL RTLD_GLOBAL
  37455. +#else
  37456. +# ifdef DL_GLOBAL
  37457. +# define LT_DLGLOBAL DL_GLOBAL
  37458. +# else
  37459. +# define LT_DLGLOBAL 0
  37460. +# endif
  37461. +#endif
  37462. -# Compiler flag to prevent dynamic linking.
  37463. -link_static_flag=$lt_lt_prog_compiler_static_RC
  37464. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  37465. + find out it does not work in some platform. */
  37466. +#ifndef LT_DLLAZY_OR_NOW
  37467. +# ifdef RTLD_LAZY
  37468. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  37469. +# else
  37470. +# ifdef DL_LAZY
  37471. +# define LT_DLLAZY_OR_NOW DL_LAZY
  37472. +# else
  37473. +# ifdef RTLD_NOW
  37474. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  37475. +# else
  37476. +# ifdef DL_NOW
  37477. +# define LT_DLLAZY_OR_NOW DL_NOW
  37478. +# else
  37479. +# define LT_DLLAZY_OR_NOW 0
  37480. +# endif
  37481. +# endif
  37482. +# endif
  37483. +# endif
  37484. +#endif
  37485. -# Compiler flag to turn off builtin functions.
  37486. -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
  37487. +void fnord() { int i=42;}
  37488. +int main ()
  37489. +{
  37490. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  37491. + int status = $lt_dlunknown;
  37492. -# Compiler flag to allow reflexive dlopens.
  37493. -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
  37494. + if (self)
  37495. + {
  37496. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  37497. + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  37498. + /* dlclose (self); */
  37499. + }
  37500. + else
  37501. + puts (dlerror ());
  37502. -# Compiler flag to generate shared objects directly from archives.
  37503. -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
  37504. + return status;
  37505. +}
  37506. +_LT_EOF
  37507. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  37508. + (eval $ac_link) 2>&5
  37509. + ac_status=$?
  37510. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37511. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  37512. + (./conftest; exit; ) >&5 2>/dev/null
  37513. + lt_status=$?
  37514. + case x$lt_status in
  37515. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  37516. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  37517. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  37518. + esac
  37519. + else :
  37520. + # compilation failed
  37521. + lt_cv_dlopen_self_static=no
  37522. + fi
  37523. +fi
  37524. +rm -fr conftest*
  37525. -# Compiler flag to generate thread-safe objects.
  37526. -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
  37527. -# Library versioning type.
  37528. -version_type=$version_type
  37529. +fi
  37530. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  37531. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  37532. + fi
  37533. -# Format of library name prefix.
  37534. -libname_spec=$lt_libname_spec
  37535. + CPPFLAGS="$save_CPPFLAGS"
  37536. + LDFLAGS="$save_LDFLAGS"
  37537. + LIBS="$save_LIBS"
  37538. + ;;
  37539. + esac
  37540. -# List of archive names. First name is the real one, the rest are links.
  37541. -# The last name is the one that the linker finds with -lNAME.
  37542. -library_names_spec=$lt_library_names_spec
  37543. + case $lt_cv_dlopen_self in
  37544. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  37545. + *) enable_dlopen_self=unknown ;;
  37546. + esac
  37547. -# The coded name of the library, if different from the real name.
  37548. -soname_spec=$lt_soname_spec
  37549. + case $lt_cv_dlopen_self_static in
  37550. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  37551. + *) enable_dlopen_self_static=unknown ;;
  37552. + esac
  37553. +fi
  37554. -# Commands used to build and install an old-style archive.
  37555. -RANLIB=$lt_RANLIB
  37556. -old_archive_cmds=$lt_old_archive_cmds_RC
  37557. -old_postinstall_cmds=$lt_old_postinstall_cmds
  37558. -old_postuninstall_cmds=$lt_old_postuninstall_cmds
  37559. -# Create an old-style archive from a shared archive.
  37560. -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
  37561. -# Create a temporary old-style archive to link instead of a shared archive.
  37562. -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
  37563. -# Commands used to build and install a shared archive.
  37564. -archive_cmds=$lt_archive_cmds_RC
  37565. -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
  37566. -postinstall_cmds=$lt_postinstall_cmds
  37567. -postuninstall_cmds=$lt_postuninstall_cmds
  37568. -# Commands used to build a loadable module (assumed same as above if empty)
  37569. -module_cmds=$lt_module_cmds_RC
  37570. -module_expsym_cmds=$lt_module_expsym_cmds_RC
  37571. -# Commands to strip libraries.
  37572. -old_striplib=$lt_old_striplib
  37573. -striplib=$lt_striplib
  37574. -# Dependencies to place before the objects being linked to create a
  37575. -# shared library.
  37576. -predep_objects=$lt_predep_objects_RC
  37577. -
  37578. -# Dependencies to place after the objects being linked to create a
  37579. -# shared library.
  37580. -postdep_objects=$lt_postdep_objects_RC
  37581. -
  37582. -# Dependencies to place before the objects being linked to create a
  37583. -# shared library.
  37584. -predeps=$lt_predeps_RC
  37585. -
  37586. -# Dependencies to place after the objects being linked to create a
  37587. -# shared library.
  37588. -postdeps=$lt_postdeps_RC
  37589. -
  37590. -# The directories searched by this compiler when creating a shared
  37591. -# library
  37592. -compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
  37593. -
  37594. -# The library search path used internally by the compiler when linking
  37595. -# a shared library.
  37596. -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
  37597. -# Method to check whether dependent libraries are shared objects.
  37598. -deplibs_check_method=$lt_deplibs_check_method
  37599. -# Command to use when deplibs_check_method == file_magic.
  37600. -file_magic_cmd=$lt_file_magic_cmd
  37601. -# Flag that allows shared libraries with undefined symbols to be built.
  37602. -allow_undefined_flag=$lt_allow_undefined_flag_RC
  37603. -# Flag that forces no undefined symbols.
  37604. -no_undefined_flag=$lt_no_undefined_flag_RC
  37605. -# Commands used to finish a libtool library installation in a directory.
  37606. -finish_cmds=$lt_finish_cmds
  37607. -# Same as above, but a single script fragment to be evaled but not shown.
  37608. -finish_eval=$lt_finish_eval
  37609. -# Take the output of nm and produce a listing of raw symbols and C names.
  37610. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  37611. -# Transform the output of nm in a proper C declaration
  37612. -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  37613. -# Transform the output of nm in a C name address pair
  37614. -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  37615. -# This is the shared library runtime path variable.
  37616. -runpath_var=$runpath_var
  37617. +striplib=
  37618. +old_striplib=
  37619. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  37620. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  37621. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  37622. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  37623. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  37624. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  37625. +$as_echo "yes" >&6; }
  37626. +else
  37627. +# FIXME - insert some real tests, host_os isn't really good enough
  37628. + case $host_os in
  37629. + darwin*)
  37630. + if test -n "$STRIP" ; then
  37631. + striplib="$STRIP -x"
  37632. + old_striplib="$STRIP -S"
  37633. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  37634. +$as_echo "yes" >&6; }
  37635. + else
  37636. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37637. +$as_echo "no" >&6; }
  37638. + fi
  37639. + ;;
  37640. + *)
  37641. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  37642. +$as_echo "no" >&6; }
  37643. + ;;
  37644. + esac
  37645. +fi
  37646. -# This is the shared library path variable.
  37647. -shlibpath_var=$shlibpath_var
  37648. -# Is shlibpath searched before the hard-coded library search path?
  37649. -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  37650. -# How to hardcode a shared library path into an executable.
  37651. -hardcode_action=$hardcode_action_RC
  37652. -# Whether we should hardcode library paths into libraries.
  37653. -hardcode_into_libs=$hardcode_into_libs
  37654. -# Flag to hardcode \$libdir into a binary during linking.
  37655. -# This must work even if \$libdir does not exist.
  37656. -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
  37657. -# If ld is used when linking, flag to hardcode \$libdir into
  37658. -# a binary during linking. This must work even if \$libdir does
  37659. -# not exist.
  37660. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
  37661. -
  37662. -# Whether we need a single -rpath flag with a separated argument.
  37663. -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
  37664. -
  37665. -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
  37666. -# resulting binary.
  37667. -hardcode_direct=$hardcode_direct_RC
  37668. -
  37669. -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  37670. -# resulting binary.
  37671. -hardcode_minus_L=$hardcode_minus_L_RC
  37672. -
  37673. -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
  37674. -# the resulting binary.
  37675. -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
  37676. -
  37677. -# Set to yes if building a shared library automatically hardcodes DIR into the library
  37678. -# and all subsequent libraries and executables linked against it.
  37679. -hardcode_automatic=$hardcode_automatic_RC
  37680. -# Variables whose values should be saved in libtool wrapper scripts and
  37681. -# restored at relink time.
  37682. -variables_saved_for_relink="$variables_saved_for_relink"
  37683. -# Whether libtool must link a program against all its dependency libraries.
  37684. -link_all_deplibs=$link_all_deplibs_RC
  37685. -# Compile-time system search path for libraries
  37686. -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  37687. -# Run-time system search path for libraries
  37688. -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  37689. -# Fix the shell variable \$srcfile for the compiler.
  37690. -fix_srcfile_path=$lt_fix_srcfile_path
  37691. -# Set to yes if exported symbols are required.
  37692. -always_export_symbols=$always_export_symbols_RC
  37693. + # Report which library types will actually be built
  37694. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  37695. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  37696. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  37697. +$as_echo "$can_build_shared" >&6; }
  37698. -# The commands to list exported symbols.
  37699. -export_symbols_cmds=$lt_export_symbols_cmds_RC
  37700. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  37701. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  37702. + test "$can_build_shared" = "no" && enable_shared=no
  37703. -# The commands to extract the exported symbol list from a shared archive.
  37704. -extract_expsyms_cmds=$lt_extract_expsyms_cmds
  37705. + # On AIX, shared libraries and static libraries use the same namespace, and
  37706. + # are all built from PIC.
  37707. + case $host_os in
  37708. + aix3*)
  37709. + test "$enable_shared" = yes && enable_static=no
  37710. + if test -n "$RANLIB"; then
  37711. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  37712. + postinstall_cmds='$RANLIB $lib'
  37713. + fi
  37714. + ;;
  37715. -# Symbols that should not be listed in the preloaded symbols.
  37716. -exclude_expsyms=$lt_exclude_expsyms_RC
  37717. + aix[4-9]*)
  37718. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  37719. + test "$enable_shared" = yes && enable_static=no
  37720. + fi
  37721. + ;;
  37722. + esac
  37723. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  37724. +$as_echo "$enable_shared" >&6; }
  37725. -# Symbols that must always be exported.
  37726. -include_expsyms=$lt_include_expsyms_RC
  37727. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  37728. +$as_echo_n "checking whether to build static libraries... " >&6; }
  37729. + # Make sure either enable_shared or enable_static is yes.
  37730. + test "$enable_shared" = yes || enable_static=yes
  37731. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  37732. +$as_echo "$enable_static" >&6; }
  37733. -# ### END LIBTOOL TAG CONFIG: $tagname
  37734. -__EOF__
  37735. -else
  37736. - # If there is no Makefile yet, we rely on a make rule to execute
  37737. - # `config.status --recheck' to rerun these tests and create the
  37738. - # libtool script then.
  37739. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
  37740. - if test -f "$ltmain_in"; then
  37741. - test -f Makefile && make "$ltmain"
  37742. - fi
  37743. fi
  37744. -
  37745. -
  37746. ac_ext=c
  37747. ac_cpp='$CPP $CPPFLAGS'
  37748. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  37749. @@ -20028,45 +10955,6 @@
  37750. CC="$lt_save_CC"
  37751. - ;;
  37752. -
  37753. - *)
  37754. - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
  37755. -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
  37756. - { (exit 1); exit 1; }; }
  37757. - ;;
  37758. - esac
  37759. -
  37760. - # Append the new tag name to the list of available tags.
  37761. - if test -n "$tagname" ; then
  37762. - available_tags="$available_tags $tagname"
  37763. - fi
  37764. - fi
  37765. - done
  37766. - IFS="$lt_save_ifs"
  37767. -
  37768. - # Now substitute the updated list of available tags.
  37769. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
  37770. - mv "${ofile}T" "$ofile"
  37771. - chmod +x "$ofile"
  37772. - else
  37773. - rm -f "${ofile}T"
  37774. - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
  37775. -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
  37776. - { (exit 1); exit 1; }; }
  37777. - fi
  37778. -fi
  37779. -
  37780. -
  37781. -
  37782. -# This can be used to rebuild libtool when needed
  37783. -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
  37784. -
  37785. -# Always use our own libtool.
  37786. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  37787. -
  37788. -# Prevent multiple expansion
  37789. -
  37790. @@ -20079,260 +10967,245 @@
  37791. + ac_config_commands="$ac_config_commands libtool"
  37792. +# Only expand once:
  37793. -
  37794. -{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
  37795. -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
  37796. -if test "${ac_cv_c_bigendian+set}" = set; then
  37797. - echo $ECHO_N "(cached) $ECHO_C" >&6
  37798. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  37799. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  37800. +if test "${ac_cv_c_bigendian+set}" = set; then :
  37801. + $as_echo_n "(cached) " >&6
  37802. else
  37803. - # See if sys/param.h defines the BYTE_ORDER macro.
  37804. -cat >conftest.$ac_ext <<_ACEOF
  37805. -/* confdefs.h. */
  37806. -_ACEOF
  37807. -cat confdefs.h >>conftest.$ac_ext
  37808. -cat >>conftest.$ac_ext <<_ACEOF
  37809. + ac_cv_c_bigendian=unknown
  37810. + # See if we're dealing with a universal compiler.
  37811. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37812. +/* end confdefs.h. */
  37813. +#ifndef __APPLE_CC__
  37814. + not a universal capable compiler
  37815. + #endif
  37816. + typedef int dummy;
  37817. +
  37818. +_ACEOF
  37819. +if ac_fn_c_try_compile "$LINENO"; then :
  37820. +
  37821. + # Check for potential -arch flags. It is not universal unless
  37822. + # there are at least two -arch flags with different values.
  37823. + ac_arch=
  37824. + ac_prev=
  37825. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  37826. + if test -n "$ac_prev"; then
  37827. + case $ac_word in
  37828. + i?86 | x86_64 | ppc | ppc64)
  37829. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  37830. + ac_arch=$ac_word
  37831. + else
  37832. + ac_cv_c_bigendian=universal
  37833. + break
  37834. + fi
  37835. + ;;
  37836. + esac
  37837. + ac_prev=
  37838. + elif test "x$ac_word" = "x-arch"; then
  37839. + ac_prev=arch
  37840. + fi
  37841. + done
  37842. +fi
  37843. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37844. + if test $ac_cv_c_bigendian = unknown; then
  37845. + # See if sys/param.h defines the BYTE_ORDER macro.
  37846. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37847. /* end confdefs.h. */
  37848. #include <sys/types.h>
  37849. -#include <sys/param.h>
  37850. + #include <sys/param.h>
  37851. int
  37852. main ()
  37853. {
  37854. -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
  37855. - && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
  37856. - bogus endian macros
  37857. -#endif
  37858. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  37859. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  37860. + && LITTLE_ENDIAN)
  37861. + bogus endian macros
  37862. + #endif
  37863. ;
  37864. return 0;
  37865. }
  37866. _ACEOF
  37867. -rm -f conftest.$ac_objext
  37868. -if { (ac_try="$ac_compile"
  37869. -case "(($ac_try" in
  37870. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37871. - *) ac_try_echo=$ac_try;;
  37872. -esac
  37873. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  37874. - (eval "$ac_compile") 2>conftest.er1
  37875. - ac_status=$?
  37876. - grep -v '^ *+' conftest.er1 >conftest.err
  37877. - rm -f conftest.er1
  37878. - cat conftest.err >&5
  37879. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37880. - (exit $ac_status); } && {
  37881. - test -z "$ac_c_werror_flag" ||
  37882. - test ! -s conftest.err
  37883. - } && test -s conftest.$ac_objext; then
  37884. +if ac_fn_c_try_compile "$LINENO"; then :
  37885. # It does; now see whether it defined to BIG_ENDIAN or not.
  37886. -cat >conftest.$ac_ext <<_ACEOF
  37887. -/* confdefs.h. */
  37888. -_ACEOF
  37889. -cat confdefs.h >>conftest.$ac_ext
  37890. -cat >>conftest.$ac_ext <<_ACEOF
  37891. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37892. /* end confdefs.h. */
  37893. #include <sys/types.h>
  37894. -#include <sys/param.h>
  37895. + #include <sys/param.h>
  37896. int
  37897. main ()
  37898. {
  37899. #if BYTE_ORDER != BIG_ENDIAN
  37900. - not big endian
  37901. -#endif
  37902. + not big endian
  37903. + #endif
  37904. ;
  37905. return 0;
  37906. }
  37907. _ACEOF
  37908. -rm -f conftest.$ac_objext
  37909. -if { (ac_try="$ac_compile"
  37910. -case "(($ac_try" in
  37911. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37912. - *) ac_try_echo=$ac_try;;
  37913. -esac
  37914. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  37915. - (eval "$ac_compile") 2>conftest.er1
  37916. - ac_status=$?
  37917. - grep -v '^ *+' conftest.er1 >conftest.err
  37918. - rm -f conftest.er1
  37919. - cat conftest.err >&5
  37920. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37921. - (exit $ac_status); } && {
  37922. - test -z "$ac_c_werror_flag" ||
  37923. - test ! -s conftest.err
  37924. - } && test -s conftest.$ac_objext; then
  37925. +if ac_fn_c_try_compile "$LINENO"; then :
  37926. ac_cv_c_bigendian=yes
  37927. else
  37928. - echo "$as_me: failed program was:" >&5
  37929. -sed 's/^/| /' conftest.$ac_ext >&5
  37930. -
  37931. - ac_cv_c_bigendian=no
  37932. + ac_cv_c_bigendian=no
  37933. fi
  37934. -
  37935. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37936. -else
  37937. - echo "$as_me: failed program was:" >&5
  37938. -sed 's/^/| /' conftest.$ac_ext >&5
  37939. +fi
  37940. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  37941. + fi
  37942. + if test $ac_cv_c_bigendian = unknown; then
  37943. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  37944. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37945. +/* end confdefs.h. */
  37946. +#include <limits.h>
  37947. - # It does not; compile a test program.
  37948. -if test "$cross_compiling" = yes; then
  37949. - # try to guess the endianness by grepping values into an object file
  37950. - ac_cv_c_bigendian=unknown
  37951. - cat >conftest.$ac_ext <<_ACEOF
  37952. -/* confdefs.h. */
  37953. +int
  37954. +main ()
  37955. +{
  37956. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  37957. + bogus endian macros
  37958. + #endif
  37959. +
  37960. + ;
  37961. + return 0;
  37962. +}
  37963. _ACEOF
  37964. -cat confdefs.h >>conftest.$ac_ext
  37965. -cat >>conftest.$ac_ext <<_ACEOF
  37966. +if ac_fn_c_try_compile "$LINENO"; then :
  37967. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  37968. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  37969. /* end confdefs.h. */
  37970. -short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  37971. -short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  37972. -void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
  37973. -short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  37974. -short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  37975. -void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
  37976. +#include <limits.h>
  37977. +
  37978. int
  37979. main ()
  37980. {
  37981. - _ascii (); _ebcdic ();
  37982. +#ifndef _BIG_ENDIAN
  37983. + not big endian
  37984. + #endif
  37985. +
  37986. ;
  37987. return 0;
  37988. }
  37989. _ACEOF
  37990. -rm -f conftest.$ac_objext
  37991. -if { (ac_try="$ac_compile"
  37992. -case "(($ac_try" in
  37993. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37994. - *) ac_try_echo=$ac_try;;
  37995. -esac
  37996. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  37997. - (eval "$ac_compile") 2>conftest.er1
  37998. - ac_status=$?
  37999. - grep -v '^ *+' conftest.er1 >conftest.err
  38000. - rm -f conftest.er1
  38001. - cat conftest.err >&5
  38002. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38003. - (exit $ac_status); } && {
  38004. - test -z "$ac_c_werror_flag" ||
  38005. - test ! -s conftest.err
  38006. - } && test -s conftest.$ac_objext; then
  38007. - if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
  38008. +if ac_fn_c_try_compile "$LINENO"; then :
  38009. ac_cv_c_bigendian=yes
  38010. -fi
  38011. -if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  38012. - if test "$ac_cv_c_bigendian" = unknown; then
  38013. - ac_cv_c_bigendian=no
  38014. - else
  38015. - # finding both strings is unlikely to happen, but who knows?
  38016. - ac_cv_c_bigendian=unknown
  38017. - fi
  38018. -fi
  38019. else
  38020. - echo "$as_me: failed program was:" >&5
  38021. -sed 's/^/| /' conftest.$ac_ext >&5
  38022. -
  38023. -
  38024. + ac_cv_c_bigendian=no
  38025. fi
  38026. -
  38027. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38028. -else
  38029. - cat >conftest.$ac_ext <<_ACEOF
  38030. -/* confdefs.h. */
  38031. -_ACEOF
  38032. -cat confdefs.h >>conftest.$ac_ext
  38033. -cat >>conftest.$ac_ext <<_ACEOF
  38034. +fi
  38035. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38036. + fi
  38037. + if test $ac_cv_c_bigendian = unknown; then
  38038. + # Compile a test program.
  38039. + if test "$cross_compiling" = yes; then :
  38040. + # Try to guess by grepping values from an object file.
  38041. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38042. /* end confdefs.h. */
  38043. -$ac_includes_default
  38044. +short int ascii_mm[] =
  38045. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  38046. + short int ascii_ii[] =
  38047. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  38048. + int use_ascii (int i) {
  38049. + return ascii_mm[i] + ascii_ii[i];
  38050. + }
  38051. + short int ebcdic_ii[] =
  38052. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  38053. + short int ebcdic_mm[] =
  38054. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  38055. + int use_ebcdic (int i) {
  38056. + return ebcdic_mm[i] + ebcdic_ii[i];
  38057. + }
  38058. + extern int foo;
  38059. +
  38060. int
  38061. main ()
  38062. {
  38063. -
  38064. - /* Are we little or big endian? From Harbison&Steele. */
  38065. - union
  38066. - {
  38067. - long int l;
  38068. - char c[sizeof (long int)];
  38069. - } u;
  38070. - u.l = 1;
  38071. - return u.c[sizeof (long int) - 1] == 1;
  38072. -
  38073. +return use_ascii (foo) == use_ebcdic (foo);
  38074. ;
  38075. return 0;
  38076. }
  38077. _ACEOF
  38078. -rm -f conftest$ac_exeext
  38079. -if { (ac_try="$ac_link"
  38080. -case "(($ac_try" in
  38081. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38082. - *) ac_try_echo=$ac_try;;
  38083. -esac
  38084. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38085. - (eval "$ac_link") 2>&5
  38086. - ac_status=$?
  38087. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38088. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  38089. - { (case "(($ac_try" in
  38090. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38091. - *) ac_try_echo=$ac_try;;
  38092. -esac
  38093. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38094. - (eval "$ac_try") 2>&5
  38095. - ac_status=$?
  38096. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38097. - (exit $ac_status); }; }; then
  38098. +if ac_fn_c_try_compile "$LINENO"; then :
  38099. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  38100. + ac_cv_c_bigendian=yes
  38101. + fi
  38102. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  38103. + if test "$ac_cv_c_bigendian" = unknown; then
  38104. + ac_cv_c_bigendian=no
  38105. + else
  38106. + # finding both strings is unlikely to happen, but who knows?
  38107. + ac_cv_c_bigendian=unknown
  38108. + fi
  38109. + fi
  38110. +fi
  38111. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38112. +else
  38113. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38114. +/* end confdefs.h. */
  38115. +$ac_includes_default
  38116. +int
  38117. +main ()
  38118. +{
  38119. +
  38120. + /* Are we little or big endian? From Harbison&Steele. */
  38121. + union
  38122. + {
  38123. + long int l;
  38124. + char c[sizeof (long int)];
  38125. + } u;
  38126. + u.l = 1;
  38127. + return u.c[sizeof (long int) - 1] == 1;
  38128. +
  38129. + ;
  38130. + return 0;
  38131. +}
  38132. +_ACEOF
  38133. +if ac_fn_c_try_run "$LINENO"; then :
  38134. ac_cv_c_bigendian=no
  38135. else
  38136. - echo "$as_me: program exited with status $ac_status" >&5
  38137. -echo "$as_me: failed program was:" >&5
  38138. -sed 's/^/| /' conftest.$ac_ext >&5
  38139. -
  38140. -( exit $ac_status )
  38141. -ac_cv_c_bigendian=yes
  38142. + ac_cv_c_bigendian=yes
  38143. fi
  38144. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  38145. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  38146. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  38147. fi
  38148. -
  38149. + fi
  38150. fi
  38151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  38152. +$as_echo "$ac_cv_c_bigendian" >&6; }
  38153. + case $ac_cv_c_bigendian in #(
  38154. + yes)
  38155. + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
  38156. +;; #(
  38157. + no)
  38158. + ;; #(
  38159. + universal)
  38160. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38161. -fi
  38162. -{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
  38163. -echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
  38164. -case $ac_cv_c_bigendian in
  38165. - yes)
  38166. +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  38167. -cat >>confdefs.h <<\_ACEOF
  38168. -#define WORDS_BIGENDIAN 1
  38169. -_ACEOF
  38170. - ;;
  38171. - no)
  38172. - ;;
  38173. - *)
  38174. - { { echo "$as_me:$LINENO: error: unknown endianness
  38175. -presetting ac_cv_c_bigendian=no (or yes) will help" >&5
  38176. -echo "$as_me: error: unknown endianness
  38177. -presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
  38178. - { (exit 1); exit 1; }; } ;;
  38179. -esac
  38180. -
  38181. -{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  38182. -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  38183. -if test "${ac_cv_c_const+set}" = set; then
  38184. - echo $ECHO_N "(cached) $ECHO_C" >&6
  38185. + ;; #(
  38186. + *)
  38187. + as_fn_error "unknown endianness
  38188. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  38189. + esac
  38190. +
  38191. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  38192. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  38193. +if test "${ac_cv_c_const+set}" = set; then :
  38194. + $as_echo_n "(cached) " >&6
  38195. else
  38196. - cat >conftest.$ac_ext <<_ACEOF
  38197. -/* confdefs.h. */
  38198. -_ACEOF
  38199. -cat confdefs.h >>conftest.$ac_ext
  38200. -cat >>conftest.$ac_ext <<_ACEOF
  38201. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38202. /* end confdefs.h. */
  38203. int
  38204. @@ -20392,55 +11265,29 @@
  38205. return 0;
  38206. }
  38207. _ACEOF
  38208. -rm -f conftest.$ac_objext
  38209. -if { (ac_try="$ac_compile"
  38210. -case "(($ac_try" in
  38211. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38212. - *) ac_try_echo=$ac_try;;
  38213. -esac
  38214. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38215. - (eval "$ac_compile") 2>conftest.er1
  38216. - ac_status=$?
  38217. - grep -v '^ *+' conftest.er1 >conftest.err
  38218. - rm -f conftest.er1
  38219. - cat conftest.err >&5
  38220. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38221. - (exit $ac_status); } && {
  38222. - test -z "$ac_c_werror_flag" ||
  38223. - test ! -s conftest.err
  38224. - } && test -s conftest.$ac_objext; then
  38225. +if ac_fn_c_try_compile "$LINENO"; then :
  38226. ac_cv_c_const=yes
  38227. else
  38228. - echo "$as_me: failed program was:" >&5
  38229. -sed 's/^/| /' conftest.$ac_ext >&5
  38230. -
  38231. - ac_cv_c_const=no
  38232. + ac_cv_c_const=no
  38233. fi
  38234. -
  38235. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38236. fi
  38237. -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  38238. -echo "${ECHO_T}$ac_cv_c_const" >&6; }
  38239. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  38240. +$as_echo "$ac_cv_c_const" >&6; }
  38241. if test $ac_cv_c_const = no; then
  38242. -cat >>confdefs.h <<\_ACEOF
  38243. -#define const
  38244. -_ACEOF
  38245. +$as_echo "#define const /**/" >>confdefs.h
  38246. fi
  38247. -{ echo "$as_me:$LINENO: checking for inline" >&5
  38248. -echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
  38249. -if test "${ac_cv_c_inline+set}" = set; then
  38250. - echo $ECHO_N "(cached) $ECHO_C" >&6
  38251. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  38252. +$as_echo_n "checking for inline... " >&6; }
  38253. +if test "${ac_cv_c_inline+set}" = set; then :
  38254. + $as_echo_n "(cached) " >&6
  38255. else
  38256. ac_cv_c_inline=no
  38257. for ac_kw in inline __inline__ __inline; do
  38258. - cat >conftest.$ac_ext <<_ACEOF
  38259. -/* confdefs.h. */
  38260. -_ACEOF
  38261. -cat confdefs.h >>conftest.$ac_ext
  38262. -cat >>conftest.$ac_ext <<_ACEOF
  38263. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38264. /* end confdefs.h. */
  38265. #ifndef __cplusplus
  38266. typedef int foo_t;
  38267. @@ -20449,39 +11296,16 @@
  38268. #endif
  38269. _ACEOF
  38270. -rm -f conftest.$ac_objext
  38271. -if { (ac_try="$ac_compile"
  38272. -case "(($ac_try" in
  38273. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38274. - *) ac_try_echo=$ac_try;;
  38275. -esac
  38276. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38277. - (eval "$ac_compile") 2>conftest.er1
  38278. - ac_status=$?
  38279. - grep -v '^ *+' conftest.er1 >conftest.err
  38280. - rm -f conftest.er1
  38281. - cat conftest.err >&5
  38282. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38283. - (exit $ac_status); } && {
  38284. - test -z "$ac_c_werror_flag" ||
  38285. - test ! -s conftest.err
  38286. - } && test -s conftest.$ac_objext; then
  38287. +if ac_fn_c_try_compile "$LINENO"; then :
  38288. ac_cv_c_inline=$ac_kw
  38289. -else
  38290. - echo "$as_me: failed program was:" >&5
  38291. -sed 's/^/| /' conftest.$ac_ext >&5
  38292. -
  38293. -
  38294. fi
  38295. -
  38296. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38297. test "$ac_cv_c_inline" != no && break
  38298. done
  38299. fi
  38300. -{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
  38301. -echo "${ECHO_T}$ac_cv_c_inline" >&6; }
  38302. -
  38303. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  38304. +$as_echo "$ac_cv_c_inline" >&6; }
  38305. case $ac_cv_c_inline in
  38306. inline | yes) ;;
  38307. @@ -20498,74 +11322,45 @@
  38308. ;;
  38309. esac
  38310. -{ echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
  38311. -echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; }
  38312. -if test "${ac_cv_c_restrict+set}" = set; then
  38313. - echo $ECHO_N "(cached) $ECHO_C" >&6
  38314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
  38315. +$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
  38316. +if test "${ac_cv_c_restrict+set}" = set; then :
  38317. + $as_echo_n "(cached) " >&6
  38318. else
  38319. ac_cv_c_restrict=no
  38320. - # Try the official restrict keyword, then gcc's __restrict, and
  38321. - # the less common variants.
  38322. - for ac_kw in restrict __restrict __restrict__ _Restrict; do
  38323. - cat >conftest.$ac_ext <<_ACEOF
  38324. -/* confdefs.h. */
  38325. -_ACEOF
  38326. -cat confdefs.h >>conftest.$ac_ext
  38327. -cat >>conftest.$ac_ext <<_ACEOF
  38328. + # The order here caters to the fact that C++ does not require restrict.
  38329. + for ac_kw in __restrict __restrict__ _Restrict restrict; do
  38330. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38331. /* end confdefs.h. */
  38332. typedef int * int_ptr;
  38333. - int foo (int_ptr $ac_kw ip) {
  38334. - return ip[0];
  38335. + int foo (int_ptr $ac_kw ip) {
  38336. + return ip[0];
  38337. }
  38338. int
  38339. main ()
  38340. {
  38341. int s[1];
  38342. - int * $ac_kw t = s;
  38343. - t[0] = 0;
  38344. - return foo(t)
  38345. + int * $ac_kw t = s;
  38346. + t[0] = 0;
  38347. + return foo(t)
  38348. ;
  38349. return 0;
  38350. }
  38351. _ACEOF
  38352. -rm -f conftest.$ac_objext
  38353. -if { (ac_try="$ac_compile"
  38354. -case "(($ac_try" in
  38355. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38356. - *) ac_try_echo=$ac_try;;
  38357. -esac
  38358. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38359. - (eval "$ac_compile") 2>conftest.er1
  38360. - ac_status=$?
  38361. - grep -v '^ *+' conftest.er1 >conftest.err
  38362. - rm -f conftest.er1
  38363. - cat conftest.err >&5
  38364. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38365. - (exit $ac_status); } && {
  38366. - test -z "$ac_c_werror_flag" ||
  38367. - test ! -s conftest.err
  38368. - } && test -s conftest.$ac_objext; then
  38369. +if ac_fn_c_try_compile "$LINENO"; then :
  38370. ac_cv_c_restrict=$ac_kw
  38371. -else
  38372. - echo "$as_me: failed program was:" >&5
  38373. -sed 's/^/| /' conftest.$ac_ext >&5
  38374. -
  38375. -
  38376. fi
  38377. -
  38378. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38379. test "$ac_cv_c_restrict" != no && break
  38380. done
  38381. fi
  38382. -{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
  38383. -echo "${ECHO_T}$ac_cv_c_restrict" >&6; }
  38384. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
  38385. +$as_echo "$ac_cv_c_restrict" >&6; }
  38386. +
  38387. case $ac_cv_c_restrict in
  38388. restrict) ;;
  38389. - no)
  38390. -cat >>confdefs.h <<\_ACEOF
  38391. -#define restrict
  38392. -_ACEOF
  38393. + no) $as_echo "#define restrict /**/" >>confdefs.h
  38394. ;;
  38395. *) cat >>confdefs.h <<_ACEOF
  38396. #define restrict $ac_cv_c_restrict
  38397. @@ -20575,13 +11370,9 @@
  38398. -{ echo "$as_me:$LINENO: checking for C99 variable-size arrays" >&5
  38399. -echo $ECHO_N "checking for C99 variable-size arrays... $ECHO_C" >&6; }
  38400. -cat >conftest.$ac_ext <<_ACEOF
  38401. -/* confdefs.h. */
  38402. -_ACEOF
  38403. -cat confdefs.h >>conftest.$ac_ext
  38404. -cat >>conftest.$ac_ext <<_ACEOF
  38405. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variable-size arrays" >&5
  38406. +$as_echo_n "checking for C99 variable-size arrays... " >&6; }
  38407. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38408. /* end confdefs.h. */
  38409. int
  38410. @@ -20596,189 +11387,36 @@
  38411. return 0;
  38412. }
  38413. _ACEOF
  38414. -rm -f conftest.$ac_objext
  38415. -if { (ac_try="$ac_compile"
  38416. -case "(($ac_try" in
  38417. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38418. - *) ac_try_echo=$ac_try;;
  38419. -esac
  38420. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38421. - (eval "$ac_compile") 2>conftest.er1
  38422. - ac_status=$?
  38423. - grep -v '^ *+' conftest.er1 >conftest.err
  38424. - rm -f conftest.er1
  38425. - cat conftest.err >&5
  38426. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38427. - (exit $ac_status); } && {
  38428. - test -z "$ac_c_werror_flag" ||
  38429. - test ! -s conftest.err
  38430. - } && test -s conftest.$ac_objext; then
  38431. +if ac_fn_c_try_compile "$LINENO"; then :
  38432. has_var_arrays=yes;
  38433. -cat >>confdefs.h <<\_ACEOF
  38434. -#define VAR_ARRAYS
  38435. -_ACEOF
  38436. +$as_echo "#define VAR_ARRAYS /**/" >>confdefs.h
  38437. else
  38438. - echo "$as_me: failed program was:" >&5
  38439. -sed 's/^/| /' conftest.$ac_ext >&5
  38440. -
  38441. - has_var_arrays=no
  38442. + has_var_arrays=no
  38443. fi
  38444. -
  38445. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38446. -{ echo "$as_me:$LINENO: result: $has_var_arrays" >&5
  38447. -echo "${ECHO_T}$has_var_arrays" >&6; }
  38448. -
  38449. -
  38450. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_var_arrays" >&5
  38451. +$as_echo "$has_var_arrays" >&6; }
  38452. for ac_header in alloca.h getopt.h
  38453. -do
  38454. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  38455. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  38456. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  38457. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  38458. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  38459. - echo $ECHO_N "(cached) $ECHO_C" >&6
  38460. -fi
  38461. -ac_res=`eval echo '${'$as_ac_Header'}'`
  38462. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  38463. -echo "${ECHO_T}$ac_res" >&6; }
  38464. -else
  38465. - # Is the header compilable?
  38466. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  38467. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  38468. -cat >conftest.$ac_ext <<_ACEOF
  38469. -/* confdefs.h. */
  38470. -_ACEOF
  38471. -cat confdefs.h >>conftest.$ac_ext
  38472. -cat >>conftest.$ac_ext <<_ACEOF
  38473. -/* end confdefs.h. */
  38474. -$ac_includes_default
  38475. -#include <$ac_header>
  38476. -_ACEOF
  38477. -rm -f conftest.$ac_objext
  38478. -if { (ac_try="$ac_compile"
  38479. -case "(($ac_try" in
  38480. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38481. - *) ac_try_echo=$ac_try;;
  38482. -esac
  38483. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38484. - (eval "$ac_compile") 2>conftest.er1
  38485. - ac_status=$?
  38486. - grep -v '^ *+' conftest.er1 >conftest.err
  38487. - rm -f conftest.er1
  38488. - cat conftest.err >&5
  38489. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38490. - (exit $ac_status); } && {
  38491. - test -z "$ac_c_werror_flag" ||
  38492. - test ! -s conftest.err
  38493. - } && test -s conftest.$ac_objext; then
  38494. - ac_header_compiler=yes
  38495. -else
  38496. - echo "$as_me: failed program was:" >&5
  38497. -sed 's/^/| /' conftest.$ac_ext >&5
  38498. -
  38499. - ac_header_compiler=no
  38500. -fi
  38501. -
  38502. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38503. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  38504. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  38505. -
  38506. -# Is the header present?
  38507. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  38508. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  38509. -cat >conftest.$ac_ext <<_ACEOF
  38510. -/* confdefs.h. */
  38511. -_ACEOF
  38512. -cat confdefs.h >>conftest.$ac_ext
  38513. -cat >>conftest.$ac_ext <<_ACEOF
  38514. -/* end confdefs.h. */
  38515. -#include <$ac_header>
  38516. -_ACEOF
  38517. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  38518. -case "(($ac_try" in
  38519. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38520. - *) ac_try_echo=$ac_try;;
  38521. -esac
  38522. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38523. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  38524. - ac_status=$?
  38525. - grep -v '^ *+' conftest.er1 >conftest.err
  38526. - rm -f conftest.er1
  38527. - cat conftest.err >&5
  38528. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38529. - (exit $ac_status); } >/dev/null && {
  38530. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  38531. - test ! -s conftest.err
  38532. - }; then
  38533. - ac_header_preproc=yes
  38534. -else
  38535. - echo "$as_me: failed program was:" >&5
  38536. -sed 's/^/| /' conftest.$ac_ext >&5
  38537. -
  38538. - ac_header_preproc=no
  38539. -fi
  38540. -
  38541. -rm -f conftest.err conftest.$ac_ext
  38542. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  38543. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  38544. -
  38545. -# So? What about this header?
  38546. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  38547. - yes:no: )
  38548. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  38549. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  38550. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  38551. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  38552. - ac_header_preproc=yes
  38553. - ;;
  38554. - no:yes:* )
  38555. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  38556. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  38557. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  38558. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  38559. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  38560. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  38561. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  38562. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  38563. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  38564. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  38565. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  38566. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  38567. -
  38568. - ;;
  38569. -esac
  38570. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  38571. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  38572. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  38573. - echo $ECHO_N "(cached) $ECHO_C" >&6
  38574. -else
  38575. - eval "$as_ac_Header=\$ac_header_preproc"
  38576. -fi
  38577. -ac_res=`eval echo '${'$as_ac_Header'}'`
  38578. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  38579. -echo "${ECHO_T}$ac_res" >&6; }
  38580. -
  38581. -fi
  38582. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  38583. +do :
  38584. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  38585. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  38586. +eval as_val=\$$as_ac_Header
  38587. + if test "x$as_val" = x""yes; then :
  38588. cat >>confdefs.h <<_ACEOF
  38589. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  38590. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  38591. _ACEOF
  38592. fi
  38593. done
  38594. -{ echo "$as_me:$LINENO: checking for alloca" >&5
  38595. -echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
  38596. -cat >conftest.$ac_ext <<_ACEOF
  38597. -/* confdefs.h. */
  38598. -_ACEOF
  38599. -cat confdefs.h >>conftest.$ac_ext
  38600. -cat >>conftest.$ac_ext <<_ACEOF
  38601. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  38602. +$as_echo_n "checking for alloca... " >&6; }
  38603. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38604. /* end confdefs.h. */
  38605. #ifdef HAVE_ALLOCA_H
  38606. @@ -20797,55 +11435,29 @@
  38607. return 0;
  38608. }
  38609. _ACEOF
  38610. -rm -f conftest.$ac_objext
  38611. -if { (ac_try="$ac_compile"
  38612. -case "(($ac_try" in
  38613. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38614. - *) ac_try_echo=$ac_try;;
  38615. -esac
  38616. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38617. - (eval "$ac_compile") 2>conftest.er1
  38618. - ac_status=$?
  38619. - grep -v '^ *+' conftest.er1 >conftest.err
  38620. - rm -f conftest.er1
  38621. - cat conftest.err >&5
  38622. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38623. - (exit $ac_status); } && {
  38624. - test -z "$ac_c_werror_flag" ||
  38625. - test ! -s conftest.err
  38626. - } && test -s conftest.$ac_objext; then
  38627. +if ac_fn_c_try_compile "$LINENO"; then :
  38628. has_alloca=yes;
  38629. if test x$has_var_arrays = "xno" ; then
  38630. -cat >>confdefs.h <<\_ACEOF
  38631. -#define USE_ALLOCA
  38632. -_ACEOF
  38633. +$as_echo "#define USE_ALLOCA /**/" >>confdefs.h
  38634. fi
  38635. else
  38636. - echo "$as_me: failed program was:" >&5
  38637. -sed 's/^/| /' conftest.$ac_ext >&5
  38638. -
  38639. - has_alloca=no
  38640. + has_alloca=no
  38641. fi
  38642. -
  38643. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38644. -{ echo "$as_me:$LINENO: result: $has_alloca" >&5
  38645. -echo "${ECHO_T}$has_alloca" >&6; }
  38646. -
  38647. -{ echo "$as_me:$LINENO: checking for SSE in current arch/CFLAGS" >&5
  38648. -echo $ECHO_N "checking for SSE in current arch/CFLAGS... $ECHO_C" >&6; }
  38649. -cat >conftest.$ac_ext <<_ACEOF
  38650. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_alloca" >&5
  38651. +$as_echo "$has_alloca" >&6; }
  38652. -/* confdefs.h. */
  38653. -_ACEOF
  38654. -cat confdefs.h >>conftest.$ac_ext
  38655. -cat >>conftest.$ac_ext <<_ACEOF
  38656. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSE in current arch/CFLAGS" >&5
  38657. +$as_echo_n "checking for SSE in current arch/CFLAGS... " >&6; }
  38658. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38659. /* end confdefs.h. */
  38660. +
  38661. #include <xmmintrin.h>
  38662. __m128 testfunc(float *a, float *b) {
  38663. return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b));
  38664. @@ -20859,54 +11471,29 @@
  38665. return 0;
  38666. }
  38667. _ACEOF
  38668. -rm -f conftest.$ac_objext conftest$ac_exeext
  38669. -if { (ac_try="$ac_link"
  38670. -case "(($ac_try" in
  38671. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38672. - *) ac_try_echo=$ac_try;;
  38673. -esac
  38674. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38675. - (eval "$ac_link") 2>conftest.er1
  38676. - ac_status=$?
  38677. - grep -v '^ *+' conftest.er1 >conftest.err
  38678. - rm -f conftest.er1
  38679. - cat conftest.err >&5
  38680. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38681. - (exit $ac_status); } && {
  38682. - test -z "$ac_c_werror_flag" ||
  38683. - test ! -s conftest.err
  38684. - } && test -s conftest$ac_exeext &&
  38685. - $as_test_x conftest$ac_exeext; then
  38686. +if ac_fn_c_try_link "$LINENO"; then :
  38687. has_sse=yes
  38688. else
  38689. - echo "$as_me: failed program was:" >&5
  38690. -sed 's/^/| /' conftest.$ac_ext >&5
  38691. -
  38692. has_sse=no
  38693. fi
  38694. -
  38695. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  38696. - conftest$ac_exeext conftest.$ac_ext
  38697. -{ echo "$as_me:$LINENO: result: $has_sse" >&5
  38698. -echo "${ECHO_T}$has_sse" >&6; }
  38699. +rm -f core conftest.err conftest.$ac_objext \
  38700. + conftest$ac_exeext conftest.$ac_ext
  38701. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_sse" >&5
  38702. +$as_echo "$has_sse" >&6; }
  38703. SAVE_CFLAGS="$CFLAGS"
  38704. CFLAGS="$CFLAGS -fvisibility=hidden"
  38705. -{ echo "$as_me:$LINENO: checking for ELF visibility" >&5
  38706. -echo $ECHO_N "checking for ELF visibility... $ECHO_C" >&6; }
  38707. -cat >conftest.$ac_ext <<_ACEOF
  38708. -
  38709. -/* confdefs.h. */
  38710. -_ACEOF
  38711. -cat confdefs.h >>conftest.$ac_ext
  38712. -cat >>conftest.$ac_ext <<_ACEOF
  38713. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF visibility" >&5
  38714. +$as_echo_n "checking for ELF visibility... " >&6; }
  38715. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38716. /* end confdefs.h. */
  38717. +
  38718. #pragma GCC visibility push(hidden)
  38719. __attribute__((visibility("default")))
  38720. int var=10;
  38721. @@ -20919,186 +11506,35 @@
  38722. return 0;
  38723. }
  38724. _ACEOF
  38725. -rm -f conftest.$ac_objext
  38726. -if { (ac_try="$ac_compile"
  38727. -case "(($ac_try" in
  38728. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38729. - *) ac_try_echo=$ac_try;;
  38730. -esac
  38731. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38732. - (eval "$ac_compile") 2>conftest.er1
  38733. - ac_status=$?
  38734. - grep -v '^ *+' conftest.er1 >conftest.err
  38735. - rm -f conftest.er1
  38736. - cat conftest.err >&5
  38737. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38738. - (exit $ac_status); } && {
  38739. - test -z "$ac_c_werror_flag" ||
  38740. - test ! -s conftest.err
  38741. - } && test -s conftest.$ac_objext; then
  38742. +if ac_fn_c_try_compile "$LINENO"; then :
  38743. has_visibility=yes
  38744. -cat >>confdefs.h <<\_ACEOF
  38745. -#define EXPORT __attribute__((visibility("default")))
  38746. -_ACEOF
  38747. +$as_echo "#define EXPORT __attribute__((visibility(\"default\")))" >>confdefs.h
  38748. else
  38749. - echo "$as_me: failed program was:" >&5
  38750. -sed 's/^/| /' conftest.$ac_ext >&5
  38751. -
  38752. has_visibility=no
  38753. -cat >>confdefs.h <<\_ACEOF
  38754. -#define EXPORT
  38755. -_ACEOF
  38756. +$as_echo "#define EXPORT /**/" >>confdefs.h
  38757. CFLAGS="$SAVE_CFLAGS"
  38758. fi
  38759. -
  38760. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38761. -{ echo "$as_me:$LINENO: result: $has_visibility" >&5
  38762. -echo "${ECHO_T}$has_visibility" >&6; }
  38763. -
  38764. -
  38765. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_visibility" >&5
  38766. +$as_echo "$has_visibility" >&6; }
  38767. for ac_header in sys/soundcard.h sys/audioio.h
  38768. -do
  38769. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  38770. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  38771. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  38772. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  38773. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  38774. - echo $ECHO_N "(cached) $ECHO_C" >&6
  38775. -fi
  38776. -ac_res=`eval echo '${'$as_ac_Header'}'`
  38777. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  38778. -echo "${ECHO_T}$ac_res" >&6; }
  38779. -else
  38780. - # Is the header compilable?
  38781. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  38782. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  38783. -cat >conftest.$ac_ext <<_ACEOF
  38784. -/* confdefs.h. */
  38785. -_ACEOF
  38786. -cat confdefs.h >>conftest.$ac_ext
  38787. -cat >>conftest.$ac_ext <<_ACEOF
  38788. -/* end confdefs.h. */
  38789. -$ac_includes_default
  38790. -#include <$ac_header>
  38791. -_ACEOF
  38792. -rm -f conftest.$ac_objext
  38793. -if { (ac_try="$ac_compile"
  38794. -case "(($ac_try" in
  38795. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38796. - *) ac_try_echo=$ac_try;;
  38797. -esac
  38798. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38799. - (eval "$ac_compile") 2>conftest.er1
  38800. - ac_status=$?
  38801. - grep -v '^ *+' conftest.er1 >conftest.err
  38802. - rm -f conftest.er1
  38803. - cat conftest.err >&5
  38804. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38805. - (exit $ac_status); } && {
  38806. - test -z "$ac_c_werror_flag" ||
  38807. - test ! -s conftest.err
  38808. - } && test -s conftest.$ac_objext; then
  38809. - ac_header_compiler=yes
  38810. -else
  38811. - echo "$as_me: failed program was:" >&5
  38812. -sed 's/^/| /' conftest.$ac_ext >&5
  38813. -
  38814. - ac_header_compiler=no
  38815. -fi
  38816. -
  38817. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38818. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  38819. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  38820. -
  38821. -# Is the header present?
  38822. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  38823. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  38824. -cat >conftest.$ac_ext <<_ACEOF
  38825. -/* confdefs.h. */
  38826. -_ACEOF
  38827. -cat confdefs.h >>conftest.$ac_ext
  38828. -cat >>conftest.$ac_ext <<_ACEOF
  38829. -/* end confdefs.h. */
  38830. -#include <$ac_header>
  38831. -_ACEOF
  38832. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  38833. -case "(($ac_try" in
  38834. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38835. - *) ac_try_echo=$ac_try;;
  38836. -esac
  38837. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38838. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  38839. - ac_status=$?
  38840. - grep -v '^ *+' conftest.er1 >conftest.err
  38841. - rm -f conftest.er1
  38842. - cat conftest.err >&5
  38843. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38844. - (exit $ac_status); } >/dev/null && {
  38845. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  38846. - test ! -s conftest.err
  38847. - }; then
  38848. - ac_header_preproc=yes
  38849. -else
  38850. - echo "$as_me: failed program was:" >&5
  38851. -sed 's/^/| /' conftest.$ac_ext >&5
  38852. -
  38853. - ac_header_preproc=no
  38854. -fi
  38855. -
  38856. -rm -f conftest.err conftest.$ac_ext
  38857. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  38858. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  38859. -
  38860. -# So? What about this header?
  38861. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  38862. - yes:no: )
  38863. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  38864. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  38865. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  38866. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  38867. - ac_header_preproc=yes
  38868. - ;;
  38869. - no:yes:* )
  38870. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  38871. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  38872. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  38873. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  38874. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  38875. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  38876. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  38877. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  38878. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  38879. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  38880. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  38881. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  38882. -
  38883. - ;;
  38884. -esac
  38885. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  38886. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  38887. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  38888. - echo $ECHO_N "(cached) $ECHO_C" >&6
  38889. -else
  38890. - eval "$as_ac_Header=\$ac_header_preproc"
  38891. -fi
  38892. -ac_res=`eval echo '${'$as_ac_Header'}'`
  38893. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  38894. -echo "${ECHO_T}$ac_res" >&6; }
  38895. -
  38896. -fi
  38897. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  38898. +do :
  38899. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  38900. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  38901. +eval as_val=\$$as_ac_Header
  38902. + if test "x$as_val" = x""yes; then :
  38903. cat >>confdefs.h <<_ACEOF
  38904. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  38905. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  38906. _ACEOF
  38907. fi
  38908. @@ -21108,7 +11544,7 @@
  38909. # Check whether --with-ogg was given.
  38910. -if test "${with_ogg+set}" = set; then
  38911. +if test "${with_ogg+set}" = set; then :
  38912. withval=$with_ogg; ogg_prefix="$withval"
  38913. else
  38914. ogg_prefix=""
  38915. @@ -21116,7 +11552,7 @@
  38916. # Check whether --with-ogg-libraries was given.
  38917. -if test "${with_ogg_libraries+set}" = set; then
  38918. +if test "${with_ogg_libraries+set}" = set; then :
  38919. withval=$with_ogg_libraries; ogg_libraries="$withval"
  38920. else
  38921. ogg_libraries=""
  38922. @@ -21124,14 +11560,14 @@
  38923. # Check whether --with-ogg-includes was given.
  38924. -if test "${with_ogg_includes+set}" = set; then
  38925. +if test "${with_ogg_includes+set}" = set; then :
  38926. withval=$with_ogg_includes; ogg_includes="$withval"
  38927. else
  38928. ogg_includes=""
  38929. fi
  38930. # Check whether --enable-oggtest was given.
  38931. -if test "${enable_oggtest+set}" = set; then
  38932. +if test "${enable_oggtest+set}" = set; then :
  38933. enableval=$enable_oggtest;
  38934. else
  38935. enable_oggtest=yes
  38936. @@ -21156,8 +11592,8 @@
  38937. OGG_CFLAGS="-I$prefix/include"
  38938. fi
  38939. - { echo "$as_me:$LINENO: checking for Ogg" >&5
  38940. -echo $ECHO_N "checking for Ogg... $ECHO_C" >&6; }
  38941. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5
  38942. +$as_echo_n "checking for Ogg... " >&6; }
  38943. no_ogg=""
  38944. @@ -21167,14 +11603,10 @@
  38945. CFLAGS="$CFLAGS $OGG_CFLAGS"
  38946. LIBS="$LIBS $OGG_LIBS"
  38947. rm -f conf.oggtest
  38948. - if test "$cross_compiling" = yes; then
  38949. + if test "$cross_compiling" = yes; then :
  38950. echo $ac_n "cross compiling; assumed OK... $ac_c"
  38951. else
  38952. - cat >conftest.$ac_ext <<_ACEOF
  38953. -/* confdefs.h. */
  38954. -_ACEOF
  38955. -cat confdefs.h >>conftest.$ac_ext
  38956. -cat >>conftest.$ac_ext <<_ACEOF
  38957. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38958. /* end confdefs.h. */
  38959. #include <stdio.h>
  38960. @@ -21190,61 +11622,33 @@
  38961. _ACEOF
  38962. -rm -f conftest$ac_exeext
  38963. -if { (ac_try="$ac_link"
  38964. -case "(($ac_try" in
  38965. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38966. - *) ac_try_echo=$ac_try;;
  38967. -esac
  38968. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38969. - (eval "$ac_link") 2>&5
  38970. - ac_status=$?
  38971. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38972. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  38973. - { (case "(($ac_try" in
  38974. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38975. - *) ac_try_echo=$ac_try;;
  38976. -esac
  38977. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  38978. - (eval "$ac_try") 2>&5
  38979. - ac_status=$?
  38980. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  38981. - (exit $ac_status); }; }; then
  38982. - :
  38983. -else
  38984. - echo "$as_me: program exited with status $ac_status" >&5
  38985. -echo "$as_me: failed program was:" >&5
  38986. -sed 's/^/| /' conftest.$ac_ext >&5
  38987. +if ac_fn_c_try_run "$LINENO"; then :
  38988. -( exit $ac_status )
  38989. -no_ogg=yes
  38990. +else
  38991. + no_ogg=yes
  38992. fi
  38993. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  38994. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  38995. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  38996. fi
  38997. -
  38998. CFLAGS="$ac_save_CFLAGS"
  38999. LIBS="$ac_save_LIBS"
  39000. fi
  39001. if test "x$no_ogg" = "x" ; then
  39002. - { echo "$as_me:$LINENO: result: yes" >&5
  39003. -echo "${ECHO_T}yes" >&6; }
  39004. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  39005. +$as_echo "yes" >&6; }
  39006. src="src"
  39007. else
  39008. - { echo "$as_me:$LINENO: result: no" >&5
  39009. -echo "${ECHO_T}no" >&6; }
  39010. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39011. +$as_echo "no" >&6; }
  39012. if test -f conf.oggtest ; then
  39013. :
  39014. else
  39015. echo "*** Could not run Ogg test program, checking why..."
  39016. CFLAGS="$CFLAGS $OGG_CFLAGS"
  39017. LIBS="$LIBS $OGG_LIBS"
  39018. - cat >conftest.$ac_ext <<_ACEOF
  39019. -/* confdefs.h. */
  39020. -_ACEOF
  39021. -cat confdefs.h >>conftest.$ac_ext
  39022. -cat >>conftest.$ac_ext <<_ACEOF
  39023. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39024. /* end confdefs.h. */
  39025. #include <stdio.h>
  39026. @@ -21258,24 +11662,7 @@
  39027. return 0;
  39028. }
  39029. _ACEOF
  39030. -rm -f conftest.$ac_objext conftest$ac_exeext
  39031. -if { (ac_try="$ac_link"
  39032. -case "(($ac_try" in
  39033. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39034. - *) ac_try_echo=$ac_try;;
  39035. -esac
  39036. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  39037. - (eval "$ac_link") 2>conftest.er1
  39038. - ac_status=$?
  39039. - grep -v '^ *+' conftest.er1 >conftest.err
  39040. - rm -f conftest.er1
  39041. - cat conftest.err >&5
  39042. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39043. - (exit $ac_status); } && {
  39044. - test -z "$ac_c_werror_flag" ||
  39045. - test ! -s conftest.err
  39046. - } && test -s conftest$ac_exeext &&
  39047. - $as_test_x conftest$ac_exeext; then
  39048. +if ac_fn_c_try_link "$LINENO"; then :
  39049. echo "*** The test program compiled, but did not run. This usually means"
  39050. echo "*** that the run-time linker is not finding Ogg or finding the wrong"
  39051. echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
  39052. @@ -21286,16 +11673,12 @@
  39053. echo "*** If you have an old version installed, it is best to remove it, although"
  39054. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  39055. else
  39056. - echo "$as_me: failed program was:" >&5
  39057. -sed 's/^/| /' conftest.$ac_ext >&5
  39058. -
  39059. - echo "*** The test program failed to compile or link. See the file config.log for the"
  39060. + echo "*** The test program failed to compile or link. See the file config.log for the"
  39061. echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
  39062. echo "*** or that you have moved Ogg since it was installed."
  39063. fi
  39064. -
  39065. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  39066. - conftest$ac_exeext conftest.$ac_ext
  39067. +rm -f core conftest.err conftest.$ac_objext \
  39068. + conftest$ac_exeext conftest.$ac_ext
  39069. CFLAGS="$ac_save_CFLAGS"
  39070. LIBS="$ac_save_LIBS"
  39071. fi
  39072. @@ -21309,19 +11692,14 @@
  39073. -
  39074. -{ echo "$as_me:$LINENO: checking for sin in -lm" >&5
  39075. -echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
  39076. -if test "${ac_cv_lib_m_sin+set}" = set; then
  39077. - echo $ECHO_N "(cached) $ECHO_C" >&6
  39078. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
  39079. +$as_echo_n "checking for sin in -lm... " >&6; }
  39080. +if test "${ac_cv_lib_m_sin+set}" = set; then :
  39081. + $as_echo_n "(cached) " >&6
  39082. else
  39083. ac_check_lib_save_LIBS=$LIBS
  39084. LIBS="-lm $LIBS"
  39085. -cat >conftest.$ac_ext <<_ACEOF
  39086. -/* confdefs.h. */
  39087. -_ACEOF
  39088. -cat confdefs.h >>conftest.$ac_ext
  39089. -cat >>conftest.$ac_ext <<_ACEOF
  39090. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39091. /* end confdefs.h. */
  39092. /* Override any GCC internal prototype to avoid an error.
  39093. @@ -21339,39 +11717,18 @@
  39094. return 0;
  39095. }
  39096. _ACEOF
  39097. -rm -f conftest.$ac_objext conftest$ac_exeext
  39098. -if { (ac_try="$ac_link"
  39099. -case "(($ac_try" in
  39100. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39101. - *) ac_try_echo=$ac_try;;
  39102. -esac
  39103. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  39104. - (eval "$ac_link") 2>conftest.er1
  39105. - ac_status=$?
  39106. - grep -v '^ *+' conftest.er1 >conftest.err
  39107. - rm -f conftest.er1
  39108. - cat conftest.err >&5
  39109. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39110. - (exit $ac_status); } && {
  39111. - test -z "$ac_c_werror_flag" ||
  39112. - test ! -s conftest.err
  39113. - } && test -s conftest$ac_exeext &&
  39114. - $as_test_x conftest$ac_exeext; then
  39115. +if ac_fn_c_try_link "$LINENO"; then :
  39116. ac_cv_lib_m_sin=yes
  39117. else
  39118. - echo "$as_me: failed program was:" >&5
  39119. -sed 's/^/| /' conftest.$ac_ext >&5
  39120. -
  39121. - ac_cv_lib_m_sin=no
  39122. + ac_cv_lib_m_sin=no
  39123. fi
  39124. -
  39125. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  39126. - conftest$ac_exeext conftest.$ac_ext
  39127. +rm -f core conftest.err conftest.$ac_objext \
  39128. + conftest$ac_exeext conftest.$ac_ext
  39129. LIBS=$ac_check_lib_save_LIBS
  39130. fi
  39131. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
  39132. -echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
  39133. -if test $ac_cv_lib_m_sin = yes; then
  39134. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
  39135. +$as_echo "$ac_cv_lib_m_sin" >&6; }
  39136. +if test "x$ac_cv_lib_m_sin" = x""yes; then :
  39137. cat >>confdefs.h <<_ACEOF
  39138. #define HAVE_LIBM 1
  39139. _ACEOF
  39140. @@ -21382,111 +11739,24 @@
  39141. # Check for getopt_long; if not found, use included source.
  39142. -
  39143. for ac_func in getopt_long
  39144. -do
  39145. -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  39146. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  39147. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  39148. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  39149. - echo $ECHO_N "(cached) $ECHO_C" >&6
  39150. -else
  39151. - cat >conftest.$ac_ext <<_ACEOF
  39152. -/* confdefs.h. */
  39153. -_ACEOF
  39154. -cat confdefs.h >>conftest.$ac_ext
  39155. -cat >>conftest.$ac_ext <<_ACEOF
  39156. -/* end confdefs.h. */
  39157. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  39158. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  39159. -#define $ac_func innocuous_$ac_func
  39160. -
  39161. -/* System header to define __stub macros and hopefully few prototypes,
  39162. - which can conflict with char $ac_func (); below.
  39163. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  39164. - <limits.h> exists even on freestanding compilers. */
  39165. -
  39166. -#ifdef __STDC__
  39167. -# include <limits.h>
  39168. -#else
  39169. -# include <assert.h>
  39170. -#endif
  39171. -
  39172. -#undef $ac_func
  39173. -
  39174. -/* Override any GCC internal prototype to avoid an error.
  39175. - Use char because int might match the return type of a GCC
  39176. - builtin and then its argument prototype would still apply. */
  39177. -#ifdef __cplusplus
  39178. -extern "C"
  39179. -#endif
  39180. -char $ac_func ();
  39181. -/* The GNU C library defines this for functions which it implements
  39182. - to always fail with ENOSYS. Some functions are actually named
  39183. - something starting with __ and the normal name is an alias. */
  39184. -#if defined __stub_$ac_func || defined __stub___$ac_func
  39185. -choke me
  39186. -#endif
  39187. -
  39188. -int
  39189. -main ()
  39190. -{
  39191. -return $ac_func ();
  39192. - ;
  39193. - return 0;
  39194. -}
  39195. -_ACEOF
  39196. -rm -f conftest.$ac_objext conftest$ac_exeext
  39197. -if { (ac_try="$ac_link"
  39198. -case "(($ac_try" in
  39199. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39200. - *) ac_try_echo=$ac_try;;
  39201. -esac
  39202. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  39203. - (eval "$ac_link") 2>conftest.er1
  39204. - ac_status=$?
  39205. - grep -v '^ *+' conftest.er1 >conftest.err
  39206. - rm -f conftest.er1
  39207. - cat conftest.err >&5
  39208. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39209. - (exit $ac_status); } && {
  39210. - test -z "$ac_c_werror_flag" ||
  39211. - test ! -s conftest.err
  39212. - } && test -s conftest$ac_exeext &&
  39213. - $as_test_x conftest$ac_exeext; then
  39214. - eval "$as_ac_var=yes"
  39215. -else
  39216. - echo "$as_me: failed program was:" >&5
  39217. -sed 's/^/| /' conftest.$ac_ext >&5
  39218. -
  39219. - eval "$as_ac_var=no"
  39220. -fi
  39221. -
  39222. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  39223. - conftest$ac_exeext conftest.$ac_ext
  39224. -fi
  39225. -ac_res=`eval echo '${'$as_ac_var'}'`
  39226. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  39227. -echo "${ECHO_T}$ac_res" >&6; }
  39228. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  39229. +do :
  39230. + ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
  39231. +if test "x$ac_cv_func_getopt_long" = x""yes; then :
  39232. cat >>confdefs.h <<_ACEOF
  39233. -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  39234. +#define HAVE_GETOPT_LONG 1
  39235. _ACEOF
  39236. else
  39237. # FreeBSD has a gnugetopt library.
  39238. - { echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
  39239. -echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; }
  39240. -if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
  39241. - echo $ECHO_N "(cached) $ECHO_C" >&6
  39242. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lgnugetopt" >&5
  39243. +$as_echo_n "checking for getopt_long in -lgnugetopt... " >&6; }
  39244. +if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then :
  39245. + $as_echo_n "(cached) " >&6
  39246. else
  39247. ac_check_lib_save_LIBS=$LIBS
  39248. LIBS="-lgnugetopt $LIBS"
  39249. -cat >conftest.$ac_ext <<_ACEOF
  39250. -/* confdefs.h. */
  39251. -_ACEOF
  39252. -cat confdefs.h >>conftest.$ac_ext
  39253. -cat >>conftest.$ac_ext <<_ACEOF
  39254. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39255. /* end confdefs.h. */
  39256. /* Override any GCC internal prototype to avoid an error.
  39257. @@ -21504,42 +11774,19 @@
  39258. return 0;
  39259. }
  39260. _ACEOF
  39261. -rm -f conftest.$ac_objext conftest$ac_exeext
  39262. -if { (ac_try="$ac_link"
  39263. -case "(($ac_try" in
  39264. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39265. - *) ac_try_echo=$ac_try;;
  39266. -esac
  39267. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  39268. - (eval "$ac_link") 2>conftest.er1
  39269. - ac_status=$?
  39270. - grep -v '^ *+' conftest.er1 >conftest.err
  39271. - rm -f conftest.er1
  39272. - cat conftest.err >&5
  39273. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39274. - (exit $ac_status); } && {
  39275. - test -z "$ac_c_werror_flag" ||
  39276. - test ! -s conftest.err
  39277. - } && test -s conftest$ac_exeext &&
  39278. - $as_test_x conftest$ac_exeext; then
  39279. +if ac_fn_c_try_link "$LINENO"; then :
  39280. ac_cv_lib_gnugetopt_getopt_long=yes
  39281. else
  39282. - echo "$as_me: failed program was:" >&5
  39283. -sed 's/^/| /' conftest.$ac_ext >&5
  39284. -
  39285. - ac_cv_lib_gnugetopt_getopt_long=no
  39286. + ac_cv_lib_gnugetopt_getopt_long=no
  39287. fi
  39288. -
  39289. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  39290. - conftest$ac_exeext conftest.$ac_ext
  39291. +rm -f core conftest.err conftest.$ac_objext \
  39292. + conftest$ac_exeext conftest.$ac_ext
  39293. LIBS=$ac_check_lib_save_LIBS
  39294. fi
  39295. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
  39296. -echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; }
  39297. -if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
  39298. - cat >>confdefs.h <<\_ACEOF
  39299. -#define HAVE_GETOPT_LONG 1
  39300. -_ACEOF
  39301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
  39302. +$as_echo "$ac_cv_lib_gnugetopt_getopt_long" >&6; }
  39303. +if test "x$ac_cv_lib_gnugetopt_getopt_long" = x""yes; then :
  39304. + $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
  39305. else
  39306. # Use the GNU replacement.
  39307. @@ -21561,19 +11808,14 @@
  39308. done
  39309. -
  39310. -{ echo "$as_me:$LINENO: checking for main in -lwinmm" >&5
  39311. -echo $ECHO_N "checking for main in -lwinmm... $ECHO_C" >&6; }
  39312. -if test "${ac_cv_lib_winmm_main+set}" = set; then
  39313. - echo $ECHO_N "(cached) $ECHO_C" >&6
  39314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwinmm" >&5
  39315. +$as_echo_n "checking for main in -lwinmm... " >&6; }
  39316. +if test "${ac_cv_lib_winmm_main+set}" = set; then :
  39317. + $as_echo_n "(cached) " >&6
  39318. else
  39319. ac_check_lib_save_LIBS=$LIBS
  39320. LIBS="-lwinmm $LIBS"
  39321. -cat >conftest.$ac_ext <<_ACEOF
  39322. -/* confdefs.h. */
  39323. -_ACEOF
  39324. -cat confdefs.h >>conftest.$ac_ext
  39325. -cat >>conftest.$ac_ext <<_ACEOF
  39326. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39327. /* end confdefs.h. */
  39328. @@ -21585,39 +11827,18 @@
  39329. return 0;
  39330. }
  39331. _ACEOF
  39332. -rm -f conftest.$ac_objext conftest$ac_exeext
  39333. -if { (ac_try="$ac_link"
  39334. -case "(($ac_try" in
  39335. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39336. - *) ac_try_echo=$ac_try;;
  39337. -esac
  39338. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  39339. - (eval "$ac_link") 2>conftest.er1
  39340. - ac_status=$?
  39341. - grep -v '^ *+' conftest.er1 >conftest.err
  39342. - rm -f conftest.er1
  39343. - cat conftest.err >&5
  39344. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39345. - (exit $ac_status); } && {
  39346. - test -z "$ac_c_werror_flag" ||
  39347. - test ! -s conftest.err
  39348. - } && test -s conftest$ac_exeext &&
  39349. - $as_test_x conftest$ac_exeext; then
  39350. +if ac_fn_c_try_link "$LINENO"; then :
  39351. ac_cv_lib_winmm_main=yes
  39352. else
  39353. - echo "$as_me: failed program was:" >&5
  39354. -sed 's/^/| /' conftest.$ac_ext >&5
  39355. -
  39356. - ac_cv_lib_winmm_main=no
  39357. + ac_cv_lib_winmm_main=no
  39358. fi
  39359. -
  39360. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  39361. - conftest$ac_exeext conftest.$ac_ext
  39362. +rm -f core conftest.err conftest.$ac_objext \
  39363. + conftest$ac_exeext conftest.$ac_ext
  39364. LIBS=$ac_check_lib_save_LIBS
  39365. fi
  39366. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_main" >&5
  39367. -echo "${ECHO_T}$ac_cv_lib_winmm_main" >&6; }
  39368. -if test $ac_cv_lib_winmm_main = yes; then
  39369. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_main" >&5
  39370. +$as_echo "$ac_cv_lib_winmm_main" >&6; }
  39371. +if test "x$ac_cv_lib_winmm_main" = x""yes; then :
  39372. cat >>confdefs.h <<_ACEOF
  39373. #define HAVE_LIBWINMM 1
  39374. _ACEOF
  39375. @@ -21654,19 +11875,17 @@
  39376. # Check whether --enable-valgrind was given.
  39377. -if test "${enable_valgrind+set}" = set; then
  39378. +if test "${enable_valgrind+set}" = set; then :
  39379. enableval=$enable_valgrind; if test "$enableval" = yes; then
  39380. -cat >>confdefs.h <<\_ACEOF
  39381. -#define ENABLE_VALGRIND
  39382. -_ACEOF
  39383. +$as_echo "#define ENABLE_VALGRIND /**/" >>confdefs.h
  39384. fi
  39385. fi
  39386. # Check whether --enable-sse was given.
  39387. -if test "${enable_sse+set}" = set; then
  39388. +if test "${enable_sse+set}" = set; then :
  39389. enableval=$enable_sse;
  39390. if test "x$enableval" != xno; then
  39391. has_sse=yes
  39392. @@ -21682,94 +11901,76 @@
  39393. FFT=smallft
  39394. # Check whether --enable-fixed-point was given.
  39395. -if test "${enable_fixed_point+set}" = set; then
  39396. +if test "${enable_fixed_point+set}" = set; then :
  39397. enableval=$enable_fixed_point; if test "$enableval" = yes; then
  39398. FFT=kiss
  39399. has_sse=no
  39400. -cat >>confdefs.h <<\_ACEOF
  39401. -#define FIXED_POINT
  39402. -_ACEOF
  39403. +$as_echo "#define FIXED_POINT /**/" >>confdefs.h
  39404. else
  39405. -cat >>confdefs.h <<\_ACEOF
  39406. -#define FLOATING_POINT
  39407. -_ACEOF
  39408. +$as_echo "#define FLOATING_POINT /**/" >>confdefs.h
  39409. fi
  39410. else
  39411. -cat >>confdefs.h <<\_ACEOF
  39412. -#define FLOATING_POINT
  39413. -_ACEOF
  39414. +$as_echo "#define FLOATING_POINT /**/" >>confdefs.h
  39415. fi
  39416. if test "$has_sse" = yes; then
  39417. -cat >>confdefs.h <<\_ACEOF
  39418. -#define _USE_SSE
  39419. -_ACEOF
  39420. +$as_echo "#define _USE_SSE /**/" >>confdefs.h
  39421. fi
  39422. # Check whether --enable-float-api was given.
  39423. -if test "${enable_float_api+set}" = set; then
  39424. +if test "${enable_float_api+set}" = set; then :
  39425. enableval=$enable_float_api; if test "$enableval" = no; then
  39426. -cat >>confdefs.h <<\_ACEOF
  39427. -#define DISABLE_FLOAT_API
  39428. -_ACEOF
  39429. +$as_echo "#define DISABLE_FLOAT_API /**/" >>confdefs.h
  39430. fi
  39431. fi
  39432. # Check whether --enable-vbr was given.
  39433. -if test "${enable_vbr+set}" = set; then
  39434. +if test "${enable_vbr+set}" = set; then :
  39435. enableval=$enable_vbr; if test "$enableval" = no; then
  39436. -cat >>confdefs.h <<\_ACEOF
  39437. -#define DISABLE_VBR
  39438. -_ACEOF
  39439. +$as_echo "#define DISABLE_VBR /**/" >>confdefs.h
  39440. fi
  39441. fi
  39442. # Check whether --enable-arm4-asm was given.
  39443. -if test "${enable_arm4_asm+set}" = set; then
  39444. +if test "${enable_arm4_asm+set}" = set; then :
  39445. enableval=$enable_arm4_asm; if test "$enableval" = yes; then
  39446. -cat >>confdefs.h <<\_ACEOF
  39447. -#define ARM4_ASM
  39448. -_ACEOF
  39449. +$as_echo "#define ARM4_ASM /**/" >>confdefs.h
  39450. fi
  39451. fi
  39452. # Check whether --enable-arm5e-asm was given.
  39453. -if test "${enable_arm5e_asm+set}" = set; then
  39454. +if test "${enable_arm5e_asm+set}" = set; then :
  39455. enableval=$enable_arm5e_asm; if test "$enableval" = yes; then
  39456. -cat >>confdefs.h <<\_ACEOF
  39457. -#define ARM5E_ASM
  39458. -_ACEOF
  39459. +$as_echo "#define ARM5E_ASM /**/" >>confdefs.h
  39460. fi
  39461. fi
  39462. # Check whether --enable-blackfin-asm was given.
  39463. -if test "${enable_blackfin_asm+set}" = set; then
  39464. +if test "${enable_blackfin_asm+set}" = set; then :
  39465. enableval=$enable_blackfin_asm; if test "$enableval" = yes; then
  39466. -cat >>confdefs.h <<\_ACEOF
  39467. -#define BFIN_ASM
  39468. -_ACEOF
  39469. +$as_echo "#define BFIN_ASM /**/" >>confdefs.h
  39470. LDFLAGS="-Wl,-elf2flt=-s100000"
  39471. fi
  39472. @@ -21777,25 +11978,21 @@
  39473. # Check whether --enable-fixed-point-debug was given.
  39474. -if test "${enable_fixed_point_debug+set}" = set; then
  39475. +if test "${enable_fixed_point_debug+set}" = set; then :
  39476. enableval=$enable_fixed_point_debug; if test "$enableval" = yes; then
  39477. -cat >>confdefs.h <<\_ACEOF
  39478. -#define FIXED_DEBUG
  39479. -_ACEOF
  39480. +$as_echo "#define FIXED_DEBUG /**/" >>confdefs.h
  39481. fi
  39482. fi
  39483. # Check whether --enable-ti-c55x was given.
  39484. -if test "${enable_ti_c55x+set}" = set; then
  39485. +if test "${enable_ti_c55x+set}" = set; then :
  39486. enableval=$enable_ti_c55x; if test "$enableval" = yes; then
  39487. has_char16=yes;
  39488. -cat >>confdefs.h <<\_ACEOF
  39489. -#define TI_C55X
  39490. -_ACEOF
  39491. +$as_echo "#define TI_C55X /**/" >>confdefs.h
  39492. fi
  39493. fi
  39494. @@ -21803,7 +12000,7 @@
  39495. # Check whether --with-fft was given.
  39496. -if test "${with_fft+set}" = set; then
  39497. +if test "${with_fft+set}" = set; then :
  39498. withval=$with_fft; FFT=$withval
  39499. fi
  39500. @@ -21816,10 +12013,10 @@
  39501. if test -n "$ac_tool_prefix"; then
  39502. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  39503. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  39504. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  39505. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  39506. -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  39507. - echo $ECHO_N "(cached) $ECHO_C" >&6
  39508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39509. +$as_echo_n "checking for $ac_word... " >&6; }
  39510. +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
  39511. + $as_echo_n "(cached) " >&6
  39512. else
  39513. case $PKG_CONFIG in
  39514. [\\/]* | ?:[\\/]*)
  39515. @@ -21831,14 +12028,14 @@
  39516. do
  39517. IFS=$as_save_IFS
  39518. test -z "$as_dir" && as_dir=.
  39519. - for ac_exec_ext in '' $ac_executable_extensions; do
  39520. + for ac_exec_ext in '' $ac_executable_extensions; do
  39521. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39522. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  39523. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  39524. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39525. break 2
  39526. fi
  39527. done
  39528. -done
  39529. + done
  39530. IFS=$as_save_IFS
  39531. ;;
  39532. @@ -21846,11 +12043,11 @@
  39533. fi
  39534. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  39535. if test -n "$PKG_CONFIG"; then
  39536. - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  39537. -echo "${ECHO_T}$PKG_CONFIG" >&6; }
  39538. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  39539. +$as_echo "$PKG_CONFIG" >&6; }
  39540. else
  39541. - { echo "$as_me:$LINENO: result: no" >&5
  39542. -echo "${ECHO_T}no" >&6; }
  39543. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39544. +$as_echo "no" >&6; }
  39545. fi
  39546. @@ -21859,10 +12056,10 @@
  39547. ac_pt_PKG_CONFIG=$PKG_CONFIG
  39548. # Extract the first word of "pkg-config", so it can be a program name with args.
  39549. set dummy pkg-config; ac_word=$2
  39550. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  39551. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  39552. -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  39553. - echo $ECHO_N "(cached) $ECHO_C" >&6
  39554. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39555. +$as_echo_n "checking for $ac_word... " >&6; }
  39556. +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
  39557. + $as_echo_n "(cached) " >&6
  39558. else
  39559. case $ac_pt_PKG_CONFIG in
  39560. [\\/]* | ?:[\\/]*)
  39561. @@ -21874,14 +12071,14 @@
  39562. do
  39563. IFS=$as_save_IFS
  39564. test -z "$as_dir" && as_dir=.
  39565. - for ac_exec_ext in '' $ac_executable_extensions; do
  39566. + for ac_exec_ext in '' $ac_executable_extensions; do
  39567. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39568. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  39569. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  39570. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39571. break 2
  39572. fi
  39573. done
  39574. -done
  39575. + done
  39576. IFS=$as_save_IFS
  39577. ;;
  39578. @@ -21889,11 +12086,11 @@
  39579. fi
  39580. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  39581. if test -n "$ac_pt_PKG_CONFIG"; then
  39582. - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  39583. -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  39584. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  39585. +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
  39586. else
  39587. - { echo "$as_me:$LINENO: result: no" >&5
  39588. -echo "${ECHO_T}no" >&6; }
  39589. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39590. +$as_echo "no" >&6; }
  39591. fi
  39592. if test "x$ac_pt_PKG_CONFIG" = x; then
  39593. @@ -21901,12 +12098,8 @@
  39594. else
  39595. case $cross_compiling:$ac_tool_warned in
  39596. yes:)
  39597. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  39598. -whose name does not start with the host triplet. If you think this
  39599. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  39600. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  39601. -whose name does not start with the host triplet. If you think this
  39602. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  39603. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  39604. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  39605. ac_tool_warned=yes ;;
  39606. esac
  39607. PKG_CONFIG=$ac_pt_PKG_CONFIG
  39608. @@ -21918,54 +12111,51 @@
  39609. fi
  39610. if test -n "$PKG_CONFIG"; then
  39611. _pkg_min_version=0.9.0
  39612. - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  39613. -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  39614. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  39615. +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  39616. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  39617. - { echo "$as_me:$LINENO: result: yes" >&5
  39618. -echo "${ECHO_T}yes" >&6; }
  39619. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  39620. +$as_echo "yes" >&6; }
  39621. else
  39622. - { echo "$as_me:$LINENO: result: no" >&5
  39623. -echo "${ECHO_T}no" >&6; }
  39624. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39625. +$as_echo "no" >&6; }
  39626. PKG_CONFIG=""
  39627. fi
  39628. fi
  39629. -case $FFT in
  39630. - kiss)
  39631. +case $FFT in #(
  39632. + kiss) :
  39633. -cat >>confdefs.h <<\_ACEOF
  39634. -#define USE_KISS_FFT
  39635. -_ACEOF
  39636. - ;;
  39637. - smallft)
  39638. +$as_echo "#define USE_KISS_FFT /**/" >>confdefs.h
  39639. -cat >>confdefs.h <<\_ACEOF
  39640. -#define USE_SMALLFT
  39641. -_ACEOF
  39642. + ;; #(
  39643. + smallft) :
  39644. - ;;
  39645. - gpl-fftw3)
  39646. -cat >>confdefs.h <<\_ACEOF
  39647. -#define USE_GPL_FFTW3
  39648. -_ACEOF
  39649. +$as_echo "#define USE_SMALLFT /**/" >>confdefs.h
  39650. +
  39651. + ;; #(
  39652. + gpl-fftw3) :
  39653. +
  39654. +
  39655. +$as_echo "#define USE_GPL_FFTW3 /**/" >>confdefs.h
  39656. pkg_failed=no
  39657. -{ echo "$as_me:$LINENO: checking for FFT" >&5
  39658. -echo $ECHO_N "checking for FFT... $ECHO_C" >&6; }
  39659. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFT" >&5
  39660. +$as_echo_n "checking for FFT... " >&6; }
  39661. if test -n "$PKG_CONFIG"; then
  39662. if test -n "$FFT_CFLAGS"; then
  39663. pkg_cv_FFT_CFLAGS="$FFT_CFLAGS"
  39664. else
  39665. if test -n "$PKG_CONFIG" && \
  39666. - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f\"") >&5
  39667. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5
  39668. ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5
  39669. ac_status=$?
  39670. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39671. - (exit $ac_status); }; then
  39672. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39673. + test $ac_status = 0; }; then
  39674. pkg_cv_FFT_CFLAGS=`$PKG_CONFIG --cflags "fftw3f" 2>/dev/null`
  39675. else
  39676. pkg_failed=yes
  39677. @@ -21979,2881 +12169,2617 @@
  39678. pkg_cv_FFT_LIBS="$FFT_LIBS"
  39679. else
  39680. if test -n "$PKG_CONFIG" && \
  39681. - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fftw3f\"") >&5
  39682. + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5
  39683. ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5
  39684. ac_status=$?
  39685. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  39686. - (exit $ac_status); }; then
  39687. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39688. + test $ac_status = 0; }; then
  39689. pkg_cv_FFT_LIBS=`$PKG_CONFIG --libs "fftw3f" 2>/dev/null`
  39690. else
  39691. pkg_failed=yes
  39692. fi
  39693. fi
  39694. else
  39695. - pkg_failed=untried
  39696. + pkg_failed=untried
  39697. +fi
  39698. +
  39699. +
  39700. +
  39701. +if test $pkg_failed = yes; then
  39702. +
  39703. +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  39704. + _pkg_short_errors_supported=yes
  39705. +else
  39706. + _pkg_short_errors_supported=no
  39707. +fi
  39708. + if test $_pkg_short_errors_supported = yes; then
  39709. + FFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fftw3f"`
  39710. + else
  39711. + FFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fftw3f"`
  39712. + fi
  39713. + # Put the nasty error message in config.log where it belongs
  39714. + echo "$FFT_PKG_ERRORS" >&5
  39715. +
  39716. + as_fn_error "Package requirements (fftw3f) were not met:
  39717. +
  39718. +$FFT_PKG_ERRORS
  39719. +
  39720. +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  39721. +installed software in a non-standard prefix.
  39722. +
  39723. +Alternatively, you may set the environment variables FFT_CFLAGS
  39724. +and FFT_LIBS to avoid the need to call pkg-config.
  39725. +See the pkg-config man page for more details.
  39726. +" "$LINENO" 5
  39727. +elif test $pkg_failed = untried; then
  39728. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39729. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39730. +as_fn_error "The pkg-config script could not be found or is too old. Make sure it
  39731. +is in your PATH or set the PKG_CONFIG environment variable to the full
  39732. +path to pkg-config.
  39733. +
  39734. +Alternatively, you may set the environment variables FFT_CFLAGS
  39735. +and FFT_LIBS to avoid the need to call pkg-config.
  39736. +See the pkg-config man page for more details.
  39737. +
  39738. +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  39739. +See \`config.log' for more details." "$LINENO" 5; }
  39740. +else
  39741. + FFT_CFLAGS=$pkg_cv_FFT_CFLAGS
  39742. + FFT_LIBS=$pkg_cv_FFT_LIBS
  39743. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  39744. +$as_echo "yes" >&6; }
  39745. + :
  39746. +fi
  39747. + ;; #(
  39748. + proprietary-intel-mkl) :
  39749. +
  39750. +
  39751. +$as_echo "#define USE_INTEL_MKL /**/" >>confdefs.h
  39752. +
  39753. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid MKL" >&5
  39754. +$as_echo_n "checking for valid MKL... " >&6; }
  39755. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39756. +/* end confdefs.h. */
  39757. +
  39758. +
  39759. +#include <mkl.h>
  39760. +void func() {
  39761. + DFTI_DESCRIPTOR_HANDLE h;
  39762. + MKL_LONG result=DftiCreateDescriptor(&h, DFTI_SINGLE, DFTI_REAL, 0);
  39763. +}
  39764. +int
  39765. +main ()
  39766. +{
  39767. +
  39768. + ;
  39769. + return 0;
  39770. +}
  39771. +_ACEOF
  39772. +if ac_fn_c_try_link "$LINENO"; then :
  39773. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  39774. +$as_echo "yes" >&6; }
  39775. +else
  39776. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39777. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39778. +as_fn_error "Failed to compile MKL test program. Make sure you set CFLAGS to include the include directory and set LDFLAGS to include the library directory and all necesarry libraries.
  39779. +See \`config.log' for more details." "$LINENO" 5; }
  39780. +
  39781. +fi
  39782. +rm -f core conftest.err conftest.$ac_objext \
  39783. + conftest$ac_exeext conftest.$ac_ext
  39784. + ;; #(
  39785. + *) :
  39786. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39787. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39788. +as_fn_error "Unknown FFT $FFT specified for --with-fft
  39789. +See \`config.log' for more details." "$LINENO" 5; }
  39790. + ;;
  39791. +esac
  39792. + if test "$FFT" = "kiss"; then
  39793. + BUILD_KISS_FFT_TRUE=
  39794. + BUILD_KISS_FFT_FALSE='#'
  39795. +else
  39796. + BUILD_KISS_FFT_TRUE='#'
  39797. + BUILD_KISS_FFT_FALSE=
  39798. +fi
  39799. +
  39800. + if test "$FFT" = "smallft"; then
  39801. + BUILD_SMALLFT_TRUE=
  39802. + BUILD_SMALLFT_FALSE='#'
  39803. +else
  39804. + BUILD_SMALLFT_TRUE='#'
  39805. + BUILD_SMALLFT_FALSE=
  39806. +fi
  39807. +
  39808. +
  39809. +
  39810. +
  39811. +# The cast to long int works around a bug in the HP C Compiler
  39812. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  39813. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  39814. +# This bug is HP SR number 8606223364.
  39815. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  39816. +$as_echo_n "checking size of short... " >&6; }
  39817. +if test "${ac_cv_sizeof_short+set}" = set; then :
  39818. + $as_echo_n "(cached) " >&6
  39819. +else
  39820. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  39821. +
  39822. +else
  39823. + if test "$ac_cv_type_short" = yes; then
  39824. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39825. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39826. +{ as_fn_set_status 77
  39827. +as_fn_error "cannot compute sizeof (short)
  39828. +See \`config.log' for more details." "$LINENO" 5; }; }
  39829. + else
  39830. + ac_cv_sizeof_short=0
  39831. + fi
  39832. +fi
  39833. +
  39834. +fi
  39835. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  39836. +$as_echo "$ac_cv_sizeof_short" >&6; }
  39837. +
  39838. +
  39839. +
  39840. +cat >>confdefs.h <<_ACEOF
  39841. +#define SIZEOF_SHORT $ac_cv_sizeof_short
  39842. +_ACEOF
  39843. +
  39844. +
  39845. +# The cast to long int works around a bug in the HP C Compiler
  39846. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  39847. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  39848. +# This bug is HP SR number 8606223364.
  39849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  39850. +$as_echo_n "checking size of int... " >&6; }
  39851. +if test "${ac_cv_sizeof_int+set}" = set; then :
  39852. + $as_echo_n "(cached) " >&6
  39853. +else
  39854. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  39855. +
  39856. +else
  39857. + if test "$ac_cv_type_int" = yes; then
  39858. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39859. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39860. +{ as_fn_set_status 77
  39861. +as_fn_error "cannot compute sizeof (int)
  39862. +See \`config.log' for more details." "$LINENO" 5; }; }
  39863. + else
  39864. + ac_cv_sizeof_int=0
  39865. + fi
  39866. +fi
  39867. +
  39868. +fi
  39869. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  39870. +$as_echo "$ac_cv_sizeof_int" >&6; }
  39871. +
  39872. +
  39873. +
  39874. +cat >>confdefs.h <<_ACEOF
  39875. +#define SIZEOF_INT $ac_cv_sizeof_int
  39876. +_ACEOF
  39877. +
  39878. +
  39879. +# The cast to long int works around a bug in the HP C Compiler
  39880. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  39881. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  39882. +# This bug is HP SR number 8606223364.
  39883. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  39884. +$as_echo_n "checking size of long... " >&6; }
  39885. +if test "${ac_cv_sizeof_long+set}" = set; then :
  39886. + $as_echo_n "(cached) " >&6
  39887. +else
  39888. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  39889. +
  39890. +else
  39891. + if test "$ac_cv_type_long" = yes; then
  39892. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39893. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39894. +{ as_fn_set_status 77
  39895. +as_fn_error "cannot compute sizeof (long)
  39896. +See \`config.log' for more details." "$LINENO" 5; }; }
  39897. + else
  39898. + ac_cv_sizeof_long=0
  39899. + fi
  39900. fi
  39901. +fi
  39902. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  39903. +$as_echo "$ac_cv_sizeof_long" >&6; }
  39904. -if test $pkg_failed = yes; then
  39905. -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  39906. - _pkg_short_errors_supported=yes
  39907. -else
  39908. - _pkg_short_errors_supported=no
  39909. -fi
  39910. - if test $_pkg_short_errors_supported = yes; then
  39911. - FFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "fftw3f"`
  39912. - else
  39913. - FFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fftw3f"`
  39914. - fi
  39915. - # Put the nasty error message in config.log where it belongs
  39916. - echo "$FFT_PKG_ERRORS" >&5
  39917. +cat >>confdefs.h <<_ACEOF
  39918. +#define SIZEOF_LONG $ac_cv_sizeof_long
  39919. +_ACEOF
  39920. - { { echo "$as_me:$LINENO: error: Package requirements (fftw3f) were not met:
  39921. -$FFT_PKG_ERRORS
  39922. -Consider adjusting the PKG_CONFIG_PATH environment variable if you
  39923. -installed software in a non-standard prefix.
  39924. +if test x$has_char16 = "xyes" ; then
  39925. + case 1 in
  39926. + $ac_cv_sizeof_short) SIZE16="short";;
  39927. + $ac_cv_sizeof_int) SIZE16="int";;
  39928. + esac
  39929. +else
  39930. + case 2 in
  39931. + $ac_cv_sizeof_short) SIZE16="short";;
  39932. + $ac_cv_sizeof_int) SIZE16="int";;
  39933. + esac
  39934. +fi
  39935. -Alternatively, you may set the environment variables FFT_CFLAGS
  39936. -and FFT_LIBS to avoid the need to call pkg-config.
  39937. -See the pkg-config man page for more details.
  39938. -" >&5
  39939. -echo "$as_me: error: Package requirements (fftw3f) were not met:
  39940. +if test x$has_char16 = "xyes" ; then
  39941. + case 2 in
  39942. + $ac_cv_sizeof_int) SIZE32="int";;
  39943. + $ac_cv_sizeof_long) SIZE32="long";;
  39944. + $ac_cv_sizeof_short) SIZE32="short";;
  39945. + esac
  39946. +else
  39947. + case 4 in
  39948. + $ac_cv_sizeof_int) SIZE32="int";;
  39949. + $ac_cv_sizeof_long) SIZE32="long";;
  39950. + $ac_cv_sizeof_short) SIZE32="short";;
  39951. + esac
  39952. +fi
  39953. -$FFT_PKG_ERRORS
  39954. -Consider adjusting the PKG_CONFIG_PATH environment variable if you
  39955. -installed software in a non-standard prefix.
  39956. -Alternatively, you may set the environment variables FFT_CFLAGS
  39957. -and FFT_LIBS to avoid the need to call pkg-config.
  39958. -See the pkg-config man page for more details.
  39959. -" >&2;}
  39960. - { (exit 1); exit 1; }; }
  39961. -elif test $pkg_failed = untried; then
  39962. - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
  39963. -is in your PATH or set the PKG_CONFIG environment variable to the full
  39964. -path to pkg-config.
  39965. -Alternatively, you may set the environment variables FFT_CFLAGS
  39966. -and FFT_LIBS to avoid the need to call pkg-config.
  39967. -See the pkg-config man page for more details.
  39968. +ac_config_files="$ac_config_files Makefile libspeex/Makefile src/Makefile doc/Makefile Speex.spec include/Makefile include/speex/Makefile speex.pc speexdsp.pc win32/Makefile win32/libspeex/Makefile win32/speexenc/Makefile win32/speexdec/Makefile symbian/Makefile win32/VS2003/Makefile win32/VS2003/tests/Makefile win32/VS2003/libspeex/Makefile win32/VS2003/libspeexdsp/Makefile win32/VS2003/speexdec/Makefile win32/VS2003/speexenc/Makefile win32/VS2005/Makefile win32/VS2005/libspeex/Makefile win32/VS2005/speexdec/Makefile win32/VS2005/speexenc/Makefile win32/VS2005/libspeexdsp/Makefile win32/VS2005/tests/Makefile win32/VS2008/libspeexdsp/Makefile win32/VS2008/Makefile win32/VS2008/speexdec/Makefile win32/VS2008/tests/Makefile win32/VS2008/libspeex/Makefile win32/VS2008/speexenc/Makefile include/speex/speex_config_types.h ti/Makefile ti/speex_C54_test/Makefile ti/speex_C55_test/Makefile ti/speex_C64_test/Makefile"
  39969. -To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  39970. -See \`config.log' for more details." >&5
  39971. -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
  39972. -is in your PATH or set the PKG_CONFIG environment variable to the full
  39973. -path to pkg-config.
  39974. +cat >confcache <<\_ACEOF
  39975. +# This file is a shell script that caches the results of configure
  39976. +# tests run on this system so they can be shared between configure
  39977. +# scripts and configure runs, see configure's option --config-cache.
  39978. +# It is not useful on other systems. If it contains results you don't
  39979. +# want to keep, you may remove or edit it.
  39980. +#
  39981. +# config.status only pays attention to the cache file if you give it
  39982. +# the --recheck option to rerun configure.
  39983. +#
  39984. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  39985. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  39986. +# following values.
  39987. -Alternatively, you may set the environment variables FFT_CFLAGS
  39988. -and FFT_LIBS to avoid the need to call pkg-config.
  39989. -See the pkg-config man page for more details.
  39990. +_ACEOF
  39991. -To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  39992. -See \`config.log' for more details." >&2;}
  39993. - { (exit 1); exit 1; }; }
  39994. -else
  39995. - FFT_CFLAGS=$pkg_cv_FFT_CFLAGS
  39996. - FFT_LIBS=$pkg_cv_FFT_LIBS
  39997. - { echo "$as_me:$LINENO: result: yes" >&5
  39998. -echo "${ECHO_T}yes" >&6; }
  39999. - :
  40000. +# The following way of writing the cache mishandles newlines in values,
  40001. +# but we know of no workaround that is simple, portable, and efficient.
  40002. +# So, we kill variables containing newlines.
  40003. +# Ultrix sh set writes to stderr and can't be redirected directly,
  40004. +# and sets the high bit in the cache file unless we assign to the vars.
  40005. +(
  40006. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  40007. + eval ac_val=\$$ac_var
  40008. + case $ac_val in #(
  40009. + *${as_nl}*)
  40010. + case $ac_var in #(
  40011. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  40012. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  40013. + esac
  40014. + case $ac_var in #(
  40015. + _ | IFS | as_nl) ;; #(
  40016. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  40017. + *) { eval $ac_var=; unset $ac_var;} ;;
  40018. + esac ;;
  40019. + esac
  40020. + done
  40021. +
  40022. + (set) 2>&1 |
  40023. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  40024. + *${as_nl}ac_space=\ *)
  40025. + # `set' does not quote correctly, so add quotes: double-quote
  40026. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  40027. + sed -n \
  40028. + "s/'/'\\\\''/g;
  40029. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  40030. + ;; #(
  40031. + *)
  40032. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  40033. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  40034. + ;;
  40035. + esac |
  40036. + sort
  40037. +) |
  40038. + sed '
  40039. + /^ac_cv_env_/b end
  40040. + t clear
  40041. + :clear
  40042. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  40043. + t end
  40044. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  40045. + :end' >>confcache
  40046. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  40047. + if test -w "$cache_file"; then
  40048. + test "x$cache_file" != "x/dev/null" &&
  40049. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  40050. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  40051. + cat confcache >$cache_file
  40052. + else
  40053. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  40054. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  40055. + fi
  40056. fi
  40057. - ;;
  40058. - proprietary-intel-mkl)
  40059. +rm -f confcache
  40060. -cat >>confdefs.h <<\_ACEOF
  40061. -#define USE_INTEL_MKL
  40062. -_ACEOF
  40063. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  40064. +# Let make expand exec_prefix.
  40065. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  40066. - { echo "$as_me:$LINENO: checking for valid MKL" >&5
  40067. -echo $ECHO_N "checking for valid MKL... $ECHO_C" >&6; }
  40068. - cat >conftest.$ac_ext <<_ACEOF
  40069. +DEFS=-DHAVE_CONFIG_H
  40070. - /* confdefs.h. */
  40071. -_ACEOF
  40072. -cat confdefs.h >>conftest.$ac_ext
  40073. -cat >>conftest.$ac_ext <<_ACEOF
  40074. -/* end confdefs.h. */
  40075. +ac_libobjs=
  40076. +ac_ltlibobjs=
  40077. +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  40078. + # 1. Remove the extension, and $U if already installed.
  40079. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  40080. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  40081. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  40082. + # will be set to the directory where LIBOBJS objects are built.
  40083. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  40084. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  40085. +done
  40086. +LIBOBJS=$ac_libobjs
  40087. -#include <mkl.h>
  40088. -void func() {
  40089. - DFTI_DESCRIPTOR_HANDLE h;
  40090. - MKL_LONG result=DftiCreateDescriptor(&h, DFTI_SINGLE, DFTI_REAL, 0);
  40091. -}
  40092. -int
  40093. -main ()
  40094. -{
  40095. +LTLIBOBJS=$ac_ltlibobjs
  40096. - ;
  40097. - return 0;
  40098. -}
  40099. -_ACEOF
  40100. -rm -f conftest.$ac_objext conftest$ac_exeext
  40101. -if { (ac_try="$ac_link"
  40102. -case "(($ac_try" in
  40103. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40104. - *) ac_try_echo=$ac_try;;
  40105. -esac
  40106. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40107. - (eval "$ac_link") 2>conftest.er1
  40108. - ac_status=$?
  40109. - grep -v '^ *+' conftest.er1 >conftest.err
  40110. - rm -f conftest.er1
  40111. - cat conftest.err >&5
  40112. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40113. - (exit $ac_status); } && {
  40114. - test -z "$ac_c_werror_flag" ||
  40115. - test ! -s conftest.err
  40116. - } && test -s conftest$ac_exeext &&
  40117. - $as_test_x conftest$ac_exeext; then
  40118. - { echo "$as_me:$LINENO: result: yes" >&5
  40119. -echo "${ECHO_T}yes" >&6; }
  40120. +
  40121. + if test -n "$EXEEXT"; then
  40122. + am__EXEEXT_TRUE=
  40123. + am__EXEEXT_FALSE='#'
  40124. else
  40125. - echo "$as_me: failed program was:" >&5
  40126. -sed 's/^/| /' conftest.$ac_ext >&5
  40127. + am__EXEEXT_TRUE='#'
  40128. + am__EXEEXT_FALSE=
  40129. +fi
  40130. - { { echo "$as_me:$LINENO: error: Failed to compile MKL test program. Make sure you set CFLAGS to include the include directory and set LDFLAGS to include the library directory and all necesarry libraries.
  40131. -See \`config.log' for more details." >&5
  40132. -echo "$as_me: error: Failed to compile MKL test program. Make sure you set CFLAGS to include the include directory and set LDFLAGS to include the library directory and all necesarry libraries.
  40133. -See \`config.log' for more details." >&2;}
  40134. - { (exit 1); exit 1; }; }
  40135. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  40136. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  40137. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  40138. +fi
  40139. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  40140. + as_fn_error "conditional \"AMDEP\" was never defined.
  40141. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  40142. +fi
  40143. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  40144. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  40145. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  40146. +fi
  40147. +if test -z "${BUILD_KISS_FFT_TRUE}" && test -z "${BUILD_KISS_FFT_FALSE}"; then
  40148. + as_fn_error "conditional \"BUILD_KISS_FFT\" was never defined.
  40149. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  40150. +fi
  40151. +if test -z "${BUILD_SMALLFT_TRUE}" && test -z "${BUILD_SMALLFT_FALSE}"; then
  40152. + as_fn_error "conditional \"BUILD_SMALLFT\" was never defined.
  40153. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  40154. fi
  40155. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  40156. - conftest$ac_exeext conftest.$ac_ext
  40157. - ;;
  40158. - *) { { echo "$as_me:$LINENO: error: Unknown FFT $FFT specified for --with-fft
  40159. -See \`config.log' for more details." >&5
  40160. -echo "$as_me: error: Unknown FFT $FFT specified for --with-fft
  40161. -See \`config.log' for more details." >&2;}
  40162. - { (exit 1); exit 1; }; }
  40163. - ;;
  40164. -esac
  40165. +: ${CONFIG_STATUS=./config.status}
  40166. +ac_write_fail=0
  40167. +ac_clean_files_save=$ac_clean_files
  40168. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  40169. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  40170. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  40171. +as_write_fail=0
  40172. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  40173. +#! $SHELL
  40174. +# Generated by $as_me.
  40175. +# Run this file to recreate the current configuration.
  40176. +# Compiler output produced by configure, useful for debugging
  40177. +# configure, is in config.log if it exists.
  40178. +debug=false
  40179. +ac_cs_recheck=false
  40180. +ac_cs_silent=false
  40181. +SHELL=\${CONFIG_SHELL-$SHELL}
  40182. +export SHELL
  40183. +_ASEOF
  40184. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  40185. +## -------------------- ##
  40186. +## M4sh Initialization. ##
  40187. +## -------------------- ##
  40188. -if test "$FFT" = "kiss"; then
  40189. - BUILD_KISS_FFT_TRUE=
  40190. - BUILD_KISS_FFT_FALSE='#'
  40191. +# Be more Bourne compatible
  40192. +DUALCASE=1; export DUALCASE # for MKS sh
  40193. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  40194. + emulate sh
  40195. + NULLCMD=:
  40196. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  40197. + # is contrary to our usage. Disable this feature.
  40198. + alias -g '${1+"$@"}'='"$@"'
  40199. + setopt NO_GLOB_SUBST
  40200. else
  40201. - BUILD_KISS_FFT_TRUE='#'
  40202. - BUILD_KISS_FFT_FALSE=
  40203. + case `(set -o) 2>/dev/null` in #(
  40204. + *posix*) :
  40205. + set -o posix ;; #(
  40206. + *) :
  40207. + ;;
  40208. +esac
  40209. fi
  40210. -
  40211. -if test "$FFT" = "smallft"; then
  40212. - BUILD_SMALLFT_TRUE=
  40213. - BUILD_SMALLFT_FALSE='#'
  40214. -else
  40215. - BUILD_SMALLFT_TRUE='#'
  40216. - BUILD_SMALLFT_FALSE=
  40217. +as_nl='
  40218. +'
  40219. +export as_nl
  40220. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  40221. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40222. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  40223. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40224. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  40225. +# but without wasting forks for bash or zsh.
  40226. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  40227. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  40228. + as_echo='print -r --'
  40229. + as_echo_n='print -rn --'
  40230. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  40231. + as_echo='printf %s\n'
  40232. + as_echo_n='printf %s'
  40233. +else
  40234. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  40235. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  40236. + as_echo_n='/usr/ucb/echo -n'
  40237. + else
  40238. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  40239. + as_echo_n_body='eval
  40240. + arg=$1;
  40241. + case $arg in #(
  40242. + *"$as_nl"*)
  40243. + expr "X$arg" : "X\\(.*\\)$as_nl";
  40244. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  40245. + esac;
  40246. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  40247. + '
  40248. + export as_echo_n_body
  40249. + as_echo_n='sh -c $as_echo_n_body as_echo'
  40250. + fi
  40251. + export as_echo_body
  40252. + as_echo='sh -c $as_echo_body as_echo'
  40253. fi
  40254. +# The user is always right.
  40255. +if test "${PATH_SEPARATOR+set}" != set; then
  40256. + PATH_SEPARATOR=:
  40257. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  40258. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  40259. + PATH_SEPARATOR=';'
  40260. + }
  40261. +fi
  40262. +# IFS
  40263. +# We need space, tab and new line, in precisely that order. Quoting is
  40264. +# there to prevent editors from complaining about space-tab.
  40265. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  40266. +# splitting by setting IFS to empty value.)
  40267. +IFS=" "" $as_nl"
  40268. -{ echo "$as_me:$LINENO: checking for short" >&5
  40269. -echo $ECHO_N "checking for short... $ECHO_C" >&6; }
  40270. -if test "${ac_cv_type_short+set}" = set; then
  40271. - echo $ECHO_N "(cached) $ECHO_C" >&6
  40272. -else
  40273. - cat >conftest.$ac_ext <<_ACEOF
  40274. -/* confdefs.h. */
  40275. -_ACEOF
  40276. -cat confdefs.h >>conftest.$ac_ext
  40277. -cat >>conftest.$ac_ext <<_ACEOF
  40278. -/* end confdefs.h. */
  40279. -$ac_includes_default
  40280. -typedef short ac__type_new_;
  40281. -int
  40282. -main ()
  40283. -{
  40284. -if ((ac__type_new_ *) 0)
  40285. - return 0;
  40286. -if (sizeof (ac__type_new_))
  40287. - return 0;
  40288. - ;
  40289. - return 0;
  40290. -}
  40291. -_ACEOF
  40292. -rm -f conftest.$ac_objext
  40293. -if { (ac_try="$ac_compile"
  40294. -case "(($ac_try" in
  40295. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40296. - *) ac_try_echo=$ac_try;;
  40297. -esac
  40298. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40299. - (eval "$ac_compile") 2>conftest.er1
  40300. - ac_status=$?
  40301. - grep -v '^ *+' conftest.er1 >conftest.err
  40302. - rm -f conftest.er1
  40303. - cat conftest.err >&5
  40304. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40305. - (exit $ac_status); } && {
  40306. - test -z "$ac_c_werror_flag" ||
  40307. - test ! -s conftest.err
  40308. - } && test -s conftest.$ac_objext; then
  40309. - ac_cv_type_short=yes
  40310. -else
  40311. - echo "$as_me: failed program was:" >&5
  40312. -sed 's/^/| /' conftest.$ac_ext >&5
  40313. +# Find who we are. Look in the path if we contain no directory separator.
  40314. +case $0 in #((
  40315. + *[\\/]* ) as_myself=$0 ;;
  40316. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40317. +for as_dir in $PATH
  40318. +do
  40319. + IFS=$as_save_IFS
  40320. + test -z "$as_dir" && as_dir=.
  40321. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  40322. + done
  40323. +IFS=$as_save_IFS
  40324. - ac_cv_type_short=no
  40325. + ;;
  40326. +esac
  40327. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  40328. +# in which case we are not to be found in the path.
  40329. +if test "x$as_myself" = x; then
  40330. + as_myself=$0
  40331. fi
  40332. -
  40333. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40334. +if test ! -f "$as_myself"; then
  40335. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  40336. + exit 1
  40337. fi
  40338. -{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
  40339. -echo "${ECHO_T}$ac_cv_type_short" >&6; }
  40340. -# The cast to long int works around a bug in the HP C Compiler
  40341. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  40342. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  40343. -# This bug is HP SR number 8606223364.
  40344. -{ echo "$as_me:$LINENO: checking size of short" >&5
  40345. -echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
  40346. -if test "${ac_cv_sizeof_short+set}" = set; then
  40347. - echo $ECHO_N "(cached) $ECHO_C" >&6
  40348. -else
  40349. - if test "$cross_compiling" = yes; then
  40350. - # Depending upon the size, compute the lo and hi bounds.
  40351. -cat >conftest.$ac_ext <<_ACEOF
  40352. -/* confdefs.h. */
  40353. -_ACEOF
  40354. -cat confdefs.h >>conftest.$ac_ext
  40355. -cat >>conftest.$ac_ext <<_ACEOF
  40356. -/* end confdefs.h. */
  40357. -$ac_includes_default
  40358. - typedef short ac__type_sizeof_;
  40359. -int
  40360. -main ()
  40361. -{
  40362. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  40363. -test_array [0] = 0
  40364. +# Unset variables that we do not need and which cause bugs (e.g. in
  40365. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  40366. +# suppresses any "Segmentation fault" message there. '((' could
  40367. +# trigger a bug in pdksh 5.2.14.
  40368. +for as_var in BASH_ENV ENV MAIL MAILPATH
  40369. +do eval test x\${$as_var+set} = xset \
  40370. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  40371. +done
  40372. +PS1='$ '
  40373. +PS2='> '
  40374. +PS4='+ '
  40375. - ;
  40376. - return 0;
  40377. -}
  40378. -_ACEOF
  40379. -rm -f conftest.$ac_objext
  40380. -if { (ac_try="$ac_compile"
  40381. -case "(($ac_try" in
  40382. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40383. - *) ac_try_echo=$ac_try;;
  40384. -esac
  40385. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40386. - (eval "$ac_compile") 2>conftest.er1
  40387. - ac_status=$?
  40388. - grep -v '^ *+' conftest.er1 >conftest.err
  40389. - rm -f conftest.er1
  40390. - cat conftest.err >&5
  40391. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40392. - (exit $ac_status); } && {
  40393. - test -z "$ac_c_werror_flag" ||
  40394. - test ! -s conftest.err
  40395. - } && test -s conftest.$ac_objext; then
  40396. - ac_lo=0 ac_mid=0
  40397. - while :; do
  40398. - cat >conftest.$ac_ext <<_ACEOF
  40399. -/* confdefs.h. */
  40400. -_ACEOF
  40401. -cat confdefs.h >>conftest.$ac_ext
  40402. -cat >>conftest.$ac_ext <<_ACEOF
  40403. -/* end confdefs.h. */
  40404. -$ac_includes_default
  40405. - typedef short ac__type_sizeof_;
  40406. -int
  40407. -main ()
  40408. -{
  40409. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  40410. -test_array [0] = 0
  40411. +# NLS nuisances.
  40412. +LC_ALL=C
  40413. +export LC_ALL
  40414. +LANGUAGE=C
  40415. +export LANGUAGE
  40416. - ;
  40417. - return 0;
  40418. -}
  40419. -_ACEOF
  40420. -rm -f conftest.$ac_objext
  40421. -if { (ac_try="$ac_compile"
  40422. -case "(($ac_try" in
  40423. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40424. - *) ac_try_echo=$ac_try;;
  40425. -esac
  40426. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40427. - (eval "$ac_compile") 2>conftest.er1
  40428. - ac_status=$?
  40429. - grep -v '^ *+' conftest.er1 >conftest.err
  40430. - rm -f conftest.er1
  40431. - cat conftest.err >&5
  40432. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40433. - (exit $ac_status); } && {
  40434. - test -z "$ac_c_werror_flag" ||
  40435. - test ! -s conftest.err
  40436. - } && test -s conftest.$ac_objext; then
  40437. - ac_hi=$ac_mid; break
  40438. -else
  40439. - echo "$as_me: failed program was:" >&5
  40440. -sed 's/^/| /' conftest.$ac_ext >&5
  40441. +# CDPATH.
  40442. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  40443. - ac_lo=`expr $ac_mid + 1`
  40444. - if test $ac_lo -le $ac_mid; then
  40445. - ac_lo= ac_hi=
  40446. - break
  40447. - fi
  40448. - ac_mid=`expr 2 '*' $ac_mid + 1`
  40449. -fi
  40450. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40451. - done
  40452. +# as_fn_error ERROR [LINENO LOG_FD]
  40453. +# ---------------------------------
  40454. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  40455. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  40456. +# script with status $?, using 1 if that was 0.
  40457. +as_fn_error ()
  40458. +{
  40459. + as_status=$?; test $as_status -eq 0 && as_status=1
  40460. + if test "$3"; then
  40461. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  40462. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  40463. + fi
  40464. + $as_echo "$as_me: error: $1" >&2
  40465. + as_fn_exit $as_status
  40466. +} # as_fn_error
  40467. +
  40468. +
  40469. +# as_fn_set_status STATUS
  40470. +# -----------------------
  40471. +# Set $? to STATUS, without forking.
  40472. +as_fn_set_status ()
  40473. +{
  40474. + return $1
  40475. +} # as_fn_set_status
  40476. +
  40477. +# as_fn_exit STATUS
  40478. +# -----------------
  40479. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  40480. +as_fn_exit ()
  40481. +{
  40482. + set +e
  40483. + as_fn_set_status $1
  40484. + exit $1
  40485. +} # as_fn_exit
  40486. +
  40487. +# as_fn_unset VAR
  40488. +# ---------------
  40489. +# Portably unset VAR.
  40490. +as_fn_unset ()
  40491. +{
  40492. + { eval $1=; unset $1;}
  40493. +}
  40494. +as_unset=as_fn_unset
  40495. +# as_fn_append VAR VALUE
  40496. +# ----------------------
  40497. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  40498. +# advantage of any shell optimizations that allow amortized linear growth over
  40499. +# repeated appends, instead of the typical quadratic growth present in naive
  40500. +# implementations.
  40501. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  40502. + eval 'as_fn_append ()
  40503. + {
  40504. + eval $1+=\$2
  40505. + }'
  40506. else
  40507. - echo "$as_me: failed program was:" >&5
  40508. -sed 's/^/| /' conftest.$ac_ext >&5
  40509. + as_fn_append ()
  40510. + {
  40511. + eval $1=\$$1\$2
  40512. + }
  40513. +fi # as_fn_append
  40514. - cat >conftest.$ac_ext <<_ACEOF
  40515. -/* confdefs.h. */
  40516. -_ACEOF
  40517. -cat confdefs.h >>conftest.$ac_ext
  40518. -cat >>conftest.$ac_ext <<_ACEOF
  40519. -/* end confdefs.h. */
  40520. -$ac_includes_default
  40521. - typedef short ac__type_sizeof_;
  40522. -int
  40523. -main ()
  40524. -{
  40525. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  40526. -test_array [0] = 0
  40527. +# as_fn_arith ARG...
  40528. +# ------------------
  40529. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  40530. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  40531. +# must be portable across $(()) and expr.
  40532. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  40533. + eval 'as_fn_arith ()
  40534. + {
  40535. + as_val=$(( $* ))
  40536. + }'
  40537. +else
  40538. + as_fn_arith ()
  40539. + {
  40540. + as_val=`expr "$@" || test $? -eq 1`
  40541. + }
  40542. +fi # as_fn_arith
  40543. - ;
  40544. - return 0;
  40545. -}
  40546. -_ACEOF
  40547. -rm -f conftest.$ac_objext
  40548. -if { (ac_try="$ac_compile"
  40549. -case "(($ac_try" in
  40550. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40551. - *) ac_try_echo=$ac_try;;
  40552. -esac
  40553. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40554. - (eval "$ac_compile") 2>conftest.er1
  40555. - ac_status=$?
  40556. - grep -v '^ *+' conftest.er1 >conftest.err
  40557. - rm -f conftest.er1
  40558. - cat conftest.err >&5
  40559. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40560. - (exit $ac_status); } && {
  40561. - test -z "$ac_c_werror_flag" ||
  40562. - test ! -s conftest.err
  40563. - } && test -s conftest.$ac_objext; then
  40564. - ac_hi=-1 ac_mid=-1
  40565. - while :; do
  40566. - cat >conftest.$ac_ext <<_ACEOF
  40567. -/* confdefs.h. */
  40568. -_ACEOF
  40569. -cat confdefs.h >>conftest.$ac_ext
  40570. -cat >>conftest.$ac_ext <<_ACEOF
  40571. -/* end confdefs.h. */
  40572. -$ac_includes_default
  40573. - typedef short ac__type_sizeof_;
  40574. -int
  40575. -main ()
  40576. -{
  40577. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  40578. -test_array [0] = 0
  40579. - ;
  40580. - return 0;
  40581. -}
  40582. -_ACEOF
  40583. -rm -f conftest.$ac_objext
  40584. -if { (ac_try="$ac_compile"
  40585. -case "(($ac_try" in
  40586. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40587. - *) ac_try_echo=$ac_try;;
  40588. -esac
  40589. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40590. - (eval "$ac_compile") 2>conftest.er1
  40591. - ac_status=$?
  40592. - grep -v '^ *+' conftest.er1 >conftest.err
  40593. - rm -f conftest.er1
  40594. - cat conftest.err >&5
  40595. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40596. - (exit $ac_status); } && {
  40597. - test -z "$ac_c_werror_flag" ||
  40598. - test ! -s conftest.err
  40599. - } && test -s conftest.$ac_objext; then
  40600. - ac_lo=$ac_mid; break
  40601. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  40602. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  40603. + as_expr=expr
  40604. else
  40605. - echo "$as_me: failed program was:" >&5
  40606. -sed 's/^/| /' conftest.$ac_ext >&5
  40607. -
  40608. - ac_hi=`expr '(' $ac_mid ')' - 1`
  40609. - if test $ac_mid -le $ac_hi; then
  40610. - ac_lo= ac_hi=
  40611. - break
  40612. - fi
  40613. - ac_mid=`expr 2 '*' $ac_mid`
  40614. + as_expr=false
  40615. fi
  40616. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40617. - done
  40618. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  40619. + as_basename=basename
  40620. else
  40621. - echo "$as_me: failed program was:" >&5
  40622. -sed 's/^/| /' conftest.$ac_ext >&5
  40623. -
  40624. - ac_lo= ac_hi=
  40625. + as_basename=false
  40626. fi
  40627. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40628. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  40629. + as_dirname=dirname
  40630. +else
  40631. + as_dirname=false
  40632. fi
  40633. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40634. -# Binary search between lo and hi bounds.
  40635. -while test "x$ac_lo" != "x$ac_hi"; do
  40636. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  40637. - cat >conftest.$ac_ext <<_ACEOF
  40638. -/* confdefs.h. */
  40639. -_ACEOF
  40640. -cat confdefs.h >>conftest.$ac_ext
  40641. -cat >>conftest.$ac_ext <<_ACEOF
  40642. -/* end confdefs.h. */
  40643. -$ac_includes_default
  40644. - typedef short ac__type_sizeof_;
  40645. -int
  40646. -main ()
  40647. -{
  40648. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  40649. -test_array [0] = 0
  40650. +as_me=`$as_basename -- "$0" ||
  40651. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  40652. + X"$0" : 'X\(//\)$' \| \
  40653. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  40654. +$as_echo X/"$0" |
  40655. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  40656. + s//\1/
  40657. + q
  40658. + }
  40659. + /^X\/\(\/\/\)$/{
  40660. + s//\1/
  40661. + q
  40662. + }
  40663. + /^X\/\(\/\).*/{
  40664. + s//\1/
  40665. + q
  40666. + }
  40667. + s/.*/./; q'`
  40668. - ;
  40669. - return 0;
  40670. -}
  40671. -_ACEOF
  40672. -rm -f conftest.$ac_objext
  40673. -if { (ac_try="$ac_compile"
  40674. -case "(($ac_try" in
  40675. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40676. - *) ac_try_echo=$ac_try;;
  40677. +# Avoid depending upon Character Ranges.
  40678. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  40679. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  40680. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  40681. +as_cr_digits='0123456789'
  40682. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  40683. +
  40684. +ECHO_C= ECHO_N= ECHO_T=
  40685. +case `echo -n x` in #(((((
  40686. +-n*)
  40687. + case `echo 'xy\c'` in
  40688. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  40689. + xy) ECHO_C='\c';;
  40690. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  40691. + ECHO_T=' ';;
  40692. + esac;;
  40693. +*)
  40694. + ECHO_N='-n';;
  40695. esac
  40696. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40697. - (eval "$ac_compile") 2>conftest.er1
  40698. - ac_status=$?
  40699. - grep -v '^ *+' conftest.er1 >conftest.err
  40700. - rm -f conftest.er1
  40701. - cat conftest.err >&5
  40702. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40703. - (exit $ac_status); } && {
  40704. - test -z "$ac_c_werror_flag" ||
  40705. - test ! -s conftest.err
  40706. - } && test -s conftest.$ac_objext; then
  40707. - ac_hi=$ac_mid
  40708. -else
  40709. - echo "$as_me: failed program was:" >&5
  40710. -sed 's/^/| /' conftest.$ac_ext >&5
  40711. - ac_lo=`expr '(' $ac_mid ')' + 1`
  40712. +rm -f conf$$ conf$$.exe conf$$.file
  40713. +if test -d conf$$.dir; then
  40714. + rm -f conf$$.dir/conf$$.file
  40715. +else
  40716. + rm -f conf$$.dir
  40717. + mkdir conf$$.dir 2>/dev/null
  40718. fi
  40719. -
  40720. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40721. -done
  40722. -case $ac_lo in
  40723. -?*) ac_cv_sizeof_short=$ac_lo;;
  40724. -'') if test "$ac_cv_type_short" = yes; then
  40725. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  40726. -See \`config.log' for more details." >&5
  40727. -echo "$as_me: error: cannot compute sizeof (short)
  40728. -See \`config.log' for more details." >&2;}
  40729. - { (exit 77); exit 77; }; }
  40730. - else
  40731. - ac_cv_sizeof_short=0
  40732. - fi ;;
  40733. -esac
  40734. +if (echo >conf$$.file) 2>/dev/null; then
  40735. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  40736. + as_ln_s='ln -s'
  40737. + # ... but there are two gotchas:
  40738. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  40739. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  40740. + # In both cases, we have to default to `cp -p'.
  40741. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  40742. + as_ln_s='cp -p'
  40743. + elif ln conf$$.file conf$$ 2>/dev/null; then
  40744. + as_ln_s=ln
  40745. + else
  40746. + as_ln_s='cp -p'
  40747. + fi
  40748. else
  40749. - cat >conftest.$ac_ext <<_ACEOF
  40750. -/* confdefs.h. */
  40751. -_ACEOF
  40752. -cat confdefs.h >>conftest.$ac_ext
  40753. -cat >>conftest.$ac_ext <<_ACEOF
  40754. -/* end confdefs.h. */
  40755. -$ac_includes_default
  40756. - typedef short ac__type_sizeof_;
  40757. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  40758. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  40759. -#include <stdio.h>
  40760. -#include <stdlib.h>
  40761. -int
  40762. -main ()
  40763. + as_ln_s='cp -p'
  40764. +fi
  40765. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  40766. +rmdir conf$$.dir 2>/dev/null
  40767. +
  40768. +
  40769. +# as_fn_mkdir_p
  40770. +# -------------
  40771. +# Create "$as_dir" as a directory, including parents if necessary.
  40772. +as_fn_mkdir_p ()
  40773. {
  40774. - FILE *f = fopen ("conftest.val", "w");
  40775. - if (! f)
  40776. - return 1;
  40777. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  40778. - {
  40779. - long int i = longval ();
  40780. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  40781. - return 1;
  40782. - fprintf (f, "%ld\n", i);
  40783. - }
  40784. - else
  40785. - {
  40786. - unsigned long int i = ulongval ();
  40787. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  40788. - return 1;
  40789. - fprintf (f, "%lu\n", i);
  40790. - }
  40791. - return ferror (f) || fclose (f) != 0;
  40792. + case $as_dir in #(
  40793. + -*) as_dir=./$as_dir;;
  40794. + esac
  40795. + test -d "$as_dir" || eval $as_mkdir_p || {
  40796. + as_dirs=
  40797. + while :; do
  40798. + case $as_dir in #(
  40799. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  40800. + *) as_qdir=$as_dir;;
  40801. + esac
  40802. + as_dirs="'$as_qdir' $as_dirs"
  40803. + as_dir=`$as_dirname -- "$as_dir" ||
  40804. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  40805. + X"$as_dir" : 'X\(//\)[^/]' \| \
  40806. + X"$as_dir" : 'X\(//\)$' \| \
  40807. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  40808. +$as_echo X"$as_dir" |
  40809. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  40810. + s//\1/
  40811. + q
  40812. + }
  40813. + /^X\(\/\/\)[^/].*/{
  40814. + s//\1/
  40815. + q
  40816. + }
  40817. + /^X\(\/\/\)$/{
  40818. + s//\1/
  40819. + q
  40820. + }
  40821. + /^X\(\/\).*/{
  40822. + s//\1/
  40823. + q
  40824. + }
  40825. + s/.*/./; q'`
  40826. + test -d "$as_dir" && break
  40827. + done
  40828. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  40829. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  40830. +
  40831. - ;
  40832. - return 0;
  40833. -}
  40834. -_ACEOF
  40835. -rm -f conftest$ac_exeext
  40836. -if { (ac_try="$ac_link"
  40837. -case "(($ac_try" in
  40838. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40839. - *) ac_try_echo=$ac_try;;
  40840. -esac
  40841. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40842. - (eval "$ac_link") 2>&5
  40843. - ac_status=$?
  40844. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40845. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  40846. - { (case "(($ac_try" in
  40847. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40848. - *) ac_try_echo=$ac_try;;
  40849. -esac
  40850. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40851. - (eval "$ac_try") 2>&5
  40852. - ac_status=$?
  40853. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40854. - (exit $ac_status); }; }; then
  40855. - ac_cv_sizeof_short=`cat conftest.val`
  40856. +} # as_fn_mkdir_p
  40857. +if mkdir -p . 2>/dev/null; then
  40858. + as_mkdir_p='mkdir -p "$as_dir"'
  40859. else
  40860. - echo "$as_me: program exited with status $ac_status" >&5
  40861. -echo "$as_me: failed program was:" >&5
  40862. -sed 's/^/| /' conftest.$ac_ext >&5
  40863. -
  40864. -( exit $ac_status )
  40865. -if test "$ac_cv_type_short" = yes; then
  40866. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  40867. -See \`config.log' for more details." >&5
  40868. -echo "$as_me: error: cannot compute sizeof (short)
  40869. -See \`config.log' for more details." >&2;}
  40870. - { (exit 77); exit 77; }; }
  40871. - else
  40872. - ac_cv_sizeof_short=0
  40873. - fi
  40874. -fi
  40875. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  40876. + test -d ./-p && rmdir ./-p
  40877. + as_mkdir_p=false
  40878. fi
  40879. -rm -f conftest.val
  40880. +
  40881. +if test -x / >/dev/null 2>&1; then
  40882. + as_test_x='test -x'
  40883. +else
  40884. + if ls -dL / >/dev/null 2>&1; then
  40885. + as_ls_L_option=L
  40886. + else
  40887. + as_ls_L_option=
  40888. + fi
  40889. + as_test_x='
  40890. + eval sh -c '\''
  40891. + if test -d "$1"; then
  40892. + test -d "$1/.";
  40893. + else
  40894. + case $1 in #(
  40895. + -*)set "./$1";;
  40896. + esac;
  40897. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  40898. + ???[sx]*):;;*)false;;esac;fi
  40899. + '\'' sh
  40900. + '
  40901. fi
  40902. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
  40903. -echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
  40904. +as_executable_p=$as_test_x
  40905. +# Sed expression to map a string onto a valid CPP name.
  40906. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  40907. +# Sed expression to map a string onto a valid variable name.
  40908. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  40909. -cat >>confdefs.h <<_ACEOF
  40910. -#define SIZEOF_SHORT $ac_cv_sizeof_short
  40911. -_ACEOF
  40912. +exec 6>&1
  40913. +## ----------------------------------- ##
  40914. +## Main body of $CONFIG_STATUS script. ##
  40915. +## ----------------------------------- ##
  40916. +_ASEOF
  40917. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  40918. -{ echo "$as_me:$LINENO: checking for int" >&5
  40919. -echo $ECHO_N "checking for int... $ECHO_C" >&6; }
  40920. -if test "${ac_cv_type_int+set}" = set; then
  40921. - echo $ECHO_N "(cached) $ECHO_C" >&6
  40922. -else
  40923. - cat >conftest.$ac_ext <<_ACEOF
  40924. -/* confdefs.h. */
  40925. -_ACEOF
  40926. -cat confdefs.h >>conftest.$ac_ext
  40927. -cat >>conftest.$ac_ext <<_ACEOF
  40928. -/* end confdefs.h. */
  40929. -$ac_includes_default
  40930. -typedef int ac__type_new_;
  40931. -int
  40932. -main ()
  40933. -{
  40934. -if ((ac__type_new_ *) 0)
  40935. - return 0;
  40936. -if (sizeof (ac__type_new_))
  40937. - return 0;
  40938. - ;
  40939. - return 0;
  40940. -}
  40941. -_ACEOF
  40942. -rm -f conftest.$ac_objext
  40943. -if { (ac_try="$ac_compile"
  40944. -case "(($ac_try" in
  40945. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  40946. - *) ac_try_echo=$ac_try;;
  40947. -esac
  40948. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  40949. - (eval "$ac_compile") 2>conftest.er1
  40950. - ac_status=$?
  40951. - grep -v '^ *+' conftest.er1 >conftest.err
  40952. - rm -f conftest.er1
  40953. - cat conftest.err >&5
  40954. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  40955. - (exit $ac_status); } && {
  40956. - test -z "$ac_c_werror_flag" ||
  40957. - test ! -s conftest.err
  40958. - } && test -s conftest.$ac_objext; then
  40959. - ac_cv_type_int=yes
  40960. -else
  40961. - echo "$as_me: failed program was:" >&5
  40962. -sed 's/^/| /' conftest.$ac_ext >&5
  40963. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  40964. +# Save the log message, to keep $0 and so on meaningful, and to
  40965. +# report actual input values of CONFIG_FILES etc. instead of their
  40966. +# values after options handling.
  40967. +ac_log="
  40968. +This file was extended by $as_me, which was
  40969. +generated by GNU Autoconf 2.65. Invocation command line was
  40970. - ac_cv_type_int=no
  40971. -fi
  40972. + CONFIG_FILES = $CONFIG_FILES
  40973. + CONFIG_HEADERS = $CONFIG_HEADERS
  40974. + CONFIG_LINKS = $CONFIG_LINKS
  40975. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  40976. + $ $0 $@
  40977. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  40978. -fi
  40979. -{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
  40980. -echo "${ECHO_T}$ac_cv_type_int" >&6; }
  40981. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  40982. +"
  40983. -# The cast to long int works around a bug in the HP C Compiler
  40984. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  40985. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  40986. -# This bug is HP SR number 8606223364.
  40987. -{ echo "$as_me:$LINENO: checking size of int" >&5
  40988. -echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
  40989. -if test "${ac_cv_sizeof_int+set}" = set; then
  40990. - echo $ECHO_N "(cached) $ECHO_C" >&6
  40991. -else
  40992. - if test "$cross_compiling" = yes; then
  40993. - # Depending upon the size, compute the lo and hi bounds.
  40994. -cat >conftest.$ac_ext <<_ACEOF
  40995. -/* confdefs.h. */
  40996. _ACEOF
  40997. -cat confdefs.h >>conftest.$ac_ext
  40998. -cat >>conftest.$ac_ext <<_ACEOF
  40999. -/* end confdefs.h. */
  41000. -$ac_includes_default
  41001. - typedef int ac__type_sizeof_;
  41002. -int
  41003. -main ()
  41004. -{
  41005. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  41006. -test_array [0] = 0
  41007. - ;
  41008. - return 0;
  41009. -}
  41010. -_ACEOF
  41011. -rm -f conftest.$ac_objext
  41012. -if { (ac_try="$ac_compile"
  41013. -case "(($ac_try" in
  41014. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41015. - *) ac_try_echo=$ac_try;;
  41016. +case $ac_config_files in *"
  41017. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  41018. esac
  41019. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41020. - (eval "$ac_compile") 2>conftest.er1
  41021. - ac_status=$?
  41022. - grep -v '^ *+' conftest.er1 >conftest.err
  41023. - rm -f conftest.er1
  41024. - cat conftest.err >&5
  41025. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41026. - (exit $ac_status); } && {
  41027. - test -z "$ac_c_werror_flag" ||
  41028. - test ! -s conftest.err
  41029. - } && test -s conftest.$ac_objext; then
  41030. - ac_lo=0 ac_mid=0
  41031. - while :; do
  41032. - cat >conftest.$ac_ext <<_ACEOF
  41033. -/* confdefs.h. */
  41034. -_ACEOF
  41035. -cat confdefs.h >>conftest.$ac_ext
  41036. -cat >>conftest.$ac_ext <<_ACEOF
  41037. -/* end confdefs.h. */
  41038. -$ac_includes_default
  41039. - typedef int ac__type_sizeof_;
  41040. -int
  41041. -main ()
  41042. -{
  41043. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  41044. -test_array [0] = 0
  41045. - ;
  41046. - return 0;
  41047. -}
  41048. -_ACEOF
  41049. -rm -f conftest.$ac_objext
  41050. -if { (ac_try="$ac_compile"
  41051. -case "(($ac_try" in
  41052. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41053. - *) ac_try_echo=$ac_try;;
  41054. +case $ac_config_headers in *"
  41055. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  41056. esac
  41057. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41058. - (eval "$ac_compile") 2>conftest.er1
  41059. - ac_status=$?
  41060. - grep -v '^ *+' conftest.er1 >conftest.err
  41061. - rm -f conftest.er1
  41062. - cat conftest.err >&5
  41063. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41064. - (exit $ac_status); } && {
  41065. - test -z "$ac_c_werror_flag" ||
  41066. - test ! -s conftest.err
  41067. - } && test -s conftest.$ac_objext; then
  41068. - ac_hi=$ac_mid; break
  41069. -else
  41070. - echo "$as_me: failed program was:" >&5
  41071. -sed 's/^/| /' conftest.$ac_ext >&5
  41072. - ac_lo=`expr $ac_mid + 1`
  41073. - if test $ac_lo -le $ac_mid; then
  41074. - ac_lo= ac_hi=
  41075. - break
  41076. - fi
  41077. - ac_mid=`expr 2 '*' $ac_mid + 1`
  41078. -fi
  41079. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41080. - done
  41081. -else
  41082. - echo "$as_me: failed program was:" >&5
  41083. -sed 's/^/| /' conftest.$ac_ext >&5
  41084. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  41085. +# Files that config.status was made for.
  41086. +config_files="$ac_config_files"
  41087. +config_headers="$ac_config_headers"
  41088. +config_commands="$ac_config_commands"
  41089. - cat >conftest.$ac_ext <<_ACEOF
  41090. -/* confdefs.h. */
  41091. _ACEOF
  41092. -cat confdefs.h >>conftest.$ac_ext
  41093. -cat >>conftest.$ac_ext <<_ACEOF
  41094. -/* end confdefs.h. */
  41095. -$ac_includes_default
  41096. - typedef int ac__type_sizeof_;
  41097. -int
  41098. -main ()
  41099. -{
  41100. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  41101. -test_array [0] = 0
  41102. - ;
  41103. - return 0;
  41104. -}
  41105. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  41106. +ac_cs_usage="\
  41107. +\`$as_me' instantiates files and other configuration actions
  41108. +from templates according to the current configuration. Unless the files
  41109. +and actions are specified as TAGs, all are instantiated by default.
  41110. +
  41111. +Usage: $0 [OPTION]... [TAG]...
  41112. +
  41113. + -h, --help print this help, then exit
  41114. + -V, --version print version number and configuration settings, then exit
  41115. + --config print configuration, then exit
  41116. + -q, --quiet, --silent
  41117. + do not print progress messages
  41118. + -d, --debug don't remove temporary files
  41119. + --recheck update $as_me by reconfiguring in the same conditions
  41120. + --file=FILE[:TEMPLATE]
  41121. + instantiate the configuration file FILE
  41122. + --header=FILE[:TEMPLATE]
  41123. + instantiate the configuration header FILE
  41124. +
  41125. +Configuration files:
  41126. +$config_files
  41127. +
  41128. +Configuration headers:
  41129. +$config_headers
  41130. +
  41131. +Configuration commands:
  41132. +$config_commands
  41133. +
  41134. +Report bugs to the package provider."
  41135. +
  41136. _ACEOF
  41137. -rm -f conftest.$ac_objext
  41138. -if { (ac_try="$ac_compile"
  41139. -case "(($ac_try" in
  41140. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41141. - *) ac_try_echo=$ac_try;;
  41142. -esac
  41143. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41144. - (eval "$ac_compile") 2>conftest.er1
  41145. - ac_status=$?
  41146. - grep -v '^ *+' conftest.er1 >conftest.err
  41147. - rm -f conftest.er1
  41148. - cat conftest.err >&5
  41149. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41150. - (exit $ac_status); } && {
  41151. - test -z "$ac_c_werror_flag" ||
  41152. - test ! -s conftest.err
  41153. - } && test -s conftest.$ac_objext; then
  41154. - ac_hi=-1 ac_mid=-1
  41155. - while :; do
  41156. - cat >conftest.$ac_ext <<_ACEOF
  41157. -/* confdefs.h. */
  41158. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  41159. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  41160. +ac_cs_version="\\
  41161. +config.status
  41162. +configured by $0, generated by GNU Autoconf 2.65,
  41163. + with options \\"\$ac_cs_config\\"
  41164. +
  41165. +Copyright (C) 2009 Free Software Foundation, Inc.
  41166. +This config.status script is free software; the Free Software Foundation
  41167. +gives unlimited permission to copy, distribute and modify it."
  41168. +
  41169. +ac_pwd='$ac_pwd'
  41170. +srcdir='$srcdir'
  41171. +INSTALL='$INSTALL'
  41172. +MKDIR_P='$MKDIR_P'
  41173. +AWK='$AWK'
  41174. +test -n "\$AWK" || AWK=awk
  41175. _ACEOF
  41176. -cat confdefs.h >>conftest.$ac_ext
  41177. -cat >>conftest.$ac_ext <<_ACEOF
  41178. -/* end confdefs.h. */
  41179. -$ac_includes_default
  41180. - typedef int ac__type_sizeof_;
  41181. -int
  41182. -main ()
  41183. -{
  41184. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  41185. -test_array [0] = 0
  41186. - ;
  41187. - return 0;
  41188. -}
  41189. -_ACEOF
  41190. -rm -f conftest.$ac_objext
  41191. -if { (ac_try="$ac_compile"
  41192. -case "(($ac_try" in
  41193. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41194. - *) ac_try_echo=$ac_try;;
  41195. -esac
  41196. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41197. - (eval "$ac_compile") 2>conftest.er1
  41198. - ac_status=$?
  41199. - grep -v '^ *+' conftest.er1 >conftest.err
  41200. - rm -f conftest.er1
  41201. - cat conftest.err >&5
  41202. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41203. - (exit $ac_status); } && {
  41204. - test -z "$ac_c_werror_flag" ||
  41205. - test ! -s conftest.err
  41206. - } && test -s conftest.$ac_objext; then
  41207. - ac_lo=$ac_mid; break
  41208. -else
  41209. - echo "$as_me: failed program was:" >&5
  41210. -sed 's/^/| /' conftest.$ac_ext >&5
  41211. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  41212. +# The default lists apply if the user does not specify any file.
  41213. +ac_need_defaults=:
  41214. +while test $# != 0
  41215. +do
  41216. + case $1 in
  41217. + --*=*)
  41218. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  41219. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  41220. + ac_shift=:
  41221. + ;;
  41222. + *)
  41223. + ac_option=$1
  41224. + ac_optarg=$2
  41225. + ac_shift=shift
  41226. + ;;
  41227. + esac
  41228. +
  41229. + case $ac_option in
  41230. + # Handling of the options.
  41231. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  41232. + ac_cs_recheck=: ;;
  41233. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  41234. + $as_echo "$ac_cs_version"; exit ;;
  41235. + --config | --confi | --conf | --con | --co | --c )
  41236. + $as_echo "$ac_cs_config"; exit ;;
  41237. + --debug | --debu | --deb | --de | --d | -d )
  41238. + debug=: ;;
  41239. + --file | --fil | --fi | --f )
  41240. + $ac_shift
  41241. + case $ac_optarg in
  41242. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  41243. + esac
  41244. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  41245. + ac_need_defaults=false;;
  41246. + --header | --heade | --head | --hea )
  41247. + $ac_shift
  41248. + case $ac_optarg in
  41249. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  41250. + esac
  41251. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  41252. + ac_need_defaults=false;;
  41253. + --he | --h)
  41254. + # Conflict between --help and --header
  41255. + as_fn_error "ambiguous option: \`$1'
  41256. +Try \`$0 --help' for more information.";;
  41257. + --help | --hel | -h )
  41258. + $as_echo "$ac_cs_usage"; exit ;;
  41259. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  41260. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  41261. + ac_cs_silent=: ;;
  41262. +
  41263. + # This is an error.
  41264. + -*) as_fn_error "unrecognized option: \`$1'
  41265. +Try \`$0 --help' for more information." ;;
  41266. - ac_hi=`expr '(' $ac_mid ')' - 1`
  41267. - if test $ac_mid -le $ac_hi; then
  41268. - ac_lo= ac_hi=
  41269. - break
  41270. - fi
  41271. - ac_mid=`expr 2 '*' $ac_mid`
  41272. -fi
  41273. + *) as_fn_append ac_config_targets " $1"
  41274. + ac_need_defaults=false ;;
  41275. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41276. - done
  41277. -else
  41278. - echo "$as_me: failed program was:" >&5
  41279. -sed 's/^/| /' conftest.$ac_ext >&5
  41280. + esac
  41281. + shift
  41282. +done
  41283. - ac_lo= ac_hi=
  41284. +ac_configure_extra_args=
  41285. +
  41286. +if $ac_cs_silent; then
  41287. + exec 6>/dev/null
  41288. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  41289. fi
  41290. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41291. +_ACEOF
  41292. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  41293. +if \$ac_cs_recheck; then
  41294. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  41295. + shift
  41296. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  41297. + CONFIG_SHELL='$SHELL'
  41298. + export CONFIG_SHELL
  41299. + exec "\$@"
  41300. fi
  41301. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41302. -# Binary search between lo and hi bounds.
  41303. -while test "x$ac_lo" != "x$ac_hi"; do
  41304. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  41305. - cat >conftest.$ac_ext <<_ACEOF
  41306. -/* confdefs.h. */
  41307. _ACEOF
  41308. -cat confdefs.h >>conftest.$ac_ext
  41309. -cat >>conftest.$ac_ext <<_ACEOF
  41310. -/* end confdefs.h. */
  41311. -$ac_includes_default
  41312. - typedef int ac__type_sizeof_;
  41313. -int
  41314. -main ()
  41315. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  41316. +exec 5>>config.log
  41317. {
  41318. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  41319. -test_array [0] = 0
  41320. + echo
  41321. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  41322. +## Running $as_me. ##
  41323. +_ASBOX
  41324. + $as_echo "$ac_log"
  41325. +} >&5
  41326. - ;
  41327. - return 0;
  41328. -}
  41329. _ACEOF
  41330. -rm -f conftest.$ac_objext
  41331. -if { (ac_try="$ac_compile"
  41332. -case "(($ac_try" in
  41333. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41334. - *) ac_try_echo=$ac_try;;
  41335. -esac
  41336. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41337. - (eval "$ac_compile") 2>conftest.er1
  41338. - ac_status=$?
  41339. - grep -v '^ *+' conftest.er1 >conftest.err
  41340. - rm -f conftest.er1
  41341. - cat conftest.err >&5
  41342. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41343. - (exit $ac_status); } && {
  41344. - test -z "$ac_c_werror_flag" ||
  41345. - test ! -s conftest.err
  41346. - } && test -s conftest.$ac_objext; then
  41347. - ac_hi=$ac_mid
  41348. -else
  41349. - echo "$as_me: failed program was:" >&5
  41350. -sed 's/^/| /' conftest.$ac_ext >&5
  41351. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  41352. +#
  41353. +# INIT-COMMANDS
  41354. +#
  41355. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  41356. - ac_lo=`expr '(' $ac_mid ')' + 1`
  41357. -fi
  41358. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41359. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  41360. +# if CDPATH is set.
  41361. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  41362. +
  41363. +sed_quote_subst='$sed_quote_subst'
  41364. +double_quote_subst='$double_quote_subst'
  41365. +delay_variable_subst='$delay_variable_subst'
  41366. +AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
  41367. +DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  41368. +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  41369. +macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  41370. +macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  41371. +enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  41372. +enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  41373. +pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  41374. +enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  41375. +host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  41376. +host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  41377. +host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  41378. +build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  41379. +build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  41380. +build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  41381. +SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  41382. +Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  41383. +GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  41384. +EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  41385. +FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  41386. +LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  41387. +NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  41388. +LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  41389. +max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  41390. +ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  41391. +exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  41392. +lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  41393. +lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  41394. +lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  41395. +reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  41396. +reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41397. +deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  41398. +file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  41399. +AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  41400. +AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  41401. +STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  41402. +RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  41403. +old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41404. +old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41405. +old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41406. +CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  41407. +CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  41408. +compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  41409. +GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  41410. +lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  41411. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  41412. +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"`'
  41413. +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"`'
  41414. +objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  41415. +SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  41416. +ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  41417. +MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  41418. +lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  41419. +lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  41420. +lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  41421. +lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  41422. +lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  41423. +need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  41424. +DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  41425. +NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  41426. +LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  41427. +OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  41428. +OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  41429. +libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  41430. +shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41431. +extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41432. +archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  41433. +enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  41434. +export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41435. +whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41436. +compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  41437. +old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41438. +old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41439. +archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41440. +archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41441. +module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41442. +module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41443. +with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  41444. +allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  41445. +no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  41446. +hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41447. +hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  41448. +hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  41449. +hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  41450. +hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  41451. +hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  41452. +hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  41453. +hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  41454. +inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  41455. +link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  41456. +fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  41457. +always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  41458. +export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41459. +exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  41460. +include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  41461. +prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41462. +file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41463. +variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  41464. +need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  41465. +need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  41466. +version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  41467. +runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  41468. +shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  41469. +shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  41470. +libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41471. +library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41472. +soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41473. +postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41474. +postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41475. +finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  41476. +finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  41477. +hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  41478. +sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41479. +sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  41480. +hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  41481. +enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  41482. +enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  41483. +enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  41484. +old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  41485. +striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  41486. +
  41487. +LTCC='$LTCC'
  41488. +LTCFLAGS='$LTCFLAGS'
  41489. +compiler='$compiler_DEFAULT'
  41490. +
  41491. +# Quote evaled strings.
  41492. +for var in SED \
  41493. +GREP \
  41494. +EGREP \
  41495. +FGREP \
  41496. +LD \
  41497. +NM \
  41498. +LN_S \
  41499. +lt_SP2NL \
  41500. +lt_NL2SP \
  41501. +reload_flag \
  41502. +deplibs_check_method \
  41503. +file_magic_cmd \
  41504. +AR \
  41505. +AR_FLAGS \
  41506. +STRIP \
  41507. +RANLIB \
  41508. +CC \
  41509. +CFLAGS \
  41510. +compiler \
  41511. +lt_cv_sys_global_symbol_pipe \
  41512. +lt_cv_sys_global_symbol_to_cdecl \
  41513. +lt_cv_sys_global_symbol_to_c_name_address \
  41514. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  41515. +SHELL \
  41516. +ECHO \
  41517. +lt_prog_compiler_no_builtin_flag \
  41518. +lt_prog_compiler_wl \
  41519. +lt_prog_compiler_pic \
  41520. +lt_prog_compiler_static \
  41521. +lt_cv_prog_compiler_c_o \
  41522. +need_locks \
  41523. +DSYMUTIL \
  41524. +NMEDIT \
  41525. +LIPO \
  41526. +OTOOL \
  41527. +OTOOL64 \
  41528. +shrext_cmds \
  41529. +export_dynamic_flag_spec \
  41530. +whole_archive_flag_spec \
  41531. +compiler_needs_object \
  41532. +with_gnu_ld \
  41533. +allow_undefined_flag \
  41534. +no_undefined_flag \
  41535. +hardcode_libdir_flag_spec \
  41536. +hardcode_libdir_flag_spec_ld \
  41537. +hardcode_libdir_separator \
  41538. +fix_srcfile_path \
  41539. +exclude_expsyms \
  41540. +include_expsyms \
  41541. +file_list_spec \
  41542. +variables_saved_for_relink \
  41543. +libname_spec \
  41544. +library_names_spec \
  41545. +soname_spec \
  41546. +finish_eval \
  41547. +old_striplib \
  41548. +striplib; do
  41549. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  41550. + *[\\\\\\\`\\"\\\$]*)
  41551. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  41552. + ;;
  41553. + *)
  41554. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  41555. + ;;
  41556. + esac
  41557. done
  41558. -case $ac_lo in
  41559. -?*) ac_cv_sizeof_int=$ac_lo;;
  41560. -'') if test "$ac_cv_type_int" = yes; then
  41561. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  41562. -See \`config.log' for more details." >&5
  41563. -echo "$as_me: error: cannot compute sizeof (int)
  41564. -See \`config.log' for more details." >&2;}
  41565. - { (exit 77); exit 77; }; }
  41566. - else
  41567. - ac_cv_sizeof_int=0
  41568. - fi ;;
  41569. -esac
  41570. -else
  41571. - cat >conftest.$ac_ext <<_ACEOF
  41572. -/* confdefs.h. */
  41573. -_ACEOF
  41574. -cat confdefs.h >>conftest.$ac_ext
  41575. -cat >>conftest.$ac_ext <<_ACEOF
  41576. -/* end confdefs.h. */
  41577. -$ac_includes_default
  41578. - typedef int ac__type_sizeof_;
  41579. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  41580. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  41581. -#include <stdio.h>
  41582. -#include <stdlib.h>
  41583. -int
  41584. -main ()
  41585. -{
  41586. - FILE *f = fopen ("conftest.val", "w");
  41587. - if (! f)
  41588. - return 1;
  41589. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  41590. - {
  41591. - long int i = longval ();
  41592. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  41593. - return 1;
  41594. - fprintf (f, "%ld\n", i);
  41595. - }
  41596. - else
  41597. - {
  41598. - unsigned long int i = ulongval ();
  41599. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  41600. - return 1;
  41601. - fprintf (f, "%lu\n", i);
  41602. - }
  41603. - return ferror (f) || fclose (f) != 0;
  41604. +# Double-quote double-evaled strings.
  41605. +for var in reload_cmds \
  41606. +old_postinstall_cmds \
  41607. +old_postuninstall_cmds \
  41608. +old_archive_cmds \
  41609. +extract_expsyms_cmds \
  41610. +old_archive_from_new_cmds \
  41611. +old_archive_from_expsyms_cmds \
  41612. +archive_cmds \
  41613. +archive_expsym_cmds \
  41614. +module_cmds \
  41615. +module_expsym_cmds \
  41616. +export_symbols_cmds \
  41617. +prelink_cmds \
  41618. +postinstall_cmds \
  41619. +postuninstall_cmds \
  41620. +finish_cmds \
  41621. +sys_lib_search_path_spec \
  41622. +sys_lib_dlsearch_path_spec; do
  41623. + case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  41624. + *[\\\\\\\`\\"\\\$]*)
  41625. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  41626. + ;;
  41627. + *)
  41628. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  41629. + ;;
  41630. + esac
  41631. +done
  41632. - ;
  41633. - return 0;
  41634. -}
  41635. -_ACEOF
  41636. -rm -f conftest$ac_exeext
  41637. -if { (ac_try="$ac_link"
  41638. -case "(($ac_try" in
  41639. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41640. - *) ac_try_echo=$ac_try;;
  41641. -esac
  41642. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41643. - (eval "$ac_link") 2>&5
  41644. - ac_status=$?
  41645. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41646. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  41647. - { (case "(($ac_try" in
  41648. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41649. - *) ac_try_echo=$ac_try;;
  41650. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  41651. +case \$lt_ECHO in
  41652. +*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  41653. + ;;
  41654. esac
  41655. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41656. - (eval "$ac_try") 2>&5
  41657. - ac_status=$?
  41658. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41659. - (exit $ac_status); }; }; then
  41660. - ac_cv_sizeof_int=`cat conftest.val`
  41661. -else
  41662. - echo "$as_me: program exited with status $ac_status" >&5
  41663. -echo "$as_me: failed program was:" >&5
  41664. -sed 's/^/| /' conftest.$ac_ext >&5
  41665. -( exit $ac_status )
  41666. -if test "$ac_cv_type_int" = yes; then
  41667. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  41668. -See \`config.log' for more details." >&5
  41669. -echo "$as_me: error: cannot compute sizeof (int)
  41670. -See \`config.log' for more details." >&2;}
  41671. - { (exit 77); exit 77; }; }
  41672. - else
  41673. - ac_cv_sizeof_int=0
  41674. - fi
  41675. -fi
  41676. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  41677. -fi
  41678. -rm -f conftest.val
  41679. +ac_aux_dir='$ac_aux_dir'
  41680. +xsi_shell='$xsi_shell'
  41681. +lt_shell_append='$lt_shell_append'
  41682. +
  41683. +# See if we are running on zsh, and set the options which allow our
  41684. +# commands through without removal of \ escapes INIT.
  41685. +if test -n "\${ZSH_VERSION+set}" ; then
  41686. + setopt NO_GLOB_SUBST
  41687. fi
  41688. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  41689. -echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
  41690. + PACKAGE='$PACKAGE'
  41691. + VERSION='$VERSION'
  41692. + TIMESTAMP='$TIMESTAMP'
  41693. + RM='$RM'
  41694. + ofile='$ofile'
  41695. +
  41696. -cat >>confdefs.h <<_ACEOF
  41697. -#define SIZEOF_INT $ac_cv_sizeof_int
  41698. -_ACEOF
  41699. -{ echo "$as_me:$LINENO: checking for long" >&5
  41700. -echo $ECHO_N "checking for long... $ECHO_C" >&6; }
  41701. -if test "${ac_cv_type_long+set}" = set; then
  41702. - echo $ECHO_N "(cached) $ECHO_C" >&6
  41703. -else
  41704. - cat >conftest.$ac_ext <<_ACEOF
  41705. -/* confdefs.h. */
  41706. -_ACEOF
  41707. -cat confdefs.h >>conftest.$ac_ext
  41708. -cat >>conftest.$ac_ext <<_ACEOF
  41709. -/* end confdefs.h. */
  41710. -$ac_includes_default
  41711. -typedef long ac__type_new_;
  41712. -int
  41713. -main ()
  41714. -{
  41715. -if ((ac__type_new_ *) 0)
  41716. - return 0;
  41717. -if (sizeof (ac__type_new_))
  41718. - return 0;
  41719. - ;
  41720. - return 0;
  41721. -}
  41722. _ACEOF
  41723. -rm -f conftest.$ac_objext
  41724. -if { (ac_try="$ac_compile"
  41725. -case "(($ac_try" in
  41726. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41727. - *) ac_try_echo=$ac_try;;
  41728. -esac
  41729. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41730. - (eval "$ac_compile") 2>conftest.er1
  41731. - ac_status=$?
  41732. - grep -v '^ *+' conftest.er1 >conftest.err
  41733. - rm -f conftest.er1
  41734. - cat conftest.err >&5
  41735. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41736. - (exit $ac_status); } && {
  41737. - test -z "$ac_c_werror_flag" ||
  41738. - test ! -s conftest.err
  41739. - } && test -s conftest.$ac_objext; then
  41740. - ac_cv_type_long=yes
  41741. -else
  41742. - echo "$as_me: failed program was:" >&5
  41743. -sed 's/^/| /' conftest.$ac_ext >&5
  41744. - ac_cv_type_long=no
  41745. -fi
  41746. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  41747. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41748. +# Handling of arguments.
  41749. +for ac_config_target in $ac_config_targets
  41750. +do
  41751. + case $ac_config_target in
  41752. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  41753. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  41754. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  41755. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  41756. + "libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES libspeex/Makefile" ;;
  41757. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  41758. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  41759. + "Speex.spec") CONFIG_FILES="$CONFIG_FILES Speex.spec" ;;
  41760. + "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  41761. + "include/speex/Makefile") CONFIG_FILES="$CONFIG_FILES include/speex/Makefile" ;;
  41762. + "speex.pc") CONFIG_FILES="$CONFIG_FILES speex.pc" ;;
  41763. + "speexdsp.pc") CONFIG_FILES="$CONFIG_FILES speexdsp.pc" ;;
  41764. + "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
  41765. + "win32/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/libspeex/Makefile" ;;
  41766. + "win32/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/speexenc/Makefile" ;;
  41767. + "win32/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/speexdec/Makefile" ;;
  41768. + "symbian/Makefile") CONFIG_FILES="$CONFIG_FILES symbian/Makefile" ;;
  41769. + "win32/VS2003/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/Makefile" ;;
  41770. + "win32/VS2003/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/tests/Makefile" ;;
  41771. + "win32/VS2003/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeex/Makefile" ;;
  41772. + "win32/VS2003/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeexdsp/Makefile" ;;
  41773. + "win32/VS2003/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/speexdec/Makefile" ;;
  41774. + "win32/VS2003/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/speexenc/Makefile" ;;
  41775. + "win32/VS2005/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/Makefile" ;;
  41776. + "win32/VS2005/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeex/Makefile" ;;
  41777. + "win32/VS2005/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/speexdec/Makefile" ;;
  41778. + "win32/VS2005/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/speexenc/Makefile" ;;
  41779. + "win32/VS2005/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeexdsp/Makefile" ;;
  41780. + "win32/VS2005/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/tests/Makefile" ;;
  41781. + "win32/VS2008/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeexdsp/Makefile" ;;
  41782. + "win32/VS2008/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/Makefile" ;;
  41783. + "win32/VS2008/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/speexdec/Makefile" ;;
  41784. + "win32/VS2008/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/tests/Makefile" ;;
  41785. + "win32/VS2008/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeex/Makefile" ;;
  41786. + "win32/VS2008/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/speexenc/Makefile" ;;
  41787. + "include/speex/speex_config_types.h") CONFIG_FILES="$CONFIG_FILES include/speex/speex_config_types.h" ;;
  41788. + "ti/Makefile") CONFIG_FILES="$CONFIG_FILES ti/Makefile" ;;
  41789. + "ti/speex_C54_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C54_test/Makefile" ;;
  41790. + "ti/speex_C55_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C55_test/Makefile" ;;
  41791. + "ti/speex_C64_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C64_test/Makefile" ;;
  41792. +
  41793. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  41794. + esac
  41795. +done
  41796. +
  41797. +
  41798. +# If the user did not use the arguments to specify the items to instantiate,
  41799. +# then the envvar interface is used. Set only those that are not.
  41800. +# We use the long form for the default assignment because of an extremely
  41801. +# bizarre bug on SunOS 4.1.3.
  41802. +if $ac_need_defaults; then
  41803. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  41804. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  41805. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  41806. fi
  41807. -{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
  41808. -echo "${ECHO_T}$ac_cv_type_long" >&6; }
  41809. -# The cast to long int works around a bug in the HP C Compiler
  41810. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  41811. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  41812. -# This bug is HP SR number 8606223364.
  41813. -{ echo "$as_me:$LINENO: checking size of long" >&5
  41814. -echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
  41815. -if test "${ac_cv_sizeof_long+set}" = set; then
  41816. - echo $ECHO_N "(cached) $ECHO_C" >&6
  41817. -else
  41818. - if test "$cross_compiling" = yes; then
  41819. - # Depending upon the size, compute the lo and hi bounds.
  41820. -cat >conftest.$ac_ext <<_ACEOF
  41821. -/* confdefs.h. */
  41822. -_ACEOF
  41823. -cat confdefs.h >>conftest.$ac_ext
  41824. -cat >>conftest.$ac_ext <<_ACEOF
  41825. -/* end confdefs.h. */
  41826. -$ac_includes_default
  41827. - typedef long ac__type_sizeof_;
  41828. -int
  41829. -main ()
  41830. +# Have a temporary directory for convenience. Make it in the build tree
  41831. +# simply because there is no reason against having it here, and in addition,
  41832. +# creating and moving files from /tmp can sometimes cause problems.
  41833. +# Hook for its removal unless debugging.
  41834. +# Note that there is a small window in which the directory will not be cleaned:
  41835. +# after its creation but before its name has been assigned to `$tmp'.
  41836. +$debug ||
  41837. +{
  41838. + tmp=
  41839. + trap 'exit_status=$?
  41840. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  41841. +' 0
  41842. + trap 'as_fn_exit 1' 1 2 13 15
  41843. +}
  41844. +# Create a (secure) tmp directory for tmp files.
  41845. +
  41846. +{
  41847. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  41848. + test -n "$tmp" && test -d "$tmp"
  41849. +} ||
  41850. {
  41851. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  41852. -test_array [0] = 0
  41853. + tmp=./conf$$-$RANDOM
  41854. + (umask 077 && mkdir "$tmp")
  41855. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  41856. - ;
  41857. - return 0;
  41858. -}
  41859. -_ACEOF
  41860. -rm -f conftest.$ac_objext
  41861. -if { (ac_try="$ac_compile"
  41862. -case "(($ac_try" in
  41863. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41864. - *) ac_try_echo=$ac_try;;
  41865. -esac
  41866. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41867. - (eval "$ac_compile") 2>conftest.er1
  41868. - ac_status=$?
  41869. - grep -v '^ *+' conftest.er1 >conftest.err
  41870. - rm -f conftest.er1
  41871. - cat conftest.err >&5
  41872. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41873. - (exit $ac_status); } && {
  41874. - test -z "$ac_c_werror_flag" ||
  41875. - test ! -s conftest.err
  41876. - } && test -s conftest.$ac_objext; then
  41877. - ac_lo=0 ac_mid=0
  41878. - while :; do
  41879. - cat >conftest.$ac_ext <<_ACEOF
  41880. -/* confdefs.h. */
  41881. -_ACEOF
  41882. -cat confdefs.h >>conftest.$ac_ext
  41883. -cat >>conftest.$ac_ext <<_ACEOF
  41884. -/* end confdefs.h. */
  41885. -$ac_includes_default
  41886. - typedef long ac__type_sizeof_;
  41887. -int
  41888. -main ()
  41889. -{
  41890. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  41891. -test_array [0] = 0
  41892. +# Set up the scripts for CONFIG_FILES section.
  41893. +# No need to generate them if there are no CONFIG_FILES.
  41894. +# This happens for instance with `./config.status config.h'.
  41895. +if test -n "$CONFIG_FILES"; then
  41896. - ;
  41897. - return 0;
  41898. -}
  41899. -_ACEOF
  41900. -rm -f conftest.$ac_objext
  41901. -if { (ac_try="$ac_compile"
  41902. -case "(($ac_try" in
  41903. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41904. - *) ac_try_echo=$ac_try;;
  41905. -esac
  41906. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41907. - (eval "$ac_compile") 2>conftest.er1
  41908. - ac_status=$?
  41909. - grep -v '^ *+' conftest.er1 >conftest.err
  41910. - rm -f conftest.er1
  41911. - cat conftest.err >&5
  41912. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41913. - (exit $ac_status); } && {
  41914. - test -z "$ac_c_werror_flag" ||
  41915. - test ! -s conftest.err
  41916. - } && test -s conftest.$ac_objext; then
  41917. - ac_hi=$ac_mid; break
  41918. -else
  41919. - echo "$as_me: failed program was:" >&5
  41920. -sed 's/^/| /' conftest.$ac_ext >&5
  41921. - ac_lo=`expr $ac_mid + 1`
  41922. - if test $ac_lo -le $ac_mid; then
  41923. - ac_lo= ac_hi=
  41924. - break
  41925. - fi
  41926. - ac_mid=`expr 2 '*' $ac_mid + 1`
  41927. +ac_cr=`echo X | tr X '\015'`
  41928. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  41929. +# But we know of no other shell where ac_cr would be empty at this
  41930. +# point, so we can use a bashism as a fallback.
  41931. +if test "x$ac_cr" = x; then
  41932. + eval ac_cr=\$\'\\r\'
  41933. fi
  41934. -
  41935. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41936. - done
  41937. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  41938. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  41939. + ac_cs_awk_cr='\r'
  41940. else
  41941. - echo "$as_me: failed program was:" >&5
  41942. -sed 's/^/| /' conftest.$ac_ext >&5
  41943. + ac_cs_awk_cr=$ac_cr
  41944. +fi
  41945. - cat >conftest.$ac_ext <<_ACEOF
  41946. -/* confdefs.h. */
  41947. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  41948. _ACEOF
  41949. -cat confdefs.h >>conftest.$ac_ext
  41950. -cat >>conftest.$ac_ext <<_ACEOF
  41951. -/* end confdefs.h. */
  41952. -$ac_includes_default
  41953. - typedef long ac__type_sizeof_;
  41954. -int
  41955. -main ()
  41956. +
  41957. +
  41958. {
  41959. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  41960. -test_array [0] = 0
  41961. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  41962. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  41963. + echo "_ACEOF"
  41964. +} >conf$$subs.sh ||
  41965. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  41966. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  41967. +ac_delim='%!_!# '
  41968. +for ac_last_try in false false false false false :; do
  41969. + . ./conf$$subs.sh ||
  41970. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  41971. - ;
  41972. - return 0;
  41973. -}
  41974. -_ACEOF
  41975. -rm -f conftest.$ac_objext
  41976. -if { (ac_try="$ac_compile"
  41977. -case "(($ac_try" in
  41978. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41979. - *) ac_try_echo=$ac_try;;
  41980. -esac
  41981. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  41982. - (eval "$ac_compile") 2>conftest.er1
  41983. - ac_status=$?
  41984. - grep -v '^ *+' conftest.er1 >conftest.err
  41985. - rm -f conftest.er1
  41986. - cat conftest.err >&5
  41987. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  41988. - (exit $ac_status); } && {
  41989. - test -z "$ac_c_werror_flag" ||
  41990. - test ! -s conftest.err
  41991. - } && test -s conftest.$ac_objext; then
  41992. - ac_hi=-1 ac_mid=-1
  41993. - while :; do
  41994. - cat >conftest.$ac_ext <<_ACEOF
  41995. -/* confdefs.h. */
  41996. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  41997. + if test $ac_delim_n = $ac_delim_num; then
  41998. + break
  41999. + elif $ac_last_try; then
  42000. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  42001. + else
  42002. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  42003. + fi
  42004. +done
  42005. +rm -f conf$$subs.sh
  42006. +
  42007. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  42008. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  42009. _ACEOF
  42010. -cat confdefs.h >>conftest.$ac_ext
  42011. -cat >>conftest.$ac_ext <<_ACEOF
  42012. -/* end confdefs.h. */
  42013. -$ac_includes_default
  42014. - typedef long ac__type_sizeof_;
  42015. -int
  42016. -main ()
  42017. +sed -n '
  42018. +h
  42019. +s/^/S["/; s/!.*/"]=/
  42020. +p
  42021. +g
  42022. +s/^[^!]*!//
  42023. +:repl
  42024. +t repl
  42025. +s/'"$ac_delim"'$//
  42026. +t delim
  42027. +:nl
  42028. +h
  42029. +s/\(.\{148\}\)..*/\1/
  42030. +t more1
  42031. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  42032. +p
  42033. +n
  42034. +b repl
  42035. +:more1
  42036. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  42037. +p
  42038. +g
  42039. +s/.\{148\}//
  42040. +t nl
  42041. +:delim
  42042. +h
  42043. +s/\(.\{148\}\)..*/\1/
  42044. +t more2
  42045. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  42046. +p
  42047. +b
  42048. +:more2
  42049. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  42050. +p
  42051. +g
  42052. +s/.\{148\}//
  42053. +t delim
  42054. +' <conf$$subs.awk | sed '
  42055. +/^[^""]/{
  42056. + N
  42057. + s/\n//
  42058. +}
  42059. +' >>$CONFIG_STATUS || ac_write_fail=1
  42060. +rm -f conf$$subs.awk
  42061. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  42062. +_ACAWK
  42063. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  42064. + for (key in S) S_is_set[key] = 1
  42065. + FS = ""
  42066. +
  42067. +}
  42068. {
  42069. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  42070. -test_array [0] = 0
  42071. + line = $ 0
  42072. + nfields = split(line, field, "@")
  42073. + substed = 0
  42074. + len = length(field[1])
  42075. + for (i = 2; i < nfields; i++) {
  42076. + key = field[i]
  42077. + keylen = length(key)
  42078. + if (S_is_set[key]) {
  42079. + value = S[key]
  42080. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  42081. + len += length(value) + length(field[++i])
  42082. + substed = 1
  42083. + } else
  42084. + len += 1 + keylen
  42085. + }
  42086. - ;
  42087. - return 0;
  42088. + print line
  42089. }
  42090. +
  42091. +_ACAWK
  42092. _ACEOF
  42093. -rm -f conftest.$ac_objext
  42094. -if { (ac_try="$ac_compile"
  42095. -case "(($ac_try" in
  42096. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42097. - *) ac_try_echo=$ac_try;;
  42098. -esac
  42099. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  42100. - (eval "$ac_compile") 2>conftest.er1
  42101. - ac_status=$?
  42102. - grep -v '^ *+' conftest.er1 >conftest.err
  42103. - rm -f conftest.er1
  42104. - cat conftest.err >&5
  42105. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42106. - (exit $ac_status); } && {
  42107. - test -z "$ac_c_werror_flag" ||
  42108. - test ! -s conftest.err
  42109. - } && test -s conftest.$ac_objext; then
  42110. - ac_lo=$ac_mid; break
  42111. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  42112. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  42113. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  42114. else
  42115. - echo "$as_me: failed program was:" >&5
  42116. -sed 's/^/| /' conftest.$ac_ext >&5
  42117. + cat
  42118. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  42119. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  42120. +_ACEOF
  42121. - ac_hi=`expr '(' $ac_mid ')' - 1`
  42122. - if test $ac_mid -le $ac_hi; then
  42123. - ac_lo= ac_hi=
  42124. - break
  42125. - fi
  42126. - ac_mid=`expr 2 '*' $ac_mid`
  42127. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  42128. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  42129. +# trailing colons and then remove the whole line if VPATH becomes empty
  42130. +# (actually we leave an empty line to preserve line numbers).
  42131. +if test "x$srcdir" = x.; then
  42132. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  42133. +s/:*\$(srcdir):*/:/
  42134. +s/:*\${srcdir}:*/:/
  42135. +s/:*@srcdir@:*/:/
  42136. +s/^\([^=]*=[ ]*\):*/\1/
  42137. +s/:*$//
  42138. +s/^[^=]*=[ ]*$//
  42139. +}'
  42140. fi
  42141. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42142. - done
  42143. -else
  42144. - echo "$as_me: failed program was:" >&5
  42145. -sed 's/^/| /' conftest.$ac_ext >&5
  42146. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  42147. +fi # test -n "$CONFIG_FILES"
  42148. - ac_lo= ac_hi=
  42149. -fi
  42150. +# Set up the scripts for CONFIG_HEADERS section.
  42151. +# No need to generate them if there are no CONFIG_HEADERS.
  42152. +# This happens for instance with `./config.status Makefile'.
  42153. +if test -n "$CONFIG_HEADERS"; then
  42154. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  42155. +BEGIN {
  42156. +_ACEOF
  42157. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42158. -fi
  42159. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  42160. +# here-document in config.status, that substitutes the proper values into
  42161. +# config.h.in to produce config.h.
  42162. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42163. -# Binary search between lo and hi bounds.
  42164. -while test "x$ac_lo" != "x$ac_hi"; do
  42165. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  42166. - cat >conftest.$ac_ext <<_ACEOF
  42167. -/* confdefs.h. */
  42168. -_ACEOF
  42169. -cat confdefs.h >>conftest.$ac_ext
  42170. -cat >>conftest.$ac_ext <<_ACEOF
  42171. -/* end confdefs.h. */
  42172. -$ac_includes_default
  42173. - typedef long ac__type_sizeof_;
  42174. -int
  42175. -main ()
  42176. -{
  42177. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  42178. -test_array [0] = 0
  42179. +# Create a delimiter string that does not exist in confdefs.h, to ease
  42180. +# handling of long lines.
  42181. +ac_delim='%!_!# '
  42182. +for ac_last_try in false false :; do
  42183. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  42184. + if test -z "$ac_t"; then
  42185. + break
  42186. + elif $ac_last_try; then
  42187. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  42188. + else
  42189. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  42190. + fi
  42191. +done
  42192. - ;
  42193. - return 0;
  42194. +# For the awk script, D is an array of macro values keyed by name,
  42195. +# likewise P contains macro parameters if any. Preserve backslash
  42196. +# newline sequences.
  42197. +
  42198. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  42199. +sed -n '
  42200. +s/.\{148\}/&'"$ac_delim"'/g
  42201. +t rset
  42202. +:rset
  42203. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  42204. +t def
  42205. +d
  42206. +:def
  42207. +s/\\$//
  42208. +t bsnl
  42209. +s/["\\]/\\&/g
  42210. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  42211. +D["\1"]=" \3"/p
  42212. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  42213. +d
  42214. +:bsnl
  42215. +s/["\\]/\\&/g
  42216. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  42217. +D["\1"]=" \3\\\\\\n"\\/p
  42218. +t cont
  42219. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  42220. +t cont
  42221. +d
  42222. +:cont
  42223. +n
  42224. +s/.\{148\}/&'"$ac_delim"'/g
  42225. +t clear
  42226. +:clear
  42227. +s/\\$//
  42228. +t bsnlc
  42229. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  42230. +d
  42231. +:bsnlc
  42232. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  42233. +b cont
  42234. +' <confdefs.h | sed '
  42235. +s/'"$ac_delim"'/"\\\
  42236. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  42237. +
  42238. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  42239. + for (key in D) D_is_set[key] = 1
  42240. + FS = ""
  42241. +}
  42242. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  42243. + line = \$ 0
  42244. + split(line, arg, " ")
  42245. + if (arg[1] == "#") {
  42246. + defundef = arg[2]
  42247. + mac1 = arg[3]
  42248. + } else {
  42249. + defundef = substr(arg[1], 2)
  42250. + mac1 = arg[2]
  42251. + }
  42252. + split(mac1, mac2, "(") #)
  42253. + macro = mac2[1]
  42254. + prefix = substr(line, 1, index(line, defundef) - 1)
  42255. + if (D_is_set[macro]) {
  42256. + # Preserve the white space surrounding the "#".
  42257. + print prefix "define", macro P[macro] D[macro]
  42258. + next
  42259. + } else {
  42260. + # Replace #undef with comments. This is necessary, for example,
  42261. + # in the case of _POSIX_SOURCE, which is predefined and required
  42262. + # on some systems where configure will not decide to define it.
  42263. + if (defundef == "undef") {
  42264. + print "/*", prefix defundef, macro, "*/"
  42265. + next
  42266. + }
  42267. + }
  42268. }
  42269. +{ print }
  42270. +_ACAWK
  42271. _ACEOF
  42272. -rm -f conftest.$ac_objext
  42273. -if { (ac_try="$ac_compile"
  42274. -case "(($ac_try" in
  42275. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42276. - *) ac_try_echo=$ac_try;;
  42277. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  42278. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  42279. +fi # test -n "$CONFIG_HEADERS"
  42280. +
  42281. +
  42282. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  42283. +shift
  42284. +for ac_tag
  42285. +do
  42286. + case $ac_tag in
  42287. + :[FHLC]) ac_mode=$ac_tag; continue;;
  42288. + esac
  42289. + case $ac_mode$ac_tag in
  42290. + :[FHL]*:*);;
  42291. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  42292. + :[FH]-) ac_tag=-:-;;
  42293. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  42294. + esac
  42295. + ac_save_IFS=$IFS
  42296. + IFS=:
  42297. + set x $ac_tag
  42298. + IFS=$ac_save_IFS
  42299. + shift
  42300. + ac_file=$1
  42301. + shift
  42302. +
  42303. + case $ac_mode in
  42304. + :L) ac_source=$1;;
  42305. + :[FH])
  42306. + ac_file_inputs=
  42307. + for ac_f
  42308. + do
  42309. + case $ac_f in
  42310. + -) ac_f="$tmp/stdin";;
  42311. + *) # Look for the file first in the build tree, then in the source tree
  42312. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  42313. + # because $ac_f cannot contain `:'.
  42314. + test -f "$ac_f" ||
  42315. + case $ac_f in
  42316. + [\\/$]*) false;;
  42317. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  42318. + esac ||
  42319. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  42320. + esac
  42321. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  42322. + as_fn_append ac_file_inputs " '$ac_f'"
  42323. + done
  42324. +
  42325. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  42326. + # use $as_me), people would be surprised to read:
  42327. + # /* config.h. Generated by config.status. */
  42328. + configure_input='Generated from '`
  42329. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  42330. + `' by configure.'
  42331. + if test x"$ac_file" != x-; then
  42332. + configure_input="$ac_file. $configure_input"
  42333. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  42334. +$as_echo "$as_me: creating $ac_file" >&6;}
  42335. + fi
  42336. + # Neutralize special characters interpreted by sed in replacement strings.
  42337. + case $configure_input in #(
  42338. + *\&* | *\|* | *\\* )
  42339. + ac_sed_conf_input=`$as_echo "$configure_input" |
  42340. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  42341. + *) ac_sed_conf_input=$configure_input;;
  42342. + esac
  42343. +
  42344. + case $ac_tag in
  42345. + *:-:* | *:-) cat >"$tmp/stdin" \
  42346. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  42347. + esac
  42348. + ;;
  42349. + esac
  42350. +
  42351. + ac_dir=`$as_dirname -- "$ac_file" ||
  42352. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  42353. + X"$ac_file" : 'X\(//\)[^/]' \| \
  42354. + X"$ac_file" : 'X\(//\)$' \| \
  42355. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  42356. +$as_echo X"$ac_file" |
  42357. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  42358. + s//\1/
  42359. + q
  42360. + }
  42361. + /^X\(\/\/\)[^/].*/{
  42362. + s//\1/
  42363. + q
  42364. + }
  42365. + /^X\(\/\/\)$/{
  42366. + s//\1/
  42367. + q
  42368. + }
  42369. + /^X\(\/\).*/{
  42370. + s//\1/
  42371. + q
  42372. + }
  42373. + s/.*/./; q'`
  42374. + as_dir="$ac_dir"; as_fn_mkdir_p
  42375. + ac_builddir=.
  42376. +
  42377. +case "$ac_dir" in
  42378. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  42379. +*)
  42380. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  42381. + # A ".." for each directory in $ac_dir_suffix.
  42382. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  42383. + case $ac_top_builddir_sub in
  42384. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  42385. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  42386. + esac ;;
  42387. +esac
  42388. +ac_abs_top_builddir=$ac_pwd
  42389. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  42390. +# for backward compatibility:
  42391. +ac_top_builddir=$ac_top_build_prefix
  42392. +
  42393. +case $srcdir in
  42394. + .) # We are building in place.
  42395. + ac_srcdir=.
  42396. + ac_top_srcdir=$ac_top_builddir_sub
  42397. + ac_abs_top_srcdir=$ac_pwd ;;
  42398. + [\\/]* | ?:[\\/]* ) # Absolute name.
  42399. + ac_srcdir=$srcdir$ac_dir_suffix;
  42400. + ac_top_srcdir=$srcdir
  42401. + ac_abs_top_srcdir=$srcdir ;;
  42402. + *) # Relative name.
  42403. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  42404. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  42405. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  42406. esac
  42407. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  42408. - (eval "$ac_compile") 2>conftest.er1
  42409. - ac_status=$?
  42410. - grep -v '^ *+' conftest.er1 >conftest.err
  42411. - rm -f conftest.er1
  42412. - cat conftest.err >&5
  42413. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42414. - (exit $ac_status); } && {
  42415. - test -z "$ac_c_werror_flag" ||
  42416. - test ! -s conftest.err
  42417. - } && test -s conftest.$ac_objext; then
  42418. - ac_hi=$ac_mid
  42419. -else
  42420. - echo "$as_me: failed program was:" >&5
  42421. -sed 's/^/| /' conftest.$ac_ext >&5
  42422. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  42423. - ac_lo=`expr '(' $ac_mid ')' + 1`
  42424. -fi
  42425. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42426. -done
  42427. -case $ac_lo in
  42428. -?*) ac_cv_sizeof_long=$ac_lo;;
  42429. -'') if test "$ac_cv_type_long" = yes; then
  42430. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  42431. -See \`config.log' for more details." >&5
  42432. -echo "$as_me: error: cannot compute sizeof (long)
  42433. -See \`config.log' for more details." >&2;}
  42434. - { (exit 77); exit 77; }; }
  42435. - else
  42436. - ac_cv_sizeof_long=0
  42437. - fi ;;
  42438. -esac
  42439. -else
  42440. - cat >conftest.$ac_ext <<_ACEOF
  42441. -/* confdefs.h. */
  42442. -_ACEOF
  42443. -cat confdefs.h >>conftest.$ac_ext
  42444. -cat >>conftest.$ac_ext <<_ACEOF
  42445. -/* end confdefs.h. */
  42446. -$ac_includes_default
  42447. - typedef long ac__type_sizeof_;
  42448. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  42449. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  42450. -#include <stdio.h>
  42451. -#include <stdlib.h>
  42452. -int
  42453. -main ()
  42454. -{
  42455. + case $ac_mode in
  42456. + :F)
  42457. + #
  42458. + # CONFIG_FILE
  42459. + #
  42460. - FILE *f = fopen ("conftest.val", "w");
  42461. - if (! f)
  42462. - return 1;
  42463. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  42464. - {
  42465. - long int i = longval ();
  42466. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  42467. - return 1;
  42468. - fprintf (f, "%ld\n", i);
  42469. - }
  42470. - else
  42471. - {
  42472. - unsigned long int i = ulongval ();
  42473. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  42474. - return 1;
  42475. - fprintf (f, "%lu\n", i);
  42476. - }
  42477. - return ferror (f) || fclose (f) != 0;
  42478. + case $INSTALL in
  42479. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  42480. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  42481. + esac
  42482. + ac_MKDIR_P=$MKDIR_P
  42483. + case $MKDIR_P in
  42484. + [\\/$]* | ?:[\\/]* ) ;;
  42485. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  42486. + esac
  42487. +_ACEOF
  42488. - ;
  42489. - return 0;
  42490. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  42491. +# If the template does not know about datarootdir, expand it.
  42492. +# FIXME: This hack should be removed a few years after 2.60.
  42493. +ac_datarootdir_hack=; ac_datarootdir_seen=
  42494. +ac_sed_dataroot='
  42495. +/datarootdir/ {
  42496. + p
  42497. + q
  42498. }
  42499. +/@datadir@/p
  42500. +/@docdir@/p
  42501. +/@infodir@/p
  42502. +/@localedir@/p
  42503. +/@mandir@/p'
  42504. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  42505. +*datarootdir*) ac_datarootdir_seen=yes;;
  42506. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  42507. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  42508. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  42509. _ACEOF
  42510. -rm -f conftest$ac_exeext
  42511. -if { (ac_try="$ac_link"
  42512. -case "(($ac_try" in
  42513. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42514. - *) ac_try_echo=$ac_try;;
  42515. -esac
  42516. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  42517. - (eval "$ac_link") 2>&5
  42518. - ac_status=$?
  42519. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42520. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  42521. - { (case "(($ac_try" in
  42522. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42523. - *) ac_try_echo=$ac_try;;
  42524. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  42525. + ac_datarootdir_hack='
  42526. + s&@datadir@&$datadir&g
  42527. + s&@docdir@&$docdir&g
  42528. + s&@infodir@&$infodir&g
  42529. + s&@localedir@&$localedir&g
  42530. + s&@mandir@&$mandir&g
  42531. + s&\\\${datarootdir}&$datarootdir&g' ;;
  42532. esac
  42533. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  42534. - (eval "$ac_try") 2>&5
  42535. - ac_status=$?
  42536. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42537. - (exit $ac_status); }; }; then
  42538. - ac_cv_sizeof_long=`cat conftest.val`
  42539. -else
  42540. - echo "$as_me: program exited with status $ac_status" >&5
  42541. -echo "$as_me: failed program was:" >&5
  42542. -sed 's/^/| /' conftest.$ac_ext >&5
  42543. -
  42544. -( exit $ac_status )
  42545. -if test "$ac_cv_type_long" = yes; then
  42546. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  42547. -See \`config.log' for more details." >&5
  42548. -echo "$as_me: error: cannot compute sizeof (long)
  42549. -See \`config.log' for more details." >&2;}
  42550. - { (exit 77); exit 77; }; }
  42551. - else
  42552. - ac_cv_sizeof_long=0
  42553. - fi
  42554. -fi
  42555. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  42556. -fi
  42557. -rm -f conftest.val
  42558. -fi
  42559. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
  42560. -echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
  42561. -
  42562. -
  42563. +_ACEOF
  42564. -cat >>confdefs.h <<_ACEOF
  42565. -#define SIZEOF_LONG $ac_cv_sizeof_long
  42566. +# Neutralize VPATH when `$srcdir' = `.'.
  42567. +# Shell code in configure.ac might set extrasub.
  42568. +# FIXME: do we really want to maintain this feature?
  42569. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  42570. +ac_sed_extra="$ac_vpsub
  42571. +$extrasub
  42572. _ACEOF
  42573. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  42574. +:t
  42575. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  42576. +s|@configure_input@|$ac_sed_conf_input|;t t
  42577. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  42578. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  42579. +s&@srcdir@&$ac_srcdir&;t t
  42580. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  42581. +s&@top_srcdir@&$ac_top_srcdir&;t t
  42582. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  42583. +s&@builddir@&$ac_builddir&;t t
  42584. +s&@abs_builddir@&$ac_abs_builddir&;t t
  42585. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  42586. +s&@INSTALL@&$ac_INSTALL&;t t
  42587. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  42588. +$ac_datarootdir_hack
  42589. +"
  42590. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  42591. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  42592. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  42593. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  42594. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  42595. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  42596. +which seems to be undefined. Please make sure it is defined." >&5
  42597. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  42598. +which seems to be undefined. Please make sure it is defined." >&2;}
  42599. + rm -f "$tmp/stdin"
  42600. + case $ac_file in
  42601. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  42602. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  42603. + esac \
  42604. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  42605. + ;;
  42606. + :H)
  42607. + #
  42608. + # CONFIG_HEADER
  42609. + #
  42610. + if test x"$ac_file" != x-; then
  42611. + {
  42612. + $as_echo "/* $configure_input */" \
  42613. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  42614. + } >"$tmp/config.h" \
  42615. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  42616. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  42617. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  42618. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  42619. + else
  42620. + rm -f "$ac_file"
  42621. + mv "$tmp/config.h" "$ac_file" \
  42622. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  42623. + fi
  42624. + else
  42625. + $as_echo "/* $configure_input */" \
  42626. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  42627. + || as_fn_error "could not create -" "$LINENO" 5
  42628. + fi
  42629. +# Compute "$ac_file"'s index in $config_headers.
  42630. +_am_arg="$ac_file"
  42631. +_am_stamp_count=1
  42632. +for _am_header in $config_headers :; do
  42633. + case $_am_header in
  42634. + $_am_arg | $_am_arg:* )
  42635. + break ;;
  42636. + * )
  42637. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  42638. + esac
  42639. +done
  42640. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  42641. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  42642. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  42643. + X"$_am_arg" : 'X\(//\)$' \| \
  42644. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  42645. +$as_echo X"$_am_arg" |
  42646. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  42647. + s//\1/
  42648. + q
  42649. + }
  42650. + /^X\(\/\/\)[^/].*/{
  42651. + s//\1/
  42652. + q
  42653. + }
  42654. + /^X\(\/\/\)$/{
  42655. + s//\1/
  42656. + q
  42657. + }
  42658. + /^X\(\/\).*/{
  42659. + s//\1/
  42660. + q
  42661. + }
  42662. + s/.*/./; q'`/stamp-h$_am_stamp_count
  42663. + ;;
  42664. -if test x$has_char16 = "xyes" ; then
  42665. - case 1 in
  42666. - $ac_cv_sizeof_short) SIZE16="short";;
  42667. - $ac_cv_sizeof_int) SIZE16="int";;
  42668. - esac
  42669. -else
  42670. - case 2 in
  42671. - $ac_cv_sizeof_short) SIZE16="short";;
  42672. - $ac_cv_sizeof_int) SIZE16="int";;
  42673. - esac
  42674. -fi
  42675. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  42676. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  42677. + ;;
  42678. + esac
  42679. -if test x$has_char16 = "xyes" ; then
  42680. - case 2 in
  42681. - $ac_cv_sizeof_int) SIZE32="int";;
  42682. - $ac_cv_sizeof_long) SIZE32="long";;
  42683. - $ac_cv_sizeof_short) SIZE32="short";;
  42684. - esac
  42685. -else
  42686. - case 4 in
  42687. - $ac_cv_sizeof_int) SIZE32="int";;
  42688. - $ac_cv_sizeof_long) SIZE32="long";;
  42689. - $ac_cv_sizeof_short) SIZE32="short";;
  42690. - esac
  42691. -fi
  42692. + case $ac_file$ac_mode in
  42693. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  42694. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  42695. + # are listed without --file. Let's play safe and only enable the eval
  42696. + # if we detect the quoting.
  42697. + case $CONFIG_FILES in
  42698. + *\'*) eval set x "$CONFIG_FILES" ;;
  42699. + *) set x $CONFIG_FILES ;;
  42700. + esac
  42701. + shift
  42702. + for mf
  42703. + do
  42704. + # Strip MF so we end up with the name of the file.
  42705. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  42706. + # Check whether this is an Automake generated Makefile or not.
  42707. + # We used to match only the files named `Makefile.in', but
  42708. + # some people rename them; so instead we look at the file content.
  42709. + # Grep'ing the first line is not enough: some people post-process
  42710. + # each Makefile.in and add a new line on top of each file to say so.
  42711. + # Grep'ing the whole file is not good either: AIX grep has a line
  42712. + # limit of 2048, but all sed's we know have understand at least 4000.
  42713. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  42714. + dirpart=`$as_dirname -- "$mf" ||
  42715. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  42716. + X"$mf" : 'X\(//\)[^/]' \| \
  42717. + X"$mf" : 'X\(//\)$' \| \
  42718. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  42719. +$as_echo X"$mf" |
  42720. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  42721. + s//\1/
  42722. + q
  42723. + }
  42724. + /^X\(\/\/\)[^/].*/{
  42725. + s//\1/
  42726. + q
  42727. + }
  42728. + /^X\(\/\/\)$/{
  42729. + s//\1/
  42730. + q
  42731. + }
  42732. + /^X\(\/\).*/{
  42733. + s//\1/
  42734. + q
  42735. + }
  42736. + s/.*/./; q'`
  42737. + else
  42738. + continue
  42739. + fi
  42740. + # Extract the definition of DEPDIR, am__include, and am__quote
  42741. + # from the Makefile without running `make'.
  42742. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  42743. + test -z "$DEPDIR" && continue
  42744. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  42745. + test -z "am__include" && continue
  42746. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  42747. + # When using ansi2knr, U may be empty or an underscore; expand it
  42748. + U=`sed -n 's/^U = //p' < "$mf"`
  42749. + # Find all dependency output files, they are included files with
  42750. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  42751. + # simplest approach to changing $(DEPDIR) to its actual value in the
  42752. + # expansion.
  42753. + for file in `sed -n "
  42754. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  42755. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  42756. + # Make sure the directory exists.
  42757. + test -f "$dirpart/$file" && continue
  42758. + fdir=`$as_dirname -- "$file" ||
  42759. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  42760. + X"$file" : 'X\(//\)[^/]' \| \
  42761. + X"$file" : 'X\(//\)$' \| \
  42762. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  42763. +$as_echo X"$file" |
  42764. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  42765. + s//\1/
  42766. + q
  42767. + }
  42768. + /^X\(\/\/\)[^/].*/{
  42769. + s//\1/
  42770. + q
  42771. + }
  42772. + /^X\(\/\/\)$/{
  42773. + s//\1/
  42774. + q
  42775. + }
  42776. + /^X\(\/\).*/{
  42777. + s//\1/
  42778. + q
  42779. + }
  42780. + s/.*/./; q'`
  42781. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  42782. + # echo "creating $dirpart/$file"
  42783. + echo '# dummy' > "$dirpart/$file"
  42784. + done
  42785. + done
  42786. +}
  42787. + ;;
  42788. + "libtool":C)
  42789. + # See if we are running on zsh, and set the options which allow our
  42790. + # commands through without removal of \ escapes.
  42791. + if test -n "${ZSH_VERSION+set}" ; then
  42792. + setopt NO_GLOB_SUBST
  42793. + fi
  42794. + cfgfile="${ofile}T"
  42795. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  42796. + $RM "$cfgfile"
  42797. -ac_config_files="$ac_config_files Makefile libspeex/Makefile src/Makefile doc/Makefile Speex.spec include/Makefile include/speex/Makefile speex.pc speexdsp.pc win32/Makefile win32/libspeex/Makefile win32/speexenc/Makefile win32/speexdec/Makefile symbian/Makefile win32/VS2003/Makefile win32/VS2003/tests/Makefile win32/VS2003/libspeex/Makefile win32/VS2003/libspeexdsp/Makefile win32/VS2003/speexdec/Makefile win32/VS2003/speexenc/Makefile win32/VS2005/Makefile win32/VS2005/libspeex/Makefile win32/VS2005/speexdec/Makefile win32/VS2005/speexenc/Makefile win32/VS2005/libspeexdsp/Makefile win32/VS2005/tests/Makefile win32/VS2008/libspeexdsp/Makefile win32/VS2008/Makefile win32/VS2008/speexdec/Makefile win32/VS2008/tests/Makefile win32/VS2008/libspeex/Makefile win32/VS2008/speexenc/Makefile include/speex/speex_config_types.h ti/Makefile ti/speex_C54_test/Makefile ti/speex_C55_test/Makefile ti/speex_C64_test/Makefile"
  42798. + cat <<_LT_EOF >> "$cfgfile"
  42799. +#! $SHELL
  42800. -cat >confcache <<\_ACEOF
  42801. -# This file is a shell script that caches the results of configure
  42802. -# tests run on this system so they can be shared between configure
  42803. -# scripts and configure runs, see configure's option --config-cache.
  42804. -# It is not useful on other systems. If it contains results you don't
  42805. -# want to keep, you may remove or edit it.
  42806. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  42807. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  42808. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  42809. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  42810. #
  42811. -# config.status only pays attention to the cache file if you give it
  42812. -# the --recheck option to rerun configure.
  42813. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  42814. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  42815. +# Written by Gordon Matzigkeit, 1996
  42816. +#
  42817. +# This file is part of GNU Libtool.
  42818. +#
  42819. +# GNU Libtool is free software; you can redistribute it and/or
  42820. +# modify it under the terms of the GNU General Public License as
  42821. +# published by the Free Software Foundation; either version 2 of
  42822. +# the License, or (at your option) any later version.
  42823. +#
  42824. +# As a special exception to the GNU General Public License,
  42825. +# if you distribute this file as part of a program or library that
  42826. +# is built using GNU Libtool, you may include this file under the
  42827. +# same distribution terms that you use for the rest of that program.
  42828. +#
  42829. +# GNU Libtool is distributed in the hope that it will be useful,
  42830. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  42831. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  42832. +# GNU General Public License for more details.
  42833. #
  42834. -# `ac_cv_env_foo' variables (set or unset) will be overridden when
  42835. -# loading this file, other *unset* `ac_cv_foo' will be assigned the
  42836. -# following values.
  42837. +# You should have received a copy of the GNU General Public License
  42838. +# along with GNU Libtool; see the file COPYING. If not, a copy
  42839. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  42840. +# obtained by writing to the Free Software Foundation, Inc.,
  42841. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  42842. +
  42843. +
  42844. +# The names of the tagged configurations supported by this script.
  42845. +available_tags=""
  42846. +
  42847. +# ### BEGIN LIBTOOL CONFIG
  42848. +
  42849. +# Assembler program.
  42850. +AS=$AS
  42851. -_ACEOF
  42852. +# DLL creation program.
  42853. +DLLTOOL=$DLLTOOL
  42854. -# The following way of writing the cache mishandles newlines in values,
  42855. -# but we know of no workaround that is simple, portable, and efficient.
  42856. -# So, we kill variables containing newlines.
  42857. -# Ultrix sh set writes to stderr and can't be redirected directly,
  42858. -# and sets the high bit in the cache file unless we assign to the vars.
  42859. -(
  42860. - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  42861. - eval ac_val=\$$ac_var
  42862. - case $ac_val in #(
  42863. - *${as_nl}*)
  42864. - case $ac_var in #(
  42865. - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  42866. -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  42867. - esac
  42868. - case $ac_var in #(
  42869. - _ | IFS | as_nl) ;; #(
  42870. - *) $as_unset $ac_var ;;
  42871. - esac ;;
  42872. - esac
  42873. - done
  42874. +# Object dumper program.
  42875. +OBJDUMP=$OBJDUMP
  42876. - (set) 2>&1 |
  42877. - case $as_nl`(ac_space=' '; set) 2>&1` in #(
  42878. - *${as_nl}ac_space=\ *)
  42879. - # `set' does not quote correctly, so add quotes (double-quote
  42880. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  42881. - sed -n \
  42882. - "s/'/'\\\\''/g;
  42883. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  42884. - ;; #(
  42885. - *)
  42886. - # `set' quotes correctly as required by POSIX, so do not add quotes.
  42887. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  42888. - ;;
  42889. - esac |
  42890. - sort
  42891. -) |
  42892. - sed '
  42893. - /^ac_cv_env_/b end
  42894. - t clear
  42895. - :clear
  42896. - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  42897. - t end
  42898. - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  42899. - :end' >>confcache
  42900. -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  42901. - if test -w "$cache_file"; then
  42902. - test "x$cache_file" != "x/dev/null" &&
  42903. - { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  42904. -echo "$as_me: updating cache $cache_file" >&6;}
  42905. - cat confcache >$cache_file
  42906. - else
  42907. - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  42908. -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  42909. - fi
  42910. -fi
  42911. -rm -f confcache
  42912. +# Which release of libtool.m4 was used?
  42913. +macro_version=$macro_version
  42914. +macro_revision=$macro_revision
  42915. -test "x$prefix" = xNONE && prefix=$ac_default_prefix
  42916. -# Let make expand exec_prefix.
  42917. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  42918. +# Whether or not to build shared libraries.
  42919. +build_libtool_libs=$enable_shared
  42920. -DEFS=-DHAVE_CONFIG_H
  42921. +# Whether or not to build static libraries.
  42922. +build_old_libs=$enable_static
  42923. -ac_libobjs=
  42924. -ac_ltlibobjs=
  42925. -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  42926. - # 1. Remove the extension, and $U if already installed.
  42927. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  42928. - ac_i=`echo "$ac_i" | sed "$ac_script"`
  42929. - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  42930. - # will be set to the directory where LIBOBJS objects are built.
  42931. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  42932. - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  42933. -done
  42934. -LIBOBJS=$ac_libobjs
  42935. +# What type of objects to build.
  42936. +pic_mode=$pic_mode
  42937. -LTLIBOBJS=$ac_ltlibobjs
  42938. +# Whether or not to optimize for fast installation.
  42939. +fast_install=$enable_fast_install
  42940. +# The host system.
  42941. +host_alias=$host_alias
  42942. +host=$host
  42943. +host_os=$host_os
  42944. -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  42945. - { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
  42946. -Usually this means the macro was only invoked conditionally." >&5
  42947. -echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
  42948. -Usually this means the macro was only invoked conditionally." >&2;}
  42949. - { (exit 1); exit 1; }; }
  42950. -fi
  42951. -if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  42952. - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  42953. -Usually this means the macro was only invoked conditionally." >&5
  42954. -echo "$as_me: error: conditional \"AMDEP\" was never defined.
  42955. -Usually this means the macro was only invoked conditionally." >&2;}
  42956. - { (exit 1); exit 1; }; }
  42957. -fi
  42958. -if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  42959. - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  42960. -Usually this means the macro was only invoked conditionally." >&5
  42961. -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  42962. -Usually this means the macro was only invoked conditionally." >&2;}
  42963. - { (exit 1); exit 1; }; }
  42964. -fi
  42965. -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  42966. - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
  42967. -Usually this means the macro was only invoked conditionally." >&5
  42968. -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
  42969. -Usually this means the macro was only invoked conditionally." >&2;}
  42970. - { (exit 1); exit 1; }; }
  42971. -fi
  42972. -if test -z "${BUILD_KISS_FFT_TRUE}" && test -z "${BUILD_KISS_FFT_FALSE}"; then
  42973. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_KISS_FFT\" was never defined.
  42974. -Usually this means the macro was only invoked conditionally." >&5
  42975. -echo "$as_me: error: conditional \"BUILD_KISS_FFT\" was never defined.
  42976. -Usually this means the macro was only invoked conditionally." >&2;}
  42977. - { (exit 1); exit 1; }; }
  42978. -fi
  42979. -if test -z "${BUILD_SMALLFT_TRUE}" && test -z "${BUILD_SMALLFT_FALSE}"; then
  42980. - { { echo "$as_me:$LINENO: error: conditional \"BUILD_SMALLFT\" was never defined.
  42981. -Usually this means the macro was only invoked conditionally." >&5
  42982. -echo "$as_me: error: conditional \"BUILD_SMALLFT\" was never defined.
  42983. -Usually this means the macro was only invoked conditionally." >&2;}
  42984. - { (exit 1); exit 1; }; }
  42985. -fi
  42986. +# The build system.
  42987. +build_alias=$build_alias
  42988. +build=$build
  42989. +build_os=$build_os
  42990. -: ${CONFIG_STATUS=./config.status}
  42991. -ac_clean_files_save=$ac_clean_files
  42992. -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  42993. -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  42994. -echo "$as_me: creating $CONFIG_STATUS" >&6;}
  42995. -cat >$CONFIG_STATUS <<_ACEOF
  42996. -#! $SHELL
  42997. -# Generated by $as_me.
  42998. -# Run this file to recreate the current configuration.
  42999. -# Compiler output produced by configure, useful for debugging
  43000. -# configure, is in config.log if it exists.
  43001. +# A sed program that does not truncate output.
  43002. +SED=$lt_SED
  43003. -debug=false
  43004. -ac_cs_recheck=false
  43005. -ac_cs_silent=false
  43006. -SHELL=\${CONFIG_SHELL-$SHELL}
  43007. -_ACEOF
  43008. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  43009. +Xsed="\$SED -e 1s/^X//"
  43010. -cat >>$CONFIG_STATUS <<\_ACEOF
  43011. -## --------------------- ##
  43012. -## M4sh Initialization. ##
  43013. -## --------------------- ##
  43014. +# A grep program that handles long lines.
  43015. +GREP=$lt_GREP
  43016. -# Be more Bourne compatible
  43017. -DUALCASE=1; export DUALCASE # for MKS sh
  43018. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  43019. - emulate sh
  43020. - NULLCMD=:
  43021. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  43022. - # is contrary to our usage. Disable this feature.
  43023. - alias -g '${1+"$@"}'='"$@"'
  43024. - setopt NO_GLOB_SUBST
  43025. -else
  43026. - case `(set -o) 2>/dev/null` in
  43027. - *posix*) set -o posix ;;
  43028. -esac
  43029. +# An ERE matcher.
  43030. +EGREP=$lt_EGREP
  43031. -fi
  43032. +# A literal string matcher.
  43033. +FGREP=$lt_FGREP
  43034. +# A BSD- or MS-compatible name lister.
  43035. +NM=$lt_NM
  43036. +# Whether we need soft or hard links.
  43037. +LN_S=$lt_LN_S
  43038. +# What is the maximum length of a command?
  43039. +max_cmd_len=$max_cmd_len
  43040. -# PATH needs CR
  43041. -# Avoid depending upon Character Ranges.
  43042. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  43043. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  43044. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  43045. -as_cr_digits='0123456789'
  43046. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  43047. +# Object file suffix (normally "o").
  43048. +objext=$ac_objext
  43049. -# The user is always right.
  43050. -if test "${PATH_SEPARATOR+set}" != set; then
  43051. - echo "#! /bin/sh" >conf$$.sh
  43052. - echo "exit 0" >>conf$$.sh
  43053. - chmod +x conf$$.sh
  43054. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  43055. - PATH_SEPARATOR=';'
  43056. - else
  43057. - PATH_SEPARATOR=:
  43058. - fi
  43059. - rm -f conf$$.sh
  43060. -fi
  43061. +# Executable file suffix (normally "").
  43062. +exeext=$exeext
  43063. -# Support unset when possible.
  43064. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  43065. - as_unset=unset
  43066. -else
  43067. - as_unset=false
  43068. -fi
  43069. +# whether the shell understands "unset".
  43070. +lt_unset=$lt_unset
  43071. +# turn spaces into newlines.
  43072. +SP2NL=$lt_lt_SP2NL
  43073. -# IFS
  43074. -# We need space, tab and new line, in precisely that order. Quoting is
  43075. -# there to prevent editors from complaining about space-tab.
  43076. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  43077. -# splitting by setting IFS to empty value.)
  43078. -as_nl='
  43079. -'
  43080. -IFS=" "" $as_nl"
  43081. +# turn newlines into spaces.
  43082. +NL2SP=$lt_lt_NL2SP
  43083. -# Find who we are. Look in the path if we contain no directory separator.
  43084. -case $0 in
  43085. - *[\\/]* ) as_myself=$0 ;;
  43086. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43087. -for as_dir in $PATH
  43088. -do
  43089. - IFS=$as_save_IFS
  43090. - test -z "$as_dir" && as_dir=.
  43091. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  43092. -done
  43093. -IFS=$as_save_IFS
  43094. +# How to create reloadable object files.
  43095. +reload_flag=$lt_reload_flag
  43096. +reload_cmds=$lt_reload_cmds
  43097. - ;;
  43098. -esac
  43099. -# We did not find ourselves, most probably we were run as `sh COMMAND'
  43100. -# in which case we are not to be found in the path.
  43101. -if test "x$as_myself" = x; then
  43102. - as_myself=$0
  43103. -fi
  43104. -if test ! -f "$as_myself"; then
  43105. - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  43106. - { (exit 1); exit 1; }
  43107. -fi
  43108. +# Method to check whether dependent libraries are shared objects.
  43109. +deplibs_check_method=$lt_deplibs_check_method
  43110. -# Work around bugs in pre-3.0 UWIN ksh.
  43111. -for as_var in ENV MAIL MAILPATH
  43112. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  43113. -done
  43114. -PS1='$ '
  43115. -PS2='> '
  43116. -PS4='+ '
  43117. +# Command to use when deplibs_check_method == "file_magic".
  43118. +file_magic_cmd=$lt_file_magic_cmd
  43119. -# NLS nuisances.
  43120. -for as_var in \
  43121. - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  43122. - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  43123. - LC_TELEPHONE LC_TIME
  43124. -do
  43125. - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  43126. - eval $as_var=C; export $as_var
  43127. - else
  43128. - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  43129. - fi
  43130. -done
  43131. +# The archiver.
  43132. +AR=$lt_AR
  43133. +AR_FLAGS=$lt_AR_FLAGS
  43134. -# Required to use basename.
  43135. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  43136. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  43137. - as_expr=expr
  43138. -else
  43139. - as_expr=false
  43140. -fi
  43141. +# A symbol stripping program.
  43142. +STRIP=$lt_STRIP
  43143. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  43144. - as_basename=basename
  43145. -else
  43146. - as_basename=false
  43147. -fi
  43148. +# Commands used to install an old-style archive.
  43149. +RANLIB=$lt_RANLIB
  43150. +old_postinstall_cmds=$lt_old_postinstall_cmds
  43151. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  43152. +# A C compiler.
  43153. +LTCC=$lt_CC
  43154. -# Name of the executable.
  43155. -as_me=`$as_basename -- "$0" ||
  43156. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  43157. - X"$0" : 'X\(//\)$' \| \
  43158. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  43159. -echo X/"$0" |
  43160. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  43161. - s//\1/
  43162. - q
  43163. - }
  43164. - /^X\/\(\/\/\)$/{
  43165. - s//\1/
  43166. - q
  43167. - }
  43168. - /^X\/\(\/\).*/{
  43169. - s//\1/
  43170. - q
  43171. - }
  43172. - s/.*/./; q'`
  43173. +# LTCC compiler flags.
  43174. +LTCFLAGS=$lt_CFLAGS
  43175. -# CDPATH.
  43176. -$as_unset CDPATH
  43177. +# Take the output of nm and produce a listing of raw symbols and C names.
  43178. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  43179. +# Transform the output of nm in a proper C declaration.
  43180. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  43181. +# Transform the output of nm in a C name address pair.
  43182. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  43183. - as_lineno_1=$LINENO
  43184. - as_lineno_2=$LINENO
  43185. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  43186. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  43187. -
  43188. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  43189. - # uniformly replaced by the line number. The first 'sed' inserts a
  43190. - # line-number line after each line using $LINENO; the second 'sed'
  43191. - # does the real work. The second script uses 'N' to pair each
  43192. - # line-number line with the line containing $LINENO, and appends
  43193. - # trailing '-' during substitution so that $LINENO is not a special
  43194. - # case at line end.
  43195. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  43196. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  43197. - # E. McMahon (1931-1989) for sed's syntax. :-)
  43198. - sed -n '
  43199. - p
  43200. - /[$]LINENO/=
  43201. - ' <$as_myself |
  43202. - sed '
  43203. - s/[$]LINENO.*/&-/
  43204. - t lineno
  43205. - b
  43206. - :lineno
  43207. - N
  43208. - :loop
  43209. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  43210. - t loop
  43211. - s/-\n.*//
  43212. - ' >$as_me.lineno &&
  43213. - chmod +x "$as_me.lineno" ||
  43214. - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  43215. - { (exit 1); exit 1; }; }
  43216. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  43217. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  43218. - # Don't try to exec as it changes $[0], causing all sort of problems
  43219. - # (the dirname of $[0] is not the place where we might find the
  43220. - # original and so on. Autoconf is especially sensitive to this).
  43221. - . "./$as_me.lineno"
  43222. - # Exit status is that of the last command.
  43223. - exit
  43224. -}
  43225. +# The name of the directory that contains temporary libtool files.
  43226. +objdir=$objdir
  43227. +
  43228. +# Shell to use when invoking shell scripts.
  43229. +SHELL=$lt_SHELL
  43230. +
  43231. +# An echo program that does not interpret backslashes.
  43232. +ECHO=$lt_ECHO
  43233. +
  43234. +# Used to examine libraries when file_magic_cmd begins with "file".
  43235. +MAGIC_CMD=$MAGIC_CMD
  43236. +
  43237. +# Must we lock files when doing compilation?
  43238. +need_locks=$lt_need_locks
  43239. +
  43240. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  43241. +DSYMUTIL=$lt_DSYMUTIL
  43242. +
  43243. +# Tool to change global to local symbols on Mac OS X.
  43244. +NMEDIT=$lt_NMEDIT
  43245. +# Tool to manipulate fat objects and archives on Mac OS X.
  43246. +LIPO=$lt_LIPO
  43247. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  43248. - as_dirname=dirname
  43249. -else
  43250. - as_dirname=false
  43251. -fi
  43252. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  43253. +OTOOL=$lt_OTOOL
  43254. -ECHO_C= ECHO_N= ECHO_T=
  43255. -case `echo -n x` in
  43256. --n*)
  43257. - case `echo 'x\c'` in
  43258. - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  43259. - *) ECHO_C='\c';;
  43260. - esac;;
  43261. -*)
  43262. - ECHO_N='-n';;
  43263. -esac
  43264. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  43265. +OTOOL64=$lt_OTOOL64
  43266. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  43267. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  43268. - as_expr=expr
  43269. -else
  43270. - as_expr=false
  43271. -fi
  43272. +# Old archive suffix (normally "a").
  43273. +libext=$libext
  43274. -rm -f conf$$ conf$$.exe conf$$.file
  43275. -if test -d conf$$.dir; then
  43276. - rm -f conf$$.dir/conf$$.file
  43277. -else
  43278. - rm -f conf$$.dir
  43279. - mkdir conf$$.dir
  43280. -fi
  43281. -echo >conf$$.file
  43282. -if ln -s conf$$.file conf$$ 2>/dev/null; then
  43283. - as_ln_s='ln -s'
  43284. - # ... but there are two gotchas:
  43285. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  43286. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  43287. - # In both cases, we have to default to `cp -p'.
  43288. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  43289. - as_ln_s='cp -p'
  43290. -elif ln conf$$.file conf$$ 2>/dev/null; then
  43291. - as_ln_s=ln
  43292. -else
  43293. - as_ln_s='cp -p'
  43294. -fi
  43295. -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  43296. -rmdir conf$$.dir 2>/dev/null
  43297. +# Shared library suffix (normally ".so").
  43298. +shrext_cmds=$lt_shrext_cmds
  43299. -if mkdir -p . 2>/dev/null; then
  43300. - as_mkdir_p=:
  43301. -else
  43302. - test -d ./-p && rmdir ./-p
  43303. - as_mkdir_p=false
  43304. -fi
  43305. +# The commands to extract the exported symbol list from a shared archive.
  43306. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  43307. -if test -x / >/dev/null 2>&1; then
  43308. - as_test_x='test -x'
  43309. -else
  43310. - if ls -dL / >/dev/null 2>&1; then
  43311. - as_ls_L_option=L
  43312. - else
  43313. - as_ls_L_option=
  43314. - fi
  43315. - as_test_x='
  43316. - eval sh -c '\''
  43317. - if test -d "$1"; then
  43318. - test -d "$1/.";
  43319. - else
  43320. - case $1 in
  43321. - -*)set "./$1";;
  43322. - esac;
  43323. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  43324. - ???[sx]*):;;*)false;;esac;fi
  43325. - '\'' sh
  43326. - '
  43327. -fi
  43328. -as_executable_p=$as_test_x
  43329. +# Variables whose values should be saved in libtool wrapper scripts and
  43330. +# restored at link time.
  43331. +variables_saved_for_relink=$lt_variables_saved_for_relink
  43332. -# Sed expression to map a string onto a valid CPP name.
  43333. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  43334. +# Do we need the "lib" prefix for modules?
  43335. +need_lib_prefix=$need_lib_prefix
  43336. -# Sed expression to map a string onto a valid variable name.
  43337. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  43338. +# Do we need a version for libraries?
  43339. +need_version=$need_version
  43340. +# Library versioning type.
  43341. +version_type=$version_type
  43342. -exec 6>&1
  43343. +# Shared library runtime path variable.
  43344. +runpath_var=$runpath_var
  43345. -# Save the log message, to keep $[0] and so on meaningful, and to
  43346. -# report actual input values of CONFIG_FILES etc. instead of their
  43347. -# values after options handling.
  43348. -ac_log="
  43349. -This file was extended by $as_me, which was
  43350. -generated by GNU Autoconf 2.61. Invocation command line was
  43351. +# Shared library path variable.
  43352. +shlibpath_var=$shlibpath_var
  43353. - CONFIG_FILES = $CONFIG_FILES
  43354. - CONFIG_HEADERS = $CONFIG_HEADERS
  43355. - CONFIG_LINKS = $CONFIG_LINKS
  43356. - CONFIG_COMMANDS = $CONFIG_COMMANDS
  43357. - $ $0 $@
  43358. +# Is shlibpath searched before the hard-coded library search path?
  43359. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  43360. -on `(hostname || uname -n) 2>/dev/null | sed 1q`
  43361. -"
  43362. +# Format of library name prefix.
  43363. +libname_spec=$lt_libname_spec
  43364. -_ACEOF
  43365. +# List of archive names. First name is the real one, the rest are links.
  43366. +# The last name is the one that the linker finds with -lNAME
  43367. +library_names_spec=$lt_library_names_spec
  43368. -cat >>$CONFIG_STATUS <<_ACEOF
  43369. -# Files that config.status was made for.
  43370. -config_files="$ac_config_files"
  43371. -config_headers="$ac_config_headers"
  43372. -config_commands="$ac_config_commands"
  43373. +# The coded name of the library, if different from the real name.
  43374. +soname_spec=$lt_soname_spec
  43375. -_ACEOF
  43376. +# Command to use after installation of a shared archive.
  43377. +postinstall_cmds=$lt_postinstall_cmds
  43378. -cat >>$CONFIG_STATUS <<\_ACEOF
  43379. -ac_cs_usage="\
  43380. -\`$as_me' instantiates files from templates according to the
  43381. -current configuration.
  43382. +# Command to use after uninstallation of a shared archive.
  43383. +postuninstall_cmds=$lt_postuninstall_cmds
  43384. -Usage: $0 [OPTIONS] [FILE]...
  43385. +# Commands used to finish a libtool library installation in a directory.
  43386. +finish_cmds=$lt_finish_cmds
  43387. - -h, --help print this help, then exit
  43388. - -V, --version print version number and configuration settings, then exit
  43389. - -q, --quiet do not print progress messages
  43390. - -d, --debug don't remove temporary files
  43391. - --recheck update $as_me by reconfiguring in the same conditions
  43392. - --file=FILE[:TEMPLATE]
  43393. - instantiate the configuration file FILE
  43394. - --header=FILE[:TEMPLATE]
  43395. - instantiate the configuration header FILE
  43396. +# As "finish_cmds", except a single script fragment to be evaled but
  43397. +# not shown.
  43398. +finish_eval=$lt_finish_eval
  43399. -Configuration files:
  43400. -$config_files
  43401. +# Whether we should hardcode library paths into libraries.
  43402. +hardcode_into_libs=$hardcode_into_libs
  43403. -Configuration headers:
  43404. -$config_headers
  43405. +# Compile-time system search path for libraries.
  43406. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  43407. -Configuration commands:
  43408. -$config_commands
  43409. +# Run-time system search path for libraries.
  43410. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  43411. -Report bugs to <bug-autoconf@gnu.org>."
  43412. +# Whether dlopen is supported.
  43413. +dlopen_support=$enable_dlopen
  43414. -_ACEOF
  43415. -cat >>$CONFIG_STATUS <<_ACEOF
  43416. -ac_cs_version="\\
  43417. -config.status
  43418. -configured by $0, generated by GNU Autoconf 2.61,
  43419. - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  43420. +# Whether dlopen of programs is supported.
  43421. +dlopen_self=$enable_dlopen_self
  43422. -Copyright (C) 2006 Free Software Foundation, Inc.
  43423. -This config.status script is free software; the Free Software Foundation
  43424. -gives unlimited permission to copy, distribute and modify it."
  43425. +# Whether dlopen of statically linked programs is supported.
  43426. +dlopen_self_static=$enable_dlopen_self_static
  43427. -ac_pwd='$ac_pwd'
  43428. -srcdir='$srcdir'
  43429. -INSTALL='$INSTALL'
  43430. -_ACEOF
  43431. +# Commands to strip libraries.
  43432. +old_striplib=$lt_old_striplib
  43433. +striplib=$lt_striplib
  43434. -cat >>$CONFIG_STATUS <<\_ACEOF
  43435. -# If no file are specified by the user, then we need to provide default
  43436. -# value. By we need to know if files were specified by the user.
  43437. -ac_need_defaults=:
  43438. -while test $# != 0
  43439. -do
  43440. - case $1 in
  43441. - --*=*)
  43442. - ac_option=`expr "X$1" : 'X\([^=]*\)='`
  43443. - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  43444. - ac_shift=:
  43445. - ;;
  43446. - *)
  43447. - ac_option=$1
  43448. - ac_optarg=$2
  43449. - ac_shift=shift
  43450. - ;;
  43451. - esac
  43452. - case $ac_option in
  43453. - # Handling of the options.
  43454. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  43455. - ac_cs_recheck=: ;;
  43456. - --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  43457. - echo "$ac_cs_version"; exit ;;
  43458. - --debug | --debu | --deb | --de | --d | -d )
  43459. - debug=: ;;
  43460. - --file | --fil | --fi | --f )
  43461. - $ac_shift
  43462. - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  43463. - ac_need_defaults=false;;
  43464. - --header | --heade | --head | --hea )
  43465. - $ac_shift
  43466. - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  43467. - ac_need_defaults=false;;
  43468. - --he | --h)
  43469. - # Conflict between --help and --header
  43470. - { echo "$as_me: error: ambiguous option: $1
  43471. -Try \`$0 --help' for more information." >&2
  43472. - { (exit 1); exit 1; }; };;
  43473. - --help | --hel | -h )
  43474. - echo "$ac_cs_usage"; exit ;;
  43475. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  43476. - | -silent | --silent | --silen | --sile | --sil | --si | --s)
  43477. - ac_cs_silent=: ;;
  43478. +# The linker used to build libraries.
  43479. +LD=$lt_LD
  43480. - # This is an error.
  43481. - -*) { echo "$as_me: error: unrecognized option: $1
  43482. -Try \`$0 --help' for more information." >&2
  43483. - { (exit 1); exit 1; }; } ;;
  43484. +# Commands used to build an old-style archive.
  43485. +old_archive_cmds=$lt_old_archive_cmds
  43486. - *) ac_config_targets="$ac_config_targets $1"
  43487. - ac_need_defaults=false ;;
  43488. +# A language specific compiler.
  43489. +CC=$lt_compiler
  43490. - esac
  43491. - shift
  43492. -done
  43493. +# Is the compiler the GNU compiler?
  43494. +with_gcc=$GCC
  43495. -ac_configure_extra_args=
  43496. +# Compiler flag to turn off builtin functions.
  43497. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  43498. -if $ac_cs_silent; then
  43499. - exec 6>/dev/null
  43500. - ac_configure_extra_args="$ac_configure_extra_args --silent"
  43501. -fi
  43502. +# How to pass a linker flag through the compiler.
  43503. +wl=$lt_lt_prog_compiler_wl
  43504. -_ACEOF
  43505. -cat >>$CONFIG_STATUS <<_ACEOF
  43506. -if \$ac_cs_recheck; then
  43507. - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  43508. - CONFIG_SHELL=$SHELL
  43509. - export CONFIG_SHELL
  43510. - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  43511. -fi
  43512. +# Additional compiler flags for building library objects.
  43513. +pic_flag=$lt_lt_prog_compiler_pic
  43514. -_ACEOF
  43515. -cat >>$CONFIG_STATUS <<\_ACEOF
  43516. -exec 5>>config.log
  43517. -{
  43518. - echo
  43519. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  43520. -## Running $as_me. ##
  43521. -_ASBOX
  43522. - echo "$ac_log"
  43523. -} >&5
  43524. +# Compiler flag to prevent dynamic linking.
  43525. +link_static_flag=$lt_lt_prog_compiler_static
  43526. -_ACEOF
  43527. -cat >>$CONFIG_STATUS <<_ACEOF
  43528. -#
  43529. -# INIT-COMMANDS
  43530. -#
  43531. -AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  43532. +# Does compiler simultaneously support -c and -o options?
  43533. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  43534. -_ACEOF
  43535. +# Whether or not to add -lc for building shared libraries.
  43536. +build_libtool_need_lc=$archive_cmds_need_lc
  43537. -cat >>$CONFIG_STATUS <<\_ACEOF
  43538. +# Whether or not to disallow shared libs when runtime libs are static.
  43539. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  43540. -# Handling of arguments.
  43541. -for ac_config_target in $ac_config_targets
  43542. -do
  43543. - case $ac_config_target in
  43544. - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  43545. - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  43546. - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  43547. - "libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES libspeex/Makefile" ;;
  43548. - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  43549. - "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  43550. - "Speex.spec") CONFIG_FILES="$CONFIG_FILES Speex.spec" ;;
  43551. - "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  43552. - "include/speex/Makefile") CONFIG_FILES="$CONFIG_FILES include/speex/Makefile" ;;
  43553. - "speex.pc") CONFIG_FILES="$CONFIG_FILES speex.pc" ;;
  43554. - "speexdsp.pc") CONFIG_FILES="$CONFIG_FILES speexdsp.pc" ;;
  43555. - "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
  43556. - "win32/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/libspeex/Makefile" ;;
  43557. - "win32/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/speexenc/Makefile" ;;
  43558. - "win32/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/speexdec/Makefile" ;;
  43559. - "symbian/Makefile") CONFIG_FILES="$CONFIG_FILES symbian/Makefile" ;;
  43560. - "win32/VS2003/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/Makefile" ;;
  43561. - "win32/VS2003/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/tests/Makefile" ;;
  43562. - "win32/VS2003/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeex/Makefile" ;;
  43563. - "win32/VS2003/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeexdsp/Makefile" ;;
  43564. - "win32/VS2003/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/speexdec/Makefile" ;;
  43565. - "win32/VS2003/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/speexenc/Makefile" ;;
  43566. - "win32/VS2005/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/Makefile" ;;
  43567. - "win32/VS2005/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeex/Makefile" ;;
  43568. - "win32/VS2005/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/speexdec/Makefile" ;;
  43569. - "win32/VS2005/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/speexenc/Makefile" ;;
  43570. - "win32/VS2005/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeexdsp/Makefile" ;;
  43571. - "win32/VS2005/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/tests/Makefile" ;;
  43572. - "win32/VS2008/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeexdsp/Makefile" ;;
  43573. - "win32/VS2008/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/Makefile" ;;
  43574. - "win32/VS2008/speexdec/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/speexdec/Makefile" ;;
  43575. - "win32/VS2008/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/tests/Makefile" ;;
  43576. - "win32/VS2008/libspeex/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeex/Makefile" ;;
  43577. - "win32/VS2008/speexenc/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/speexenc/Makefile" ;;
  43578. - "include/speex/speex_config_types.h") CONFIG_FILES="$CONFIG_FILES include/speex/speex_config_types.h" ;;
  43579. - "ti/Makefile") CONFIG_FILES="$CONFIG_FILES ti/Makefile" ;;
  43580. - "ti/speex_C54_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C54_test/Makefile" ;;
  43581. - "ti/speex_C55_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C55_test/Makefile" ;;
  43582. - "ti/speex_C64_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C64_test/Makefile" ;;
  43583. +# Compiler flag to allow reflexive dlopens.
  43584. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  43585. - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  43586. -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  43587. - { (exit 1); exit 1; }; };;
  43588. - esac
  43589. -done
  43590. +# Compiler flag to generate shared objects directly from archives.
  43591. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  43592. +# Whether the compiler copes with passing no objects directly.
  43593. +compiler_needs_object=$lt_compiler_needs_object
  43594. -# If the user did not use the arguments to specify the items to instantiate,
  43595. -# then the envvar interface is used. Set only those that are not.
  43596. -# We use the long form for the default assignment because of an extremely
  43597. -# bizarre bug on SunOS 4.1.3.
  43598. -if $ac_need_defaults; then
  43599. - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  43600. - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  43601. - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  43602. -fi
  43603. +# Create an old-style archive from a shared archive.
  43604. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  43605. -# Have a temporary directory for convenience. Make it in the build tree
  43606. -# simply because there is no reason against having it here, and in addition,
  43607. -# creating and moving files from /tmp can sometimes cause problems.
  43608. -# Hook for its removal unless debugging.
  43609. -# Note that there is a small window in which the directory will not be cleaned:
  43610. -# after its creation but before its name has been assigned to `$tmp'.
  43611. -$debug ||
  43612. -{
  43613. - tmp=
  43614. - trap 'exit_status=$?
  43615. - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  43616. -' 0
  43617. - trap '{ (exit 1); exit 1; }' 1 2 13 15
  43618. -}
  43619. -# Create a (secure) tmp directory for tmp files.
  43620. +# Create a temporary old-style archive to link instead of a shared archive.
  43621. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  43622. -{
  43623. - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  43624. - test -n "$tmp" && test -d "$tmp"
  43625. -} ||
  43626. -{
  43627. - tmp=./conf$$-$RANDOM
  43628. - (umask 077 && mkdir "$tmp")
  43629. -} ||
  43630. -{
  43631. - echo "$me: cannot create a temporary directory in ." >&2
  43632. - { (exit 1); exit 1; }
  43633. -}
  43634. +# Commands used to build a shared archive.
  43635. +archive_cmds=$lt_archive_cmds
  43636. +archive_expsym_cmds=$lt_archive_expsym_cmds
  43637. -#
  43638. -# Set up the sed scripts for CONFIG_FILES section.
  43639. -#
  43640. +# Commands used to build a loadable module if different from building
  43641. +# a shared archive.
  43642. +module_cmds=$lt_module_cmds
  43643. +module_expsym_cmds=$lt_module_expsym_cmds
  43644. -# No need to generate the scripts if there are no CONFIG_FILES.
  43645. -# This happens for instance when ./config.status config.h
  43646. -if test -n "$CONFIG_FILES"; then
  43647. +# Whether we are building with GNU ld or not.
  43648. +with_gnu_ld=$lt_with_gnu_ld
  43649. -_ACEOF
  43650. +# Flag that allows shared libraries with undefined symbols to be built.
  43651. +allow_undefined_flag=$lt_allow_undefined_flag
  43652. +# Flag that enforces no undefined symbols.
  43653. +no_undefined_flag=$lt_no_undefined_flag
  43654. +# Flag to hardcode \$libdir into a binary during linking.
  43655. +# This must work even if \$libdir does not exist
  43656. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  43657. -ac_delim='%!_!# '
  43658. -for ac_last_try in false false false false false :; do
  43659. - cat >conf$$subs.sed <<_ACEOF
  43660. -SHELL!$SHELL$ac_delim
  43661. -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  43662. -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  43663. -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  43664. -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  43665. -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  43666. -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  43667. -exec_prefix!$exec_prefix$ac_delim
  43668. -prefix!$prefix$ac_delim
  43669. -program_transform_name!$program_transform_name$ac_delim
  43670. -bindir!$bindir$ac_delim
  43671. -sbindir!$sbindir$ac_delim
  43672. -libexecdir!$libexecdir$ac_delim
  43673. -datarootdir!$datarootdir$ac_delim
  43674. -datadir!$datadir$ac_delim
  43675. -sysconfdir!$sysconfdir$ac_delim
  43676. -sharedstatedir!$sharedstatedir$ac_delim
  43677. -localstatedir!$localstatedir$ac_delim
  43678. -includedir!$includedir$ac_delim
  43679. -oldincludedir!$oldincludedir$ac_delim
  43680. -docdir!$docdir$ac_delim
  43681. -infodir!$infodir$ac_delim
  43682. -htmldir!$htmldir$ac_delim
  43683. -dvidir!$dvidir$ac_delim
  43684. -pdfdir!$pdfdir$ac_delim
  43685. -psdir!$psdir$ac_delim
  43686. -libdir!$libdir$ac_delim
  43687. -localedir!$localedir$ac_delim
  43688. -mandir!$mandir$ac_delim
  43689. -DEFS!$DEFS$ac_delim
  43690. -ECHO_C!$ECHO_C$ac_delim
  43691. -ECHO_N!$ECHO_N$ac_delim
  43692. -ECHO_T!$ECHO_T$ac_delim
  43693. -LIBS!$LIBS$ac_delim
  43694. -build_alias!$build_alias$ac_delim
  43695. -host_alias!$host_alias$ac_delim
  43696. -target_alias!$target_alias$ac_delim
  43697. -SPEEX_LT_CURRENT!$SPEEX_LT_CURRENT$ac_delim
  43698. -SPEEX_LT_REVISION!$SPEEX_LT_REVISION$ac_delim
  43699. -SPEEX_LT_AGE!$SPEEX_LT_AGE$ac_delim
  43700. -SPEEX_VERSION!$SPEEX_VERSION$ac_delim
  43701. -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  43702. -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  43703. -INSTALL_DATA!$INSTALL_DATA$ac_delim
  43704. -CYGPATH_W!$CYGPATH_W$ac_delim
  43705. -PACKAGE!$PACKAGE$ac_delim
  43706. -VERSION!$VERSION$ac_delim
  43707. -ACLOCAL!$ACLOCAL$ac_delim
  43708. -AUTOCONF!$AUTOCONF$ac_delim
  43709. -AUTOMAKE!$AUTOMAKE$ac_delim
  43710. -AUTOHEADER!$AUTOHEADER$ac_delim
  43711. -MAKEINFO!$MAKEINFO$ac_delim
  43712. -AMTAR!$AMTAR$ac_delim
  43713. -install_sh!$install_sh$ac_delim
  43714. -STRIP!$STRIP$ac_delim
  43715. -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  43716. -mkdir_p!$mkdir_p$ac_delim
  43717. -AWK!$AWK$ac_delim
  43718. -SET_MAKE!$SET_MAKE$ac_delim
  43719. -am__leading_dot!$am__leading_dot$ac_delim
  43720. -MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
  43721. -MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
  43722. -MAINT!$MAINT$ac_delim
  43723. -build!$build$ac_delim
  43724. -build_cpu!$build_cpu$ac_delim
  43725. -build_vendor!$build_vendor$ac_delim
  43726. -build_os!$build_os$ac_delim
  43727. -host!$host$ac_delim
  43728. -host_cpu!$host_cpu$ac_delim
  43729. -host_vendor!$host_vendor$ac_delim
  43730. -host_os!$host_os$ac_delim
  43731. -CC!$CC$ac_delim
  43732. -CFLAGS!$CFLAGS$ac_delim
  43733. -LDFLAGS!$LDFLAGS$ac_delim
  43734. -CPPFLAGS!$CPPFLAGS$ac_delim
  43735. -ac_ct_CC!$ac_ct_CC$ac_delim
  43736. -EXEEXT!$EXEEXT$ac_delim
  43737. -OBJEXT!$OBJEXT$ac_delim
  43738. -DEPDIR!$DEPDIR$ac_delim
  43739. -am__include!$am__include$ac_delim
  43740. -am__quote!$am__quote$ac_delim
  43741. -AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  43742. -AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  43743. -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  43744. -CCDEPMODE!$CCDEPMODE$ac_delim
  43745. -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  43746. -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  43747. -SED!$SED$ac_delim
  43748. -GREP!$GREP$ac_delim
  43749. -EGREP!$EGREP$ac_delim
  43750. -LN_S!$LN_S$ac_delim
  43751. -ECHO!$ECHO$ac_delim
  43752. -AR!$AR$ac_delim
  43753. -RANLIB!$RANLIB$ac_delim
  43754. -DSYMUTIL!$DSYMUTIL$ac_delim
  43755. -NMEDIT!$NMEDIT$ac_delim
  43756. -DLLTOOL!$DLLTOOL$ac_delim
  43757. -_ACEOF
  43758. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  43759. +# during linking. This must work even if \$libdir does not exist.
  43760. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  43761. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  43762. - break
  43763. - elif $ac_last_try; then
  43764. - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  43765. -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  43766. - { (exit 1); exit 1; }; }
  43767. - else
  43768. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  43769. - fi
  43770. -done
  43771. +# Whether we need a single "-rpath" flag with a separated argument.
  43772. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  43773. -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  43774. -if test -n "$ac_eof"; then
  43775. - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  43776. - ac_eof=`expr $ac_eof + 1`
  43777. -fi
  43778. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  43779. +# DIR into the resulting binary.
  43780. +hardcode_direct=$hardcode_direct
  43781. -cat >>$CONFIG_STATUS <<_ACEOF
  43782. -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  43783. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  43784. -_ACEOF
  43785. -sed '
  43786. -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  43787. -s/^/s,@/; s/!/@,|#_!!_#|/
  43788. -:n
  43789. -t n
  43790. -s/'"$ac_delim"'$/,g/; t
  43791. -s/$/\\/; p
  43792. -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  43793. -' >>$CONFIG_STATUS <conf$$subs.sed
  43794. -rm -f conf$$subs.sed
  43795. -cat >>$CONFIG_STATUS <<_ACEOF
  43796. -CEOF$ac_eof
  43797. -_ACEOF
  43798. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  43799. +# DIR into the resulting binary and the resulting library dependency is
  43800. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  43801. +# library is relocated.
  43802. +hardcode_direct_absolute=$hardcode_direct_absolute
  43803. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  43804. +# into the resulting binary.
  43805. +hardcode_minus_L=$hardcode_minus_L
  43806. -ac_delim='%!_!# '
  43807. -for ac_last_try in false false false false false :; do
  43808. - cat >conf$$subs.sed <<_ACEOF
  43809. -AS!$AS$ac_delim
  43810. -OBJDUMP!$OBJDUMP$ac_delim
  43811. -CPP!$CPP$ac_delim
  43812. -CXX!$CXX$ac_delim
  43813. -CXXFLAGS!$CXXFLAGS$ac_delim
  43814. -ac_ct_CXX!$ac_ct_CXX$ac_delim
  43815. -CXXDEPMODE!$CXXDEPMODE$ac_delim
  43816. -am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
  43817. -am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
  43818. -CXXCPP!$CXXCPP$ac_delim
  43819. -F77!$F77$ac_delim
  43820. -FFLAGS!$FFLAGS$ac_delim
  43821. -ac_ct_F77!$ac_ct_F77$ac_delim
  43822. -LIBTOOL!$LIBTOOL$ac_delim
  43823. -OGG_CFLAGS!$OGG_CFLAGS$ac_delim
  43824. -OGG_LIBS!$OGG_LIBS$ac_delim
  43825. -src!$src$ac_delim
  43826. -LIBOBJS!$LIBOBJS$ac_delim
  43827. -PKG_CONFIG!$PKG_CONFIG$ac_delim
  43828. -FFT_CFLAGS!$FFT_CFLAGS$ac_delim
  43829. -FFT_LIBS!$FFT_LIBS$ac_delim
  43830. -BUILD_KISS_FFT_TRUE!$BUILD_KISS_FFT_TRUE$ac_delim
  43831. -BUILD_KISS_FFT_FALSE!$BUILD_KISS_FFT_FALSE$ac_delim
  43832. -BUILD_SMALLFT_TRUE!$BUILD_SMALLFT_TRUE$ac_delim
  43833. -BUILD_SMALLFT_FALSE!$BUILD_SMALLFT_FALSE$ac_delim
  43834. -FFT_PKGCONFIG!$FFT_PKGCONFIG$ac_delim
  43835. -SIZE16!$SIZE16$ac_delim
  43836. -SIZE32!$SIZE32$ac_delim
  43837. -LTLIBOBJS!$LTLIBOBJS$ac_delim
  43838. -_ACEOF
  43839. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  43840. +# into the resulting binary.
  43841. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  43842. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then
  43843. - break
  43844. - elif $ac_last_try; then
  43845. - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  43846. -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  43847. - { (exit 1); exit 1; }; }
  43848. - else
  43849. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  43850. - fi
  43851. -done
  43852. +# Set to "yes" if building a shared library automatically hardcodes DIR
  43853. +# into the library and all subsequent libraries and executables linked
  43854. +# against it.
  43855. +hardcode_automatic=$hardcode_automatic
  43856. -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  43857. -if test -n "$ac_eof"; then
  43858. - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  43859. - ac_eof=`expr $ac_eof + 1`
  43860. -fi
  43861. -
  43862. -cat >>$CONFIG_STATUS <<_ACEOF
  43863. -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  43864. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  43865. -_ACEOF
  43866. -sed '
  43867. -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  43868. -s/^/s,@/; s/!/@,|#_!!_#|/
  43869. -:n
  43870. -t n
  43871. -s/'"$ac_delim"'$/,g/; t
  43872. -s/$/\\/; p
  43873. -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  43874. -' >>$CONFIG_STATUS <conf$$subs.sed
  43875. -rm -f conf$$subs.sed
  43876. -cat >>$CONFIG_STATUS <<_ACEOF
  43877. -:end
  43878. -s/|#_!!_#|//g
  43879. -CEOF$ac_eof
  43880. -_ACEOF
  43881. +# Set to yes if linker adds runtime paths of dependent libraries
  43882. +# to runtime path list.
  43883. +inherit_rpath=$inherit_rpath
  43884. +# Whether libtool must link a program against all its dependency libraries.
  43885. +link_all_deplibs=$link_all_deplibs
  43886. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  43887. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  43888. -# trailing colons and then remove the whole line if VPATH becomes empty
  43889. -# (actually we leave an empty line to preserve line numbers).
  43890. -if test "x$srcdir" = x.; then
  43891. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  43892. -s/:*\$(srcdir):*/:/
  43893. -s/:*\${srcdir}:*/:/
  43894. -s/:*@srcdir@:*/:/
  43895. -s/^\([^=]*=[ ]*\):*/\1/
  43896. -s/:*$//
  43897. -s/^[^=]*=[ ]*$//
  43898. -}'
  43899. -fi
  43900. +# Fix the shell variable \$srcfile for the compiler.
  43901. +fix_srcfile_path=$lt_fix_srcfile_path
  43902. -cat >>$CONFIG_STATUS <<\_ACEOF
  43903. -fi # test -n "$CONFIG_FILES"
  43904. +# Set to "yes" if exported symbols are required.
  43905. +always_export_symbols=$always_export_symbols
  43906. +# The commands to list exported symbols.
  43907. +export_symbols_cmds=$lt_export_symbols_cmds
  43908. -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
  43909. -do
  43910. - case $ac_tag in
  43911. - :[FHLC]) ac_mode=$ac_tag; continue;;
  43912. - esac
  43913. - case $ac_mode$ac_tag in
  43914. - :[FHL]*:*);;
  43915. - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  43916. -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  43917. - { (exit 1); exit 1; }; };;
  43918. - :[FH]-) ac_tag=-:-;;
  43919. - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  43920. - esac
  43921. - ac_save_IFS=$IFS
  43922. - IFS=:
  43923. - set x $ac_tag
  43924. - IFS=$ac_save_IFS
  43925. - shift
  43926. - ac_file=$1
  43927. - shift
  43928. +# Symbols that should not be listed in the preloaded symbols.
  43929. +exclude_expsyms=$lt_exclude_expsyms
  43930. - case $ac_mode in
  43931. - :L) ac_source=$1;;
  43932. - :[FH])
  43933. - ac_file_inputs=
  43934. - for ac_f
  43935. - do
  43936. - case $ac_f in
  43937. - -) ac_f="$tmp/stdin";;
  43938. - *) # Look for the file first in the build tree, then in the source tree
  43939. - # (if the path is not absolute). The absolute path cannot be DOS-style,
  43940. - # because $ac_f cannot contain `:'.
  43941. - test -f "$ac_f" ||
  43942. - case $ac_f in
  43943. - [\\/$]*) false;;
  43944. - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  43945. - esac ||
  43946. - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  43947. -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  43948. - { (exit 1); exit 1; }; };;
  43949. - esac
  43950. - ac_file_inputs="$ac_file_inputs $ac_f"
  43951. - done
  43952. +# Symbols that must always be exported.
  43953. +include_expsyms=$lt_include_expsyms
  43954. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  43955. - # use $as_me), people would be surprised to read:
  43956. - # /* config.h. Generated by config.status. */
  43957. - configure_input="Generated from "`IFS=:
  43958. - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  43959. - if test x"$ac_file" != x-; then
  43960. - configure_input="$ac_file. $configure_input"
  43961. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  43962. -echo "$as_me: creating $ac_file" >&6;}
  43963. - fi
  43964. +# Commands necessary for linking programs (against libraries) with templates.
  43965. +prelink_cmds=$lt_prelink_cmds
  43966. - case $ac_tag in
  43967. - *:-:* | *:-) cat >"$tmp/stdin";;
  43968. - esac
  43969. - ;;
  43970. - esac
  43971. +# Specify filename containing input files.
  43972. +file_list_spec=$lt_file_list_spec
  43973. - ac_dir=`$as_dirname -- "$ac_file" ||
  43974. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  43975. - X"$ac_file" : 'X\(//\)[^/]' \| \
  43976. - X"$ac_file" : 'X\(//\)$' \| \
  43977. - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  43978. -echo X"$ac_file" |
  43979. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  43980. - s//\1/
  43981. - q
  43982. - }
  43983. - /^X\(\/\/\)[^/].*/{
  43984. - s//\1/
  43985. - q
  43986. - }
  43987. - /^X\(\/\/\)$/{
  43988. - s//\1/
  43989. - q
  43990. - }
  43991. - /^X\(\/\).*/{
  43992. - s//\1/
  43993. - q
  43994. - }
  43995. - s/.*/./; q'`
  43996. - { as_dir="$ac_dir"
  43997. - case $as_dir in #(
  43998. - -*) as_dir=./$as_dir;;
  43999. - esac
  44000. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  44001. - as_dirs=
  44002. - while :; do
  44003. - case $as_dir in #(
  44004. - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  44005. - *) as_qdir=$as_dir;;
  44006. - esac
  44007. - as_dirs="'$as_qdir' $as_dirs"
  44008. - as_dir=`$as_dirname -- "$as_dir" ||
  44009. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  44010. - X"$as_dir" : 'X\(//\)[^/]' \| \
  44011. - X"$as_dir" : 'X\(//\)$' \| \
  44012. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  44013. -echo X"$as_dir" |
  44014. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  44015. - s//\1/
  44016. - q
  44017. - }
  44018. - /^X\(\/\/\)[^/].*/{
  44019. - s//\1/
  44020. - q
  44021. - }
  44022. - /^X\(\/\/\)$/{
  44023. - s//\1/
  44024. - q
  44025. - }
  44026. - /^X\(\/\).*/{
  44027. - s//\1/
  44028. - q
  44029. - }
  44030. - s/.*/./; q'`
  44031. - test -d "$as_dir" && break
  44032. - done
  44033. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  44034. - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  44035. -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  44036. - { (exit 1); exit 1; }; }; }
  44037. - ac_builddir=.
  44038. +# How to hardcode a shared library path into an executable.
  44039. +hardcode_action=$hardcode_action
  44040. -case "$ac_dir" in
  44041. -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  44042. -*)
  44043. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  44044. - # A ".." for each directory in $ac_dir_suffix.
  44045. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  44046. - case $ac_top_builddir_sub in
  44047. - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  44048. - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  44049. - esac ;;
  44050. -esac
  44051. -ac_abs_top_builddir=$ac_pwd
  44052. -ac_abs_builddir=$ac_pwd$ac_dir_suffix
  44053. -# for backward compatibility:
  44054. -ac_top_builddir=$ac_top_build_prefix
  44055. +# ### END LIBTOOL CONFIG
  44056. -case $srcdir in
  44057. - .) # We are building in place.
  44058. - ac_srcdir=.
  44059. - ac_top_srcdir=$ac_top_builddir_sub
  44060. - ac_abs_top_srcdir=$ac_pwd ;;
  44061. - [\\/]* | ?:[\\/]* ) # Absolute name.
  44062. - ac_srcdir=$srcdir$ac_dir_suffix;
  44063. - ac_top_srcdir=$srcdir
  44064. - ac_abs_top_srcdir=$srcdir ;;
  44065. - *) # Relative name.
  44066. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  44067. - ac_top_srcdir=$ac_top_build_prefix$srcdir
  44068. - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  44069. -esac
  44070. -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  44071. +_LT_EOF
  44072. +
  44073. + case $host_os in
  44074. + aix3*)
  44075. + cat <<\_LT_EOF >> "$cfgfile"
  44076. +# AIX sometimes has problems with the GCC collect2 program. For some
  44077. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  44078. +# vanish in a puff of smoke.
  44079. +if test "X${COLLECT_NAMES+set}" != Xset; then
  44080. + COLLECT_NAMES=
  44081. + export COLLECT_NAMES
  44082. +fi
  44083. +_LT_EOF
  44084. + ;;
  44085. + esac
  44086. - case $ac_mode in
  44087. - :F)
  44088. - #
  44089. - # CONFIG_FILE
  44090. - #
  44091. +ltmain="$ac_aux_dir/ltmain.sh"
  44092. - case $INSTALL in
  44093. - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  44094. - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  44095. +
  44096. + # We use sed instead of cat because bash on DJGPP gets confused if
  44097. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  44098. + # text mode, it properly converts lines to CR/LF. This bash problem
  44099. + # is reportedly fixed, but why not run on old versions too?
  44100. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  44101. + || (rm -f "$cfgfile"; exit 1)
  44102. +
  44103. + case $xsi_shell in
  44104. + yes)
  44105. + cat << \_LT_EOF >> "$cfgfile"
  44106. +
  44107. +# func_dirname file append nondir_replacement
  44108. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  44109. +# otherwise set result to NONDIR_REPLACEMENT.
  44110. +func_dirname ()
  44111. +{
  44112. + case ${1} in
  44113. + */*) func_dirname_result="${1%/*}${2}" ;;
  44114. + * ) func_dirname_result="${3}" ;;
  44115. esac
  44116. -_ACEOF
  44117. +}
  44118. -cat >>$CONFIG_STATUS <<\_ACEOF
  44119. -# If the template does not know about datarootdir, expand it.
  44120. -# FIXME: This hack should be removed a few years after 2.60.
  44121. -ac_datarootdir_hack=; ac_datarootdir_seen=
  44122. +# func_basename file
  44123. +func_basename ()
  44124. +{
  44125. + func_basename_result="${1##*/}"
  44126. +}
  44127. -case `sed -n '/datarootdir/ {
  44128. - p
  44129. - q
  44130. +# func_dirname_and_basename file append nondir_replacement
  44131. +# perform func_basename and func_dirname in a single function
  44132. +# call:
  44133. +# dirname: Compute the dirname of FILE. If nonempty,
  44134. +# add APPEND to the result, otherwise set result
  44135. +# to NONDIR_REPLACEMENT.
  44136. +# value returned in "$func_dirname_result"
  44137. +# basename: Compute filename of FILE.
  44138. +# value retuned in "$func_basename_result"
  44139. +# Implementation must be kept synchronized with func_dirname
  44140. +# and func_basename. For efficiency, we do not delegate to
  44141. +# those functions but instead duplicate the functionality here.
  44142. +func_dirname_and_basename ()
  44143. +{
  44144. + case ${1} in
  44145. + */*) func_dirname_result="${1%/*}${2}" ;;
  44146. + * ) func_dirname_result="${3}" ;;
  44147. + esac
  44148. + func_basename_result="${1##*/}"
  44149. }
  44150. -/@datadir@/p
  44151. -/@docdir@/p
  44152. -/@infodir@/p
  44153. -/@localedir@/p
  44154. -/@mandir@/p
  44155. -' $ac_file_inputs` in
  44156. -*datarootdir*) ac_datarootdir_seen=yes;;
  44157. -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  44158. - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  44159. -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  44160. -_ACEOF
  44161. -cat >>$CONFIG_STATUS <<_ACEOF
  44162. - ac_datarootdir_hack='
  44163. - s&@datadir@&$datadir&g
  44164. - s&@docdir@&$docdir&g
  44165. - s&@infodir@&$infodir&g
  44166. - s&@localedir@&$localedir&g
  44167. - s&@mandir@&$mandir&g
  44168. - s&\\\${datarootdir}&$datarootdir&g' ;;
  44169. -esac
  44170. -_ACEOF
  44171. -# Neutralize VPATH when `$srcdir' = `.'.
  44172. -# Shell code in configure.ac might set extrasub.
  44173. -# FIXME: do we really want to maintain this feature?
  44174. -cat >>$CONFIG_STATUS <<_ACEOF
  44175. - sed "$ac_vpsub
  44176. -$extrasub
  44177. -_ACEOF
  44178. -cat >>$CONFIG_STATUS <<\_ACEOF
  44179. -:t
  44180. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  44181. -s&@configure_input@&$configure_input&;t t
  44182. -s&@top_builddir@&$ac_top_builddir_sub&;t t
  44183. -s&@srcdir@&$ac_srcdir&;t t
  44184. -s&@abs_srcdir@&$ac_abs_srcdir&;t t
  44185. -s&@top_srcdir@&$ac_top_srcdir&;t t
  44186. -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  44187. -s&@builddir@&$ac_builddir&;t t
  44188. -s&@abs_builddir@&$ac_abs_builddir&;t t
  44189. -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  44190. -s&@INSTALL@&$ac_INSTALL&;t t
  44191. -$ac_datarootdir_hack
  44192. -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  44193. +# func_stripname prefix suffix name
  44194. +# strip PREFIX and SUFFIX off of NAME.
  44195. +# PREFIX and SUFFIX must not contain globbing or regex special
  44196. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  44197. +# dot (in which case that matches only a dot).
  44198. +func_stripname ()
  44199. +{
  44200. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  44201. + # positional parameters, so assign one to ordinary parameter first.
  44202. + func_stripname_result=${3}
  44203. + func_stripname_result=${func_stripname_result#"${1}"}
  44204. + func_stripname_result=${func_stripname_result%"${2}"}
  44205. +}
  44206. -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  44207. - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  44208. - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  44209. - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  44210. -which seems to be undefined. Please make sure it is defined." >&5
  44211. -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  44212. -which seems to be undefined. Please make sure it is defined." >&2;}
  44213. +# func_opt_split
  44214. +func_opt_split ()
  44215. +{
  44216. + func_opt_split_opt=${1%%=*}
  44217. + func_opt_split_arg=${1#*=}
  44218. +}
  44219. - rm -f "$tmp/stdin"
  44220. - case $ac_file in
  44221. - -) cat "$tmp/out"; rm -f "$tmp/out";;
  44222. - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  44223. +# func_lo2o object
  44224. +func_lo2o ()
  44225. +{
  44226. + case ${1} in
  44227. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  44228. + *) func_lo2o_result=${1} ;;
  44229. esac
  44230. - ;;
  44231. - :H)
  44232. - #
  44233. - # CONFIG_HEADER
  44234. - #
  44235. -_ACEOF
  44236. +}
  44237. -# Transform confdefs.h into a sed script `conftest.defines', that
  44238. -# substitutes the proper values into config.h.in to produce config.h.
  44239. -rm -f conftest.defines conftest.tail
  44240. -# First, append a space to every undef/define line, to ease matching.
  44241. -echo 's/$/ /' >conftest.defines
  44242. -# Then, protect against being on the right side of a sed subst, or in
  44243. -# an unquoted here document, in config.status. If some macros were
  44244. -# called several times there might be several #defines for the same
  44245. -# symbol, which is useless. But do not sort them, since the last
  44246. -# AC_DEFINE must be honored.
  44247. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  44248. -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  44249. -# NAME is the cpp macro being defined, VALUE is the value it is being given.
  44250. -# PARAMS is the parameter list in the macro definition--in most cases, it's
  44251. -# just an empty string.
  44252. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  44253. -ac_dB='\\)[ (].*,\\1define\\2'
  44254. -ac_dC=' '
  44255. -ac_dD=' ,'
  44256. +# func_xform libobj-or-source
  44257. +func_xform ()
  44258. +{
  44259. + func_xform_result=${1%.*}.lo
  44260. +}
  44261. -uniq confdefs.h |
  44262. - sed -n '
  44263. - t rset
  44264. - :rset
  44265. - s/^[ ]*#[ ]*define[ ][ ]*//
  44266. - t ok
  44267. - d
  44268. - :ok
  44269. - s/[\\&,]/\\&/g
  44270. - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  44271. - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  44272. - ' >>conftest.defines
  44273. -
  44274. -# Remove the space that was appended to ease matching.
  44275. -# Then replace #undef with comments. This is necessary, for
  44276. -# example, in the case of _POSIX_SOURCE, which is predefined and required
  44277. -# on some systems where configure will not decide to define it.
  44278. -# (The regexp can be short, since the line contains either #define or #undef.)
  44279. -echo 's/ $//
  44280. -s,^[ #]*u.*,/* & */,' >>conftest.defines
  44281. -
  44282. -# Break up conftest.defines:
  44283. -ac_max_sed_lines=50
  44284. -
  44285. -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  44286. -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  44287. -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  44288. -# et cetera.
  44289. -ac_in='$ac_file_inputs'
  44290. -ac_out='"$tmp/out1"'
  44291. -ac_nxt='"$tmp/out2"'
  44292. +# func_arith arithmetic-term...
  44293. +func_arith ()
  44294. +{
  44295. + func_arith_result=$(( $* ))
  44296. +}
  44297. -while :
  44298. -do
  44299. - # Write a here document:
  44300. - cat >>$CONFIG_STATUS <<_ACEOF
  44301. - # First, check the format of the line:
  44302. - cat >"\$tmp/defines.sed" <<\\CEOF
  44303. -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  44304. -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  44305. -b
  44306. -:def
  44307. -_ACEOF
  44308. - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  44309. - echo 'CEOF
  44310. - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  44311. - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  44312. - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  44313. - grep . conftest.tail >/dev/null || break
  44314. - rm -f conftest.defines
  44315. - mv conftest.tail conftest.defines
  44316. -done
  44317. -rm -f conftest.defines conftest.tail
  44318. +# func_len string
  44319. +# STRING may not start with a hyphen.
  44320. +func_len ()
  44321. +{
  44322. + func_len_result=${#1}
  44323. +}
  44324. -echo "ac_result=$ac_in" >>$CONFIG_STATUS
  44325. -cat >>$CONFIG_STATUS <<\_ACEOF
  44326. - if test x"$ac_file" != x-; then
  44327. - echo "/* $configure_input */" >"$tmp/config.h"
  44328. - cat "$ac_result" >>"$tmp/config.h"
  44329. - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  44330. - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  44331. -echo "$as_me: $ac_file is unchanged" >&6;}
  44332. - else
  44333. - rm -f $ac_file
  44334. - mv "$tmp/config.h" $ac_file
  44335. - fi
  44336. +_LT_EOF
  44337. + ;;
  44338. + *) # Bourne compatible functions.
  44339. + cat << \_LT_EOF >> "$cfgfile"
  44340. +
  44341. +# func_dirname file append nondir_replacement
  44342. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  44343. +# otherwise set result to NONDIR_REPLACEMENT.
  44344. +func_dirname ()
  44345. +{
  44346. + # Extract subdirectory from the argument.
  44347. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  44348. + if test "X$func_dirname_result" = "X${1}"; then
  44349. + func_dirname_result="${3}"
  44350. else
  44351. - echo "/* $configure_input */"
  44352. - cat "$ac_result"
  44353. + func_dirname_result="$func_dirname_result${2}"
  44354. fi
  44355. - rm -f "$tmp/out12"
  44356. -# Compute $ac_file's index in $config_headers.
  44357. -_am_stamp_count=1
  44358. -for _am_header in $config_headers :; do
  44359. - case $_am_header in
  44360. - $ac_file | $ac_file:* )
  44361. - break ;;
  44362. - * )
  44363. - _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  44364. - esac
  44365. -done
  44366. -echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  44367. -$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  44368. - X$ac_file : 'X\(//\)[^/]' \| \
  44369. - X$ac_file : 'X\(//\)$' \| \
  44370. - X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  44371. -echo X$ac_file |
  44372. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  44373. - s//\1/
  44374. - q
  44375. - }
  44376. - /^X\(\/\/\)[^/].*/{
  44377. - s//\1/
  44378. - q
  44379. - }
  44380. - /^X\(\/\/\)$/{
  44381. - s//\1/
  44382. - q
  44383. - }
  44384. - /^X\(\/\).*/{
  44385. - s//\1/
  44386. - q
  44387. - }
  44388. - s/.*/./; q'`/stamp-h$_am_stamp_count
  44389. - ;;
  44390. +}
  44391. - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  44392. -echo "$as_me: executing $ac_file commands" >&6;}
  44393. - ;;
  44394. +# func_basename file
  44395. +func_basename ()
  44396. +{
  44397. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  44398. +}
  44399. +
  44400. +
  44401. +# func_stripname prefix suffix name
  44402. +# strip PREFIX and SUFFIX off of NAME.
  44403. +# PREFIX and SUFFIX must not contain globbing or regex special
  44404. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  44405. +# dot (in which case that matches only a dot).
  44406. +# func_strip_suffix prefix name
  44407. +func_stripname ()
  44408. +{
  44409. + case ${2} in
  44410. + .*) func_stripname_result=`$ECHO "X${3}" \
  44411. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  44412. + *) func_stripname_result=`$ECHO "X${3}" \
  44413. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  44414. esac
  44415. +}
  44416. +# sed scripts:
  44417. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  44418. +my_sed_long_arg='1s/^-[^=]*=//'
  44419. - case $ac_file$ac_mode in
  44420. - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  44421. - # Strip MF so we end up with the name of the file.
  44422. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  44423. - # Check whether this is an Automake generated Makefile or not.
  44424. - # We used to match only the files named `Makefile.in', but
  44425. - # some people rename them; so instead we look at the file content.
  44426. - # Grep'ing the first line is not enough: some people post-process
  44427. - # each Makefile.in and add a new line on top of each file to say so.
  44428. - # So let's grep whole file.
  44429. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  44430. - dirpart=`$as_dirname -- "$mf" ||
  44431. -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  44432. - X"$mf" : 'X\(//\)[^/]' \| \
  44433. - X"$mf" : 'X\(//\)$' \| \
  44434. - X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  44435. -echo X"$mf" |
  44436. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  44437. - s//\1/
  44438. - q
  44439. - }
  44440. - /^X\(\/\/\)[^/].*/{
  44441. - s//\1/
  44442. - q
  44443. - }
  44444. - /^X\(\/\/\)$/{
  44445. - s//\1/
  44446. - q
  44447. - }
  44448. - /^X\(\/\).*/{
  44449. - s//\1/
  44450. - q
  44451. - }
  44452. - s/.*/./; q'`
  44453. - else
  44454. - continue
  44455. - fi
  44456. - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  44457. - # Extract the definition of DEP_FILES from the Makefile without
  44458. - # running `make'.
  44459. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  44460. - test -z "$DEPDIR" && continue
  44461. - # When using ansi2knr, U may be empty or an underscore; expand it
  44462. - U=`sed -n 's/^U = //p' < "$mf"`
  44463. - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  44464. - # We invoke sed twice because it is the simplest approach to
  44465. - # changing $(DEPDIR) to its actual value in the expansion.
  44466. - for file in `sed -n '
  44467. - /^DEP_FILES = .*\\\\$/ {
  44468. - s/^DEP_FILES = //
  44469. - :loop
  44470. - s/\\\\$//
  44471. - p
  44472. - n
  44473. - /\\\\$/ b loop
  44474. - p
  44475. - }
  44476. - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  44477. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  44478. - # Make sure the directory exists.
  44479. - test -f "$dirpart/$file" && continue
  44480. - fdir=`$as_dirname -- "$file" ||
  44481. -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  44482. - X"$file" : 'X\(//\)[^/]' \| \
  44483. - X"$file" : 'X\(//\)$' \| \
  44484. - X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  44485. -echo X"$file" |
  44486. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  44487. - s//\1/
  44488. - q
  44489. - }
  44490. - /^X\(\/\/\)[^/].*/{
  44491. - s//\1/
  44492. - q
  44493. - }
  44494. - /^X\(\/\/\)$/{
  44495. - s//\1/
  44496. - q
  44497. - }
  44498. - /^X\(\/\).*/{
  44499. - s//\1/
  44500. - q
  44501. - }
  44502. - s/.*/./; q'`
  44503. - { as_dir=$dirpart/$fdir
  44504. - case $as_dir in #(
  44505. - -*) as_dir=./$as_dir;;
  44506. +# func_opt_split
  44507. +func_opt_split ()
  44508. +{
  44509. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  44510. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  44511. +}
  44512. +
  44513. +# func_lo2o object
  44514. +func_lo2o ()
  44515. +{
  44516. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  44517. +}
  44518. +
  44519. +# func_xform libobj-or-source
  44520. +func_xform ()
  44521. +{
  44522. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  44523. +}
  44524. +
  44525. +# func_arith arithmetic-term...
  44526. +func_arith ()
  44527. +{
  44528. + func_arith_result=`expr "$@"`
  44529. +}
  44530. +
  44531. +# func_len string
  44532. +# STRING may not start with a hyphen.
  44533. +func_len ()
  44534. +{
  44535. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  44536. +}
  44537. +
  44538. +_LT_EOF
  44539. +esac
  44540. +
  44541. +case $lt_shell_append in
  44542. + yes)
  44543. + cat << \_LT_EOF >> "$cfgfile"
  44544. +
  44545. +# func_append var value
  44546. +# Append VALUE to the end of shell variable VAR.
  44547. +func_append ()
  44548. +{
  44549. + eval "$1+=\$2"
  44550. +}
  44551. +_LT_EOF
  44552. + ;;
  44553. + *)
  44554. + cat << \_LT_EOF >> "$cfgfile"
  44555. +
  44556. +# func_append var value
  44557. +# Append VALUE to the end of shell variable VAR.
  44558. +func_append ()
  44559. +{
  44560. + eval "$1=\$$1\$2"
  44561. +}
  44562. +
  44563. +_LT_EOF
  44564. + ;;
  44565. esac
  44566. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  44567. - as_dirs=
  44568. - while :; do
  44569. - case $as_dir in #(
  44570. - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  44571. - *) as_qdir=$as_dir;;
  44572. - esac
  44573. - as_dirs="'$as_qdir' $as_dirs"
  44574. - as_dir=`$as_dirname -- "$as_dir" ||
  44575. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  44576. - X"$as_dir" : 'X\(//\)[^/]' \| \
  44577. - X"$as_dir" : 'X\(//\)$' \| \
  44578. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  44579. -echo X"$as_dir" |
  44580. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  44581. - s//\1/
  44582. - q
  44583. - }
  44584. - /^X\(\/\/\)[^/].*/{
  44585. - s//\1/
  44586. - q
  44587. - }
  44588. - /^X\(\/\/\)$/{
  44589. - s//\1/
  44590. - q
  44591. - }
  44592. - /^X\(\/\).*/{
  44593. - s//\1/
  44594. - q
  44595. - }
  44596. - s/.*/./; q'`
  44597. - test -d "$as_dir" && break
  44598. - done
  44599. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  44600. - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  44601. -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  44602. - { (exit 1); exit 1; }; }; }
  44603. - # echo "creating $dirpart/$file"
  44604. - echo '# dummy' > "$dirpart/$file"
  44605. - done
  44606. -done
  44607. +
  44608. +
  44609. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  44610. + || (rm -f "$cfgfile"; exit 1)
  44611. +
  44612. + mv -f "$cfgfile" "$ofile" ||
  44613. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  44614. + chmod +x "$ofile"
  44615. +
  44616. ;;
  44617. esac
  44618. done # for ac_tag
  44619. -{ (exit 0); exit 0; }
  44620. +as_fn_exit 0
  44621. _ACEOF
  44622. -chmod +x $CONFIG_STATUS
  44623. ac_clean_files=$ac_clean_files_save
  44624. +test $ac_write_fail = 0 ||
  44625. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  44626. +
  44627. # configure is writing to config.log, and then calls config.status.
  44628. # config.status does its own redirection, appending to config.log.
  44629. @@ -24873,7 +14799,11 @@
  44630. exec 5>>config.log
  44631. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  44632. # would make configure fail if this is the last instruction.
  44633. - $ac_cs_success || { (exit 1); exit 1; }
  44634. + $ac_cs_success || as_fn_exit $?
  44635. +fi
  44636. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  44637. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  44638. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  44639. fi
  44640. diff -Nur speex-1.2rc1.orig/depcomp speex-1.2rc1/depcomp
  44641. --- speex-1.2rc1.orig/depcomp 2007-04-28 03:21:47.000000000 +0200
  44642. +++ speex-1.2rc1/depcomp 2011-02-20 22:00:57.903573101 +0100
  44643. @@ -1,9 +1,10 @@
  44644. #! /bin/sh
  44645. # depcomp - compile a program generating dependencies as side-effects
  44646. -scriptversion=2004-04-25.13
  44647. +scriptversion=2009-04-28.21; # UTC
  44648. -# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
  44649. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
  44650. +# Software Foundation, Inc.
  44651. # This program is free software; you can redistribute it and/or modify
  44652. # it under the terms of the GNU General Public License as published by
  44653. @@ -16,9 +17,7 @@
  44654. # GNU General Public License for more details.
  44655. # You should have received a copy of the GNU General Public License
  44656. -# along with this program; if not, write to the Free Software
  44657. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  44658. -# 02111-1307, USA.
  44659. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  44660. # As a special exception to the GNU General Public License, if you
  44661. # distribute this file as part of a program that contains a
  44662. @@ -43,17 +42,18 @@
  44663. depmode Dependency tracking mode.
  44664. source Source file read by `PROGRAMS ARGS'.
  44665. object Object file output by `PROGRAMS ARGS'.
  44666. + DEPDIR directory where to store dependencies.
  44667. depfile Dependency file to output.
  44668. tmpdepfile Temporary file to use when outputing dependencies.
  44669. libtool Whether libtool is used (yes/no).
  44670. Report bugs to <bug-automake@gnu.org>.
  44671. EOF
  44672. - exit 0
  44673. + exit $?
  44674. ;;
  44675. -v | --v*)
  44676. echo "depcomp $scriptversion"
  44677. - exit 0
  44678. + exit $?
  44679. ;;
  44680. esac
  44681. @@ -61,18 +61,10 @@
  44682. echo "depcomp: Variables source, object and depmode must be set" 1>&2
  44683. exit 1
  44684. fi
  44685. -# `libtool' can also be set to `yes' or `no'.
  44686. -
  44687. -if test -z "$depfile"; then
  44688. - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
  44689. - dir=`echo "$object" | sed 's,/.*$,/,'`
  44690. - if test "$dir" = "$object"; then
  44691. - dir=
  44692. - fi
  44693. - # FIXME: should be _deps on DOS.
  44694. - depfile="$dir.deps/$base"
  44695. -fi
  44696. +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
  44697. +depfile=${depfile-`echo "$object" |
  44698. + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
  44699. tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
  44700. rm -f "$tmpdepfile"
  44701. @@ -93,12 +85,34 @@
  44702. depmode=dashmstdout
  44703. fi
  44704. +cygpath_u="cygpath -u -f -"
  44705. +if test "$depmode" = msvcmsys; then
  44706. + # This is just like msvisualcpp but w/o cygpath translation.
  44707. + # Just convert the backslash-escaped backslashes to single forward
  44708. + # slashes to satisfy depend.m4
  44709. + cygpath_u="sed s,\\\\\\\\,/,g"
  44710. + depmode=msvisualcpp
  44711. +fi
  44712. +
  44713. case "$depmode" in
  44714. gcc3)
  44715. ## gcc 3 implements dependency tracking that does exactly what
  44716. ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
  44717. ## it if -MD -MP comes after the -MF stuff. Hmm.
  44718. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
  44719. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
  44720. +## the command line argument order; so add the flags where they
  44721. +## appear in depend2.am. Note that the slowdown incurred here
  44722. +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
  44723. + for arg
  44724. + do
  44725. + case $arg in
  44726. + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
  44727. + *) set fnord "$@" "$arg" ;;
  44728. + esac
  44729. + shift # fnord
  44730. + shift # $arg
  44731. + done
  44732. + "$@"
  44733. stat=$?
  44734. if test $stat -eq 0; then :
  44735. else
  44736. @@ -185,14 +199,14 @@
  44737. ' < "$tmpdepfile" \
  44738. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  44739. tr '
  44740. -' ' ' >> $depfile
  44741. - echo >> $depfile
  44742. +' ' ' >> "$depfile"
  44743. + echo >> "$depfile"
  44744. # The second pass generates a dummy entry for each header file.
  44745. tr ' ' '
  44746. ' < "$tmpdepfile" \
  44747. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  44748. - >> $depfile
  44749. + >> "$depfile"
  44750. else
  44751. # The sourcefile does not contain any dependencies, so just
  44752. # store a dummy comment line, to avoid errors with the Makefile
  44753. @@ -208,34 +222,39 @@
  44754. # current directory. Also, the AIX compiler puts `$object:' at the
  44755. # start of each line; $object doesn't have directory information.
  44756. # Version 6 uses the directory in both cases.
  44757. - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
  44758. - tmpdepfile="$stripped.u"
  44759. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  44760. + test "x$dir" = "x$object" && dir=
  44761. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  44762. if test "$libtool" = yes; then
  44763. + tmpdepfile1=$dir$base.u
  44764. + tmpdepfile2=$base.u
  44765. + tmpdepfile3=$dir.libs/$base.u
  44766. "$@" -Wc,-M
  44767. else
  44768. + tmpdepfile1=$dir$base.u
  44769. + tmpdepfile2=$dir$base.u
  44770. + tmpdepfile3=$dir$base.u
  44771. "$@" -M
  44772. fi
  44773. stat=$?
  44774. - if test -f "$tmpdepfile"; then :
  44775. - else
  44776. - stripped=`echo "$stripped" | sed 's,^.*/,,'`
  44777. - tmpdepfile="$stripped.u"
  44778. - fi
  44779. -
  44780. if test $stat -eq 0; then :
  44781. else
  44782. - rm -f "$tmpdepfile"
  44783. + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  44784. exit $stat
  44785. fi
  44786. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  44787. + do
  44788. + test -f "$tmpdepfile" && break
  44789. + done
  44790. if test -f "$tmpdepfile"; then
  44791. - outname="$stripped.o"
  44792. # Each line is of the form `foo.o: dependent.h'.
  44793. # Do two passes, one to just change these to
  44794. # `$object: dependent.h' and one to simply `dependent.h:'.
  44795. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
  44796. - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
  44797. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  44798. + # That's a tab and a space in the [].
  44799. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  44800. else
  44801. # The sourcefile does not contain any dependencies, so just
  44802. # store a dummy comment line, to avoid errors with the Makefile
  44803. @@ -283,6 +302,51 @@
  44804. rm -f "$tmpdepfile"
  44805. ;;
  44806. +hp2)
  44807. + # The "hp" stanza above does not work with aCC (C++) and HP's ia64
  44808. + # compilers, which have integrated preprocessors. The correct option
  44809. + # to use with these is +Maked; it writes dependencies to a file named
  44810. + # 'foo.d', which lands next to the object file, wherever that
  44811. + # happens to be.
  44812. + # Much of this is similar to the tru64 case; see comments there.
  44813. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  44814. + test "x$dir" = "x$object" && dir=
  44815. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  44816. + if test "$libtool" = yes; then
  44817. + tmpdepfile1=$dir$base.d
  44818. + tmpdepfile2=$dir.libs/$base.d
  44819. + "$@" -Wc,+Maked
  44820. + else
  44821. + tmpdepfile1=$dir$base.d
  44822. + tmpdepfile2=$dir$base.d
  44823. + "$@" +Maked
  44824. + fi
  44825. + stat=$?
  44826. + if test $stat -eq 0; then :
  44827. + else
  44828. + rm -f "$tmpdepfile1" "$tmpdepfile2"
  44829. + exit $stat
  44830. + fi
  44831. +
  44832. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
  44833. + do
  44834. + test -f "$tmpdepfile" && break
  44835. + done
  44836. + if test -f "$tmpdepfile"; then
  44837. + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  44838. + # Add `dependent.h:' lines.
  44839. + sed -ne '2,${
  44840. + s/^ *//
  44841. + s/ \\*$//
  44842. + s/$/:/
  44843. + p
  44844. + }' "$tmpdepfile" >> "$depfile"
  44845. + else
  44846. + echo "#dummy" > "$depfile"
  44847. + fi
  44848. + rm -f "$tmpdepfile" "$tmpdepfile2"
  44849. + ;;
  44850. +
  44851. tru64)
  44852. # The Tru64 compiler uses -MD to generate dependencies as a side
  44853. # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
  44854. @@ -294,33 +358,43 @@
  44855. base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  44856. if test "$libtool" = yes; then
  44857. - # Dependencies are output in .lo.d with libtool 1.4.
  44858. - # They are output in .o.d with libtool 1.5.
  44859. - tmpdepfile1="$dir.libs/$base.lo.d"
  44860. - tmpdepfile2="$dir.libs/$base.o.d"
  44861. - tmpdepfile3="$dir.libs/$base.d"
  44862. + # With Tru64 cc, shared objects can also be used to make a
  44863. + # static library. This mechanism is used in libtool 1.4 series to
  44864. + # handle both shared and static libraries in a single compilation.
  44865. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
  44866. + #
  44867. + # With libtool 1.5 this exception was removed, and libtool now
  44868. + # generates 2 separate objects for the 2 libraries. These two
  44869. + # compilations output dependencies in $dir.libs/$base.o.d and
  44870. + # in $dir$base.o.d. We have to check for both files, because
  44871. + # one of the two compilations can be disabled. We should prefer
  44872. + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
  44873. + # automatically cleaned when .libs/ is deleted, while ignoring
  44874. + # the former would cause a distcleancheck panic.
  44875. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
  44876. + tmpdepfile2=$dir$base.o.d # libtool 1.5
  44877. + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
  44878. + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
  44879. "$@" -Wc,-MD
  44880. else
  44881. - tmpdepfile1="$dir$base.o.d"
  44882. - tmpdepfile2="$dir$base.d"
  44883. - tmpdepfile3="$dir$base.d"
  44884. + tmpdepfile1=$dir$base.o.d
  44885. + tmpdepfile2=$dir$base.d
  44886. + tmpdepfile3=$dir$base.d
  44887. + tmpdepfile4=$dir$base.d
  44888. "$@" -MD
  44889. fi
  44890. stat=$?
  44891. if test $stat -eq 0; then :
  44892. else
  44893. - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  44894. + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  44895. exit $stat
  44896. fi
  44897. - if test -f "$tmpdepfile1"; then
  44898. - tmpdepfile="$tmpdepfile1"
  44899. - elif test -f "$tmpdepfile2"; then
  44900. - tmpdepfile="$tmpdepfile2"
  44901. - else
  44902. - tmpdepfile="$tmpdepfile3"
  44903. - fi
  44904. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  44905. + do
  44906. + test -f "$tmpdepfile" && break
  44907. + done
  44908. if test -f "$tmpdepfile"; then
  44909. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  44910. # That's a tab and a space in the [].
  44911. @@ -342,7 +416,7 @@
  44912. # Remove the call to Libtool.
  44913. if test "$libtool" = yes; then
  44914. - while test $1 != '--mode=compile'; do
  44915. + while test "X$1" != 'X--mode=compile'; do
  44916. shift
  44917. done
  44918. shift
  44919. @@ -393,32 +467,39 @@
  44920. "$@" || exit $?
  44921. # Remove any Libtool call
  44922. if test "$libtool" = yes; then
  44923. - while test $1 != '--mode=compile'; do
  44924. + while test "X$1" != 'X--mode=compile'; do
  44925. shift
  44926. done
  44927. shift
  44928. fi
  44929. # X makedepend
  44930. shift
  44931. - cleared=no
  44932. - for arg in "$@"; do
  44933. + cleared=no eat=no
  44934. + for arg
  44935. + do
  44936. case $cleared in
  44937. no)
  44938. set ""; shift
  44939. cleared=yes ;;
  44940. esac
  44941. + if test $eat = yes; then
  44942. + eat=no
  44943. + continue
  44944. + fi
  44945. case "$arg" in
  44946. -D*|-I*)
  44947. set fnord "$@" "$arg"; shift ;;
  44948. # Strip any option that makedepend may not understand. Remove
  44949. # the object too, otherwise makedepend will parse it as a source file.
  44950. + -arch)
  44951. + eat=yes ;;
  44952. -*|$object)
  44953. ;;
  44954. *)
  44955. set fnord "$@" "$arg"; shift ;;
  44956. esac
  44957. done
  44958. - obj_suffix="`echo $object | sed 's/^.*\././'`"
  44959. + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  44960. touch "$tmpdepfile"
  44961. ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  44962. rm -f "$depfile"
  44963. @@ -438,7 +519,7 @@
  44964. # Remove the call to Libtool.
  44965. if test "$libtool" = yes; then
  44966. - while test $1 != '--mode=compile'; do
  44967. + while test "X$1" != 'X--mode=compile'; do
  44968. shift
  44969. done
  44970. shift
  44971. @@ -464,7 +545,8 @@
  44972. done
  44973. "$@" -E |
  44974. - sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
  44975. + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
  44976. + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
  44977. sed '$ s: \\$::' > "$tmpdepfile"
  44978. rm -f "$depfile"
  44979. echo "$object : \\" > "$depfile"
  44980. @@ -475,13 +557,27 @@
  44981. msvisualcpp)
  44982. # Important note: in order to support this mode, a compiler *must*
  44983. - # always write the preprocessed file to stdout, regardless of -o,
  44984. - # because we must use -o when running libtool.
  44985. + # always write the preprocessed file to stdout.
  44986. "$@" || exit $?
  44987. +
  44988. + # Remove the call to Libtool.
  44989. + if test "$libtool" = yes; then
  44990. + while test "X$1" != 'X--mode=compile'; do
  44991. + shift
  44992. + done
  44993. + shift
  44994. + fi
  44995. +
  44996. IFS=" "
  44997. for arg
  44998. do
  44999. case "$arg" in
  45000. + -o)
  45001. + shift
  45002. + ;;
  45003. + $object)
  45004. + shift
  45005. + ;;
  45006. "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  45007. set fnord "$@"
  45008. shift
  45009. @@ -494,16 +590,23 @@
  45010. ;;
  45011. esac
  45012. done
  45013. - "$@" -E |
  45014. - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
  45015. + "$@" -E 2>/dev/null |
  45016. + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  45017. rm -f "$depfile"
  45018. echo "$object : \\" > "$depfile"
  45019. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  45020. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  45021. echo " " >> "$depfile"
  45022. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  45023. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  45024. rm -f "$tmpdepfile"
  45025. ;;
  45026. +msvcmsys)
  45027. + # This case exists only to let depend.m4 do its work. It works by
  45028. + # looking at the text of this script. This case will never be run,
  45029. + # since it is checked for above.
  45030. + exit 1
  45031. + ;;
  45032. +
  45033. none)
  45034. exec "$@"
  45035. ;;
  45036. @@ -522,5 +625,6 @@
  45037. # eval: (add-hook 'write-file-hooks 'time-stamp)
  45038. # time-stamp-start: "scriptversion="
  45039. # time-stamp-format: "%:y-%02m-%02d.%02H"
  45040. -# time-stamp-end: "$"
  45041. +# time-stamp-time-zone: "UTC"
  45042. +# time-stamp-end: "; # UTC"
  45043. # End:
  45044. diff -Nur speex-1.2rc1.orig/doc/Makefile.in speex-1.2rc1/doc/Makefile.in
  45045. --- speex-1.2rc1.orig/doc/Makefile.in 2008-07-21 04:17:19.000000000 +0200
  45046. +++ speex-1.2rc1/doc/Makefile.in 2011-02-20 22:00:57.683603179 +0100
  45047. @@ -1,8 +1,9 @@
  45048. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  45049. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  45050. # @configure_input@
  45051. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  45052. -# 2003, 2004 Free Software Foundation, Inc.
  45053. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  45054. +# Inc.
  45055. # This Makefile.in is free software; the Free Software Foundation
  45056. # gives unlimited permission to copy and/or distribute it,
  45057. # with or without modifications, as long as this notice is preserved.
  45058. @@ -14,15 +15,12 @@
  45059. @SET_MAKE@
  45060. -srcdir = @srcdir@
  45061. -top_srcdir = @top_srcdir@
  45062. VPATH = @srcdir@
  45063. pkgdatadir = $(datadir)/@PACKAGE@
  45064. -pkglibdir = $(libdir)/@PACKAGE@
  45065. pkgincludedir = $(includedir)/@PACKAGE@
  45066. -top_builddir = ..
  45067. +pkglibdir = $(libdir)/@PACKAGE@
  45068. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  45069. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  45070. -INSTALL = @INSTALL@
  45071. install_sh_DATA = $(install_sh) -c -m 644
  45072. install_sh_PROGRAM = $(install_sh) -c
  45073. install_sh_SCRIPT = $(install_sh) -c
  45074. @@ -34,6 +32,7 @@
  45075. NORMAL_UNINSTALL = :
  45076. PRE_UNINSTALL = :
  45077. POST_UNINSTALL = :
  45078. +build_triplet = @build@
  45079. host_triplet = @host@
  45080. subdir = doc
  45081. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  45082. @@ -42,18 +41,37 @@
  45083. $(top_srcdir)/configure.ac
  45084. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  45085. $(ACLOCAL_M4)
  45086. -mkinstalldirs = $(mkdir_p)
  45087. +mkinstalldirs = $(install_sh) -d
  45088. CONFIG_HEADER = $(top_builddir)/config.h
  45089. CONFIG_CLEAN_FILES =
  45090. +CONFIG_CLEAN_VPATH_FILES =
  45091. SOURCES =
  45092. DIST_SOURCES =
  45093. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  45094. +am__vpath_adj = case $$p in \
  45095. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  45096. + *) f=$$p;; \
  45097. + esac;
  45098. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  45099. +am__install_max = 40
  45100. +am__nobase_strip_setup = \
  45101. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  45102. +am__nobase_strip = \
  45103. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  45104. +am__nobase_list = $(am__nobase_strip_setup); \
  45105. + for p in $$list; do echo "$$p $$p"; done | \
  45106. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  45107. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  45108. + if (++n[$$2] == $(am__install_max)) \
  45109. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  45110. + END { for (dir in files) print dir, files[dir] }'
  45111. +am__base_list = \
  45112. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  45113. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  45114. am__installdirs = "$(DESTDIR)$(docdir)"
  45115. -docDATA_INSTALL = $(INSTALL_DATA)
  45116. DATA = $(doc_DATA)
  45117. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  45118. ACLOCAL = @ACLOCAL@
  45119. -AMDEP_FALSE = @AMDEP_FALSE@
  45120. -AMDEP_TRUE = @AMDEP_TRUE@
  45121. AMTAR = @AMTAR@
  45122. AR = @AR@
  45123. AS = @AS@
  45124. @@ -61,60 +79,57 @@
  45125. AUTOHEADER = @AUTOHEADER@
  45126. AUTOMAKE = @AUTOMAKE@
  45127. AWK = @AWK@
  45128. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  45129. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  45130. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  45131. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  45132. CC = @CC@
  45133. CCDEPMODE = @CCDEPMODE@
  45134. CFLAGS = @CFLAGS@
  45135. CPP = @CPP@
  45136. CPPFLAGS = @CPPFLAGS@
  45137. -CXX = @CXX@
  45138. -CXXCPP = @CXXCPP@
  45139. -CXXDEPMODE = @CXXDEPMODE@
  45140. -CXXFLAGS = @CXXFLAGS@
  45141. CYGPATH_W = @CYGPATH_W@
  45142. DEFS = @DEFS@
  45143. DEPDIR = @DEPDIR@
  45144. DLLTOOL = @DLLTOOL@
  45145. DSYMUTIL = @DSYMUTIL@
  45146. -ECHO = @ECHO@
  45147. +DUMPBIN = @DUMPBIN@
  45148. ECHO_C = @ECHO_C@
  45149. ECHO_N = @ECHO_N@
  45150. ECHO_T = @ECHO_T@
  45151. EGREP = @EGREP@
  45152. EXEEXT = @EXEEXT@
  45153. -F77 = @F77@
  45154. -FFLAGS = @FFLAGS@
  45155. FFT_CFLAGS = @FFT_CFLAGS@
  45156. FFT_LIBS = @FFT_LIBS@
  45157. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  45158. +FGREP = @FGREP@
  45159. GREP = @GREP@
  45160. +INSTALL = @INSTALL@
  45161. INSTALL_DATA = @INSTALL_DATA@
  45162. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  45163. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  45164. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  45165. +LD = @LD@
  45166. LDFLAGS = @LDFLAGS@
  45167. LIBOBJS = @LIBOBJS@
  45168. LIBS = @LIBS@
  45169. LIBTOOL = @LIBTOOL@
  45170. +LIPO = @LIPO@
  45171. LN_S = @LN_S@
  45172. LTLIBOBJS = @LTLIBOBJS@
  45173. MAINT = @MAINT@
  45174. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  45175. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  45176. MAKEINFO = @MAKEINFO@
  45177. +MKDIR_P = @MKDIR_P@
  45178. +NM = @NM@
  45179. NMEDIT = @NMEDIT@
  45180. OBJDUMP = @OBJDUMP@
  45181. OBJEXT = @OBJEXT@
  45182. OGG_CFLAGS = @OGG_CFLAGS@
  45183. OGG_LIBS = @OGG_LIBS@
  45184. +OTOOL = @OTOOL@
  45185. +OTOOL64 = @OTOOL64@
  45186. PACKAGE = @PACKAGE@
  45187. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  45188. PACKAGE_NAME = @PACKAGE_NAME@
  45189. PACKAGE_STRING = @PACKAGE_STRING@
  45190. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  45191. +PACKAGE_URL = @PACKAGE_URL@
  45192. PACKAGE_VERSION = @PACKAGE_VERSION@
  45193. PATH_SEPARATOR = @PATH_SEPARATOR@
  45194. PKG_CONFIG = @PKG_CONFIG@
  45195. @@ -130,22 +145,24 @@
  45196. SPEEX_VERSION = @SPEEX_VERSION@
  45197. STRIP = @STRIP@
  45198. VERSION = @VERSION@
  45199. +abs_builddir = @abs_builddir@
  45200. +abs_srcdir = @abs_srcdir@
  45201. +abs_top_builddir = @abs_top_builddir@
  45202. +abs_top_srcdir = @abs_top_srcdir@
  45203. ac_ct_CC = @ac_ct_CC@
  45204. -ac_ct_CXX = @ac_ct_CXX@
  45205. -ac_ct_F77 = @ac_ct_F77@
  45206. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  45207. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  45208. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  45209. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  45210. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  45211. am__include = @am__include@
  45212. am__leading_dot = @am__leading_dot@
  45213. am__quote = @am__quote@
  45214. +am__tar = @am__tar@
  45215. +am__untar = @am__untar@
  45216. bindir = @bindir@
  45217. build = @build@
  45218. build_alias = @build_alias@
  45219. build_cpu = @build_cpu@
  45220. build_os = @build_os@
  45221. build_vendor = @build_vendor@
  45222. +builddir = @builddir@
  45223. datadir = @datadir@
  45224. datarootdir = @datarootdir@
  45225. docdir = @docdir@
  45226. @@ -164,6 +181,7 @@
  45227. libexecdir = @libexecdir@
  45228. localedir = @localedir@
  45229. localstatedir = @localstatedir@
  45230. +lt_ECHO = @lt_ECHO@
  45231. mandir = @mandir@
  45232. mkdir_p = @mkdir_p@
  45233. oldincludedir = @oldincludedir@
  45234. @@ -174,8 +192,12 @@
  45235. sbindir = @sbindir@
  45236. sharedstatedir = @sharedstatedir@
  45237. src = @src@
  45238. +srcdir = @srcdir@
  45239. sysconfdir = @sysconfdir@
  45240. target_alias = @target_alias@
  45241. +top_build_prefix = @top_build_prefix@
  45242. +top_builddir = @top_builddir@
  45243. +top_srcdir = @top_srcdir@
  45244. doc_DATA = manual.pdf
  45245. EXTRA_DIST = $(doc_DATA)
  45246. all: all-am
  45247. @@ -185,14 +207,14 @@
  45248. @for dep in $?; do \
  45249. case '$(am__configure_deps)' in \
  45250. *$$dep*) \
  45251. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  45252. - && exit 0; \
  45253. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  45254. + && { if test -f $@; then exit 0; else break; fi; }; \
  45255. exit 1;; \
  45256. esac; \
  45257. done; \
  45258. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
  45259. - cd $(top_srcdir) && \
  45260. - $(AUTOMAKE) --gnu doc/Makefile
  45261. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
  45262. + $(am__cd) $(top_srcdir) && \
  45263. + $(AUTOMAKE) --gnu doc/Makefile
  45264. .PRECIOUS: Makefile
  45265. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  45266. @case '$?' in \
  45267. @@ -210,33 +232,33 @@
  45268. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45269. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  45270. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45271. +$(am__aclocal_m4_deps):
  45272. mostlyclean-libtool:
  45273. -rm -f *.lo
  45274. clean-libtool:
  45275. -rm -rf .libs _libs
  45276. -
  45277. -distclean-libtool:
  45278. - -rm -f libtool
  45279. -uninstall-info-am:
  45280. install-docDATA: $(doc_DATA)
  45281. @$(NORMAL_INSTALL)
  45282. - test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
  45283. - @list='$(doc_DATA)'; for p in $$list; do \
  45284. + test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
  45285. + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
  45286. + for p in $$list; do \
  45287. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  45288. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  45289. - echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
  45290. - $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
  45291. + echo "$$d$$p"; \
  45292. + done | $(am__base_list) | \
  45293. + while read files; do \
  45294. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
  45295. + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
  45296. done
  45297. uninstall-docDATA:
  45298. @$(NORMAL_UNINSTALL)
  45299. - @list='$(doc_DATA)'; for p in $$list; do \
  45300. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  45301. - echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
  45302. - rm -f "$(DESTDIR)$(docdir)/$$f"; \
  45303. - done
  45304. + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
  45305. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  45306. + test -n "$$files" || exit 0; \
  45307. + echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
  45308. + cd "$(DESTDIR)$(docdir)" && rm -f $$files
  45309. tags: TAGS
  45310. TAGS:
  45311. @@ -245,29 +267,32 @@
  45312. distdir: $(DISTFILES)
  45313. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  45314. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  45315. - list='$(DISTFILES)'; for file in $$list; do \
  45316. - case $$file in \
  45317. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  45318. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  45319. - esac; \
  45320. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  45321. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  45322. + list='$(DISTFILES)'; \
  45323. + dist_files=`for file in $$list; do echo $$file; done | \
  45324. + sed -e "s|^$$srcdirstrip/||;t" \
  45325. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  45326. + case $$dist_files in \
  45327. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  45328. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  45329. + sort -u` ;; \
  45330. + esac; \
  45331. + for file in $$dist_files; do \
  45332. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  45333. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  45334. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  45335. - dir="/$$dir"; \
  45336. - $(mkdir_p) "$(distdir)$$dir"; \
  45337. - else \
  45338. - dir=''; \
  45339. - fi; \
  45340. if test -d $$d/$$file; then \
  45341. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  45342. + if test -d "$(distdir)/$$file"; then \
  45343. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45344. + fi; \
  45345. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  45346. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  45347. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  45348. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45349. fi; \
  45350. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  45351. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  45352. else \
  45353. - test -f $(distdir)/$$file \
  45354. - || cp -p $$d/$$file $(distdir)/$$file \
  45355. + test -f "$(distdir)/$$file" \
  45356. + || cp -p $$d/$$file "$(distdir)/$$file" \
  45357. || exit 1; \
  45358. fi; \
  45359. done
  45360. @@ -276,7 +301,7 @@
  45361. all-am: Makefile $(DATA)
  45362. installdirs:
  45363. for dir in "$(DESTDIR)$(docdir)"; do \
  45364. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  45365. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  45366. done
  45367. install: install-am
  45368. install-exec: install-exec-am
  45369. @@ -297,7 +322,8 @@
  45370. clean-generic:
  45371. distclean-generic:
  45372. - -rm -f $(CONFIG_CLEAN_FILES)
  45373. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  45374. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  45375. maintainer-clean-generic:
  45376. @echo "This command is intended for maintainers to use"
  45377. @@ -308,7 +334,7 @@
  45378. distclean: distclean-am
  45379. -rm -f Makefile
  45380. -distclean-am: clean-am distclean-generic distclean-libtool
  45381. +distclean-am: clean-am distclean-generic
  45382. dvi: dvi-am
  45383. @@ -316,18 +342,38 @@
  45384. html: html-am
  45385. +html-am:
  45386. +
  45387. info: info-am
  45388. info-am:
  45389. install-data-am: install-docDATA
  45390. +install-dvi: install-dvi-am
  45391. +
  45392. +install-dvi-am:
  45393. +
  45394. install-exec-am:
  45395. +install-html: install-html-am
  45396. +
  45397. +install-html-am:
  45398. +
  45399. install-info: install-info-am
  45400. +install-info-am:
  45401. +
  45402. install-man:
  45403. +install-pdf: install-pdf-am
  45404. +
  45405. +install-pdf-am:
  45406. +
  45407. +install-ps: install-ps-am
  45408. +
  45409. +install-ps-am:
  45410. +
  45411. installcheck-am:
  45412. maintainer-clean: maintainer-clean-am
  45413. @@ -346,17 +392,22 @@
  45414. ps-am:
  45415. -uninstall-am: uninstall-docDATA uninstall-info-am
  45416. +uninstall-am: uninstall-docDATA
  45417. +
  45418. +.MAKE: install-am install-strip
  45419. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  45420. distclean distclean-generic distclean-libtool distdir dvi \
  45421. dvi-am html html-am info info-am install install-am \
  45422. - install-data install-data-am install-docDATA install-exec \
  45423. - install-exec-am install-info install-info-am install-man \
  45424. + install-data install-data-am install-docDATA install-dvi \
  45425. + install-dvi-am install-exec install-exec-am install-html \
  45426. + install-html-am install-info install-info-am install-man \
  45427. + install-pdf install-pdf-am install-ps install-ps-am \
  45428. install-strip installcheck installcheck-am installdirs \
  45429. maintainer-clean maintainer-clean-generic mostlyclean \
  45430. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  45431. - uninstall uninstall-am uninstall-docDATA uninstall-info-am
  45432. + uninstall uninstall-am uninstall-docDATA
  45433. +
  45434. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  45435. # Otherwise a system limit (for SysV at least) may be exceeded.
  45436. diff -Nur speex-1.2rc1.orig/include/Makefile.in speex-1.2rc1/include/Makefile.in
  45437. --- speex-1.2rc1.orig/include/Makefile.in 2008-07-21 04:17:19.000000000 +0200
  45438. +++ speex-1.2rc1/include/Makefile.in 2011-02-20 22:00:57.724802867 +0100
  45439. @@ -1,8 +1,9 @@
  45440. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  45441. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  45442. # @configure_input@
  45443. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  45444. -# 2003, 2004 Free Software Foundation, Inc.
  45445. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  45446. +# Inc.
  45447. # This Makefile.in is free software; the Free Software Foundation
  45448. # gives unlimited permission to copy and/or distribute it,
  45449. # with or without modifications, as long as this notice is preserved.
  45450. @@ -13,15 +14,12 @@
  45451. # PARTICULAR PURPOSE.
  45452. @SET_MAKE@
  45453. -srcdir = @srcdir@
  45454. -top_srcdir = @top_srcdir@
  45455. VPATH = @srcdir@
  45456. pkgdatadir = $(datadir)/@PACKAGE@
  45457. -pkglibdir = $(libdir)/@PACKAGE@
  45458. pkgincludedir = $(includedir)/@PACKAGE@
  45459. -top_builddir = ..
  45460. +pkglibdir = $(libdir)/@PACKAGE@
  45461. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  45462. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  45463. -INSTALL = @INSTALL@
  45464. install_sh_DATA = $(install_sh) -c -m 644
  45465. install_sh_PROGRAM = $(install_sh) -c
  45466. install_sh_SCRIPT = $(install_sh) -c
  45467. @@ -33,6 +31,7 @@
  45468. NORMAL_UNINSTALL = :
  45469. PRE_UNINSTALL = :
  45470. POST_UNINSTALL = :
  45471. +build_triplet = @build@
  45472. host_triplet = @host@
  45473. subdir = include
  45474. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  45475. @@ -41,24 +40,54 @@
  45476. $(top_srcdir)/configure.ac
  45477. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  45478. $(ACLOCAL_M4)
  45479. -mkinstalldirs = $(mkdir_p)
  45480. +mkinstalldirs = $(install_sh) -d
  45481. CONFIG_HEADER = $(top_builddir)/config.h
  45482. CONFIG_CLEAN_FILES =
  45483. +CONFIG_CLEAN_VPATH_FILES =
  45484. SOURCES =
  45485. DIST_SOURCES =
  45486. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  45487. html-recursive info-recursive install-data-recursive \
  45488. - install-exec-recursive install-info-recursive \
  45489. - install-recursive installcheck-recursive installdirs-recursive \
  45490. - pdf-recursive ps-recursive uninstall-info-recursive \
  45491. - uninstall-recursive
  45492. + install-dvi-recursive install-exec-recursive \
  45493. + install-html-recursive install-info-recursive \
  45494. + install-pdf-recursive install-ps-recursive install-recursive \
  45495. + installcheck-recursive installdirs-recursive pdf-recursive \
  45496. + ps-recursive uninstall-recursive
  45497. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  45498. + distclean-recursive maintainer-clean-recursive
  45499. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  45500. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  45501. + distdir
  45502. ETAGS = etags
  45503. CTAGS = ctags
  45504. DIST_SUBDIRS = $(SUBDIRS)
  45505. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  45506. +am__relativize = \
  45507. + dir0=`pwd`; \
  45508. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  45509. + sed_rest='s,^[^/]*/*,,'; \
  45510. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  45511. + sed_butlast='s,/*[^/]*$$,,'; \
  45512. + while test -n "$$dir1"; do \
  45513. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  45514. + if test "$$first" != "."; then \
  45515. + if test "$$first" = ".."; then \
  45516. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  45517. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  45518. + else \
  45519. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  45520. + if test "$$first2" = "$$first"; then \
  45521. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  45522. + else \
  45523. + dir2="../$$dir2"; \
  45524. + fi; \
  45525. + dir0="$$dir0"/"$$first"; \
  45526. + fi; \
  45527. + fi; \
  45528. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  45529. + done; \
  45530. + reldir="$$dir2"
  45531. ACLOCAL = @ACLOCAL@
  45532. -AMDEP_FALSE = @AMDEP_FALSE@
  45533. -AMDEP_TRUE = @AMDEP_TRUE@
  45534. AMTAR = @AMTAR@
  45535. AR = @AR@
  45536. AS = @AS@
  45537. @@ -66,60 +95,57 @@
  45538. AUTOHEADER = @AUTOHEADER@
  45539. AUTOMAKE = @AUTOMAKE@
  45540. AWK = @AWK@
  45541. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  45542. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  45543. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  45544. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  45545. CC = @CC@
  45546. CCDEPMODE = @CCDEPMODE@
  45547. CFLAGS = @CFLAGS@
  45548. CPP = @CPP@
  45549. CPPFLAGS = @CPPFLAGS@
  45550. -CXX = @CXX@
  45551. -CXXCPP = @CXXCPP@
  45552. -CXXDEPMODE = @CXXDEPMODE@
  45553. -CXXFLAGS = @CXXFLAGS@
  45554. CYGPATH_W = @CYGPATH_W@
  45555. DEFS = @DEFS@
  45556. DEPDIR = @DEPDIR@
  45557. DLLTOOL = @DLLTOOL@
  45558. DSYMUTIL = @DSYMUTIL@
  45559. -ECHO = @ECHO@
  45560. +DUMPBIN = @DUMPBIN@
  45561. ECHO_C = @ECHO_C@
  45562. ECHO_N = @ECHO_N@
  45563. ECHO_T = @ECHO_T@
  45564. EGREP = @EGREP@
  45565. EXEEXT = @EXEEXT@
  45566. -F77 = @F77@
  45567. -FFLAGS = @FFLAGS@
  45568. FFT_CFLAGS = @FFT_CFLAGS@
  45569. FFT_LIBS = @FFT_LIBS@
  45570. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  45571. +FGREP = @FGREP@
  45572. GREP = @GREP@
  45573. +INSTALL = @INSTALL@
  45574. INSTALL_DATA = @INSTALL_DATA@
  45575. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  45576. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  45577. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  45578. +LD = @LD@
  45579. LDFLAGS = @LDFLAGS@
  45580. LIBOBJS = @LIBOBJS@
  45581. LIBS = @LIBS@
  45582. LIBTOOL = @LIBTOOL@
  45583. +LIPO = @LIPO@
  45584. LN_S = @LN_S@
  45585. LTLIBOBJS = @LTLIBOBJS@
  45586. MAINT = @MAINT@
  45587. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  45588. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  45589. MAKEINFO = @MAKEINFO@
  45590. +MKDIR_P = @MKDIR_P@
  45591. +NM = @NM@
  45592. NMEDIT = @NMEDIT@
  45593. OBJDUMP = @OBJDUMP@
  45594. OBJEXT = @OBJEXT@
  45595. OGG_CFLAGS = @OGG_CFLAGS@
  45596. OGG_LIBS = @OGG_LIBS@
  45597. +OTOOL = @OTOOL@
  45598. +OTOOL64 = @OTOOL64@
  45599. PACKAGE = @PACKAGE@
  45600. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  45601. PACKAGE_NAME = @PACKAGE_NAME@
  45602. PACKAGE_STRING = @PACKAGE_STRING@
  45603. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  45604. +PACKAGE_URL = @PACKAGE_URL@
  45605. PACKAGE_VERSION = @PACKAGE_VERSION@
  45606. PATH_SEPARATOR = @PATH_SEPARATOR@
  45607. PKG_CONFIG = @PKG_CONFIG@
  45608. @@ -135,22 +161,24 @@
  45609. SPEEX_VERSION = @SPEEX_VERSION@
  45610. STRIP = @STRIP@
  45611. VERSION = @VERSION@
  45612. +abs_builddir = @abs_builddir@
  45613. +abs_srcdir = @abs_srcdir@
  45614. +abs_top_builddir = @abs_top_builddir@
  45615. +abs_top_srcdir = @abs_top_srcdir@
  45616. ac_ct_CC = @ac_ct_CC@
  45617. -ac_ct_CXX = @ac_ct_CXX@
  45618. -ac_ct_F77 = @ac_ct_F77@
  45619. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  45620. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  45621. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  45622. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  45623. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  45624. am__include = @am__include@
  45625. am__leading_dot = @am__leading_dot@
  45626. am__quote = @am__quote@
  45627. +am__tar = @am__tar@
  45628. +am__untar = @am__untar@
  45629. bindir = @bindir@
  45630. build = @build@
  45631. build_alias = @build_alias@
  45632. build_cpu = @build_cpu@
  45633. build_os = @build_os@
  45634. build_vendor = @build_vendor@
  45635. +builddir = @builddir@
  45636. datadir = @datadir@
  45637. datarootdir = @datarootdir@
  45638. docdir = @docdir@
  45639. @@ -169,6 +197,7 @@
  45640. libexecdir = @libexecdir@
  45641. localedir = @localedir@
  45642. localstatedir = @localstatedir@
  45643. +lt_ECHO = @lt_ECHO@
  45644. mandir = @mandir@
  45645. mkdir_p = @mkdir_p@
  45646. oldincludedir = @oldincludedir@
  45647. @@ -179,8 +208,12 @@
  45648. sbindir = @sbindir@
  45649. sharedstatedir = @sharedstatedir@
  45650. src = @src@
  45651. +srcdir = @srcdir@
  45652. sysconfdir = @sysconfdir@
  45653. target_alias = @target_alias@
  45654. +top_build_prefix = @top_build_prefix@
  45655. +top_builddir = @top_builddir@
  45656. +top_srcdir = @top_srcdir@
  45657. SUBDIRS = speex
  45658. all: all-recursive
  45659. @@ -189,14 +222,14 @@
  45660. @for dep in $?; do \
  45661. case '$(am__configure_deps)' in \
  45662. *$$dep*) \
  45663. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  45664. - && exit 0; \
  45665. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  45666. + && { if test -f $@; then exit 0; else break; fi; }; \
  45667. exit 1;; \
  45668. esac; \
  45669. done; \
  45670. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \
  45671. - cd $(top_srcdir) && \
  45672. - $(AUTOMAKE) --gnu include/Makefile
  45673. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \
  45674. + $(am__cd) $(top_srcdir) && \
  45675. + $(AUTOMAKE) --gnu include/Makefile
  45676. .PRECIOUS: Makefile
  45677. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  45678. @case '$?' in \
  45679. @@ -214,6 +247,7 @@
  45680. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45681. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  45682. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45683. +$(am__aclocal_m4_deps):
  45684. mostlyclean-libtool:
  45685. -rm -f *.lo
  45686. @@ -221,10 +255,6 @@
  45687. clean-libtool:
  45688. -rm -rf .libs _libs
  45689. -distclean-libtool:
  45690. - -rm -f libtool
  45691. -uninstall-info-am:
  45692. -
  45693. # This directory's subdirectories are mostly independent; you can cd
  45694. # into them and run `make' without going through this Makefile.
  45695. # To change the values of `make' variables: instead of editing Makefiles,
  45696. @@ -232,7 +262,13 @@
  45697. # (which will cause the Makefiles to be regenerated when you run `make');
  45698. # (2) otherwise, pass the desired values on the `make' command line.
  45699. $(RECURSIVE_TARGETS):
  45700. - @set fnord $$MAKEFLAGS; amf=$$2; \
  45701. + @fail= failcom='exit 1'; \
  45702. + for f in x $$MAKEFLAGS; do \
  45703. + case $$f in \
  45704. + *=* | --[!k]*);; \
  45705. + *k*) failcom='fail=yes';; \
  45706. + esac; \
  45707. + done; \
  45708. dot_seen=no; \
  45709. target=`echo $@ | sed s/-recursive//`; \
  45710. list='$(SUBDIRS)'; for subdir in $$list; do \
  45711. @@ -243,16 +279,21 @@
  45712. else \
  45713. local_target="$$target"; \
  45714. fi; \
  45715. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45716. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  45717. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45718. + || eval $$failcom; \
  45719. done; \
  45720. if test "$$dot_seen" = "no"; then \
  45721. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  45722. fi; test -z "$$fail"
  45723. -mostlyclean-recursive clean-recursive distclean-recursive \
  45724. -maintainer-clean-recursive:
  45725. - @set fnord $$MAKEFLAGS; amf=$$2; \
  45726. +$(RECURSIVE_CLEAN_TARGETS):
  45727. + @fail= failcom='exit 1'; \
  45728. + for f in x $$MAKEFLAGS; do \
  45729. + case $$f in \
  45730. + *=* | --[!k]*);; \
  45731. + *k*) failcom='fail=yes';; \
  45732. + esac; \
  45733. + done; \
  45734. dot_seen=no; \
  45735. case "$@" in \
  45736. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  45737. @@ -272,16 +313,16 @@
  45738. else \
  45739. local_target="$$target"; \
  45740. fi; \
  45741. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45742. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  45743. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45744. + || eval $$failcom; \
  45745. done && test -z "$$fail"
  45746. tags-recursive:
  45747. list='$(SUBDIRS)'; for subdir in $$list; do \
  45748. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  45749. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  45750. done
  45751. ctags-recursive:
  45752. list='$(SUBDIRS)'; for subdir in $$list; do \
  45753. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  45754. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  45755. done
  45756. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  45757. @@ -289,14 +330,14 @@
  45758. unique=`for i in $$list; do \
  45759. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  45760. done | \
  45761. - $(AWK) ' { files[$$0] = 1; } \
  45762. - END { for (i in files) print i; }'`; \
  45763. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45764. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  45765. mkid -fID $$unique
  45766. tags: TAGS
  45767. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45768. $(TAGS_FILES) $(LISP)
  45769. - tags=; \
  45770. + set x; \
  45771. here=`pwd`; \
  45772. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  45773. include_option=--etags-include; \
  45774. @@ -308,79 +349,101 @@
  45775. list='$(SUBDIRS)'; for subdir in $$list; do \
  45776. if test "$$subdir" = .; then :; else \
  45777. test ! -f $$subdir/TAGS || \
  45778. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  45779. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  45780. fi; \
  45781. done; \
  45782. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45783. unique=`for i in $$list; do \
  45784. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  45785. done | \
  45786. - $(AWK) ' { files[$$0] = 1; } \
  45787. - END { for (i in files) print i; }'`; \
  45788. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  45789. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45790. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  45791. + shift; \
  45792. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  45793. test -n "$$unique" || unique=$$empty_fix; \
  45794. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45795. - $$tags $$unique; \
  45796. + if test $$# -gt 0; then \
  45797. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45798. + "$$@" $$unique; \
  45799. + else \
  45800. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45801. + $$unique; \
  45802. + fi; \
  45803. fi
  45804. ctags: CTAGS
  45805. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45806. $(TAGS_FILES) $(LISP)
  45807. - tags=; \
  45808. - here=`pwd`; \
  45809. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45810. unique=`for i in $$list; do \
  45811. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  45812. done | \
  45813. - $(AWK) ' { files[$$0] = 1; } \
  45814. - END { for (i in files) print i; }'`; \
  45815. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  45816. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45817. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  45818. + test -z "$(CTAGS_ARGS)$$unique" \
  45819. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  45820. - $$tags $$unique
  45821. + $$unique
  45822. GTAGS:
  45823. here=`$(am__cd) $(top_builddir) && pwd` \
  45824. - && cd $(top_srcdir) \
  45825. - && gtags -i $(GTAGS_ARGS) $$here
  45826. + && $(am__cd) $(top_srcdir) \
  45827. + && gtags -i $(GTAGS_ARGS) "$$here"
  45828. distclean-tags:
  45829. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  45830. distdir: $(DISTFILES)
  45831. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  45832. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  45833. - list='$(DISTFILES)'; for file in $$list; do \
  45834. - case $$file in \
  45835. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  45836. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  45837. - esac; \
  45838. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  45839. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  45840. + list='$(DISTFILES)'; \
  45841. + dist_files=`for file in $$list; do echo $$file; done | \
  45842. + sed -e "s|^$$srcdirstrip/||;t" \
  45843. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  45844. + case $$dist_files in \
  45845. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  45846. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  45847. + sort -u` ;; \
  45848. + esac; \
  45849. + for file in $$dist_files; do \
  45850. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  45851. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  45852. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  45853. - dir="/$$dir"; \
  45854. - $(mkdir_p) "$(distdir)$$dir"; \
  45855. - else \
  45856. - dir=''; \
  45857. - fi; \
  45858. if test -d $$d/$$file; then \
  45859. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  45860. + if test -d "$(distdir)/$$file"; then \
  45861. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45862. + fi; \
  45863. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  45864. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  45865. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  45866. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45867. fi; \
  45868. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  45869. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  45870. else \
  45871. - test -f $(distdir)/$$file \
  45872. - || cp -p $$d/$$file $(distdir)/$$file \
  45873. + test -f "$(distdir)/$$file" \
  45874. + || cp -p $$d/$$file "$(distdir)/$$file" \
  45875. || exit 1; \
  45876. fi; \
  45877. done
  45878. - list='$(SUBDIRS)'; for subdir in $$list; do \
  45879. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  45880. if test "$$subdir" = .; then :; else \
  45881. test -d "$(distdir)/$$subdir" \
  45882. - || mkdir "$(distdir)/$$subdir" \
  45883. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  45884. || exit 1; \
  45885. - (cd $$subdir && \
  45886. + fi; \
  45887. + done
  45888. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  45889. + if test "$$subdir" = .; then :; else \
  45890. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  45891. + $(am__relativize); \
  45892. + new_distdir=$$reldir; \
  45893. + dir1=$$subdir; dir2="$(top_distdir)"; \
  45894. + $(am__relativize); \
  45895. + new_top_distdir=$$reldir; \
  45896. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  45897. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  45898. + ($(am__cd) $$subdir && \
  45899. $(MAKE) $(AM_MAKEFLAGS) \
  45900. - top_distdir="../$(top_distdir)" \
  45901. - distdir="../$(distdir)/$$subdir" \
  45902. + top_distdir="$$new_top_distdir" \
  45903. + distdir="$$new_distdir" \
  45904. + am__remove_distdir=: \
  45905. + am__skip_length_check=: \
  45906. + am__skip_mode_fix=: \
  45907. distdir) \
  45908. || exit 1; \
  45909. fi; \
  45910. @@ -409,7 +472,8 @@
  45911. clean-generic:
  45912. distclean-generic:
  45913. - -rm -f $(CONFIG_CLEAN_FILES)
  45914. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  45915. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  45916. maintainer-clean-generic:
  45917. @echo "This command is intended for maintainers to use"
  45918. @@ -420,8 +484,7 @@
  45919. distclean: distclean-recursive
  45920. -rm -f Makefile
  45921. -distclean-am: clean-am distclean-generic distclean-libtool \
  45922. - distclean-tags
  45923. +distclean-am: clean-am distclean-generic distclean-tags
  45924. dvi: dvi-recursive
  45925. @@ -429,18 +492,38 @@
  45926. html: html-recursive
  45927. +html-am:
  45928. +
  45929. info: info-recursive
  45930. info-am:
  45931. install-data-am:
  45932. +install-dvi: install-dvi-recursive
  45933. +
  45934. +install-dvi-am:
  45935. +
  45936. install-exec-am:
  45937. +install-html: install-html-recursive
  45938. +
  45939. +install-html-am:
  45940. +
  45941. install-info: install-info-recursive
  45942. +install-info-am:
  45943. +
  45944. install-man:
  45945. +install-pdf: install-pdf-recursive
  45946. +
  45947. +install-pdf-am:
  45948. +
  45949. +install-ps: install-ps-recursive
  45950. +
  45951. +install-ps-am:
  45952. +
  45953. installcheck-am:
  45954. maintainer-clean: maintainer-clean-recursive
  45955. @@ -459,22 +542,25 @@
  45956. ps-am:
  45957. -uninstall-am: uninstall-info-am
  45958. +uninstall-am:
  45959. -uninstall-info: uninstall-info-recursive
  45960. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  45961. + install-am install-strip tags-recursive
  45962. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  45963. - clean clean-generic clean-libtool clean-recursive ctags \
  45964. - ctags-recursive distclean distclean-generic distclean-libtool \
  45965. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  45966. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  45967. + all all-am check check-am clean clean-generic clean-libtool \
  45968. + ctags ctags-recursive distclean distclean-generic \
  45969. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  45970. html-am info info-am install install-am install-data \
  45971. - install-data-am install-exec install-exec-am install-info \
  45972. - install-info-am install-man install-strip installcheck \
  45973. + install-data-am install-dvi install-dvi-am install-exec \
  45974. + install-exec-am install-html install-html-am install-info \
  45975. + install-info-am install-man install-pdf install-pdf-am \
  45976. + install-ps install-ps-am install-strip installcheck \
  45977. installcheck-am installdirs installdirs-am maintainer-clean \
  45978. - maintainer-clean-generic maintainer-clean-recursive \
  45979. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  45980. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  45981. - uninstall uninstall-am uninstall-info-am
  45982. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  45983. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  45984. + uninstall uninstall-am
  45985. +
  45986. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  45987. # Otherwise a system limit (for SysV at least) may be exceeded.
  45988. diff -Nur speex-1.2rc1.orig/include/speex/Makefile.in speex-1.2rc1/include/speex/Makefile.in
  45989. --- speex-1.2rc1.orig/include/speex/Makefile.in 2008-07-21 04:17:19.000000000 +0200
  45990. +++ speex-1.2rc1/include/speex/Makefile.in 2011-02-20 22:00:57.773561847 +0100
  45991. @@ -1,8 +1,9 @@
  45992. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  45993. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  45994. # @configure_input@
  45995. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  45996. -# 2003, 2004 Free Software Foundation, Inc.
  45997. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  45998. +# Inc.
  45999. # This Makefile.in is free software; the Free Software Foundation
  46000. # gives unlimited permission to copy and/or distribute it,
  46001. # with or without modifications, as long as this notice is preserved.
  46002. @@ -17,15 +18,12 @@
  46003. # Disable automatic dependency tracking if using other tools than gcc and gmake
  46004. #AUTOMAKE_OPTIONS = no-dependencies
  46005. -srcdir = @srcdir@
  46006. -top_srcdir = @top_srcdir@
  46007. VPATH = @srcdir@
  46008. pkgdatadir = $(datadir)/@PACKAGE@
  46009. -pkglibdir = $(libdir)/@PACKAGE@
  46010. pkgincludedir = $(includedir)/@PACKAGE@
  46011. -top_builddir = ../..
  46012. +pkglibdir = $(libdir)/@PACKAGE@
  46013. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  46014. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  46015. -INSTALL = @INSTALL@
  46016. install_sh_DATA = $(install_sh) -c -m 644
  46017. install_sh_PROGRAM = $(install_sh) -c
  46018. install_sh_SCRIPT = $(install_sh) -c
  46019. @@ -37,6 +35,7 @@
  46020. NORMAL_UNINSTALL = :
  46021. PRE_UNINSTALL = :
  46022. POST_UNINSTALL = :
  46023. +build_triplet = @build@
  46024. host_triplet = @host@
  46025. subdir = include/speex
  46026. DIST_COMMON = $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
  46027. @@ -46,21 +45,40 @@
  46028. $(top_srcdir)/configure.ac
  46029. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  46030. $(ACLOCAL_M4)
  46031. -mkinstalldirs = $(mkdir_p)
  46032. +mkinstalldirs = $(install_sh) -d
  46033. CONFIG_HEADER = $(top_builddir)/config.h
  46034. CONFIG_CLEAN_FILES = speex_config_types.h
  46035. +CONFIG_CLEAN_VPATH_FILES =
  46036. SOURCES =
  46037. DIST_SOURCES =
  46038. -am__installdirs = "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"
  46039. -nodist_pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
  46040. -pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
  46041. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  46042. +am__vpath_adj = case $$p in \
  46043. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  46044. + *) f=$$p;; \
  46045. + esac;
  46046. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  46047. +am__install_max = 40
  46048. +am__nobase_strip_setup = \
  46049. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  46050. +am__nobase_strip = \
  46051. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  46052. +am__nobase_list = $(am__nobase_strip_setup); \
  46053. + for p in $$list; do echo "$$p $$p"; done | \
  46054. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  46055. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  46056. + if (++n[$$2] == $(am__install_max)) \
  46057. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  46058. + END { for (dir in files) print dir, files[dir] }'
  46059. +am__base_list = \
  46060. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  46061. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  46062. +am__installdirs = "$(DESTDIR)$(pkgincludedir)" \
  46063. + "$(DESTDIR)$(pkgincludedir)"
  46064. HEADERS = $(nodist_pkginclude_HEADERS) $(pkginclude_HEADERS)
  46065. ETAGS = etags
  46066. CTAGS = ctags
  46067. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  46068. ACLOCAL = @ACLOCAL@
  46069. -AMDEP_FALSE = @AMDEP_FALSE@
  46070. -AMDEP_TRUE = @AMDEP_TRUE@
  46071. AMTAR = @AMTAR@
  46072. AR = @AR@
  46073. AS = @AS@
  46074. @@ -68,60 +86,57 @@
  46075. AUTOHEADER = @AUTOHEADER@
  46076. AUTOMAKE = @AUTOMAKE@
  46077. AWK = @AWK@
  46078. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  46079. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  46080. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  46081. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  46082. CC = @CC@
  46083. CCDEPMODE = @CCDEPMODE@
  46084. CFLAGS = @CFLAGS@
  46085. CPP = @CPP@
  46086. CPPFLAGS = @CPPFLAGS@
  46087. -CXX = @CXX@
  46088. -CXXCPP = @CXXCPP@
  46089. -CXXDEPMODE = @CXXDEPMODE@
  46090. -CXXFLAGS = @CXXFLAGS@
  46091. CYGPATH_W = @CYGPATH_W@
  46092. DEFS = @DEFS@
  46093. DEPDIR = @DEPDIR@
  46094. DLLTOOL = @DLLTOOL@
  46095. DSYMUTIL = @DSYMUTIL@
  46096. -ECHO = @ECHO@
  46097. +DUMPBIN = @DUMPBIN@
  46098. ECHO_C = @ECHO_C@
  46099. ECHO_N = @ECHO_N@
  46100. ECHO_T = @ECHO_T@
  46101. EGREP = @EGREP@
  46102. EXEEXT = @EXEEXT@
  46103. -F77 = @F77@
  46104. -FFLAGS = @FFLAGS@
  46105. FFT_CFLAGS = @FFT_CFLAGS@
  46106. FFT_LIBS = @FFT_LIBS@
  46107. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  46108. +FGREP = @FGREP@
  46109. GREP = @GREP@
  46110. +INSTALL = @INSTALL@
  46111. INSTALL_DATA = @INSTALL_DATA@
  46112. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  46113. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  46114. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  46115. +LD = @LD@
  46116. LDFLAGS = @LDFLAGS@
  46117. LIBOBJS = @LIBOBJS@
  46118. LIBS = @LIBS@
  46119. LIBTOOL = @LIBTOOL@
  46120. +LIPO = @LIPO@
  46121. LN_S = @LN_S@
  46122. LTLIBOBJS = @LTLIBOBJS@
  46123. MAINT = @MAINT@
  46124. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  46125. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  46126. MAKEINFO = @MAKEINFO@
  46127. +MKDIR_P = @MKDIR_P@
  46128. +NM = @NM@
  46129. NMEDIT = @NMEDIT@
  46130. OBJDUMP = @OBJDUMP@
  46131. OBJEXT = @OBJEXT@
  46132. OGG_CFLAGS = @OGG_CFLAGS@
  46133. OGG_LIBS = @OGG_LIBS@
  46134. +OTOOL = @OTOOL@
  46135. +OTOOL64 = @OTOOL64@
  46136. PACKAGE = @PACKAGE@
  46137. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  46138. PACKAGE_NAME = @PACKAGE_NAME@
  46139. PACKAGE_STRING = @PACKAGE_STRING@
  46140. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  46141. +PACKAGE_URL = @PACKAGE_URL@
  46142. PACKAGE_VERSION = @PACKAGE_VERSION@
  46143. PATH_SEPARATOR = @PATH_SEPARATOR@
  46144. PKG_CONFIG = @PKG_CONFIG@
  46145. @@ -137,22 +152,24 @@
  46146. SPEEX_VERSION = @SPEEX_VERSION@
  46147. STRIP = @STRIP@
  46148. VERSION = @VERSION@
  46149. +abs_builddir = @abs_builddir@
  46150. +abs_srcdir = @abs_srcdir@
  46151. +abs_top_builddir = @abs_top_builddir@
  46152. +abs_top_srcdir = @abs_top_srcdir@
  46153. ac_ct_CC = @ac_ct_CC@
  46154. -ac_ct_CXX = @ac_ct_CXX@
  46155. -ac_ct_F77 = @ac_ct_F77@
  46156. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  46157. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  46158. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  46159. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  46160. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  46161. am__include = @am__include@
  46162. am__leading_dot = @am__leading_dot@
  46163. am__quote = @am__quote@
  46164. +am__tar = @am__tar@
  46165. +am__untar = @am__untar@
  46166. bindir = @bindir@
  46167. build = @build@
  46168. build_alias = @build_alias@
  46169. build_cpu = @build_cpu@
  46170. build_os = @build_os@
  46171. build_vendor = @build_vendor@
  46172. +builddir = @builddir@
  46173. datadir = @datadir@
  46174. datarootdir = @datarootdir@
  46175. docdir = @docdir@
  46176. @@ -171,6 +188,7 @@
  46177. libexecdir = @libexecdir@
  46178. localedir = @localedir@
  46179. localstatedir = @localstatedir@
  46180. +lt_ECHO = @lt_ECHO@
  46181. mandir = @mandir@
  46182. mkdir_p = @mkdir_p@
  46183. oldincludedir = @oldincludedir@
  46184. @@ -181,8 +199,12 @@
  46185. sbindir = @sbindir@
  46186. sharedstatedir = @sharedstatedir@
  46187. src = @src@
  46188. +srcdir = @srcdir@
  46189. sysconfdir = @sysconfdir@
  46190. target_alias = @target_alias@
  46191. +top_build_prefix = @top_build_prefix@
  46192. +top_builddir = @top_builddir@
  46193. +top_srcdir = @top_srcdir@
  46194. nodist_pkginclude_HEADERS = speex_config_types.h
  46195. pkginclude_HEADERS = speex.h speex_bits.h speex_buffer.h speex_callbacks.h \
  46196. speex_echo.h speex_header.h speex_jitter.h speex_preprocess.h speex_resampler.h \
  46197. @@ -195,14 +217,14 @@
  46198. @for dep in $?; do \
  46199. case '$(am__configure_deps)' in \
  46200. *$$dep*) \
  46201. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  46202. - && exit 0; \
  46203. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  46204. + && { if test -f $@; then exit 0; else break; fi; }; \
  46205. exit 1;; \
  46206. esac; \
  46207. done; \
  46208. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/speex/Makefile'; \
  46209. - cd $(top_srcdir) && \
  46210. - $(AUTOMAKE) --gnu include/speex/Makefile
  46211. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/speex/Makefile'; \
  46212. + $(am__cd) $(top_srcdir) && \
  46213. + $(AUTOMAKE) --gnu include/speex/Makefile
  46214. .PRECIOUS: Makefile
  46215. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  46216. @case '$?' in \
  46217. @@ -220,6 +242,7 @@
  46218. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46219. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  46220. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46221. +$(am__aclocal_m4_deps):
  46222. speex_config_types.h: $(top_builddir)/config.status $(srcdir)/speex_config_types.h.in
  46223. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  46224. @@ -228,117 +251,126 @@
  46225. clean-libtool:
  46226. -rm -rf .libs _libs
  46227. -
  46228. -distclean-libtool:
  46229. - -rm -f libtool
  46230. -uninstall-info-am:
  46231. install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS)
  46232. @$(NORMAL_INSTALL)
  46233. - test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
  46234. - @list='$(nodist_pkginclude_HEADERS)'; for p in $$list; do \
  46235. + test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
  46236. + @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
  46237. + for p in $$list; do \
  46238. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  46239. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  46240. - echo " $(nodist_pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  46241. - $(nodist_pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
  46242. + echo "$$d$$p"; \
  46243. + done | $(am__base_list) | \
  46244. + while read files; do \
  46245. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
  46246. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
  46247. done
  46248. uninstall-nodist_pkgincludeHEADERS:
  46249. @$(NORMAL_UNINSTALL)
  46250. - @list='$(nodist_pkginclude_HEADERS)'; for p in $$list; do \
  46251. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  46252. - echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  46253. - rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
  46254. - done
  46255. + @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
  46256. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  46257. + test -n "$$files" || exit 0; \
  46258. + echo " ( cd '$(DESTDIR)$(pkgincludedir)' && rm -f" $$files ")"; \
  46259. + cd "$(DESTDIR)$(pkgincludedir)" && rm -f $$files
  46260. install-pkgincludeHEADERS: $(pkginclude_HEADERS)
  46261. @$(NORMAL_INSTALL)
  46262. - test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
  46263. - @list='$(pkginclude_HEADERS)'; for p in $$list; do \
  46264. + test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
  46265. + @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
  46266. + for p in $$list; do \
  46267. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  46268. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  46269. - echo " $(pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  46270. - $(pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
  46271. + echo "$$d$$p"; \
  46272. + done | $(am__base_list) | \
  46273. + while read files; do \
  46274. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
  46275. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
  46276. done
  46277. uninstall-pkgincludeHEADERS:
  46278. @$(NORMAL_UNINSTALL)
  46279. - @list='$(pkginclude_HEADERS)'; for p in $$list; do \
  46280. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  46281. - echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  46282. - rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
  46283. - done
  46284. + @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
  46285. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  46286. + test -n "$$files" || exit 0; \
  46287. + echo " ( cd '$(DESTDIR)$(pkgincludedir)' && rm -f" $$files ")"; \
  46288. + cd "$(DESTDIR)$(pkgincludedir)" && rm -f $$files
  46289. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  46290. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46291. unique=`for i in $$list; do \
  46292. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  46293. done | \
  46294. - $(AWK) ' { files[$$0] = 1; } \
  46295. - END { for (i in files) print i; }'`; \
  46296. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46297. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  46298. mkid -fID $$unique
  46299. tags: TAGS
  46300. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  46301. $(TAGS_FILES) $(LISP)
  46302. - tags=; \
  46303. + set x; \
  46304. here=`pwd`; \
  46305. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46306. unique=`for i in $$list; do \
  46307. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  46308. done | \
  46309. - $(AWK) ' { files[$$0] = 1; } \
  46310. - END { for (i in files) print i; }'`; \
  46311. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  46312. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46313. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  46314. + shift; \
  46315. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  46316. test -n "$$unique" || unique=$$empty_fix; \
  46317. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46318. - $$tags $$unique; \
  46319. + if test $$# -gt 0; then \
  46320. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46321. + "$$@" $$unique; \
  46322. + else \
  46323. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46324. + $$unique; \
  46325. + fi; \
  46326. fi
  46327. ctags: CTAGS
  46328. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  46329. $(TAGS_FILES) $(LISP)
  46330. - tags=; \
  46331. - here=`pwd`; \
  46332. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46333. unique=`for i in $$list; do \
  46334. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  46335. done | \
  46336. - $(AWK) ' { files[$$0] = 1; } \
  46337. - END { for (i in files) print i; }'`; \
  46338. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  46339. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46340. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  46341. + test -z "$(CTAGS_ARGS)$$unique" \
  46342. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  46343. - $$tags $$unique
  46344. + $$unique
  46345. GTAGS:
  46346. here=`$(am__cd) $(top_builddir) && pwd` \
  46347. - && cd $(top_srcdir) \
  46348. - && gtags -i $(GTAGS_ARGS) $$here
  46349. + && $(am__cd) $(top_srcdir) \
  46350. + && gtags -i $(GTAGS_ARGS) "$$here"
  46351. distclean-tags:
  46352. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  46353. distdir: $(DISTFILES)
  46354. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  46355. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  46356. - list='$(DISTFILES)'; for file in $$list; do \
  46357. - case $$file in \
  46358. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  46359. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  46360. - esac; \
  46361. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  46362. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  46363. + list='$(DISTFILES)'; \
  46364. + dist_files=`for file in $$list; do echo $$file; done | \
  46365. + sed -e "s|^$$srcdirstrip/||;t" \
  46366. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  46367. + case $$dist_files in \
  46368. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  46369. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  46370. + sort -u` ;; \
  46371. + esac; \
  46372. + for file in $$dist_files; do \
  46373. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  46374. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  46375. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  46376. - dir="/$$dir"; \
  46377. - $(mkdir_p) "$(distdir)$$dir"; \
  46378. - else \
  46379. - dir=''; \
  46380. - fi; \
  46381. if test -d $$d/$$file; then \
  46382. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  46383. + if test -d "$(distdir)/$$file"; then \
  46384. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46385. + fi; \
  46386. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  46387. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  46388. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  46389. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46390. fi; \
  46391. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  46392. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  46393. else \
  46394. - test -f $(distdir)/$$file \
  46395. - || cp -p $$d/$$file $(distdir)/$$file \
  46396. + test -f "$(distdir)/$$file" \
  46397. + || cp -p $$d/$$file "$(distdir)/$$file" \
  46398. || exit 1; \
  46399. fi; \
  46400. done
  46401. @@ -347,7 +379,7 @@
  46402. all-am: Makefile $(HEADERS)
  46403. installdirs:
  46404. for dir in "$(DESTDIR)$(pkgincludedir)" "$(DESTDIR)$(pkgincludedir)"; do \
  46405. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  46406. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  46407. done
  46408. install: install-am
  46409. install-exec: install-exec-am
  46410. @@ -368,7 +400,8 @@
  46411. clean-generic:
  46412. distclean-generic:
  46413. - -rm -f $(CONFIG_CLEAN_FILES)
  46414. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  46415. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  46416. maintainer-clean-generic:
  46417. @echo "This command is intended for maintainers to use"
  46418. @@ -379,8 +412,7 @@
  46419. distclean: distclean-am
  46420. -rm -f Makefile
  46421. -distclean-am: clean-am distclean-generic distclean-libtool \
  46422. - distclean-tags
  46423. +distclean-am: clean-am distclean-generic distclean-tags
  46424. dvi: dvi-am
  46425. @@ -388,6 +420,8 @@
  46426. html: html-am
  46427. +html-am:
  46428. +
  46429. info: info-am
  46430. info-am:
  46431. @@ -395,12 +429,30 @@
  46432. install-data-am: install-nodist_pkgincludeHEADERS \
  46433. install-pkgincludeHEADERS
  46434. +install-dvi: install-dvi-am
  46435. +
  46436. +install-dvi-am:
  46437. +
  46438. install-exec-am:
  46439. +install-html: install-html-am
  46440. +
  46441. +install-html-am:
  46442. +
  46443. install-info: install-info-am
  46444. +install-info-am:
  46445. +
  46446. install-man:
  46447. +install-pdf: install-pdf-am
  46448. +
  46449. +install-pdf-am:
  46450. +
  46451. +install-ps: install-ps-am
  46452. +
  46453. +install-ps-am:
  46454. +
  46455. installcheck-am:
  46456. maintainer-clean: maintainer-clean-am
  46457. @@ -419,21 +471,26 @@
  46458. ps-am:
  46459. -uninstall-am: uninstall-info-am uninstall-nodist_pkgincludeHEADERS \
  46460. +uninstall-am: uninstall-nodist_pkgincludeHEADERS \
  46461. uninstall-pkgincludeHEADERS
  46462. +.MAKE: install-am install-strip
  46463. +
  46464. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  46465. clean-libtool ctags distclean distclean-generic \
  46466. distclean-libtool distclean-tags distdir dvi dvi-am html \
  46467. html-am info info-am install install-am install-data \
  46468. - install-data-am install-exec install-exec-am install-info \
  46469. + install-data-am install-dvi install-dvi-am install-exec \
  46470. + install-exec-am install-html install-html-am install-info \
  46471. install-info-am install-man install-nodist_pkgincludeHEADERS \
  46472. - install-pkgincludeHEADERS install-strip installcheck \
  46473. + install-pdf install-pdf-am install-pkgincludeHEADERS \
  46474. + install-ps install-ps-am install-strip installcheck \
  46475. installcheck-am installdirs maintainer-clean \
  46476. maintainer-clean-generic mostlyclean mostlyclean-generic \
  46477. mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
  46478. - uninstall-am uninstall-info-am \
  46479. - uninstall-nodist_pkgincludeHEADERS uninstall-pkgincludeHEADERS
  46480. + uninstall-am uninstall-nodist_pkgincludeHEADERS \
  46481. + uninstall-pkgincludeHEADERS
  46482. +
  46483. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  46484. # Otherwise a system limit (for SysV at least) may be exceeded.
  46485. diff -Nur speex-1.2rc1.orig/INSTALL speex-1.2rc1/INSTALL
  46486. --- speex-1.2rc1.orig/INSTALL 2007-06-23 06:18:37.000000000 +0200
  46487. +++ speex-1.2rc1/INSTALL 2011-02-20 22:00:58.763877613 +0100
  46488. @@ -1,8 +1,365 @@
  46489. -Installing Speex is as easy as:
  46490. +Installation Instructions
  46491. +*************************
  46492. -% ./configure [--prefix=<install-path>]
  46493. -% make
  46494. -% make install
  46495. +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
  46496. +2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  46497. +
  46498. + Copying and distribution of this file, with or without modification,
  46499. +are permitted in any medium without royalty provided the copyright
  46500. +notice and this notice are preserved. This file is offered as-is,
  46501. +without warranty of any kind.
  46502. +
  46503. +Basic Installation
  46504. +==================
  46505. +
  46506. + Briefly, the shell commands `./configure; make; make install' should
  46507. +configure, build, and install this package. The following
  46508. +more-detailed instructions are generic; see the `README' file for
  46509. +instructions specific to this package. Some packages provide this
  46510. +`INSTALL' file but do not implement all of the features documented
  46511. +below. The lack of an optional feature in a given package is not
  46512. +necessarily a bug. More recommendations for GNU packages can be found
  46513. +in *note Makefile Conventions: (standards)Makefile Conventions.
  46514. +
  46515. + The `configure' shell script attempts to guess correct values for
  46516. +various system-dependent variables used during compilation. It uses
  46517. +those values to create a `Makefile' in each directory of the package.
  46518. +It may also create one or more `.h' files containing system-dependent
  46519. +definitions. Finally, it creates a shell script `config.status' that
  46520. +you can run in the future to recreate the current configuration, and a
  46521. +file `config.log' containing compiler output (useful mainly for
  46522. +debugging `configure').
  46523. +
  46524. + It can also use an optional file (typically called `config.cache'
  46525. +and enabled with `--cache-file=config.cache' or simply `-C') that saves
  46526. +the results of its tests to speed up reconfiguring. Caching is
  46527. +disabled by default to prevent problems with accidental use of stale
  46528. +cache files.
  46529. +
  46530. + If you need to do unusual things to compile the package, please try
  46531. +to figure out how `configure' could check whether to do them, and mail
  46532. +diffs or instructions to the address given in the `README' so they can
  46533. +be considered for the next release. If you are using the cache, and at
  46534. +some point `config.cache' contains results you don't want to keep, you
  46535. +may remove or edit it.
  46536. +
  46537. + The file `configure.ac' (or `configure.in') is used to create
  46538. +`configure' by a program called `autoconf'. You need `configure.ac' if
  46539. +you want to change it or regenerate `configure' using a newer version
  46540. +of `autoconf'.
  46541. +
  46542. + The simplest way to compile this package is:
  46543. +
  46544. + 1. `cd' to the directory containing the package's source code and type
  46545. + `./configure' to configure the package for your system.
  46546. +
  46547. + Running `configure' might take a while. While running, it prints
  46548. + some messages telling which features it is checking for.
  46549. +
  46550. + 2. Type `make' to compile the package.
  46551. +
  46552. + 3. Optionally, type `make check' to run any self-tests that come with
  46553. + the package, generally using the just-built uninstalled binaries.
  46554. +
  46555. + 4. Type `make install' to install the programs and any data files and
  46556. + documentation. When installing into a prefix owned by root, it is
  46557. + recommended that the package be configured and built as a regular
  46558. + user, and only the `make install' phase executed with root
  46559. + privileges.
  46560. +
  46561. + 5. Optionally, type `make installcheck' to repeat any self-tests, but
  46562. + this time using the binaries in their final installed location.
  46563. + This target does not install anything. Running this target as a
  46564. + regular user, particularly if the prior `make install' required
  46565. + root privileges, verifies that the installation completed
  46566. + correctly.
  46567. +
  46568. + 6. You can remove the program binaries and object files from the
  46569. + source code directory by typing `make clean'. To also remove the
  46570. + files that `configure' created (so you can compile the package for
  46571. + a different kind of computer), type `make distclean'. There is
  46572. + also a `make maintainer-clean' target, but that is intended mainly
  46573. + for the package's developers. If you use it, you may have to get
  46574. + all sorts of other programs in order to regenerate files that came
  46575. + with the distribution.
  46576. +
  46577. + 7. Often, you can also type `make uninstall' to remove the installed
  46578. + files again. In practice, not all packages have tested that
  46579. + uninstallation works correctly, even though it is required by the
  46580. + GNU Coding Standards.
  46581. +
  46582. + 8. Some packages, particularly those that use Automake, provide `make
  46583. + distcheck', which can by used by developers to test that all other
  46584. + targets like `make install' and `make uninstall' work correctly.
  46585. + This target is generally not run by end users.
  46586. +
  46587. +Compilers and Options
  46588. +=====================
  46589. +
  46590. + Some systems require unusual options for compilation or linking that
  46591. +the `configure' script does not know about. Run `./configure --help'
  46592. +for details on some of the pertinent environment variables.
  46593. +
  46594. + You can give `configure' initial values for configuration parameters
  46595. +by setting variables in the command line or in the environment. Here
  46596. +is an example:
  46597. +
  46598. + ./configure CC=c99 CFLAGS=-g LIBS=-lposix
  46599. +
  46600. + *Note Defining Variables::, for more details.
  46601. +
  46602. +Compiling For Multiple Architectures
  46603. +====================================
  46604. +
  46605. + You can compile the package for more than one kind of computer at the
  46606. +same time, by placing the object files for each architecture in their
  46607. +own directory. To do this, you can use GNU `make'. `cd' to the
  46608. +directory where you want the object files and executables to go and run
  46609. +the `configure' script. `configure' automatically checks for the
  46610. +source code in the directory that `configure' is in and in `..'. This
  46611. +is known as a "VPATH" build.
  46612. +
  46613. + With a non-GNU `make', it is safer to compile the package for one
  46614. +architecture at a time in the source code directory. After you have
  46615. +installed the package for one architecture, use `make distclean' before
  46616. +reconfiguring for another architecture.
  46617. +
  46618. + On MacOS X 10.5 and later systems, you can create libraries and
  46619. +executables that work on multiple system types--known as "fat" or
  46620. +"universal" binaries--by specifying multiple `-arch' options to the
  46621. +compiler but only a single `-arch' option to the preprocessor. Like
  46622. +this:
  46623. +
  46624. + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
  46625. + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
  46626. + CPP="gcc -E" CXXCPP="g++ -E"
  46627. +
  46628. + This is not guaranteed to produce working output in all cases, you
  46629. +may have to build one architecture at a time and combine the results
  46630. +using the `lipo' tool if you have problems.
  46631. +
  46632. +Installation Names
  46633. +==================
  46634. +
  46635. + By default, `make install' installs the package's commands under
  46636. +`/usr/local/bin', include files under `/usr/local/include', etc. You
  46637. +can specify an installation prefix other than `/usr/local' by giving
  46638. +`configure' the option `--prefix=PREFIX', where PREFIX must be an
  46639. +absolute file name.
  46640. +
  46641. + You can specify separate installation prefixes for
  46642. +architecture-specific files and architecture-independent files. If you
  46643. +pass the option `--exec-prefix=PREFIX' to `configure', the package uses
  46644. +PREFIX as the prefix for installing programs and libraries.
  46645. +Documentation and other data files still use the regular prefix.
  46646. +
  46647. + In addition, if you use an unusual directory layout you can give
  46648. +options like `--bindir=DIR' to specify different values for particular
  46649. +kinds of files. Run `configure --help' for a list of the directories
  46650. +you can set and what kinds of files go in them. In general, the
  46651. +default for these options is expressed in terms of `${prefix}', so that
  46652. +specifying just `--prefix' will affect all of the other directory
  46653. +specifications that were not explicitly provided.
  46654. +
  46655. + The most portable way to affect installation locations is to pass the
  46656. +correct locations to `configure'; however, many packages provide one or
  46657. +both of the following shortcuts of passing variable assignments to the
  46658. +`make install' command line to change installation locations without
  46659. +having to reconfigure or recompile.
  46660. +
  46661. + The first method involves providing an override variable for each
  46662. +affected directory. For example, `make install
  46663. +prefix=/alternate/directory' will choose an alternate location for all
  46664. +directory configuration variables that were expressed in terms of
  46665. +`${prefix}'. Any directories that were specified during `configure',
  46666. +but not in terms of `${prefix}', must each be overridden at install
  46667. +time for the entire installation to be relocated. The approach of
  46668. +makefile variable overrides for each directory variable is required by
  46669. +the GNU Coding Standards, and ideally causes no recompilation.
  46670. +However, some platforms have known limitations with the semantics of
  46671. +shared libraries that end up requiring recompilation when using this
  46672. +method, particularly noticeable in packages that use GNU Libtool.
  46673. +
  46674. + The second method involves providing the `DESTDIR' variable. For
  46675. +example, `make install DESTDIR=/alternate/directory' will prepend
  46676. +`/alternate/directory' before all installation names. The approach of
  46677. +`DESTDIR' overrides is not required by the GNU Coding Standards, and
  46678. +does not work on platforms that have drive letters. On the other hand,
  46679. +it does better at avoiding recompilation issues, and works well even
  46680. +when some directory options were not specified in terms of `${prefix}'
  46681. +at `configure' time.
  46682. +
  46683. +Optional Features
  46684. +=================
  46685. +
  46686. + If the package supports it, you can cause programs to be installed
  46687. +with an extra prefix or suffix on their names by giving `configure' the
  46688. +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
  46689. +
  46690. + Some packages pay attention to `--enable-FEATURE' options to
  46691. +`configure', where FEATURE indicates an optional part of the package.
  46692. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE
  46693. +is something like `gnu-as' or `x' (for the X Window System). The
  46694. +`README' should mention any `--enable-' and `--with-' options that the
  46695. +package recognizes.
  46696. +
  46697. + For packages that use the X Window System, `configure' can usually
  46698. +find the X include and library files automatically, but if it doesn't,
  46699. +you can use the `configure' options `--x-includes=DIR' and
  46700. +`--x-libraries=DIR' to specify their locations.
  46701. +
  46702. + Some packages offer the ability to configure how verbose the
  46703. +execution of `make' will be. For these packages, running `./configure
  46704. +--enable-silent-rules' sets the default to minimal output, which can be
  46705. +overridden with `make V=1'; while running `./configure
  46706. +--disable-silent-rules' sets the default to verbose, which can be
  46707. +overridden with `make V=0'.
  46708. +
  46709. +Particular systems
  46710. +==================
  46711. +
  46712. + On HP-UX, the default C compiler is not ANSI C compatible. If GNU
  46713. +CC is not installed, it is recommended to use the following options in
  46714. +order to use an ANSI C compiler:
  46715. +
  46716. + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
  46717. +
  46718. +and if that doesn't work, install pre-built binaries of GCC for HP-UX.
  46719. +
  46720. + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
  46721. +parse its `<wchar.h>' header file. The option `-nodtk' can be used as
  46722. +a workaround. If GNU CC is not installed, it is therefore recommended
  46723. +to try
  46724. +
  46725. + ./configure CC="cc"
  46726. +
  46727. +and if that doesn't work, try
  46728. +
  46729. + ./configure CC="cc -nodtk"
  46730. +
  46731. + On Solaris, don't put `/usr/ucb' early in your `PATH'. This
  46732. +directory contains several dysfunctional programs; working variants of
  46733. +these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
  46734. +in your `PATH', put it _after_ `/usr/bin'.
  46735. +
  46736. + On Haiku, software installed for all users goes in `/boot/common',
  46737. +not `/usr/local'. It is recommended to use the following options:
  46738. +
  46739. + ./configure --prefix=/boot/common
  46740. +
  46741. +Specifying the System Type
  46742. +==========================
  46743. +
  46744. + There may be some features `configure' cannot figure out
  46745. +automatically, but needs to determine by the type of machine the package
  46746. +will run on. Usually, assuming the package is built to be run on the
  46747. +_same_ architectures, `configure' can figure that out, but if it prints
  46748. +a message saying it cannot guess the machine type, give it the
  46749. +`--build=TYPE' option. TYPE can either be a short name for the system
  46750. +type, such as `sun4', or a canonical name which has the form:
  46751. +
  46752. + CPU-COMPANY-SYSTEM
  46753. +
  46754. +where SYSTEM can have one of these forms:
  46755. +
  46756. + OS
  46757. + KERNEL-OS
  46758. +
  46759. + See the file `config.sub' for the possible values of each field. If
  46760. +`config.sub' isn't included in this package, then this package doesn't
  46761. +need to know the machine type.
  46762. +
  46763. + If you are _building_ compiler tools for cross-compiling, you should
  46764. +use the option `--target=TYPE' to select the type of system they will
  46765. +produce code for.
  46766. +
  46767. + If you want to _use_ a cross compiler, that generates code for a
  46768. +platform different from the build platform, you should specify the
  46769. +"host" platform (i.e., that on which the generated programs will
  46770. +eventually be run) with `--host=TYPE'.
  46771. +
  46772. +Sharing Defaults
  46773. +================
  46774. +
  46775. + If you want to set default values for `configure' scripts to share,
  46776. +you can create a site shell script called `config.site' that gives
  46777. +default values for variables like `CC', `cache_file', and `prefix'.
  46778. +`configure' looks for `PREFIX/share/config.site' if it exists, then
  46779. +`PREFIX/etc/config.site' if it exists. Or, you can set the
  46780. +`CONFIG_SITE' environment variable to the location of the site script.
  46781. +A warning: not all `configure' scripts look for a site script.
  46782. +
  46783. +Defining Variables
  46784. +==================
  46785. +
  46786. + Variables not defined in a site shell script can be set in the
  46787. +environment passed to `configure'. However, some packages may run
  46788. +configure again during the build, and the customized values of these
  46789. +variables may be lost. In order to avoid this problem, you should set
  46790. +them in the `configure' command line, using `VAR=value'. For example:
  46791. +
  46792. + ./configure CC=/usr/local2/bin/gcc
  46793. +
  46794. +causes the specified `gcc' to be used as the C compiler (unless it is
  46795. +overridden in the site shell script).
  46796. +
  46797. +Unfortunately, this technique does not work for `CONFIG_SHELL' due to
  46798. +an Autoconf bug. Until the bug is fixed you can use this workaround:
  46799. +
  46800. + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
  46801. +
  46802. +`configure' Invocation
  46803. +======================
  46804. +
  46805. + `configure' recognizes the following options to control how it
  46806. +operates.
  46807. +
  46808. +`--help'
  46809. +`-h'
  46810. + Print a summary of all of the options to `configure', and exit.
  46811. +
  46812. +`--help=short'
  46813. +`--help=recursive'
  46814. + Print a summary of the options unique to this package's
  46815. + `configure', and exit. The `short' variant lists options used
  46816. + only in the top level, while the `recursive' variant lists options
  46817. + also present in any nested packages.
  46818. +
  46819. +`--version'
  46820. +`-V'
  46821. + Print the version of Autoconf used to generate the `configure'
  46822. + script, and exit.
  46823. +
  46824. +`--cache-file=FILE'
  46825. + Enable the cache: use and save the results of the tests in FILE,
  46826. + traditionally `config.cache'. FILE defaults to `/dev/null' to
  46827. + disable caching.
  46828. +
  46829. +`--config-cache'
  46830. +`-C'
  46831. + Alias for `--cache-file=config.cache'.
  46832. +
  46833. +`--quiet'
  46834. +`--silent'
  46835. +`-q'
  46836. + Do not print messages saying which checks are being made. To
  46837. + suppress all normal output, redirect it to `/dev/null' (any error
  46838. + messages will still be shown).
  46839. +
  46840. +`--srcdir=DIR'
  46841. + Look for the package's source code in directory DIR. Usually
  46842. + `configure' can determine that directory automatically.
  46843. +
  46844. +`--prefix=DIR'
  46845. + Use DIR as the installation prefix. *note Installation Names::
  46846. + for more details, including other options available for fine-tuning
  46847. + the installation locations.
  46848. +
  46849. +`--no-create'
  46850. +`-n'
  46851. + Run the configure checks, but stop before creating any output
  46852. + files.
  46853. +
  46854. +`configure' also accepts some other, not widely useful, options. Run
  46855. +`configure --help' for more details.
  46856. -Note that if you are using the code from SVN, you will need to run "autogen.sh"
  46857. -instead of "configure".
  46858. diff -Nur speex-1.2rc1.orig/install-sh speex-1.2rc1/install-sh
  46859. --- speex-1.2rc1.orig/install-sh 2007-04-28 03:21:47.000000000 +0200
  46860. +++ speex-1.2rc1/install-sh 2011-02-20 22:00:57.483562505 +0100
  46861. @@ -1,7 +1,7 @@
  46862. #!/bin/sh
  46863. # install - install a program, script, or datafile
  46864. -scriptversion=2004-04-01.17
  46865. +scriptversion=2009-04-28.21; # UTC
  46866. # This originates from X11R5 (mit/util/scripts/install.sh), which was
  46867. # later released in X11R6 (xc/config/util/install.sh) with the
  46868. @@ -39,120 +39,157 @@
  46869. # when there is no Makefile.
  46870. #
  46871. # This script is compatible with the BSD install script, but was written
  46872. -# from scratch. It can only install one file at a time, a restriction
  46873. -# shared with many OS's install programs.
  46874. +# from scratch.
  46875. +
  46876. +nl='
  46877. +'
  46878. +IFS=" "" $nl"
  46879. # set DOITPROG to echo to test this script
  46880. # Don't use :- since 4.3BSD and earlier shells don't like it.
  46881. -doit="${DOITPROG-}"
  46882. +doit=${DOITPROG-}
  46883. +if test -z "$doit"; then
  46884. + doit_exec=exec
  46885. +else
  46886. + doit_exec=$doit
  46887. +fi
  46888. -# put in absolute paths if you don't have them in your path; or use env. vars.
  46889. +# Put in absolute file names if you don't have them in your path;
  46890. +# or use environment vars.
  46891. +
  46892. +chgrpprog=${CHGRPPROG-chgrp}
  46893. +chmodprog=${CHMODPROG-chmod}
  46894. +chownprog=${CHOWNPROG-chown}
  46895. +cmpprog=${CMPPROG-cmp}
  46896. +cpprog=${CPPROG-cp}
  46897. +mkdirprog=${MKDIRPROG-mkdir}
  46898. +mvprog=${MVPROG-mv}
  46899. +rmprog=${RMPROG-rm}
  46900. +stripprog=${STRIPPROG-strip}
  46901. +
  46902. +posix_glob='?'
  46903. +initialize_posix_glob='
  46904. + test "$posix_glob" != "?" || {
  46905. + if (set -f) 2>/dev/null; then
  46906. + posix_glob=
  46907. + else
  46908. + posix_glob=:
  46909. + fi
  46910. + }
  46911. +'
  46912. +
  46913. +posix_mkdir=
  46914. +
  46915. +# Desired mode of installed file.
  46916. +mode=0755
  46917. -mvprog="${MVPROG-mv}"
  46918. -cpprog="${CPPROG-cp}"
  46919. -chmodprog="${CHMODPROG-chmod}"
  46920. -chownprog="${CHOWNPROG-chown}"
  46921. -chgrpprog="${CHGRPPROG-chgrp}"
  46922. -stripprog="${STRIPPROG-strip}"
  46923. -rmprog="${RMPROG-rm}"
  46924. -mkdirprog="${MKDIRPROG-mkdir}"
  46925. -
  46926. -transformbasename=
  46927. -transform_arg=
  46928. -instcmd="$mvprog"
  46929. -chmodcmd="$chmodprog 0755"
  46930. -chowncmd=
  46931. chgrpcmd=
  46932. -stripcmd=
  46933. +chmodcmd=$chmodprog
  46934. +chowncmd=
  46935. +mvcmd=$mvprog
  46936. rmcmd="$rmprog -f"
  46937. -mvcmd="$mvprog"
  46938. +stripcmd=
  46939. +
  46940. src=
  46941. dst=
  46942. dir_arg=
  46943. +dst_arg=
  46944. -usage="Usage: $0 [OPTION]... SRCFILE DSTFILE
  46945. +copy_on_change=false
  46946. +no_target_directory=
  46947. +
  46948. +usage="\
  46949. +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
  46950. or: $0 [OPTION]... SRCFILES... DIRECTORY
  46951. - or: $0 -d DIRECTORIES...
  46952. + or: $0 [OPTION]... -t DIRECTORY SRCFILES...
  46953. + or: $0 [OPTION]... -d DIRECTORIES...
  46954. -In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default.
  46955. -In the second, create the directory path DIR.
  46956. +In the 1st form, copy SRCFILE to DSTFILE.
  46957. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
  46958. +In the 4th, create DIRECTORIES.
  46959. Options:
  46960. --b=TRANSFORMBASENAME
  46961. --c copy source (using $cpprog) instead of moving (using $mvprog).
  46962. --d create directories instead of installing files.
  46963. --g GROUP $chgrp installed files to GROUP.
  46964. --m MODE $chmod installed files to MODE.
  46965. --o USER $chown installed files to USER.
  46966. --s strip installed files (using $stripprog).
  46967. --t=TRANSFORM
  46968. ---help display this help and exit.
  46969. ---version display version info and exit.
  46970. + --help display this help and exit.
  46971. + --version display version info and exit.
  46972. +
  46973. + -c (ignored)
  46974. + -C install only if different (preserve the last data modification time)
  46975. + -d create directories instead of installing files.
  46976. + -g GROUP $chgrpprog installed files to GROUP.
  46977. + -m MODE $chmodprog installed files to MODE.
  46978. + -o USER $chownprog installed files to USER.
  46979. + -s $stripprog installed files.
  46980. + -t DIRECTORY install into DIRECTORY.
  46981. + -T report an error if DSTFILE is a directory.
  46982. Environment variables override the default commands:
  46983. - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
  46984. + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
  46985. + RMPROG STRIPPROG
  46986. "
  46987. -while test -n "$1"; do
  46988. +while test $# -ne 0; do
  46989. case $1 in
  46990. - -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
  46991. - shift
  46992. - continue;;
  46993. -
  46994. - -c) instcmd=$cpprog
  46995. - shift
  46996. - continue;;
  46997. -
  46998. - -d) dir_arg=true
  46999. - shift
  47000. - continue;;
  47001. + -c) ;;
  47002. +
  47003. + -C) copy_on_change=true;;
  47004. +
  47005. + -d) dir_arg=true;;
  47006. -g) chgrpcmd="$chgrpprog $2"
  47007. - shift
  47008. - shift
  47009. - continue;;
  47010. -
  47011. - --help) echo "$usage"; exit 0;;
  47012. -
  47013. - -m) chmodcmd="$chmodprog $2"
  47014. - shift
  47015. - shift
  47016. - continue;;
  47017. + shift;;
  47018. +
  47019. + --help) echo "$usage"; exit $?;;
  47020. +
  47021. + -m) mode=$2
  47022. + case $mode in
  47023. + *' '* | *' '* | *'
  47024. +'* | *'*'* | *'?'* | *'['*)
  47025. + echo "$0: invalid mode: $mode" >&2
  47026. + exit 1;;
  47027. + esac
  47028. + shift;;
  47029. -o) chowncmd="$chownprog $2"
  47030. - shift
  47031. - shift
  47032. - continue;;
  47033. -
  47034. - -s) stripcmd=$stripprog
  47035. - shift
  47036. - continue;;
  47037. -
  47038. - -t=*) transformarg=`echo $1 | sed 's/-t=//'`
  47039. - shift
  47040. - continue;;
  47041. -
  47042. - --version) echo "$0 $scriptversion"; exit 0;;
  47043. -
  47044. - *) # When -d is used, all remaining arguments are directories to create.
  47045. - test -n "$dir_arg" && break
  47046. - # Otherwise, the last argument is the destination. Remove it from $@.
  47047. - for arg
  47048. - do
  47049. - if test -n "$dstarg"; then
  47050. - # $@ is not empty: it contains at least $arg.
  47051. - set fnord "$@" "$dstarg"
  47052. - shift # fnord
  47053. - fi
  47054. - shift # arg
  47055. - dstarg=$arg
  47056. - done
  47057. + shift;;
  47058. +
  47059. + -s) stripcmd=$stripprog;;
  47060. +
  47061. + -t) dst_arg=$2
  47062. + shift;;
  47063. +
  47064. + -T) no_target_directory=true;;
  47065. +
  47066. + --version) echo "$0 $scriptversion"; exit $?;;
  47067. +
  47068. + --) shift
  47069. break;;
  47070. +
  47071. + -*) echo "$0: invalid option: $1" >&2
  47072. + exit 1;;
  47073. +
  47074. + *) break;;
  47075. esac
  47076. + shift
  47077. done
  47078. -if test -z "$1"; then
  47079. +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
  47080. + # When -d is used, all remaining arguments are directories to create.
  47081. + # When -t is used, the destination is already specified.
  47082. + # Otherwise, the last argument is the destination. Remove it from $@.
  47083. + for arg
  47084. + do
  47085. + if test -n "$dst_arg"; then
  47086. + # $@ is not empty: it contains at least $arg.
  47087. + set fnord "$@" "$dst_arg"
  47088. + shift # fnord
  47089. + fi
  47090. + shift # arg
  47091. + dst_arg=$arg
  47092. + done
  47093. +fi
  47094. +
  47095. +if test $# -eq 0; then
  47096. if test -z "$dir_arg"; then
  47097. echo "$0: no input file specified." >&2
  47098. exit 1
  47099. @@ -162,25 +199,48 @@
  47100. exit 0
  47101. fi
  47102. +if test -z "$dir_arg"; then
  47103. + trap '(exit $?); exit' 1 2 13 15
  47104. +
  47105. + # Set umask so as not to create temps with too-generous modes.
  47106. + # However, 'strip' requires both read and write access to temps.
  47107. + case $mode in
  47108. + # Optimize common cases.
  47109. + *644) cp_umask=133;;
  47110. + *755) cp_umask=22;;
  47111. +
  47112. + *[0-7])
  47113. + if test -z "$stripcmd"; then
  47114. + u_plus_rw=
  47115. + else
  47116. + u_plus_rw='% 200'
  47117. + fi
  47118. + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
  47119. + *)
  47120. + if test -z "$stripcmd"; then
  47121. + u_plus_rw=
  47122. + else
  47123. + u_plus_rw=,u+rw
  47124. + fi
  47125. + cp_umask=$mode$u_plus_rw;;
  47126. + esac
  47127. +fi
  47128. +
  47129. for src
  47130. do
  47131. # Protect names starting with `-'.
  47132. case $src in
  47133. - -*) src=./$src ;;
  47134. + -*) src=./$src;;
  47135. esac
  47136. if test -n "$dir_arg"; then
  47137. dst=$src
  47138. - src=
  47139. -
  47140. - if test -d "$dst"; then
  47141. - instcmd=:
  47142. - chmodcmd=
  47143. - else
  47144. - instcmd=$mkdirprog
  47145. - fi
  47146. + dstdir=$dst
  47147. + test -d "$dstdir"
  47148. + dstdir_status=$?
  47149. else
  47150. - # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
  47151. +
  47152. + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
  47153. # might cause directories to be created, which would be especially bad
  47154. # if $src (and thus $dsttmp) contains '*'.
  47155. if test ! -f "$src" && test ! -d "$src"; then
  47156. @@ -188,138 +248,273 @@
  47157. exit 1
  47158. fi
  47159. - if test -z "$dstarg"; then
  47160. + if test -z "$dst_arg"; then
  47161. echo "$0: no destination specified." >&2
  47162. exit 1
  47163. fi
  47164. - dst=$dstarg
  47165. + dst=$dst_arg
  47166. # Protect names starting with `-'.
  47167. case $dst in
  47168. - -*) dst=./$dst ;;
  47169. + -*) dst=./$dst;;
  47170. esac
  47171. # If destination is a directory, append the input filename; won't work
  47172. # if double slashes aren't ignored.
  47173. if test -d "$dst"; then
  47174. - dst=$dst/`basename "$src"`
  47175. + if test -n "$no_target_directory"; then
  47176. + echo "$0: $dst_arg: Is a directory" >&2
  47177. + exit 1
  47178. + fi
  47179. + dstdir=$dst
  47180. + dst=$dstdir/`basename "$src"`
  47181. + dstdir_status=0
  47182. + else
  47183. + # Prefer dirname, but fall back on a substitute if dirname fails.
  47184. + dstdir=`
  47185. + (dirname "$dst") 2>/dev/null ||
  47186. + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  47187. + X"$dst" : 'X\(//\)[^/]' \| \
  47188. + X"$dst" : 'X\(//\)$' \| \
  47189. + X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
  47190. + echo X"$dst" |
  47191. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  47192. + s//\1/
  47193. + q
  47194. + }
  47195. + /^X\(\/\/\)[^/].*/{
  47196. + s//\1/
  47197. + q
  47198. + }
  47199. + /^X\(\/\/\)$/{
  47200. + s//\1/
  47201. + q
  47202. + }
  47203. + /^X\(\/\).*/{
  47204. + s//\1/
  47205. + q
  47206. + }
  47207. + s/.*/./; q'
  47208. + `
  47209. +
  47210. + test -d "$dstdir"
  47211. + dstdir_status=$?
  47212. fi
  47213. fi
  47214. - # This sed command emulates the dirname command.
  47215. - dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
  47216. -
  47217. - # Make sure that the destination directory exists.
  47218. + obsolete_mkdir_used=false
  47219. - # Skip lots of stat calls in the usual case.
  47220. - if test ! -d "$dstdir"; then
  47221. - defaultIFS='
  47222. - '
  47223. - IFS="${IFS-$defaultIFS}"
  47224. -
  47225. - oIFS=$IFS
  47226. - # Some sh's can't handle IFS=/ for some reason.
  47227. - IFS='%'
  47228. - set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
  47229. - IFS=$oIFS
  47230. + if test $dstdir_status != 0; then
  47231. + case $posix_mkdir in
  47232. + '')
  47233. + # Create intermediate dirs using mode 755 as modified by the umask.
  47234. + # This is like FreeBSD 'install' as of 1997-10-28.
  47235. + umask=`umask`
  47236. + case $stripcmd.$umask in
  47237. + # Optimize common cases.
  47238. + *[2367][2367]) mkdir_umask=$umask;;
  47239. + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
  47240. +
  47241. + *[0-7])
  47242. + mkdir_umask=`expr $umask + 22 \
  47243. + - $umask % 100 % 40 + $umask % 20 \
  47244. + - $umask % 10 % 4 + $umask % 2
  47245. + `;;
  47246. + *) mkdir_umask=$umask,go-w;;
  47247. + esac
  47248. +
  47249. + # With -d, create the new directory with the user-specified mode.
  47250. + # Otherwise, rely on $mkdir_umask.
  47251. + if test -n "$dir_arg"; then
  47252. + mkdir_mode=-m$mode
  47253. + else
  47254. + mkdir_mode=
  47255. + fi
  47256. +
  47257. + posix_mkdir=false
  47258. + case $umask in
  47259. + *[123567][0-7][0-7])
  47260. + # POSIX mkdir -p sets u+wx bits regardless of umask, which
  47261. + # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
  47262. + ;;
  47263. + *)
  47264. + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
  47265. + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
  47266. +
  47267. + if (umask $mkdir_umask &&
  47268. + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
  47269. + then
  47270. + if test -z "$dir_arg" || {
  47271. + # Check for POSIX incompatibilities with -m.
  47272. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
  47273. + # other-writeable bit of parent directory when it shouldn't.
  47274. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
  47275. + ls_ld_tmpdir=`ls -ld "$tmpdir"`
  47276. + case $ls_ld_tmpdir in
  47277. + d????-?r-*) different_mode=700;;
  47278. + d????-?--*) different_mode=755;;
  47279. + *) false;;
  47280. + esac &&
  47281. + $mkdirprog -m$different_mode -p -- "$tmpdir" && {
  47282. + ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
  47283. + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
  47284. + }
  47285. + }
  47286. + then posix_mkdir=:
  47287. + fi
  47288. + rmdir "$tmpdir/d" "$tmpdir"
  47289. + else
  47290. + # Remove any dirs left behind by ancient mkdir implementations.
  47291. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
  47292. + fi
  47293. + trap '' 0;;
  47294. + esac;;
  47295. + esac
  47296. - pathcomp=
  47297. + if
  47298. + $posix_mkdir && (
  47299. + umask $mkdir_umask &&
  47300. + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
  47301. + )
  47302. + then :
  47303. + else
  47304. - while test $# -ne 0 ; do
  47305. - pathcomp=$pathcomp$1
  47306. + # The umask is ridiculous, or mkdir does not conform to POSIX,
  47307. + # or it failed possibly due to a race condition. Create the
  47308. + # directory the slow way, step by step, checking for races as we go.
  47309. +
  47310. + case $dstdir in
  47311. + /*) prefix='/';;
  47312. + -*) prefix='./';;
  47313. + *) prefix='';;
  47314. + esac
  47315. +
  47316. + eval "$initialize_posix_glob"
  47317. +
  47318. + oIFS=$IFS
  47319. + IFS=/
  47320. + $posix_glob set -f
  47321. + set fnord $dstdir
  47322. shift
  47323. - if test ! -d "$pathcomp"; then
  47324. - $mkdirprog "$pathcomp" || lasterr=$?
  47325. - # mkdir can fail with a `File exist' error in case several
  47326. - # install-sh are creating the directory concurrently. This
  47327. - # is OK.
  47328. - test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; }
  47329. + $posix_glob set +f
  47330. + IFS=$oIFS
  47331. +
  47332. + prefixes=
  47333. +
  47334. + for d
  47335. + do
  47336. + test -z "$d" && continue
  47337. +
  47338. + prefix=$prefix$d
  47339. + if test -d "$prefix"; then
  47340. + prefixes=
  47341. + else
  47342. + if $posix_mkdir; then
  47343. + (umask=$mkdir_umask &&
  47344. + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
  47345. + # Don't fail if two instances are running concurrently.
  47346. + test -d "$prefix" || exit 1
  47347. + else
  47348. + case $prefix in
  47349. + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
  47350. + *) qprefix=$prefix;;
  47351. + esac
  47352. + prefixes="$prefixes '$qprefix'"
  47353. + fi
  47354. + fi
  47355. + prefix=$prefix/
  47356. + done
  47357. +
  47358. + if test -n "$prefixes"; then
  47359. + # Don't fail if two instances are running concurrently.
  47360. + (umask $mkdir_umask &&
  47361. + eval "\$doit_exec \$mkdirprog $prefixes") ||
  47362. + test -d "$dstdir" || exit 1
  47363. + obsolete_mkdir_used=true
  47364. fi
  47365. - pathcomp=$pathcomp/
  47366. - done
  47367. + fi
  47368. fi
  47369. if test -n "$dir_arg"; then
  47370. - $doit $instcmd "$dst" \
  47371. - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
  47372. - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
  47373. - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
  47374. - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
  47375. -
  47376. + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
  47377. + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
  47378. + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
  47379. + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
  47380. else
  47381. - # If we're going to rename the final executable, determine the name now.
  47382. - if test -z "$transformarg"; then
  47383. - dstfile=`basename "$dst"`
  47384. - else
  47385. - dstfile=`basename "$dst" $transformbasename \
  47386. - | sed $transformarg`$transformbasename
  47387. - fi
  47388. -
  47389. - # don't allow the sed command to completely eliminate the filename.
  47390. - test -z "$dstfile" && dstfile=`basename "$dst"`
  47391. # Make a couple of temp file names in the proper directory.
  47392. dsttmp=$dstdir/_inst.$$_
  47393. rmtmp=$dstdir/_rm.$$_
  47394. # Trap to clean up those temp files at exit.
  47395. - trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
  47396. - trap '(exit $?); exit' 1 2 13 15
  47397. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
  47398. - # Move or copy the file name to the temp name
  47399. - $doit $instcmd "$src" "$dsttmp" &&
  47400. + # Copy the file name to the temp name.
  47401. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
  47402. # and set any options; do chmod last to preserve setuid bits.
  47403. #
  47404. # If any of these fail, we abort the whole thing. If we want to
  47405. # ignore errors from any of these, just make sure not to ignore
  47406. - # errors from the above "$doit $instcmd $src $dsttmp" command.
  47407. + # errors from the above "$doit $cpprog $src $dsttmp" command.
  47408. #
  47409. - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
  47410. - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
  47411. - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
  47412. - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
  47413. -
  47414. - # Now rename the file to the real destination.
  47415. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
  47416. - || {
  47417. - # The rename failed, perhaps because mv can't rename something else
  47418. - # to itself, or perhaps because mv is so ancient that it does not
  47419. - # support -f.
  47420. -
  47421. - # Now remove or move aside any old file at destination location.
  47422. - # We try this two ways since rm can't unlink itself on some
  47423. - # systems and the destination file might be busy for other
  47424. - # reasons. In this case, the final cleanup might fail but the new
  47425. - # file should still install successfully.
  47426. - {
  47427. - if test -f "$dstdir/$dstfile"; then
  47428. - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
  47429. - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
  47430. - || {
  47431. - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
  47432. - (exit 1); exit
  47433. - }
  47434. - else
  47435. - :
  47436. - fi
  47437. - } &&
  47438. -
  47439. - # Now rename the file to the real destination.
  47440. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
  47441. - }
  47442. - }
  47443. - fi || { (exit 1); exit; }
  47444. -done
  47445. + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
  47446. + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
  47447. + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
  47448. + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
  47449. +
  47450. + # If -C, don't bother to copy if it wouldn't change the file.
  47451. + if $copy_on_change &&
  47452. + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
  47453. + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
  47454. +
  47455. + eval "$initialize_posix_glob" &&
  47456. + $posix_glob set -f &&
  47457. + set X $old && old=:$2:$4:$5:$6 &&
  47458. + set X $new && new=:$2:$4:$5:$6 &&
  47459. + $posix_glob set +f &&
  47460. +
  47461. + test "$old" = "$new" &&
  47462. + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
  47463. + then
  47464. + rm -f "$dsttmp"
  47465. + else
  47466. + # Rename the file to the real destination.
  47467. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
  47468. -# The final little trick to "correctly" pass the exit status to the exit trap.
  47469. -{
  47470. - (exit 0); exit
  47471. -}
  47472. + # The rename failed, perhaps because mv can't rename something else
  47473. + # to itself, or perhaps because mv is so ancient that it does not
  47474. + # support -f.
  47475. + {
  47476. + # Now remove or move aside any old file at destination location.
  47477. + # We try this two ways since rm can't unlink itself on some
  47478. + # systems and the destination file might be busy for other
  47479. + # reasons. In this case, the final cleanup might fail but the new
  47480. + # file should still install successfully.
  47481. + {
  47482. + test ! -f "$dst" ||
  47483. + $doit $rmcmd -f "$dst" 2>/dev/null ||
  47484. + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
  47485. + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
  47486. + } ||
  47487. + { echo "$0: cannot unlink or rename $dst" >&2
  47488. + (exit 1); exit 1
  47489. + }
  47490. + } &&
  47491. +
  47492. + # Now rename the file to the real destination.
  47493. + $doit $mvcmd "$dsttmp" "$dst"
  47494. + }
  47495. + fi || exit 1
  47496. +
  47497. + trap '' 0
  47498. + fi
  47499. +done
  47500. # Local variables:
  47501. # eval: (add-hook 'write-file-hooks 'time-stamp)
  47502. # time-stamp-start: "scriptversion="
  47503. # time-stamp-format: "%:y-%02m-%02d.%02H"
  47504. -# time-stamp-end: "$"
  47505. +# time-stamp-time-zone: "UTC"
  47506. +# time-stamp-end: "; # UTC"
  47507. # End:
  47508. diff -Nur speex-1.2rc1.orig/libspeex/Makefile.in speex-1.2rc1/libspeex/Makefile.in
  47509. --- speex-1.2rc1.orig/libspeex/Makefile.in 2008-07-21 04:17:19.000000000 +0200
  47510. +++ speex-1.2rc1/libspeex/Makefile.in 2011-02-20 22:00:57.874802391 +0100
  47511. @@ -1,8 +1,9 @@
  47512. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  47513. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  47514. # @configure_input@
  47515. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  47516. -# 2003, 2004 Free Software Foundation, Inc.
  47517. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  47518. +# Inc.
  47519. # This Makefile.in is free software; the Free Software Foundation
  47520. # gives unlimited permission to copy and/or distribute it,
  47521. # with or without modifications, as long as this notice is preserved.
  47522. @@ -19,17 +20,12 @@
  47523. -SOURCES = $(libspeex_la_SOURCES) $(libspeexdsp_la_SOURCES) $(testdenoise_SOURCES) $(testecho_SOURCES) $(testenc_SOURCES) $(testenc_uwb_SOURCES) $(testenc_wb_SOURCES) $(testjitter_SOURCES)
  47524. -
  47525. -srcdir = @srcdir@
  47526. -top_srcdir = @top_srcdir@
  47527. VPATH = @srcdir@
  47528. pkgdatadir = $(datadir)/@PACKAGE@
  47529. -pkglibdir = $(libdir)/@PACKAGE@
  47530. pkgincludedir = $(includedir)/@PACKAGE@
  47531. -top_builddir = ..
  47532. +pkglibdir = $(libdir)/@PACKAGE@
  47533. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  47534. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  47535. -INSTALL = @INSTALL@
  47536. install_sh_DATA = $(install_sh) -c -m 644
  47537. install_sh_PROGRAM = $(install_sh) -c
  47538. install_sh_SCRIPT = $(install_sh) -c
  47539. @@ -41,6 +37,7 @@
  47540. NORMAL_UNINSTALL = :
  47541. PRE_UNINSTALL = :
  47542. POST_UNINSTALL = :
  47543. +build_triplet = @build@
  47544. host_triplet = @host@
  47545. noinst_PROGRAMS = testenc$(EXEEXT) testenc_wb$(EXEEXT) \
  47546. testenc_uwb$(EXEEXT) testdenoise$(EXEEXT) testecho$(EXEEXT) \
  47547. @@ -53,11 +50,32 @@
  47548. $(top_srcdir)/configure.ac
  47549. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  47550. $(ACLOCAL_M4)
  47551. -mkinstalldirs = $(mkdir_p)
  47552. +mkinstalldirs = $(install_sh) -d
  47553. CONFIG_HEADER = $(top_builddir)/config.h
  47554. CONFIG_CLEAN_FILES =
  47555. +CONFIG_CLEAN_VPATH_FILES =
  47556. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  47557. +am__vpath_adj = case $$p in \
  47558. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  47559. + *) f=$$p;; \
  47560. + esac;
  47561. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  47562. +am__install_max = 40
  47563. +am__nobase_strip_setup = \
  47564. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  47565. +am__nobase_strip = \
  47566. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  47567. +am__nobase_list = $(am__nobase_strip_setup); \
  47568. + for p in $$list; do echo "$$p $$p"; done | \
  47569. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  47570. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  47571. + if (++n[$$2] == $(am__install_max)) \
  47572. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  47573. + END { for (dir in files) print dir, files[dir] }'
  47574. +am__base_list = \
  47575. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  47576. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  47577. am__installdirs = "$(DESTDIR)$(libdir)"
  47578. -libLTLIBRARIES_INSTALL = $(INSTALL)
  47579. LTLIBRARIES = $(lib_LTLIBRARIES)
  47580. libspeex_la_LIBADD =
  47581. am_libspeex_la_OBJECTS = cb_search.lo exc_10_32_table.lo \
  47582. @@ -69,6 +87,9 @@
  47583. modes_wb.lo nb_celp.lo quant_lsp.lo sb_celp.lo \
  47584. speex_callbacks.lo speex_header.lo window.lo
  47585. libspeex_la_OBJECTS = $(am_libspeex_la_OBJECTS)
  47586. +libspeex_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  47587. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  47588. + $(libspeex_la_LDFLAGS) $(LDFLAGS) -o $@
  47589. libspeexdsp_la_LIBADD =
  47590. am__libspeexdsp_la_SOURCES_DIST = preprocess.c jitter.c mdf.c \
  47591. fftwrap.c filterbank.c resample.c buffer.c scal.c smallft.c \
  47592. @@ -78,6 +99,9 @@
  47593. am_libspeexdsp_la_OBJECTS = preprocess.lo jitter.lo mdf.lo fftwrap.lo \
  47594. filterbank.lo resample.lo buffer.lo scal.lo $(am__objects_1)
  47595. libspeexdsp_la_OBJECTS = $(am_libspeexdsp_la_OBJECTS)
  47596. +libspeexdsp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  47597. + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  47598. + $(libspeexdsp_la_LDFLAGS) $(LDFLAGS) -o $@
  47599. PROGRAMS = $(noinst_PROGRAMS)
  47600. am_testdenoise_OBJECTS = testdenoise.$(OBJEXT)
  47601. testdenoise_OBJECTS = $(am_testdenoise_OBJECTS)
  47602. @@ -97,48 +121,19 @@
  47603. am_testjitter_OBJECTS = testjitter.$(OBJEXT)
  47604. testjitter_OBJECTS = $(am_testjitter_OBJECTS)
  47605. testjitter_DEPENDENCIES = libspeexdsp.la
  47606. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
  47607. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  47608. depcomp = $(SHELL) $(top_srcdir)/depcomp
  47609. am__depfiles_maybe = depfiles
  47610. -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/bits.Plo ./$(DEPDIR)/buffer.Plo \
  47611. -@AMDEP_TRUE@ ./$(DEPDIR)/cb_search.Plo \
  47612. -@AMDEP_TRUE@ ./$(DEPDIR)/exc_10_16_table.Plo \
  47613. -@AMDEP_TRUE@ ./$(DEPDIR)/exc_10_32_table.Plo \
  47614. -@AMDEP_TRUE@ ./$(DEPDIR)/exc_20_32_table.Plo \
  47615. -@AMDEP_TRUE@ ./$(DEPDIR)/exc_5_256_table.Plo \
  47616. -@AMDEP_TRUE@ ./$(DEPDIR)/exc_5_64_table.Plo \
  47617. -@AMDEP_TRUE@ ./$(DEPDIR)/exc_8_128_table.Plo \
  47618. -@AMDEP_TRUE@ ./$(DEPDIR)/fftwrap.Plo ./$(DEPDIR)/filterbank.Plo \
  47619. -@AMDEP_TRUE@ ./$(DEPDIR)/filters.Plo ./$(DEPDIR)/gain_table.Plo \
  47620. -@AMDEP_TRUE@ ./$(DEPDIR)/gain_table_lbr.Plo \
  47621. -@AMDEP_TRUE@ ./$(DEPDIR)/hexc_10_32_table.Plo \
  47622. -@AMDEP_TRUE@ ./$(DEPDIR)/hexc_table.Plo \
  47623. -@AMDEP_TRUE@ ./$(DEPDIR)/high_lsp_tables.Plo \
  47624. -@AMDEP_TRUE@ ./$(DEPDIR)/jitter.Plo ./$(DEPDIR)/kiss_fft.Plo \
  47625. -@AMDEP_TRUE@ ./$(DEPDIR)/kiss_fftr.Plo ./$(DEPDIR)/lpc.Plo \
  47626. -@AMDEP_TRUE@ ./$(DEPDIR)/lsp.Plo ./$(DEPDIR)/lsp_tables_nb.Plo \
  47627. -@AMDEP_TRUE@ ./$(DEPDIR)/ltp.Plo ./$(DEPDIR)/mdf.Plo \
  47628. -@AMDEP_TRUE@ ./$(DEPDIR)/modes.Plo ./$(DEPDIR)/modes_wb.Plo \
  47629. -@AMDEP_TRUE@ ./$(DEPDIR)/nb_celp.Plo ./$(DEPDIR)/preprocess.Plo \
  47630. -@AMDEP_TRUE@ ./$(DEPDIR)/quant_lsp.Plo ./$(DEPDIR)/resample.Plo \
  47631. -@AMDEP_TRUE@ ./$(DEPDIR)/sb_celp.Plo ./$(DEPDIR)/scal.Plo \
  47632. -@AMDEP_TRUE@ ./$(DEPDIR)/smallft.Plo ./$(DEPDIR)/speex.Plo \
  47633. -@AMDEP_TRUE@ ./$(DEPDIR)/speex_callbacks.Plo \
  47634. -@AMDEP_TRUE@ ./$(DEPDIR)/speex_header.Plo \
  47635. -@AMDEP_TRUE@ ./$(DEPDIR)/stereo.Plo ./$(DEPDIR)/testdenoise.Po \
  47636. -@AMDEP_TRUE@ ./$(DEPDIR)/testecho.Po ./$(DEPDIR)/testenc.Po \
  47637. -@AMDEP_TRUE@ ./$(DEPDIR)/testenc_uwb.Po \
  47638. -@AMDEP_TRUE@ ./$(DEPDIR)/testenc_wb.Po \
  47639. -@AMDEP_TRUE@ ./$(DEPDIR)/testjitter.Po ./$(DEPDIR)/vbr.Plo \
  47640. -@AMDEP_TRUE@ ./$(DEPDIR)/vq.Plo ./$(DEPDIR)/window.Plo
  47641. +am__mv = mv -f
  47642. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  47643. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  47644. -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
  47645. - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  47646. - $(AM_CFLAGS) $(CFLAGS)
  47647. +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  47648. + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  47649. + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  47650. CCLD = $(CC)
  47651. -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  47652. - $(AM_LDFLAGS) $(LDFLAGS) -o $@
  47653. +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  47654. + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  47655. + $(LDFLAGS) -o $@
  47656. SOURCES = $(libspeex_la_SOURCES) $(libspeexdsp_la_SOURCES) \
  47657. $(testdenoise_SOURCES) $(testecho_SOURCES) $(testenc_SOURCES) \
  47658. $(testenc_uwb_SOURCES) $(testenc_wb_SOURCES) \
  47659. @@ -152,8 +147,6 @@
  47660. CTAGS = ctags
  47661. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  47662. ACLOCAL = @ACLOCAL@
  47663. -AMDEP_FALSE = @AMDEP_FALSE@
  47664. -AMDEP_TRUE = @AMDEP_TRUE@
  47665. AMTAR = @AMTAR@
  47666. AR = @AR@
  47667. AS = @AS@
  47668. @@ -161,60 +154,57 @@
  47669. AUTOHEADER = @AUTOHEADER@
  47670. AUTOMAKE = @AUTOMAKE@
  47671. AWK = @AWK@
  47672. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  47673. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  47674. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  47675. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  47676. CC = @CC@
  47677. CCDEPMODE = @CCDEPMODE@
  47678. CFLAGS = @CFLAGS@
  47679. CPP = @CPP@
  47680. CPPFLAGS = @CPPFLAGS@
  47681. -CXX = @CXX@
  47682. -CXXCPP = @CXXCPP@
  47683. -CXXDEPMODE = @CXXDEPMODE@
  47684. -CXXFLAGS = @CXXFLAGS@
  47685. CYGPATH_W = @CYGPATH_W@
  47686. DEFS = @DEFS@
  47687. DEPDIR = @DEPDIR@
  47688. DLLTOOL = @DLLTOOL@
  47689. DSYMUTIL = @DSYMUTIL@
  47690. -ECHO = @ECHO@
  47691. +DUMPBIN = @DUMPBIN@
  47692. ECHO_C = @ECHO_C@
  47693. ECHO_N = @ECHO_N@
  47694. ECHO_T = @ECHO_T@
  47695. EGREP = @EGREP@
  47696. EXEEXT = @EXEEXT@
  47697. -F77 = @F77@
  47698. -FFLAGS = @FFLAGS@
  47699. FFT_CFLAGS = @FFT_CFLAGS@
  47700. FFT_LIBS = @FFT_LIBS@
  47701. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  47702. +FGREP = @FGREP@
  47703. GREP = @GREP@
  47704. +INSTALL = @INSTALL@
  47705. INSTALL_DATA = @INSTALL_DATA@
  47706. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  47707. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  47708. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  47709. +LD = @LD@
  47710. LDFLAGS = @LDFLAGS@
  47711. LIBOBJS = @LIBOBJS@
  47712. LIBS = @LIBS@
  47713. LIBTOOL = @LIBTOOL@
  47714. +LIPO = @LIPO@
  47715. LN_S = @LN_S@
  47716. LTLIBOBJS = @LTLIBOBJS@
  47717. MAINT = @MAINT@
  47718. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  47719. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  47720. MAKEINFO = @MAKEINFO@
  47721. +MKDIR_P = @MKDIR_P@
  47722. +NM = @NM@
  47723. NMEDIT = @NMEDIT@
  47724. OBJDUMP = @OBJDUMP@
  47725. OBJEXT = @OBJEXT@
  47726. OGG_CFLAGS = @OGG_CFLAGS@
  47727. OGG_LIBS = @OGG_LIBS@
  47728. +OTOOL = @OTOOL@
  47729. +OTOOL64 = @OTOOL64@
  47730. PACKAGE = @PACKAGE@
  47731. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  47732. PACKAGE_NAME = @PACKAGE_NAME@
  47733. PACKAGE_STRING = @PACKAGE_STRING@
  47734. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  47735. +PACKAGE_URL = @PACKAGE_URL@
  47736. PACKAGE_VERSION = @PACKAGE_VERSION@
  47737. PATH_SEPARATOR = @PATH_SEPARATOR@
  47738. PKG_CONFIG = @PKG_CONFIG@
  47739. @@ -230,22 +220,24 @@
  47740. SPEEX_VERSION = @SPEEX_VERSION@
  47741. STRIP = @STRIP@
  47742. VERSION = @VERSION@
  47743. +abs_builddir = @abs_builddir@
  47744. +abs_srcdir = @abs_srcdir@
  47745. +abs_top_builddir = @abs_top_builddir@
  47746. +abs_top_srcdir = @abs_top_srcdir@
  47747. ac_ct_CC = @ac_ct_CC@
  47748. -ac_ct_CXX = @ac_ct_CXX@
  47749. -ac_ct_F77 = @ac_ct_F77@
  47750. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  47751. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  47752. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  47753. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  47754. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  47755. am__include = @am__include@
  47756. am__leading_dot = @am__leading_dot@
  47757. am__quote = @am__quote@
  47758. +am__tar = @am__tar@
  47759. +am__untar = @am__untar@
  47760. bindir = @bindir@
  47761. build = @build@
  47762. build_alias = @build_alias@
  47763. build_cpu = @build_cpu@
  47764. build_os = @build_os@
  47765. build_vendor = @build_vendor@
  47766. +builddir = @builddir@
  47767. datadir = @datadir@
  47768. datarootdir = @datarootdir@
  47769. docdir = @docdir@
  47770. @@ -264,6 +256,7 @@
  47771. libexecdir = @libexecdir@
  47772. localedir = @localedir@
  47773. localstatedir = @localstatedir@
  47774. +lt_ECHO = @lt_ECHO@
  47775. mandir = @mandir@
  47776. mkdir_p = @mkdir_p@
  47777. oldincludedir = @oldincludedir@
  47778. @@ -274,8 +267,12 @@
  47779. sbindir = @sbindir@
  47780. sharedstatedir = @sharedstatedir@
  47781. src = @src@
  47782. +srcdir = @srcdir@
  47783. sysconfdir = @sysconfdir@
  47784. target_alias = @target_alias@
  47785. +top_build_prefix = @top_build_prefix@
  47786. +top_builddir = @top_builddir@
  47787. +top_srcdir = @top_srcdir@
  47788. EXTRA_DIST = echo_diagnostic.m
  47789. INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@ @FFT_CFLAGS@
  47790. lib_LTLIBRARIES = libspeex.la libspeexdsp.la
  47791. @@ -322,14 +319,14 @@
  47792. @for dep in $?; do \
  47793. case '$(am__configure_deps)' in \
  47794. *$$dep*) \
  47795. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  47796. - && exit 0; \
  47797. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  47798. + && { if test -f $@; then exit 0; else break; fi; }; \
  47799. exit 1;; \
  47800. esac; \
  47801. done; \
  47802. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libspeex/Makefile'; \
  47803. - cd $(top_srcdir) && \
  47804. - $(AUTOMAKE) --gnu libspeex/Makefile
  47805. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libspeex/Makefile'; \
  47806. + $(am__cd) $(top_srcdir) && \
  47807. + $(AUTOMAKE) --gnu libspeex/Makefile
  47808. .PRECIOUS: Makefile
  47809. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  47810. @case '$?' in \
  47811. @@ -347,23 +344,28 @@
  47812. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47813. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  47814. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47815. +$(am__aclocal_m4_deps):
  47816. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  47817. @$(NORMAL_INSTALL)
  47818. - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
  47819. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  47820. + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  47821. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  47822. + list2=; for p in $$list; do \
  47823. if test -f $$p; then \
  47824. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  47825. - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  47826. - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  47827. + list2="$$list2 $$p"; \
  47828. else :; fi; \
  47829. - done
  47830. + done; \
  47831. + test -z "$$list2" || { \
  47832. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  47833. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  47834. + }
  47835. uninstall-libLTLIBRARIES:
  47836. @$(NORMAL_UNINSTALL)
  47837. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  47838. - p="`echo $$p | sed -e 's|^.*/||'`"; \
  47839. - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  47840. - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  47841. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  47842. + for p in $$list; do \
  47843. + $(am__strip_dir) \
  47844. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  47845. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  47846. done
  47847. clean-libLTLIBRARIES:
  47848. @@ -375,34 +377,36 @@
  47849. rm -f "$${dir}/so_locations"; \
  47850. done
  47851. libspeex.la: $(libspeex_la_OBJECTS) $(libspeex_la_DEPENDENCIES)
  47852. - $(LINK) -rpath $(libdir) $(libspeex_la_LDFLAGS) $(libspeex_la_OBJECTS) $(libspeex_la_LIBADD) $(LIBS)
  47853. + $(libspeex_la_LINK) -rpath $(libdir) $(libspeex_la_OBJECTS) $(libspeex_la_LIBADD) $(LIBS)
  47854. libspeexdsp.la: $(libspeexdsp_la_OBJECTS) $(libspeexdsp_la_DEPENDENCIES)
  47855. - $(LINK) -rpath $(libdir) $(libspeexdsp_la_LDFLAGS) $(libspeexdsp_la_OBJECTS) $(libspeexdsp_la_LIBADD) $(LIBS)
  47856. + $(libspeexdsp_la_LINK) -rpath $(libdir) $(libspeexdsp_la_OBJECTS) $(libspeexdsp_la_LIBADD) $(LIBS)
  47857. clean-noinstPROGRAMS:
  47858. - @list='$(noinst_PROGRAMS)'; for p in $$list; do \
  47859. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  47860. - echo " rm -f $$p $$f"; \
  47861. - rm -f $$p $$f ; \
  47862. - done
  47863. + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
  47864. + echo " rm -f" $$list; \
  47865. + rm -f $$list || exit $$?; \
  47866. + test -n "$(EXEEXT)" || exit 0; \
  47867. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  47868. + echo " rm -f" $$list; \
  47869. + rm -f $$list
  47870. testdenoise$(EXEEXT): $(testdenoise_OBJECTS) $(testdenoise_DEPENDENCIES)
  47871. @rm -f testdenoise$(EXEEXT)
  47872. - $(LINK) $(testdenoise_LDFLAGS) $(testdenoise_OBJECTS) $(testdenoise_LDADD) $(LIBS)
  47873. + $(LINK) $(testdenoise_OBJECTS) $(testdenoise_LDADD) $(LIBS)
  47874. testecho$(EXEEXT): $(testecho_OBJECTS) $(testecho_DEPENDENCIES)
  47875. @rm -f testecho$(EXEEXT)
  47876. - $(LINK) $(testecho_LDFLAGS) $(testecho_OBJECTS) $(testecho_LDADD) $(LIBS)
  47877. + $(LINK) $(testecho_OBJECTS) $(testecho_LDADD) $(LIBS)
  47878. testenc$(EXEEXT): $(testenc_OBJECTS) $(testenc_DEPENDENCIES)
  47879. @rm -f testenc$(EXEEXT)
  47880. - $(LINK) $(testenc_LDFLAGS) $(testenc_OBJECTS) $(testenc_LDADD) $(LIBS)
  47881. + $(LINK) $(testenc_OBJECTS) $(testenc_LDADD) $(LIBS)
  47882. testenc_uwb$(EXEEXT): $(testenc_uwb_OBJECTS) $(testenc_uwb_DEPENDENCIES)
  47883. @rm -f testenc_uwb$(EXEEXT)
  47884. - $(LINK) $(testenc_uwb_LDFLAGS) $(testenc_uwb_OBJECTS) $(testenc_uwb_LDADD) $(LIBS)
  47885. + $(LINK) $(testenc_uwb_OBJECTS) $(testenc_uwb_LDADD) $(LIBS)
  47886. testenc_wb$(EXEEXT): $(testenc_wb_OBJECTS) $(testenc_wb_DEPENDENCIES)
  47887. @rm -f testenc_wb$(EXEEXT)
  47888. - $(LINK) $(testenc_wb_LDFLAGS) $(testenc_wb_OBJECTS) $(testenc_wb_LDADD) $(LIBS)
  47889. + $(LINK) $(testenc_wb_OBJECTS) $(testenc_wb_LDADD) $(LIBS)
  47890. testjitter$(EXEEXT): $(testjitter_OBJECTS) $(testjitter_DEPENDENCIES)
  47891. @rm -f testjitter$(EXEEXT)
  47892. - $(LINK) $(testjitter_LDFLAGS) $(testjitter_OBJECTS) $(testjitter_LDADD) $(LIBS)
  47893. + $(LINK) $(testjitter_OBJECTS) $(testjitter_LDADD) $(LIBS)
  47894. mostlyclean-compile:
  47895. -rm -f *.$(OBJEXT)
  47896. @@ -459,27 +463,24 @@
  47897. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/window.Plo@am__quote@
  47898. .c.o:
  47899. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  47900. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  47901. +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  47902. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  47903. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  47904. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
  47905. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47906. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47907. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  47908. .c.obj:
  47909. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  47910. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  47911. +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  47912. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  47913. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  47914. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
  47915. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47916. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47917. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  47918. .c.lo:
  47919. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  47920. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  47921. +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  47922. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  47923. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  47924. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
  47925. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47926. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47927. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  47928. mostlyclean-libtool:
  47929. @@ -488,82 +489,85 @@
  47930. clean-libtool:
  47931. -rm -rf .libs _libs
  47932. -distclean-libtool:
  47933. - -rm -f libtool
  47934. -uninstall-info-am:
  47935. -
  47936. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  47937. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  47938. unique=`for i in $$list; do \
  47939. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  47940. done | \
  47941. - $(AWK) ' { files[$$0] = 1; } \
  47942. - END { for (i in files) print i; }'`; \
  47943. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  47944. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  47945. mkid -fID $$unique
  47946. tags: TAGS
  47947. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  47948. $(TAGS_FILES) $(LISP)
  47949. - tags=; \
  47950. + set x; \
  47951. here=`pwd`; \
  47952. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  47953. unique=`for i in $$list; do \
  47954. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  47955. done | \
  47956. - $(AWK) ' { files[$$0] = 1; } \
  47957. - END { for (i in files) print i; }'`; \
  47958. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  47959. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  47960. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  47961. + shift; \
  47962. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  47963. test -n "$$unique" || unique=$$empty_fix; \
  47964. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47965. - $$tags $$unique; \
  47966. + if test $$# -gt 0; then \
  47967. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47968. + "$$@" $$unique; \
  47969. + else \
  47970. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47971. + $$unique; \
  47972. + fi; \
  47973. fi
  47974. ctags: CTAGS
  47975. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  47976. $(TAGS_FILES) $(LISP)
  47977. - tags=; \
  47978. - here=`pwd`; \
  47979. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  47980. unique=`for i in $$list; do \
  47981. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  47982. done | \
  47983. - $(AWK) ' { files[$$0] = 1; } \
  47984. - END { for (i in files) print i; }'`; \
  47985. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  47986. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  47987. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  47988. + test -z "$(CTAGS_ARGS)$$unique" \
  47989. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  47990. - $$tags $$unique
  47991. + $$unique
  47992. GTAGS:
  47993. here=`$(am__cd) $(top_builddir) && pwd` \
  47994. - && cd $(top_srcdir) \
  47995. - && gtags -i $(GTAGS_ARGS) $$here
  47996. + && $(am__cd) $(top_srcdir) \
  47997. + && gtags -i $(GTAGS_ARGS) "$$here"
  47998. distclean-tags:
  47999. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  48000. distdir: $(DISTFILES)
  48001. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  48002. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  48003. - list='$(DISTFILES)'; for file in $$list; do \
  48004. - case $$file in \
  48005. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  48006. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  48007. - esac; \
  48008. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  48009. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  48010. + list='$(DISTFILES)'; \
  48011. + dist_files=`for file in $$list; do echo $$file; done | \
  48012. + sed -e "s|^$$srcdirstrip/||;t" \
  48013. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  48014. + case $$dist_files in \
  48015. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  48016. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  48017. + sort -u` ;; \
  48018. + esac; \
  48019. + for file in $$dist_files; do \
  48020. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  48021. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  48022. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  48023. - dir="/$$dir"; \
  48024. - $(mkdir_p) "$(distdir)$$dir"; \
  48025. - else \
  48026. - dir=''; \
  48027. - fi; \
  48028. if test -d $$d/$$file; then \
  48029. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  48030. + if test -d "$(distdir)/$$file"; then \
  48031. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  48032. + fi; \
  48033. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  48034. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  48035. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  48036. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  48037. fi; \
  48038. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  48039. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  48040. else \
  48041. - test -f $(distdir)/$$file \
  48042. - || cp -p $$d/$$file $(distdir)/$$file \
  48043. + test -f "$(distdir)/$$file" \
  48044. + || cp -p $$d/$$file "$(distdir)/$$file" \
  48045. || exit 1; \
  48046. fi; \
  48047. done
  48048. @@ -572,7 +576,7 @@
  48049. all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
  48050. installdirs:
  48051. for dir in "$(DESTDIR)$(libdir)"; do \
  48052. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  48053. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  48054. done
  48055. install: install-am
  48056. install-exec: install-exec-am
  48057. @@ -593,7 +597,8 @@
  48058. clean-generic:
  48059. distclean-generic:
  48060. - -rm -f $(CONFIG_CLEAN_FILES)
  48061. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  48062. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  48063. maintainer-clean-generic:
  48064. @echo "This command is intended for maintainers to use"
  48065. @@ -607,7 +612,7 @@
  48066. -rm -rf ./$(DEPDIR)
  48067. -rm -f Makefile
  48068. distclean-am: clean-am distclean-compile distclean-generic \
  48069. - distclean-libtool distclean-tags
  48070. + distclean-tags
  48071. dvi: dvi-am
  48072. @@ -615,18 +620,38 @@
  48073. html: html-am
  48074. +html-am:
  48075. +
  48076. info: info-am
  48077. info-am:
  48078. install-data-am:
  48079. +install-dvi: install-dvi-am
  48080. +
  48081. +install-dvi-am:
  48082. +
  48083. install-exec-am: install-libLTLIBRARIES
  48084. +install-html: install-html-am
  48085. +
  48086. +install-html-am:
  48087. +
  48088. install-info: install-info-am
  48089. +install-info-am:
  48090. +
  48091. install-man:
  48092. +install-pdf: install-pdf-am
  48093. +
  48094. +install-pdf-am:
  48095. +
  48096. +install-ps: install-ps-am
  48097. +
  48098. +install-ps-am:
  48099. +
  48100. installcheck-am:
  48101. maintainer-clean: maintainer-clean-am
  48102. @@ -647,20 +672,24 @@
  48103. ps-am:
  48104. -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
  48105. +uninstall-am: uninstall-libLTLIBRARIES
  48106. +
  48107. +.MAKE: install-am install-strip
  48108. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  48109. clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS ctags \
  48110. distclean distclean-compile distclean-generic \
  48111. distclean-libtool distclean-tags distdir dvi dvi-am html \
  48112. html-am info info-am install install-am install-data \
  48113. - install-data-am install-exec install-exec-am install-info \
  48114. - install-info-am install-libLTLIBRARIES install-man \
  48115. - install-strip installcheck installcheck-am installdirs \
  48116. - maintainer-clean maintainer-clean-generic mostlyclean \
  48117. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  48118. - pdf pdf-am ps ps-am tags uninstall uninstall-am \
  48119. - uninstall-info-am uninstall-libLTLIBRARIES
  48120. + install-data-am install-dvi install-dvi-am install-exec \
  48121. + install-exec-am install-html install-html-am install-info \
  48122. + install-info-am install-libLTLIBRARIES install-man install-pdf \
  48123. + install-pdf-am install-ps install-ps-am install-strip \
  48124. + installcheck installcheck-am installdirs maintainer-clean \
  48125. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  48126. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  48127. + tags uninstall uninstall-am uninstall-libLTLIBRARIES
  48128. +
  48129. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  48130. # Otherwise a system limit (for SysV at least) may be exceeded.
  48131. diff -Nur speex-1.2rc1.orig/ltmain.sh speex-1.2rc1/ltmain.sh
  48132. --- speex-1.2rc1.orig/ltmain.sh 2006-06-19 21:29:20.000000000 +0200
  48133. +++ speex-1.2rc1/ltmain.sh 2011-02-20 22:00:53.843554142 +0100
  48134. @@ -1,30 +1,174 @@
  48135. -# ltmain.sh - Provide generalized library-building support services.
  48136. -# NOTE: Changing this file will not affect anything until you rerun configure.
  48137. -#
  48138. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
  48139. -# Free Software Foundation, Inc.
  48140. -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  48141. -#
  48142. -# This program is free software; you can redistribute it and/or modify
  48143. +# Generated from ltmain.m4sh.
  48144. +
  48145. +# ltmain.sh (GNU libtool) 2.2.6b
  48146. +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  48147. +
  48148. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  48149. +# This is free software; see the source for copying conditions. There is NO
  48150. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  48151. +
  48152. +# GNU Libtool is free software; you can redistribute it and/or modify
  48153. # it under the terms of the GNU General Public License as published by
  48154. # the Free Software Foundation; either version 2 of the License, or
  48155. # (at your option) any later version.
  48156. #
  48157. -# This program is distributed in the hope that it will be useful, but
  48158. +# As a special exception to the GNU General Public License,
  48159. +# if you distribute this file as part of a program or library that
  48160. +# is built using GNU Libtool, you may include this file under the
  48161. +# same distribution terms that you use for the rest of that program.
  48162. +#
  48163. +# GNU Libtool is distributed in the hope that it will be useful, but
  48164. # WITHOUT ANY WARRANTY; without even the implied warranty of
  48165. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  48166. # General Public License for more details.
  48167. #
  48168. # You should have received a copy of the GNU General Public License
  48169. -# along with this program; if not, write to the Free Software
  48170. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  48171. +# along with GNU Libtool; see the file COPYING. If not, a copy
  48172. +# can be downloaded from http://www.gnu.org/licenses/gpl.html,
  48173. +# or obtained by writing to the Free Software Foundation, Inc.,
  48174. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  48175. +
  48176. +# Usage: $progname [OPTION]... [MODE-ARG]...
  48177. +#
  48178. +# Provide generalized library-building support services.
  48179. #
  48180. -# As a special exception to the GNU General Public License, if you
  48181. -# distribute this file as part of a program that contains a
  48182. -# configuration script generated by Autoconf, you may include it under
  48183. -# the same distribution terms that you use for the rest of that program.
  48184. +# --config show all configuration variables
  48185. +# --debug enable verbose shell tracing
  48186. +# -n, --dry-run display commands without modifying any files
  48187. +# --features display basic configuration information and exit
  48188. +# --mode=MODE use operation mode MODE
  48189. +# --preserve-dup-deps don't remove duplicate dependency libraries
  48190. +# --quiet, --silent don't print informational messages
  48191. +# --tag=TAG use configuration variables from tag TAG
  48192. +# -v, --verbose print informational messages (default)
  48193. +# --version print version information
  48194. +# -h, --help print short or long help message
  48195. +#
  48196. +# MODE must be one of the following:
  48197. +#
  48198. +# clean remove files from the build directory
  48199. +# compile compile a source file into a libtool object
  48200. +# execute automatically set library path, then run a program
  48201. +# finish complete the installation of libtool libraries
  48202. +# install install libraries or executables
  48203. +# link create a library or an executable
  48204. +# uninstall remove libraries from an installed directory
  48205. +#
  48206. +# MODE-ARGS vary depending on the MODE.
  48207. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  48208. +#
  48209. +# When reporting a bug, please describe a test case to reproduce it and
  48210. +# include the following information:
  48211. +#
  48212. +# host-triplet: $host
  48213. +# shell: $SHELL
  48214. +# compiler: $LTCC
  48215. +# compiler flags: $LTCFLAGS
  48216. +# linker: $LD (gnu? $with_gnu_ld)
  48217. +# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
  48218. +# automake: $automake_version
  48219. +# autoconf: $autoconf_version
  48220. +#
  48221. +# Report bugs to <bug-libtool@gnu.org>.
  48222. +
  48223. +PROGRAM=ltmain.sh
  48224. +PACKAGE=libtool
  48225. +VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
  48226. +TIMESTAMP=""
  48227. +package_revision=1.3017
  48228. +
  48229. +# Be Bourne compatible
  48230. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  48231. + emulate sh
  48232. + NULLCMD=:
  48233. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  48234. + # is contrary to our usage. Disable this feature.
  48235. + alias -g '${1+"$@"}'='"$@"'
  48236. + setopt NO_GLOB_SUBST
  48237. +else
  48238. + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  48239. +fi
  48240. +BIN_SH=xpg4; export BIN_SH # for Tru64
  48241. +DUALCASE=1; export DUALCASE # for MKS sh
  48242. +
  48243. +# NLS nuisances: We save the old values to restore during execute mode.
  48244. +# Only set LANG and LC_ALL to C if already set.
  48245. +# These must not be set unconditionally because not all systems understand
  48246. +# e.g. LANG=C (notably SCO).
  48247. +lt_user_locale=
  48248. +lt_safe_locale=
  48249. +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  48250. +do
  48251. + eval "if test \"\${$lt_var+set}\" = set; then
  48252. + save_$lt_var=\$$lt_var
  48253. + $lt_var=C
  48254. + export $lt_var
  48255. + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
  48256. + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  48257. + fi"
  48258. +done
  48259. +
  48260. +$lt_unset CDPATH
  48261. +
  48262. +
  48263. +
  48264. +
  48265. +
  48266. +: ${CP="cp -f"}
  48267. +: ${ECHO="echo"}
  48268. +: ${EGREP="/bin/grep -E"}
  48269. +: ${FGREP="/bin/grep -F"}
  48270. +: ${GREP="/bin/grep"}
  48271. +: ${LN_S="ln -s"}
  48272. +: ${MAKE="make"}
  48273. +: ${MKDIR="mkdir"}
  48274. +: ${MV="mv -f"}
  48275. +: ${RM="rm -f"}
  48276. +: ${SED="/bin/sed"}
  48277. +: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  48278. +: ${Xsed="$SED -e 1s/^X//"}
  48279. -basename="s,^.*/,,g"
  48280. +# Global variables:
  48281. +EXIT_SUCCESS=0
  48282. +EXIT_FAILURE=1
  48283. +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
  48284. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
  48285. +
  48286. +exit_status=$EXIT_SUCCESS
  48287. +
  48288. +# Make sure IFS has a sensible default
  48289. +lt_nl='
  48290. +'
  48291. +IFS=" $lt_nl"
  48292. +
  48293. +dirname="s,/[^/]*$,,"
  48294. +basename="s,^.*/,,"
  48295. +
  48296. +# func_dirname_and_basename file append nondir_replacement
  48297. +# perform func_basename and func_dirname in a single function
  48298. +# call:
  48299. +# dirname: Compute the dirname of FILE. If nonempty,
  48300. +# add APPEND to the result, otherwise set result
  48301. +# to NONDIR_REPLACEMENT.
  48302. +# value returned in "$func_dirname_result"
  48303. +# basename: Compute filename of FILE.
  48304. +# value retuned in "$func_basename_result"
  48305. +# Implementation must be kept synchronized with func_dirname
  48306. +# and func_basename. For efficiency, we do not delegate to
  48307. +# those functions but instead duplicate the functionality here.
  48308. +func_dirname_and_basename ()
  48309. +{
  48310. + # Extract subdirectory from the argument.
  48311. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  48312. + if test "X$func_dirname_result" = "X${1}"; then
  48313. + func_dirname_result="${3}"
  48314. + else
  48315. + func_dirname_result="$func_dirname_result${2}"
  48316. + fi
  48317. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  48318. +}
  48319. +
  48320. +# Generated shell functions inserted here.
  48321. # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  48322. # is ksh but when the shell is invoked as "sh" and the current value of
  48323. @@ -34,112 +178,174 @@
  48324. progpath="$0"
  48325. # The name of this program:
  48326. -progname=`echo "$progpath" | $SED $basename`
  48327. -modename="$progname"
  48328. +# In the unlikely event $progname began with a '-', it would play havoc with
  48329. +# func_echo (imagine progname=-n), so we prepend ./ in that case:
  48330. +func_dirname_and_basename "$progpath"
  48331. +progname=$func_basename_result
  48332. +case $progname in
  48333. + -*) progname=./$progname ;;
  48334. +esac
  48335. -# Global variables:
  48336. -EXIT_SUCCESS=0
  48337. -EXIT_FAILURE=1
  48338. +# Make sure we have an absolute path for reexecution:
  48339. +case $progpath in
  48340. + [\\/]*|[A-Za-z]:\\*) ;;
  48341. + *[\\/]*)
  48342. + progdir=$func_dirname_result
  48343. + progdir=`cd "$progdir" && pwd`
  48344. + progpath="$progdir/$progname"
  48345. + ;;
  48346. + *)
  48347. + save_IFS="$IFS"
  48348. + IFS=:
  48349. + for progdir in $PATH; do
  48350. + IFS="$save_IFS"
  48351. + test -x "$progdir/$progname" && break
  48352. + done
  48353. + IFS="$save_IFS"
  48354. + test -n "$progdir" || progdir=`pwd`
  48355. + progpath="$progdir/$progname"
  48356. + ;;
  48357. +esac
  48358. -PROGRAM=ltmain.sh
  48359. -PACKAGE=libtool
  48360. -VERSION="1.5.22 Debian 1.5.22-4"
  48361. -TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
  48362. +# Sed substitution that helps us do robust quoting. It backslashifies
  48363. +# metacharacters that are still active within double-quoted strings.
  48364. +Xsed="${SED}"' -e 1s/^X//'
  48365. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
  48366. -# See if we are running on zsh, and set the options which allow our
  48367. -# commands through without removal of \ escapes.
  48368. -if test -n "${ZSH_VERSION+set}" ; then
  48369. - setopt NO_GLOB_SUBST
  48370. -fi
  48371. +# Same as above, but do not quote variable references.
  48372. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  48373. -# Check that we have a working $echo.
  48374. -if test "X$1" = X--no-reexec; then
  48375. - # Discard the --no-reexec flag, and continue.
  48376. - shift
  48377. -elif test "X$1" = X--fallback-echo; then
  48378. - # Avoid inline document here, it may be left over
  48379. - :
  48380. -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
  48381. - # Yippee, $echo works!
  48382. - :
  48383. -else
  48384. - # Restart under the correct shell, and then maybe $echo will work.
  48385. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  48386. -fi
  48387. +# Re-`\' parameter expansions in output of double_quote_subst that were
  48388. +# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
  48389. +# in input to double_quote_subst, that '$' was protected from expansion.
  48390. +# Since each input `\' is now two `\'s, look for any number of runs of
  48391. +# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
  48392. +bs='\\'
  48393. +bs2='\\\\'
  48394. +bs4='\\\\\\\\'
  48395. +dollar='\$'
  48396. +sed_double_backslash="\
  48397. + s/$bs4/&\\
  48398. +/g
  48399. + s/^$bs2$dollar/$bs&/
  48400. + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
  48401. + s/\n//g"
  48402. +
  48403. +# Standard options:
  48404. +opt_dry_run=false
  48405. +opt_help=false
  48406. +opt_quiet=false
  48407. +opt_verbose=false
  48408. +opt_warning=:
  48409. +
  48410. +# func_echo arg...
  48411. +# Echo program name prefixed message, along with the current mode
  48412. +# name if it has been set yet.
  48413. +func_echo ()
  48414. +{
  48415. + $ECHO "$progname${mode+: }$mode: $*"
  48416. +}
  48417. -if test "X$1" = X--fallback-echo; then
  48418. - # used as fallback echo
  48419. - shift
  48420. - cat <<EOF
  48421. -$*
  48422. -EOF
  48423. - exit $EXIT_SUCCESS
  48424. -fi
  48425. +# func_verbose arg...
  48426. +# Echo program name prefixed message in verbose mode only.
  48427. +func_verbose ()
  48428. +{
  48429. + $opt_verbose && func_echo ${1+"$@"}
  48430. -default_mode=
  48431. -help="Try \`$progname --help' for more information."
  48432. -magic="%%%MAGIC variable%%%"
  48433. -mkdir="mkdir"
  48434. -mv="mv -f"
  48435. -rm="rm -f"
  48436. + # A bug in bash halts the script if the last line of a function
  48437. + # fails when set -e is in force, so we need another command to
  48438. + # work around that:
  48439. + :
  48440. +}
  48441. -# Sed substitution that helps us do robust quoting. It backslashifies
  48442. -# metacharacters that are still active within double-quoted strings.
  48443. -Xsed="${SED}"' -e 1s/^X//'
  48444. -sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
  48445. -# test EBCDIC or ASCII
  48446. -case `echo X|tr X '\101'` in
  48447. - A) # ASCII based system
  48448. - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  48449. - SP2NL='tr \040 \012'
  48450. - NL2SP='tr \015\012 \040\040'
  48451. - ;;
  48452. - *) # EBCDIC based system
  48453. - SP2NL='tr \100 \n'
  48454. - NL2SP='tr \r\n \100\100'
  48455. - ;;
  48456. -esac
  48457. +# func_error arg...
  48458. +# Echo program name prefixed message to standard error.
  48459. +func_error ()
  48460. +{
  48461. + $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  48462. +}
  48463. -# NLS nuisances.
  48464. -# Only set LANG and LC_ALL to C if already set.
  48465. -# These must not be set unconditionally because not all systems understand
  48466. -# e.g. LANG=C (notably SCO).
  48467. -# We save the old values to restore during execute mode.
  48468. -if test "${LC_ALL+set}" = set; then
  48469. - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
  48470. -fi
  48471. -if test "${LANG+set}" = set; then
  48472. - save_LANG="$LANG"; LANG=C; export LANG
  48473. -fi
  48474. +# func_warning arg...
  48475. +# Echo program name prefixed warning message to standard error.
  48476. +func_warning ()
  48477. +{
  48478. + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  48479. -# Make sure IFS has a sensible default
  48480. -lt_nl='
  48481. -'
  48482. -IFS=" $lt_nl"
  48483. + # bash bug again:
  48484. + :
  48485. +}
  48486. -if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  48487. - $echo "$modename: not configured to build any kind of library" 1>&2
  48488. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  48489. - exit $EXIT_FAILURE
  48490. -fi
  48491. +# func_fatal_error arg...
  48492. +# Echo program name prefixed message to standard error, and exit.
  48493. +func_fatal_error ()
  48494. +{
  48495. + func_error ${1+"$@"}
  48496. + exit $EXIT_FAILURE
  48497. +}
  48498. -# Global variables.
  48499. -mode=$default_mode
  48500. -nonopt=
  48501. -prev=
  48502. -prevopt=
  48503. -run=
  48504. -show="$echo"
  48505. -show_help=
  48506. -execute_dlfiles=
  48507. -duplicate_deps=no
  48508. -preserve_args=
  48509. -lo2o="s/\\.lo\$/.${objext}/"
  48510. -o2lo="s/\\.${objext}\$/.lo/"
  48511. +# func_fatal_help arg...
  48512. +# Echo program name prefixed message to standard error, followed by
  48513. +# a help hint, and exit.
  48514. +func_fatal_help ()
  48515. +{
  48516. + func_error ${1+"$@"}
  48517. + func_fatal_error "$help"
  48518. +}
  48519. +help="Try \`$progname --help' for more information." ## default
  48520. +
  48521. +
  48522. +# func_grep expression filename
  48523. +# Check whether EXPRESSION matches any line of FILENAME, without output.
  48524. +func_grep ()
  48525. +{
  48526. + $GREP "$1" "$2" >/dev/null 2>&1
  48527. +}
  48528. +
  48529. +
  48530. +# func_mkdir_p directory-path
  48531. +# Make sure the entire path to DIRECTORY-PATH is available.
  48532. +func_mkdir_p ()
  48533. +{
  48534. + my_directory_path="$1"
  48535. + my_dir_list=
  48536. +
  48537. + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
  48538. +
  48539. + # Protect directory names starting with `-'
  48540. + case $my_directory_path in
  48541. + -*) my_directory_path="./$my_directory_path" ;;
  48542. + esac
  48543. +
  48544. + # While some portion of DIR does not yet exist...
  48545. + while test ! -d "$my_directory_path"; do
  48546. + # ...make a list in topmost first order. Use a colon delimited
  48547. + # list incase some portion of path contains whitespace.
  48548. + my_dir_list="$my_directory_path:$my_dir_list"
  48549. +
  48550. + # If the last portion added has no slash in it, the list is done
  48551. + case $my_directory_path in */*) ;; *) break ;; esac
  48552. +
  48553. + # ...otherwise throw away the child directory and loop
  48554. + my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  48555. + done
  48556. + my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  48557. +
  48558. + save_mkdir_p_IFS="$IFS"; IFS=':'
  48559. + for my_dir in $my_dir_list; do
  48560. + IFS="$save_mkdir_p_IFS"
  48561. + # mkdir can fail with a `File exist' error if two processes
  48562. + # try to create one of the directories concurrently. Don't
  48563. + # stop in that case!
  48564. + $MKDIR "$my_dir" 2>/dev/null || :
  48565. + done
  48566. + IFS="$save_mkdir_p_IFS"
  48567. +
  48568. + # Bail out if we (or some other process) failed to create a directory.
  48569. + test -d "$my_directory_path" || \
  48570. + func_fatal_error "Failed to create \`$1'"
  48571. + fi
  48572. +}
  48573. -#####################################
  48574. -# Shell function definitions:
  48575. -# This seems to be the best place for them
  48576. # func_mktempdir [string]
  48577. # Make a temporary directory that won't clash with other running
  48578. @@ -149,7 +355,7 @@
  48579. {
  48580. my_template="${TMPDIR-/tmp}/${1-$progname}"
  48581. - if test "$run" = ":"; then
  48582. + if test "$opt_dry_run" = ":"; then
  48583. # Return a directory name, but don't create it in dry-run mode
  48584. my_tmpdir="${my_template}-$$"
  48585. else
  48586. @@ -158,546 +364,818 @@
  48587. my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
  48588. if test ! -d "$my_tmpdir"; then
  48589. - # Failing that, at least try and use $RANDOM to avoid a race
  48590. - my_tmpdir="${my_template}-${RANDOM-0}$$"
  48591. + # Failing that, at least try and use $RANDOM to avoid a race
  48592. + my_tmpdir="${my_template}-${RANDOM-0}$$"
  48593. - save_mktempdir_umask=`umask`
  48594. - umask 0077
  48595. - $mkdir "$my_tmpdir"
  48596. - umask $save_mktempdir_umask
  48597. + save_mktempdir_umask=`umask`
  48598. + umask 0077
  48599. + $MKDIR "$my_tmpdir"
  48600. + umask $save_mktempdir_umask
  48601. fi
  48602. # If we're not in dry-run mode, bomb out on failure
  48603. - test -d "$my_tmpdir" || {
  48604. - $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
  48605. - exit $EXIT_FAILURE
  48606. - }
  48607. + test -d "$my_tmpdir" || \
  48608. + func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  48609. fi
  48610. - $echo "X$my_tmpdir" | $Xsed
  48611. + $ECHO "X$my_tmpdir" | $Xsed
  48612. }
  48613. -# func_win32_libid arg
  48614. -# return the library type of file 'arg'
  48615. -#
  48616. -# Need a lot of goo to handle *both* DLLs and import libs
  48617. -# Has to be a shell function in order to 'eat' the argument
  48618. -# that is supplied when $file_magic_command is called.
  48619. -func_win32_libid ()
  48620. +# func_quote_for_eval arg
  48621. +# Aesthetically quote ARG to be evaled later.
  48622. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
  48623. +# is double-quoted, suitable for a subsequent eval, whereas
  48624. +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
  48625. +# which are still active within double quotes backslashified.
  48626. +func_quote_for_eval ()
  48627. {
  48628. - win32_libid_type="unknown"
  48629. - win32_fileres=`file -L $1 2>/dev/null`
  48630. - case $win32_fileres in
  48631. - *ar\ archive\ import\ library*) # definitely import
  48632. - win32_libid_type="x86 archive import"
  48633. - ;;
  48634. - *ar\ archive*) # could be an import, or static
  48635. - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
  48636. - $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  48637. - win32_nmres=`eval $NM -f posix -A $1 | \
  48638. - $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
  48639. - case $win32_nmres in
  48640. - import*) win32_libid_type="x86 archive import";;
  48641. - *) win32_libid_type="x86 archive static";;
  48642. - esac
  48643. - fi
  48644. - ;;
  48645. - *DLL*)
  48646. - win32_libid_type="x86 DLL"
  48647. - ;;
  48648. - *executable*) # but shell scripts are "executable" too...
  48649. - case $win32_fileres in
  48650. - *MS\ Windows\ PE\ Intel*)
  48651. - win32_libid_type="x86 DLL"
  48652. - ;;
  48653. + case $1 in
  48654. + *[\\\`\"\$]*)
  48655. + func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  48656. + *)
  48657. + func_quote_for_eval_unquoted_result="$1" ;;
  48658. + esac
  48659. +
  48660. + case $func_quote_for_eval_unquoted_result in
  48661. + # Double-quote args containing shell metacharacters to delay
  48662. + # word splitting, command substitution and and variable
  48663. + # expansion for a subsequent eval.
  48664. + # Many Bourne shells cannot handle close brackets correctly
  48665. + # in scan sets, so we specify it separately.
  48666. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  48667. + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
  48668. + ;;
  48669. + *)
  48670. + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
  48671. esac
  48672. - ;;
  48673. - esac
  48674. - $echo $win32_libid_type
  48675. }
  48676. -# func_infer_tag arg
  48677. -# Infer tagged configuration to use if any are available and
  48678. -# if one wasn't chosen via the "--tag" command line option.
  48679. -# Only attempt this if the compiler in the base compile
  48680. -# command doesn't match the default compiler.
  48681. -# arg is usually of the form 'gcc ...'
  48682. -func_infer_tag ()
  48683. +# func_quote_for_expand arg
  48684. +# Aesthetically quote ARG to be evaled later; same as above,
  48685. +# but do not quote variable references.
  48686. +func_quote_for_expand ()
  48687. {
  48688. - if test -n "$available_tags" && test -z "$tagname"; then
  48689. - CC_quoted=
  48690. - for arg in $CC; do
  48691. - case $arg in
  48692. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  48693. - arg="\"$arg\""
  48694. - ;;
  48695. - esac
  48696. - CC_quoted="$CC_quoted $arg"
  48697. - done
  48698. - case $@ in
  48699. - # Blanks in the command may have been stripped by the calling shell,
  48700. - # but not from the CC environment variable when configure was run.
  48701. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
  48702. - # Blanks at the start of $base_compile will cause this to fail
  48703. - # if we don't check for them as well.
  48704. + case $1 in
  48705. + *[\\\`\"]*)
  48706. + my_arg=`$ECHO "X$1" | $Xsed \
  48707. + -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  48708. *)
  48709. - for z in $available_tags; do
  48710. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  48711. - # Evaluate the configuration.
  48712. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  48713. - CC_quoted=
  48714. - for arg in $CC; do
  48715. - # Double-quote args containing other shell metacharacters.
  48716. - case $arg in
  48717. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  48718. - arg="\"$arg\""
  48719. - ;;
  48720. - esac
  48721. - CC_quoted="$CC_quoted $arg"
  48722. - done
  48723. - case "$@ " in
  48724. - " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
  48725. - # The compiler in the base compile command matches
  48726. - # the one in the tagged configuration.
  48727. - # Assume this is the tagged configuration we want.
  48728. - tagname=$z
  48729. - break
  48730. - ;;
  48731. - esac
  48732. - fi
  48733. - done
  48734. - # If $tagname still isn't set, then no tagged configuration
  48735. - # was found and let the user know that the "--tag" command
  48736. - # line option must be used.
  48737. - if test -z "$tagname"; then
  48738. - $echo "$modename: unable to infer tagged configuration"
  48739. - $echo "$modename: specify a tag with \`--tag'" 1>&2
  48740. - exit $EXIT_FAILURE
  48741. -# else
  48742. -# $echo "$modename: using $tagname tagged configuration"
  48743. - fi
  48744. - ;;
  48745. - esac
  48746. - fi
  48747. + my_arg="$1" ;;
  48748. + esac
  48749. +
  48750. + case $my_arg in
  48751. + # Double-quote args containing shell metacharacters to delay
  48752. + # word splitting and command substitution for a subsequent eval.
  48753. + # Many Bourne shells cannot handle close brackets correctly
  48754. + # in scan sets, so we specify it separately.
  48755. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  48756. + my_arg="\"$my_arg\""
  48757. + ;;
  48758. + esac
  48759. +
  48760. + func_quote_for_expand_result="$my_arg"
  48761. }
  48762. -# func_extract_an_archive dir oldlib
  48763. -func_extract_an_archive ()
  48764. +# func_show_eval cmd [fail_exp]
  48765. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  48766. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  48767. +# is given, then evaluate it.
  48768. +func_show_eval ()
  48769. {
  48770. - f_ex_an_ar_dir="$1"; shift
  48771. - f_ex_an_ar_oldlib="$1"
  48772. + my_cmd="$1"
  48773. + my_fail_exp="${2-:}"
  48774. - $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
  48775. - $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
  48776. - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  48777. - :
  48778. - else
  48779. - $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
  48780. - exit $EXIT_FAILURE
  48781. + ${opt_silent-false} || {
  48782. + func_quote_for_expand "$my_cmd"
  48783. + eval "func_echo $func_quote_for_expand_result"
  48784. + }
  48785. +
  48786. + if ${opt_dry_run-false}; then :; else
  48787. + eval "$my_cmd"
  48788. + my_status=$?
  48789. + if test "$my_status" -eq 0; then :; else
  48790. + eval "(exit $my_status); $my_fail_exp"
  48791. + fi
  48792. fi
  48793. }
  48794. -# func_extract_archives gentop oldlib ...
  48795. -func_extract_archives ()
  48796. +
  48797. +# func_show_eval_locale cmd [fail_exp]
  48798. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  48799. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  48800. +# is given, then evaluate it. Use the saved locale for evaluation.
  48801. +func_show_eval_locale ()
  48802. {
  48803. - my_gentop="$1"; shift
  48804. - my_oldlibs=${1+"$@"}
  48805. - my_oldobjs=""
  48806. - my_xlib=""
  48807. - my_xabs=""
  48808. - my_xdir=""
  48809. - my_status=""
  48810. + my_cmd="$1"
  48811. + my_fail_exp="${2-:}"
  48812. +
  48813. + ${opt_silent-false} || {
  48814. + func_quote_for_expand "$my_cmd"
  48815. + eval "func_echo $func_quote_for_expand_result"
  48816. + }
  48817. - $show "${rm}r $my_gentop"
  48818. - $run ${rm}r "$my_gentop"
  48819. - $show "$mkdir $my_gentop"
  48820. - $run $mkdir "$my_gentop"
  48821. - my_status=$?
  48822. - if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
  48823. - exit $my_status
  48824. + if ${opt_dry_run-false}; then :; else
  48825. + eval "$lt_user_locale
  48826. + $my_cmd"
  48827. + my_status=$?
  48828. + eval "$lt_safe_locale"
  48829. + if test "$my_status" -eq 0; then :; else
  48830. + eval "(exit $my_status); $my_fail_exp"
  48831. + fi
  48832. fi
  48833. +}
  48834. - for my_xlib in $my_oldlibs; do
  48835. - # Extract the objects.
  48836. - case $my_xlib in
  48837. - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  48838. - *) my_xabs=`pwd`"/$my_xlib" ;;
  48839. - esac
  48840. - my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
  48841. - my_xdir="$my_gentop/$my_xlib"
  48842. - $show "${rm}r $my_xdir"
  48843. - $run ${rm}r "$my_xdir"
  48844. - $show "$mkdir $my_xdir"
  48845. - $run $mkdir "$my_xdir"
  48846. - exit_status=$?
  48847. - if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
  48848. - exit $exit_status
  48849. - fi
  48850. - case $host in
  48851. - *-darwin*)
  48852. - $show "Extracting $my_xabs"
  48853. - # Do not bother doing anything if just a dry run
  48854. - if test -z "$run"; then
  48855. - darwin_orig_dir=`pwd`
  48856. - cd $my_xdir || exit $?
  48857. - darwin_archive=$my_xabs
  48858. - darwin_curdir=`pwd`
  48859. - darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
  48860. - darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
  48861. - if test -n "$darwin_arches"; then
  48862. - darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
  48863. - darwin_arch=
  48864. - $show "$darwin_base_archive has multiple architectures $darwin_arches"
  48865. - for darwin_arch in $darwin_arches ; do
  48866. - mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  48867. - lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  48868. - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  48869. - func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  48870. - cd "$darwin_curdir"
  48871. - $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  48872. - done # $darwin_arches
  48873. - ## Okay now we have a bunch of thin objects, gotta fatten them up :)
  48874. - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
  48875. - darwin_file=
  48876. - darwin_files=
  48877. - for darwin_file in $darwin_filelist; do
  48878. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  48879. - lipo -create -output "$darwin_file" $darwin_files
  48880. - done # $darwin_filelist
  48881. - ${rm}r unfat-$$
  48882. - cd "$darwin_orig_dir"
  48883. - else
  48884. - cd "$darwin_orig_dir"
  48885. - func_extract_an_archive "$my_xdir" "$my_xabs"
  48886. - fi # $darwin_arches
  48887. - fi # $run
  48888. - ;;
  48889. - *)
  48890. - func_extract_an_archive "$my_xdir" "$my_xabs"
  48891. - ;;
  48892. - esac
  48893. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  48894. - done
  48895. - func_extract_archives_result="$my_oldobjs"
  48896. +
  48897. +
  48898. +
  48899. +# func_version
  48900. +# Echo version message to standard output and exit.
  48901. +func_version ()
  48902. +{
  48903. + $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  48904. + s/^# //
  48905. + s/^# *$//
  48906. + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  48907. + p
  48908. + }' < "$progpath"
  48909. + exit $?
  48910. }
  48911. -# End of Shell function definitions
  48912. -#####################################
  48913. -# Darwin sucks
  48914. -eval std_shrext=\"$shrext_cmds\"
  48915. +# func_usage
  48916. +# Echo short help message to standard output and exit.
  48917. +func_usage ()
  48918. +{
  48919. + $SED -n '/^# Usage:/,/# -h/ {
  48920. + s/^# //
  48921. + s/^# *$//
  48922. + s/\$progname/'$progname'/
  48923. + p
  48924. + }' < "$progpath"
  48925. + $ECHO
  48926. + $ECHO "run \`$progname --help | more' for full usage"
  48927. + exit $?
  48928. +}
  48929. -disable_libs=no
  48930. +# func_help
  48931. +# Echo long help message to standard output and exit.
  48932. +func_help ()
  48933. +{
  48934. + $SED -n '/^# Usage:/,/# Report bugs to/ {
  48935. + s/^# //
  48936. + s/^# *$//
  48937. + s*\$progname*'$progname'*
  48938. + s*\$host*'"$host"'*
  48939. + s*\$SHELL*'"$SHELL"'*
  48940. + s*\$LTCC*'"$LTCC"'*
  48941. + s*\$LTCFLAGS*'"$LTCFLAGS"'*
  48942. + s*\$LD*'"$LD"'*
  48943. + s/\$with_gnu_ld/'"$with_gnu_ld"'/
  48944. + s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  48945. + s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  48946. + p
  48947. + }' < "$progpath"
  48948. + exit $?
  48949. +}
  48950. -# Parse our command line options once, thoroughly.
  48951. -while test "$#" -gt 0
  48952. -do
  48953. - arg="$1"
  48954. +# func_missing_arg argname
  48955. +# Echo program name prefixed message to standard error and set global
  48956. +# exit_cmd.
  48957. +func_missing_arg ()
  48958. +{
  48959. + func_error "missing argument for $1"
  48960. + exit_cmd=exit
  48961. +}
  48962. +
  48963. +exit_cmd=:
  48964. +
  48965. +
  48966. +
  48967. +
  48968. +
  48969. +# Check that we have a working $ECHO.
  48970. +if test "X$1" = X--no-reexec; then
  48971. + # Discard the --no-reexec flag, and continue.
  48972. shift
  48973. +elif test "X$1" = X--fallback-echo; then
  48974. + # Avoid inline document here, it may be left over
  48975. + :
  48976. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  48977. + # Yippee, $ECHO works!
  48978. + :
  48979. +else
  48980. + # Restart under the correct shell, and then maybe $ECHO will work.
  48981. + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  48982. +fi
  48983. - case $arg in
  48984. - -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
  48985. - *) optarg= ;;
  48986. - esac
  48987. +if test "X$1" = X--fallback-echo; then
  48988. + # used as fallback echo
  48989. + shift
  48990. + cat <<EOF
  48991. +$*
  48992. +EOF
  48993. + exit $EXIT_SUCCESS
  48994. +fi
  48995. - # If the previous option needs an argument, assign it.
  48996. - if test -n "$prev"; then
  48997. - case $prev in
  48998. - execute_dlfiles)
  48999. - execute_dlfiles="$execute_dlfiles $arg"
  49000. - ;;
  49001. - tag)
  49002. - tagname="$arg"
  49003. - preserve_args="${preserve_args}=$arg"
  49004. -
  49005. - # Check whether tagname contains only valid characters
  49006. - case $tagname in
  49007. - *[!-_A-Za-z0-9,/]*)
  49008. - $echo "$progname: invalid tag name: $tagname" 1>&2
  49009. - exit $EXIT_FAILURE
  49010. - ;;
  49011. - esac
  49012. +magic="%%%MAGIC variable%%%"
  49013. +magic_exe="%%%MAGIC EXE variable%%%"
  49014. - case $tagname in
  49015. - CC)
  49016. - # Don't test for the "default" C tag, as we know, it's there, but
  49017. - # not specially marked.
  49018. - ;;
  49019. - *)
  49020. - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
  49021. - taglist="$taglist $tagname"
  49022. - # Evaluate the configuration.
  49023. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
  49024. - else
  49025. - $echo "$progname: ignoring unknown tag $tagname" 1>&2
  49026. - fi
  49027. - ;;
  49028. - esac
  49029. - ;;
  49030. - *)
  49031. - eval "$prev=\$arg"
  49032. - ;;
  49033. - esac
  49034. +# Global variables.
  49035. +# $mode is unset
  49036. +nonopt=
  49037. +execute_dlfiles=
  49038. +preserve_args=
  49039. +lo2o="s/\\.lo\$/.${objext}/"
  49040. +o2lo="s/\\.${objext}\$/.lo/"
  49041. +extracted_archives=
  49042. +extracted_serial=0
  49043. - prev=
  49044. - prevopt=
  49045. - continue
  49046. - fi
  49047. +opt_dry_run=false
  49048. +opt_duplicate_deps=false
  49049. +opt_silent=false
  49050. +opt_debug=:
  49051. - # Have we seen a non-optional argument yet?
  49052. - case $arg in
  49053. - --help)
  49054. - show_help=yes
  49055. - ;;
  49056. +# If this variable is set in any of the actions, the command in it
  49057. +# will be execed at the end. This prevents here-documents from being
  49058. +# left over by shells.
  49059. +exec_cmd=
  49060. - --version)
  49061. - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
  49062. - $echo
  49063. - $echo "Copyright (C) 2005 Free Software Foundation, Inc."
  49064. - $echo "This is free software; see the source for copying conditions. There is NO"
  49065. - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  49066. - exit $?
  49067. - ;;
  49068. +# func_fatal_configuration arg...
  49069. +# Echo program name prefixed message to standard error, followed by
  49070. +# a configuration failure hint, and exit.
  49071. +func_fatal_configuration ()
  49072. +{
  49073. + func_error ${1+"$@"}
  49074. + func_error "See the $PACKAGE documentation for more information."
  49075. + func_fatal_error "Fatal configuration error."
  49076. +}
  49077. +
  49078. +
  49079. +# func_config
  49080. +# Display the configuration for all the tags in this script.
  49081. +func_config ()
  49082. +{
  49083. + re_begincf='^# ### BEGIN LIBTOOL'
  49084. + re_endcf='^# ### END LIBTOOL'
  49085. +
  49086. + # Default configuration.
  49087. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
  49088. - --config)
  49089. - ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
  49090. # Now print the configurations for the tags.
  49091. for tagname in $taglist; do
  49092. - ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
  49093. + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
  49094. done
  49095. - exit $?
  49096. - ;;
  49097. - --debug)
  49098. - $echo "$progname: enabling shell trace mode"
  49099. - set -x
  49100. - preserve_args="$preserve_args $arg"
  49101. - ;;
  49102. -
  49103. - --dry-run | -n)
  49104. - run=:
  49105. - ;;
  49106. + exit $?
  49107. +}
  49108. - --features)
  49109. - $echo "host: $host"
  49110. +# func_features
  49111. +# Display the features supported by this script.
  49112. +func_features ()
  49113. +{
  49114. + $ECHO "host: $host"
  49115. if test "$build_libtool_libs" = yes; then
  49116. - $echo "enable shared libraries"
  49117. + $ECHO "enable shared libraries"
  49118. else
  49119. - $echo "disable shared libraries"
  49120. + $ECHO "disable shared libraries"
  49121. fi
  49122. if test "$build_old_libs" = yes; then
  49123. - $echo "enable static libraries"
  49124. + $ECHO "enable static libraries"
  49125. else
  49126. - $echo "disable static libraries"
  49127. + $ECHO "disable static libraries"
  49128. fi
  49129. +
  49130. exit $?
  49131. - ;;
  49132. +}
  49133. - --finish) mode="finish" ;;
  49134. +# func_enable_tag tagname
  49135. +# Verify that TAGNAME is valid, and either flag an error and exit, or
  49136. +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
  49137. +# variable here.
  49138. +func_enable_tag ()
  49139. +{
  49140. + # Global variable:
  49141. + tagname="$1"
  49142. - --mode) prevopt="--mode" prev=mode ;;
  49143. - --mode=*) mode="$optarg" ;;
  49144. + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  49145. + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  49146. + sed_extractcf="/$re_begincf/,/$re_endcf/p"
  49147. +
  49148. + # Validate tagname.
  49149. + case $tagname in
  49150. + *[!-_A-Za-z0-9,/]*)
  49151. + func_fatal_error "invalid tag name: $tagname"
  49152. + ;;
  49153. + esac
  49154. - --preserve-dup-deps) duplicate_deps="yes" ;;
  49155. + # Don't test for the "default" C tag, as we know it's
  49156. + # there but not specially marked.
  49157. + case $tagname in
  49158. + CC) ;;
  49159. + *)
  49160. + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  49161. + taglist="$taglist $tagname"
  49162. - --quiet | --silent)
  49163. - show=:
  49164. - preserve_args="$preserve_args $arg"
  49165. - ;;
  49166. + # Evaluate the configuration. Be careful to quote the path
  49167. + # and the sed script, to avoid splitting on whitespace, but
  49168. + # also don't use non-portable quotes within backquotes within
  49169. + # quotes we have to do it in 2 steps:
  49170. + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  49171. + eval "$extractedcf"
  49172. + else
  49173. + func_error "ignoring unknown tag $tagname"
  49174. + fi
  49175. + ;;
  49176. + esac
  49177. +}
  49178. +
  49179. +# Parse options once, thoroughly. This comes as soon as possible in
  49180. +# the script to make things like `libtool --version' happen quickly.
  49181. +{
  49182. - --tag)
  49183. - prevopt="--tag"
  49184. - prev=tag
  49185. - preserve_args="$preserve_args --tag"
  49186. + # Shorthand for --mode=foo, only valid as the first argument
  49187. + case $1 in
  49188. + clean|clea|cle|cl)
  49189. + shift; set dummy --mode clean ${1+"$@"}; shift
  49190. ;;
  49191. - --tag=*)
  49192. - set tag "$optarg" ${1+"$@"}
  49193. - shift
  49194. - prev=tag
  49195. - preserve_args="$preserve_args --tag"
  49196. + compile|compil|compi|comp|com|co|c)
  49197. + shift; set dummy --mode compile ${1+"$@"}; shift
  49198. ;;
  49199. -
  49200. - -dlopen)
  49201. - prevopt="-dlopen"
  49202. - prev=execute_dlfiles
  49203. + execute|execut|execu|exec|exe|ex|e)
  49204. + shift; set dummy --mode execute ${1+"$@"}; shift
  49205. ;;
  49206. -
  49207. - -*)
  49208. - $echo "$modename: unrecognized option \`$arg'" 1>&2
  49209. - $echo "$help" 1>&2
  49210. - exit $EXIT_FAILURE
  49211. + finish|finis|fini|fin|fi|f)
  49212. + shift; set dummy --mode finish ${1+"$@"}; shift
  49213. ;;
  49214. -
  49215. - *)
  49216. - nonopt="$arg"
  49217. - break
  49218. + install|instal|insta|inst|ins|in|i)
  49219. + shift; set dummy --mode install ${1+"$@"}; shift
  49220. + ;;
  49221. + link|lin|li|l)
  49222. + shift; set dummy --mode link ${1+"$@"}; shift
  49223. + ;;
  49224. + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  49225. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  49226. ;;
  49227. esac
  49228. -done
  49229. -if test -n "$prevopt"; then
  49230. - $echo "$modename: option \`$prevopt' requires an argument" 1>&2
  49231. - $echo "$help" 1>&2
  49232. - exit $EXIT_FAILURE
  49233. -fi
  49234. + # Parse non-mode specific arguments:
  49235. + while test "$#" -gt 0; do
  49236. + opt="$1"
  49237. + shift
  49238. -case $disable_libs in
  49239. -no)
  49240. - ;;
  49241. -shared)
  49242. - build_libtool_libs=no
  49243. - build_old_libs=yes
  49244. - ;;
  49245. -static)
  49246. - build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  49247. - ;;
  49248. -esac
  49249. + case $opt in
  49250. + --config) func_config ;;
  49251. -# If this variable is set in any of the actions, the command in it
  49252. -# will be execed at the end. This prevents here-documents from being
  49253. -# left over by shells.
  49254. -exec_cmd=
  49255. + --debug) preserve_args="$preserve_args $opt"
  49256. + func_echo "enabling shell trace mode"
  49257. + opt_debug='set -x'
  49258. + $opt_debug
  49259. + ;;
  49260. +
  49261. + -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  49262. + execute_dlfiles="$execute_dlfiles $1"
  49263. + shift
  49264. + ;;
  49265. -if test -z "$show_help"; then
  49266. + --dry-run | -n) opt_dry_run=: ;;
  49267. + --features) func_features ;;
  49268. + --finish) mode="finish" ;;
  49269. +
  49270. + --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  49271. + case $1 in
  49272. + # Valid mode arguments:
  49273. + clean) ;;
  49274. + compile) ;;
  49275. + execute) ;;
  49276. + finish) ;;
  49277. + install) ;;
  49278. + link) ;;
  49279. + relink) ;;
  49280. + uninstall) ;;
  49281. +
  49282. + # Catch anything else as an error
  49283. + *) func_error "invalid argument for $opt"
  49284. + exit_cmd=exit
  49285. + break
  49286. + ;;
  49287. + esac
  49288. - # Infer the operation mode.
  49289. - if test -z "$mode"; then
  49290. - $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
  49291. - $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
  49292. - case $nonopt in
  49293. - *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
  49294. - mode=link
  49295. - for arg
  49296. - do
  49297. - case $arg in
  49298. - -c)
  49299. - mode=compile
  49300. - break
  49301. - ;;
  49302. - esac
  49303. - done
  49304. - ;;
  49305. - *db | *dbx | *strace | *truss)
  49306. - mode=execute
  49307. - ;;
  49308. - *install*|cp|mv)
  49309. - mode=install
  49310. - ;;
  49311. - *rm)
  49312. - mode=uninstall
  49313. + mode="$1"
  49314. + shift
  49315. + ;;
  49316. +
  49317. + --preserve-dup-deps)
  49318. + opt_duplicate_deps=: ;;
  49319. +
  49320. + --quiet|--silent) preserve_args="$preserve_args $opt"
  49321. + opt_silent=:
  49322. + ;;
  49323. +
  49324. + --verbose| -v) preserve_args="$preserve_args $opt"
  49325. + opt_silent=false
  49326. + ;;
  49327. +
  49328. + --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  49329. + preserve_args="$preserve_args $opt $1"
  49330. + func_enable_tag "$1" # tagname is set here
  49331. + shift
  49332. + ;;
  49333. +
  49334. + # Separate optargs to long options:
  49335. + -dlopen=*|--mode=*|--tag=*)
  49336. + func_opt_split "$opt"
  49337. + set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  49338. + shift
  49339. + ;;
  49340. +
  49341. + -\?|-h) func_usage ;;
  49342. + --help) opt_help=: ;;
  49343. + --version) func_version ;;
  49344. +
  49345. + -*) func_fatal_help "unrecognized option \`$opt'" ;;
  49346. +
  49347. + *) nonopt="$opt"
  49348. + break
  49349. + ;;
  49350. + esac
  49351. + done
  49352. +
  49353. +
  49354. + case $host in
  49355. + *cygwin* | *mingw* | *pw32* | *cegcc*)
  49356. + # don't eliminate duplications in $postdeps and $predeps
  49357. + opt_duplicate_compiler_generated_deps=:
  49358. ;;
  49359. *)
  49360. - # If we have no mode, but dlfiles were specified, then do execute mode.
  49361. - test -n "$execute_dlfiles" && mode=execute
  49362. + opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  49363. + ;;
  49364. + esac
  49365. - # Just use the default operation mode.
  49366. - if test -z "$mode"; then
  49367. - if test -n "$nonopt"; then
  49368. - $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
  49369. - else
  49370. - $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
  49371. - fi
  49372. + # Having warned about all mis-specified options, bail out if
  49373. + # anything was wrong.
  49374. + $exit_cmd $EXIT_FAILURE
  49375. +}
  49376. +
  49377. +# func_check_version_match
  49378. +# Ensure that we are using m4 macros, and libtool script from the same
  49379. +# release of libtool.
  49380. +func_check_version_match ()
  49381. +{
  49382. + if test "$package_revision" != "$macro_revision"; then
  49383. + if test "$VERSION" != "$macro_version"; then
  49384. + if test -z "$macro_version"; then
  49385. + cat >&2 <<_LT_EOF
  49386. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  49387. +$progname: definition of this LT_INIT comes from an older release.
  49388. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  49389. +$progname: and run autoconf again.
  49390. +_LT_EOF
  49391. + else
  49392. + cat >&2 <<_LT_EOF
  49393. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  49394. +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  49395. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  49396. +$progname: and run autoconf again.
  49397. +_LT_EOF
  49398. fi
  49399. - ;;
  49400. - esac
  49401. + else
  49402. + cat >&2 <<_LT_EOF
  49403. +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  49404. +$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  49405. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  49406. +$progname: of $PACKAGE $VERSION and run autoconf again.
  49407. +_LT_EOF
  49408. + fi
  49409. +
  49410. + exit $EXIT_MISMATCH
  49411. + fi
  49412. +}
  49413. +
  49414. +
  49415. +## ----------- ##
  49416. +## Main. ##
  49417. +## ----------- ##
  49418. +
  49419. +$opt_help || {
  49420. + # Sanity checks first:
  49421. + func_check_version_match
  49422. +
  49423. + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  49424. + func_fatal_configuration "not configured to build any kind of library"
  49425. fi
  49426. + test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  49427. +
  49428. +
  49429. + # Darwin sucks
  49430. + eval std_shrext=\"$shrext_cmds\"
  49431. +
  49432. +
  49433. # Only execute mode is allowed to have -dlopen flags.
  49434. if test -n "$execute_dlfiles" && test "$mode" != execute; then
  49435. - $echo "$modename: unrecognized option \`-dlopen'" 1>&2
  49436. - $echo "$help" 1>&2
  49437. + func_error "unrecognized option \`-dlopen'"
  49438. + $ECHO "$help" 1>&2
  49439. exit $EXIT_FAILURE
  49440. fi
  49441. # Change the help message to a mode-specific one.
  49442. generic_help="$help"
  49443. - help="Try \`$modename --help --mode=$mode' for more information."
  49444. + help="Try \`$progname --help --mode=$mode' for more information."
  49445. +}
  49446. - # These modes are in order of execution frequency so that they run quickly.
  49447. - case $mode in
  49448. - # libtool compile mode
  49449. - compile)
  49450. - modename="$modename: compile"
  49451. - # Get the compilation command and the source file.
  49452. - base_compile=
  49453. - srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  49454. - suppress_opt=yes
  49455. - suppress_output=
  49456. - arg_mode=normal
  49457. - libobj=
  49458. - later=
  49459. - for arg
  49460. - do
  49461. - case $arg_mode in
  49462. - arg )
  49463. - # do not "continue". Instead, add this to base_compile
  49464. - lastarg="$arg"
  49465. - arg_mode=normal
  49466. - ;;
  49467. +# func_lalib_p file
  49468. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  49469. +# This function is only a basic sanity check; it will hardly flush out
  49470. +# determined imposters.
  49471. +func_lalib_p ()
  49472. +{
  49473. + test -f "$1" &&
  49474. + $SED -e 4q "$1" 2>/dev/null \
  49475. + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  49476. +}
  49477. - target )
  49478. - libobj="$arg"
  49479. - arg_mode=normal
  49480. - continue
  49481. - ;;
  49482. +# func_lalib_unsafe_p file
  49483. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  49484. +# This function implements the same check as func_lalib_p without
  49485. +# resorting to external programs. To this end, it redirects stdin and
  49486. +# closes it afterwards, without saving the original file descriptor.
  49487. +# As a safety measure, use it only where a negative result would be
  49488. +# fatal anyway. Works if `file' does not exist.
  49489. +func_lalib_unsafe_p ()
  49490. +{
  49491. + lalib_p=no
  49492. + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
  49493. + for lalib_p_l in 1 2 3 4
  49494. + do
  49495. + read lalib_p_line
  49496. + case "$lalib_p_line" in
  49497. + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
  49498. + esac
  49499. + done
  49500. + exec 0<&5 5<&-
  49501. + fi
  49502. + test "$lalib_p" = yes
  49503. +}
  49504. - normal )
  49505. - # Accept any command-line options.
  49506. - case $arg in
  49507. - -o)
  49508. - if test -n "$libobj" ; then
  49509. - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
  49510. - exit $EXIT_FAILURE
  49511. - fi
  49512. - arg_mode=target
  49513. - continue
  49514. - ;;
  49515. +# func_ltwrapper_script_p file
  49516. +# True iff FILE is a libtool wrapper script
  49517. +# This function is only a basic sanity check; it will hardly flush out
  49518. +# determined imposters.
  49519. +func_ltwrapper_script_p ()
  49520. +{
  49521. + func_lalib_p "$1"
  49522. +}
  49523. - -static | -prefer-pic | -prefer-non-pic)
  49524. - later="$later $arg"
  49525. - continue
  49526. - ;;
  49527. +# func_ltwrapper_executable_p file
  49528. +# True iff FILE is a libtool wrapper executable
  49529. +# This function is only a basic sanity check; it will hardly flush out
  49530. +# determined imposters.
  49531. +func_ltwrapper_executable_p ()
  49532. +{
  49533. + func_ltwrapper_exec_suffix=
  49534. + case $1 in
  49535. + *.exe) ;;
  49536. + *) func_ltwrapper_exec_suffix=.exe ;;
  49537. + esac
  49538. + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
  49539. +}
  49540. - -no-suppress)
  49541. - suppress_opt=no
  49542. - continue
  49543. - ;;
  49544. +# func_ltwrapper_scriptname file
  49545. +# Assumes file is an ltwrapper_executable
  49546. +# uses $file to determine the appropriate filename for a
  49547. +# temporary ltwrapper_script.
  49548. +func_ltwrapper_scriptname ()
  49549. +{
  49550. + func_ltwrapper_scriptname_result=""
  49551. + if func_ltwrapper_executable_p "$1"; then
  49552. + func_dirname_and_basename "$1" "" "."
  49553. + func_stripname '' '.exe' "$func_basename_result"
  49554. + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  49555. + fi
  49556. +}
  49557. - -Xcompiler)
  49558. - arg_mode=arg # the next one goes into the "base_compile" arg list
  49559. - continue # The current "srcfile" will either be retained or
  49560. - ;; # replaced later. I would guess that would be a bug.
  49561. +# func_ltwrapper_p file
  49562. +# True iff FILE is a libtool wrapper script or wrapper executable
  49563. +# This function is only a basic sanity check; it will hardly flush out
  49564. +# determined imposters.
  49565. +func_ltwrapper_p ()
  49566. +{
  49567. + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
  49568. +}
  49569. - -Wc,*)
  49570. - args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
  49571. - lastarg=
  49572. - save_ifs="$IFS"; IFS=','
  49573. - for arg in $args; do
  49574. - IFS="$save_ifs"
  49575. - # Double-quote args containing other shell metacharacters.
  49576. - # Many Bourne shells cannot handle close brackets correctly
  49577. - # in scan sets, so we specify it separately.
  49578. - case $arg in
  49579. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  49580. - arg="\"$arg\""
  49581. +# func_execute_cmds commands fail_cmd
  49582. +# Execute tilde-delimited COMMANDS.
  49583. +# If FAIL_CMD is given, eval that upon failure.
  49584. +# FAIL_CMD may read-access the current command in variable CMD!
  49585. +func_execute_cmds ()
  49586. +{
  49587. + $opt_debug
  49588. + save_ifs=$IFS; IFS='~'
  49589. + for cmd in $1; do
  49590. + IFS=$save_ifs
  49591. + eval cmd=\"$cmd\"
  49592. + func_show_eval "$cmd" "${2-:}"
  49593. + done
  49594. + IFS=$save_ifs
  49595. +}
  49596. +
  49597. +
  49598. +# func_source file
  49599. +# Source FILE, adding directory component if necessary.
  49600. +# Note that it is not necessary on cygwin/mingw to append a dot to
  49601. +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
  49602. +# behavior happens only for exec(3), not for open(2)! Also, sourcing
  49603. +# `FILE.' does not work on cygwin managed mounts.
  49604. +func_source ()
  49605. +{
  49606. + $opt_debug
  49607. + case $1 in
  49608. + */* | *\\*) . "$1" ;;
  49609. + *) . "./$1" ;;
  49610. + esac
  49611. +}
  49612. +
  49613. +
  49614. +# func_infer_tag arg
  49615. +# Infer tagged configuration to use if any are available and
  49616. +# if one wasn't chosen via the "--tag" command line option.
  49617. +# Only attempt this if the compiler in the base compile
  49618. +# command doesn't match the default compiler.
  49619. +# arg is usually of the form 'gcc ...'
  49620. +func_infer_tag ()
  49621. +{
  49622. + $opt_debug
  49623. + if test -n "$available_tags" && test -z "$tagname"; then
  49624. + CC_quoted=
  49625. + for arg in $CC; do
  49626. + func_quote_for_eval "$arg"
  49627. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  49628. + done
  49629. + case $@ in
  49630. + # Blanks in the command may have been stripped by the calling shell,
  49631. + # but not from the CC environment variable when configure was run.
  49632. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  49633. + # Blanks at the start of $base_compile will cause this to fail
  49634. + # if we don't check for them as well.
  49635. + *)
  49636. + for z in $available_tags; do
  49637. + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  49638. + # Evaluate the configuration.
  49639. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  49640. + CC_quoted=
  49641. + for arg in $CC; do
  49642. + # Double-quote args containing other shell metacharacters.
  49643. + func_quote_for_eval "$arg"
  49644. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  49645. + done
  49646. + case "$@ " in
  49647. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  49648. + # The compiler in the base compile command matches
  49649. + # the one in the tagged configuration.
  49650. + # Assume this is the tagged configuration we want.
  49651. + tagname=$z
  49652. + break
  49653. ;;
  49654. esac
  49655. - lastarg="$lastarg $arg"
  49656. + fi
  49657. + done
  49658. + # If $tagname still isn't set, then no tagged configuration
  49659. + # was found and let the user know that the "--tag" command
  49660. + # line option must be used.
  49661. + if test -z "$tagname"; then
  49662. + func_echo "unable to infer tagged configuration"
  49663. + func_fatal_error "specify a tag with \`--tag'"
  49664. +# else
  49665. +# func_verbose "using $tagname tagged configuration"
  49666. + fi
  49667. + ;;
  49668. + esac
  49669. + fi
  49670. +}
  49671. +
  49672. +
  49673. +
  49674. +# func_write_libtool_object output_name pic_name nonpic_name
  49675. +# Create a libtool object file (analogous to a ".la" file),
  49676. +# but don't create it if we're doing a dry run.
  49677. +func_write_libtool_object ()
  49678. +{
  49679. + write_libobj=${1}
  49680. + if test "$build_libtool_libs" = yes; then
  49681. + write_lobj=\'${2}\'
  49682. + else
  49683. + write_lobj=none
  49684. + fi
  49685. +
  49686. + if test "$build_old_libs" = yes; then
  49687. + write_oldobj=\'${3}\'
  49688. + else
  49689. + write_oldobj=none
  49690. + fi
  49691. +
  49692. + $opt_dry_run || {
  49693. + cat >${write_libobj}T <<EOF
  49694. +# $write_libobj - a libtool object file
  49695. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  49696. +#
  49697. +# Please DO NOT delete this file!
  49698. +# It is necessary for linking the library.
  49699. +
  49700. +# Name of the PIC object.
  49701. +pic_object=$write_lobj
  49702. +
  49703. +# Name of the non-PIC object
  49704. +non_pic_object=$write_oldobj
  49705. +
  49706. +EOF
  49707. + $MV "${write_libobj}T" "${write_libobj}"
  49708. + }
  49709. +}
  49710. +
  49711. +# func_mode_compile arg...
  49712. +func_mode_compile ()
  49713. +{
  49714. + $opt_debug
  49715. + # Get the compilation command and the source file.
  49716. + base_compile=
  49717. + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  49718. + suppress_opt=yes
  49719. + suppress_output=
  49720. + arg_mode=normal
  49721. + libobj=
  49722. + later=
  49723. + pie_flag=
  49724. +
  49725. + for arg
  49726. + do
  49727. + case $arg_mode in
  49728. + arg )
  49729. + # do not "continue". Instead, add this to base_compile
  49730. + lastarg="$arg"
  49731. + arg_mode=normal
  49732. + ;;
  49733. +
  49734. + target )
  49735. + libobj="$arg"
  49736. + arg_mode=normal
  49737. + continue
  49738. + ;;
  49739. +
  49740. + normal )
  49741. + # Accept any command-line options.
  49742. + case $arg in
  49743. + -o)
  49744. + test -n "$libobj" && \
  49745. + func_fatal_error "you cannot specify \`-o' more than once"
  49746. + arg_mode=target
  49747. + continue
  49748. + ;;
  49749. +
  49750. + -pie | -fpie | -fPIE)
  49751. + pie_flag="$pie_flag $arg"
  49752. + continue
  49753. + ;;
  49754. +
  49755. + -shared | -static | -prefer-pic | -prefer-non-pic)
  49756. + later="$later $arg"
  49757. + continue
  49758. + ;;
  49759. +
  49760. + -no-suppress)
  49761. + suppress_opt=no
  49762. + continue
  49763. + ;;
  49764. +
  49765. + -Xcompiler)
  49766. + arg_mode=arg # the next one goes into the "base_compile" arg list
  49767. + continue # The current "srcfile" will either be retained or
  49768. + ;; # replaced later. I would guess that would be a bug.
  49769. +
  49770. + -Wc,*)
  49771. + func_stripname '-Wc,' '' "$arg"
  49772. + args=$func_stripname_result
  49773. + lastarg=
  49774. + save_ifs="$IFS"; IFS=','
  49775. + for arg in $args; do
  49776. + IFS="$save_ifs"
  49777. + func_quote_for_eval "$arg"
  49778. + lastarg="$lastarg $func_quote_for_eval_result"
  49779. done
  49780. IFS="$save_ifs"
  49781. - lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
  49782. + func_stripname ' ' '' "$lastarg"
  49783. + lastarg=$func_stripname_result
  49784. # Add the arguments to base_compile.
  49785. base_compile="$base_compile $lastarg"
  49786. continue
  49787. ;;
  49788. - * )
  49789. + *)
  49790. # Accept the current argument as the source file.
  49791. # The previous "srcfile" becomes the current argument.
  49792. #
  49793. @@ -709,64 +1187,42 @@
  49794. esac # case $arg_mode
  49795. # Aesthetically quote the previous argument.
  49796. - lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
  49797. -
  49798. - case $lastarg in
  49799. - # Double-quote args containing other shell metacharacters.
  49800. - # Many Bourne shells cannot handle close brackets correctly
  49801. - # in scan sets, and some SunOS ksh mistreat backslash-escaping
  49802. - # in scan sets (worked around with variable expansion),
  49803. - # and furthermore cannot handle '|' '&' '(' ')' in scan sets
  49804. - # at all, so we specify them separately.
  49805. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  49806. - lastarg="\"$lastarg\""
  49807. - ;;
  49808. - esac
  49809. -
  49810. - base_compile="$base_compile $lastarg"
  49811. + func_quote_for_eval "$lastarg"
  49812. + base_compile="$base_compile $func_quote_for_eval_result"
  49813. done # for arg
  49814. case $arg_mode in
  49815. arg)
  49816. - $echo "$modename: you must specify an argument for -Xcompile"
  49817. - exit $EXIT_FAILURE
  49818. + func_fatal_error "you must specify an argument for -Xcompile"
  49819. ;;
  49820. target)
  49821. - $echo "$modename: you must specify a target with \`-o'" 1>&2
  49822. - exit $EXIT_FAILURE
  49823. + func_fatal_error "you must specify a target with \`-o'"
  49824. ;;
  49825. *)
  49826. # Get the name of the library object.
  49827. - [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
  49828. + test -z "$libobj" && {
  49829. + func_basename "$srcfile"
  49830. + libobj="$func_basename_result"
  49831. + }
  49832. ;;
  49833. esac
  49834. # Recognize several different file suffixes.
  49835. # If the user specifies -o file.o, it is replaced with file.lo
  49836. - xform='[cCFSifmso]'
  49837. case $libobj in
  49838. - *.ada) xform=ada ;;
  49839. - *.adb) xform=adb ;;
  49840. - *.ads) xform=ads ;;
  49841. - *.asm) xform=asm ;;
  49842. - *.c++) xform=c++ ;;
  49843. - *.cc) xform=cc ;;
  49844. - *.ii) xform=ii ;;
  49845. - *.class) xform=class ;;
  49846. - *.cpp) xform=cpp ;;
  49847. - *.cxx) xform=cxx ;;
  49848. - *.f90) xform=f90 ;;
  49849. - *.for) xform=for ;;
  49850. - *.java) xform=java ;;
  49851. + *.[cCFSifmso] | \
  49852. + *.ada | *.adb | *.ads | *.asm | \
  49853. + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  49854. + *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  49855. + func_xform "$libobj"
  49856. + libobj=$func_xform_result
  49857. + ;;
  49858. esac
  49859. - libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
  49860. -
  49861. case $libobj in
  49862. - *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
  49863. + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
  49864. *)
  49865. - $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
  49866. - exit $EXIT_FAILURE
  49867. + func_fatal_error "cannot determine name of library object from \`$libobj'"
  49868. ;;
  49869. esac
  49870. @@ -774,7 +1230,15 @@
  49871. for arg in $later; do
  49872. case $arg in
  49873. + -shared)
  49874. + test "$build_libtool_libs" != yes && \
  49875. + func_fatal_configuration "can not build a shared library"
  49876. + build_old_libs=no
  49877. + continue
  49878. + ;;
  49879. +
  49880. -static)
  49881. + build_libtool_libs=no
  49882. build_old_libs=yes
  49883. continue
  49884. ;;
  49885. @@ -791,28 +1255,17 @@
  49886. esac
  49887. done
  49888. - qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
  49889. - case $qlibobj in
  49890. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  49891. - qlibobj="\"$qlibobj\"" ;;
  49892. - esac
  49893. - test "X$libobj" != "X$qlibobj" \
  49894. - && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
  49895. - && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
  49896. - objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  49897. - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
  49898. - if test "X$xdir" = "X$obj"; then
  49899. - xdir=
  49900. - else
  49901. - xdir=$xdir/
  49902. - fi
  49903. + func_quote_for_eval "$libobj"
  49904. + test "X$libobj" != "X$func_quote_for_eval_result" \
  49905. + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
  49906. + && func_warning "libobj name \`$libobj' may not contain shell special characters."
  49907. + func_dirname_and_basename "$obj" "/" ""
  49908. + objname="$func_basename_result"
  49909. + xdir="$func_dirname_result"
  49910. lobj=${xdir}$objdir/$objname
  49911. - if test -z "$base_compile"; then
  49912. - $echo "$modename: you must specify a compilation command" 1>&2
  49913. - $echo "$help" 1>&2
  49914. - exit $EXIT_FAILURE
  49915. - fi
  49916. + test -z "$base_compile" && \
  49917. + func_fatal_help "you must specify a compilation command"
  49918. # Delete any leftover library objects.
  49919. if test "$build_old_libs" = yes; then
  49920. @@ -821,12 +1274,9 @@
  49921. removelist="$lobj $libobj ${libobj}T"
  49922. fi
  49923. - $run $rm $removelist
  49924. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  49925. -
  49926. # On Cygwin there's no "real" PIC flag so we must build both object types
  49927. case $host_os in
  49928. - cygwin* | mingw* | pw32* | os2*)
  49929. + cygwin* | mingw* | pw32* | os2* | cegcc*)
  49930. pic_mode=default
  49931. ;;
  49932. esac
  49933. @@ -838,10 +1288,8 @@
  49934. # Calculate the filename of the output object if compiler does
  49935. # not support -o with -c
  49936. if test "$compiler_c_o" = no; then
  49937. - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  49938. + output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  49939. lockfile="$output_obj.lock"
  49940. - removelist="$removelist $output_obj $lockfile"
  49941. - trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
  49942. else
  49943. output_obj=
  49944. need_locks=no
  49945. @@ -851,13 +1299,13 @@
  49946. # Lock this critical section if it is needed
  49947. # We use this script file to make the link, it avoids creating a new file
  49948. if test "$need_locks" = yes; then
  49949. - until $run ln "$progpath" "$lockfile" 2>/dev/null; do
  49950. - $show "Waiting for $lockfile to be removed"
  49951. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  49952. + func_echo "Waiting for $lockfile to be removed"
  49953. sleep 2
  49954. done
  49955. elif test "$need_locks" = warn; then
  49956. if test -f "$lockfile"; then
  49957. - $echo "\
  49958. + $ECHO "\
  49959. *** ERROR, $lockfile exists and contains:
  49960. `cat $lockfile 2>/dev/null`
  49961. @@ -868,34 +1316,22 @@
  49962. avoid parallel builds (make -j) in this platform, or get a better
  49963. compiler."
  49964. - $run $rm $removelist
  49965. + $opt_dry_run || $RM $removelist
  49966. exit $EXIT_FAILURE
  49967. fi
  49968. - $echo "$srcfile" > "$lockfile"
  49969. + removelist="$removelist $output_obj"
  49970. + $ECHO "$srcfile" > "$lockfile"
  49971. fi
  49972. + $opt_dry_run || $RM $removelist
  49973. + removelist="$removelist $lockfile"
  49974. + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  49975. +
  49976. if test -n "$fix_srcfile_path"; then
  49977. eval srcfile=\"$fix_srcfile_path\"
  49978. fi
  49979. - qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
  49980. - case $qsrcfile in
  49981. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  49982. - qsrcfile="\"$qsrcfile\"" ;;
  49983. - esac
  49984. -
  49985. - $run $rm "$libobj" "${libobj}T"
  49986. -
  49987. - # Create a libtool object file (analogous to a ".la" file),
  49988. - # but don't create it if we're doing a dry run.
  49989. - test -z "$run" && cat > ${libobj}T <<EOF
  49990. -# $libobj - a libtool object file
  49991. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  49992. -#
  49993. -# Please DO NOT delete this file!
  49994. -# It is necessary for linking the library.
  49995. -
  49996. -# Name of the PIC object.
  49997. -EOF
  49998. + func_quote_for_eval "$srcfile"
  49999. + qsrcfile=$func_quote_for_eval_result
  50000. # Only build a PIC object if we are building libtool libraries.
  50001. if test "$build_libtool_libs" = yes; then
  50002. @@ -909,32 +1345,19 @@
  50003. command="$base_compile $qsrcfile"
  50004. fi
  50005. - if test ! -d "${xdir}$objdir"; then
  50006. - $show "$mkdir ${xdir}$objdir"
  50007. - $run $mkdir ${xdir}$objdir
  50008. - exit_status=$?
  50009. - if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
  50010. - exit $exit_status
  50011. - fi
  50012. - fi
  50013. + func_mkdir_p "$xdir$objdir"
  50014. if test -z "$output_obj"; then
  50015. # Place PIC objects in $objdir
  50016. command="$command -o $lobj"
  50017. fi
  50018. - $run $rm "$lobj" "$output_obj"
  50019. -
  50020. - $show "$command"
  50021. - if $run eval "$command"; then :
  50022. - else
  50023. - test -n "$output_obj" && $run $rm $removelist
  50024. - exit $EXIT_FAILURE
  50025. - fi
  50026. + func_show_eval_locale "$command" \
  50027. + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
  50028. if test "$need_locks" = warn &&
  50029. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  50030. - $echo "\
  50031. + $ECHO "\
  50032. *** ERROR, $lockfile contains:
  50033. `cat $lockfile 2>/dev/null`
  50034. @@ -948,45 +1371,27 @@
  50035. avoid parallel builds (make -j) in this platform, or get a better
  50036. compiler."
  50037. - $run $rm $removelist
  50038. + $opt_dry_run || $RM $removelist
  50039. exit $EXIT_FAILURE
  50040. fi
  50041. # Just move the object if needed, then go on to compile the next one
  50042. if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
  50043. - $show "$mv $output_obj $lobj"
  50044. - if $run $mv $output_obj $lobj; then :
  50045. - else
  50046. - error=$?
  50047. - $run $rm $removelist
  50048. - exit $error
  50049. - fi
  50050. + func_show_eval '$MV "$output_obj" "$lobj"' \
  50051. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  50052. fi
  50053. - # Append the name of the PIC object to the libtool object file.
  50054. - test -z "$run" && cat >> ${libobj}T <<EOF
  50055. -pic_object='$objdir/$objname'
  50056. -
  50057. -EOF
  50058. -
  50059. # Allow error messages only from the first compilation.
  50060. if test "$suppress_opt" = yes; then
  50061. - suppress_output=' >/dev/null 2>&1'
  50062. + suppress_output=' >/dev/null 2>&1'
  50063. fi
  50064. - else
  50065. - # No PIC object so indicate it doesn't exist in the libtool
  50066. - # object file.
  50067. - test -z "$run" && cat >> ${libobj}T <<EOF
  50068. -pic_object=none
  50069. -
  50070. -EOF
  50071. fi
  50072. # Only build a position-dependent object if we build old libraries.
  50073. if test "$build_old_libs" = yes; then
  50074. if test "$pic_mode" != yes; then
  50075. # Don't build PIC code
  50076. - command="$base_compile $qsrcfile"
  50077. + command="$base_compile $qsrcfile$pie_flag"
  50078. else
  50079. command="$base_compile $qsrcfile $pic_flag"
  50080. fi
  50081. @@ -996,17 +1401,12 @@
  50082. # Suppress compiler output if we already did a PIC compilation.
  50083. command="$command$suppress_output"
  50084. - $run $rm "$obj" "$output_obj"
  50085. - $show "$command"
  50086. - if $run eval "$command"; then :
  50087. - else
  50088. - $run $rm $removelist
  50089. - exit $EXIT_FAILURE
  50090. - fi
  50091. + func_show_eval_locale "$command" \
  50092. + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  50093. if test "$need_locks" = warn &&
  50094. test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  50095. - $echo "\
  50096. + $ECHO "\
  50097. *** ERROR, $lockfile contains:
  50098. `cat $lockfile 2>/dev/null`
  50099. @@ -1020,5431 +1420,6784 @@
  50100. avoid parallel builds (make -j) in this platform, or get a better
  50101. compiler."
  50102. - $run $rm $removelist
  50103. + $opt_dry_run || $RM $removelist
  50104. exit $EXIT_FAILURE
  50105. fi
  50106. # Just move the object if needed
  50107. if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
  50108. - $show "$mv $output_obj $obj"
  50109. - if $run $mv $output_obj $obj; then :
  50110. - else
  50111. - error=$?
  50112. - $run $rm $removelist
  50113. - exit $error
  50114. - fi
  50115. + func_show_eval '$MV "$output_obj" "$obj"' \
  50116. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  50117. fi
  50118. -
  50119. - # Append the name of the non-PIC object the libtool object file.
  50120. - # Only append if the libtool object file exists.
  50121. - test -z "$run" && cat >> ${libobj}T <<EOF
  50122. -# Name of the non-PIC object.
  50123. -non_pic_object='$objname'
  50124. -
  50125. -EOF
  50126. - else
  50127. - # Append the name of the non-PIC object the libtool object file.
  50128. - # Only append if the libtool object file exists.
  50129. - test -z "$run" && cat >> ${libobj}T <<EOF
  50130. -# Name of the non-PIC object.
  50131. -non_pic_object=none
  50132. -
  50133. -EOF
  50134. fi
  50135. - $run $mv "${libobj}T" "${libobj}"
  50136. + $opt_dry_run || {
  50137. + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
  50138. - # Unlock the critical section if it was locked
  50139. - if test "$need_locks" != no; then
  50140. - $run $rm "$lockfile"
  50141. - fi
  50142. + # Unlock the critical section if it was locked
  50143. + if test "$need_locks" != no; then
  50144. + removelist=$lockfile
  50145. + $RM "$lockfile"
  50146. + fi
  50147. + }
  50148. exit $EXIT_SUCCESS
  50149. - ;;
  50150. -
  50151. - # libtool link mode
  50152. - link | relink)
  50153. - modename="$modename: link"
  50154. - case $host in
  50155. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  50156. - # It is impossible to link a dll without this setting, and
  50157. - # we shouldn't force the makefile maintainer to figure out
  50158. - # which system we are compiling for in order to pass an extra
  50159. - # flag for every libtool invocation.
  50160. - # allow_undefined=no
  50161. +}
  50162. - # FIXME: Unfortunately, there are problems with the above when trying
  50163. - # to make a dll which has undefined symbols, in which case not
  50164. - # even a static library is built. For now, we need to specify
  50165. - # -no-undefined on the libtool link line when we can be certain
  50166. - # that all symbols are satisfied, otherwise we get a static library.
  50167. - allow_undefined=yes
  50168. - ;;
  50169. - *)
  50170. - allow_undefined=yes
  50171. - ;;
  50172. - esac
  50173. - libtool_args="$nonopt"
  50174. - base_compile="$nonopt $@"
  50175. - compile_command="$nonopt"
  50176. - finalize_command="$nonopt"
  50177. +$opt_help || {
  50178. +test "$mode" = compile && func_mode_compile ${1+"$@"}
  50179. +}
  50180. - compile_rpath=
  50181. - finalize_rpath=
  50182. - compile_shlibpath=
  50183. - finalize_shlibpath=
  50184. - convenience=
  50185. - old_convenience=
  50186. - deplibs=
  50187. - old_deplibs=
  50188. - compiler_flags=
  50189. - linker_flags=
  50190. - dllsearchpath=
  50191. - lib_search_path=`pwd`
  50192. - inst_prefix_dir=
  50193. +func_mode_help ()
  50194. +{
  50195. + # We need to display help for each of the modes.
  50196. + case $mode in
  50197. + "")
  50198. + # Generic help is extracted from the usage comments
  50199. + # at the start of this file.
  50200. + func_help
  50201. + ;;
  50202. - avoid_version=no
  50203. - dlfiles=
  50204. - dlprefiles=
  50205. - dlself=no
  50206. - export_dynamic=no
  50207. - export_symbols=
  50208. - export_symbols_regex=
  50209. - generated=
  50210. - libobjs=
  50211. - ltlibs=
  50212. - module=no
  50213. - no_install=no
  50214. - objs=
  50215. - non_pic_objects=
  50216. - notinst_path= # paths that contain not-installed libtool libraries
  50217. - precious_files_regex=
  50218. - prefer_static_libs=no
  50219. - preload=no
  50220. - prev=
  50221. - prevarg=
  50222. - release=
  50223. - rpath=
  50224. - xrpath=
  50225. - perm_rpath=
  50226. - temp_rpath=
  50227. - thread_safe=no
  50228. - vinfo=
  50229. - vinfo_number=no
  50230. + clean)
  50231. + $ECHO \
  50232. +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  50233. - func_infer_tag $base_compile
  50234. +Remove files from the build directory.
  50235. - # We need to know -static, to get the right output filenames.
  50236. - for arg
  50237. - do
  50238. - case $arg in
  50239. - -all-static | -static)
  50240. - if test "X$arg" = "X-all-static"; then
  50241. - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  50242. - $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
  50243. - fi
  50244. - if test -n "$link_static_flag"; then
  50245. - dlopen_self=$dlopen_self_static
  50246. - fi
  50247. - prefer_static_libs=yes
  50248. - else
  50249. - if test -z "$pic_flag" && test -n "$link_static_flag"; then
  50250. - dlopen_self=$dlopen_self_static
  50251. - fi
  50252. - prefer_static_libs=built
  50253. - fi
  50254. - build_libtool_libs=no
  50255. - build_old_libs=yes
  50256. - break
  50257. - ;;
  50258. - esac
  50259. - done
  50260. +RM is the name of the program to use to delete files associated with each FILE
  50261. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  50262. +to RM.
  50263. - # See if our shared archives depend on static archives.
  50264. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  50265. +If FILE is a libtool library, object or program, all the files associated
  50266. +with it are deleted. Otherwise, only FILE itself is deleted using RM."
  50267. + ;;
  50268. - # Go through the arguments, transforming them on the way.
  50269. - while test "$#" -gt 0; do
  50270. - arg="$1"
  50271. - shift
  50272. - case $arg in
  50273. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  50274. - qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
  50275. - ;;
  50276. - *) qarg=$arg ;;
  50277. - esac
  50278. - libtool_args="$libtool_args $qarg"
  50279. + compile)
  50280. + $ECHO \
  50281. +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  50282. - # If the previous option needs an argument, assign it.
  50283. - if test -n "$prev"; then
  50284. - case $prev in
  50285. - output)
  50286. - compile_command="$compile_command @OUTPUT@"
  50287. - finalize_command="$finalize_command @OUTPUT@"
  50288. - ;;
  50289. - esac
  50290. +Compile a source file into a libtool library object.
  50291. - case $prev in
  50292. - dlfiles|dlprefiles)
  50293. - if test "$preload" = no; then
  50294. - # Add the symbol object into the linking commands.
  50295. - compile_command="$compile_command @SYMFILE@"
  50296. - finalize_command="$finalize_command @SYMFILE@"
  50297. - preload=yes
  50298. - fi
  50299. - case $arg in
  50300. - *.la | *.lo) ;; # We handle these cases below.
  50301. - force)
  50302. - if test "$dlself" = no; then
  50303. - dlself=needless
  50304. - export_dynamic=yes
  50305. - fi
  50306. - prev=
  50307. - continue
  50308. - ;;
  50309. - self)
  50310. - if test "$prev" = dlprefiles; then
  50311. - dlself=yes
  50312. - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  50313. - dlself=yes
  50314. - else
  50315. - dlself=needless
  50316. - export_dynamic=yes
  50317. - fi
  50318. - prev=
  50319. - continue
  50320. - ;;
  50321. - *)
  50322. - if test "$prev" = dlfiles; then
  50323. - dlfiles="$dlfiles $arg"
  50324. - else
  50325. - dlprefiles="$dlprefiles $arg"
  50326. - fi
  50327. - prev=
  50328. - continue
  50329. - ;;
  50330. - esac
  50331. - ;;
  50332. - expsyms)
  50333. - export_symbols="$arg"
  50334. - if test ! -f "$arg"; then
  50335. - $echo "$modename: symbol file \`$arg' does not exist"
  50336. - exit $EXIT_FAILURE
  50337. - fi
  50338. - prev=
  50339. - continue
  50340. - ;;
  50341. - expsyms_regex)
  50342. - export_symbols_regex="$arg"
  50343. - prev=
  50344. - continue
  50345. - ;;
  50346. - inst_prefix)
  50347. - inst_prefix_dir="$arg"
  50348. - prev=
  50349. - continue
  50350. - ;;
  50351. - precious_regex)
  50352. - precious_files_regex="$arg"
  50353. - prev=
  50354. - continue
  50355. - ;;
  50356. - release)
  50357. - release="-$arg"
  50358. - prev=
  50359. - continue
  50360. - ;;
  50361. - objectlist)
  50362. - if test -f "$arg"; then
  50363. - save_arg=$arg
  50364. - moreargs=
  50365. - for fil in `cat $save_arg`
  50366. - do
  50367. -# moreargs="$moreargs $fil"
  50368. - arg=$fil
  50369. - # A libtool-controlled object.
  50370. +This mode accepts the following additional options:
  50371. - # Check to see that this really is a libtool object.
  50372. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  50373. - pic_object=
  50374. - non_pic_object=
  50375. + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  50376. + -no-suppress do not suppress compiler output for multiple passes
  50377. + -prefer-pic try to building PIC objects only
  50378. + -prefer-non-pic try to building non-PIC objects only
  50379. + -shared do not build a \`.o' file suitable for static linking
  50380. + -static only build a \`.o' file suitable for static linking
  50381. - # Read the .lo file
  50382. - # If there is no directory component, then add one.
  50383. - case $arg in
  50384. - */* | *\\*) . $arg ;;
  50385. - *) . ./$arg ;;
  50386. - esac
  50387. +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  50388. +from the given SOURCEFILE.
  50389. - if test -z "$pic_object" || \
  50390. - test -z "$non_pic_object" ||
  50391. - test "$pic_object" = none && \
  50392. - test "$non_pic_object" = none; then
  50393. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  50394. - exit $EXIT_FAILURE
  50395. - fi
  50396. +The output file name is determined by removing the directory component from
  50397. +SOURCEFILE, then substituting the C source code suffix \`.c' with the
  50398. +library object suffix, \`.lo'."
  50399. + ;;
  50400. - # Extract subdirectory from the argument.
  50401. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  50402. - if test "X$xdir" = "X$arg"; then
  50403. - xdir=
  50404. - else
  50405. - xdir="$xdir/"
  50406. - fi
  50407. + execute)
  50408. + $ECHO \
  50409. +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
  50410. - if test "$pic_object" != none; then
  50411. - # Prepend the subdirectory the object is found in.
  50412. - pic_object="$xdir$pic_object"
  50413. +Automatically set library path, then run a program.
  50414. - if test "$prev" = dlfiles; then
  50415. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  50416. - dlfiles="$dlfiles $pic_object"
  50417. - prev=
  50418. - continue
  50419. - else
  50420. - # If libtool objects are unsupported, then we need to preload.
  50421. - prev=dlprefiles
  50422. - fi
  50423. - fi
  50424. +This mode accepts the following additional options:
  50425. - # CHECK ME: I think I busted this. -Ossama
  50426. - if test "$prev" = dlprefiles; then
  50427. - # Preload the old-style object.
  50428. - dlprefiles="$dlprefiles $pic_object"
  50429. - prev=
  50430. - fi
  50431. + -dlopen FILE add the directory containing FILE to the library path
  50432. - # A PIC object.
  50433. - libobjs="$libobjs $pic_object"
  50434. - arg="$pic_object"
  50435. - fi
  50436. +This mode sets the library path environment variable according to \`-dlopen'
  50437. +flags.
  50438. - # Non-PIC object.
  50439. - if test "$non_pic_object" != none; then
  50440. - # Prepend the subdirectory the object is found in.
  50441. - non_pic_object="$xdir$non_pic_object"
  50442. +If any of the ARGS are libtool executable wrappers, then they are translated
  50443. +into their corresponding uninstalled binary, and any of their required library
  50444. +directories are added to the library path.
  50445. - # A standard non-PIC object
  50446. - non_pic_objects="$non_pic_objects $non_pic_object"
  50447. - if test -z "$pic_object" || test "$pic_object" = none ; then
  50448. - arg="$non_pic_object"
  50449. - fi
  50450. - else
  50451. - # If the PIC object exists, use it instead.
  50452. - # $xdir was prepended to $pic_object above.
  50453. - non_pic_object="$pic_object"
  50454. - non_pic_objects="$non_pic_objects $non_pic_object"
  50455. - fi
  50456. - else
  50457. - # Only an error if not doing a dry-run.
  50458. - if test -z "$run"; then
  50459. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  50460. - exit $EXIT_FAILURE
  50461. - else
  50462. - # Dry-run case.
  50463. +Then, COMMAND is executed, with ARGS as arguments."
  50464. + ;;
  50465. - # Extract subdirectory from the argument.
  50466. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  50467. - if test "X$xdir" = "X$arg"; then
  50468. - xdir=
  50469. - else
  50470. - xdir="$xdir/"
  50471. - fi
  50472. + finish)
  50473. + $ECHO \
  50474. +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
  50475. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  50476. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  50477. - libobjs="$libobjs $pic_object"
  50478. - non_pic_objects="$non_pic_objects $non_pic_object"
  50479. - fi
  50480. - fi
  50481. - done
  50482. - else
  50483. - $echo "$modename: link input file \`$save_arg' does not exist"
  50484. - exit $EXIT_FAILURE
  50485. - fi
  50486. - arg=$save_arg
  50487. - prev=
  50488. - continue
  50489. - ;;
  50490. - rpath | xrpath)
  50491. - # We need an absolute path.
  50492. - case $arg in
  50493. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  50494. - *)
  50495. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  50496. - exit $EXIT_FAILURE
  50497. - ;;
  50498. - esac
  50499. - if test "$prev" = rpath; then
  50500. - case "$rpath " in
  50501. - *" $arg "*) ;;
  50502. - *) rpath="$rpath $arg" ;;
  50503. - esac
  50504. - else
  50505. - case "$xrpath " in
  50506. - *" $arg "*) ;;
  50507. - *) xrpath="$xrpath $arg" ;;
  50508. - esac
  50509. - fi
  50510. - prev=
  50511. - continue
  50512. - ;;
  50513. - xcompiler)
  50514. - compiler_flags="$compiler_flags $qarg"
  50515. - prev=
  50516. - compile_command="$compile_command $qarg"
  50517. - finalize_command="$finalize_command $qarg"
  50518. - continue
  50519. - ;;
  50520. - xlinker)
  50521. - linker_flags="$linker_flags $qarg"
  50522. - compiler_flags="$compiler_flags $wl$qarg"
  50523. - prev=
  50524. - compile_command="$compile_command $wl$qarg"
  50525. - finalize_command="$finalize_command $wl$qarg"
  50526. - continue
  50527. - ;;
  50528. - xcclinker)
  50529. - linker_flags="$linker_flags $qarg"
  50530. - compiler_flags="$compiler_flags $qarg"
  50531. - prev=
  50532. - compile_command="$compile_command $qarg"
  50533. - finalize_command="$finalize_command $qarg"
  50534. - continue
  50535. - ;;
  50536. - shrext)
  50537. - shrext_cmds="$arg"
  50538. - prev=
  50539. - continue
  50540. - ;;
  50541. - darwin_framework|darwin_framework_skip)
  50542. - test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
  50543. - compile_command="$compile_command $arg"
  50544. - finalize_command="$finalize_command $arg"
  50545. - prev=
  50546. - continue
  50547. - ;;
  50548. - *)
  50549. - eval "$prev=\"\$arg\""
  50550. - prev=
  50551. - continue
  50552. - ;;
  50553. - esac
  50554. - fi # test -n "$prev"
  50555. +Complete the installation of libtool libraries.
  50556. - prevarg="$arg"
  50557. +Each LIBDIR is a directory that contains libtool libraries.
  50558. - case $arg in
  50559. - -all-static)
  50560. - if test -n "$link_static_flag"; then
  50561. - compile_command="$compile_command $link_static_flag"
  50562. - finalize_command="$finalize_command $link_static_flag"
  50563. - fi
  50564. - continue
  50565. - ;;
  50566. +The commands that this mode executes may require superuser privileges. Use
  50567. +the \`--dry-run' option if you just want to see what would be executed."
  50568. + ;;
  50569. - -allow-undefined)
  50570. - # FIXME: remove this flag sometime in the future.
  50571. - $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
  50572. - continue
  50573. - ;;
  50574. + install)
  50575. + $ECHO \
  50576. +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
  50577. - -avoid-version)
  50578. - avoid_version=yes
  50579. - continue
  50580. - ;;
  50581. +Install executables or libraries.
  50582. - -dlopen)
  50583. - prev=dlfiles
  50584. - continue
  50585. - ;;
  50586. +INSTALL-COMMAND is the installation command. The first component should be
  50587. +either the \`install' or \`cp' program.
  50588. - -dlpreopen)
  50589. - prev=dlprefiles
  50590. - continue
  50591. - ;;
  50592. +The following components of INSTALL-COMMAND are treated specially:
  50593. - -export-dynamic)
  50594. - export_dynamic=yes
  50595. - continue
  50596. - ;;
  50597. + -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  50598. - -export-symbols | -export-symbols-regex)
  50599. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  50600. - $echo "$modename: more than one -exported-symbols argument is not allowed"
  50601. - exit $EXIT_FAILURE
  50602. - fi
  50603. - if test "X$arg" = "X-export-symbols"; then
  50604. - prev=expsyms
  50605. - else
  50606. - prev=expsyms_regex
  50607. - fi
  50608. - continue
  50609. - ;;
  50610. +The rest of the components are interpreted as arguments to that command (only
  50611. +BSD-compatible install options are recognized)."
  50612. + ;;
  50613. - -framework|-arch|-isysroot)
  50614. - case " $CC " in
  50615. - *" ${arg} ${1} "* | *" ${arg} ${1} "*)
  50616. - prev=darwin_framework_skip ;;
  50617. - *) compiler_flags="$compiler_flags $arg"
  50618. - prev=darwin_framework ;;
  50619. - esac
  50620. - compile_command="$compile_command $arg"
  50621. - finalize_command="$finalize_command $arg"
  50622. - continue
  50623. - ;;
  50624. + link)
  50625. + $ECHO \
  50626. +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
  50627. - -inst-prefix-dir)
  50628. - prev=inst_prefix
  50629. - continue
  50630. - ;;
  50631. +Link object files or libraries together to form another library, or to
  50632. +create an executable program.
  50633. - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  50634. - # so, if we see these flags be careful not to treat them like -L
  50635. - -L[A-Z][A-Z]*:*)
  50636. - case $with_gcc/$host in
  50637. - no/*-*-irix* | /*-*-irix*)
  50638. - compile_command="$compile_command $arg"
  50639. - finalize_command="$finalize_command $arg"
  50640. - ;;
  50641. - esac
  50642. - continue
  50643. - ;;
  50644. +LINK-COMMAND is a command using the C compiler that you would use to create
  50645. +a program from several object files.
  50646. - -L*)
  50647. - dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
  50648. - # We need an absolute path.
  50649. - case $dir in
  50650. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  50651. - *)
  50652. - absdir=`cd "$dir" && pwd`
  50653. - if test -z "$absdir"; then
  50654. - $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
  50655. - absdir="$dir"
  50656. - notinst_path="$notinst_path $dir"
  50657. - fi
  50658. - dir="$absdir"
  50659. - ;;
  50660. - esac
  50661. - case "$deplibs " in
  50662. - *" -L$dir "*) ;;
  50663. - *)
  50664. - deplibs="$deplibs -L$dir"
  50665. - lib_search_path="$lib_search_path $dir"
  50666. - ;;
  50667. - esac
  50668. - case $host in
  50669. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  50670. - testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  50671. - case :$dllsearchpath: in
  50672. - *":$dir:"*) ;;
  50673. - *) dllsearchpath="$dllsearchpath:$dir";;
  50674. - esac
  50675. - case :$dllsearchpath: in
  50676. - *":$testbindir:"*) ;;
  50677. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  50678. - esac
  50679. - ;;
  50680. - esac
  50681. - continue
  50682. - ;;
  50683. +The following components of LINK-COMMAND are treated specially:
  50684. - -l*)
  50685. - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  50686. - case $host in
  50687. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
  50688. - # These systems don't actually have a C or math library (as such)
  50689. - continue
  50690. - ;;
  50691. - *-*-os2*)
  50692. - # These systems don't actually have a C library (as such)
  50693. - test "X$arg" = "X-lc" && continue
  50694. - ;;
  50695. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  50696. - # Do not include libc due to us having libc/libc_r.
  50697. - test "X$arg" = "X-lc" && continue
  50698. - ;;
  50699. - *-*-rhapsody* | *-*-darwin1.[012])
  50700. - # Rhapsody C and math libraries are in the System framework
  50701. - deplibs="$deplibs -framework System"
  50702. - continue
  50703. - ;;
  50704. - *-*-sco3.2v5* | *-*-sco5v6*)
  50705. - # Causes problems with __ctype
  50706. - test "X$arg" = "X-lc" && continue
  50707. - ;;
  50708. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  50709. - # Compiler inserts libc in the correct place for threads to work
  50710. - test "X$arg" = "X-lc" && continue
  50711. - ;;
  50712. - esac
  50713. - elif test "X$arg" = "X-lc_r"; then
  50714. - case $host in
  50715. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  50716. - # Do not include libc_r directly, use -pthread flag.
  50717. - continue
  50718. - ;;
  50719. - esac
  50720. - fi
  50721. - deplibs="$deplibs $arg"
  50722. - continue
  50723. - ;;
  50724. + -all-static do not do any dynamic linking at all
  50725. + -avoid-version do not add a version suffix if possible
  50726. + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  50727. + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  50728. + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  50729. + -export-symbols SYMFILE
  50730. + try to export only the symbols listed in SYMFILE
  50731. + -export-symbols-regex REGEX
  50732. + try to export only the symbols matching REGEX
  50733. + -LLIBDIR search LIBDIR for required installed libraries
  50734. + -lNAME OUTPUT-FILE requires the installed library libNAME
  50735. + -module build a library that can dlopened
  50736. + -no-fast-install disable the fast-install mode
  50737. + -no-install link a not-installable executable
  50738. + -no-undefined declare that a library does not refer to external symbols
  50739. + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  50740. + -objectlist FILE Use a list of object files found in FILE to specify objects
  50741. + -precious-files-regex REGEX
  50742. + don't remove output files matching REGEX
  50743. + -release RELEASE specify package release information
  50744. + -rpath LIBDIR the created library will eventually be installed in LIBDIR
  50745. + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  50746. + -shared only do dynamic linking of libtool libraries
  50747. + -shrext SUFFIX override the standard shared library file extension
  50748. + -static do not do any dynamic linking of uninstalled libtool libraries
  50749. + -static-libtool-libs
  50750. + do not do any dynamic linking of libtool libraries
  50751. + -version-info CURRENT[:REVISION[:AGE]]
  50752. + specify library version info [each variable defaults to 0]
  50753. + -weak LIBNAME declare that the target provides the LIBNAME interface
  50754. - # Tru64 UNIX uses -model [arg] to determine the layout of C++
  50755. - # classes, name mangling, and exception handling.
  50756. - -model)
  50757. - compile_command="$compile_command $arg"
  50758. - compiler_flags="$compiler_flags $arg"
  50759. - finalize_command="$finalize_command $arg"
  50760. - prev=xcompiler
  50761. - continue
  50762. - ;;
  50763. +All other options (arguments beginning with \`-') are ignored.
  50764. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
  50765. - compiler_flags="$compiler_flags $arg"
  50766. - compile_command="$compile_command $arg"
  50767. - finalize_command="$finalize_command $arg"
  50768. - continue
  50769. - ;;
  50770. +Every other argument is treated as a filename. Files ending in \`.la' are
  50771. +treated as uninstalled libtool libraries, other files are standard or library
  50772. +object files.
  50773. - -module)
  50774. - module=yes
  50775. - continue
  50776. - ;;
  50777. +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  50778. +only library objects (\`.lo' files) may be specified, and \`-rpath' is
  50779. +required, except when creating a convenience library.
  50780. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  50781. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  50782. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  50783. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  50784. - # -q* pass through compiler args for the IBM compiler
  50785. - # -m* pass through architecture-specific compiler args for GCC
  50786. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  50787. - # compiler args for GCC
  50788. - # -pg pass through profiling flag for GCC
  50789. - # @file GCC response files
  50790. - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
  50791. - -t[45]*|-txscale*|@*)
  50792. +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  50793. +using \`ar' and \`ranlib', or on Windows using \`lib'.
  50794. - # Unknown arguments in both finalize_command and compile_command need
  50795. - # to be aesthetically quoted because they are evaled later.
  50796. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  50797. - case $arg in
  50798. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  50799. - arg="\"$arg\""
  50800. - ;;
  50801. - esac
  50802. - compile_command="$compile_command $arg"
  50803. - finalize_command="$finalize_command $arg"
  50804. - compiler_flags="$compiler_flags $arg"
  50805. - continue
  50806. +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  50807. +is created, otherwise an executable program is created."
  50808. ;;
  50809. - -shrext)
  50810. - prev=shrext
  50811. - continue
  50812. - ;;
  50813. + uninstall)
  50814. + $ECHO \
  50815. +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  50816. - -no-fast-install)
  50817. - fast_install=no
  50818. - continue
  50819. - ;;
  50820. +Remove libraries from an installation directory.
  50821. - -no-install)
  50822. - case $host in
  50823. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  50824. - # The PATH hackery in wrapper scripts is required on Windows
  50825. - # in order for the loader to find any dlls it needs.
  50826. - $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
  50827. - $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
  50828. - fast_install=no
  50829. - ;;
  50830. - *) no_install=yes ;;
  50831. - esac
  50832. - continue
  50833. - ;;
  50834. +RM is the name of the program to use to delete files associated with each FILE
  50835. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  50836. +to RM.
  50837. - -no-undefined)
  50838. - allow_undefined=no
  50839. - continue
  50840. - ;;
  50841. +If FILE is a libtool library, all the files associated with it are deleted.
  50842. +Otherwise, only FILE itself is deleted using RM."
  50843. + ;;
  50844. - -objectlist)
  50845. - prev=objectlist
  50846. - continue
  50847. - ;;
  50848. + *)
  50849. + func_fatal_help "invalid operation mode \`$mode'"
  50850. + ;;
  50851. + esac
  50852. - -o) prev=output ;;
  50853. + $ECHO
  50854. + $ECHO "Try \`$progname --help' for more information about other modes."
  50855. - -precious-files-regex)
  50856. - prev=precious_regex
  50857. - continue
  50858. - ;;
  50859. + exit $?
  50860. +}
  50861. - -release)
  50862. - prev=release
  50863. - continue
  50864. - ;;
  50865. + # Now that we've collected a possible --mode arg, show help if necessary
  50866. + $opt_help && func_mode_help
  50867. - -rpath)
  50868. - prev=rpath
  50869. - continue
  50870. - ;;
  50871. - -R)
  50872. - prev=xrpath
  50873. - continue
  50874. - ;;
  50875. +# func_mode_execute arg...
  50876. +func_mode_execute ()
  50877. +{
  50878. + $opt_debug
  50879. + # The first argument is the command name.
  50880. + cmd="$nonopt"
  50881. + test -z "$cmd" && \
  50882. + func_fatal_help "you must specify a COMMAND"
  50883. - -R*)
  50884. - dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
  50885. - # We need an absolute path.
  50886. - case $dir in
  50887. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  50888. - *)
  50889. - $echo "$modename: only absolute run-paths are allowed" 1>&2
  50890. - exit $EXIT_FAILURE
  50891. - ;;
  50892. - esac
  50893. - case "$xrpath " in
  50894. - *" $dir "*) ;;
  50895. - *) xrpath="$xrpath $dir" ;;
  50896. - esac
  50897. - continue
  50898. - ;;
  50899. -
  50900. - -static)
  50901. - # The effects of -static are defined in a previous loop.
  50902. - # We used to do the same as -all-static on platforms that
  50903. - # didn't have a PIC flag, but the assumption that the effects
  50904. - # would be equivalent was wrong. It would break on at least
  50905. - # Digital Unix and AIX.
  50906. - continue
  50907. - ;;
  50908. + # Handle -dlopen flags immediately.
  50909. + for file in $execute_dlfiles; do
  50910. + test -f "$file" \
  50911. + || func_fatal_help "\`$file' is not a file"
  50912. - -thread-safe)
  50913. - thread_safe=yes
  50914. - continue
  50915. - ;;
  50916. + dir=
  50917. + case $file in
  50918. + *.la)
  50919. + # Check to see that this really is a libtool archive.
  50920. + func_lalib_unsafe_p "$file" \
  50921. + || func_fatal_help "\`$lib' is not a valid libtool archive"
  50922. - -version-info)
  50923. - prev=vinfo
  50924. - continue
  50925. - ;;
  50926. - -version-number)
  50927. - prev=vinfo
  50928. - vinfo_number=yes
  50929. - continue
  50930. - ;;
  50931. + # Read the libtool library.
  50932. + dlname=
  50933. + library_names=
  50934. + func_source "$file"
  50935. - -Wc,*)
  50936. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
  50937. - arg=
  50938. - save_ifs="$IFS"; IFS=','
  50939. - for flag in $args; do
  50940. - IFS="$save_ifs"
  50941. - case $flag in
  50942. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  50943. - flag="\"$flag\""
  50944. - ;;
  50945. - esac
  50946. - arg="$arg $wl$flag"
  50947. - compiler_flags="$compiler_flags $flag"
  50948. - done
  50949. - IFS="$save_ifs"
  50950. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  50951. - ;;
  50952. + # Skip this library if it cannot be dlopened.
  50953. + if test -z "$dlname"; then
  50954. + # Warn if it was a shared library.
  50955. + test -n "$library_names" && \
  50956. + func_warning "\`$file' was not linked with \`-export-dynamic'"
  50957. + continue
  50958. + fi
  50959. - -Wl,*)
  50960. - args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
  50961. - arg=
  50962. - save_ifs="$IFS"; IFS=','
  50963. - for flag in $args; do
  50964. - IFS="$save_ifs"
  50965. - case $flag in
  50966. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  50967. - flag="\"$flag\""
  50968. - ;;
  50969. - esac
  50970. - arg="$arg $wl$flag"
  50971. - compiler_flags="$compiler_flags $wl$flag"
  50972. - linker_flags="$linker_flags $flag"
  50973. - done
  50974. - IFS="$save_ifs"
  50975. - arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
  50976. - ;;
  50977. + func_dirname "$file" "" "."
  50978. + dir="$func_dirname_result"
  50979. - -Xcompiler)
  50980. - prev=xcompiler
  50981. - continue
  50982. + if test -f "$dir/$objdir/$dlname"; then
  50983. + dir="$dir/$objdir"
  50984. + else
  50985. + if test ! -f "$dir/$dlname"; then
  50986. + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  50987. + fi
  50988. + fi
  50989. ;;
  50990. - -Xlinker)
  50991. - prev=xlinker
  50992. - continue
  50993. + *.lo)
  50994. + # Just add the directory containing the .lo file.
  50995. + func_dirname "$file" "" "."
  50996. + dir="$func_dirname_result"
  50997. ;;
  50998. - -XCClinker)
  50999. - prev=xcclinker
  51000. + *)
  51001. + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
  51002. continue
  51003. ;;
  51004. + esac
  51005. - # Some other compiler flag.
  51006. - -* | +*)
  51007. - # Unknown arguments in both finalize_command and compile_command need
  51008. - # to be aesthetically quoted because they are evaled later.
  51009. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  51010. - case $arg in
  51011. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  51012. - arg="\"$arg\""
  51013. - ;;
  51014. - esac
  51015. - ;;
  51016. + # Get the absolute pathname.
  51017. + absdir=`cd "$dir" && pwd`
  51018. + test -n "$absdir" && dir="$absdir"
  51019. - *.$objext)
  51020. - # A standard object.
  51021. - objs="$objs $arg"
  51022. - ;;
  51023. + # Now add the directory to shlibpath_var.
  51024. + if eval "test -z \"\$$shlibpath_var\""; then
  51025. + eval "$shlibpath_var=\"\$dir\""
  51026. + else
  51027. + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  51028. + fi
  51029. + done
  51030. - *.lo)
  51031. - # A libtool-controlled object.
  51032. + # This variable tells wrapper scripts just to set shlibpath_var
  51033. + # rather than running their programs.
  51034. + libtool_execute_magic="$magic"
  51035. - # Check to see that this really is a libtool object.
  51036. - if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  51037. - pic_object=
  51038. - non_pic_object=
  51039. + # Check if any of the arguments is a wrapper script.
  51040. + args=
  51041. + for file
  51042. + do
  51043. + case $file in
  51044. + -*) ;;
  51045. + *)
  51046. + # Do a test to see if this is really a libtool program.
  51047. + if func_ltwrapper_script_p "$file"; then
  51048. + func_source "$file"
  51049. + # Transform arg to wrapped name.
  51050. + file="$progdir/$program"
  51051. + elif func_ltwrapper_executable_p "$file"; then
  51052. + func_ltwrapper_scriptname "$file"
  51053. + func_source "$func_ltwrapper_scriptname_result"
  51054. + # Transform arg to wrapped name.
  51055. + file="$progdir/$program"
  51056. + fi
  51057. + ;;
  51058. + esac
  51059. + # Quote arguments (to preserve shell metacharacters).
  51060. + func_quote_for_eval "$file"
  51061. + args="$args $func_quote_for_eval_result"
  51062. + done
  51063. - # Read the .lo file
  51064. - # If there is no directory component, then add one.
  51065. - case $arg in
  51066. - */* | *\\*) . $arg ;;
  51067. - *) . ./$arg ;;
  51068. - esac
  51069. + if test "X$opt_dry_run" = Xfalse; then
  51070. + if test -n "$shlibpath_var"; then
  51071. + # Export the shlibpath_var.
  51072. + eval "export $shlibpath_var"
  51073. + fi
  51074. - if test -z "$pic_object" || \
  51075. - test -z "$non_pic_object" ||
  51076. - test "$pic_object" = none && \
  51077. - test "$non_pic_object" = none; then
  51078. - $echo "$modename: cannot find name of object for \`$arg'" 1>&2
  51079. - exit $EXIT_FAILURE
  51080. - fi
  51081. + # Restore saved environment variables
  51082. + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  51083. + do
  51084. + eval "if test \"\${save_$lt_var+set}\" = set; then
  51085. + $lt_var=\$save_$lt_var; export $lt_var
  51086. + else
  51087. + $lt_unset $lt_var
  51088. + fi"
  51089. + done
  51090. - # Extract subdirectory from the argument.
  51091. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  51092. - if test "X$xdir" = "X$arg"; then
  51093. - xdir=
  51094. - else
  51095. - xdir="$xdir/"
  51096. - fi
  51097. + # Now prepare to actually exec the command.
  51098. + exec_cmd="\$cmd$args"
  51099. + else
  51100. + # Display what would be done.
  51101. + if test -n "$shlibpath_var"; then
  51102. + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  51103. + $ECHO "export $shlibpath_var"
  51104. + fi
  51105. + $ECHO "$cmd$args"
  51106. + exit $EXIT_SUCCESS
  51107. + fi
  51108. +}
  51109. - if test "$pic_object" != none; then
  51110. - # Prepend the subdirectory the object is found in.
  51111. - pic_object="$xdir$pic_object"
  51112. +test "$mode" = execute && func_mode_execute ${1+"$@"}
  51113. - if test "$prev" = dlfiles; then
  51114. - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  51115. - dlfiles="$dlfiles $pic_object"
  51116. - prev=
  51117. - continue
  51118. - else
  51119. - # If libtool objects are unsupported, then we need to preload.
  51120. - prev=dlprefiles
  51121. - fi
  51122. - fi
  51123. - # CHECK ME: I think I busted this. -Ossama
  51124. - if test "$prev" = dlprefiles; then
  51125. - # Preload the old-style object.
  51126. - dlprefiles="$dlprefiles $pic_object"
  51127. - prev=
  51128. - fi
  51129. +# func_mode_finish arg...
  51130. +func_mode_finish ()
  51131. +{
  51132. + $opt_debug
  51133. + libdirs="$nonopt"
  51134. + admincmds=
  51135. - # A PIC object.
  51136. - libobjs="$libobjs $pic_object"
  51137. - arg="$pic_object"
  51138. - fi
  51139. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  51140. + for dir
  51141. + do
  51142. + libdirs="$libdirs $dir"
  51143. + done
  51144. - # Non-PIC object.
  51145. - if test "$non_pic_object" != none; then
  51146. - # Prepend the subdirectory the object is found in.
  51147. - non_pic_object="$xdir$non_pic_object"
  51148. + for libdir in $libdirs; do
  51149. + if test -n "$finish_cmds"; then
  51150. + # Do each command in the finish commands.
  51151. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
  51152. +'"$cmd"'"'
  51153. + fi
  51154. + if test -n "$finish_eval"; then
  51155. + # Do the single finish_eval.
  51156. + eval cmds=\"$finish_eval\"
  51157. + $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  51158. + $cmds"
  51159. + fi
  51160. + done
  51161. + fi
  51162. - # A standard non-PIC object
  51163. - non_pic_objects="$non_pic_objects $non_pic_object"
  51164. - if test -z "$pic_object" || test "$pic_object" = none ; then
  51165. - arg="$non_pic_object"
  51166. - fi
  51167. - else
  51168. - # If the PIC object exists, use it instead.
  51169. - # $xdir was prepended to $pic_object above.
  51170. - non_pic_object="$pic_object"
  51171. - non_pic_objects="$non_pic_objects $non_pic_object"
  51172. - fi
  51173. - else
  51174. - # Only an error if not doing a dry-run.
  51175. - if test -z "$run"; then
  51176. - $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
  51177. - exit $EXIT_FAILURE
  51178. - else
  51179. - # Dry-run case.
  51180. + # Exit here if they wanted silent mode.
  51181. + $opt_silent && exit $EXIT_SUCCESS
  51182. - # Extract subdirectory from the argument.
  51183. - xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
  51184. - if test "X$xdir" = "X$arg"; then
  51185. - xdir=
  51186. - else
  51187. - xdir="$xdir/"
  51188. - fi
  51189. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  51190. + $ECHO "Libraries have been installed in:"
  51191. + for libdir in $libdirs; do
  51192. + $ECHO " $libdir"
  51193. + done
  51194. + $ECHO
  51195. + $ECHO "If you ever happen to want to link against installed libraries"
  51196. + $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  51197. + $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  51198. + $ECHO "flag during linking and do at least one of the following:"
  51199. + if test -n "$shlibpath_var"; then
  51200. + $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  51201. + $ECHO " during execution"
  51202. + fi
  51203. + if test -n "$runpath_var"; then
  51204. + $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  51205. + $ECHO " during linking"
  51206. + fi
  51207. + if test -n "$hardcode_libdir_flag_spec"; then
  51208. + libdir=LIBDIR
  51209. + eval flag=\"$hardcode_libdir_flag_spec\"
  51210. - pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
  51211. - non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
  51212. - libobjs="$libobjs $pic_object"
  51213. - non_pic_objects="$non_pic_objects $non_pic_object"
  51214. - fi
  51215. - fi
  51216. - ;;
  51217. + $ECHO " - use the \`$flag' linker flag"
  51218. + fi
  51219. + if test -n "$admincmds"; then
  51220. + $ECHO " - have your system administrator run these commands:$admincmds"
  51221. + fi
  51222. + if test -f /etc/ld.so.conf; then
  51223. + $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  51224. + fi
  51225. + $ECHO
  51226. - *.$libext)
  51227. - # An archive.
  51228. - deplibs="$deplibs $arg"
  51229. - old_deplibs="$old_deplibs $arg"
  51230. - continue
  51231. + $ECHO "See any operating system documentation about shared libraries for"
  51232. + case $host in
  51233. + solaris2.[6789]|solaris2.1[0-9])
  51234. + $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  51235. + $ECHO "pages."
  51236. ;;
  51237. + *)
  51238. + $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  51239. + ;;
  51240. + esac
  51241. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  51242. + exit $EXIT_SUCCESS
  51243. +}
  51244. - *.la)
  51245. - # A libtool-controlled library.
  51246. +test "$mode" = finish && func_mode_finish ${1+"$@"}
  51247. - if test "$prev" = dlfiles; then
  51248. - # This library was specified with -dlopen.
  51249. - dlfiles="$dlfiles $arg"
  51250. - prev=
  51251. - elif test "$prev" = dlprefiles; then
  51252. - # The library was specified with -dlpreopen.
  51253. - dlprefiles="$dlprefiles $arg"
  51254. - prev=
  51255. - else
  51256. - deplibs="$deplibs $arg"
  51257. - fi
  51258. - continue
  51259. - ;;
  51260. - # Some other compiler argument.
  51261. - *)
  51262. - # Unknown arguments in both finalize_command and compile_command need
  51263. - # to be aesthetically quoted because they are evaled later.
  51264. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  51265. - case $arg in
  51266. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  51267. - arg="\"$arg\""
  51268. - ;;
  51269. - esac
  51270. - ;;
  51271. - esac # arg
  51272. +# func_mode_install arg...
  51273. +func_mode_install ()
  51274. +{
  51275. + $opt_debug
  51276. + # There may be an optional sh(1) argument at the beginning of
  51277. + # install_prog (especially on Windows NT).
  51278. + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  51279. + # Allow the use of GNU shtool's install command.
  51280. + $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  51281. + # Aesthetically quote it.
  51282. + func_quote_for_eval "$nonopt"
  51283. + install_prog="$func_quote_for_eval_result "
  51284. + arg=$1
  51285. + shift
  51286. + else
  51287. + install_prog=
  51288. + arg=$nonopt
  51289. + fi
  51290. - # Now actually substitute the argument into the commands.
  51291. - if test -n "$arg"; then
  51292. - compile_command="$compile_command $arg"
  51293. - finalize_command="$finalize_command $arg"
  51294. + # The real first argument should be the name of the installation program.
  51295. + # Aesthetically quote it.
  51296. + func_quote_for_eval "$arg"
  51297. + install_prog="$install_prog$func_quote_for_eval_result"
  51298. +
  51299. + # We need to accept at least all the BSD install flags.
  51300. + dest=
  51301. + files=
  51302. + opts=
  51303. + prev=
  51304. + install_type=
  51305. + isdir=no
  51306. + stripme=
  51307. + for arg
  51308. + do
  51309. + if test -n "$dest"; then
  51310. + files="$files $dest"
  51311. + dest=$arg
  51312. + continue
  51313. fi
  51314. - done # argument parsing loop
  51315. - if test -n "$prev"; then
  51316. - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
  51317. - $echo "$help" 1>&2
  51318. - exit $EXIT_FAILURE
  51319. - fi
  51320. + case $arg in
  51321. + -d) isdir=yes ;;
  51322. + -f)
  51323. + case " $install_prog " in
  51324. + *[\\\ /]cp\ *) ;;
  51325. + *) prev=$arg ;;
  51326. + esac
  51327. + ;;
  51328. + -g | -m | -o)
  51329. + prev=$arg
  51330. + ;;
  51331. + -s)
  51332. + stripme=" -s"
  51333. + continue
  51334. + ;;
  51335. + -*)
  51336. + ;;
  51337. + *)
  51338. + # If the previous option needed an argument, then skip it.
  51339. + if test -n "$prev"; then
  51340. + prev=
  51341. + else
  51342. + dest=$arg
  51343. + continue
  51344. + fi
  51345. + ;;
  51346. + esac
  51347. - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  51348. - eval arg=\"$export_dynamic_flag_spec\"
  51349. - compile_command="$compile_command $arg"
  51350. - finalize_command="$finalize_command $arg"
  51351. - fi
  51352. + # Aesthetically quote the argument.
  51353. + func_quote_for_eval "$arg"
  51354. + install_prog="$install_prog $func_quote_for_eval_result"
  51355. + done
  51356. - oldlibs=
  51357. - # calculate the name of the file, without its directory
  51358. - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
  51359. - libobjs_save="$libobjs"
  51360. + test -z "$install_prog" && \
  51361. + func_fatal_help "you must specify an install program"
  51362. - if test -n "$shlibpath_var"; then
  51363. - # get the directories listed in $shlibpath_var
  51364. - eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  51365. - else
  51366. - shlib_search_path=
  51367. - fi
  51368. - eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  51369. - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  51370. + test -n "$prev" && \
  51371. + func_fatal_help "the \`$prev' option requires an argument"
  51372. - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
  51373. - if test "X$output_objdir" = "X$output"; then
  51374. - output_objdir="$objdir"
  51375. - else
  51376. - output_objdir="$output_objdir/$objdir"
  51377. - fi
  51378. - # Create the object directory.
  51379. - if test ! -d "$output_objdir"; then
  51380. - $show "$mkdir $output_objdir"
  51381. - $run $mkdir $output_objdir
  51382. - exit_status=$?
  51383. - if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
  51384. - exit $exit_status
  51385. + if test -z "$files"; then
  51386. + if test -z "$dest"; then
  51387. + func_fatal_help "no file or destination specified"
  51388. + else
  51389. + func_fatal_help "you must specify a destination"
  51390. fi
  51391. fi
  51392. - # Determine the type of output
  51393. - case $output in
  51394. - "")
  51395. - $echo "$modename: you must specify an output file" 1>&2
  51396. - $echo "$help" 1>&2
  51397. - exit $EXIT_FAILURE
  51398. - ;;
  51399. - *.$libext) linkmode=oldlib ;;
  51400. - *.lo | *.$objext) linkmode=obj ;;
  51401. - *.la) linkmode=lib ;;
  51402. - *) linkmode=prog ;; # Anything else should be a program.
  51403. - esac
  51404. + # Strip any trailing slash from the destination.
  51405. + func_stripname '' '/' "$dest"
  51406. + dest=$func_stripname_result
  51407. - case $host in
  51408. - *cygwin* | *mingw* | *pw32*)
  51409. - # don't eliminate duplications in $postdeps and $predeps
  51410. - duplicate_compiler_generated_deps=yes
  51411. - ;;
  51412. + # Check to see that the destination is a directory.
  51413. + test -d "$dest" && isdir=yes
  51414. + if test "$isdir" = yes; then
  51415. + destdir="$dest"
  51416. + destname=
  51417. + else
  51418. + func_dirname_and_basename "$dest" "" "."
  51419. + destdir="$func_dirname_result"
  51420. + destname="$func_basename_result"
  51421. +
  51422. + # Not a directory, so check to see that there is only one file specified.
  51423. + set dummy $files; shift
  51424. + test "$#" -gt 1 && \
  51425. + func_fatal_help "\`$dest' is not a directory"
  51426. + fi
  51427. + case $destdir in
  51428. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  51429. *)
  51430. - duplicate_compiler_generated_deps=$duplicate_deps
  51431. + for file in $files; do
  51432. + case $file in
  51433. + *.lo) ;;
  51434. + *)
  51435. + func_fatal_help "\`$destdir' must be an absolute directory name"
  51436. + ;;
  51437. + esac
  51438. + done
  51439. ;;
  51440. esac
  51441. - specialdeplibs=
  51442. - libs=
  51443. - # Find all interdependent deplibs by searching for libraries
  51444. - # that are linked more than once (e.g. -la -lb -la)
  51445. - for deplib in $deplibs; do
  51446. - if test "X$duplicate_deps" = "Xyes" ; then
  51447. - case "$libs " in
  51448. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  51449. - esac
  51450. - fi
  51451. - libs="$libs $deplib"
  51452. - done
  51453. + # This variable tells wrapper scripts just to set variables rather
  51454. + # than running their programs.
  51455. + libtool_install_magic="$magic"
  51456. - if test "$linkmode" = lib; then
  51457. - libs="$predeps $libs $compiler_lib_search_path $postdeps"
  51458. + staticlibs=
  51459. + future_libdirs=
  51460. + current_libdirs=
  51461. + for file in $files; do
  51462. - # Compute libraries that are listed more than once in $predeps
  51463. - # $postdeps and mark them as special (i.e., whose duplicates are
  51464. - # not to be eliminated).
  51465. - pre_post_deps=
  51466. - if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
  51467. - for pre_post_dep in $predeps $postdeps; do
  51468. - case "$pre_post_deps " in
  51469. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  51470. + # Do each installation.
  51471. + case $file in
  51472. + *.$libext)
  51473. + # Do the static libraries later.
  51474. + staticlibs="$staticlibs $file"
  51475. + ;;
  51476. +
  51477. + *.la)
  51478. + # Check to see that this really is a libtool archive.
  51479. + func_lalib_unsafe_p "$file" \
  51480. + || func_fatal_help "\`$file' is not a valid libtool archive"
  51481. +
  51482. + library_names=
  51483. + old_library=
  51484. + relink_command=
  51485. + func_source "$file"
  51486. +
  51487. + # Add the libdir to current_libdirs if it is the destination.
  51488. + if test "X$destdir" = "X$libdir"; then
  51489. + case "$current_libdirs " in
  51490. + *" $libdir "*) ;;
  51491. + *) current_libdirs="$current_libdirs $libdir" ;;
  51492. esac
  51493. - pre_post_deps="$pre_post_deps $pre_post_dep"
  51494. - done
  51495. - fi
  51496. - pre_post_deps=
  51497. - fi
  51498. + else
  51499. + # Note the libdir as a future libdir.
  51500. + case "$future_libdirs " in
  51501. + *" $libdir "*) ;;
  51502. + *) future_libdirs="$future_libdirs $libdir" ;;
  51503. + esac
  51504. + fi
  51505. - deplibs=
  51506. - newdependency_libs=
  51507. - newlib_search_path=
  51508. - need_relink=no # whether we're linking any uninstalled libtool libraries
  51509. - notinst_deplibs= # not-installed libtool libraries
  51510. - case $linkmode in
  51511. - lib)
  51512. - passes="conv link"
  51513. - for file in $dlfiles $dlprefiles; do
  51514. - case $file in
  51515. - *.la) ;;
  51516. - *)
  51517. - $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
  51518. - exit $EXIT_FAILURE
  51519. + func_dirname "$file" "/" ""
  51520. + dir="$func_dirname_result"
  51521. + dir="$dir$objdir"
  51522. +
  51523. + if test -n "$relink_command"; then
  51524. + # Determine the prefix the user has applied to our future dir.
  51525. + inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  51526. +
  51527. + # Don't allow the user to place us outside of our expected
  51528. + # location b/c this prevents finding dependent libraries that
  51529. + # are installed to the same prefix.
  51530. + # At present, this check doesn't affect windows .dll's that
  51531. + # are installed into $libdir/../bin (currently, that works fine)
  51532. + # but it's something to keep an eye on.
  51533. + test "$inst_prefix_dir" = "$destdir" && \
  51534. + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
  51535. +
  51536. + if test -n "$inst_prefix_dir"; then
  51537. + # Stick the inst_prefix_dir data into the link command.
  51538. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  51539. + else
  51540. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  51541. + fi
  51542. +
  51543. + func_warning "relinking \`$file'"
  51544. + func_show_eval "$relink_command" \
  51545. + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  51546. + fi
  51547. +
  51548. + # See the names of the shared library.
  51549. + set dummy $library_names; shift
  51550. + if test -n "$1"; then
  51551. + realname="$1"
  51552. + shift
  51553. +
  51554. + srcname="$realname"
  51555. + test -n "$relink_command" && srcname="$realname"T
  51556. +
  51557. + # Install the shared library and build the symlinks.
  51558. + func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  51559. + 'exit $?'
  51560. + tstripme="$stripme"
  51561. + case $host_os in
  51562. + cygwin* | mingw* | pw32* | cegcc*)
  51563. + case $realname in
  51564. + *.dll.a)
  51565. + tstripme=""
  51566. + ;;
  51567. + esac
  51568. ;;
  51569. esac
  51570. - done
  51571. - ;;
  51572. - prog)
  51573. - compile_deplibs=
  51574. - finalize_deplibs=
  51575. - alldeplibs=no
  51576. - newdlfiles=
  51577. - newdlprefiles=
  51578. - passes="conv scan dlopen dlpreopen link"
  51579. - ;;
  51580. - *) passes="conv"
  51581. + if test -n "$tstripme" && test -n "$striplib"; then
  51582. + func_show_eval "$striplib $destdir/$realname" 'exit $?'
  51583. + fi
  51584. +
  51585. + if test "$#" -gt 0; then
  51586. + # Delete the old symlinks, and create new ones.
  51587. + # Try `ln -sf' first, because the `ln' binary might depend on
  51588. + # the symlink we replace! Solaris /bin/ln does not understand -f,
  51589. + # so we also need to try rm && ln -s.
  51590. + for linkname
  51591. + do
  51592. + test "$linkname" != "$realname" \
  51593. + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
  51594. + done
  51595. + fi
  51596. +
  51597. + # Do each command in the postinstall commands.
  51598. + lib="$destdir/$realname"
  51599. + func_execute_cmds "$postinstall_cmds" 'exit $?'
  51600. + fi
  51601. +
  51602. + # Install the pseudo-library for information purposes.
  51603. + func_basename "$file"
  51604. + name="$func_basename_result"
  51605. + instname="$dir/$name"i
  51606. + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  51607. +
  51608. + # Maybe install the static library, too.
  51609. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  51610. ;;
  51611. - esac
  51612. - for pass in $passes; do
  51613. - if test "$linkmode,$pass" = "lib,link" ||
  51614. - test "$linkmode,$pass" = "prog,scan"; then
  51615. - libs="$deplibs"
  51616. - deplibs=
  51617. - fi
  51618. - if test "$linkmode" = prog; then
  51619. - case $pass in
  51620. - dlopen) libs="$dlfiles" ;;
  51621. - dlpreopen) libs="$dlprefiles" ;;
  51622. - link)
  51623. - libs="$deplibs %DEPLIBS%"
  51624. - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  51625. +
  51626. + *.lo)
  51627. + # Install (i.e. copy) a libtool object.
  51628. +
  51629. + # Figure out destination file name, if it wasn't already specified.
  51630. + if test -n "$destname"; then
  51631. + destfile="$destdir/$destname"
  51632. + else
  51633. + func_basename "$file"
  51634. + destfile="$func_basename_result"
  51635. + destfile="$destdir/$destfile"
  51636. + fi
  51637. +
  51638. + # Deduce the name of the destination old-style object file.
  51639. + case $destfile in
  51640. + *.lo)
  51641. + func_lo2o "$destfile"
  51642. + staticdest=$func_lo2o_result
  51643. ;;
  51644. - esac
  51645. - fi
  51646. - if test "$pass" = dlopen; then
  51647. - # Collect dlpreopened libraries
  51648. - save_deplibs="$deplibs"
  51649. - deplibs=
  51650. - fi
  51651. - for deplib in $libs; do
  51652. - lib=
  51653. - found=no
  51654. - case $deplib in
  51655. - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
  51656. - if test "$linkmode,$pass" = "prog,link"; then
  51657. - compile_deplibs="$deplib $compile_deplibs"
  51658. - finalize_deplibs="$deplib $finalize_deplibs"
  51659. - else
  51660. - compiler_flags="$compiler_flags $deplib"
  51661. - fi
  51662. - continue
  51663. + *.$objext)
  51664. + staticdest="$destfile"
  51665. + destfile=
  51666. ;;
  51667. - -l*)
  51668. - if test "$linkmode" != lib && test "$linkmode" != prog; then
  51669. - $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
  51670. - continue
  51671. - fi
  51672. - name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
  51673. - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
  51674. - for search_ext in .la $std_shrext .so .a; do
  51675. - # Search the libtool library
  51676. - lib="$searchdir/lib${name}${search_ext}"
  51677. - if test -f "$lib"; then
  51678. - if test "$search_ext" = ".la"; then
  51679. - found=yes
  51680. - else
  51681. - found=no
  51682. - fi
  51683. - break 2
  51684. - fi
  51685. - done
  51686. - done
  51687. - if test "$found" != yes; then
  51688. - # deplib doesn't seem to be a libtool library
  51689. - if test "$linkmode,$pass" = "prog,link"; then
  51690. - compile_deplibs="$deplib $compile_deplibs"
  51691. - finalize_deplibs="$deplib $finalize_deplibs"
  51692. - else
  51693. - deplibs="$deplib $deplibs"
  51694. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  51695. - fi
  51696. - continue
  51697. - else # deplib is a libtool library
  51698. - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  51699. - # We need to do some special things here, and not later.
  51700. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  51701. - case " $predeps $postdeps " in
  51702. - *" $deplib "*)
  51703. - if (${SED} -e '2q' $lib |
  51704. - grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  51705. - library_names=
  51706. - old_library=
  51707. - case $lib in
  51708. - */* | *\\*) . $lib ;;
  51709. - *) . ./$lib ;;
  51710. - esac
  51711. - for l in $old_library $library_names; do
  51712. - ll="$l"
  51713. - done
  51714. - if test "X$ll" = "X$old_library" ; then # only static version available
  51715. - found=no
  51716. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  51717. - test "X$ladir" = "X$lib" && ladir="."
  51718. - lib=$ladir/$old_library
  51719. - if test "$linkmode,$pass" = "prog,link"; then
  51720. - compile_deplibs="$deplib $compile_deplibs"
  51721. - finalize_deplibs="$deplib $finalize_deplibs"
  51722. - else
  51723. - deplibs="$deplib $deplibs"
  51724. - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  51725. - fi
  51726. - continue
  51727. - fi
  51728. - fi
  51729. - ;;
  51730. - *) ;;
  51731. - esac
  51732. + *)
  51733. + func_fatal_help "cannot copy a libtool object to \`$destfile'"
  51734. + ;;
  51735. + esac
  51736. +
  51737. + # Install the libtool object if requested.
  51738. + test -n "$destfile" && \
  51739. + func_show_eval "$install_prog $file $destfile" 'exit $?'
  51740. +
  51741. + # Install the old object if enabled.
  51742. + if test "$build_old_libs" = yes; then
  51743. + # Deduce the name of the old-style object file.
  51744. + func_lo2o "$file"
  51745. + staticobj=$func_lo2o_result
  51746. + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
  51747. + fi
  51748. + exit $EXIT_SUCCESS
  51749. + ;;
  51750. +
  51751. + *)
  51752. + # Figure out destination file name, if it wasn't already specified.
  51753. + if test -n "$destname"; then
  51754. + destfile="$destdir/$destname"
  51755. + else
  51756. + func_basename "$file"
  51757. + destfile="$func_basename_result"
  51758. + destfile="$destdir/$destfile"
  51759. + fi
  51760. +
  51761. + # If the file is missing, and there is a .exe on the end, strip it
  51762. + # because it is most likely a libtool script we actually want to
  51763. + # install
  51764. + stripped_ext=""
  51765. + case $file in
  51766. + *.exe)
  51767. + if test ! -f "$file"; then
  51768. + func_stripname '' '.exe' "$file"
  51769. + file=$func_stripname_result
  51770. + stripped_ext=".exe"
  51771. fi
  51772. - fi
  51773. - ;; # -l
  51774. - -L*)
  51775. - case $linkmode in
  51776. - lib)
  51777. - deplibs="$deplib $deplibs"
  51778. - test "$pass" = conv && continue
  51779. - newdependency_libs="$deplib $newdependency_libs"
  51780. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  51781. ;;
  51782. - prog)
  51783. - if test "$pass" = conv; then
  51784. - deplibs="$deplib $deplibs"
  51785. - continue
  51786. - fi
  51787. - if test "$pass" = scan; then
  51788. - deplibs="$deplib $deplibs"
  51789. + esac
  51790. +
  51791. + # Do a test to see if this is really a libtool program.
  51792. + case $host in
  51793. + *cygwin* | *mingw*)
  51794. + if func_ltwrapper_executable_p "$file"; then
  51795. + func_ltwrapper_scriptname "$file"
  51796. + wrapper=$func_ltwrapper_scriptname_result
  51797. else
  51798. - compile_deplibs="$deplib $compile_deplibs"
  51799. - finalize_deplibs="$deplib $finalize_deplibs"
  51800. + func_stripname '' '.exe' "$file"
  51801. + wrapper=$func_stripname_result
  51802. fi
  51803. - newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
  51804. ;;
  51805. - *)
  51806. - $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
  51807. - ;;
  51808. - esac # linkmode
  51809. - continue
  51810. - ;; # -L
  51811. - -R*)
  51812. - if test "$pass" = link; then
  51813. - dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
  51814. - # Make sure the xrpath contains only unique directories.
  51815. - case "$xrpath " in
  51816. - *" $dir "*) ;;
  51817. - *) xrpath="$xrpath $dir" ;;
  51818. - esac
  51819. - fi
  51820. - deplibs="$deplib $deplibs"
  51821. - continue
  51822. - ;;
  51823. - *.la) lib="$deplib" ;;
  51824. - *.$libext)
  51825. - if test "$pass" = conv; then
  51826. - deplibs="$deplib $deplibs"
  51827. - continue
  51828. - fi
  51829. - case $linkmode in
  51830. - lib)
  51831. - valid_a_lib=no
  51832. - case $deplibs_check_method in
  51833. - match_pattern*)
  51834. - set dummy $deplibs_check_method
  51835. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  51836. - if eval $echo \"$deplib\" 2>/dev/null \
  51837. - | $SED 10q \
  51838. - | $EGREP "$match_pattern_regex" > /dev/null; then
  51839. - valid_a_lib=yes
  51840. - fi
  51841. - ;;
  51842. - pass_all)
  51843. - valid_a_lib=yes
  51844. - ;;
  51845. - esac
  51846. - if test "$valid_a_lib" != yes; then
  51847. - $echo
  51848. - $echo "*** Warning: Trying to link with static lib archive $deplib."
  51849. - $echo "*** I have the capability to make that library automatically link in when"
  51850. - $echo "*** you link to this library. But I can only do this if you have a"
  51851. - $echo "*** shared version of the library, which you do not appear to have"
  51852. - $echo "*** because the file extensions .$libext of this argument makes me believe"
  51853. - $echo "*** that it is just a static archive that I should not used here."
  51854. - else
  51855. - $echo
  51856. - $echo "*** Warning: Linking the shared library $output against the"
  51857. - $echo "*** static library $deplib is not portable!"
  51858. - deplibs="$deplib $deplibs"
  51859. - fi
  51860. - continue
  51861. + *)
  51862. + wrapper=$file
  51863. ;;
  51864. - prog)
  51865. - if test "$pass" != link; then
  51866. - deplibs="$deplib $deplibs"
  51867. - else
  51868. - compile_deplibs="$deplib $compile_deplibs"
  51869. - finalize_deplibs="$deplib $finalize_deplibs"
  51870. + esac
  51871. + if func_ltwrapper_script_p "$wrapper"; then
  51872. + notinst_deplibs=
  51873. + relink_command=
  51874. +
  51875. + func_source "$wrapper"
  51876. +
  51877. + # Check the variables that should have been set.
  51878. + test -z "$generated_by_libtool_version" && \
  51879. + func_fatal_error "invalid libtool wrapper script \`$wrapper'"
  51880. +
  51881. + finalize=yes
  51882. + for lib in $notinst_deplibs; do
  51883. + # Check to see that each library is installed.
  51884. + libdir=
  51885. + if test -f "$lib"; then
  51886. + func_source "$lib"
  51887. fi
  51888. - continue
  51889. - ;;
  51890. - esac # linkmode
  51891. - ;; # *.$libext
  51892. - *.lo | *.$objext)
  51893. - if test "$pass" = conv; then
  51894. - deplibs="$deplib $deplibs"
  51895. - elif test "$linkmode" = prog; then
  51896. - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  51897. - # If there is no dlopen support or we're linking statically,
  51898. - # we need to preload.
  51899. - newdlprefiles="$newdlprefiles $deplib"
  51900. - compile_deplibs="$deplib $compile_deplibs"
  51901. - finalize_deplibs="$deplib $finalize_deplibs"
  51902. - else
  51903. - newdlfiles="$newdlfiles $deplib"
  51904. + libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  51905. + if test -n "$libdir" && test ! -f "$libfile"; then
  51906. + func_warning "\`$lib' has not been installed in \`$libdir'"
  51907. + finalize=no
  51908. fi
  51909. + done
  51910. +
  51911. + relink_command=
  51912. + func_source "$wrapper"
  51913. +
  51914. + outputname=
  51915. + if test "$fast_install" = no && test -n "$relink_command"; then
  51916. + $opt_dry_run || {
  51917. + if test "$finalize" = yes; then
  51918. + tmpdir=`func_mktempdir`
  51919. + func_basename "$file$stripped_ext"
  51920. + file="$func_basename_result"
  51921. + outputname="$tmpdir/$file"
  51922. + # Replace the output file specification.
  51923. + relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  51924. +
  51925. + $opt_silent || {
  51926. + func_quote_for_expand "$relink_command"
  51927. + eval "func_echo $func_quote_for_expand_result"
  51928. + }
  51929. + if eval "$relink_command"; then :
  51930. + else
  51931. + func_error "error: relink \`$file' with the above command before installing it"
  51932. + $opt_dry_run || ${RM}r "$tmpdir"
  51933. + continue
  51934. + fi
  51935. + file="$outputname"
  51936. + else
  51937. + func_warning "cannot relink \`$file'"
  51938. + fi
  51939. + }
  51940. + else
  51941. + # Install the binary that we compiled earlier.
  51942. + file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  51943. fi
  51944. - continue
  51945. - ;;
  51946. - %DEPLIBS%)
  51947. - alldeplibs=yes
  51948. - continue
  51949. - ;;
  51950. - esac # case $deplib
  51951. - if test "$found" = yes || test -f "$lib"; then :
  51952. - else
  51953. - $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
  51954. - exit $EXIT_FAILURE
  51955. fi
  51956. - # Check to see that this really is a libtool archive.
  51957. - if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  51958. - else
  51959. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  51960. - exit $EXIT_FAILURE
  51961. + # remove .exe since cygwin /usr/bin/install will append another
  51962. + # one anyway
  51963. + case $install_prog,$host in
  51964. + */usr/bin/install*,*cygwin*)
  51965. + case $file:$destfile in
  51966. + *.exe:*.exe)
  51967. + # this is ok
  51968. + ;;
  51969. + *.exe:*)
  51970. + destfile=$destfile.exe
  51971. + ;;
  51972. + *:*.exe)
  51973. + func_stripname '' '.exe' "$destfile"
  51974. + destfile=$func_stripname_result
  51975. + ;;
  51976. + esac
  51977. + ;;
  51978. + esac
  51979. + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
  51980. + $opt_dry_run || if test -n "$outputname"; then
  51981. + ${RM}r "$tmpdir"
  51982. fi
  51983. + ;;
  51984. + esac
  51985. + done
  51986. - ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
  51987. - test "X$ladir" = "X$lib" && ladir="."
  51988. + for file in $staticlibs; do
  51989. + func_basename "$file"
  51990. + name="$func_basename_result"
  51991. - dlname=
  51992. - dlopen=
  51993. - dlpreopen=
  51994. - libdir=
  51995. - library_names=
  51996. - old_library=
  51997. - # If the library was installed with an old release of libtool,
  51998. - # it will not redefine variables installed, or shouldnotlink
  51999. - installed=yes
  52000. - shouldnotlink=no
  52001. - avoidtemprpath=
  52002. + # Set up the ranlib parameters.
  52003. + oldlib="$destdir/$name"
  52004. + func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
  52005. - # Read the .la file
  52006. - case $lib in
  52007. - */* | *\\*) . $lib ;;
  52008. - *) . ./$lib ;;
  52009. - esac
  52010. + if test -n "$stripme" && test -n "$old_striplib"; then
  52011. + func_show_eval "$old_striplib $oldlib" 'exit $?'
  52012. + fi
  52013. - if test "$linkmode,$pass" = "lib,link" ||
  52014. - test "$linkmode,$pass" = "prog,scan" ||
  52015. - { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  52016. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  52017. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  52018. - fi
  52019. + # Do each command in the postinstall commands.
  52020. + func_execute_cmds "$old_postinstall_cmds" 'exit $?'
  52021. + done
  52022. - if test "$pass" = conv; then
  52023. - # Only check for convenience libraries
  52024. - deplibs="$lib $deplibs"
  52025. - if test -z "$libdir"; then
  52026. - if test -z "$old_library"; then
  52027. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  52028. - exit $EXIT_FAILURE
  52029. - fi
  52030. - # It is a libtool convenience library, so add in its objects.
  52031. - convenience="$convenience $ladir/$objdir/$old_library"
  52032. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  52033. - tmp_libs=
  52034. - for deplib in $dependency_libs; do
  52035. - deplibs="$deplib $deplibs"
  52036. - if test "X$duplicate_deps" = "Xyes" ; then
  52037. - case "$tmp_libs " in
  52038. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  52039. - esac
  52040. - fi
  52041. - tmp_libs="$tmp_libs $deplib"
  52042. - done
  52043. - elif test "$linkmode" != prog && test "$linkmode" != lib; then
  52044. - $echo "$modename: \`$lib' is not a convenience library" 1>&2
  52045. - exit $EXIT_FAILURE
  52046. - fi
  52047. - continue
  52048. - fi # $pass = conv
  52049. + test -n "$future_libdirs" && \
  52050. + func_warning "remember to run \`$progname --finish$future_libdirs'"
  52051. + if test -n "$current_libdirs"; then
  52052. + # Maybe just do a dry run.
  52053. + $opt_dry_run && current_libdirs=" -n$current_libdirs"
  52054. + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  52055. + else
  52056. + exit $EXIT_SUCCESS
  52057. + fi
  52058. +}
  52059. - # Get the name of the library we link against.
  52060. - linklib=
  52061. - for l in $old_library $library_names; do
  52062. - linklib="$l"
  52063. - done
  52064. - if test -z "$linklib"; then
  52065. - $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
  52066. - exit $EXIT_FAILURE
  52067. - fi
  52068. +test "$mode" = install && func_mode_install ${1+"$@"}
  52069. - # This library was specified with -dlopen.
  52070. - if test "$pass" = dlopen; then
  52071. - if test -z "$libdir"; then
  52072. - $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
  52073. - exit $EXIT_FAILURE
  52074. - fi
  52075. - if test -z "$dlname" ||
  52076. - test "$dlopen_support" != yes ||
  52077. - test "$build_libtool_libs" = no; then
  52078. - # If there is no dlname, no dlopen support or we're linking
  52079. - # statically, we need to preload. We also need to preload any
  52080. - # dependent libraries so libltdl's deplib preloader doesn't
  52081. - # bomb out in the load deplibs phase.
  52082. - dlprefiles="$dlprefiles $lib $dependency_libs"
  52083. - else
  52084. - newdlfiles="$newdlfiles $lib"
  52085. - fi
  52086. - continue
  52087. - fi # $pass = dlopen
  52088. - # We need an absolute path.
  52089. - case $ladir in
  52090. - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  52091. - *)
  52092. - abs_ladir=`cd "$ladir" && pwd`
  52093. - if test -z "$abs_ladir"; then
  52094. - $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
  52095. - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
  52096. - abs_ladir="$ladir"
  52097. +# func_generate_dlsyms outputname originator pic_p
  52098. +# Extract symbols from dlprefiles and create ${outputname}S.o with
  52099. +# a dlpreopen symbol table.
  52100. +func_generate_dlsyms ()
  52101. +{
  52102. + $opt_debug
  52103. + my_outputname="$1"
  52104. + my_originator="$2"
  52105. + my_pic_p="${3-no}"
  52106. + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
  52107. + my_dlsyms=
  52108. +
  52109. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  52110. + if test -n "$NM" && test -n "$global_symbol_pipe"; then
  52111. + my_dlsyms="${my_outputname}S.c"
  52112. + else
  52113. + func_error "not configured to extract global symbols from dlpreopened files"
  52114. + fi
  52115. + fi
  52116. +
  52117. + if test -n "$my_dlsyms"; then
  52118. + case $my_dlsyms in
  52119. + "") ;;
  52120. + *.c)
  52121. + # Discover the nlist of each of the dlfiles.
  52122. + nlist="$output_objdir/${my_outputname}.nm"
  52123. +
  52124. + func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
  52125. +
  52126. + # Parse the name list into a source file.
  52127. + func_verbose "creating $output_objdir/$my_dlsyms"
  52128. +
  52129. + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
  52130. +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
  52131. +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
  52132. +
  52133. +#ifdef __cplusplus
  52134. +extern \"C\" {
  52135. +#endif
  52136. +
  52137. +/* External symbol declarations for the compiler. */\
  52138. +"
  52139. +
  52140. + if test "$dlself" = yes; then
  52141. + func_verbose "generating symbol list for \`$output'"
  52142. +
  52143. + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  52144. +
  52145. + # Add our own program objects to the symbol list.
  52146. + progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  52147. + for progfile in $progfiles; do
  52148. + func_verbose "extracting global C symbols from \`$progfile'"
  52149. + $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  52150. + done
  52151. +
  52152. + if test -n "$exclude_expsyms"; then
  52153. + $opt_dry_run || {
  52154. + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  52155. + eval '$MV "$nlist"T "$nlist"'
  52156. + }
  52157. fi
  52158. - ;;
  52159. - esac
  52160. - laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  52161. - # Find the relevant object directory and library name.
  52162. - if test "X$installed" = Xyes; then
  52163. - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  52164. - $echo "$modename: warning: library \`$lib' was moved." 1>&2
  52165. - dir="$ladir"
  52166. - absdir="$abs_ladir"
  52167. - libdir="$abs_ladir"
  52168. - else
  52169. - dir="$libdir"
  52170. - absdir="$libdir"
  52171. + if test -n "$export_symbols_regex"; then
  52172. + $opt_dry_run || {
  52173. + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  52174. + eval '$MV "$nlist"T "$nlist"'
  52175. + }
  52176. fi
  52177. - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  52178. - else
  52179. - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  52180. - dir="$ladir"
  52181. - absdir="$abs_ladir"
  52182. - # Remove this search path later
  52183. - notinst_path="$notinst_path $abs_ladir"
  52184. +
  52185. + # Prepare the list of exported symbols
  52186. + if test -z "$export_symbols"; then
  52187. + export_symbols="$output_objdir/$outputname.exp"
  52188. + $opt_dry_run || {
  52189. + $RM $export_symbols
  52190. + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  52191. + case $host in
  52192. + *cygwin* | *mingw* | *cegcc* )
  52193. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  52194. + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  52195. + ;;
  52196. + esac
  52197. + }
  52198. else
  52199. - dir="$ladir/$objdir"
  52200. - absdir="$abs_ladir/$objdir"
  52201. - # Remove this search path later
  52202. - notinst_path="$notinst_path $abs_ladir"
  52203. + $opt_dry_run || {
  52204. + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  52205. + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  52206. + eval '$MV "$nlist"T "$nlist"'
  52207. + case $host in
  52208. + *cygwin | *mingw* | *cegcc* )
  52209. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  52210. + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  52211. + ;;
  52212. + esac
  52213. + }
  52214. fi
  52215. - fi # $installed = yes
  52216. - name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  52217. + fi
  52218. - # This library was specified with -dlpreopen.
  52219. - if test "$pass" = dlpreopen; then
  52220. - if test -z "$libdir"; then
  52221. - $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
  52222. - exit $EXIT_FAILURE
  52223. + for dlprefile in $dlprefiles; do
  52224. + func_verbose "extracting global C symbols from \`$dlprefile'"
  52225. + func_basename "$dlprefile"
  52226. + name="$func_basename_result"
  52227. + $opt_dry_run || {
  52228. + eval '$ECHO ": $name " >> "$nlist"'
  52229. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  52230. + }
  52231. + done
  52232. +
  52233. + $opt_dry_run || {
  52234. + # Make sure we have at least an empty file.
  52235. + test -f "$nlist" || : > "$nlist"
  52236. +
  52237. + if test -n "$exclude_expsyms"; then
  52238. + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  52239. + $MV "$nlist"T "$nlist"
  52240. fi
  52241. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  52242. - # are required to link).
  52243. - if test -n "$old_library"; then
  52244. - newdlprefiles="$newdlprefiles $dir/$old_library"
  52245. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  52246. - elif test -n "$dlname"; then
  52247. - newdlprefiles="$newdlprefiles $dir/$dlname"
  52248. +
  52249. + # Try sorting and uniquifying the output.
  52250. + if $GREP -v "^: " < "$nlist" |
  52251. + if sort -k 3 </dev/null >/dev/null 2>&1; then
  52252. + sort -k 3
  52253. + else
  52254. + sort +2
  52255. + fi |
  52256. + uniq > "$nlist"S; then
  52257. + :
  52258. else
  52259. - newdlprefiles="$newdlprefiles $dir/$linklib"
  52260. + $GREP -v "^: " < "$nlist" > "$nlist"S
  52261. fi
  52262. - fi # $pass = dlpreopen
  52263. - if test -z "$libdir"; then
  52264. - # Link the convenience library
  52265. - if test "$linkmode" = lib; then
  52266. - deplibs="$dir/$old_library $deplibs"
  52267. - elif test "$linkmode,$pass" = "prog,link"; then
  52268. - compile_deplibs="$dir/$old_library $compile_deplibs"
  52269. - finalize_deplibs="$dir/$old_library $finalize_deplibs"
  52270. + if test -f "$nlist"S; then
  52271. + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  52272. else
  52273. - deplibs="$lib $deplibs" # used for prog,scan pass
  52274. + $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  52275. fi
  52276. - continue
  52277. - fi
  52278. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  52279. - if test "$linkmode" = prog && test "$pass" != link; then
  52280. - newlib_search_path="$newlib_search_path $ladir"
  52281. - deplibs="$lib $deplibs"
  52282. -
  52283. - linkalldeplibs=no
  52284. - if test "$link_all_deplibs" != no || test -z "$library_names" ||
  52285. - test "$build_libtool_libs" = no; then
  52286. - linkalldeplibs=yes
  52287. - fi
  52288. +/* The mapping between symbol names and symbols. */
  52289. +typedef struct {
  52290. + const char *name;
  52291. + void *address;
  52292. +} lt_dlsymlist;
  52293. +"
  52294. + case $host in
  52295. + *cygwin* | *mingw* | *cegcc* )
  52296. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  52297. +/* DATA imports from DLLs on WIN32 con't be const, because
  52298. + runtime relocations are performed -- see ld's documentation
  52299. + on pseudo-relocs. */"
  52300. + lt_dlsym_const= ;;
  52301. + *osf5*)
  52302. + echo >> "$output_objdir/$my_dlsyms" "\
  52303. +/* This system does not cope well with relocations in const data */"
  52304. + lt_dlsym_const= ;;
  52305. + *)
  52306. + lt_dlsym_const=const ;;
  52307. + esac
  52308. - tmp_libs=
  52309. - for deplib in $dependency_libs; do
  52310. - case $deplib in
  52311. - -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
  52312. - esac
  52313. - # Need to link against all dependency_libs?
  52314. - if test "$linkalldeplibs" = yes; then
  52315. - deplibs="$deplib $deplibs"
  52316. - else
  52317. - # Need to hardcode shared library paths
  52318. - # or/and link against static libraries
  52319. - newdependency_libs="$deplib $newdependency_libs"
  52320. - fi
  52321. - if test "X$duplicate_deps" = "Xyes" ; then
  52322. - case "$tmp_libs " in
  52323. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  52324. - esac
  52325. - fi
  52326. - tmp_libs="$tmp_libs $deplib"
  52327. - done # for deplib
  52328. - continue
  52329. - fi # $linkmode = prog...
  52330. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  52331. +extern $lt_dlsym_const lt_dlsymlist
  52332. +lt_${my_prefix}_LTX_preloaded_symbols[];
  52333. +$lt_dlsym_const lt_dlsymlist
  52334. +lt_${my_prefix}_LTX_preloaded_symbols[] =
  52335. +{\
  52336. + { \"$my_originator\", (void *) 0 },"
  52337. - if test "$linkmode,$pass" = "prog,link"; then
  52338. - if test -n "$library_names" &&
  52339. - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
  52340. - # We need to hardcode the library path
  52341. - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  52342. - # Make sure the rpath contains only unique directories.
  52343. - case "$temp_rpath " in
  52344. - *" $dir "*) ;;
  52345. - *" $absdir "*) ;;
  52346. - *) temp_rpath="$temp_rpath $absdir" ;;
  52347. - esac
  52348. - fi
  52349. + case $need_lib_prefix in
  52350. + no)
  52351. + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
  52352. + ;;
  52353. + *)
  52354. + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  52355. + ;;
  52356. + esac
  52357. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  52358. + {0, (void *) 0}
  52359. +};
  52360. - # Hardcode the library path.
  52361. - # Skip directories that are in the system default run-time
  52362. - # search path.
  52363. - case " $sys_lib_dlsearch_path " in
  52364. - *" $absdir "*) ;;
  52365. - *)
  52366. - case "$compile_rpath " in
  52367. - *" $absdir "*) ;;
  52368. - *) compile_rpath="$compile_rpath $absdir"
  52369. - esac
  52370. - ;;
  52371. - esac
  52372. - case " $sys_lib_dlsearch_path " in
  52373. - *" $libdir "*) ;;
  52374. - *)
  52375. - case "$finalize_rpath " in
  52376. - *" $libdir "*) ;;
  52377. - *) finalize_rpath="$finalize_rpath $libdir"
  52378. - esac
  52379. - ;;
  52380. - esac
  52381. - fi # $linkmode,$pass = prog,link...
  52382. +/* This works around a problem in FreeBSD linker */
  52383. +#ifdef FREEBSD_WORKAROUND
  52384. +static const void *lt_preloaded_setup() {
  52385. + return lt_${my_prefix}_LTX_preloaded_symbols;
  52386. +}
  52387. +#endif
  52388. - if test "$alldeplibs" = yes &&
  52389. - { test "$deplibs_check_method" = pass_all ||
  52390. - { test "$build_libtool_libs" = yes &&
  52391. - test -n "$library_names"; }; }; then
  52392. - # We only need to search for static libraries
  52393. - continue
  52394. - fi
  52395. - fi
  52396. +#ifdef __cplusplus
  52397. +}
  52398. +#endif\
  52399. +"
  52400. + } # !$opt_dry_run
  52401. - link_static=no # Whether the deplib will be linked statically
  52402. - use_static_libs=$prefer_static_libs
  52403. - if test "$use_static_libs" = built && test "$installed" = yes ; then
  52404. - use_static_libs=no
  52405. - fi
  52406. - if test -n "$library_names" &&
  52407. - { test "$use_static_libs" = no || test -z "$old_library"; }; then
  52408. - if test "$installed" = no; then
  52409. - notinst_deplibs="$notinst_deplibs $lib"
  52410. - need_relink=yes
  52411. - fi
  52412. - # This is a shared library
  52413. -
  52414. - # Warn about portability, can't link against -module's on
  52415. - # some systems (darwin)
  52416. - if test "$shouldnotlink" = yes && test "$pass" = link ; then
  52417. - $echo
  52418. - if test "$linkmode" = prog; then
  52419. - $echo "*** Warning: Linking the executable $output against the loadable module"
  52420. - else
  52421. - $echo "*** Warning: Linking the shared library $output against the loadable module"
  52422. + pic_flag_for_symtable=
  52423. + case "$compile_command " in
  52424. + *" -static "*) ;;
  52425. + *)
  52426. + case $host in
  52427. + # compiling the symbol table file with pic_flag works around
  52428. + # a FreeBSD bug that causes programs to crash when -lm is
  52429. + # linked before any other PIC object. But we must not use
  52430. + # pic_flag when linking with -static. The problem exists in
  52431. + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  52432. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  52433. + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
  52434. + *-*-hpux*)
  52435. + pic_flag_for_symtable=" $pic_flag" ;;
  52436. + *)
  52437. + if test "X$my_pic_p" != Xno; then
  52438. + pic_flag_for_symtable=" $pic_flag"
  52439. fi
  52440. - $echo "*** $linklib is not portable!"
  52441. - fi
  52442. - if test "$linkmode" = lib &&
  52443. - test "$hardcode_into_libs" = yes; then
  52444. - # Hardcode the library path.
  52445. - # Skip directories that are in the system default run-time
  52446. - # search path.
  52447. - case " $sys_lib_dlsearch_path " in
  52448. - *" $absdir "*) ;;
  52449. - *)
  52450. - case "$compile_rpath " in
  52451. - *" $absdir "*) ;;
  52452. - *) compile_rpath="$compile_rpath $absdir"
  52453. - esac
  52454. - ;;
  52455. - esac
  52456. - case " $sys_lib_dlsearch_path " in
  52457. - *" $libdir "*) ;;
  52458. - *)
  52459. - case "$finalize_rpath " in
  52460. - *" $libdir "*) ;;
  52461. - *) finalize_rpath="$finalize_rpath $libdir"
  52462. - esac
  52463. - ;;
  52464. - esac
  52465. - fi
  52466. + ;;
  52467. + esac
  52468. + ;;
  52469. + esac
  52470. + symtab_cflags=
  52471. + for arg in $LTCFLAGS; do
  52472. + case $arg in
  52473. + -pie | -fpie | -fPIE) ;;
  52474. + *) symtab_cflags="$symtab_cflags $arg" ;;
  52475. + esac
  52476. + done
  52477. - if test -n "$old_archive_from_expsyms_cmds"; then
  52478. - # figure out the soname
  52479. - set dummy $library_names
  52480. - realname="$2"
  52481. - shift; shift
  52482. - libname=`eval \\$echo \"$libname_spec\"`
  52483. - # use dlname if we got it. it's perfectly good, no?
  52484. - if test -n "$dlname"; then
  52485. - soname="$dlname"
  52486. - elif test -n "$soname_spec"; then
  52487. - # bleh windows
  52488. - case $host in
  52489. - *cygwin* | mingw*)
  52490. - major=`expr $current - $age`
  52491. - versuffix="-$major"
  52492. - ;;
  52493. - esac
  52494. - eval soname=\"$soname_spec\"
  52495. - else
  52496. - soname="$realname"
  52497. - fi
  52498. + # Now compile the dynamic symbol file.
  52499. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
  52500. - # Make a new name for the extract_expsyms_cmds to use
  52501. - soroot="$soname"
  52502. - soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
  52503. - newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
  52504. + # Clean up the generated files.
  52505. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
  52506. - # If the library has no export list, then create one now
  52507. - if test -f "$output_objdir/$soname-def"; then :
  52508. - else
  52509. - $show "extracting exported symbol list from \`$soname'"
  52510. - save_ifs="$IFS"; IFS='~'
  52511. - cmds=$extract_expsyms_cmds
  52512. - for cmd in $cmds; do
  52513. - IFS="$save_ifs"
  52514. - eval cmd=\"$cmd\"
  52515. - $show "$cmd"
  52516. - $run eval "$cmd" || exit $?
  52517. - done
  52518. - IFS="$save_ifs"
  52519. - fi
  52520. + # Transform the symbol file into the correct name.
  52521. + symfileobj="$output_objdir/${my_outputname}S.$objext"
  52522. + case $host in
  52523. + *cygwin* | *mingw* | *cegcc* )
  52524. + if test -f "$output_objdir/$my_outputname.def"; then
  52525. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  52526. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  52527. + else
  52528. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52529. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52530. + fi
  52531. + ;;
  52532. + *)
  52533. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52534. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52535. + ;;
  52536. + esac
  52537. + ;;
  52538. + *)
  52539. + func_fatal_error "unknown suffix for \`$my_dlsyms'"
  52540. + ;;
  52541. + esac
  52542. + else
  52543. + # We keep going just in case the user didn't refer to
  52544. + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  52545. + # really was required.
  52546. +
  52547. + # Nullify the symbol file.
  52548. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  52549. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  52550. + fi
  52551. +}
  52552. - # Create $newlib
  52553. - if test -f "$output_objdir/$newlib"; then :; else
  52554. - $show "generating import library for \`$soname'"
  52555. - save_ifs="$IFS"; IFS='~'
  52556. - cmds=$old_archive_from_expsyms_cmds
  52557. - for cmd in $cmds; do
  52558. - IFS="$save_ifs"
  52559. - eval cmd=\"$cmd\"
  52560. - $show "$cmd"
  52561. - $run eval "$cmd" || exit $?
  52562. - done
  52563. - IFS="$save_ifs"
  52564. - fi
  52565. - # make sure the library variables are pointing to the new library
  52566. - dir=$output_objdir
  52567. - linklib=$newlib
  52568. - fi # test -n "$old_archive_from_expsyms_cmds"
  52569. +# func_win32_libid arg
  52570. +# return the library type of file 'arg'
  52571. +#
  52572. +# Need a lot of goo to handle *both* DLLs and import libs
  52573. +# Has to be a shell function in order to 'eat' the argument
  52574. +# that is supplied when $file_magic_command is called.
  52575. +func_win32_libid ()
  52576. +{
  52577. + $opt_debug
  52578. + win32_libid_type="unknown"
  52579. + win32_fileres=`file -L $1 2>/dev/null`
  52580. + case $win32_fileres in
  52581. + *ar\ archive\ import\ library*) # definitely import
  52582. + win32_libid_type="x86 archive import"
  52583. + ;;
  52584. + *ar\ archive*) # could be an import, or static
  52585. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  52586. + $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  52587. + win32_nmres=`eval $NM -f posix -A $1 |
  52588. + $SED -n -e '
  52589. + 1,100{
  52590. + / I /{
  52591. + s,.*,import,
  52592. + p
  52593. + q
  52594. + }
  52595. + }'`
  52596. + case $win32_nmres in
  52597. + import*) win32_libid_type="x86 archive import";;
  52598. + *) win32_libid_type="x86 archive static";;
  52599. + esac
  52600. + fi
  52601. + ;;
  52602. + *DLL*)
  52603. + win32_libid_type="x86 DLL"
  52604. + ;;
  52605. + *executable*) # but shell scripts are "executable" too...
  52606. + case $win32_fileres in
  52607. + *MS\ Windows\ PE\ Intel*)
  52608. + win32_libid_type="x86 DLL"
  52609. + ;;
  52610. + esac
  52611. + ;;
  52612. + esac
  52613. + $ECHO "$win32_libid_type"
  52614. +}
  52615. - if test "$linkmode" = prog || test "$mode" != relink; then
  52616. - add_shlibpath=
  52617. - add_dir=
  52618. - add=
  52619. - lib_linked=yes
  52620. - case $hardcode_action in
  52621. - immediate | unsupported)
  52622. - if test "$hardcode_direct" = no; then
  52623. - add="$dir/$linklib"
  52624. - case $host in
  52625. - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  52626. - *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  52627. - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  52628. - *-*-unixware7*) add_dir="-L$dir" ;;
  52629. - *-*-darwin* )
  52630. - # if the lib is a module then we can not link against
  52631. - # it, someone is ignoring the new warnings I added
  52632. - if /usr/bin/file -L $add 2> /dev/null |
  52633. - $EGREP ": [^:]* bundle" >/dev/null ; then
  52634. - $echo "** Warning, lib $linklib is a module, not a shared library"
  52635. - if test -z "$old_library" ; then
  52636. - $echo
  52637. - $echo "** And there doesn't seem to be a static archive available"
  52638. - $echo "** The link will probably fail, sorry"
  52639. - else
  52640. - add="$dir/$old_library"
  52641. - fi
  52642. - fi
  52643. - esac
  52644. - elif test "$hardcode_minus_L" = no; then
  52645. - case $host in
  52646. - *-*-sunos*) add_shlibpath="$dir" ;;
  52647. - esac
  52648. - add_dir="-L$dir"
  52649. - add="-l$name"
  52650. - elif test "$hardcode_shlibpath_var" = no; then
  52651. - add_shlibpath="$dir"
  52652. - add="-l$name"
  52653. - else
  52654. - lib_linked=no
  52655. - fi
  52656. - ;;
  52657. - relink)
  52658. - if test "$hardcode_direct" = yes; then
  52659. - add="$dir/$linklib"
  52660. - elif test "$hardcode_minus_L" = yes; then
  52661. - add_dir="-L$dir"
  52662. - # Try looking first in the location we're being installed to.
  52663. - if test -n "$inst_prefix_dir"; then
  52664. - case $libdir in
  52665. - [\\/]*)
  52666. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  52667. - ;;
  52668. - esac
  52669. - fi
  52670. - add="-l$name"
  52671. - elif test "$hardcode_shlibpath_var" = yes; then
  52672. - add_shlibpath="$dir"
  52673. - add="-l$name"
  52674. - else
  52675. - lib_linked=no
  52676. - fi
  52677. - ;;
  52678. - *) lib_linked=no ;;
  52679. - esac
  52680. - if test "$lib_linked" != yes; then
  52681. - $echo "$modename: configuration error: unsupported hardcode properties"
  52682. - exit $EXIT_FAILURE
  52683. - fi
  52684. - if test -n "$add_shlibpath"; then
  52685. - case :$compile_shlibpath: in
  52686. - *":$add_shlibpath:"*) ;;
  52687. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  52688. - esac
  52689. - fi
  52690. - if test "$linkmode" = prog; then
  52691. - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  52692. - test -n "$add" && compile_deplibs="$add $compile_deplibs"
  52693. - else
  52694. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  52695. - test -n "$add" && deplibs="$add $deplibs"
  52696. - if test "$hardcode_direct" != yes && \
  52697. - test "$hardcode_minus_L" != yes && \
  52698. - test "$hardcode_shlibpath_var" = yes; then
  52699. - case :$finalize_shlibpath: in
  52700. - *":$libdir:"*) ;;
  52701. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  52702. - esac
  52703. - fi
  52704. - fi
  52705. - fi
  52706. +# func_extract_an_archive dir oldlib
  52707. +func_extract_an_archive ()
  52708. +{
  52709. + $opt_debug
  52710. + f_ex_an_ar_dir="$1"; shift
  52711. + f_ex_an_ar_oldlib="$1"
  52712. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  52713. + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  52714. + :
  52715. + else
  52716. + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
  52717. + fi
  52718. +}
  52719. - if test "$linkmode" = prog || test "$mode" = relink; then
  52720. - add_shlibpath=
  52721. - add_dir=
  52722. - add=
  52723. - # Finalize command for both is simple: just hardcode it.
  52724. - if test "$hardcode_direct" = yes; then
  52725. - add="$libdir/$linklib"
  52726. - elif test "$hardcode_minus_L" = yes; then
  52727. - add_dir="-L$libdir"
  52728. - add="-l$name"
  52729. - elif test "$hardcode_shlibpath_var" = yes; then
  52730. - case :$finalize_shlibpath: in
  52731. - *":$libdir:"*) ;;
  52732. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  52733. - esac
  52734. - add="-l$name"
  52735. - elif test "$hardcode_automatic" = yes; then
  52736. - if test -n "$inst_prefix_dir" &&
  52737. - test -f "$inst_prefix_dir$libdir/$linklib" ; then
  52738. - add="$inst_prefix_dir$libdir/$linklib"
  52739. - else
  52740. - add="$libdir/$linklib"
  52741. - fi
  52742. - else
  52743. - # We cannot seem to hardcode it, guess we'll fake it.
  52744. - add_dir="-L$libdir"
  52745. - # Try looking first in the location we're being installed to.
  52746. - if test -n "$inst_prefix_dir"; then
  52747. - case $libdir in
  52748. - [\\/]*)
  52749. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  52750. - ;;
  52751. - esac
  52752. - fi
  52753. - add="-l$name"
  52754. - fi
  52755. - if test "$linkmode" = prog; then
  52756. - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  52757. - test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  52758. - else
  52759. - test -n "$add_dir" && deplibs="$add_dir $deplibs"
  52760. - test -n "$add" && deplibs="$add $deplibs"
  52761. - fi
  52762. - fi
  52763. - elif test "$linkmode" = prog; then
  52764. - # Here we assume that one of hardcode_direct or hardcode_minus_L
  52765. - # is not unsupported. This is valid on all known static and
  52766. - # shared platforms.
  52767. - if test "$hardcode_direct" != unsupported; then
  52768. - test -n "$old_library" && linklib="$old_library"
  52769. - compile_deplibs="$dir/$linklib $compile_deplibs"
  52770. - finalize_deplibs="$dir/$linklib $finalize_deplibs"
  52771. - else
  52772. - compile_deplibs="-l$name -L$dir $compile_deplibs"
  52773. - finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  52774. - fi
  52775. - elif test "$build_libtool_libs" = yes; then
  52776. - # Not a shared library
  52777. - if test "$deplibs_check_method" != pass_all; then
  52778. - # We're trying link a shared library against a static one
  52779. - # but the system doesn't support it.
  52780. +# func_extract_archives gentop oldlib ...
  52781. +func_extract_archives ()
  52782. +{
  52783. + $opt_debug
  52784. + my_gentop="$1"; shift
  52785. + my_oldlibs=${1+"$@"}
  52786. + my_oldobjs=""
  52787. + my_xlib=""
  52788. + my_xabs=""
  52789. + my_xdir=""
  52790. - # Just print a warning and add the library to dependency_libs so
  52791. - # that the program can be linked against the static library.
  52792. - $echo
  52793. - $echo "*** Warning: This system can not link to static lib archive $lib."
  52794. - $echo "*** I have the capability to make that library automatically link in when"
  52795. - $echo "*** you link to this library. But I can only do this if you have a"
  52796. - $echo "*** shared version of the library, which you do not appear to have."
  52797. - if test "$module" = yes; then
  52798. - $echo "*** But as you try to build a module library, libtool will still create "
  52799. - $echo "*** a static module, that should work as long as the dlopening application"
  52800. - $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  52801. - if test -z "$global_symbol_pipe"; then
  52802. - $echo
  52803. - $echo "*** However, this would only work if libtool was able to extract symbol"
  52804. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  52805. - $echo "*** not find such a program. So, this module is probably useless."
  52806. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  52807. - fi
  52808. - if test "$build_old_libs" = no; then
  52809. - build_libtool_libs=module
  52810. - build_old_libs=yes
  52811. - else
  52812. - build_libtool_libs=no
  52813. - fi
  52814. - fi
  52815. + for my_xlib in $my_oldlibs; do
  52816. + # Extract the objects.
  52817. + case $my_xlib in
  52818. + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  52819. + *) my_xabs=`pwd`"/$my_xlib" ;;
  52820. + esac
  52821. + func_basename "$my_xlib"
  52822. + my_xlib="$func_basename_result"
  52823. + my_xlib_u=$my_xlib
  52824. + while :; do
  52825. + case " $extracted_archives " in
  52826. + *" $my_xlib_u "*)
  52827. + func_arith $extracted_serial + 1
  52828. + extracted_serial=$func_arith_result
  52829. + my_xlib_u=lt$extracted_serial-$my_xlib ;;
  52830. + *) break ;;
  52831. + esac
  52832. + done
  52833. + extracted_archives="$extracted_archives $my_xlib_u"
  52834. + my_xdir="$my_gentop/$my_xlib_u"
  52835. +
  52836. + func_mkdir_p "$my_xdir"
  52837. +
  52838. + case $host in
  52839. + *-darwin*)
  52840. + func_verbose "Extracting $my_xabs"
  52841. + # Do not bother doing anything if just a dry run
  52842. + $opt_dry_run || {
  52843. + darwin_orig_dir=`pwd`
  52844. + cd $my_xdir || exit $?
  52845. + darwin_archive=$my_xabs
  52846. + darwin_curdir=`pwd`
  52847. + darwin_base_archive=`basename "$darwin_archive"`
  52848. + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
  52849. + if test -n "$darwin_arches"; then
  52850. + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
  52851. + darwin_arch=
  52852. + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
  52853. + for darwin_arch in $darwin_arches ; do
  52854. + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  52855. + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  52856. + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  52857. + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  52858. + cd "$darwin_curdir"
  52859. + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  52860. + done # $darwin_arches
  52861. + ## Okay now we've a bunch of thin objects, gotta fatten them up :)
  52862. + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
  52863. + darwin_file=
  52864. + darwin_files=
  52865. + for darwin_file in $darwin_filelist; do
  52866. + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  52867. + $LIPO -create -output "$darwin_file" $darwin_files
  52868. + done # $darwin_filelist
  52869. + $RM -rf unfat-$$
  52870. + cd "$darwin_orig_dir"
  52871. else
  52872. - deplibs="$dir/$old_library $deplibs"
  52873. - link_static=yes
  52874. - fi
  52875. - fi # link shared/static library?
  52876. + cd $darwin_orig_dir
  52877. + func_extract_an_archive "$my_xdir" "$my_xabs"
  52878. + fi # $darwin_arches
  52879. + } # !$opt_dry_run
  52880. + ;;
  52881. + *)
  52882. + func_extract_an_archive "$my_xdir" "$my_xabs"
  52883. + ;;
  52884. + esac
  52885. + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  52886. + done
  52887. - if test "$linkmode" = lib; then
  52888. - if test -n "$dependency_libs" &&
  52889. - { test "$hardcode_into_libs" != yes ||
  52890. - test "$build_old_libs" = yes ||
  52891. - test "$link_static" = yes; }; then
  52892. - # Extract -R from dependency_libs
  52893. - temp_deplibs=
  52894. - for libdir in $dependency_libs; do
  52895. - case $libdir in
  52896. - -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
  52897. - case " $xrpath " in
  52898. - *" $temp_xrpath "*) ;;
  52899. - *) xrpath="$xrpath $temp_xrpath";;
  52900. - esac;;
  52901. - *) temp_deplibs="$temp_deplibs $libdir";;
  52902. - esac
  52903. - done
  52904. - dependency_libs="$temp_deplibs"
  52905. - fi
  52906. + func_extract_archives_result="$my_oldobjs"
  52907. +}
  52908. - newlib_search_path="$newlib_search_path $absdir"
  52909. - # Link against this library
  52910. - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  52911. - # ... and its dependency_libs
  52912. - tmp_libs=
  52913. - for deplib in $dependency_libs; do
  52914. - newdependency_libs="$deplib $newdependency_libs"
  52915. - if test "X$duplicate_deps" = "Xyes" ; then
  52916. - case "$tmp_libs " in
  52917. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  52918. - esac
  52919. - fi
  52920. - tmp_libs="$tmp_libs $deplib"
  52921. - done
  52922. - if test "$link_all_deplibs" != no; then
  52923. - # Add the search paths of all dependency libraries
  52924. - for deplib in $dependency_libs; do
  52925. - case $deplib in
  52926. - -L*) path="$deplib" ;;
  52927. - *.la)
  52928. - dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
  52929. - test "X$dir" = "X$deplib" && dir="."
  52930. - # We need an absolute path.
  52931. - case $dir in
  52932. - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  52933. - *)
  52934. - absdir=`cd "$dir" && pwd`
  52935. - if test -z "$absdir"; then
  52936. - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
  52937. - absdir="$dir"
  52938. - fi
  52939. - ;;
  52940. - esac
  52941. - if grep "^installed=no" $deplib > /dev/null; then
  52942. - path="$absdir/$objdir"
  52943. - else
  52944. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  52945. - if test -z "$libdir"; then
  52946. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  52947. - exit $EXIT_FAILURE
  52948. - fi
  52949. - if test "$absdir" != "$libdir"; then
  52950. - $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
  52951. - fi
  52952. - path="$absdir"
  52953. - fi
  52954. - depdepl=
  52955. - case $host in
  52956. - *-*-darwin*)
  52957. - # we do not want to link against static libs,
  52958. - # but need to link against shared
  52959. - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  52960. - if test -n "$deplibrary_names" ; then
  52961. - for tmp in $deplibrary_names ; do
  52962. - depdepl=$tmp
  52963. - done
  52964. - if test -f "$path/$depdepl" ; then
  52965. - depdepl="$path/$depdepl"
  52966. - fi
  52967. - # do not add paths which are already there
  52968. - case " $newlib_search_path " in
  52969. - *" $path "*) ;;
  52970. - *) newlib_search_path="$newlib_search_path $path";;
  52971. - esac
  52972. - fi
  52973. - path=""
  52974. - ;;
  52975. - *)
  52976. - path="-L$path"
  52977. - ;;
  52978. - esac
  52979. - ;;
  52980. - -l*)
  52981. - case $host in
  52982. - *-*-darwin*)
  52983. - # Again, we only want to link against shared libraries
  52984. - eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
  52985. - for tmp in $newlib_search_path ; do
  52986. - if test -f "$tmp/lib$tmp_libs.dylib" ; then
  52987. - eval depdepl="$tmp/lib$tmp_libs.dylib"
  52988. - break
  52989. - fi
  52990. - done
  52991. - path=""
  52992. - ;;
  52993. - *) continue ;;
  52994. - esac
  52995. - ;;
  52996. - *) continue ;;
  52997. - esac
  52998. - case " $deplibs " in
  52999. - *" $path "*) ;;
  53000. - *) deplibs="$path $deplibs" ;;
  53001. - esac
  53002. - case " $deplibs " in
  53003. - *" $depdepl "*) ;;
  53004. - *) deplibs="$depdepl $deplibs" ;;
  53005. - esac
  53006. - done
  53007. - fi # link_all_deplibs != no
  53008. - fi # linkmode = lib
  53009. - done # for deplib in $libs
  53010. - dependency_libs="$newdependency_libs"
  53011. - if test "$pass" = dlpreopen; then
  53012. - # Link the dlpreopened libraries before other libraries
  53013. - for deplib in $save_deplibs; do
  53014. - deplibs="$deplib $deplibs"
  53015. - done
  53016. - fi
  53017. - if test "$pass" != dlopen; then
  53018. - if test "$pass" != conv; then
  53019. - # Make sure lib_search_path contains only unique directories.
  53020. - lib_search_path=
  53021. - for dir in $newlib_search_path; do
  53022. - case "$lib_search_path " in
  53023. - *" $dir "*) ;;
  53024. - *) lib_search_path="$lib_search_path $dir" ;;
  53025. - esac
  53026. - done
  53027. - newlib_search_path=
  53028. - fi
  53029. - if test "$linkmode,$pass" != "prog,link"; then
  53030. - vars="deplibs"
  53031. - else
  53032. - vars="compile_deplibs finalize_deplibs"
  53033. +# func_emit_wrapper_part1 [arg=no]
  53034. +#
  53035. +# Emit the first part of a libtool wrapper script on stdout.
  53036. +# For more information, see the description associated with
  53037. +# func_emit_wrapper(), below.
  53038. +func_emit_wrapper_part1 ()
  53039. +{
  53040. + func_emit_wrapper_part1_arg1=no
  53041. + if test -n "$1" ; then
  53042. + func_emit_wrapper_part1_arg1=$1
  53043. fi
  53044. - for var in $vars dependency_libs; do
  53045. - # Add libraries to $var in reverse order
  53046. - eval tmp_libs=\"\$$var\"
  53047. - new_libs=
  53048. - for deplib in $tmp_libs; do
  53049. - # FIXME: Pedantically, this is the right thing to do, so
  53050. - # that some nasty dependency loop isn't accidentally
  53051. - # broken:
  53052. - #new_libs="$deplib $new_libs"
  53053. - # Pragmatically, this seems to cause very few problems in
  53054. - # practice:
  53055. - case $deplib in
  53056. - -L*) new_libs="$deplib $new_libs" ;;
  53057. - -R*) ;;
  53058. - *)
  53059. - # And here is the reason: when a library appears more
  53060. - # than once as an explicit dependence of a library, or
  53061. - # is implicitly linked in more than once by the
  53062. - # compiler, it is considered special, and multiple
  53063. - # occurrences thereof are not removed. Compare this
  53064. - # with having the same library being listed as a
  53065. - # dependency of multiple other libraries: in this case,
  53066. - # we know (pedantically, we assume) the library does not
  53067. - # need to be listed more than once, so we keep only the
  53068. - # last copy. This is not always right, but it is rare
  53069. - # enough that we require users that really mean to play
  53070. - # such unportable linking tricks to link the library
  53071. - # using -Wl,-lname, so that libtool does not consider it
  53072. - # for duplicate removal.
  53073. - case " $specialdeplibs " in
  53074. - *" $deplib "*) new_libs="$deplib $new_libs" ;;
  53075. - *)
  53076. - case " $new_libs " in
  53077. - *" $deplib "*) ;;
  53078. - *) new_libs="$deplib $new_libs" ;;
  53079. - esac
  53080. - ;;
  53081. - esac
  53082. - ;;
  53083. - esac
  53084. - done
  53085. - tmp_libs=
  53086. - for deplib in $new_libs; do
  53087. - case $deplib in
  53088. - -L*)
  53089. - case " $tmp_libs " in
  53090. - *" $deplib "*) ;;
  53091. - *) tmp_libs="$tmp_libs $deplib" ;;
  53092. - esac
  53093. - ;;
  53094. - *) tmp_libs="$tmp_libs $deplib" ;;
  53095. - esac
  53096. - done
  53097. - eval $var=\"$tmp_libs\"
  53098. - done # for var
  53099. - fi
  53100. - # Last step: remove runtime libs from dependency_libs
  53101. - # (they stay in deplibs)
  53102. - tmp_libs=
  53103. - for i in $dependency_libs ; do
  53104. - case " $predeps $postdeps $compiler_lib_search_path " in
  53105. - *" $i "*)
  53106. - i=""
  53107. - ;;
  53108. - esac
  53109. - if test -n "$i" ; then
  53110. - tmp_libs="$tmp_libs $i"
  53111. - fi
  53112. - done
  53113. - dependency_libs=$tmp_libs
  53114. - done # for pass
  53115. - if test "$linkmode" = prog; then
  53116. - dlfiles="$newdlfiles"
  53117. - dlprefiles="$newdlprefiles"
  53118. - fi
  53119. - case $linkmode in
  53120. - oldlib)
  53121. - if test -n "$deplibs"; then
  53122. - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
  53123. - fi
  53124. + $ECHO "\
  53125. +#! $SHELL
  53126. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  53127. - $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
  53128. - fi
  53129. +# $output - temporary wrapper script for $objdir/$outputname
  53130. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  53131. +#
  53132. +# The $output program cannot be directly executed until all the libtool
  53133. +# libraries that it depends on are installed.
  53134. +#
  53135. +# This wrapper script should never be moved out of the build directory.
  53136. +# If it is, it will not operate correctly.
  53137. - if test -n "$rpath"; then
  53138. - $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
  53139. - fi
  53140. +# Sed substitution that helps us do robust quoting. It backslashifies
  53141. +# metacharacters that are still active within double-quoted strings.
  53142. +Xsed='${SED} -e 1s/^X//'
  53143. +sed_quote_subst='$sed_quote_subst'
  53144. - if test -n "$xrpath"; then
  53145. - $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
  53146. - fi
  53147. +# Be Bourne compatible
  53148. +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
  53149. + emulate sh
  53150. + NULLCMD=:
  53151. + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
  53152. + # is contrary to our usage. Disable this feature.
  53153. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  53154. + setopt NO_GLOB_SUBST
  53155. +else
  53156. + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  53157. +fi
  53158. +BIN_SH=xpg4; export BIN_SH # for Tru64
  53159. +DUALCASE=1; export DUALCASE # for MKS sh
  53160. - if test -n "$vinfo"; then
  53161. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
  53162. - fi
  53163. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  53164. +# if CDPATH is set.
  53165. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  53166. - if test -n "$release"; then
  53167. - $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
  53168. - fi
  53169. +relink_command=\"$relink_command\"
  53170. - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  53171. - $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
  53172. - fi
  53173. +# This environment variable determines our operation mode.
  53174. +if test \"\$libtool_install_magic\" = \"$magic\"; then
  53175. + # install mode needs the following variables:
  53176. + generated_by_libtool_version='$macro_version'
  53177. + notinst_deplibs='$notinst_deplibs'
  53178. +else
  53179. + # When we are sourced in execute mode, \$file and \$ECHO are already set.
  53180. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  53181. + ECHO=\"$qecho\"
  53182. + file=\"\$0\"
  53183. + # Make sure echo works.
  53184. + if test \"X\$1\" = X--no-reexec; then
  53185. + # Discard the --no-reexec flag, and continue.
  53186. + shift
  53187. + elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  53188. + # Yippee, \$ECHO works!
  53189. + :
  53190. + else
  53191. + # Restart under the correct shell, and then maybe \$ECHO will work.
  53192. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  53193. + fi
  53194. + fi\
  53195. +"
  53196. + $ECHO "\
  53197. - # Now set the variables for building old libraries.
  53198. - build_libtool_libs=no
  53199. - oldlibs="$output"
  53200. - objs="$objs$old_deplibs"
  53201. - ;;
  53202. + # Find the directory that this script lives in.
  53203. + thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  53204. + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  53205. - lib)
  53206. - # Make sure we only generate libraries of the form `libNAME.la'.
  53207. - case $outputname in
  53208. - lib*)
  53209. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
  53210. - eval shared_ext=\"$shrext_cmds\"
  53211. - eval libname=\"$libname_spec\"
  53212. - ;;
  53213. - *)
  53214. - if test "$module" = no; then
  53215. - $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
  53216. - $echo "$help" 1>&2
  53217. - exit $EXIT_FAILURE
  53218. - fi
  53219. - if test "$need_lib_prefix" != no; then
  53220. - # Add the "lib" prefix for modules if required
  53221. - name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  53222. - eval shared_ext=\"$shrext_cmds\"
  53223. - eval libname=\"$libname_spec\"
  53224. - else
  53225. - libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
  53226. - fi
  53227. - ;;
  53228. + # Follow symbolic links until we get to the real thisdir.
  53229. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  53230. + while test -n \"\$file\"; do
  53231. + destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  53232. +
  53233. + # If there was a directory component, then change thisdir.
  53234. + if test \"x\$destdir\" != \"x\$file\"; then
  53235. + case \"\$destdir\" in
  53236. + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  53237. + *) thisdir=\"\$thisdir/\$destdir\" ;;
  53238. esac
  53239. + fi
  53240. - if test -n "$objs"; then
  53241. - if test "$deplibs_check_method" != pass_all; then
  53242. - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
  53243. - exit $EXIT_FAILURE
  53244. - else
  53245. - $echo
  53246. - $echo "*** Warning: Linking the shared library $output against the non-libtool"
  53247. - $echo "*** objects $objs is not portable!"
  53248. - libobjs="$libobjs $objs"
  53249. - fi
  53250. - fi
  53251. + file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  53252. + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  53253. + done
  53254. +"
  53255. +}
  53256. +# end: func_emit_wrapper_part1
  53257. - if test "$dlself" != no; then
  53258. - $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
  53259. - fi
  53260. +# func_emit_wrapper_part2 [arg=no]
  53261. +#
  53262. +# Emit the second part of a libtool wrapper script on stdout.
  53263. +# For more information, see the description associated with
  53264. +# func_emit_wrapper(), below.
  53265. +func_emit_wrapper_part2 ()
  53266. +{
  53267. + func_emit_wrapper_part2_arg1=no
  53268. + if test -n "$1" ; then
  53269. + func_emit_wrapper_part2_arg1=$1
  53270. + fi
  53271. +
  53272. + $ECHO "\
  53273. +
  53274. + # Usually 'no', except on cygwin/mingw when embedded into
  53275. + # the cwrapper.
  53276. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  53277. + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  53278. + # special case for '.'
  53279. + if test \"\$thisdir\" = \".\"; then
  53280. + thisdir=\`pwd\`
  53281. + fi
  53282. + # remove .libs from thisdir
  53283. + case \"\$thisdir\" in
  53284. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  53285. + $objdir ) thisdir=. ;;
  53286. + esac
  53287. + fi
  53288. - set dummy $rpath
  53289. - if test "$#" -gt 2; then
  53290. - $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
  53291. + # Try to get the absolute directory name.
  53292. + absdir=\`cd \"\$thisdir\" && pwd\`
  53293. + test -n \"\$absdir\" && thisdir=\"\$absdir\"
  53294. +"
  53295. +
  53296. + if test "$fast_install" = yes; then
  53297. + $ECHO "\
  53298. + program=lt-'$outputname'$exeext
  53299. + progdir=\"\$thisdir/$objdir\"
  53300. +
  53301. + if test ! -f \"\$progdir/\$program\" ||
  53302. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  53303. + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  53304. +
  53305. + file=\"\$\$-\$program\"
  53306. +
  53307. + if test ! -d \"\$progdir\"; then
  53308. + $MKDIR \"\$progdir\"
  53309. + else
  53310. + $RM \"\$progdir/\$file\"
  53311. + fi"
  53312. +
  53313. + $ECHO "\
  53314. +
  53315. + # relink executable if necessary
  53316. + if test -n \"\$relink_command\"; then
  53317. + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  53318. + else
  53319. + $ECHO \"\$relink_command_output\" >&2
  53320. + $RM \"\$progdir/\$file\"
  53321. + exit 1
  53322. fi
  53323. - install_libdir="$2"
  53324. + fi
  53325. - oldlibs=
  53326. - if test -z "$rpath"; then
  53327. - if test "$build_libtool_libs" = yes; then
  53328. - # Building a libtool convenience library.
  53329. - # Some compilers have problems with a `.al' extension so
  53330. - # convenience libraries should have the same extension an
  53331. - # archive normally would.
  53332. - oldlibs="$output_objdir/$libname.$libext $oldlibs"
  53333. - build_libtool_libs=convenience
  53334. - build_old_libs=yes
  53335. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  53336. + { $RM \"\$progdir/\$program\";
  53337. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  53338. + $RM \"\$progdir/\$file\"
  53339. + fi"
  53340. + else
  53341. + $ECHO "\
  53342. + program='$outputname'
  53343. + progdir=\"\$thisdir/$objdir\"
  53344. +"
  53345. fi
  53346. - if test -n "$vinfo"; then
  53347. - $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
  53348. - fi
  53349. + $ECHO "\
  53350. - if test -n "$release"; then
  53351. - $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
  53352. - fi
  53353. - else
  53354. + if test -f \"\$progdir/\$program\"; then"
  53355. - # Parse the version information argument.
  53356. - save_ifs="$IFS"; IFS=':'
  53357. - set dummy $vinfo 0 0 0
  53358. - IFS="$save_ifs"
  53359. + # Export our shlibpath_var if we have one.
  53360. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  53361. + $ECHO "\
  53362. + # Add our own library path to $shlibpath_var
  53363. + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  53364. - if test -n "$8"; then
  53365. - $echo "$modename: too many parameters to \`-version-info'" 1>&2
  53366. - $echo "$help" 1>&2
  53367. - exit $EXIT_FAILURE
  53368. - fi
  53369. + # Some systems cannot cope with colon-terminated $shlibpath_var
  53370. + # The second colon is a workaround for a bug in BeOS R4 sed
  53371. + $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  53372. - # convert absolute version numbers to libtool ages
  53373. - # this retains compatibility with .la files and attempts
  53374. - # to make the code below a bit more comprehensible
  53375. + export $shlibpath_var
  53376. +"
  53377. + fi
  53378. - case $vinfo_number in
  53379. - yes)
  53380. - number_major="$2"
  53381. - number_minor="$3"
  53382. - number_revision="$4"
  53383. - #
  53384. - # There are really only two kinds -- those that
  53385. - # use the current revision as the major version
  53386. - # and those that subtract age and use age as
  53387. - # a minor version. But, then there is irix
  53388. - # which has an extra 1 added just for fun
  53389. - #
  53390. - case $version_type in
  53391. - darwin|linux|osf|windows)
  53392. - current=`expr $number_major + $number_minor`
  53393. - age="$number_minor"
  53394. - revision="$number_revision"
  53395. - ;;
  53396. - freebsd-aout|freebsd-elf|sunos)
  53397. - current="$number_major"
  53398. - revision="$number_minor"
  53399. - age="0"
  53400. - ;;
  53401. - irix|nonstopux)
  53402. - current=`expr $number_major + $number_minor - 1`
  53403. - age="$number_minor"
  53404. - revision="$number_minor"
  53405. - ;;
  53406. - *)
  53407. - $echo "$modename: unknown library version type \`$version_type'" 1>&2
  53408. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  53409. - exit $EXIT_FAILURE
  53410. - ;;
  53411. - esac
  53412. - ;;
  53413. - no)
  53414. - current="$2"
  53415. - revision="$3"
  53416. - age="$4"
  53417. - ;;
  53418. - esac
  53419. + # fixup the dll searchpath if we need to.
  53420. + if test -n "$dllsearchpath"; then
  53421. + $ECHO "\
  53422. + # Add the dll search path components to the executable PATH
  53423. + PATH=$dllsearchpath:\$PATH
  53424. +"
  53425. + fi
  53426. - # Check that each of the things are valid numbers.
  53427. - case $current in
  53428. - 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]) ;;
  53429. - *)
  53430. - $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
  53431. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  53432. - exit $EXIT_FAILURE
  53433. + $ECHO "\
  53434. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  53435. + # Run the actual program with our arguments.
  53436. +"
  53437. + case $host in
  53438. + # Backslashes separate directories on plain windows
  53439. + *-*-mingw | *-*-os2* | *-cegcc*)
  53440. + $ECHO "\
  53441. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  53442. +"
  53443. ;;
  53444. - esac
  53445. - case $revision in
  53446. - 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]) ;;
  53447. *)
  53448. - $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
  53449. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  53450. - exit $EXIT_FAILURE
  53451. + $ECHO "\
  53452. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  53453. +"
  53454. ;;
  53455. esac
  53456. + $ECHO "\
  53457. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  53458. + exit 1
  53459. + fi
  53460. + else
  53461. + # The program doesn't exist.
  53462. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  53463. + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  53464. + $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  53465. + exit 1
  53466. + fi
  53467. +fi\
  53468. +"
  53469. +}
  53470. +# end: func_emit_wrapper_part2
  53471. - case $age in
  53472. - 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]) ;;
  53473. - *)
  53474. - $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
  53475. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  53476. - exit $EXIT_FAILURE
  53477. - ;;
  53478. - esac
  53479. - if test "$age" -gt "$current"; then
  53480. - $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
  53481. - $echo "$modename: \`$vinfo' is not valid version information" 1>&2
  53482. - exit $EXIT_FAILURE
  53483. +# func_emit_wrapper [arg=no]
  53484. +#
  53485. +# Emit a libtool wrapper script on stdout.
  53486. +# Don't directly open a file because we may want to
  53487. +# incorporate the script contents within a cygwin/mingw
  53488. +# wrapper executable. Must ONLY be called from within
  53489. +# func_mode_link because it depends on a number of variables
  53490. +# set therein.
  53491. +#
  53492. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  53493. +# variable will take. If 'yes', then the emitted script
  53494. +# will assume that the directory in which it is stored is
  53495. +# the $objdir directory. This is a cygwin/mingw-specific
  53496. +# behavior.
  53497. +func_emit_wrapper ()
  53498. +{
  53499. + func_emit_wrapper_arg1=no
  53500. + if test -n "$1" ; then
  53501. + func_emit_wrapper_arg1=$1
  53502. fi
  53503. - # Calculate the version variables.
  53504. - major=
  53505. - versuffix=
  53506. - verstring=
  53507. - case $version_type in
  53508. - none) ;;
  53509. -
  53510. - darwin)
  53511. - # Like Linux, but with the current version available in
  53512. - # verstring for coding it into the library header
  53513. - major=.`expr $current - $age`
  53514. - versuffix="$major.$age.$revision"
  53515. - # Darwin ld doesn't like 0 for these options...
  53516. - minor_current=`expr $current + 1`
  53517. - verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  53518. - ;;
  53519. -
  53520. - freebsd-aout)
  53521. - major=".$current"
  53522. - versuffix=".$current.$revision";
  53523. - ;;
  53524. + # split this up so that func_emit_cwrapperexe_src
  53525. + # can call each part independently.
  53526. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  53527. + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  53528. +}
  53529. - freebsd-elf)
  53530. - major=".$current"
  53531. - versuffix=".$current";
  53532. - ;;
  53533. - irix | nonstopux)
  53534. - major=`expr $current - $age + 1`
  53535. +# func_to_host_path arg
  53536. +#
  53537. +# Convert paths to host format when used with build tools.
  53538. +# Intended for use with "native" mingw (where libtool itself
  53539. +# is running under the msys shell), or in the following cross-
  53540. +# build environments:
  53541. +# $build $host
  53542. +# mingw (msys) mingw [e.g. native]
  53543. +# cygwin mingw
  53544. +# *nix + wine mingw
  53545. +# where wine is equipped with the `winepath' executable.
  53546. +# In the native mingw case, the (msys) shell automatically
  53547. +# converts paths for any non-msys applications it launches,
  53548. +# but that facility isn't available from inside the cwrapper.
  53549. +# Similar accommodations are necessary for $host mingw and
  53550. +# $build cygwin. Calling this function does no harm for other
  53551. +# $host/$build combinations not listed above.
  53552. +#
  53553. +# ARG is the path (on $build) that should be converted to
  53554. +# the proper representation for $host. The result is stored
  53555. +# in $func_to_host_path_result.
  53556. +func_to_host_path ()
  53557. +{
  53558. + func_to_host_path_result="$1"
  53559. + if test -n "$1" ; then
  53560. + case $host in
  53561. + *mingw* )
  53562. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  53563. + case $build in
  53564. + *mingw* ) # actually, msys
  53565. + # awkward: cmd appends spaces to result
  53566. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  53567. + func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  53568. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  53569. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  53570. + $SED -e "$lt_sed_naive_backslashify"`
  53571. + ;;
  53572. + *cygwin* )
  53573. + func_to_host_path_tmp1=`cygpath -w "$1"`
  53574. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  53575. + $SED -e "$lt_sed_naive_backslashify"`
  53576. + ;;
  53577. + * )
  53578. + # Unfortunately, winepath does not exit with a non-zero
  53579. + # error code, so we are forced to check the contents of
  53580. + # stdout. On the other hand, if the command is not
  53581. + # found, the shell will set an exit code of 127 and print
  53582. + # *an error message* to stdout. So we must check for both
  53583. + # error code of zero AND non-empty stdout, which explains
  53584. + # the odd construction:
  53585. + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  53586. + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  53587. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  53588. + $SED -e "$lt_sed_naive_backslashify"`
  53589. + else
  53590. + # Allow warning below.
  53591. + func_to_host_path_result=""
  53592. + fi
  53593. + ;;
  53594. + esac
  53595. + if test -z "$func_to_host_path_result" ; then
  53596. + func_error "Could not determine host path corresponding to"
  53597. + func_error " '$1'"
  53598. + func_error "Continuing, but uninstalled executables may not work."
  53599. + # Fallback:
  53600. + func_to_host_path_result="$1"
  53601. + fi
  53602. + ;;
  53603. + esac
  53604. + fi
  53605. +}
  53606. +# end: func_to_host_path
  53607. - case $version_type in
  53608. - nonstopux) verstring_prefix=nonstopux ;;
  53609. - *) verstring_prefix=sgi ;;
  53610. - esac
  53611. - verstring="$verstring_prefix$major.$revision"
  53612. +# func_to_host_pathlist arg
  53613. +#
  53614. +# Convert pathlists to host format when used with build tools.
  53615. +# See func_to_host_path(), above. This function supports the
  53616. +# following $build/$host combinations (but does no harm for
  53617. +# combinations not listed here):
  53618. +# $build $host
  53619. +# mingw (msys) mingw [e.g. native]
  53620. +# cygwin mingw
  53621. +# *nix + wine mingw
  53622. +#
  53623. +# Path separators are also converted from $build format to
  53624. +# $host format. If ARG begins or ends with a path separator
  53625. +# character, it is preserved (but converted to $host format)
  53626. +# on output.
  53627. +#
  53628. +# ARG is a pathlist (on $build) that should be converted to
  53629. +# the proper representation on $host. The result is stored
  53630. +# in $func_to_host_pathlist_result.
  53631. +func_to_host_pathlist ()
  53632. +{
  53633. + func_to_host_pathlist_result="$1"
  53634. + if test -n "$1" ; then
  53635. + case $host in
  53636. + *mingw* )
  53637. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  53638. + # Remove leading and trailing path separator characters from
  53639. + # ARG. msys behavior is inconsistent here, cygpath turns them
  53640. + # into '.;' and ';.', and winepath ignores them completely.
  53641. + func_to_host_pathlist_tmp2="$1"
  53642. + # Once set for this call, this variable should not be
  53643. + # reassigned. It is used in tha fallback case.
  53644. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  53645. + $SED -e 's|^:*||' -e 's|:*$||'`
  53646. + case $build in
  53647. + *mingw* ) # Actually, msys.
  53648. + # Awkward: cmd appends spaces to result.
  53649. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  53650. + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  53651. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  53652. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  53653. + $SED -e "$lt_sed_naive_backslashify"`
  53654. + ;;
  53655. + *cygwin* )
  53656. + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  53657. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  53658. + $SED -e "$lt_sed_naive_backslashify"`
  53659. + ;;
  53660. + * )
  53661. + # unfortunately, winepath doesn't convert pathlists
  53662. + func_to_host_pathlist_result=""
  53663. + func_to_host_pathlist_oldIFS=$IFS
  53664. + IFS=:
  53665. + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  53666. + IFS=$func_to_host_pathlist_oldIFS
  53667. + if test -n "$func_to_host_pathlist_f" ; then
  53668. + func_to_host_path "$func_to_host_pathlist_f"
  53669. + if test -n "$func_to_host_path_result" ; then
  53670. + if test -z "$func_to_host_pathlist_result" ; then
  53671. + func_to_host_pathlist_result="$func_to_host_path_result"
  53672. + else
  53673. + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  53674. + fi
  53675. + fi
  53676. + fi
  53677. + IFS=:
  53678. + done
  53679. + IFS=$func_to_host_pathlist_oldIFS
  53680. + ;;
  53681. + esac
  53682. + if test -z "$func_to_host_pathlist_result" ; then
  53683. + func_error "Could not determine the host path(s) corresponding to"
  53684. + func_error " '$1'"
  53685. + func_error "Continuing, but uninstalled executables may not work."
  53686. + # Fallback. This may break if $1 contains DOS-style drive
  53687. + # specifications. The fix is not to complicate the expression
  53688. + # below, but for the user to provide a working wine installation
  53689. + # with winepath so that path translation in the cross-to-mingw
  53690. + # case works properly.
  53691. + lt_replace_pathsep_nix_to_dos="s|:|;|g"
  53692. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  53693. + $SED -e "$lt_replace_pathsep_nix_to_dos"`
  53694. + fi
  53695. + # Now, add the leading and trailing path separators back
  53696. + case "$1" in
  53697. + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  53698. + ;;
  53699. + esac
  53700. + case "$1" in
  53701. + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  53702. + ;;
  53703. + esac
  53704. + ;;
  53705. + esac
  53706. + fi
  53707. +}
  53708. +# end: func_to_host_pathlist
  53709. - # Add in all the interfaces that we are compatible with.
  53710. - loop=$revision
  53711. - while test "$loop" -ne 0; do
  53712. - iface=`expr $revision - $loop`
  53713. - loop=`expr $loop - 1`
  53714. - verstring="$verstring_prefix$major.$iface:$verstring"
  53715. - done
  53716. +# func_emit_cwrapperexe_src
  53717. +# emit the source code for a wrapper executable on stdout
  53718. +# Must ONLY be called from within func_mode_link because
  53719. +# it depends on a number of variable set therein.
  53720. +func_emit_cwrapperexe_src ()
  53721. +{
  53722. + cat <<EOF
  53723. - # Before this point, $major must not contain `.'.
  53724. - major=.$major
  53725. - versuffix="$major.$revision"
  53726. - ;;
  53727. +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  53728. + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  53729. - linux)
  53730. - major=.`expr $current - $age`
  53731. - versuffix="$major.$age.$revision"
  53732. - ;;
  53733. + The $output program cannot be directly executed until all the libtool
  53734. + libraries that it depends on are installed.
  53735. - osf)
  53736. - major=.`expr $current - $age`
  53737. - versuffix=".$current.$age.$revision"
  53738. - verstring="$current.$age.$revision"
  53739. + This wrapper executable should never be moved out of the build directory.
  53740. + If it is, it will not operate correctly.
  53741. - # Add in all the interfaces that we are compatible with.
  53742. - loop=$age
  53743. - while test "$loop" -ne 0; do
  53744. - iface=`expr $current - $loop`
  53745. - loop=`expr $loop - 1`
  53746. - verstring="$verstring:${iface}.0"
  53747. - done
  53748. + Currently, it simply execs the wrapper *script* "$SHELL $output",
  53749. + but could eventually absorb all of the scripts functionality and
  53750. + exec $objdir/$outputname directly.
  53751. +*/
  53752. +EOF
  53753. + cat <<"EOF"
  53754. +#include <stdio.h>
  53755. +#include <stdlib.h>
  53756. +#ifdef _MSC_VER
  53757. +# include <direct.h>
  53758. +# include <process.h>
  53759. +# include <io.h>
  53760. +# define setmode _setmode
  53761. +#else
  53762. +# include <unistd.h>
  53763. +# include <stdint.h>
  53764. +# ifdef __CYGWIN__
  53765. +# include <io.h>
  53766. +# define HAVE_SETENV
  53767. +# ifdef __STRICT_ANSI__
  53768. +char *realpath (const char *, char *);
  53769. +int putenv (char *);
  53770. +int setenv (const char *, const char *, int);
  53771. +# endif
  53772. +# endif
  53773. +#endif
  53774. +#include <malloc.h>
  53775. +#include <stdarg.h>
  53776. +#include <assert.h>
  53777. +#include <string.h>
  53778. +#include <ctype.h>
  53779. +#include <errno.h>
  53780. +#include <fcntl.h>
  53781. +#include <sys/stat.h>
  53782. - # Make executables depend on our current version.
  53783. - verstring="$verstring:${current}.0"
  53784. - ;;
  53785. +#if defined(PATH_MAX)
  53786. +# define LT_PATHMAX PATH_MAX
  53787. +#elif defined(MAXPATHLEN)
  53788. +# define LT_PATHMAX MAXPATHLEN
  53789. +#else
  53790. +# define LT_PATHMAX 1024
  53791. +#endif
  53792. - sunos)
  53793. - major=".$current"
  53794. - versuffix=".$current.$revision"
  53795. - ;;
  53796. +#ifndef S_IXOTH
  53797. +# define S_IXOTH 0
  53798. +#endif
  53799. +#ifndef S_IXGRP
  53800. +# define S_IXGRP 0
  53801. +#endif
  53802. - windows)
  53803. - # Use '-' rather than '.', since we only want one
  53804. - # extension on DOS 8.3 filesystems.
  53805. - major=`expr $current - $age`
  53806. - versuffix="-$major"
  53807. - ;;
  53808. +#ifdef _MSC_VER
  53809. +# define S_IXUSR _S_IEXEC
  53810. +# define stat _stat
  53811. +# ifndef _INTPTR_T_DEFINED
  53812. +# define intptr_t int
  53813. +# endif
  53814. +#endif
  53815. - *)
  53816. - $echo "$modename: unknown library version type \`$version_type'" 1>&2
  53817. - $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
  53818. - exit $EXIT_FAILURE
  53819. - ;;
  53820. - esac
  53821. +#ifndef DIR_SEPARATOR
  53822. +# define DIR_SEPARATOR '/'
  53823. +# define PATH_SEPARATOR ':'
  53824. +#endif
  53825. - # Clear the version info if we defaulted, and they specified a release.
  53826. - if test -z "$vinfo" && test -n "$release"; then
  53827. - major=
  53828. - case $version_type in
  53829. - darwin)
  53830. - # we can't check for "0.0" in archive_cmds due to quoting
  53831. - # problems, so we reset it completely
  53832. - verstring=
  53833. - ;;
  53834. - *)
  53835. - verstring="0.0"
  53836. - ;;
  53837. - esac
  53838. - if test "$need_version" = no; then
  53839. - versuffix=
  53840. - else
  53841. - versuffix=".0.0"
  53842. - fi
  53843. - fi
  53844. +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  53845. + defined (__OS2__)
  53846. +# define HAVE_DOS_BASED_FILE_SYSTEM
  53847. +# define FOPEN_WB "wb"
  53848. +# ifndef DIR_SEPARATOR_2
  53849. +# define DIR_SEPARATOR_2 '\\'
  53850. +# endif
  53851. +# ifndef PATH_SEPARATOR_2
  53852. +# define PATH_SEPARATOR_2 ';'
  53853. +# endif
  53854. +#endif
  53855. - # Remove version info from name if versioning should be avoided
  53856. - if test "$avoid_version" = yes && test "$need_version" = no; then
  53857. - major=
  53858. - versuffix=
  53859. - verstring=""
  53860. - fi
  53861. +#ifndef DIR_SEPARATOR_2
  53862. +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  53863. +#else /* DIR_SEPARATOR_2 */
  53864. +# define IS_DIR_SEPARATOR(ch) \
  53865. + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  53866. +#endif /* DIR_SEPARATOR_2 */
  53867. - # Check to see if the archive will have undefined symbols.
  53868. - if test "$allow_undefined" = yes; then
  53869. - if test "$allow_undefined_flag" = unsupported; then
  53870. - $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
  53871. - build_libtool_libs=no
  53872. - build_old_libs=yes
  53873. - fi
  53874. - else
  53875. - # Don't allow undefined symbols.
  53876. - allow_undefined_flag="$no_undefined_flag"
  53877. - fi
  53878. - fi
  53879. +#ifndef PATH_SEPARATOR_2
  53880. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  53881. +#else /* PATH_SEPARATOR_2 */
  53882. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  53883. +#endif /* PATH_SEPARATOR_2 */
  53884. - if test "$mode" != relink; then
  53885. - # Remove our outputs, but don't remove object files since they
  53886. - # may have been created when compiling PIC objects.
  53887. - removelist=
  53888. - tempremovelist=`$echo "$output_objdir/*"`
  53889. - for p in $tempremovelist; do
  53890. - case $p in
  53891. - *.$objext)
  53892. - ;;
  53893. - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  53894. - if test "X$precious_files_regex" != "X"; then
  53895. - if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  53896. - then
  53897. - continue
  53898. - fi
  53899. - fi
  53900. - removelist="$removelist $p"
  53901. - ;;
  53902. - *) ;;
  53903. - esac
  53904. - done
  53905. - if test -n "$removelist"; then
  53906. - $show "${rm}r $removelist"
  53907. - $run ${rm}r $removelist
  53908. - fi
  53909. - fi
  53910. +#ifdef __CYGWIN__
  53911. +# define FOPEN_WB "wb"
  53912. +#endif
  53913. - # Now set the variables for building old libraries.
  53914. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  53915. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  53916. +#ifndef FOPEN_WB
  53917. +# define FOPEN_WB "w"
  53918. +#endif
  53919. +#ifndef _O_BINARY
  53920. +# define _O_BINARY 0
  53921. +#endif
  53922. - # Transform .lo files to .o files.
  53923. - oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  53924. - fi
  53925. +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  53926. +#define XFREE(stale) do { \
  53927. + if (stale) { free ((void *) stale); stale = 0; } \
  53928. +} while (0)
  53929. - # Eliminate all temporary directories.
  53930. - for path in $notinst_path; do
  53931. - lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
  53932. - deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
  53933. - dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
  53934. - done
  53935. +#undef LTWRAPPER_DEBUGPRINTF
  53936. +#if defined DEBUGWRAPPER
  53937. +# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  53938. +static void
  53939. +ltwrapper_debugprintf (const char *fmt, ...)
  53940. +{
  53941. + va_list args;
  53942. + va_start (args, fmt);
  53943. + (void) vfprintf (stderr, fmt, args);
  53944. + va_end (args);
  53945. +}
  53946. +#else
  53947. +# define LTWRAPPER_DEBUGPRINTF(args)
  53948. +#endif
  53949. - if test -n "$xrpath"; then
  53950. - # If the user specified any rpath flags, then add them.
  53951. - temp_xrpath=
  53952. - for libdir in $xrpath; do
  53953. - temp_xrpath="$temp_xrpath -R$libdir"
  53954. - case "$finalize_rpath " in
  53955. - *" $libdir "*) ;;
  53956. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  53957. - esac
  53958. - done
  53959. - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  53960. - dependency_libs="$temp_xrpath $dependency_libs"
  53961. - fi
  53962. - fi
  53963. +const char *program_name = NULL;
  53964. - # Make sure dlfiles contains only unique files that won't be dlpreopened
  53965. - old_dlfiles="$dlfiles"
  53966. - dlfiles=
  53967. - for lib in $old_dlfiles; do
  53968. - case " $dlprefiles $dlfiles " in
  53969. - *" $lib "*) ;;
  53970. - *) dlfiles="$dlfiles $lib" ;;
  53971. - esac
  53972. - done
  53973. +void *xmalloc (size_t num);
  53974. +char *xstrdup (const char *string);
  53975. +const char *base_name (const char *name);
  53976. +char *find_executable (const char *wrapper);
  53977. +char *chase_symlinks (const char *pathspec);
  53978. +int make_executable (const char *path);
  53979. +int check_executable (const char *path);
  53980. +char *strendzap (char *str, const char *pat);
  53981. +void lt_fatal (const char *message, ...);
  53982. +void lt_setenv (const char *name, const char *value);
  53983. +char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  53984. +void lt_opt_process_env_set (const char *arg);
  53985. +void lt_opt_process_env_prepend (const char *arg);
  53986. +void lt_opt_process_env_append (const char *arg);
  53987. +int lt_split_name_value (const char *arg, char** name, char** value);
  53988. +void lt_update_exe_path (const char *name, const char *value);
  53989. +void lt_update_lib_path (const char *name, const char *value);
  53990. - # Make sure dlprefiles contains only unique files
  53991. - old_dlprefiles="$dlprefiles"
  53992. - dlprefiles=
  53993. - for lib in $old_dlprefiles; do
  53994. - case "$dlprefiles " in
  53995. - *" $lib "*) ;;
  53996. - *) dlprefiles="$dlprefiles $lib" ;;
  53997. - esac
  53998. - done
  53999. +static const char *script_text_part1 =
  54000. +EOF
  54001. - if test "$build_libtool_libs" = yes; then
  54002. - if test -n "$rpath"; then
  54003. - case $host in
  54004. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
  54005. - # these systems don't actually have a c library (as such)!
  54006. - ;;
  54007. - *-*-rhapsody* | *-*-darwin1.[012])
  54008. - # Rhapsody C library is in the System framework
  54009. - deplibs="$deplibs -framework System"
  54010. - ;;
  54011. - *-*-netbsd*)
  54012. - # Don't link with libc until the a.out ld.so is fixed.
  54013. - ;;
  54014. - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  54015. - # Do not include libc due to us having libc/libc_r.
  54016. - ;;
  54017. - *-*-sco3.2v5* | *-*-sco5v6*)
  54018. - # Causes problems with __ctype
  54019. - ;;
  54020. - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  54021. - # Compiler inserts libc in the correct place for threads to work
  54022. - ;;
  54023. - *)
  54024. - # Add libc to deplibs on all other systems if necessary.
  54025. - if test "$build_libtool_need_lc" = "yes"; then
  54026. - deplibs="$deplibs -lc"
  54027. - fi
  54028. - ;;
  54029. - esac
  54030. - fi
  54031. + func_emit_wrapper_part1 yes |
  54032. + $SED -e 's/\([\\"]\)/\\\1/g' \
  54033. + -e 's/^/ "/' -e 's/$/\\n"/'
  54034. + echo ";"
  54035. + cat <<EOF
  54036. - # Transform deplibs into only deplibs that can be linked in shared.
  54037. - name_save=$name
  54038. - libname_save=$libname
  54039. - release_save=$release
  54040. - versuffix_save=$versuffix
  54041. - major_save=$major
  54042. - # I'm not sure if I'm treating the release correctly. I think
  54043. - # release should show up in the -l (ie -lgmp5) so we don't want to
  54044. - # add it in twice. Is that correct?
  54045. - release=""
  54046. - versuffix=""
  54047. - major=""
  54048. - newdeplibs=
  54049. - droppeddeps=no
  54050. - case $deplibs_check_method in
  54051. - pass_all)
  54052. - # Don't check for shared/static. Everything works.
  54053. - # This might be a little naive. We might want to check
  54054. - # whether the library exists or not. But this is on
  54055. - # osf3 & osf4 and I'm not really sure... Just
  54056. - # implementing what was already the behavior.
  54057. - newdeplibs=$deplibs
  54058. - ;;
  54059. - test_compile)
  54060. - # This code stresses the "libraries are programs" paradigm to its
  54061. - # limits. Maybe even breaks it. We compile a program, linking it
  54062. - # against the deplibs as a proxy for the library. Then we can check
  54063. - # whether they linked in statically or dynamically with ldd.
  54064. - $rm conftest.c
  54065. - cat > conftest.c <<EOF
  54066. - int main() { return 0; }
  54067. +static const char *script_text_part2 =
  54068. +EOF
  54069. + func_emit_wrapper_part2 yes |
  54070. + $SED -e 's/\([\\"]\)/\\\1/g' \
  54071. + -e 's/^/ "/' -e 's/$/\\n"/'
  54072. + echo ";"
  54073. +
  54074. + cat <<EOF
  54075. +const char * MAGIC_EXE = "$magic_exe";
  54076. +const char * LIB_PATH_VARNAME = "$shlibpath_var";
  54077. +EOF
  54078. +
  54079. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  54080. + func_to_host_pathlist "$temp_rpath"
  54081. + cat <<EOF
  54082. +const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  54083. EOF
  54084. - $rm conftest
  54085. - $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
  54086. - if test "$?" -eq 0 ; then
  54087. - ldd_output=`ldd conftest`
  54088. - for i in $deplibs; do
  54089. - name=`expr $i : '-l\(.*\)'`
  54090. - # If $name is empty we are operating on a -L argument.
  54091. - if test "$name" != "" && test "$name" -ne "0"; then
  54092. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54093. - case " $predeps $postdeps " in
  54094. - *" $i "*)
  54095. - newdeplibs="$newdeplibs $i"
  54096. - i=""
  54097. - ;;
  54098. - esac
  54099. - fi
  54100. - if test -n "$i" ; then
  54101. - libname=`eval \\$echo \"$libname_spec\"`
  54102. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  54103. - set dummy $deplib_matches
  54104. - deplib_match=$2
  54105. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  54106. - newdeplibs="$newdeplibs $i"
  54107. - else
  54108. - droppeddeps=yes
  54109. - $echo
  54110. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  54111. - $echo "*** I have the capability to make that library automatically link in when"
  54112. - $echo "*** you link to this library. But I can only do this if you have a"
  54113. - $echo "*** shared version of the library, which I believe you do not have"
  54114. - $echo "*** because a test_compile did reveal that the linker did not use it for"
  54115. - $echo "*** its dynamic dependency list that programs get resolved with at runtime."
  54116. - fi
  54117. - fi
  54118. - else
  54119. - newdeplibs="$newdeplibs $i"
  54120. - fi
  54121. - done
  54122. - else
  54123. - # Error occurred in the first compile. Let's try to salvage
  54124. - # the situation: Compile a separate program for each library.
  54125. - for i in $deplibs; do
  54126. - name=`expr $i : '-l\(.*\)'`
  54127. - # If $name is empty we are operating on a -L argument.
  54128. - if test "$name" != "" && test "$name" != "0"; then
  54129. - $rm conftest
  54130. - $LTCC $LTCFLAGS -o conftest conftest.c $i
  54131. - # Did it work?
  54132. - if test "$?" -eq 0 ; then
  54133. - ldd_output=`ldd conftest`
  54134. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54135. - case " $predeps $postdeps " in
  54136. - *" $i "*)
  54137. - newdeplibs="$newdeplibs $i"
  54138. - i=""
  54139. - ;;
  54140. - esac
  54141. - fi
  54142. - if test -n "$i" ; then
  54143. - libname=`eval \\$echo \"$libname_spec\"`
  54144. - deplib_matches=`eval \\$echo \"$library_names_spec\"`
  54145. - set dummy $deplib_matches
  54146. - deplib_match=$2
  54147. - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  54148. - newdeplibs="$newdeplibs $i"
  54149. - else
  54150. - droppeddeps=yes
  54151. - $echo
  54152. - $echo "*** Warning: dynamic linker does not accept needed library $i."
  54153. - $echo "*** I have the capability to make that library automatically link in when"
  54154. - $echo "*** you link to this library. But I can only do this if you have a"
  54155. - $echo "*** shared version of the library, which you do not appear to have"
  54156. - $echo "*** because a test_compile did reveal that the linker did not use this one"
  54157. - $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  54158. - fi
  54159. - fi
  54160. - else
  54161. - droppeddeps=yes
  54162. - $echo
  54163. - $echo "*** Warning! Library $i is needed by this library but I was not able to"
  54164. - $echo "*** make it link in! You will probably need to install it or some"
  54165. - $echo "*** library that it depends on before this library will be fully"
  54166. - $echo "*** functional. Installing it before continuing would be even better."
  54167. - fi
  54168. - else
  54169. - newdeplibs="$newdeplibs $i"
  54170. - fi
  54171. - done
  54172. - fi
  54173. - ;;
  54174. - file_magic*)
  54175. - set dummy $deplibs_check_method
  54176. - file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  54177. - for a_deplib in $deplibs; do
  54178. - name=`expr $a_deplib : '-l\(.*\)'`
  54179. - # If $name is empty we are operating on a -L argument.
  54180. - if test "$name" != "" && test "$name" != "0"; then
  54181. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54182. - case " $predeps $postdeps " in
  54183. - *" $a_deplib "*)
  54184. - newdeplibs="$newdeplibs $a_deplib"
  54185. - a_deplib=""
  54186. - ;;
  54187. - esac
  54188. - fi
  54189. - if test -n "$a_deplib" ; then
  54190. - libname=`eval \\$echo \"$libname_spec\"`
  54191. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  54192. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  54193. - for potent_lib in $potential_libs; do
  54194. - # Follow soft links.
  54195. - if ls -lLd "$potent_lib" 2>/dev/null \
  54196. - | grep " -> " >/dev/null; then
  54197. - continue
  54198. - fi
  54199. - # The statement above tries to avoid entering an
  54200. - # endless loop below, in case of cyclic links.
  54201. - # We might still enter an endless loop, since a link
  54202. - # loop can be closed while we follow links,
  54203. - # but so what?
  54204. - potlib="$potent_lib"
  54205. - while test -h "$potlib" 2>/dev/null; do
  54206. - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  54207. - case $potliblink in
  54208. - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  54209. - *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  54210. - esac
  54211. - done
  54212. - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
  54213. - | ${SED} 10q \
  54214. - | $EGREP "$file_magic_regex" > /dev/null; then
  54215. - newdeplibs="$newdeplibs $a_deplib"
  54216. - a_deplib=""
  54217. - break 2
  54218. - fi
  54219. - done
  54220. - done
  54221. - fi
  54222. - if test -n "$a_deplib" ; then
  54223. - droppeddeps=yes
  54224. - $echo
  54225. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  54226. - $echo "*** I have the capability to make that library automatically link in when"
  54227. - $echo "*** you link to this library. But I can only do this if you have a"
  54228. - $echo "*** shared version of the library, which you do not appear to have"
  54229. - $echo "*** because I did check the linker path looking for a file starting"
  54230. - if test -z "$potlib" ; then
  54231. - $echo "*** with $libname but no candidates were found. (...for file magic test)"
  54232. - else
  54233. - $echo "*** with $libname and none of the candidates passed a file format test"
  54234. - $echo "*** using a file magic. Last file checked: $potlib"
  54235. - fi
  54236. - fi
  54237. else
  54238. - # Add a -L argument.
  54239. - newdeplibs="$newdeplibs $a_deplib"
  54240. + cat <<"EOF"
  54241. +const char * LIB_PATH_VALUE = "";
  54242. +EOF
  54243. fi
  54244. - done # Gone through all deplibs.
  54245. - ;;
  54246. - match_pattern*)
  54247. - set dummy $deplibs_check_method
  54248. - match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
  54249. - for a_deplib in $deplibs; do
  54250. - name=`expr $a_deplib : '-l\(.*\)'`
  54251. - # If $name is empty we are operating on a -L argument.
  54252. - if test -n "$name" && test "$name" != "0"; then
  54253. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54254. - case " $predeps $postdeps " in
  54255. - *" $a_deplib "*)
  54256. - newdeplibs="$newdeplibs $a_deplib"
  54257. - a_deplib=""
  54258. - ;;
  54259. - esac
  54260. - fi
  54261. - if test -n "$a_deplib" ; then
  54262. - libname=`eval \\$echo \"$libname_spec\"`
  54263. - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  54264. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  54265. - for potent_lib in $potential_libs; do
  54266. - potlib="$potent_lib" # see symlink-check above in file_magic test
  54267. - if eval $echo \"$potent_lib\" 2>/dev/null \
  54268. - | ${SED} 10q \
  54269. - | $EGREP "$match_pattern_regex" > /dev/null; then
  54270. - newdeplibs="$newdeplibs $a_deplib"
  54271. - a_deplib=""
  54272. - break 2
  54273. - fi
  54274. - done
  54275. - done
  54276. - fi
  54277. - if test -n "$a_deplib" ; then
  54278. - droppeddeps=yes
  54279. - $echo
  54280. - $echo "*** Warning: linker path does not have real file for library $a_deplib."
  54281. - $echo "*** I have the capability to make that library automatically link in when"
  54282. - $echo "*** you link to this library. But I can only do this if you have a"
  54283. - $echo "*** shared version of the library, which you do not appear to have"
  54284. - $echo "*** because I did check the linker path looking for a file starting"
  54285. - if test -z "$potlib" ; then
  54286. - $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
  54287. - else
  54288. - $echo "*** with $libname and none of the candidates passed a file format test"
  54289. - $echo "*** using a regex pattern. Last file checked: $potlib"
  54290. - fi
  54291. - fi
  54292. +
  54293. + if test -n "$dllsearchpath"; then
  54294. + func_to_host_pathlist "$dllsearchpath:"
  54295. + cat <<EOF
  54296. +const char * EXE_PATH_VARNAME = "PATH";
  54297. +const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  54298. +EOF
  54299. else
  54300. - # Add a -L argument.
  54301. - newdeplibs="$newdeplibs $a_deplib"
  54302. + cat <<"EOF"
  54303. +const char * EXE_PATH_VARNAME = "";
  54304. +const char * EXE_PATH_VALUE = "";
  54305. +EOF
  54306. fi
  54307. - done # Gone through all deplibs.
  54308. - ;;
  54309. - none | unknown | *)
  54310. - newdeplibs=""
  54311. - tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
  54312. - -e 's/ -[LR][^ ]*//g'`
  54313. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  54314. - for i in $predeps $postdeps ; do
  54315. - # can't use Xsed below, because $i might contain '/'
  54316. - tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
  54317. - done
  54318. - fi
  54319. - if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
  54320. - | grep . >/dev/null; then
  54321. - $echo
  54322. - if test "X$deplibs_check_method" = "Xnone"; then
  54323. - $echo "*** Warning: inter-library dependencies are not supported in this platform."
  54324. +
  54325. + if test "$fast_install" = yes; then
  54326. + cat <<EOF
  54327. +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  54328. +EOF
  54329. else
  54330. - $echo "*** Warning: inter-library dependencies are not known to be supported."
  54331. + cat <<EOF
  54332. +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
  54333. +EOF
  54334. fi
  54335. - $echo "*** All declared inter-library dependencies are being dropped."
  54336. - droppeddeps=yes
  54337. - fi
  54338. - ;;
  54339. - esac
  54340. - versuffix=$versuffix_save
  54341. - major=$major_save
  54342. - release=$release_save
  54343. - libname=$libname_save
  54344. - name=$name_save
  54345. - case $host in
  54346. - *-*-rhapsody* | *-*-darwin1.[012])
  54347. - # On Rhapsody replace the C library is the System framework
  54348. - newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
  54349. - ;;
  54350. - esac
  54351. - if test "$droppeddeps" = yes; then
  54352. - if test "$module" = yes; then
  54353. - $echo
  54354. - $echo "*** Warning: libtool could not satisfy all declared inter-library"
  54355. - $echo "*** dependencies of module $libname. Therefore, libtool will create"
  54356. - $echo "*** a static module, that should work as long as the dlopening"
  54357. - $echo "*** application is linked with the -dlopen flag."
  54358. - if test -z "$global_symbol_pipe"; then
  54359. - $echo
  54360. - $echo "*** However, this would only work if libtool was able to extract symbol"
  54361. - $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  54362. - $echo "*** not find such a program. So, this module is probably useless."
  54363. - $echo "*** \`nm' from GNU binutils and a full rebuild may help."
  54364. - fi
  54365. - if test "$build_old_libs" = no; then
  54366. - oldlibs="$output_objdir/$libname.$libext"
  54367. - build_libtool_libs=module
  54368. - build_old_libs=yes
  54369. - else
  54370. - build_libtool_libs=no
  54371. - fi
  54372. - else
  54373. - $echo "*** The inter-library dependencies that have been dropped here will be"
  54374. - $echo "*** automatically added whenever a program is linked with this library"
  54375. - $echo "*** or is declared to -dlopen it."
  54376. + cat <<"EOF"
  54377. - if test "$allow_undefined" = no; then
  54378. - $echo
  54379. - $echo "*** Since this library must not contain undefined symbols,"
  54380. - $echo "*** because either the platform does not support them or"
  54381. - $echo "*** it was explicitly requested with -no-undefined,"
  54382. - $echo "*** libtool will only create a static version of it."
  54383. - if test "$build_old_libs" = no; then
  54384. - oldlibs="$output_objdir/$libname.$libext"
  54385. - build_libtool_libs=module
  54386. - build_old_libs=yes
  54387. - else
  54388. - build_libtool_libs=no
  54389. - fi
  54390. - fi
  54391. - fi
  54392. - fi
  54393. - # Done checking deplibs!
  54394. - deplibs=$newdeplibs
  54395. - fi
  54396. +#define LTWRAPPER_OPTION_PREFIX "--lt-"
  54397. +#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  54398. +static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  54399. +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  54400. - # move library search paths that coincide with paths to not yet
  54401. - # installed libraries to the beginning of the library search list
  54402. - new_libs=
  54403. - for path in $notinst_path; do
  54404. - case " $new_libs " in
  54405. - *" -L$path/$objdir "*) ;;
  54406. - *)
  54407. - case " $deplibs " in
  54408. - *" -L$path/$objdir "*)
  54409. - new_libs="$new_libs -L$path/$objdir" ;;
  54410. - esac
  54411. - ;;
  54412. - esac
  54413. - done
  54414. - for deplib in $deplibs; do
  54415. - case $deplib in
  54416. - -L*)
  54417. - case " $new_libs " in
  54418. - *" $deplib "*) ;;
  54419. - *) new_libs="$new_libs $deplib" ;;
  54420. - esac
  54421. - ;;
  54422. - *) new_libs="$new_libs $deplib" ;;
  54423. - esac
  54424. - done
  54425. - deplibs="$new_libs"
  54426. +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  54427. +static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  54428. +static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  54429. + /* argument is putenv-style "foo=bar", value of foo is set to bar */
  54430. - # All the library-specific variables (install_libdir is set above).
  54431. - library_names=
  54432. - old_library=
  54433. - dlname=
  54434. +static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  54435. +static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  54436. + /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  54437. - # Test again, we may have decided not to build it any more
  54438. - if test "$build_libtool_libs" = yes; then
  54439. - if test "$hardcode_into_libs" = yes; then
  54440. - # Hardcode the library paths
  54441. - hardcode_libdirs=
  54442. - dep_rpath=
  54443. - rpath="$finalize_rpath"
  54444. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  54445. - for libdir in $rpath; do
  54446. - if test -n "$hardcode_libdir_flag_spec"; then
  54447. - if test -n "$hardcode_libdir_separator"; then
  54448. - if test -z "$hardcode_libdirs"; then
  54449. - hardcode_libdirs="$libdir"
  54450. - else
  54451. - # Just accumulate the unique libdirs.
  54452. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  54453. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  54454. - ;;
  54455. - *)
  54456. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  54457. - ;;
  54458. - esac
  54459. - fi
  54460. - else
  54461. - eval flag=\"$hardcode_libdir_flag_spec\"
  54462. - dep_rpath="$dep_rpath $flag"
  54463. - fi
  54464. - elif test -n "$runpath_var"; then
  54465. - case "$perm_rpath " in
  54466. - *" $libdir "*) ;;
  54467. - *) perm_rpath="$perm_rpath $libdir" ;;
  54468. - esac
  54469. - fi
  54470. - done
  54471. - # Substitute the hardcoded libdirs into the rpath.
  54472. - if test -n "$hardcode_libdir_separator" &&
  54473. - test -n "$hardcode_libdirs"; then
  54474. - libdir="$hardcode_libdirs"
  54475. - if test -n "$hardcode_libdir_flag_spec_ld"; then
  54476. - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  54477. - else
  54478. - eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  54479. - fi
  54480. - fi
  54481. - if test -n "$runpath_var" && test -n "$perm_rpath"; then
  54482. - # We should set the runpath_var.
  54483. - rpath=
  54484. - for dir in $perm_rpath; do
  54485. - rpath="$rpath$dir:"
  54486. - done
  54487. - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  54488. - fi
  54489. - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  54490. - fi
  54491. +static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  54492. +static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  54493. + /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  54494. - shlibpath="$finalize_shlibpath"
  54495. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  54496. - if test -n "$shlibpath"; then
  54497. - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  54498. - fi
  54499. +int
  54500. +main (int argc, char *argv[])
  54501. +{
  54502. + char **newargz;
  54503. + int newargc;
  54504. + char *tmp_pathspec;
  54505. + char *actual_cwrapper_path;
  54506. + char *actual_cwrapper_name;
  54507. + char *target_name;
  54508. + char *lt_argv_zero;
  54509. + intptr_t rval = 127;
  54510. - # Get the real and link names of the library.
  54511. - eval shared_ext=\"$shrext_cmds\"
  54512. - eval library_names=\"$library_names_spec\"
  54513. - set dummy $library_names
  54514. - realname="$2"
  54515. - shift; shift
  54516. + int i;
  54517. - if test -n "$soname_spec"; then
  54518. - eval soname=\"$soname_spec\"
  54519. - else
  54520. - soname="$realname"
  54521. - fi
  54522. - if test -z "$dlname"; then
  54523. - dlname=$soname
  54524. - fi
  54525. + program_name = (char *) xstrdup (base_name (argv[0]));
  54526. + LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  54527. + LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  54528. - lib="$output_objdir/$realname"
  54529. - linknames=
  54530. - for link
  54531. - do
  54532. - linknames="$linknames $link"
  54533. - done
  54534. + /* very simple arg parsing; don't want to rely on getopt */
  54535. + for (i = 1; i < argc; i++)
  54536. + {
  54537. + if (strcmp (argv[i], dumpscript_opt) == 0)
  54538. + {
  54539. +EOF
  54540. + case "$host" in
  54541. + *mingw* | *cygwin* )
  54542. + # make stdout use "unix" line endings
  54543. + echo " setmode(1,_O_BINARY);"
  54544. + ;;
  54545. + esac
  54546. - # Use standard objects if they are pic
  54547. - test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  54548. + cat <<"EOF"
  54549. + printf ("%s", script_text_part1);
  54550. + printf ("%s", script_text_part2);
  54551. + return 0;
  54552. + }
  54553. + }
  54554. - # Prepare the list of exported symbols
  54555. - if test -z "$export_symbols"; then
  54556. - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  54557. - $show "generating symbol list for \`$libname.la'"
  54558. - export_symbols="$output_objdir/$libname.exp"
  54559. - $run $rm $export_symbols
  54560. - cmds=$export_symbols_cmds
  54561. - save_ifs="$IFS"; IFS='~'
  54562. - for cmd in $cmds; do
  54563. - IFS="$save_ifs"
  54564. - eval cmd=\"$cmd\"
  54565. - if len=`expr "X$cmd" : ".*"` &&
  54566. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  54567. - $show "$cmd"
  54568. - $run eval "$cmd" || exit $?
  54569. - skipped_export=false
  54570. - else
  54571. - # The command line is too long to execute in one step.
  54572. - $show "using reloadable object file for export list..."
  54573. - skipped_export=:
  54574. - # Break out early, otherwise skipped_export may be
  54575. - # set to false by a later but shorter cmd.
  54576. - break
  54577. - fi
  54578. - done
  54579. - IFS="$save_ifs"
  54580. - if test -n "$export_symbols_regex"; then
  54581. - $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
  54582. - $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  54583. - $show "$mv \"${export_symbols}T\" \"$export_symbols\""
  54584. - $run eval '$mv "${export_symbols}T" "$export_symbols"'
  54585. - fi
  54586. - fi
  54587. - fi
  54588. + newargz = XMALLOC (char *, argc + 1);
  54589. + tmp_pathspec = find_executable (argv[0]);
  54590. + if (tmp_pathspec == NULL)
  54591. + lt_fatal ("Couldn't find %s", argv[0]);
  54592. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  54593. + tmp_pathspec));
  54594. +
  54595. + actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  54596. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  54597. + actual_cwrapper_path));
  54598. + XFREE (tmp_pathspec);
  54599. +
  54600. + actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  54601. + strendzap (actual_cwrapper_path, actual_cwrapper_name);
  54602. +
  54603. + /* wrapper name transforms */
  54604. + strendzap (actual_cwrapper_name, ".exe");
  54605. + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
  54606. + XFREE (actual_cwrapper_name);
  54607. + actual_cwrapper_name = tmp_pathspec;
  54608. + tmp_pathspec = 0;
  54609. +
  54610. + /* target_name transforms -- use actual target program name; might have lt- prefix */
  54611. + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
  54612. + strendzap (target_name, ".exe");
  54613. + tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
  54614. + XFREE (target_name);
  54615. + target_name = tmp_pathspec;
  54616. + tmp_pathspec = 0;
  54617. - if test -n "$export_symbols" && test -n "$include_expsyms"; then
  54618. - $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
  54619. - fi
  54620. + LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  54621. + target_name));
  54622. +EOF
  54623. - tmp_deplibs=
  54624. - for test_deplib in $deplibs; do
  54625. - case " $convenience " in
  54626. - *" $test_deplib "*) ;;
  54627. - *)
  54628. - tmp_deplibs="$tmp_deplibs $test_deplib"
  54629. - ;;
  54630. - esac
  54631. - done
  54632. - deplibs="$tmp_deplibs"
  54633. + cat <<EOF
  54634. + newargz[0] =
  54635. + XMALLOC (char, (strlen (actual_cwrapper_path) +
  54636. + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
  54637. + strcpy (newargz[0], actual_cwrapper_path);
  54638. + strcat (newargz[0], "$objdir");
  54639. + strcat (newargz[0], "/");
  54640. +EOF
  54641. - if test -n "$convenience"; then
  54642. - if test -n "$whole_archive_flag_spec"; then
  54643. - save_libobjs=$libobjs
  54644. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  54645. - else
  54646. - gentop="$output_objdir/${outputname}x"
  54647. - generated="$generated $gentop"
  54648. + cat <<"EOF"
  54649. + /* stop here, and copy so we don't have to do this twice */
  54650. + tmp_pathspec = xstrdup (newargz[0]);
  54651. +
  54652. + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
  54653. + strcat (newargz[0], actual_cwrapper_name);
  54654. +
  54655. + /* DO want the lt- prefix here if it exists, so use target_name */
  54656. + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
  54657. + XFREE (tmp_pathspec);
  54658. + tmp_pathspec = NULL;
  54659. +EOF
  54660. - func_extract_archives $gentop $convenience
  54661. - libobjs="$libobjs $func_extract_archives_result"
  54662. - fi
  54663. - fi
  54664. -
  54665. - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  54666. - eval flag=\"$thread_safe_flag_spec\"
  54667. - linker_flags="$linker_flags $flag"
  54668. - fi
  54669. + case $host_os in
  54670. + mingw*)
  54671. + cat <<"EOF"
  54672. + {
  54673. + char* p;
  54674. + while ((p = strchr (newargz[0], '\\')) != NULL)
  54675. + {
  54676. + *p = '/';
  54677. + }
  54678. + while ((p = strchr (lt_argv_zero, '\\')) != NULL)
  54679. + {
  54680. + *p = '/';
  54681. + }
  54682. + }
  54683. +EOF
  54684. + ;;
  54685. + esac
  54686. - # Make a backup of the uninstalled library when relinking
  54687. - if test "$mode" = relink; then
  54688. - $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
  54689. - fi
  54690. + cat <<"EOF"
  54691. + XFREE (target_name);
  54692. + XFREE (actual_cwrapper_path);
  54693. + XFREE (actual_cwrapper_name);
  54694. +
  54695. + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  54696. + lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  54697. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  54698. + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  54699. - # Do each of the archive commands.
  54700. - if test "$module" = yes && test -n "$module_cmds" ; then
  54701. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  54702. - eval test_cmds=\"$module_expsym_cmds\"
  54703. - cmds=$module_expsym_cmds
  54704. - else
  54705. - eval test_cmds=\"$module_cmds\"
  54706. - cmds=$module_cmds
  54707. - fi
  54708. - else
  54709. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  54710. - eval test_cmds=\"$archive_expsym_cmds\"
  54711. - cmds=$archive_expsym_cmds
  54712. - else
  54713. - eval test_cmds=\"$archive_cmds\"
  54714. - cmds=$archive_cmds
  54715. - fi
  54716. - fi
  54717. + newargc=0;
  54718. + for (i = 1; i < argc; i++)
  54719. + {
  54720. + if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  54721. + {
  54722. + if (argv[i][env_set_opt_len] == '=')
  54723. + {
  54724. + const char *p = argv[i] + env_set_opt_len + 1;
  54725. + lt_opt_process_env_set (p);
  54726. + }
  54727. + else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  54728. + {
  54729. + lt_opt_process_env_set (argv[++i]); /* don't copy */
  54730. + }
  54731. + else
  54732. + lt_fatal ("%s missing required argument", env_set_opt);
  54733. + continue;
  54734. + }
  54735. + if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  54736. + {
  54737. + if (argv[i][env_prepend_opt_len] == '=')
  54738. + {
  54739. + const char *p = argv[i] + env_prepend_opt_len + 1;
  54740. + lt_opt_process_env_prepend (p);
  54741. + }
  54742. + else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  54743. + {
  54744. + lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  54745. + }
  54746. + else
  54747. + lt_fatal ("%s missing required argument", env_prepend_opt);
  54748. + continue;
  54749. + }
  54750. + if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  54751. + {
  54752. + if (argv[i][env_append_opt_len] == '=')
  54753. + {
  54754. + const char *p = argv[i] + env_append_opt_len + 1;
  54755. + lt_opt_process_env_append (p);
  54756. + }
  54757. + else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  54758. + {
  54759. + lt_opt_process_env_append (argv[++i]); /* don't copy */
  54760. + }
  54761. + else
  54762. + lt_fatal ("%s missing required argument", env_append_opt);
  54763. + continue;
  54764. + }
  54765. + if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  54766. + {
  54767. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  54768. + namespace, but it is not one of the ones we know about and
  54769. + have already dealt with, above (inluding dump-script), then
  54770. + report an error. Otherwise, targets might begin to believe
  54771. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  54772. + namespace. The first time any user complains about this, we'll
  54773. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  54774. + or a configure.ac-settable value.
  54775. + */
  54776. + lt_fatal ("Unrecognized option in %s namespace: '%s'",
  54777. + ltwrapper_option_prefix, argv[i]);
  54778. + }
  54779. + /* otherwise ... */
  54780. + newargz[++newargc] = xstrdup (argv[i]);
  54781. + }
  54782. + newargz[++newargc] = NULL;
  54783. - if test "X$skipped_export" != "X:" &&
  54784. - len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  54785. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  54786. - :
  54787. - else
  54788. - # The command line is too long to link in one step, link piecewise.
  54789. - $echo "creating reloadable object files..."
  54790. + LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  54791. + for (i = 0; i < newargc; i++)
  54792. + {
  54793. + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  54794. + }
  54795. - # Save the value of $output and $libobjs because we want to
  54796. - # use them later. If we have whole_archive_flag_spec, we
  54797. - # want to use save_libobjs as it was before
  54798. - # whole_archive_flag_spec was expanded, because we can't
  54799. - # assume the linker understands whole_archive_flag_spec.
  54800. - # This may have to be revisited, in case too many
  54801. - # convenience libraries get linked in and end up exceeding
  54802. - # the spec.
  54803. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  54804. - save_libobjs=$libobjs
  54805. - fi
  54806. - save_output=$output
  54807. - output_la=`$echo "X$output" | $Xsed -e "$basename"`
  54808. +EOF
  54809. - # Clear the reloadable object creation command queue and
  54810. - # initialize k to one.
  54811. - test_cmds=
  54812. - concat_cmds=
  54813. - objlist=
  54814. - delfiles=
  54815. - last_robj=
  54816. - k=1
  54817. - output=$output_objdir/$output_la-${k}.$objext
  54818. - # Loop over the list of objects to be linked.
  54819. - for obj in $save_libobjs
  54820. - do
  54821. - eval test_cmds=\"$reload_cmds $objlist $last_robj\"
  54822. - if test "X$objlist" = X ||
  54823. - { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  54824. - test "$len" -le "$max_cmd_len"; }; then
  54825. - objlist="$objlist $obj"
  54826. - else
  54827. - # The command $test_cmds is almost too long, add a
  54828. - # command to the queue.
  54829. - if test "$k" -eq 1 ; then
  54830. - # The first file doesn't have a previous command to add.
  54831. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  54832. - else
  54833. - # All subsequent reloadable object files will link in
  54834. - # the last one created.
  54835. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
  54836. - fi
  54837. - last_robj=$output_objdir/$output_la-${k}.$objext
  54838. - k=`expr $k + 1`
  54839. - output=$output_objdir/$output_la-${k}.$objext
  54840. - objlist=$obj
  54841. - len=1
  54842. - fi
  54843. - done
  54844. - # Handle the remaining objects by creating one last
  54845. - # reloadable object file. All subsequent reloadable object
  54846. - # files will link in the last one created.
  54847. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  54848. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  54849. + case $host_os in
  54850. + mingw*)
  54851. + cat <<"EOF"
  54852. + /* execv doesn't actually work on mingw as expected on unix */
  54853. + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  54854. + if (rval == -1)
  54855. + {
  54856. + /* failed to start process */
  54857. + LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  54858. + return 127;
  54859. + }
  54860. + return rval;
  54861. +EOF
  54862. + ;;
  54863. + *)
  54864. + cat <<"EOF"
  54865. + execv (lt_argv_zero, newargz);
  54866. + return rval; /* =127, but avoids unused variable warning */
  54867. +EOF
  54868. + ;;
  54869. + esac
  54870. - if ${skipped_export-false}; then
  54871. - $show "generating symbol list for \`$libname.la'"
  54872. - export_symbols="$output_objdir/$libname.exp"
  54873. - $run $rm $export_symbols
  54874. - libobjs=$output
  54875. - # Append the command to create the export file.
  54876. - eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
  54877. - fi
  54878. -
  54879. - # Set up a command to remove the reloadable object files
  54880. - # after they are used.
  54881. - i=0
  54882. - while test "$i" -lt "$k"
  54883. - do
  54884. - i=`expr $i + 1`
  54885. - delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
  54886. - done
  54887. + cat <<"EOF"
  54888. +}
  54889. - $echo "creating a temporary reloadable object file: $output"
  54890. +void *
  54891. +xmalloc (size_t num)
  54892. +{
  54893. + void *p = (void *) malloc (num);
  54894. + if (!p)
  54895. + lt_fatal ("Memory exhausted");
  54896. - # Loop through the commands generated above and execute them.
  54897. - save_ifs="$IFS"; IFS='~'
  54898. - for cmd in $concat_cmds; do
  54899. - IFS="$save_ifs"
  54900. - $show "$cmd"
  54901. - $run eval "$cmd" || exit $?
  54902. - done
  54903. - IFS="$save_ifs"
  54904. + return p;
  54905. +}
  54906. - libobjs=$output
  54907. - # Restore the value of output.
  54908. - output=$save_output
  54909. +char *
  54910. +xstrdup (const char *string)
  54911. +{
  54912. + return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
  54913. + string) : NULL;
  54914. +}
  54915. - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  54916. - eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  54917. - fi
  54918. - # Expand the library linking commands again to reset the
  54919. - # value of $libobjs for piecewise linking.
  54920. +const char *
  54921. +base_name (const char *name)
  54922. +{
  54923. + const char *base;
  54924. - # Do each of the archive commands.
  54925. - if test "$module" = yes && test -n "$module_cmds" ; then
  54926. - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  54927. - cmds=$module_expsym_cmds
  54928. - else
  54929. - cmds=$module_cmds
  54930. - fi
  54931. - else
  54932. - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  54933. - cmds=$archive_expsym_cmds
  54934. - else
  54935. - cmds=$archive_cmds
  54936. - fi
  54937. - fi
  54938. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  54939. + /* Skip over the disk name in MSDOS pathnames. */
  54940. + if (isalpha ((unsigned char) name[0]) && name[1] == ':')
  54941. + name += 2;
  54942. +#endif
  54943. - # Append the command to remove the reloadable object files
  54944. - # to the just-reset $cmds.
  54945. - eval cmds=\"\$cmds~\$rm $delfiles\"
  54946. - fi
  54947. - save_ifs="$IFS"; IFS='~'
  54948. - for cmd in $cmds; do
  54949. - IFS="$save_ifs"
  54950. - eval cmd=\"$cmd\"
  54951. - $show "$cmd"
  54952. - $run eval "$cmd" || {
  54953. - lt_exit=$?
  54954. + for (base = name; *name; name++)
  54955. + if (IS_DIR_SEPARATOR (*name))
  54956. + base = name + 1;
  54957. + return base;
  54958. +}
  54959. - # Restore the uninstalled library and exit
  54960. - if test "$mode" = relink; then
  54961. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  54962. - fi
  54963. +int
  54964. +check_executable (const char *path)
  54965. +{
  54966. + struct stat st;
  54967. - exit $lt_exit
  54968. - }
  54969. - done
  54970. - IFS="$save_ifs"
  54971. + LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  54972. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  54973. + if ((!path) || (!*path))
  54974. + return 0;
  54975. - # Restore the uninstalled library and exit
  54976. - if test "$mode" = relink; then
  54977. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
  54978. + if ((stat (path, &st) >= 0)
  54979. + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
  54980. + return 1;
  54981. + else
  54982. + return 0;
  54983. +}
  54984. - if test -n "$convenience"; then
  54985. - if test -z "$whole_archive_flag_spec"; then
  54986. - $show "${rm}r $gentop"
  54987. - $run ${rm}r "$gentop"
  54988. - fi
  54989. - fi
  54990. +int
  54991. +make_executable (const char *path)
  54992. +{
  54993. + int rval = 0;
  54994. + struct stat st;
  54995. - exit $EXIT_SUCCESS
  54996. - fi
  54997. + LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  54998. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  54999. + if ((!path) || (!*path))
  55000. + return 0;
  55001. - # Create links to the real library.
  55002. - for linkname in $linknames; do
  55003. - if test "$realname" != "$linkname"; then
  55004. - $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
  55005. - $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
  55006. - fi
  55007. - done
  55008. + if (stat (path, &st) >= 0)
  55009. + {
  55010. + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
  55011. + }
  55012. + return rval;
  55013. +}
  55014. - # If -module or -export-dynamic was specified, set the dlname.
  55015. - if test "$module" = yes || test "$export_dynamic" = yes; then
  55016. - # On all known operating systems, these are identical.
  55017. - dlname="$soname"
  55018. - fi
  55019. - fi
  55020. - ;;
  55021. +/* Searches for the full path of the wrapper. Returns
  55022. + newly allocated full path name if found, NULL otherwise
  55023. + Does not chase symlinks, even on platforms that support them.
  55024. +*/
  55025. +char *
  55026. +find_executable (const char *wrapper)
  55027. +{
  55028. + int has_slash = 0;
  55029. + const char *p;
  55030. + const char *p_next;
  55031. + /* static buffer for getcwd */
  55032. + char tmp[LT_PATHMAX + 1];
  55033. + int tmp_len;
  55034. + char *concat_name;
  55035. - obj)
  55036. - if test -n "$deplibs"; then
  55037. - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
  55038. - fi
  55039. + LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  55040. + wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  55041. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  55042. - $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
  55043. - fi
  55044. + if ((wrapper == NULL) || (*wrapper == '\0'))
  55045. + return NULL;
  55046. - if test -n "$rpath"; then
  55047. - $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
  55048. - fi
  55049. + /* Absolute path? */
  55050. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  55051. + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
  55052. + {
  55053. + concat_name = xstrdup (wrapper);
  55054. + if (check_executable (concat_name))
  55055. + return concat_name;
  55056. + XFREE (concat_name);
  55057. + }
  55058. + else
  55059. + {
  55060. +#endif
  55061. + if (IS_DIR_SEPARATOR (wrapper[0]))
  55062. + {
  55063. + concat_name = xstrdup (wrapper);
  55064. + if (check_executable (concat_name))
  55065. + return concat_name;
  55066. + XFREE (concat_name);
  55067. + }
  55068. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  55069. + }
  55070. +#endif
  55071. - if test -n "$xrpath"; then
  55072. - $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
  55073. - fi
  55074. + for (p = wrapper; *p; p++)
  55075. + if (*p == '/')
  55076. + {
  55077. + has_slash = 1;
  55078. + break;
  55079. + }
  55080. + if (!has_slash)
  55081. + {
  55082. + /* no slashes; search PATH */
  55083. + const char *path = getenv ("PATH");
  55084. + if (path != NULL)
  55085. + {
  55086. + for (p = path; *p; p = p_next)
  55087. + {
  55088. + const char *q;
  55089. + size_t p_len;
  55090. + for (q = p; *q; q++)
  55091. + if (IS_PATH_SEPARATOR (*q))
  55092. + break;
  55093. + p_len = q - p;
  55094. + p_next = (*q == '\0' ? q : q + 1);
  55095. + if (p_len == 0)
  55096. + {
  55097. + /* empty path: current directory */
  55098. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  55099. + lt_fatal ("getcwd failed");
  55100. + tmp_len = strlen (tmp);
  55101. + concat_name =
  55102. + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  55103. + memcpy (concat_name, tmp, tmp_len);
  55104. + concat_name[tmp_len] = '/';
  55105. + strcpy (concat_name + tmp_len + 1, wrapper);
  55106. + }
  55107. + else
  55108. + {
  55109. + concat_name =
  55110. + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
  55111. + memcpy (concat_name, p, p_len);
  55112. + concat_name[p_len] = '/';
  55113. + strcpy (concat_name + p_len + 1, wrapper);
  55114. + }
  55115. + if (check_executable (concat_name))
  55116. + return concat_name;
  55117. + XFREE (concat_name);
  55118. + }
  55119. + }
  55120. + /* not found in PATH; assume curdir */
  55121. + }
  55122. + /* Relative path | not found in path: prepend cwd */
  55123. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  55124. + lt_fatal ("getcwd failed");
  55125. + tmp_len = strlen (tmp);
  55126. + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  55127. + memcpy (concat_name, tmp, tmp_len);
  55128. + concat_name[tmp_len] = '/';
  55129. + strcpy (concat_name + tmp_len + 1, wrapper);
  55130. - if test -n "$vinfo"; then
  55131. - $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
  55132. - fi
  55133. + if (check_executable (concat_name))
  55134. + return concat_name;
  55135. + XFREE (concat_name);
  55136. + return NULL;
  55137. +}
  55138. - if test -n "$release"; then
  55139. - $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
  55140. - fi
  55141. +char *
  55142. +chase_symlinks (const char *pathspec)
  55143. +{
  55144. +#ifndef S_ISLNK
  55145. + return xstrdup (pathspec);
  55146. +#else
  55147. + char buf[LT_PATHMAX];
  55148. + struct stat s;
  55149. + char *tmp_pathspec = xstrdup (pathspec);
  55150. + char *p;
  55151. + int has_symlinks = 0;
  55152. + while (strlen (tmp_pathspec) && !has_symlinks)
  55153. + {
  55154. + LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  55155. + tmp_pathspec));
  55156. + if (lstat (tmp_pathspec, &s) == 0)
  55157. + {
  55158. + if (S_ISLNK (s.st_mode) != 0)
  55159. + {
  55160. + has_symlinks = 1;
  55161. + break;
  55162. + }
  55163. - case $output in
  55164. - *.lo)
  55165. - if test -n "$objs$old_deplibs"; then
  55166. - $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
  55167. - exit $EXIT_FAILURE
  55168. - fi
  55169. - libobj="$output"
  55170. - obj=`$echo "X$output" | $Xsed -e "$lo2o"`
  55171. - ;;
  55172. - *)
  55173. - libobj=
  55174. - obj="$output"
  55175. - ;;
  55176. - esac
  55177. + /* search backwards for last DIR_SEPARATOR */
  55178. + p = tmp_pathspec + strlen (tmp_pathspec) - 1;
  55179. + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  55180. + p--;
  55181. + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  55182. + {
  55183. + /* no more DIR_SEPARATORS left */
  55184. + break;
  55185. + }
  55186. + *p = '\0';
  55187. + }
  55188. + else
  55189. + {
  55190. + char *errstr = strerror (errno);
  55191. + lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  55192. + }
  55193. + }
  55194. + XFREE (tmp_pathspec);
  55195. - # Delete the old objects.
  55196. - $run $rm $obj $libobj
  55197. + if (!has_symlinks)
  55198. + {
  55199. + return xstrdup (pathspec);
  55200. + }
  55201. - # Objects from convenience libraries. This assumes
  55202. - # single-version convenience libraries. Whenever we create
  55203. - # different ones for PIC/non-PIC, this we'll have to duplicate
  55204. - # the extraction.
  55205. - reload_conv_objs=
  55206. - gentop=
  55207. - # reload_cmds runs $LD directly, so let us get rid of
  55208. - # -Wl from whole_archive_flag_spec
  55209. - wl=
  55210. + tmp_pathspec = realpath (pathspec, buf);
  55211. + if (tmp_pathspec == 0)
  55212. + {
  55213. + lt_fatal ("Could not follow symlinks for %s", pathspec);
  55214. + }
  55215. + return xstrdup (tmp_pathspec);
  55216. +#endif
  55217. +}
  55218. - if test -n "$convenience"; then
  55219. - if test -n "$whole_archive_flag_spec"; then
  55220. - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
  55221. - else
  55222. - gentop="$output_objdir/${obj}x"
  55223. - generated="$generated $gentop"
  55224. +char *
  55225. +strendzap (char *str, const char *pat)
  55226. +{
  55227. + size_t len, patlen;
  55228. - func_extract_archives $gentop $convenience
  55229. - reload_conv_objs="$reload_objs $func_extract_archives_result"
  55230. - fi
  55231. - fi
  55232. + assert (str != NULL);
  55233. + assert (pat != NULL);
  55234. - # Create the old-style object.
  55235. - 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
  55236. + len = strlen (str);
  55237. + patlen = strlen (pat);
  55238. - output="$obj"
  55239. - cmds=$reload_cmds
  55240. - save_ifs="$IFS"; IFS='~'
  55241. - for cmd in $cmds; do
  55242. - IFS="$save_ifs"
  55243. - eval cmd=\"$cmd\"
  55244. - $show "$cmd"
  55245. - $run eval "$cmd" || exit $?
  55246. - done
  55247. - IFS="$save_ifs"
  55248. + if (patlen <= len)
  55249. + {
  55250. + str += len - patlen;
  55251. + if (strcmp (str, pat) == 0)
  55252. + *str = '\0';
  55253. + }
  55254. + return str;
  55255. +}
  55256. - # Exit if we aren't doing a library object file.
  55257. - if test -z "$libobj"; then
  55258. - if test -n "$gentop"; then
  55259. - $show "${rm}r $gentop"
  55260. - $run ${rm}r $gentop
  55261. - fi
  55262. +static void
  55263. +lt_error_core (int exit_status, const char *mode,
  55264. + const char *message, va_list ap)
  55265. +{
  55266. + fprintf (stderr, "%s: %s: ", program_name, mode);
  55267. + vfprintf (stderr, message, ap);
  55268. + fprintf (stderr, ".\n");
  55269. - exit $EXIT_SUCCESS
  55270. - fi
  55271. + if (exit_status >= 0)
  55272. + exit (exit_status);
  55273. +}
  55274. - if test "$build_libtool_libs" != yes; then
  55275. - if test -n "$gentop"; then
  55276. - $show "${rm}r $gentop"
  55277. - $run ${rm}r $gentop
  55278. - fi
  55279. +void
  55280. +lt_fatal (const char *message, ...)
  55281. +{
  55282. + va_list ap;
  55283. + va_start (ap, message);
  55284. + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  55285. + va_end (ap);
  55286. +}
  55287. - # Create an invalid libtool object if no PIC, so that we don't
  55288. - # accidentally link it into a program.
  55289. - # $show "echo timestamp > $libobj"
  55290. - # $run eval "echo timestamp > $libobj" || exit $?
  55291. - exit $EXIT_SUCCESS
  55292. - fi
  55293. +void
  55294. +lt_setenv (const char *name, const char *value)
  55295. +{
  55296. + LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  55297. + (name ? name : "<NULL>"),
  55298. + (value ? value : "<NULL>")));
  55299. + {
  55300. +#ifdef HAVE_SETENV
  55301. + /* always make a copy, for consistency with !HAVE_SETENV */
  55302. + char *str = xstrdup (value);
  55303. + setenv (name, str, 1);
  55304. +#else
  55305. + int len = strlen (name) + 1 + strlen (value) + 1;
  55306. + char *str = XMALLOC (char, len);
  55307. + sprintf (str, "%s=%s", name, value);
  55308. + if (putenv (str) != EXIT_SUCCESS)
  55309. + {
  55310. + XFREE (str);
  55311. + }
  55312. +#endif
  55313. + }
  55314. +}
  55315. - if test -n "$pic_flag" || test "$pic_mode" != default; then
  55316. - # Only do commands if we really have different PIC objects.
  55317. - reload_objs="$libobjs $reload_conv_objs"
  55318. - output="$libobj"
  55319. - cmds=$reload_cmds
  55320. - save_ifs="$IFS"; IFS='~'
  55321. - for cmd in $cmds; do
  55322. - IFS="$save_ifs"
  55323. - eval cmd=\"$cmd\"
  55324. - $show "$cmd"
  55325. - $run eval "$cmd" || exit $?
  55326. - done
  55327. - IFS="$save_ifs"
  55328. - fi
  55329. +char *
  55330. +lt_extend_str (const char *orig_value, const char *add, int to_end)
  55331. +{
  55332. + char *new_value;
  55333. + if (orig_value && *orig_value)
  55334. + {
  55335. + int orig_value_len = strlen (orig_value);
  55336. + int add_len = strlen (add);
  55337. + new_value = XMALLOC (char, add_len + orig_value_len + 1);
  55338. + if (to_end)
  55339. + {
  55340. + strcpy (new_value, orig_value);
  55341. + strcpy (new_value + orig_value_len, add);
  55342. + }
  55343. + else
  55344. + {
  55345. + strcpy (new_value, add);
  55346. + strcpy (new_value + add_len, orig_value);
  55347. + }
  55348. + }
  55349. + else
  55350. + {
  55351. + new_value = xstrdup (add);
  55352. + }
  55353. + return new_value;
  55354. +}
  55355. - if test -n "$gentop"; then
  55356. - $show "${rm}r $gentop"
  55357. - $run ${rm}r $gentop
  55358. - fi
  55359. +int
  55360. +lt_split_name_value (const char *arg, char** name, char** value)
  55361. +{
  55362. + const char *p;
  55363. + int len;
  55364. + if (!arg || !*arg)
  55365. + return 1;
  55366. - exit $EXIT_SUCCESS
  55367. - ;;
  55368. + p = strchr (arg, (int)'=');
  55369. - prog)
  55370. - case $host in
  55371. - *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
  55372. - esac
  55373. - if test -n "$vinfo"; then
  55374. - $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
  55375. - fi
  55376. + if (!p)
  55377. + return 1;
  55378. - if test -n "$release"; then
  55379. - $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
  55380. - fi
  55381. + *value = xstrdup (++p);
  55382. - if test "$preload" = yes; then
  55383. - if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
  55384. - test "$dlopen_self_static" = unknown; then
  55385. - $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
  55386. - fi
  55387. - fi
  55388. + len = strlen (arg) - strlen (*value);
  55389. + *name = XMALLOC (char, len);
  55390. + strncpy (*name, arg, len-1);
  55391. + (*name)[len - 1] = '\0';
  55392. - case $host in
  55393. - *-*-rhapsody* | *-*-darwin1.[012])
  55394. - # On Rhapsody replace the C library is the System framework
  55395. - compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  55396. - finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
  55397. - ;;
  55398. - esac
  55399. + return 0;
  55400. +}
  55401. - case $host in
  55402. - *darwin*)
  55403. - # Don't allow lazy linking, it breaks C++ global constructors
  55404. - if test "$tagname" = CXX ; then
  55405. - compile_command="$compile_command ${wl}-bind_at_load"
  55406. - finalize_command="$finalize_command ${wl}-bind_at_load"
  55407. - fi
  55408. - ;;
  55409. - esac
  55410. +void
  55411. +lt_opt_process_env_set (const char *arg)
  55412. +{
  55413. + char *name = NULL;
  55414. + char *value = NULL;
  55415. + if (lt_split_name_value (arg, &name, &value) != 0)
  55416. + {
  55417. + XFREE (name);
  55418. + XFREE (value);
  55419. + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  55420. + }
  55421. - # move library search paths that coincide with paths to not yet
  55422. - # installed libraries to the beginning of the library search list
  55423. - new_libs=
  55424. - for path in $notinst_path; do
  55425. - case " $new_libs " in
  55426. - *" -L$path/$objdir "*) ;;
  55427. - *)
  55428. - case " $compile_deplibs " in
  55429. - *" -L$path/$objdir "*)
  55430. - new_libs="$new_libs -L$path/$objdir" ;;
  55431. - esac
  55432. - ;;
  55433. - esac
  55434. - done
  55435. - for deplib in $compile_deplibs; do
  55436. - case $deplib in
  55437. - -L*)
  55438. - case " $new_libs " in
  55439. - *" $deplib "*) ;;
  55440. - *) new_libs="$new_libs $deplib" ;;
  55441. - esac
  55442. - ;;
  55443. - *) new_libs="$new_libs $deplib" ;;
  55444. - esac
  55445. - done
  55446. - compile_deplibs="$new_libs"
  55447. -
  55448. + lt_setenv (name, value);
  55449. + XFREE (name);
  55450. + XFREE (value);
  55451. +}
  55452. - compile_command="$compile_command $compile_deplibs"
  55453. - finalize_command="$finalize_command $finalize_deplibs"
  55454. +void
  55455. +lt_opt_process_env_prepend (const char *arg)
  55456. +{
  55457. + char *name = NULL;
  55458. + char *value = NULL;
  55459. + char *new_value = NULL;
  55460. - if test -n "$rpath$xrpath"; then
  55461. - # If the user specified any rpath flags, then add them.
  55462. - for libdir in $rpath $xrpath; do
  55463. - # This is the magic to use -rpath.
  55464. - case "$finalize_rpath " in
  55465. - *" $libdir "*) ;;
  55466. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  55467. - esac
  55468. - done
  55469. - fi
  55470. + if (lt_split_name_value (arg, &name, &value) != 0)
  55471. + {
  55472. + XFREE (name);
  55473. + XFREE (value);
  55474. + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  55475. + }
  55476. - # Now hardcode the library paths
  55477. - rpath=
  55478. - hardcode_libdirs=
  55479. - for libdir in $compile_rpath $finalize_rpath; do
  55480. - if test -n "$hardcode_libdir_flag_spec"; then
  55481. - if test -n "$hardcode_libdir_separator"; then
  55482. - if test -z "$hardcode_libdirs"; then
  55483. - hardcode_libdirs="$libdir"
  55484. - else
  55485. - # Just accumulate the unique libdirs.
  55486. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  55487. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  55488. - ;;
  55489. - *)
  55490. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  55491. - ;;
  55492. - esac
  55493. - fi
  55494. - else
  55495. - eval flag=\"$hardcode_libdir_flag_spec\"
  55496. - rpath="$rpath $flag"
  55497. - fi
  55498. - elif test -n "$runpath_var"; then
  55499. - case "$perm_rpath " in
  55500. - *" $libdir "*) ;;
  55501. - *) perm_rpath="$perm_rpath $libdir" ;;
  55502. - esac
  55503. - fi
  55504. - case $host in
  55505. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  55506. - testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
  55507. - case :$dllsearchpath: in
  55508. - *":$libdir:"*) ;;
  55509. - *) dllsearchpath="$dllsearchpath:$libdir";;
  55510. - esac
  55511. - case :$dllsearchpath: in
  55512. - *":$testbindir:"*) ;;
  55513. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  55514. - esac
  55515. - ;;
  55516. - esac
  55517. - done
  55518. - # Substitute the hardcoded libdirs into the rpath.
  55519. - if test -n "$hardcode_libdir_separator" &&
  55520. - test -n "$hardcode_libdirs"; then
  55521. - libdir="$hardcode_libdirs"
  55522. - eval rpath=\" $hardcode_libdir_flag_spec\"
  55523. - fi
  55524. - compile_rpath="$rpath"
  55525. + new_value = lt_extend_str (getenv (name), value, 0);
  55526. + lt_setenv (name, new_value);
  55527. + XFREE (new_value);
  55528. + XFREE (name);
  55529. + XFREE (value);
  55530. +}
  55531. - rpath=
  55532. - hardcode_libdirs=
  55533. - for libdir in $finalize_rpath; do
  55534. - if test -n "$hardcode_libdir_flag_spec"; then
  55535. - if test -n "$hardcode_libdir_separator"; then
  55536. - if test -z "$hardcode_libdirs"; then
  55537. - hardcode_libdirs="$libdir"
  55538. - else
  55539. - # Just accumulate the unique libdirs.
  55540. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  55541. - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  55542. - ;;
  55543. - *)
  55544. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  55545. - ;;
  55546. - esac
  55547. - fi
  55548. - else
  55549. - eval flag=\"$hardcode_libdir_flag_spec\"
  55550. - rpath="$rpath $flag"
  55551. - fi
  55552. - elif test -n "$runpath_var"; then
  55553. - case "$finalize_perm_rpath " in
  55554. - *" $libdir "*) ;;
  55555. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  55556. - esac
  55557. - fi
  55558. - done
  55559. - # Substitute the hardcoded libdirs into the rpath.
  55560. - if test -n "$hardcode_libdir_separator" &&
  55561. - test -n "$hardcode_libdirs"; then
  55562. - libdir="$hardcode_libdirs"
  55563. - eval rpath=\" $hardcode_libdir_flag_spec\"
  55564. - fi
  55565. - finalize_rpath="$rpath"
  55566. +void
  55567. +lt_opt_process_env_append (const char *arg)
  55568. +{
  55569. + char *name = NULL;
  55570. + char *value = NULL;
  55571. + char *new_value = NULL;
  55572. - if test -n "$libobjs" && test "$build_old_libs" = yes; then
  55573. - # Transform all the library objects into standard objects.
  55574. - compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55575. - finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55576. - fi
  55577. + if (lt_split_name_value (arg, &name, &value) != 0)
  55578. + {
  55579. + XFREE (name);
  55580. + XFREE (value);
  55581. + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  55582. + }
  55583. - dlsyms=
  55584. - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  55585. - if test -n "$NM" && test -n "$global_symbol_pipe"; then
  55586. - dlsyms="${outputname}S.c"
  55587. - else
  55588. - $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
  55589. - fi
  55590. - fi
  55591. + new_value = lt_extend_str (getenv (name), value, 1);
  55592. + lt_setenv (name, new_value);
  55593. + XFREE (new_value);
  55594. + XFREE (name);
  55595. + XFREE (value);
  55596. +}
  55597. - if test -n "$dlsyms"; then
  55598. - case $dlsyms in
  55599. - "") ;;
  55600. - *.c)
  55601. - # Discover the nlist of each of the dlfiles.
  55602. - nlist="$output_objdir/${outputname}.nm"
  55603. +void
  55604. +lt_update_exe_path (const char *name, const char *value)
  55605. +{
  55606. + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  55607. + (name ? name : "<NULL>"),
  55608. + (value ? value : "<NULL>")));
  55609. - $show "$rm $nlist ${nlist}S ${nlist}T"
  55610. - $run $rm "$nlist" "${nlist}S" "${nlist}T"
  55611. + if (name && *name && value && *value)
  55612. + {
  55613. + char *new_value = lt_extend_str (getenv (name), value, 0);
  55614. + /* some systems can't cope with a ':'-terminated path #' */
  55615. + int len = strlen (new_value);
  55616. + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  55617. + {
  55618. + new_value[len-1] = '\0';
  55619. + }
  55620. + lt_setenv (name, new_value);
  55621. + XFREE (new_value);
  55622. + }
  55623. +}
  55624. - # Parse the name list into a source file.
  55625. - $show "creating $output_objdir/$dlsyms"
  55626. +void
  55627. +lt_update_lib_path (const char *name, const char *value)
  55628. +{
  55629. + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  55630. + (name ? name : "<NULL>"),
  55631. + (value ? value : "<NULL>")));
  55632. - test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
  55633. -/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
  55634. -/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
  55635. + if (name && *name && value && *value)
  55636. + {
  55637. + char *new_value = lt_extend_str (getenv (name), value, 0);
  55638. + lt_setenv (name, new_value);
  55639. + XFREE (new_value);
  55640. + }
  55641. +}
  55642. -#ifdef __cplusplus
  55643. -extern \"C\" {
  55644. -#endif
  55645. -/* Prevent the only kind of declaration conflicts we can make. */
  55646. -#define lt_preloaded_symbols some_other_symbol
  55647. +EOF
  55648. +}
  55649. +# end: func_emit_cwrapperexe_src
  55650. -/* External symbol declarations for the compiler. */\
  55651. -"
  55652. +# func_mode_link arg...
  55653. +func_mode_link ()
  55654. +{
  55655. + $opt_debug
  55656. + case $host in
  55657. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  55658. + # It is impossible to link a dll without this setting, and
  55659. + # we shouldn't force the makefile maintainer to figure out
  55660. + # which system we are compiling for in order to pass an extra
  55661. + # flag for every libtool invocation.
  55662. + # allow_undefined=no
  55663. - if test "$dlself" = yes; then
  55664. - $show "generating symbol list for \`$output'"
  55665. + # FIXME: Unfortunately, there are problems with the above when trying
  55666. + # to make a dll which has undefined symbols, in which case not
  55667. + # even a static library is built. For now, we need to specify
  55668. + # -no-undefined on the libtool link line when we can be certain
  55669. + # that all symbols are satisfied, otherwise we get a static library.
  55670. + allow_undefined=yes
  55671. + ;;
  55672. + *)
  55673. + allow_undefined=yes
  55674. + ;;
  55675. + esac
  55676. + libtool_args=$nonopt
  55677. + base_compile="$nonopt $@"
  55678. + compile_command=$nonopt
  55679. + finalize_command=$nonopt
  55680. - test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
  55681. + compile_rpath=
  55682. + finalize_rpath=
  55683. + compile_shlibpath=
  55684. + finalize_shlibpath=
  55685. + convenience=
  55686. + old_convenience=
  55687. + deplibs=
  55688. + old_deplibs=
  55689. + compiler_flags=
  55690. + linker_flags=
  55691. + dllsearchpath=
  55692. + lib_search_path=`pwd`
  55693. + inst_prefix_dir=
  55694. + new_inherited_linker_flags=
  55695. - # Add our own program objects to the symbol list.
  55696. - progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55697. - for arg in $progfiles; do
  55698. - $show "extracting global C symbols from \`$arg'"
  55699. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  55700. - done
  55701. + avoid_version=no
  55702. + dlfiles=
  55703. + dlprefiles=
  55704. + dlself=no
  55705. + export_dynamic=no
  55706. + export_symbols=
  55707. + export_symbols_regex=
  55708. + generated=
  55709. + libobjs=
  55710. + ltlibs=
  55711. + module=no
  55712. + no_install=no
  55713. + objs=
  55714. + non_pic_objects=
  55715. + precious_files_regex=
  55716. + prefer_static_libs=no
  55717. + preload=no
  55718. + prev=
  55719. + prevarg=
  55720. + release=
  55721. + rpath=
  55722. + xrpath=
  55723. + perm_rpath=
  55724. + temp_rpath=
  55725. + thread_safe=no
  55726. + vinfo=
  55727. + vinfo_number=no
  55728. + weak_libs=
  55729. + single_module="${wl}-single_module"
  55730. + func_infer_tag $base_compile
  55731. - if test -n "$exclude_expsyms"; then
  55732. - $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  55733. - $run eval '$mv "$nlist"T "$nlist"'
  55734. - fi
  55735. -
  55736. - if test -n "$export_symbols_regex"; then
  55737. - $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  55738. - $run eval '$mv "$nlist"T "$nlist"'
  55739. - fi
  55740. -
  55741. - # Prepare the list of exported symbols
  55742. - if test -z "$export_symbols"; then
  55743. - export_symbols="$output_objdir/$outputname.exp"
  55744. - $run $rm $export_symbols
  55745. - $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  55746. - case $host in
  55747. - *cygwin* | *mingw* )
  55748. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  55749. - $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  55750. - ;;
  55751. - esac
  55752. - else
  55753. - $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  55754. - $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  55755. - $run eval 'mv "$nlist"T "$nlist"'
  55756. - case $host in
  55757. - *cygwin* | *mingw* )
  55758. - $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  55759. - $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  55760. - ;;
  55761. - esac
  55762. - fi
  55763. + # We need to know -static, to get the right output filenames.
  55764. + for arg
  55765. + do
  55766. + case $arg in
  55767. + -shared)
  55768. + test "$build_libtool_libs" != yes && \
  55769. + func_fatal_configuration "can not build a shared library"
  55770. + build_old_libs=no
  55771. + break
  55772. + ;;
  55773. + -all-static | -static | -static-libtool-libs)
  55774. + case $arg in
  55775. + -all-static)
  55776. + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  55777. + func_warning "complete static linking is impossible in this configuration"
  55778. fi
  55779. + if test -n "$link_static_flag"; then
  55780. + dlopen_self=$dlopen_self_static
  55781. + fi
  55782. + prefer_static_libs=yes
  55783. + ;;
  55784. + -static)
  55785. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  55786. + dlopen_self=$dlopen_self_static
  55787. + fi
  55788. + prefer_static_libs=built
  55789. + ;;
  55790. + -static-libtool-libs)
  55791. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  55792. + dlopen_self=$dlopen_self_static
  55793. + fi
  55794. + prefer_static_libs=yes
  55795. + ;;
  55796. + esac
  55797. + build_libtool_libs=no
  55798. + build_old_libs=yes
  55799. + break
  55800. + ;;
  55801. + esac
  55802. + done
  55803. - for arg in $dlprefiles; do
  55804. - $show "extracting global C symbols from \`$arg'"
  55805. - name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
  55806. - $run eval '$echo ": $name " >> "$nlist"'
  55807. - $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
  55808. - done
  55809. -
  55810. - if test -z "$run"; then
  55811. - # Make sure we have at least an empty file.
  55812. - test -f "$nlist" || : > "$nlist"
  55813. -
  55814. - if test -n "$exclude_expsyms"; then
  55815. - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  55816. - $mv "$nlist"T "$nlist"
  55817. - fi
  55818. + # See if our shared archives depend on static archives.
  55819. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  55820. - # Try sorting and uniquifying the output.
  55821. - if grep -v "^: " < "$nlist" |
  55822. - if sort -k 3 </dev/null >/dev/null 2>&1; then
  55823. - sort -k 3
  55824. - else
  55825. - sort +2
  55826. - fi |
  55827. - uniq > "$nlist"S; then
  55828. - :
  55829. + # Go through the arguments, transforming them on the way.
  55830. + while test "$#" -gt 0; do
  55831. + arg="$1"
  55832. + shift
  55833. + func_quote_for_eval "$arg"
  55834. + qarg=$func_quote_for_eval_unquoted_result
  55835. + func_append libtool_args " $func_quote_for_eval_result"
  55836. +
  55837. + # If the previous option needs an argument, assign it.
  55838. + if test -n "$prev"; then
  55839. + case $prev in
  55840. + output)
  55841. + func_append compile_command " @OUTPUT@"
  55842. + func_append finalize_command " @OUTPUT@"
  55843. + ;;
  55844. + esac
  55845. +
  55846. + case $prev in
  55847. + dlfiles|dlprefiles)
  55848. + if test "$preload" = no; then
  55849. + # Add the symbol object into the linking commands.
  55850. + func_append compile_command " @SYMFILE@"
  55851. + func_append finalize_command " @SYMFILE@"
  55852. + preload=yes
  55853. + fi
  55854. + case $arg in
  55855. + *.la | *.lo) ;; # We handle these cases below.
  55856. + force)
  55857. + if test "$dlself" = no; then
  55858. + dlself=needless
  55859. + export_dynamic=yes
  55860. + fi
  55861. + prev=
  55862. + continue
  55863. + ;;
  55864. + self)
  55865. + if test "$prev" = dlprefiles; then
  55866. + dlself=yes
  55867. + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  55868. + dlself=yes
  55869. else
  55870. - grep -v "^: " < "$nlist" > "$nlist"S
  55871. + dlself=needless
  55872. + export_dynamic=yes
  55873. fi
  55874. -
  55875. - if test -f "$nlist"S; then
  55876. - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
  55877. + prev=
  55878. + continue
  55879. + ;;
  55880. + *)
  55881. + if test "$prev" = dlfiles; then
  55882. + dlfiles="$dlfiles $arg"
  55883. else
  55884. - $echo '/* NONE */' >> "$output_objdir/$dlsyms"
  55885. + dlprefiles="$dlprefiles $arg"
  55886. fi
  55887. + prev=
  55888. + continue
  55889. + ;;
  55890. + esac
  55891. + ;;
  55892. + expsyms)
  55893. + export_symbols="$arg"
  55894. + test -f "$arg" \
  55895. + || func_fatal_error "symbol file \`$arg' does not exist"
  55896. + prev=
  55897. + continue
  55898. + ;;
  55899. + expsyms_regex)
  55900. + export_symbols_regex="$arg"
  55901. + prev=
  55902. + continue
  55903. + ;;
  55904. + framework)
  55905. + case $host in
  55906. + *-*-darwin*)
  55907. + case "$deplibs " in
  55908. + *" $qarg.ltframework "*) ;;
  55909. + *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  55910. + ;;
  55911. + esac
  55912. + ;;
  55913. + esac
  55914. + prev=
  55915. + continue
  55916. + ;;
  55917. + inst_prefix)
  55918. + inst_prefix_dir="$arg"
  55919. + prev=
  55920. + continue
  55921. + ;;
  55922. + objectlist)
  55923. + if test -f "$arg"; then
  55924. + save_arg=$arg
  55925. + moreargs=
  55926. + for fil in `cat "$save_arg"`
  55927. + do
  55928. +# moreargs="$moreargs $fil"
  55929. + arg=$fil
  55930. + # A libtool-controlled object.
  55931. - $echo >> "$output_objdir/$dlsyms" "\
  55932. + # Check to see that this really is a libtool object.
  55933. + if func_lalib_unsafe_p "$arg"; then
  55934. + pic_object=
  55935. + non_pic_object=
  55936. -#undef lt_preloaded_symbols
  55937. + # Read the .lo file
  55938. + func_source "$arg"
  55939. -#if defined (__STDC__) && __STDC__
  55940. -# define lt_ptr void *
  55941. -#else
  55942. -# define lt_ptr char *
  55943. -# define const
  55944. -#endif
  55945. + if test -z "$pic_object" ||
  55946. + test -z "$non_pic_object" ||
  55947. + test "$pic_object" = none &&
  55948. + test "$non_pic_object" = none; then
  55949. + func_fatal_error "cannot find name of object for \`$arg'"
  55950. + fi
  55951. -/* The mapping between symbol names and symbols. */
  55952. -"
  55953. + # Extract subdirectory from the argument.
  55954. + func_dirname "$arg" "/" ""
  55955. + xdir="$func_dirname_result"
  55956. - case $host in
  55957. - *cygwin* | *mingw* )
  55958. - $echo >> "$output_objdir/$dlsyms" "\
  55959. -/* DATA imports from DLLs on WIN32 can't be const, because
  55960. - runtime relocations are performed -- see ld's documentation
  55961. - on pseudo-relocs */
  55962. -struct {
  55963. -"
  55964. - ;;
  55965. - * )
  55966. - $echo >> "$output_objdir/$dlsyms" "\
  55967. -const struct {
  55968. -"
  55969. - ;;
  55970. - esac
  55971. + if test "$pic_object" != none; then
  55972. + # Prepend the subdirectory the object is found in.
  55973. + pic_object="$xdir$pic_object"
  55974. + if test "$prev" = dlfiles; then
  55975. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  55976. + dlfiles="$dlfiles $pic_object"
  55977. + prev=
  55978. + continue
  55979. + else
  55980. + # If libtool objects are unsupported, then we need to preload.
  55981. + prev=dlprefiles
  55982. + fi
  55983. + fi
  55984. - $echo >> "$output_objdir/$dlsyms" "\
  55985. - const char *name;
  55986. - lt_ptr address;
  55987. -}
  55988. -lt_preloaded_symbols[] =
  55989. -{\
  55990. -"
  55991. + # CHECK ME: I think I busted this. -Ossama
  55992. + if test "$prev" = dlprefiles; then
  55993. + # Preload the old-style object.
  55994. + dlprefiles="$dlprefiles $pic_object"
  55995. + prev=
  55996. + fi
  55997. - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
  55998. + # A PIC object.
  55999. + func_append libobjs " $pic_object"
  56000. + arg="$pic_object"
  56001. + fi
  56002. - $echo >> "$output_objdir/$dlsyms" "\
  56003. - {0, (lt_ptr) 0}
  56004. -};
  56005. + # Non-PIC object.
  56006. + if test "$non_pic_object" != none; then
  56007. + # Prepend the subdirectory the object is found in.
  56008. + non_pic_object="$xdir$non_pic_object"
  56009. -/* This works around a problem in FreeBSD linker */
  56010. -#ifdef FREEBSD_WORKAROUND
  56011. -static const void *lt_preloaded_setup() {
  56012. - return lt_preloaded_symbols;
  56013. -}
  56014. -#endif
  56015. + # A standard non-PIC object
  56016. + func_append non_pic_objects " $non_pic_object"
  56017. + if test -z "$pic_object" || test "$pic_object" = none ; then
  56018. + arg="$non_pic_object"
  56019. + fi
  56020. + else
  56021. + # If the PIC object exists, use it instead.
  56022. + # $xdir was prepended to $pic_object above.
  56023. + non_pic_object="$pic_object"
  56024. + func_append non_pic_objects " $non_pic_object"
  56025. + fi
  56026. + else
  56027. + # Only an error if not doing a dry-run.
  56028. + if $opt_dry_run; then
  56029. + # Extract subdirectory from the argument.
  56030. + func_dirname "$arg" "/" ""
  56031. + xdir="$func_dirname_result"
  56032. -#ifdef __cplusplus
  56033. -}
  56034. -#endif\
  56035. -"
  56036. + func_lo2o "$arg"
  56037. + pic_object=$xdir$objdir/$func_lo2o_result
  56038. + non_pic_object=$xdir$func_lo2o_result
  56039. + func_append libobjs " $pic_object"
  56040. + func_append non_pic_objects " $non_pic_object"
  56041. + else
  56042. + func_fatal_error "\`$arg' is not a valid libtool object"
  56043. + fi
  56044. + fi
  56045. + done
  56046. + else
  56047. + func_fatal_error "link input file \`$arg' does not exist"
  56048. fi
  56049. -
  56050. - pic_flag_for_symtable=
  56051. - case $host in
  56052. - # compiling the symbol table file with pic_flag works around
  56053. - # a FreeBSD bug that causes programs to crash when -lm is
  56054. - # linked before any other PIC object. But we must not use
  56055. - # pic_flag when linking with -static. The problem exists in
  56056. - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  56057. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  56058. - case "$compile_command " in
  56059. - *" -static "*) ;;
  56060. - *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
  56061. - esac;;
  56062. - *-*-hpux*)
  56063. - case "$compile_command " in
  56064. - *" -static "*) ;;
  56065. - *) pic_flag_for_symtable=" $pic_flag";;
  56066. - esac
  56067. + arg=$save_arg
  56068. + prev=
  56069. + continue
  56070. + ;;
  56071. + precious_regex)
  56072. + precious_files_regex="$arg"
  56073. + prev=
  56074. + continue
  56075. + ;;
  56076. + release)
  56077. + release="-$arg"
  56078. + prev=
  56079. + continue
  56080. + ;;
  56081. + rpath | xrpath)
  56082. + # We need an absolute path.
  56083. + case $arg in
  56084. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  56085. + *)
  56086. + func_fatal_error "only absolute run-paths are allowed"
  56087. + ;;
  56088. esac
  56089. -
  56090. - # Now compile the dynamic symbol file.
  56091. - $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
  56092. - $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
  56093. -
  56094. - # Clean up the generated files.
  56095. - $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
  56096. - $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
  56097. -
  56098. - # Transform the symbol file into the correct name.
  56099. - case $host in
  56100. - *cygwin* | *mingw* )
  56101. - if test -f "$output_objdir/${outputname}.def" ; then
  56102. - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
  56103. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
  56104. - else
  56105. - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  56106. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  56107. - fi
  56108. - ;;
  56109. - * )
  56110. - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  56111. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
  56112. - ;;
  56113. - esac
  56114. + if test "$prev" = rpath; then
  56115. + case "$rpath " in
  56116. + *" $arg "*) ;;
  56117. + *) rpath="$rpath $arg" ;;
  56118. + esac
  56119. + else
  56120. + case "$xrpath " in
  56121. + *" $arg "*) ;;
  56122. + *) xrpath="$xrpath $arg" ;;
  56123. + esac
  56124. + fi
  56125. + prev=
  56126. + continue
  56127. + ;;
  56128. + shrext)
  56129. + shrext_cmds="$arg"
  56130. + prev=
  56131. + continue
  56132. + ;;
  56133. + weak)
  56134. + weak_libs="$weak_libs $arg"
  56135. + prev=
  56136. + continue
  56137. + ;;
  56138. + xcclinker)
  56139. + linker_flags="$linker_flags $qarg"
  56140. + compiler_flags="$compiler_flags $qarg"
  56141. + prev=
  56142. + func_append compile_command " $qarg"
  56143. + func_append finalize_command " $qarg"
  56144. + continue
  56145. + ;;
  56146. + xcompiler)
  56147. + compiler_flags="$compiler_flags $qarg"
  56148. + prev=
  56149. + func_append compile_command " $qarg"
  56150. + func_append finalize_command " $qarg"
  56151. + continue
  56152. + ;;
  56153. + xlinker)
  56154. + linker_flags="$linker_flags $qarg"
  56155. + compiler_flags="$compiler_flags $wl$qarg"
  56156. + prev=
  56157. + func_append compile_command " $wl$qarg"
  56158. + func_append finalize_command " $wl$qarg"
  56159. + continue
  56160. ;;
  56161. *)
  56162. - $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
  56163. - exit $EXIT_FAILURE
  56164. + eval "$prev=\"\$arg\""
  56165. + prev=
  56166. + continue
  56167. ;;
  56168. esac
  56169. - else
  56170. - # We keep going just in case the user didn't refer to
  56171. - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  56172. - # really was required.
  56173. + fi # test -n "$prev"
  56174. - # Nullify the symbol file.
  56175. - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  56176. - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  56177. - fi
  56178. + prevarg="$arg"
  56179. - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  56180. - # Replace the output file specification.
  56181. - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  56182. - link_command="$compile_command$compile_rpath"
  56183. + case $arg in
  56184. + -all-static)
  56185. + if test -n "$link_static_flag"; then
  56186. + # See comment for -static flag below, for more details.
  56187. + func_append compile_command " $link_static_flag"
  56188. + func_append finalize_command " $link_static_flag"
  56189. + fi
  56190. + continue
  56191. + ;;
  56192. - # We have no uninstalled library dependencies, so finalize right now.
  56193. - $show "$link_command"
  56194. - $run eval "$link_command"
  56195. - exit_status=$?
  56196. + -allow-undefined)
  56197. + # FIXME: remove this flag sometime in the future.
  56198. + func_fatal_error "\`-allow-undefined' must not be used because it is the default"
  56199. + ;;
  56200. - # Delete the generated files.
  56201. - if test -n "$dlsyms"; then
  56202. - $show "$rm $output_objdir/${outputname}S.${objext}"
  56203. - $run $rm "$output_objdir/${outputname}S.${objext}"
  56204. - fi
  56205. + -avoid-version)
  56206. + avoid_version=yes
  56207. + continue
  56208. + ;;
  56209. - exit $exit_status
  56210. - fi
  56211. + -dlopen)
  56212. + prev=dlfiles
  56213. + continue
  56214. + ;;
  56215. - if test -n "$shlibpath_var"; then
  56216. - # We should set the shlibpath_var
  56217. - rpath=
  56218. - for dir in $temp_rpath; do
  56219. - case $dir in
  56220. - [\\/]* | [A-Za-z]:[\\/]*)
  56221. - # Absolute path.
  56222. - rpath="$rpath$dir:"
  56223. - ;;
  56224. - *)
  56225. - # Relative path: add a thisdir entry.
  56226. - rpath="$rpath\$thisdir/$dir:"
  56227. - ;;
  56228. - esac
  56229. - done
  56230. - temp_rpath="$rpath"
  56231. - fi
  56232. + -dlpreopen)
  56233. + prev=dlprefiles
  56234. + continue
  56235. + ;;
  56236. - if test -n "$compile_shlibpath$finalize_shlibpath"; then
  56237. - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  56238. - fi
  56239. - if test -n "$finalize_shlibpath"; then
  56240. - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  56241. - fi
  56242. + -export-dynamic)
  56243. + export_dynamic=yes
  56244. + continue
  56245. + ;;
  56246. - compile_var=
  56247. - finalize_var=
  56248. - if test -n "$runpath_var"; then
  56249. - if test -n "$perm_rpath"; then
  56250. - # We should set the runpath_var.
  56251. - rpath=
  56252. - for dir in $perm_rpath; do
  56253. - rpath="$rpath$dir:"
  56254. - done
  56255. - compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  56256. + -export-symbols | -export-symbols-regex)
  56257. + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  56258. + func_fatal_error "more than one -exported-symbols argument is not allowed"
  56259. fi
  56260. - if test -n "$finalize_perm_rpath"; then
  56261. - # We should set the runpath_var.
  56262. - rpath=
  56263. - for dir in $finalize_perm_rpath; do
  56264. - rpath="$rpath$dir:"
  56265. - done
  56266. - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  56267. + if test "X$arg" = "X-export-symbols"; then
  56268. + prev=expsyms
  56269. + else
  56270. + prev=expsyms_regex
  56271. fi
  56272. - fi
  56273. + continue
  56274. + ;;
  56275. - if test "$no_install" = yes; then
  56276. - # We don't need to create a wrapper script.
  56277. - link_command="$compile_var$compile_command$compile_rpath"
  56278. - # Replace the output file specification.
  56279. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  56280. - # Delete the old output file.
  56281. - $run $rm $output
  56282. - # Link the executable and exit
  56283. - $show "$link_command"
  56284. - $run eval "$link_command" || exit $?
  56285. - exit $EXIT_SUCCESS
  56286. - fi
  56287. + -framework)
  56288. + prev=framework
  56289. + continue
  56290. + ;;
  56291. - if test "$hardcode_action" = relink; then
  56292. - # Fast installation is not supported
  56293. - link_command="$compile_var$compile_command$compile_rpath"
  56294. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  56295. + -inst-prefix-dir)
  56296. + prev=inst_prefix
  56297. + continue
  56298. + ;;
  56299. - $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
  56300. - $echo "$modename: \`$output' will be relinked during installation" 1>&2
  56301. - else
  56302. - if test "$fast_install" != no; then
  56303. - link_command="$finalize_var$compile_command$finalize_rpath"
  56304. - if test "$fast_install" = yes; then
  56305. - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  56306. + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  56307. + # so, if we see these flags be careful not to treat them like -L
  56308. + -L[A-Z][A-Z]*:*)
  56309. + case $with_gcc/$host in
  56310. + no/*-*-irix* | /*-*-irix*)
  56311. + func_append compile_command " $arg"
  56312. + func_append finalize_command " $arg"
  56313. + ;;
  56314. + esac
  56315. + continue
  56316. + ;;
  56317. +
  56318. + -L*)
  56319. + func_stripname '-L' '' "$arg"
  56320. + dir=$func_stripname_result
  56321. + if test -z "$dir"; then
  56322. + if test "$#" -gt 0; then
  56323. + func_fatal_error "require no space between \`-L' and \`$1'"
  56324. else
  56325. - # fast_install is set to needless
  56326. - relink_command=
  56327. + func_fatal_error "need path for \`-L' option"
  56328. fi
  56329. - else
  56330. - link_command="$compile_var$compile_command$compile_rpath"
  56331. - relink_command="$finalize_var$finalize_command$finalize_rpath"
  56332. fi
  56333. - fi
  56334. + # We need an absolute path.
  56335. + case $dir in
  56336. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  56337. + *)
  56338. + absdir=`cd "$dir" && pwd`
  56339. + test -z "$absdir" && \
  56340. + func_fatal_error "cannot determine absolute directory name of \`$dir'"
  56341. + dir="$absdir"
  56342. + ;;
  56343. + esac
  56344. + case "$deplibs " in
  56345. + *" -L$dir "*) ;;
  56346. + *)
  56347. + deplibs="$deplibs -L$dir"
  56348. + lib_search_path="$lib_search_path $dir"
  56349. + ;;
  56350. + esac
  56351. + case $host in
  56352. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  56353. + testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  56354. + case :$dllsearchpath: in
  56355. + *":$dir:"*) ;;
  56356. + ::) dllsearchpath=$dir;;
  56357. + *) dllsearchpath="$dllsearchpath:$dir";;
  56358. + esac
  56359. + case :$dllsearchpath: in
  56360. + *":$testbindir:"*) ;;
  56361. + ::) dllsearchpath=$testbindir;;
  56362. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  56363. + esac
  56364. + ;;
  56365. + esac
  56366. + continue
  56367. + ;;
  56368. - # Replace the output file specification.
  56369. - link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  56370. + -l*)
  56371. + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  56372. + case $host in
  56373. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  56374. + # These systems don't actually have a C or math library (as such)
  56375. + continue
  56376. + ;;
  56377. + *-*-os2*)
  56378. + # These systems don't actually have a C library (as such)
  56379. + test "X$arg" = "X-lc" && continue
  56380. + ;;
  56381. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  56382. + # Do not include libc due to us having libc/libc_r.
  56383. + test "X$arg" = "X-lc" && continue
  56384. + ;;
  56385. + *-*-rhapsody* | *-*-darwin1.[012])
  56386. + # Rhapsody C and math libraries are in the System framework
  56387. + deplibs="$deplibs System.ltframework"
  56388. + continue
  56389. + ;;
  56390. + *-*-sco3.2v5* | *-*-sco5v6*)
  56391. + # Causes problems with __ctype
  56392. + test "X$arg" = "X-lc" && continue
  56393. + ;;
  56394. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  56395. + # Compiler inserts libc in the correct place for threads to work
  56396. + test "X$arg" = "X-lc" && continue
  56397. + ;;
  56398. + esac
  56399. + elif test "X$arg" = "X-lc_r"; then
  56400. + case $host in
  56401. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  56402. + # Do not include libc_r directly, use -pthread flag.
  56403. + continue
  56404. + ;;
  56405. + esac
  56406. + fi
  56407. + deplibs="$deplibs $arg"
  56408. + continue
  56409. + ;;
  56410. - # Delete the old output files.
  56411. - $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
  56412. + -module)
  56413. + module=yes
  56414. + continue
  56415. + ;;
  56416. - $show "$link_command"
  56417. - $run eval "$link_command" || exit $?
  56418. + # Tru64 UNIX uses -model [arg] to determine the layout of C++
  56419. + # classes, name mangling, and exception handling.
  56420. + # Darwin uses the -arch flag to determine output architecture.
  56421. + -model|-arch|-isysroot)
  56422. + compiler_flags="$compiler_flags $arg"
  56423. + func_append compile_command " $arg"
  56424. + func_append finalize_command " $arg"
  56425. + prev=xcompiler
  56426. + continue
  56427. + ;;
  56428. - # Now create the wrapper script.
  56429. - $show "creating $output"
  56430. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  56431. + compiler_flags="$compiler_flags $arg"
  56432. + func_append compile_command " $arg"
  56433. + func_append finalize_command " $arg"
  56434. + case "$new_inherited_linker_flags " in
  56435. + *" $arg "*) ;;
  56436. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  56437. + esac
  56438. + continue
  56439. + ;;
  56440. - # Quote the relink command for shipping.
  56441. - if test -n "$relink_command"; then
  56442. - # Preserve any variables that may affect compiler behavior
  56443. - for var in $variables_saved_for_relink; do
  56444. - if eval test -z \"\${$var+set}\"; then
  56445. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  56446. - elif eval var_value=\$$var; test -z "$var_value"; then
  56447. - relink_command="$var=; export $var; $relink_command"
  56448. - else
  56449. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  56450. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  56451. - fi
  56452. - done
  56453. - relink_command="(cd `pwd`; $relink_command)"
  56454. - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  56455. - fi
  56456. + -multi_module)
  56457. + single_module="${wl}-multi_module"
  56458. + continue
  56459. + ;;
  56460. - # Quote $echo for shipping.
  56461. - if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
  56462. - case $progpath in
  56463. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  56464. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  56465. - esac
  56466. - qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
  56467. - else
  56468. - qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
  56469. - fi
  56470. + -no-fast-install)
  56471. + fast_install=no
  56472. + continue
  56473. + ;;
  56474. - # Only actually do things if our run command is non-null.
  56475. - if test -z "$run"; then
  56476. - # win32 will think the script is a binary if it has
  56477. - # a .exe suffix, so we strip it off here.
  56478. - case $output in
  56479. - *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
  56480. - esac
  56481. - # test for cygwin because mv fails w/o .exe extensions
  56482. + -no-install)
  56483. case $host in
  56484. - *cygwin*)
  56485. - exeext=.exe
  56486. - outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
  56487. - *) exeext= ;;
  56488. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  56489. + # The PATH hackery in wrapper scripts is required on Windows
  56490. + # and Darwin in order for the loader to find any dlls it needs.
  56491. + func_warning "\`-no-install' is ignored for $host"
  56492. + func_warning "assuming \`-no-fast-install' instead"
  56493. + fast_install=no
  56494. + ;;
  56495. + *) no_install=yes ;;
  56496. esac
  56497. - case $host in
  56498. - *cygwin* | *mingw* )
  56499. - output_name=`basename $output`
  56500. - output_path=`dirname $output`
  56501. - cwrappersource="$output_path/$objdir/lt-$output_name.c"
  56502. - cwrapper="$output_path/$output_name.exe"
  56503. - $rm $cwrappersource $cwrapper
  56504. - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  56505. -
  56506. - cat > $cwrappersource <<EOF
  56507. + continue
  56508. + ;;
  56509. -/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  56510. - Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  56511. + -no-undefined)
  56512. + allow_undefined=no
  56513. + continue
  56514. + ;;
  56515. - The $output program cannot be directly executed until all the libtool
  56516. - libraries that it depends on are installed.
  56517. + -objectlist)
  56518. + prev=objectlist
  56519. + continue
  56520. + ;;
  56521. - This wrapper executable should never be moved out of the build directory.
  56522. - If it is, it will not operate correctly.
  56523. + -o) prev=output ;;
  56524. - Currently, it simply execs the wrapper *script* "/bin/sh $output",
  56525. - but could eventually absorb all of the scripts functionality and
  56526. - exec $objdir/$outputname directly.
  56527. -*/
  56528. -EOF
  56529. - cat >> $cwrappersource<<"EOF"
  56530. -#include <stdio.h>
  56531. -#include <stdlib.h>
  56532. -#include <unistd.h>
  56533. -#include <malloc.h>
  56534. -#include <stdarg.h>
  56535. -#include <assert.h>
  56536. -#include <string.h>
  56537. -#include <ctype.h>
  56538. -#include <sys/stat.h>
  56539. + -precious-files-regex)
  56540. + prev=precious_regex
  56541. + continue
  56542. + ;;
  56543. -#if defined(PATH_MAX)
  56544. -# define LT_PATHMAX PATH_MAX
  56545. -#elif defined(MAXPATHLEN)
  56546. -# define LT_PATHMAX MAXPATHLEN
  56547. -#else
  56548. -# define LT_PATHMAX 1024
  56549. -#endif
  56550. + -release)
  56551. + prev=release
  56552. + continue
  56553. + ;;
  56554. -#ifndef DIR_SEPARATOR
  56555. -# define DIR_SEPARATOR '/'
  56556. -# define PATH_SEPARATOR ':'
  56557. -#endif
  56558. + -rpath)
  56559. + prev=rpath
  56560. + continue
  56561. + ;;
  56562. -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  56563. - defined (__OS2__)
  56564. -# define HAVE_DOS_BASED_FILE_SYSTEM
  56565. -# ifndef DIR_SEPARATOR_2
  56566. -# define DIR_SEPARATOR_2 '\\'
  56567. -# endif
  56568. -# ifndef PATH_SEPARATOR_2
  56569. -# define PATH_SEPARATOR_2 ';'
  56570. -# endif
  56571. -#endif
  56572. + -R)
  56573. + prev=xrpath
  56574. + continue
  56575. + ;;
  56576. -#ifndef DIR_SEPARATOR_2
  56577. -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  56578. -#else /* DIR_SEPARATOR_2 */
  56579. -# define IS_DIR_SEPARATOR(ch) \
  56580. - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  56581. -#endif /* DIR_SEPARATOR_2 */
  56582. + -R*)
  56583. + func_stripname '-R' '' "$arg"
  56584. + dir=$func_stripname_result
  56585. + # We need an absolute path.
  56586. + case $dir in
  56587. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  56588. + *)
  56589. + func_fatal_error "only absolute run-paths are allowed"
  56590. + ;;
  56591. + esac
  56592. + case "$xrpath " in
  56593. + *" $dir "*) ;;
  56594. + *) xrpath="$xrpath $dir" ;;
  56595. + esac
  56596. + continue
  56597. + ;;
  56598. -#ifndef PATH_SEPARATOR_2
  56599. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  56600. -#else /* PATH_SEPARATOR_2 */
  56601. -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  56602. -#endif /* PATH_SEPARATOR_2 */
  56603. + -shared)
  56604. + # The effects of -shared are defined in a previous loop.
  56605. + continue
  56606. + ;;
  56607. -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  56608. -#define XFREE(stale) do { \
  56609. - if (stale) { free ((void *) stale); stale = 0; } \
  56610. -} while (0)
  56611. + -shrext)
  56612. + prev=shrext
  56613. + continue
  56614. + ;;
  56615. -/* -DDEBUG is fairly common in CFLAGS. */
  56616. -#undef DEBUG
  56617. -#if defined DEBUGWRAPPER
  56618. -# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
  56619. -#else
  56620. -# define DEBUG(format, ...)
  56621. -#endif
  56622. + -static | -static-libtool-libs)
  56623. + # The effects of -static are defined in a previous loop.
  56624. + # We used to do the same as -all-static on platforms that
  56625. + # didn't have a PIC flag, but the assumption that the effects
  56626. + # would be equivalent was wrong. It would break on at least
  56627. + # Digital Unix and AIX.
  56628. + continue
  56629. + ;;
  56630. -const char *program_name = NULL;
  56631. + -thread-safe)
  56632. + thread_safe=yes
  56633. + continue
  56634. + ;;
  56635. -void * xmalloc (size_t num);
  56636. -char * xstrdup (const char *string);
  56637. -const char * base_name (const char *name);
  56638. -char * find_executable(const char *wrapper);
  56639. -int check_executable(const char *path);
  56640. -char * strendzap(char *str, const char *pat);
  56641. -void lt_fatal (const char *message, ...);
  56642. + -version-info)
  56643. + prev=vinfo
  56644. + continue
  56645. + ;;
  56646. -int
  56647. -main (int argc, char *argv[])
  56648. -{
  56649. - char **newargz;
  56650. - int i;
  56651. + -version-number)
  56652. + prev=vinfo
  56653. + vinfo_number=yes
  56654. + continue
  56655. + ;;
  56656. - program_name = (char *) xstrdup (base_name (argv[0]));
  56657. - DEBUG("(main) argv[0] : %s\n",argv[0]);
  56658. - DEBUG("(main) program_name : %s\n",program_name);
  56659. - newargz = XMALLOC(char *, argc+2);
  56660. -EOF
  56661. + -weak)
  56662. + prev=weak
  56663. + continue
  56664. + ;;
  56665. - cat >> $cwrappersource <<EOF
  56666. - newargz[0] = (char *) xstrdup("$SHELL");
  56667. -EOF
  56668. + -Wc,*)
  56669. + func_stripname '-Wc,' '' "$arg"
  56670. + args=$func_stripname_result
  56671. + arg=
  56672. + save_ifs="$IFS"; IFS=','
  56673. + for flag in $args; do
  56674. + IFS="$save_ifs"
  56675. + func_quote_for_eval "$flag"
  56676. + arg="$arg $wl$func_quote_for_eval_result"
  56677. + compiler_flags="$compiler_flags $func_quote_for_eval_result"
  56678. + done
  56679. + IFS="$save_ifs"
  56680. + func_stripname ' ' '' "$arg"
  56681. + arg=$func_stripname_result
  56682. + ;;
  56683. - cat >> $cwrappersource <<"EOF"
  56684. - newargz[1] = find_executable(argv[0]);
  56685. - if (newargz[1] == NULL)
  56686. - lt_fatal("Couldn't find %s", argv[0]);
  56687. - DEBUG("(main) found exe at : %s\n",newargz[1]);
  56688. - /* we know the script has the same name, without the .exe */
  56689. - /* so make sure newargz[1] doesn't end in .exe */
  56690. - strendzap(newargz[1],".exe");
  56691. - for (i = 1; i < argc; i++)
  56692. - newargz[i+1] = xstrdup(argv[i]);
  56693. - newargz[argc+1] = NULL;
  56694. + -Wl,*)
  56695. + func_stripname '-Wl,' '' "$arg"
  56696. + args=$func_stripname_result
  56697. + arg=
  56698. + save_ifs="$IFS"; IFS=','
  56699. + for flag in $args; do
  56700. + IFS="$save_ifs"
  56701. + func_quote_for_eval "$flag"
  56702. + arg="$arg $wl$func_quote_for_eval_result"
  56703. + compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  56704. + linker_flags="$linker_flags $func_quote_for_eval_result"
  56705. + done
  56706. + IFS="$save_ifs"
  56707. + func_stripname ' ' '' "$arg"
  56708. + arg=$func_stripname_result
  56709. + ;;
  56710. - for (i=0; i<argc+1; i++)
  56711. - {
  56712. - DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
  56713. - ;
  56714. - }
  56715. + -Xcompiler)
  56716. + prev=xcompiler
  56717. + continue
  56718. + ;;
  56719. -EOF
  56720. + -Xlinker)
  56721. + prev=xlinker
  56722. + continue
  56723. + ;;
  56724. - case $host_os in
  56725. - mingw*)
  56726. - cat >> $cwrappersource <<EOF
  56727. - execv("$SHELL",(char const **)newargz);
  56728. -EOF
  56729. - ;;
  56730. - *)
  56731. - cat >> $cwrappersource <<EOF
  56732. - execv("$SHELL",newargz);
  56733. -EOF
  56734. - ;;
  56735. - esac
  56736. + -XCClinker)
  56737. + prev=xcclinker
  56738. + continue
  56739. + ;;
  56740. - cat >> $cwrappersource <<"EOF"
  56741. - return 127;
  56742. -}
  56743. + # -msg_* for osf cc
  56744. + -msg_*)
  56745. + func_quote_for_eval "$arg"
  56746. + arg="$func_quote_for_eval_result"
  56747. + ;;
  56748. -void *
  56749. -xmalloc (size_t num)
  56750. -{
  56751. - void * p = (void *) malloc (num);
  56752. - if (!p)
  56753. - lt_fatal ("Memory exhausted");
  56754. + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  56755. + # -r[0-9][0-9]* specifies the processor on the SGI compiler
  56756. + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  56757. + # +DA*, +DD* enable 64-bit mode on the HP compiler
  56758. + # -q* pass through compiler args for the IBM compiler
  56759. + # -m*, -t[45]*, -txscale* pass through architecture-specific
  56760. + # compiler args for GCC
  56761. + # -F/path gives path to uninstalled frameworks, gcc on darwin
  56762. + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  56763. + # @file GCC response files
  56764. + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  56765. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto*)
  56766. + func_quote_for_eval "$arg"
  56767. + arg="$func_quote_for_eval_result"
  56768. + func_append compile_command " $arg"
  56769. + func_append finalize_command " $arg"
  56770. + compiler_flags="$compiler_flags $arg"
  56771. + continue
  56772. + ;;
  56773. - return p;
  56774. -}
  56775. + # Some other compiler flag.
  56776. + -* | +*)
  56777. + func_quote_for_eval "$arg"
  56778. + arg="$func_quote_for_eval_result"
  56779. + ;;
  56780. -char *
  56781. -xstrdup (const char *string)
  56782. -{
  56783. - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
  56784. -;
  56785. -}
  56786. + *.$objext)
  56787. + # A standard object.
  56788. + objs="$objs $arg"
  56789. + ;;
  56790. -const char *
  56791. -base_name (const char *name)
  56792. -{
  56793. - const char *base;
  56794. + *.lo)
  56795. + # A libtool-controlled object.
  56796. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  56797. - /* Skip over the disk name in MSDOS pathnames. */
  56798. - if (isalpha ((unsigned char)name[0]) && name[1] == ':')
  56799. - name += 2;
  56800. -#endif
  56801. + # Check to see that this really is a libtool object.
  56802. + if func_lalib_unsafe_p "$arg"; then
  56803. + pic_object=
  56804. + non_pic_object=
  56805. - for (base = name; *name; name++)
  56806. - if (IS_DIR_SEPARATOR (*name))
  56807. - base = name + 1;
  56808. - return base;
  56809. -}
  56810. + # Read the .lo file
  56811. + func_source "$arg"
  56812. -int
  56813. -check_executable(const char * path)
  56814. -{
  56815. - struct stat st;
  56816. + if test -z "$pic_object" ||
  56817. + test -z "$non_pic_object" ||
  56818. + test "$pic_object" = none &&
  56819. + test "$non_pic_object" = none; then
  56820. + func_fatal_error "cannot find name of object for \`$arg'"
  56821. + fi
  56822. - DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
  56823. - if ((!path) || (!*path))
  56824. - return 0;
  56825. + # Extract subdirectory from the argument.
  56826. + func_dirname "$arg" "/" ""
  56827. + xdir="$func_dirname_result"
  56828. - if ((stat (path, &st) >= 0) &&
  56829. - (
  56830. - /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
  56831. -#if defined (S_IXOTH)
  56832. - ((st.st_mode & S_IXOTH) == S_IXOTH) ||
  56833. -#endif
  56834. -#if defined (S_IXGRP)
  56835. - ((st.st_mode & S_IXGRP) == S_IXGRP) ||
  56836. -#endif
  56837. - ((st.st_mode & S_IXUSR) == S_IXUSR))
  56838. - )
  56839. - return 1;
  56840. - else
  56841. - return 0;
  56842. -}
  56843. + if test "$pic_object" != none; then
  56844. + # Prepend the subdirectory the object is found in.
  56845. + pic_object="$xdir$pic_object"
  56846. -/* Searches for the full path of the wrapper. Returns
  56847. - newly allocated full path name if found, NULL otherwise */
  56848. -char *
  56849. -find_executable (const char* wrapper)
  56850. -{
  56851. - int has_slash = 0;
  56852. - const char* p;
  56853. - const char* p_next;
  56854. - /* static buffer for getcwd */
  56855. - char tmp[LT_PATHMAX + 1];
  56856. - int tmp_len;
  56857. - char* concat_name;
  56858. + if test "$prev" = dlfiles; then
  56859. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  56860. + dlfiles="$dlfiles $pic_object"
  56861. + prev=
  56862. + continue
  56863. + else
  56864. + # If libtool objects are unsupported, then we need to preload.
  56865. + prev=dlprefiles
  56866. + fi
  56867. + fi
  56868. - DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
  56869. + # CHECK ME: I think I busted this. -Ossama
  56870. + if test "$prev" = dlprefiles; then
  56871. + # Preload the old-style object.
  56872. + dlprefiles="$dlprefiles $pic_object"
  56873. + prev=
  56874. + fi
  56875. - if ((wrapper == NULL) || (*wrapper == '\0'))
  56876. - return NULL;
  56877. + # A PIC object.
  56878. + func_append libobjs " $pic_object"
  56879. + arg="$pic_object"
  56880. + fi
  56881. - /* Absolute path? */
  56882. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  56883. - if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
  56884. - {
  56885. - concat_name = xstrdup (wrapper);
  56886. - if (check_executable(concat_name))
  56887. - return concat_name;
  56888. - XFREE(concat_name);
  56889. - }
  56890. - else
  56891. - {
  56892. -#endif
  56893. - if (IS_DIR_SEPARATOR (wrapper[0]))
  56894. - {
  56895. - concat_name = xstrdup (wrapper);
  56896. - if (check_executable(concat_name))
  56897. - return concat_name;
  56898. - XFREE(concat_name);
  56899. - }
  56900. -#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  56901. - }
  56902. -#endif
  56903. + # Non-PIC object.
  56904. + if test "$non_pic_object" != none; then
  56905. + # Prepend the subdirectory the object is found in.
  56906. + non_pic_object="$xdir$non_pic_object"
  56907. - for (p = wrapper; *p; p++)
  56908. - if (*p == '/')
  56909. - {
  56910. - has_slash = 1;
  56911. - break;
  56912. - }
  56913. - if (!has_slash)
  56914. - {
  56915. - /* no slashes; search PATH */
  56916. - const char* path = getenv ("PATH");
  56917. - if (path != NULL)
  56918. - {
  56919. - for (p = path; *p; p = p_next)
  56920. - {
  56921. - const char* q;
  56922. - size_t p_len;
  56923. - for (q = p; *q; q++)
  56924. - if (IS_PATH_SEPARATOR(*q))
  56925. - break;
  56926. - p_len = q - p;
  56927. - p_next = (*q == '\0' ? q : q + 1);
  56928. - if (p_len == 0)
  56929. - {
  56930. - /* empty path: current directory */
  56931. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  56932. - lt_fatal ("getcwd failed");
  56933. - tmp_len = strlen(tmp);
  56934. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  56935. - memcpy (concat_name, tmp, tmp_len);
  56936. - concat_name[tmp_len] = '/';
  56937. - strcpy (concat_name + tmp_len + 1, wrapper);
  56938. - }
  56939. - else
  56940. - {
  56941. - concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
  56942. - memcpy (concat_name, p, p_len);
  56943. - concat_name[p_len] = '/';
  56944. - strcpy (concat_name + p_len + 1, wrapper);
  56945. - }
  56946. - if (check_executable(concat_name))
  56947. - return concat_name;
  56948. - XFREE(concat_name);
  56949. - }
  56950. - }
  56951. - /* not found in PATH; assume curdir */
  56952. - }
  56953. - /* Relative path | not found in path: prepend cwd */
  56954. - if (getcwd (tmp, LT_PATHMAX) == NULL)
  56955. - lt_fatal ("getcwd failed");
  56956. - tmp_len = strlen(tmp);
  56957. - concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
  56958. - memcpy (concat_name, tmp, tmp_len);
  56959. - concat_name[tmp_len] = '/';
  56960. - strcpy (concat_name + tmp_len + 1, wrapper);
  56961. + # A standard non-PIC object
  56962. + func_append non_pic_objects " $non_pic_object"
  56963. + if test -z "$pic_object" || test "$pic_object" = none ; then
  56964. + arg="$non_pic_object"
  56965. + fi
  56966. + else
  56967. + # If the PIC object exists, use it instead.
  56968. + # $xdir was prepended to $pic_object above.
  56969. + non_pic_object="$pic_object"
  56970. + func_append non_pic_objects " $non_pic_object"
  56971. + fi
  56972. + else
  56973. + # Only an error if not doing a dry-run.
  56974. + if $opt_dry_run; then
  56975. + # Extract subdirectory from the argument.
  56976. + func_dirname "$arg" "/" ""
  56977. + xdir="$func_dirname_result"
  56978. - if (check_executable(concat_name))
  56979. - return concat_name;
  56980. - XFREE(concat_name);
  56981. - return NULL;
  56982. -}
  56983. + func_lo2o "$arg"
  56984. + pic_object=$xdir$objdir/$func_lo2o_result
  56985. + non_pic_object=$xdir$func_lo2o_result
  56986. + func_append libobjs " $pic_object"
  56987. + func_append non_pic_objects " $non_pic_object"
  56988. + else
  56989. + func_fatal_error "\`$arg' is not a valid libtool object"
  56990. + fi
  56991. + fi
  56992. + ;;
  56993. -char *
  56994. -strendzap(char *str, const char *pat)
  56995. -{
  56996. - size_t len, patlen;
  56997. + *.$libext)
  56998. + # An archive.
  56999. + deplibs="$deplibs $arg"
  57000. + old_deplibs="$old_deplibs $arg"
  57001. + continue
  57002. + ;;
  57003. - assert(str != NULL);
  57004. - assert(pat != NULL);
  57005. + *.la)
  57006. + # A libtool-controlled library.
  57007. - len = strlen(str);
  57008. - patlen = strlen(pat);
  57009. + if test "$prev" = dlfiles; then
  57010. + # This library was specified with -dlopen.
  57011. + dlfiles="$dlfiles $arg"
  57012. + prev=
  57013. + elif test "$prev" = dlprefiles; then
  57014. + # The library was specified with -dlpreopen.
  57015. + dlprefiles="$dlprefiles $arg"
  57016. + prev=
  57017. + else
  57018. + deplibs="$deplibs $arg"
  57019. + fi
  57020. + continue
  57021. + ;;
  57022. - if (patlen <= len)
  57023. - {
  57024. - str += len - patlen;
  57025. - if (strcmp(str, pat) == 0)
  57026. - *str = '\0';
  57027. - }
  57028. - return str;
  57029. -}
  57030. + # Some other compiler argument.
  57031. + *)
  57032. + # Unknown arguments in both finalize_command and compile_command need
  57033. + # to be aesthetically quoted because they are evaled later.
  57034. + func_quote_for_eval "$arg"
  57035. + arg="$func_quote_for_eval_result"
  57036. + ;;
  57037. + esac # arg
  57038. -static void
  57039. -lt_error_core (int exit_status, const char * mode,
  57040. - const char * message, va_list ap)
  57041. -{
  57042. - fprintf (stderr, "%s: %s: ", program_name, mode);
  57043. - vfprintf (stderr, message, ap);
  57044. - fprintf (stderr, ".\n");
  57045. + # Now actually substitute the argument into the commands.
  57046. + if test -n "$arg"; then
  57047. + func_append compile_command " $arg"
  57048. + func_append finalize_command " $arg"
  57049. + fi
  57050. + done # argument parsing loop
  57051. - if (exit_status >= 0)
  57052. - exit (exit_status);
  57053. -}
  57054. + test -n "$prev" && \
  57055. + func_fatal_help "the \`$prevarg' option requires an argument"
  57056. -void
  57057. -lt_fatal (const char *message, ...)
  57058. -{
  57059. - va_list ap;
  57060. - va_start (ap, message);
  57061. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  57062. - va_end (ap);
  57063. -}
  57064. -EOF
  57065. - # we should really use a build-platform specific compiler
  57066. - # here, but OTOH, the wrappers (shell script and this C one)
  57067. - # are only useful if you want to execute the "real" binary.
  57068. - # Since the "real" binary is built for $host, then this
  57069. - # wrapper might as well be built for $host, too.
  57070. - $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
  57071. - ;;
  57072. - esac
  57073. - $rm $output
  57074. - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
  57075. + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  57076. + eval arg=\"$export_dynamic_flag_spec\"
  57077. + func_append compile_command " $arg"
  57078. + func_append finalize_command " $arg"
  57079. + fi
  57080. - $echo > $output "\
  57081. -#! $SHELL
  57082. + oldlibs=
  57083. + # calculate the name of the file, without its directory
  57084. + func_basename "$output"
  57085. + outputname="$func_basename_result"
  57086. + libobjs_save="$libobjs"
  57087. -# $output - temporary wrapper script for $objdir/$outputname
  57088. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  57089. -#
  57090. -# The $output program cannot be directly executed until all the libtool
  57091. -# libraries that it depends on are installed.
  57092. -#
  57093. -# This wrapper script should never be moved out of the build directory.
  57094. -# If it is, it will not operate correctly.
  57095. + if test -n "$shlibpath_var"; then
  57096. + # get the directories listed in $shlibpath_var
  57097. + eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  57098. + else
  57099. + shlib_search_path=
  57100. + fi
  57101. + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  57102. + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  57103. -# Sed substitution that helps us do robust quoting. It backslashifies
  57104. -# metacharacters that are still active within double-quoted strings.
  57105. -Xsed='${SED} -e 1s/^X//'
  57106. -sed_quote_subst='$sed_quote_subst'
  57107. + func_dirname "$output" "/" ""
  57108. + output_objdir="$func_dirname_result$objdir"
  57109. + # Create the object directory.
  57110. + func_mkdir_p "$output_objdir"
  57111. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  57112. -# if CDPATH is set.
  57113. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  57114. + # Determine the type of output
  57115. + case $output in
  57116. + "")
  57117. + func_fatal_help "you must specify an output file"
  57118. + ;;
  57119. + *.$libext) linkmode=oldlib ;;
  57120. + *.lo | *.$objext) linkmode=obj ;;
  57121. + *.la) linkmode=lib ;;
  57122. + *) linkmode=prog ;; # Anything else should be a program.
  57123. + esac
  57124. -relink_command=\"$relink_command\"
  57125. + specialdeplibs=
  57126. -# This environment variable determines our operation mode.
  57127. -if test \"\$libtool_install_magic\" = \"$magic\"; then
  57128. - # install mode needs the following variable:
  57129. - notinst_deplibs='$notinst_deplibs'
  57130. -else
  57131. - # When we are sourced in execute mode, \$file and \$echo are already set.
  57132. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  57133. - echo=\"$qecho\"
  57134. - file=\"\$0\"
  57135. - # Make sure echo works.
  57136. - if test \"X\$1\" = X--no-reexec; then
  57137. - # Discard the --no-reexec flag, and continue.
  57138. - shift
  57139. - elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
  57140. - # Yippee, \$echo works!
  57141. - :
  57142. - else
  57143. - # Restart under the correct shell, and then maybe \$echo will work.
  57144. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  57145. + libs=
  57146. + # Find all interdependent deplibs by searching for libraries
  57147. + # that are linked more than once (e.g. -la -lb -la)
  57148. + for deplib in $deplibs; do
  57149. + if $opt_duplicate_deps ; then
  57150. + case "$libs " in
  57151. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  57152. + esac
  57153. + fi
  57154. + libs="$libs $deplib"
  57155. + done
  57156. +
  57157. + if test "$linkmode" = lib; then
  57158. + libs="$predeps $libs $compiler_lib_search_path $postdeps"
  57159. +
  57160. + # Compute libraries that are listed more than once in $predeps
  57161. + # $postdeps and mark them as special (i.e., whose duplicates are
  57162. + # not to be eliminated).
  57163. + pre_post_deps=
  57164. + if $opt_duplicate_compiler_generated_deps; then
  57165. + for pre_post_dep in $predeps $postdeps; do
  57166. + case "$pre_post_deps " in
  57167. + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  57168. + esac
  57169. + pre_post_deps="$pre_post_deps $pre_post_dep"
  57170. + done
  57171. + fi
  57172. + pre_post_deps=
  57173. fi
  57174. - fi\
  57175. -"
  57176. - $echo >> $output "\
  57177. - # Find the directory that this script lives in.
  57178. - thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  57179. - test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  57180. + deplibs=
  57181. + newdependency_libs=
  57182. + newlib_search_path=
  57183. + need_relink=no # whether we're linking any uninstalled libtool libraries
  57184. + notinst_deplibs= # not-installed libtool libraries
  57185. + notinst_path= # paths that contain not-installed libtool libraries
  57186. - # Follow symbolic links until we get to the real thisdir.
  57187. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  57188. - while test -n \"\$file\"; do
  57189. - destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  57190. + case $linkmode in
  57191. + lib)
  57192. + passes="conv dlpreopen link"
  57193. + for file in $dlfiles $dlprefiles; do
  57194. + case $file in
  57195. + *.la) ;;
  57196. + *)
  57197. + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
  57198. + ;;
  57199. + esac
  57200. + done
  57201. + ;;
  57202. + prog)
  57203. + compile_deplibs=
  57204. + finalize_deplibs=
  57205. + alldeplibs=no
  57206. + newdlfiles=
  57207. + newdlprefiles=
  57208. + passes="conv scan dlopen dlpreopen link"
  57209. + ;;
  57210. + *) passes="conv"
  57211. + ;;
  57212. + esac
  57213. - # If there was a directory component, then change thisdir.
  57214. - if test \"x\$destdir\" != \"x\$file\"; then
  57215. - case \"\$destdir\" in
  57216. - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  57217. - *) thisdir=\"\$thisdir/\$destdir\" ;;
  57218. - esac
  57219. - fi
  57220. + for pass in $passes; do
  57221. + # The preopen pass in lib mode reverses $deplibs; put it back here
  57222. + # so that -L comes before libs that need it for instance...
  57223. + if test "$linkmode,$pass" = "lib,link"; then
  57224. + ## FIXME: Find the place where the list is rebuilt in the wrong
  57225. + ## order, and fix it there properly
  57226. + tmp_deplibs=
  57227. + for deplib in $deplibs; do
  57228. + tmp_deplibs="$deplib $tmp_deplibs"
  57229. + done
  57230. + deplibs="$tmp_deplibs"
  57231. + fi
  57232. - file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  57233. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  57234. - done
  57235. + if test "$linkmode,$pass" = "lib,link" ||
  57236. + test "$linkmode,$pass" = "prog,scan"; then
  57237. + libs="$deplibs"
  57238. + deplibs=
  57239. + fi
  57240. + if test "$linkmode" = prog; then
  57241. + case $pass in
  57242. + dlopen) libs="$dlfiles" ;;
  57243. + dlpreopen) libs="$dlprefiles" ;;
  57244. + link)
  57245. + libs="$deplibs %DEPLIBS%"
  57246. + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  57247. + ;;
  57248. + esac
  57249. + fi
  57250. + if test "$linkmode,$pass" = "lib,dlpreopen"; then
  57251. + # Collect and forward deplibs of preopened libtool libs
  57252. + for lib in $dlprefiles; do
  57253. + # Ignore non-libtool-libs
  57254. + dependency_libs=
  57255. + case $lib in
  57256. + *.la) func_source "$lib" ;;
  57257. + esac
  57258. +
  57259. + # Collect preopened libtool deplibs, except any this library
  57260. + # has declared as weak libs
  57261. + for deplib in $dependency_libs; do
  57262. + deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  57263. + case " $weak_libs " in
  57264. + *" $deplib_base "*) ;;
  57265. + *) deplibs="$deplibs $deplib" ;;
  57266. + esac
  57267. + done
  57268. + done
  57269. + libs="$dlprefiles"
  57270. + fi
  57271. + if test "$pass" = dlopen; then
  57272. + # Collect dlpreopened libraries
  57273. + save_deplibs="$deplibs"
  57274. + deplibs=
  57275. + fi
  57276. +
  57277. + for deplib in $libs; do
  57278. + lib=
  57279. + found=no
  57280. + case $deplib in
  57281. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  57282. + if test "$linkmode,$pass" = "prog,link"; then
  57283. + compile_deplibs="$deplib $compile_deplibs"
  57284. + finalize_deplibs="$deplib $finalize_deplibs"
  57285. + else
  57286. + compiler_flags="$compiler_flags $deplib"
  57287. + if test "$linkmode" = lib ; then
  57288. + case "$new_inherited_linker_flags " in
  57289. + *" $deplib "*) ;;
  57290. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  57291. + esac
  57292. + fi
  57293. + fi
  57294. + continue
  57295. + ;;
  57296. + -l*)
  57297. + if test "$linkmode" != lib && test "$linkmode" != prog; then
  57298. + func_warning "\`-l' is ignored for archives/objects"
  57299. + continue
  57300. + fi
  57301. + func_stripname '-l' '' "$deplib"
  57302. + name=$func_stripname_result
  57303. + if test "$linkmode" = lib; then
  57304. + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  57305. + else
  57306. + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  57307. + fi
  57308. + for searchdir in $searchdirs; do
  57309. + for search_ext in .la $std_shrext .so .a; do
  57310. + # Search the libtool library
  57311. + lib="$searchdir/lib${name}${search_ext}"
  57312. + if test -f "$lib"; then
  57313. + if test "$search_ext" = ".la"; then
  57314. + found=yes
  57315. + else
  57316. + found=no
  57317. + fi
  57318. + break 2
  57319. + fi
  57320. + done
  57321. + done
  57322. + if test "$found" != yes; then
  57323. + # deplib doesn't seem to be a libtool library
  57324. + if test "$linkmode,$pass" = "prog,link"; then
  57325. + compile_deplibs="$deplib $compile_deplibs"
  57326. + finalize_deplibs="$deplib $finalize_deplibs"
  57327. + else
  57328. + deplibs="$deplib $deplibs"
  57329. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  57330. + fi
  57331. + continue
  57332. + else # deplib is a libtool library
  57333. + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  57334. + # We need to do some special things here, and not later.
  57335. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  57336. + case " $predeps $postdeps " in
  57337. + *" $deplib "*)
  57338. + if func_lalib_p "$lib"; then
  57339. + library_names=
  57340. + old_library=
  57341. + func_source "$lib"
  57342. + for l in $old_library $library_names; do
  57343. + ll="$l"
  57344. + done
  57345. + if test "X$ll" = "X$old_library" ; then # only static version available
  57346. + found=no
  57347. + func_dirname "$lib" "" "."
  57348. + ladir="$func_dirname_result"
  57349. + lib=$ladir/$old_library
  57350. + if test "$linkmode,$pass" = "prog,link"; then
  57351. + compile_deplibs="$deplib $compile_deplibs"
  57352. + finalize_deplibs="$deplib $finalize_deplibs"
  57353. + else
  57354. + deplibs="$deplib $deplibs"
  57355. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  57356. + fi
  57357. + continue
  57358. + fi
  57359. + fi
  57360. + ;;
  57361. + *) ;;
  57362. + esac
  57363. + fi
  57364. + fi
  57365. + ;; # -l
  57366. + *.ltframework)
  57367. + if test "$linkmode,$pass" = "prog,link"; then
  57368. + compile_deplibs="$deplib $compile_deplibs"
  57369. + finalize_deplibs="$deplib $finalize_deplibs"
  57370. + else
  57371. + deplibs="$deplib $deplibs"
  57372. + if test "$linkmode" = lib ; then
  57373. + case "$new_inherited_linker_flags " in
  57374. + *" $deplib "*) ;;
  57375. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  57376. + esac
  57377. + fi
  57378. + fi
  57379. + continue
  57380. + ;;
  57381. + -L*)
  57382. + case $linkmode in
  57383. + lib)
  57384. + deplibs="$deplib $deplibs"
  57385. + test "$pass" = conv && continue
  57386. + newdependency_libs="$deplib $newdependency_libs"
  57387. + func_stripname '-L' '' "$deplib"
  57388. + newlib_search_path="$newlib_search_path $func_stripname_result"
  57389. + ;;
  57390. + prog)
  57391. + if test "$pass" = conv; then
  57392. + deplibs="$deplib $deplibs"
  57393. + continue
  57394. + fi
  57395. + if test "$pass" = scan; then
  57396. + deplibs="$deplib $deplibs"
  57397. + else
  57398. + compile_deplibs="$deplib $compile_deplibs"
  57399. + finalize_deplibs="$deplib $finalize_deplibs"
  57400. + fi
  57401. + func_stripname '-L' '' "$deplib"
  57402. + newlib_search_path="$newlib_search_path $func_stripname_result"
  57403. + ;;
  57404. + *)
  57405. + func_warning "\`-L' is ignored for archives/objects"
  57406. + ;;
  57407. + esac # linkmode
  57408. + continue
  57409. + ;; # -L
  57410. + -R*)
  57411. + if test "$pass" = link; then
  57412. + func_stripname '-R' '' "$deplib"
  57413. + dir=$func_stripname_result
  57414. + # Make sure the xrpath contains only unique directories.
  57415. + case "$xrpath " in
  57416. + *" $dir "*) ;;
  57417. + *) xrpath="$xrpath $dir" ;;
  57418. + esac
  57419. + fi
  57420. + deplibs="$deplib $deplibs"
  57421. + continue
  57422. + ;;
  57423. + *.la) lib="$deplib" ;;
  57424. + *.$libext)
  57425. + if test "$pass" = conv; then
  57426. + deplibs="$deplib $deplibs"
  57427. + continue
  57428. + fi
  57429. + case $linkmode in
  57430. + lib)
  57431. + # Linking convenience modules into shared libraries is allowed,
  57432. + # but linking other static libraries is non-portable.
  57433. + case " $dlpreconveniencelibs " in
  57434. + *" $deplib "*) ;;
  57435. + *)
  57436. + valid_a_lib=no
  57437. + case $deplibs_check_method in
  57438. + match_pattern*)
  57439. + set dummy $deplibs_check_method; shift
  57440. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  57441. + if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  57442. + | $EGREP "$match_pattern_regex" > /dev/null; then
  57443. + valid_a_lib=yes
  57444. + fi
  57445. + ;;
  57446. + pass_all)
  57447. + valid_a_lib=yes
  57448. + ;;
  57449. + esac
  57450. + if test "$valid_a_lib" != yes; then
  57451. + $ECHO
  57452. + $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  57453. + $ECHO "*** I have the capability to make that library automatically link in when"
  57454. + $ECHO "*** you link to this library. But I can only do this if you have a"
  57455. + $ECHO "*** shared version of the library, which you do not appear to have"
  57456. + $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  57457. + $ECHO "*** that it is just a static archive that I should not use here."
  57458. + else
  57459. + $ECHO
  57460. + $ECHO "*** Warning: Linking the shared library $output against the"
  57461. + $ECHO "*** static library $deplib is not portable!"
  57462. + deplibs="$deplib $deplibs"
  57463. + fi
  57464. + ;;
  57465. + esac
  57466. + continue
  57467. + ;;
  57468. + prog)
  57469. + if test "$pass" != link; then
  57470. + deplibs="$deplib $deplibs"
  57471. + else
  57472. + compile_deplibs="$deplib $compile_deplibs"
  57473. + finalize_deplibs="$deplib $finalize_deplibs"
  57474. + fi
  57475. + continue
  57476. + ;;
  57477. + esac # linkmode
  57478. + ;; # *.$libext
  57479. + *.lo | *.$objext)
  57480. + if test "$pass" = conv; then
  57481. + deplibs="$deplib $deplibs"
  57482. + elif test "$linkmode" = prog; then
  57483. + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  57484. + # If there is no dlopen support or we're linking statically,
  57485. + # we need to preload.
  57486. + newdlprefiles="$newdlprefiles $deplib"
  57487. + compile_deplibs="$deplib $compile_deplibs"
  57488. + finalize_deplibs="$deplib $finalize_deplibs"
  57489. + else
  57490. + newdlfiles="$newdlfiles $deplib"
  57491. + fi
  57492. + fi
  57493. + continue
  57494. + ;;
  57495. + %DEPLIBS%)
  57496. + alldeplibs=yes
  57497. + continue
  57498. + ;;
  57499. + esac # case $deplib
  57500. +
  57501. + if test "$found" = yes || test -f "$lib"; then :
  57502. + else
  57503. + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
  57504. + fi
  57505. +
  57506. + # Check to see that this really is a libtool archive.
  57507. + func_lalib_unsafe_p "$lib" \
  57508. + || func_fatal_error "\`$lib' is not a valid libtool archive"
  57509. +
  57510. + func_dirname "$lib" "" "."
  57511. + ladir="$func_dirname_result"
  57512. +
  57513. + dlname=
  57514. + dlopen=
  57515. + dlpreopen=
  57516. + libdir=
  57517. + library_names=
  57518. + old_library=
  57519. + inherited_linker_flags=
  57520. + # If the library was installed with an old release of libtool,
  57521. + # it will not redefine variables installed, or shouldnotlink
  57522. + installed=yes
  57523. + shouldnotlink=no
  57524. + avoidtemprpath=
  57525. +
  57526. +
  57527. + # Read the .la file
  57528. + func_source "$lib"
  57529. +
  57530. + # Convert "-framework foo" to "foo.ltframework"
  57531. + if test -n "$inherited_linker_flags"; then
  57532. + tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  57533. + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  57534. + case " $new_inherited_linker_flags " in
  57535. + *" $tmp_inherited_linker_flag "*) ;;
  57536. + *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  57537. + esac
  57538. + done
  57539. + fi
  57540. + dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  57541. + if test "$linkmode,$pass" = "lib,link" ||
  57542. + test "$linkmode,$pass" = "prog,scan" ||
  57543. + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  57544. + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  57545. + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  57546. + fi
  57547. +
  57548. + if test "$pass" = conv; then
  57549. + # Only check for convenience libraries
  57550. + deplibs="$lib $deplibs"
  57551. + if test -z "$libdir"; then
  57552. + if test -z "$old_library"; then
  57553. + func_fatal_error "cannot find name of link library for \`$lib'"
  57554. + fi
  57555. + # It is a libtool convenience library, so add in its objects.
  57556. + convenience="$convenience $ladir/$objdir/$old_library"
  57557. + old_convenience="$old_convenience $ladir/$objdir/$old_library"
  57558. + tmp_libs=
  57559. + for deplib in $dependency_libs; do
  57560. + deplibs="$deplib $deplibs"
  57561. + if $opt_duplicate_deps ; then
  57562. + case "$tmp_libs " in
  57563. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  57564. + esac
  57565. + fi
  57566. + tmp_libs="$tmp_libs $deplib"
  57567. + done
  57568. + elif test "$linkmode" != prog && test "$linkmode" != lib; then
  57569. + func_fatal_error "\`$lib' is not a convenience library"
  57570. + fi
  57571. + continue
  57572. + fi # $pass = conv
  57573. +
  57574. +
  57575. + # Get the name of the library we link against.
  57576. + linklib=
  57577. + for l in $old_library $library_names; do
  57578. + linklib="$l"
  57579. + done
  57580. + if test -z "$linklib"; then
  57581. + func_fatal_error "cannot find name of link library for \`$lib'"
  57582. + fi
  57583. +
  57584. + # This library was specified with -dlopen.
  57585. + if test "$pass" = dlopen; then
  57586. + if test -z "$libdir"; then
  57587. + func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
  57588. + fi
  57589. + if test -z "$dlname" ||
  57590. + test "$dlopen_support" != yes ||
  57591. + test "$build_libtool_libs" = no; then
  57592. + # If there is no dlname, no dlopen support or we're linking
  57593. + # statically, we need to preload. We also need to preload any
  57594. + # dependent libraries so libltdl's deplib preloader doesn't
  57595. + # bomb out in the load deplibs phase.
  57596. + dlprefiles="$dlprefiles $lib $dependency_libs"
  57597. + else
  57598. + newdlfiles="$newdlfiles $lib"
  57599. + fi
  57600. + continue
  57601. + fi # $pass = dlopen
  57602. +
  57603. + # We need an absolute path.
  57604. + case $ladir in
  57605. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  57606. + *)
  57607. + abs_ladir=`cd "$ladir" && pwd`
  57608. + if test -z "$abs_ladir"; then
  57609. + func_warning "cannot determine absolute directory name of \`$ladir'"
  57610. + func_warning "passing it literally to the linker, although it might fail"
  57611. + abs_ladir="$ladir"
  57612. + fi
  57613. + ;;
  57614. + esac
  57615. + func_basename "$lib"
  57616. + laname="$func_basename_result"
  57617. +
  57618. + # Find the relevant object directory and library name.
  57619. + if test "X$installed" = Xyes; then
  57620. + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  57621. + func_warning "library \`$lib' was moved."
  57622. + dir="$ladir"
  57623. + absdir="$abs_ladir"
  57624. + libdir="$abs_ladir"
  57625. + else
  57626. + dir="$libdir"
  57627. + absdir="$libdir"
  57628. + fi
  57629. + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  57630. + else
  57631. + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  57632. + dir="$ladir"
  57633. + absdir="$abs_ladir"
  57634. + # Remove this search path later
  57635. + notinst_path="$notinst_path $abs_ladir"
  57636. + else
  57637. + dir="$ladir/$objdir"
  57638. + absdir="$abs_ladir/$objdir"
  57639. + # Remove this search path later
  57640. + notinst_path="$notinst_path $abs_ladir"
  57641. + fi
  57642. + fi # $installed = yes
  57643. + func_stripname 'lib' '.la' "$laname"
  57644. + name=$func_stripname_result
  57645. +
  57646. + # This library was specified with -dlpreopen.
  57647. + if test "$pass" = dlpreopen; then
  57648. + if test -z "$libdir" && test "$linkmode" = prog; then
  57649. + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  57650. + fi
  57651. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  57652. + # are required to link).
  57653. + if test -n "$old_library"; then
  57654. + newdlprefiles="$newdlprefiles $dir/$old_library"
  57655. + # Keep a list of preopened convenience libraries to check
  57656. + # that they are being used correctly in the link pass.
  57657. + test -z "$libdir" && \
  57658. + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  57659. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  57660. + elif test -n "$dlname"; then
  57661. + newdlprefiles="$newdlprefiles $dir/$dlname"
  57662. + else
  57663. + newdlprefiles="$newdlprefiles $dir/$linklib"
  57664. + fi
  57665. + fi # $pass = dlpreopen
  57666. +
  57667. + if test -z "$libdir"; then
  57668. + # Link the convenience library
  57669. + if test "$linkmode" = lib; then
  57670. + deplibs="$dir/$old_library $deplibs"
  57671. + elif test "$linkmode,$pass" = "prog,link"; then
  57672. + compile_deplibs="$dir/$old_library $compile_deplibs"
  57673. + finalize_deplibs="$dir/$old_library $finalize_deplibs"
  57674. + else
  57675. + deplibs="$lib $deplibs" # used for prog,scan pass
  57676. + fi
  57677. + continue
  57678. + fi
  57679. +
  57680. +
  57681. + if test "$linkmode" = prog && test "$pass" != link; then
  57682. + newlib_search_path="$newlib_search_path $ladir"
  57683. + deplibs="$lib $deplibs"
  57684. +
  57685. + linkalldeplibs=no
  57686. + if test "$link_all_deplibs" != no || test -z "$library_names" ||
  57687. + test "$build_libtool_libs" = no; then
  57688. + linkalldeplibs=yes
  57689. + fi
  57690. +
  57691. + tmp_libs=
  57692. + for deplib in $dependency_libs; do
  57693. + case $deplib in
  57694. + -L*) func_stripname '-L' '' "$deplib"
  57695. + newlib_search_path="$newlib_search_path $func_stripname_result"
  57696. + ;;
  57697. + esac
  57698. + # Need to link against all dependency_libs?
  57699. + if test "$linkalldeplibs" = yes; then
  57700. + deplibs="$deplib $deplibs"
  57701. + else
  57702. + # Need to hardcode shared library paths
  57703. + # or/and link against static libraries
  57704. + newdependency_libs="$deplib $newdependency_libs"
  57705. + fi
  57706. + if $opt_duplicate_deps ; then
  57707. + case "$tmp_libs " in
  57708. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  57709. + esac
  57710. + fi
  57711. + tmp_libs="$tmp_libs $deplib"
  57712. + done # for deplib
  57713. + continue
  57714. + fi # $linkmode = prog...
  57715. +
  57716. + if test "$linkmode,$pass" = "prog,link"; then
  57717. + if test -n "$library_names" &&
  57718. + { { test "$prefer_static_libs" = no ||
  57719. + test "$prefer_static_libs,$installed" = "built,yes"; } ||
  57720. + test -z "$old_library"; }; then
  57721. + # We need to hardcode the library path
  57722. + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  57723. + # Make sure the rpath contains only unique directories.
  57724. + case "$temp_rpath:" in
  57725. + *"$absdir:"*) ;;
  57726. + *) temp_rpath="$temp_rpath$absdir:" ;;
  57727. + esac
  57728. + fi
  57729. +
  57730. + # Hardcode the library path.
  57731. + # Skip directories that are in the system default run-time
  57732. + # search path.
  57733. + case " $sys_lib_dlsearch_path " in
  57734. + *" $absdir "*) ;;
  57735. + *)
  57736. + case "$compile_rpath " in
  57737. + *" $absdir "*) ;;
  57738. + *) compile_rpath="$compile_rpath $absdir"
  57739. + esac
  57740. + ;;
  57741. + esac
  57742. + case " $sys_lib_dlsearch_path " in
  57743. + *" $libdir "*) ;;
  57744. + *)
  57745. + case "$finalize_rpath " in
  57746. + *" $libdir "*) ;;
  57747. + *) finalize_rpath="$finalize_rpath $libdir"
  57748. + esac
  57749. + ;;
  57750. + esac
  57751. + fi # $linkmode,$pass = prog,link...
  57752. +
  57753. + if test "$alldeplibs" = yes &&
  57754. + { test "$deplibs_check_method" = pass_all ||
  57755. + { test "$build_libtool_libs" = yes &&
  57756. + test -n "$library_names"; }; }; then
  57757. + # We only need to search for static libraries
  57758. + continue
  57759. + fi
  57760. + fi
  57761. +
  57762. + link_static=no # Whether the deplib will be linked statically
  57763. + use_static_libs=$prefer_static_libs
  57764. + if test "$use_static_libs" = built && test "$installed" = yes; then
  57765. + use_static_libs=no
  57766. + fi
  57767. + if test -n "$library_names" &&
  57768. + { test "$use_static_libs" = no || test -z "$old_library"; }; then
  57769. + case $host in
  57770. + *cygwin* | *mingw* | *cegcc*)
  57771. + # No point in relinking DLLs because paths are not encoded
  57772. + notinst_deplibs="$notinst_deplibs $lib"
  57773. + need_relink=no
  57774. + ;;
  57775. + *)
  57776. + if test "$installed" = no; then
  57777. + notinst_deplibs="$notinst_deplibs $lib"
  57778. + need_relink=yes
  57779. + fi
  57780. + ;;
  57781. + esac
  57782. + # This is a shared library
  57783. +
  57784. + # Warn about portability, can't link against -module's on some
  57785. + # systems (darwin). Don't bleat about dlopened modules though!
  57786. + dlopenmodule=""
  57787. + for dlpremoduletest in $dlprefiles; do
  57788. + if test "X$dlpremoduletest" = "X$lib"; then
  57789. + dlopenmodule="$dlpremoduletest"
  57790. + break
  57791. + fi
  57792. + done
  57793. + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  57794. + $ECHO
  57795. + if test "$linkmode" = prog; then
  57796. + $ECHO "*** Warning: Linking the executable $output against the loadable module"
  57797. + else
  57798. + $ECHO "*** Warning: Linking the shared library $output against the loadable module"
  57799. + fi
  57800. + $ECHO "*** $linklib is not portable!"
  57801. + fi
  57802. + if test "$linkmode" = lib &&
  57803. + test "$hardcode_into_libs" = yes; then
  57804. + # Hardcode the library path.
  57805. + # Skip directories that are in the system default run-time
  57806. + # search path.
  57807. + case " $sys_lib_dlsearch_path " in
  57808. + *" $absdir "*) ;;
  57809. + *)
  57810. + case "$compile_rpath " in
  57811. + *" $absdir "*) ;;
  57812. + *) compile_rpath="$compile_rpath $absdir"
  57813. + esac
  57814. + ;;
  57815. + esac
  57816. + case " $sys_lib_dlsearch_path " in
  57817. + *" $libdir "*) ;;
  57818. + *)
  57819. + case "$finalize_rpath " in
  57820. + *" $libdir "*) ;;
  57821. + *) finalize_rpath="$finalize_rpath $libdir"
  57822. + esac
  57823. + ;;
  57824. + esac
  57825. + fi
  57826. +
  57827. + if test -n "$old_archive_from_expsyms_cmds"; then
  57828. + # figure out the soname
  57829. + set dummy $library_names
  57830. + shift
  57831. + realname="$1"
  57832. + shift
  57833. + libname=`eval "\\$ECHO \"$libname_spec\""`
  57834. + # use dlname if we got it. it's perfectly good, no?
  57835. + if test -n "$dlname"; then
  57836. + soname="$dlname"
  57837. + elif test -n "$soname_spec"; then
  57838. + # bleh windows
  57839. + case $host in
  57840. + *cygwin* | mingw* | *cegcc*)
  57841. + func_arith $current - $age
  57842. + major=$func_arith_result
  57843. + versuffix="-$major"
  57844. + ;;
  57845. + esac
  57846. + eval soname=\"$soname_spec\"
  57847. + else
  57848. + soname="$realname"
  57849. + fi
  57850. +
  57851. + # Make a new name for the extract_expsyms_cmds to use
  57852. + soroot="$soname"
  57853. + func_basename "$soroot"
  57854. + soname="$func_basename_result"
  57855. + func_stripname 'lib' '.dll' "$soname"
  57856. + newlib=libimp-$func_stripname_result.a
  57857. +
  57858. + # If the library has no export list, then create one now
  57859. + if test -f "$output_objdir/$soname-def"; then :
  57860. + else
  57861. + func_verbose "extracting exported symbol list from \`$soname'"
  57862. + func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
  57863. + fi
  57864. +
  57865. + # Create $newlib
  57866. + if test -f "$output_objdir/$newlib"; then :; else
  57867. + func_verbose "generating import library for \`$soname'"
  57868. + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
  57869. + fi
  57870. + # make sure the library variables are pointing to the new library
  57871. + dir=$output_objdir
  57872. + linklib=$newlib
  57873. + fi # test -n "$old_archive_from_expsyms_cmds"
  57874. +
  57875. + if test "$linkmode" = prog || test "$mode" != relink; then
  57876. + add_shlibpath=
  57877. + add_dir=
  57878. + add=
  57879. + lib_linked=yes
  57880. + case $hardcode_action in
  57881. + immediate | unsupported)
  57882. + if test "$hardcode_direct" = no; then
  57883. + add="$dir/$linklib"
  57884. + case $host in
  57885. + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  57886. + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  57887. + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  57888. + *-*-unixware7*) add_dir="-L$dir" ;;
  57889. + *-*-darwin* )
  57890. + # if the lib is a (non-dlopened) module then we can not
  57891. + # link against it, someone is ignoring the earlier warnings
  57892. + if /usr/bin/file -L $add 2> /dev/null |
  57893. + $GREP ": [^:]* bundle" >/dev/null ; then
  57894. + if test "X$dlopenmodule" != "X$lib"; then
  57895. + $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  57896. + if test -z "$old_library" ; then
  57897. + $ECHO
  57898. + $ECHO "*** And there doesn't seem to be a static archive available"
  57899. + $ECHO "*** The link will probably fail, sorry"
  57900. + else
  57901. + add="$dir/$old_library"
  57902. + fi
  57903. + elif test -n "$old_library"; then
  57904. + add="$dir/$old_library"
  57905. + fi
  57906. + fi
  57907. + esac
  57908. + elif test "$hardcode_minus_L" = no; then
  57909. + case $host in
  57910. + *-*-sunos*) add_shlibpath="$dir" ;;
  57911. + esac
  57912. + add_dir="-L$dir"
  57913. + add="-l$name"
  57914. + elif test "$hardcode_shlibpath_var" = no; then
  57915. + add_shlibpath="$dir"
  57916. + add="-l$name"
  57917. + else
  57918. + lib_linked=no
  57919. + fi
  57920. + ;;
  57921. + relink)
  57922. + if test "$hardcode_direct" = yes &&
  57923. + test "$hardcode_direct_absolute" = no; then
  57924. + add="$dir/$linklib"
  57925. + elif test "$hardcode_minus_L" = yes; then
  57926. + add_dir="-L$dir"
  57927. + # Try looking first in the location we're being installed to.
  57928. + if test -n "$inst_prefix_dir"; then
  57929. + case $libdir in
  57930. + [\\/]*)
  57931. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  57932. + ;;
  57933. + esac
  57934. + fi
  57935. + add="-l$name"
  57936. + elif test "$hardcode_shlibpath_var" = yes; then
  57937. + add_shlibpath="$dir"
  57938. + add="-l$name"
  57939. + else
  57940. + lib_linked=no
  57941. + fi
  57942. + ;;
  57943. + *) lib_linked=no ;;
  57944. + esac
  57945. +
  57946. + if test "$lib_linked" != yes; then
  57947. + func_fatal_configuration "unsupported hardcode properties"
  57948. + fi
  57949. +
  57950. + if test -n "$add_shlibpath"; then
  57951. + case :$compile_shlibpath: in
  57952. + *":$add_shlibpath:"*) ;;
  57953. + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  57954. + esac
  57955. + fi
  57956. + if test "$linkmode" = prog; then
  57957. + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  57958. + test -n "$add" && compile_deplibs="$add $compile_deplibs"
  57959. + else
  57960. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  57961. + test -n "$add" && deplibs="$add $deplibs"
  57962. + if test "$hardcode_direct" != yes &&
  57963. + test "$hardcode_minus_L" != yes &&
  57964. + test "$hardcode_shlibpath_var" = yes; then
  57965. + case :$finalize_shlibpath: in
  57966. + *":$libdir:"*) ;;
  57967. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  57968. + esac
  57969. + fi
  57970. + fi
  57971. + fi
  57972. +
  57973. + if test "$linkmode" = prog || test "$mode" = relink; then
  57974. + add_shlibpath=
  57975. + add_dir=
  57976. + add=
  57977. + # Finalize command for both is simple: just hardcode it.
  57978. + if test "$hardcode_direct" = yes &&
  57979. + test "$hardcode_direct_absolute" = no; then
  57980. + add="$libdir/$linklib"
  57981. + elif test "$hardcode_minus_L" = yes; then
  57982. + add_dir="-L$libdir"
  57983. + add="-l$name"
  57984. + elif test "$hardcode_shlibpath_var" = yes; then
  57985. + case :$finalize_shlibpath: in
  57986. + *":$libdir:"*) ;;
  57987. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  57988. + esac
  57989. + add="-l$name"
  57990. + elif test "$hardcode_automatic" = yes; then
  57991. + if test -n "$inst_prefix_dir" &&
  57992. + test -f "$inst_prefix_dir$libdir/$linklib" ; then
  57993. + add="$inst_prefix_dir$libdir/$linklib"
  57994. + else
  57995. + add="$libdir/$linklib"
  57996. + fi
  57997. + else
  57998. + # We cannot seem to hardcode it, guess we'll fake it.
  57999. + add_dir="-L$libdir"
  58000. + # Try looking first in the location we're being installed to.
  58001. + if test -n "$inst_prefix_dir"; then
  58002. + case $libdir in
  58003. + [\\/]*)
  58004. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  58005. + ;;
  58006. + esac
  58007. + fi
  58008. + add="-l$name"
  58009. + fi
  58010. +
  58011. + if test "$linkmode" = prog; then
  58012. + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  58013. + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  58014. + else
  58015. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  58016. + test -n "$add" && deplibs="$add $deplibs"
  58017. + fi
  58018. + fi
  58019. + elif test "$linkmode" = prog; then
  58020. + # Here we assume that one of hardcode_direct or hardcode_minus_L
  58021. + # is not unsupported. This is valid on all known static and
  58022. + # shared platforms.
  58023. + if test "$hardcode_direct" != unsupported; then
  58024. + test -n "$old_library" && linklib="$old_library"
  58025. + compile_deplibs="$dir/$linklib $compile_deplibs"
  58026. + finalize_deplibs="$dir/$linklib $finalize_deplibs"
  58027. + else
  58028. + compile_deplibs="-l$name -L$dir $compile_deplibs"
  58029. + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  58030. + fi
  58031. + elif test "$build_libtool_libs" = yes; then
  58032. + # Not a shared library
  58033. + if test "$deplibs_check_method" != pass_all; then
  58034. + # We're trying link a shared library against a static one
  58035. + # but the system doesn't support it.
  58036. +
  58037. + # Just print a warning and add the library to dependency_libs so
  58038. + # that the program can be linked against the static library.
  58039. + $ECHO
  58040. + $ECHO "*** Warning: This system can not link to static lib archive $lib."
  58041. + $ECHO "*** I have the capability to make that library automatically link in when"
  58042. + $ECHO "*** you link to this library. But I can only do this if you have a"
  58043. + $ECHO "*** shared version of the library, which you do not appear to have."
  58044. + if test "$module" = yes; then
  58045. + $ECHO "*** But as you try to build a module library, libtool will still create "
  58046. + $ECHO "*** a static module, that should work as long as the dlopening application"
  58047. + $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  58048. + if test -z "$global_symbol_pipe"; then
  58049. + $ECHO
  58050. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  58051. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  58052. + $ECHO "*** not find such a program. So, this module is probably useless."
  58053. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  58054. + fi
  58055. + if test "$build_old_libs" = no; then
  58056. + build_libtool_libs=module
  58057. + build_old_libs=yes
  58058. + else
  58059. + build_libtool_libs=no
  58060. + fi
  58061. + fi
  58062. + else
  58063. + deplibs="$dir/$old_library $deplibs"
  58064. + link_static=yes
  58065. + fi
  58066. + fi # link shared/static library?
  58067. +
  58068. + if test "$linkmode" = lib; then
  58069. + if test -n "$dependency_libs" &&
  58070. + { test "$hardcode_into_libs" != yes ||
  58071. + test "$build_old_libs" = yes ||
  58072. + test "$link_static" = yes; }; then
  58073. + # Extract -R from dependency_libs
  58074. + temp_deplibs=
  58075. + for libdir in $dependency_libs; do
  58076. + case $libdir in
  58077. + -R*) func_stripname '-R' '' "$libdir"
  58078. + temp_xrpath=$func_stripname_result
  58079. + case " $xrpath " in
  58080. + *" $temp_xrpath "*) ;;
  58081. + *) xrpath="$xrpath $temp_xrpath";;
  58082. + esac;;
  58083. + *) temp_deplibs="$temp_deplibs $libdir";;
  58084. + esac
  58085. + done
  58086. + dependency_libs="$temp_deplibs"
  58087. + fi
  58088. +
  58089. + newlib_search_path="$newlib_search_path $absdir"
  58090. + # Link against this library
  58091. + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  58092. + # ... and its dependency_libs
  58093. + tmp_libs=
  58094. + for deplib in $dependency_libs; do
  58095. + newdependency_libs="$deplib $newdependency_libs"
  58096. + if $opt_duplicate_deps ; then
  58097. + case "$tmp_libs " in
  58098. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  58099. + esac
  58100. + fi
  58101. + tmp_libs="$tmp_libs $deplib"
  58102. + done
  58103. +
  58104. + if test "$link_all_deplibs" != no; then
  58105. + # Add the search paths of all dependency libraries
  58106. + for deplib in $dependency_libs; do
  58107. + path=
  58108. + case $deplib in
  58109. + -L*) path="$deplib" ;;
  58110. + *.la)
  58111. + func_dirname "$deplib" "" "."
  58112. + dir="$func_dirname_result"
  58113. + # We need an absolute path.
  58114. + case $dir in
  58115. + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  58116. + *)
  58117. + absdir=`cd "$dir" && pwd`
  58118. + if test -z "$absdir"; then
  58119. + func_warning "cannot determine absolute directory name of \`$dir'"
  58120. + absdir="$dir"
  58121. + fi
  58122. + ;;
  58123. + esac
  58124. + if $GREP "^installed=no" $deplib > /dev/null; then
  58125. + case $host in
  58126. + *-*-darwin*)
  58127. + depdepl=
  58128. + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  58129. + if test -n "$deplibrary_names" ; then
  58130. + for tmp in $deplibrary_names ; do
  58131. + depdepl=$tmp
  58132. + done
  58133. + if test -f "$absdir/$objdir/$depdepl" ; then
  58134. + depdepl="$absdir/$objdir/$depdepl"
  58135. + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  58136. + if test -z "$darwin_install_name"; then
  58137. + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  58138. + fi
  58139. + compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  58140. + linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  58141. + path=
  58142. + fi
  58143. + fi
  58144. + ;;
  58145. + *)
  58146. + path="-L$absdir/$objdir"
  58147. + ;;
  58148. + esac
  58149. + else
  58150. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  58151. + test -z "$libdir" && \
  58152. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  58153. + test "$absdir" != "$libdir" && \
  58154. + func_warning "\`$deplib' seems to be moved"
  58155. +
  58156. + path="-L$absdir"
  58157. + fi
  58158. + ;;
  58159. + esac
  58160. + case " $deplibs " in
  58161. + *" $path "*) ;;
  58162. + *) deplibs="$path $deplibs" ;;
  58163. + esac
  58164. + done
  58165. + fi # link_all_deplibs != no
  58166. + fi # linkmode = lib
  58167. + done # for deplib in $libs
  58168. + if test "$pass" = link; then
  58169. + if test "$linkmode" = "prog"; then
  58170. + compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  58171. + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  58172. + else
  58173. + compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  58174. + fi
  58175. + fi
  58176. + dependency_libs="$newdependency_libs"
  58177. + if test "$pass" = dlpreopen; then
  58178. + # Link the dlpreopened libraries before other libraries
  58179. + for deplib in $save_deplibs; do
  58180. + deplibs="$deplib $deplibs"
  58181. + done
  58182. + fi
  58183. + if test "$pass" != dlopen; then
  58184. + if test "$pass" != conv; then
  58185. + # Make sure lib_search_path contains only unique directories.
  58186. + lib_search_path=
  58187. + for dir in $newlib_search_path; do
  58188. + case "$lib_search_path " in
  58189. + *" $dir "*) ;;
  58190. + *) lib_search_path="$lib_search_path $dir" ;;
  58191. + esac
  58192. + done
  58193. + newlib_search_path=
  58194. + fi
  58195. +
  58196. + if test "$linkmode,$pass" != "prog,link"; then
  58197. + vars="deplibs"
  58198. + else
  58199. + vars="compile_deplibs finalize_deplibs"
  58200. + fi
  58201. + for var in $vars dependency_libs; do
  58202. + # Add libraries to $var in reverse order
  58203. + eval tmp_libs=\"\$$var\"
  58204. + new_libs=
  58205. + for deplib in $tmp_libs; do
  58206. + # FIXME: Pedantically, this is the right thing to do, so
  58207. + # that some nasty dependency loop isn't accidentally
  58208. + # broken:
  58209. + #new_libs="$deplib $new_libs"
  58210. + # Pragmatically, this seems to cause very few problems in
  58211. + # practice:
  58212. + case $deplib in
  58213. + -L*) new_libs="$deplib $new_libs" ;;
  58214. + -R*) ;;
  58215. + *)
  58216. + # And here is the reason: when a library appears more
  58217. + # than once as an explicit dependence of a library, or
  58218. + # is implicitly linked in more than once by the
  58219. + # compiler, it is considered special, and multiple
  58220. + # occurrences thereof are not removed. Compare this
  58221. + # with having the same library being listed as a
  58222. + # dependency of multiple other libraries: in this case,
  58223. + # we know (pedantically, we assume) the library does not
  58224. + # need to be listed more than once, so we keep only the
  58225. + # last copy. This is not always right, but it is rare
  58226. + # enough that we require users that really mean to play
  58227. + # such unportable linking tricks to link the library
  58228. + # using -Wl,-lname, so that libtool does not consider it
  58229. + # for duplicate removal.
  58230. + case " $specialdeplibs " in
  58231. + *" $deplib "*) new_libs="$deplib $new_libs" ;;
  58232. + *)
  58233. + case " $new_libs " in
  58234. + *" $deplib "*) ;;
  58235. + *) new_libs="$deplib $new_libs" ;;
  58236. + esac
  58237. + ;;
  58238. + esac
  58239. + ;;
  58240. + esac
  58241. + done
  58242. + tmp_libs=
  58243. + for deplib in $new_libs; do
  58244. + case $deplib in
  58245. + -L*)
  58246. + case " $tmp_libs " in
  58247. + *" $deplib "*) ;;
  58248. + *) tmp_libs="$tmp_libs $deplib" ;;
  58249. + esac
  58250. + ;;
  58251. + *) tmp_libs="$tmp_libs $deplib" ;;
  58252. + esac
  58253. + done
  58254. + eval $var=\"$tmp_libs\"
  58255. + done # for var
  58256. + fi
  58257. + # Last step: remove runtime libs from dependency_libs
  58258. + # (they stay in deplibs)
  58259. + tmp_libs=
  58260. + for i in $dependency_libs ; do
  58261. + case " $predeps $postdeps $compiler_lib_search_path " in
  58262. + *" $i "*)
  58263. + i=""
  58264. + ;;
  58265. + esac
  58266. + if test -n "$i" ; then
  58267. + tmp_libs="$tmp_libs $i"
  58268. + fi
  58269. + done
  58270. + dependency_libs=$tmp_libs
  58271. + done # for pass
  58272. + if test "$linkmode" = prog; then
  58273. + dlfiles="$newdlfiles"
  58274. + fi
  58275. + if test "$linkmode" = prog || test "$linkmode" = lib; then
  58276. + dlprefiles="$newdlprefiles"
  58277. + fi
  58278. +
  58279. + case $linkmode in
  58280. + oldlib)
  58281. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  58282. + func_warning "\`-dlopen' is ignored for archives"
  58283. + fi
  58284. +
  58285. + case " $deplibs" in
  58286. + *\ -l* | *\ -L*)
  58287. + func_warning "\`-l' and \`-L' are ignored for archives" ;;
  58288. + esac
  58289. +
  58290. + test -n "$rpath" && \
  58291. + func_warning "\`-rpath' is ignored for archives"
  58292. +
  58293. + test -n "$xrpath" && \
  58294. + func_warning "\`-R' is ignored for archives"
  58295. +
  58296. + test -n "$vinfo" && \
  58297. + func_warning "\`-version-info/-version-number' is ignored for archives"
  58298. +
  58299. + test -n "$release" && \
  58300. + func_warning "\`-release' is ignored for archives"
  58301. +
  58302. + test -n "$export_symbols$export_symbols_regex" && \
  58303. + func_warning "\`-export-symbols' is ignored for archives"
  58304. +
  58305. + # Now set the variables for building old libraries.
  58306. + build_libtool_libs=no
  58307. + oldlibs="$output"
  58308. + objs="$objs$old_deplibs"
  58309. + ;;
  58310. +
  58311. + lib)
  58312. + # Make sure we only generate libraries of the form `libNAME.la'.
  58313. + case $outputname in
  58314. + lib*)
  58315. + func_stripname 'lib' '.la' "$outputname"
  58316. + name=$func_stripname_result
  58317. + eval shared_ext=\"$shrext_cmds\"
  58318. + eval libname=\"$libname_spec\"
  58319. + ;;
  58320. + *)
  58321. + test "$module" = no && \
  58322. + func_fatal_help "libtool library \`$output' must begin with \`lib'"
  58323. +
  58324. + if test "$need_lib_prefix" != no; then
  58325. + # Add the "lib" prefix for modules if required
  58326. + func_stripname '' '.la' "$outputname"
  58327. + name=$func_stripname_result
  58328. + eval shared_ext=\"$shrext_cmds\"
  58329. + eval libname=\"$libname_spec\"
  58330. + else
  58331. + func_stripname '' '.la' "$outputname"
  58332. + libname=$func_stripname_result
  58333. + fi
  58334. + ;;
  58335. + esac
  58336. +
  58337. + if test -n "$objs"; then
  58338. + if test "$deplibs_check_method" != pass_all; then
  58339. + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  58340. + else
  58341. + $ECHO
  58342. + $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  58343. + $ECHO "*** objects $objs is not portable!"
  58344. + libobjs="$libobjs $objs"
  58345. + fi
  58346. + fi
  58347. +
  58348. + test "$dlself" != no && \
  58349. + func_warning "\`-dlopen self' is ignored for libtool libraries"
  58350. +
  58351. + set dummy $rpath
  58352. + shift
  58353. + test "$#" -gt 1 && \
  58354. + func_warning "ignoring multiple \`-rpath's for a libtool library"
  58355. +
  58356. + install_libdir="$1"
  58357. +
  58358. + oldlibs=
  58359. + if test -z "$rpath"; then
  58360. + if test "$build_libtool_libs" = yes; then
  58361. + # Building a libtool convenience library.
  58362. + # Some compilers have problems with a `.al' extension so
  58363. + # convenience libraries should have the same extension an
  58364. + # archive normally would.
  58365. + oldlibs="$output_objdir/$libname.$libext $oldlibs"
  58366. + build_libtool_libs=convenience
  58367. + build_old_libs=yes
  58368. + fi
  58369. +
  58370. + test -n "$vinfo" && \
  58371. + func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
  58372. +
  58373. + test -n "$release" && \
  58374. + func_warning "\`-release' is ignored for convenience libraries"
  58375. + else
  58376. +
  58377. + # Parse the version information argument.
  58378. + save_ifs="$IFS"; IFS=':'
  58379. + set dummy $vinfo 0 0 0
  58380. + shift
  58381. + IFS="$save_ifs"
  58382. +
  58383. + test -n "$7" && \
  58384. + func_fatal_help "too many parameters to \`-version-info'"
  58385. +
  58386. + # convert absolute version numbers to libtool ages
  58387. + # this retains compatibility with .la files and attempts
  58388. + # to make the code below a bit more comprehensible
  58389. +
  58390. + case $vinfo_number in
  58391. + yes)
  58392. + number_major="$1"
  58393. + number_minor="$2"
  58394. + number_revision="$3"
  58395. + #
  58396. + # There are really only two kinds -- those that
  58397. + # use the current revision as the major version
  58398. + # and those that subtract age and use age as
  58399. + # a minor version. But, then there is irix
  58400. + # which has an extra 1 added just for fun
  58401. + #
  58402. + case $version_type in
  58403. + darwin|linux|osf|windows|none)
  58404. + func_arith $number_major + $number_minor
  58405. + current=$func_arith_result
  58406. + age="$number_minor"
  58407. + revision="$number_revision"
  58408. + ;;
  58409. + freebsd-aout|freebsd-elf|sunos)
  58410. + current="$number_major"
  58411. + revision="$number_minor"
  58412. + age="0"
  58413. + ;;
  58414. + irix|nonstopux)
  58415. + func_arith $number_major + $number_minor
  58416. + current=$func_arith_result
  58417. + age="$number_minor"
  58418. + revision="$number_minor"
  58419. + lt_irix_increment=no
  58420. + ;;
  58421. + *)
  58422. + func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  58423. + ;;
  58424. + esac
  58425. + ;;
  58426. + no)
  58427. + current="$1"
  58428. + revision="$2"
  58429. + age="$3"
  58430. + ;;
  58431. + esac
  58432. +
  58433. + # Check that each of the things are valid numbers.
  58434. + case $current in
  58435. + 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]) ;;
  58436. + *)
  58437. + func_error "CURRENT \`$current' must be a nonnegative integer"
  58438. + func_fatal_error "\`$vinfo' is not valid version information"
  58439. + ;;
  58440. + esac
  58441. +
  58442. + case $revision in
  58443. + 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]) ;;
  58444. + *)
  58445. + func_error "REVISION \`$revision' must be a nonnegative integer"
  58446. + func_fatal_error "\`$vinfo' is not valid version information"
  58447. + ;;
  58448. + esac
  58449. +
  58450. + case $age in
  58451. + 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]) ;;
  58452. + *)
  58453. + func_error "AGE \`$age' must be a nonnegative integer"
  58454. + func_fatal_error "\`$vinfo' is not valid version information"
  58455. + ;;
  58456. + esac
  58457. +
  58458. + if test "$age" -gt "$current"; then
  58459. + func_error "AGE \`$age' is greater than the current interface number \`$current'"
  58460. + func_fatal_error "\`$vinfo' is not valid version information"
  58461. + fi
  58462. +
  58463. + # Calculate the version variables.
  58464. + major=
  58465. + versuffix=
  58466. + verstring=
  58467. + case $version_type in
  58468. + none) ;;
  58469. +
  58470. + darwin)
  58471. + # Like Linux, but with the current version available in
  58472. + # verstring for coding it into the library header
  58473. + func_arith $current - $age
  58474. + major=.$func_arith_result
  58475. + versuffix="$major.$age.$revision"
  58476. + # Darwin ld doesn't like 0 for these options...
  58477. + func_arith $current + 1
  58478. + minor_current=$func_arith_result
  58479. + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  58480. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  58481. + ;;
  58482. +
  58483. + freebsd-aout)
  58484. + major=".$current"
  58485. + versuffix=".$current.$revision";
  58486. + ;;
  58487. +
  58488. + freebsd-elf)
  58489. + major=".$current"
  58490. + versuffix=".$current"
  58491. + ;;
  58492. +
  58493. + irix | nonstopux)
  58494. + if test "X$lt_irix_increment" = "Xno"; then
  58495. + func_arith $current - $age
  58496. + else
  58497. + func_arith $current - $age + 1
  58498. + fi
  58499. + major=$func_arith_result
  58500. +
  58501. + case $version_type in
  58502. + nonstopux) verstring_prefix=nonstopux ;;
  58503. + *) verstring_prefix=sgi ;;
  58504. + esac
  58505. + verstring="$verstring_prefix$major.$revision"
  58506. +
  58507. + # Add in all the interfaces that we are compatible with.
  58508. + loop=$revision
  58509. + while test "$loop" -ne 0; do
  58510. + func_arith $revision - $loop
  58511. + iface=$func_arith_result
  58512. + func_arith $loop - 1
  58513. + loop=$func_arith_result
  58514. + verstring="$verstring_prefix$major.$iface:$verstring"
  58515. + done
  58516. +
  58517. + # Before this point, $major must not contain `.'.
  58518. + major=.$major
  58519. + versuffix="$major.$revision"
  58520. + ;;
  58521. +
  58522. + linux)
  58523. + func_arith $current - $age
  58524. + major=.$func_arith_result
  58525. + versuffix="$major.$age.$revision"
  58526. + ;;
  58527. +
  58528. + osf)
  58529. + func_arith $current - $age
  58530. + major=.$func_arith_result
  58531. + versuffix=".$current.$age.$revision"
  58532. + verstring="$current.$age.$revision"
  58533. +
  58534. + # Add in all the interfaces that we are compatible with.
  58535. + loop=$age
  58536. + while test "$loop" -ne 0; do
  58537. + func_arith $current - $loop
  58538. + iface=$func_arith_result
  58539. + func_arith $loop - 1
  58540. + loop=$func_arith_result
  58541. + verstring="$verstring:${iface}.0"
  58542. + done
  58543. +
  58544. + # Make executables depend on our current version.
  58545. + verstring="$verstring:${current}.0"
  58546. + ;;
  58547. +
  58548. + qnx)
  58549. + major=".$current"
  58550. + versuffix=".$current"
  58551. + ;;
  58552. +
  58553. + sunos)
  58554. + major=".$current"
  58555. + versuffix=".$current.$revision"
  58556. + ;;
  58557. +
  58558. + windows)
  58559. + # Use '-' rather than '.', since we only want one
  58560. + # extension on DOS 8.3 filesystems.
  58561. + func_arith $current - $age
  58562. + major=$func_arith_result
  58563. + versuffix="-$major"
  58564. + ;;
  58565. +
  58566. + *)
  58567. + func_fatal_configuration "unknown library version type \`$version_type'"
  58568. + ;;
  58569. + esac
  58570. +
  58571. + # Clear the version info if we defaulted, and they specified a release.
  58572. + if test -z "$vinfo" && test -n "$release"; then
  58573. + major=
  58574. + case $version_type in
  58575. + darwin)
  58576. + # we can't check for "0.0" in archive_cmds due to quoting
  58577. + # problems, so we reset it completely
  58578. + verstring=
  58579. + ;;
  58580. + *)
  58581. + verstring="0.0"
  58582. + ;;
  58583. + esac
  58584. + if test "$need_version" = no; then
  58585. + versuffix=
  58586. + else
  58587. + versuffix=".0.0"
  58588. + fi
  58589. + fi
  58590. +
  58591. + # Remove version info from name if versioning should be avoided
  58592. + if test "$avoid_version" = yes && test "$need_version" = no; then
  58593. + major=
  58594. + versuffix=
  58595. + verstring=""
  58596. + fi
  58597. +
  58598. + # Check to see if the archive will have undefined symbols.
  58599. + if test "$allow_undefined" = yes; then
  58600. + if test "$allow_undefined_flag" = unsupported; then
  58601. + func_warning "undefined symbols not allowed in $host shared libraries"
  58602. + build_libtool_libs=no
  58603. + build_old_libs=yes
  58604. + fi
  58605. + else
  58606. + # Don't allow undefined symbols.
  58607. + allow_undefined_flag="$no_undefined_flag"
  58608. + fi
  58609. +
  58610. + fi
  58611. +
  58612. + func_generate_dlsyms "$libname" "$libname" "yes"
  58613. + libobjs="$libobjs $symfileobj"
  58614. + test "X$libobjs" = "X " && libobjs=
  58615. +
  58616. + if test "$mode" != relink; then
  58617. + # Remove our outputs, but don't remove object files since they
  58618. + # may have been created when compiling PIC objects.
  58619. + removelist=
  58620. + tempremovelist=`$ECHO "$output_objdir/*"`
  58621. + for p in $tempremovelist; do
  58622. + case $p in
  58623. + *.$objext | *.gcno)
  58624. + ;;
  58625. + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  58626. + if test "X$precious_files_regex" != "X"; then
  58627. + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  58628. + then
  58629. + continue
  58630. + fi
  58631. + fi
  58632. + removelist="$removelist $p"
  58633. + ;;
  58634. + *) ;;
  58635. + esac
  58636. + done
  58637. + test -n "$removelist" && \
  58638. + func_show_eval "${RM}r \$removelist"
  58639. + fi
  58640. +
  58641. + # Now set the variables for building old libraries.
  58642. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  58643. + oldlibs="$oldlibs $output_objdir/$libname.$libext"
  58644. +
  58645. + # Transform .lo files to .o files.
  58646. + oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  58647. + fi
  58648. +
  58649. + # Eliminate all temporary directories.
  58650. + #for path in $notinst_path; do
  58651. + # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  58652. + # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  58653. + # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  58654. + #done
  58655. +
  58656. + if test -n "$xrpath"; then
  58657. + # If the user specified any rpath flags, then add them.
  58658. + temp_xrpath=
  58659. + for libdir in $xrpath; do
  58660. + temp_xrpath="$temp_xrpath -R$libdir"
  58661. + case "$finalize_rpath " in
  58662. + *" $libdir "*) ;;
  58663. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  58664. + esac
  58665. + done
  58666. + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  58667. + dependency_libs="$temp_xrpath $dependency_libs"
  58668. + fi
  58669. + fi
  58670. +
  58671. + # Make sure dlfiles contains only unique files that won't be dlpreopened
  58672. + old_dlfiles="$dlfiles"
  58673. + dlfiles=
  58674. + for lib in $old_dlfiles; do
  58675. + case " $dlprefiles $dlfiles " in
  58676. + *" $lib "*) ;;
  58677. + *) dlfiles="$dlfiles $lib" ;;
  58678. + esac
  58679. + done
  58680. +
  58681. + # Make sure dlprefiles contains only unique files
  58682. + old_dlprefiles="$dlprefiles"
  58683. + dlprefiles=
  58684. + for lib in $old_dlprefiles; do
  58685. + case "$dlprefiles " in
  58686. + *" $lib "*) ;;
  58687. + *) dlprefiles="$dlprefiles $lib" ;;
  58688. + esac
  58689. + done
  58690. +
  58691. + if test "$build_libtool_libs" = yes; then
  58692. + if test -n "$rpath"; then
  58693. + case $host in
  58694. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  58695. + # these systems don't actually have a c library (as such)!
  58696. + ;;
  58697. + *-*-rhapsody* | *-*-darwin1.[012])
  58698. + # Rhapsody C library is in the System framework
  58699. + deplibs="$deplibs System.ltframework"
  58700. + ;;
  58701. + *-*-netbsd*)
  58702. + # Don't link with libc until the a.out ld.so is fixed.
  58703. + ;;
  58704. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  58705. + # Do not include libc due to us having libc/libc_r.
  58706. + ;;
  58707. + *-*-sco3.2v5* | *-*-sco5v6*)
  58708. + # Causes problems with __ctype
  58709. + ;;
  58710. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  58711. + # Compiler inserts libc in the correct place for threads to work
  58712. + ;;
  58713. + *)
  58714. + # Add libc to deplibs on all other systems if necessary.
  58715. + if test "$build_libtool_need_lc" = "yes"; then
  58716. + deplibs="$deplibs -lc"
  58717. + fi
  58718. + ;;
  58719. + esac
  58720. + fi
  58721. +
  58722. + # Transform deplibs into only deplibs that can be linked in shared.
  58723. + name_save=$name
  58724. + libname_save=$libname
  58725. + release_save=$release
  58726. + versuffix_save=$versuffix
  58727. + major_save=$major
  58728. + # I'm not sure if I'm treating the release correctly. I think
  58729. + # release should show up in the -l (ie -lgmp5) so we don't want to
  58730. + # add it in twice. Is that correct?
  58731. + release=""
  58732. + versuffix=""
  58733. + major=""
  58734. + newdeplibs=
  58735. + droppeddeps=no
  58736. + case $deplibs_check_method in
  58737. + pass_all)
  58738. + # Don't check for shared/static. Everything works.
  58739. + # This might be a little naive. We might want to check
  58740. + # whether the library exists or not. But this is on
  58741. + # osf3 & osf4 and I'm not really sure... Just
  58742. + # implementing what was already the behavior.
  58743. + newdeplibs=$deplibs
  58744. + ;;
  58745. + test_compile)
  58746. + # This code stresses the "libraries are programs" paradigm to its
  58747. + # limits. Maybe even breaks it. We compile a program, linking it
  58748. + # against the deplibs as a proxy for the library. Then we can check
  58749. + # whether they linked in statically or dynamically with ldd.
  58750. + $opt_dry_run || $RM conftest.c
  58751. + cat > conftest.c <<EOF
  58752. + int main() { return 0; }
  58753. +EOF
  58754. + $opt_dry_run || $RM conftest
  58755. + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  58756. + ldd_output=`ldd conftest`
  58757. + for i in $deplibs; do
  58758. + case $i in
  58759. + -l*)
  58760. + func_stripname -l '' "$i"
  58761. + name=$func_stripname_result
  58762. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  58763. + case " $predeps $postdeps " in
  58764. + *" $i "*)
  58765. + newdeplibs="$newdeplibs $i"
  58766. + i=""
  58767. + ;;
  58768. + esac
  58769. + fi
  58770. + if test -n "$i" ; then
  58771. + libname=`eval "\\$ECHO \"$libname_spec\""`
  58772. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  58773. + set dummy $deplib_matches; shift
  58774. + deplib_match=$1
  58775. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  58776. + newdeplibs="$newdeplibs $i"
  58777. + else
  58778. + droppeddeps=yes
  58779. + $ECHO
  58780. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  58781. + $ECHO "*** I have the capability to make that library automatically link in when"
  58782. + $ECHO "*** you link to this library. But I can only do this if you have a"
  58783. + $ECHO "*** shared version of the library, which I believe you do not have"
  58784. + $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  58785. + $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  58786. + fi
  58787. + fi
  58788. + ;;
  58789. + *)
  58790. + newdeplibs="$newdeplibs $i"
  58791. + ;;
  58792. + esac
  58793. + done
  58794. + else
  58795. + # Error occurred in the first compile. Let's try to salvage
  58796. + # the situation: Compile a separate program for each library.
  58797. + for i in $deplibs; do
  58798. + case $i in
  58799. + -l*)
  58800. + func_stripname -l '' "$i"
  58801. + name=$func_stripname_result
  58802. + $opt_dry_run || $RM conftest
  58803. + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  58804. + ldd_output=`ldd conftest`
  58805. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  58806. + case " $predeps $postdeps " in
  58807. + *" $i "*)
  58808. + newdeplibs="$newdeplibs $i"
  58809. + i=""
  58810. + ;;
  58811. + esac
  58812. + fi
  58813. + if test -n "$i" ; then
  58814. + libname=`eval "\\$ECHO \"$libname_spec\""`
  58815. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  58816. + set dummy $deplib_matches; shift
  58817. + deplib_match=$1
  58818. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  58819. + newdeplibs="$newdeplibs $i"
  58820. + else
  58821. + droppeddeps=yes
  58822. + $ECHO
  58823. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  58824. + $ECHO "*** I have the capability to make that library automatically link in when"
  58825. + $ECHO "*** you link to this library. But I can only do this if you have a"
  58826. + $ECHO "*** shared version of the library, which you do not appear to have"
  58827. + $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  58828. + $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  58829. + fi
  58830. + fi
  58831. + else
  58832. + droppeddeps=yes
  58833. + $ECHO
  58834. + $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  58835. + $ECHO "*** make it link in! You will probably need to install it or some"
  58836. + $ECHO "*** library that it depends on before this library will be fully"
  58837. + $ECHO "*** functional. Installing it before continuing would be even better."
  58838. + fi
  58839. + ;;
  58840. + *)
  58841. + newdeplibs="$newdeplibs $i"
  58842. + ;;
  58843. + esac
  58844. + done
  58845. + fi
  58846. + ;;
  58847. + file_magic*)
  58848. + set dummy $deplibs_check_method; shift
  58849. + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  58850. + for a_deplib in $deplibs; do
  58851. + case $a_deplib in
  58852. + -l*)
  58853. + func_stripname -l '' "$a_deplib"
  58854. + name=$func_stripname_result
  58855. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  58856. + case " $predeps $postdeps " in
  58857. + *" $a_deplib "*)
  58858. + newdeplibs="$newdeplibs $a_deplib"
  58859. + a_deplib=""
  58860. + ;;
  58861. + esac
  58862. + fi
  58863. + if test -n "$a_deplib" ; then
  58864. + libname=`eval "\\$ECHO \"$libname_spec\""`
  58865. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  58866. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  58867. + for potent_lib in $potential_libs; do
  58868. + # Follow soft links.
  58869. + if ls -lLd "$potent_lib" 2>/dev/null |
  58870. + $GREP " -> " >/dev/null; then
  58871. + continue
  58872. + fi
  58873. + # The statement above tries to avoid entering an
  58874. + # endless loop below, in case of cyclic links.
  58875. + # We might still enter an endless loop, since a link
  58876. + # loop can be closed while we follow links,
  58877. + # but so what?
  58878. + potlib="$potent_lib"
  58879. + while test -h "$potlib" 2>/dev/null; do
  58880. + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  58881. + case $potliblink in
  58882. + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  58883. + *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  58884. + esac
  58885. + done
  58886. + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  58887. + $SED -e 10q |
  58888. + $EGREP "$file_magic_regex" > /dev/null; then
  58889. + newdeplibs="$newdeplibs $a_deplib"
  58890. + a_deplib=""
  58891. + break 2
  58892. + fi
  58893. + done
  58894. + done
  58895. + fi
  58896. + if test -n "$a_deplib" ; then
  58897. + droppeddeps=yes
  58898. + $ECHO
  58899. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  58900. + $ECHO "*** I have the capability to make that library automatically link in when"
  58901. + $ECHO "*** you link to this library. But I can only do this if you have a"
  58902. + $ECHO "*** shared version of the library, which you do not appear to have"
  58903. + $ECHO "*** because I did check the linker path looking for a file starting"
  58904. + if test -z "$potlib" ; then
  58905. + $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  58906. + else
  58907. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  58908. + $ECHO "*** using a file magic. Last file checked: $potlib"
  58909. + fi
  58910. + fi
  58911. + ;;
  58912. + *)
  58913. + # Add a -L argument.
  58914. + newdeplibs="$newdeplibs $a_deplib"
  58915. + ;;
  58916. + esac
  58917. + done # Gone through all deplibs.
  58918. + ;;
  58919. + match_pattern*)
  58920. + set dummy $deplibs_check_method; shift
  58921. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  58922. + for a_deplib in $deplibs; do
  58923. + case $a_deplib in
  58924. + -l*)
  58925. + func_stripname -l '' "$a_deplib"
  58926. + name=$func_stripname_result
  58927. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  58928. + case " $predeps $postdeps " in
  58929. + *" $a_deplib "*)
  58930. + newdeplibs="$newdeplibs $a_deplib"
  58931. + a_deplib=""
  58932. + ;;
  58933. + esac
  58934. + fi
  58935. + if test -n "$a_deplib" ; then
  58936. + libname=`eval "\\$ECHO \"$libname_spec\""`
  58937. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  58938. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  58939. + for potent_lib in $potential_libs; do
  58940. + potlib="$potent_lib" # see symlink-check above in file_magic test
  58941. + if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  58942. + $EGREP "$match_pattern_regex" > /dev/null; then
  58943. + newdeplibs="$newdeplibs $a_deplib"
  58944. + a_deplib=""
  58945. + break 2
  58946. + fi
  58947. + done
  58948. + done
  58949. + fi
  58950. + if test -n "$a_deplib" ; then
  58951. + droppeddeps=yes
  58952. + $ECHO
  58953. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  58954. + $ECHO "*** I have the capability to make that library automatically link in when"
  58955. + $ECHO "*** you link to this library. But I can only do this if you have a"
  58956. + $ECHO "*** shared version of the library, which you do not appear to have"
  58957. + $ECHO "*** because I did check the linker path looking for a file starting"
  58958. + if test -z "$potlib" ; then
  58959. + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  58960. + else
  58961. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  58962. + $ECHO "*** using a regex pattern. Last file checked: $potlib"
  58963. + fi
  58964. + fi
  58965. + ;;
  58966. + *)
  58967. + # Add a -L argument.
  58968. + newdeplibs="$newdeplibs $a_deplib"
  58969. + ;;
  58970. + esac
  58971. + done # Gone through all deplibs.
  58972. + ;;
  58973. + none | unknown | *)
  58974. + newdeplibs=""
  58975. + tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  58976. + -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  58977. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  58978. + for i in $predeps $postdeps ; do
  58979. + # can't use Xsed below, because $i might contain '/'
  58980. + tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  58981. + done
  58982. + fi
  58983. + if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  58984. + $GREP . >/dev/null; then
  58985. + $ECHO
  58986. + if test "X$deplibs_check_method" = "Xnone"; then
  58987. + $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  58988. + else
  58989. + $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  58990. + fi
  58991. + $ECHO "*** All declared inter-library dependencies are being dropped."
  58992. + droppeddeps=yes
  58993. + fi
  58994. + ;;
  58995. + esac
  58996. + versuffix=$versuffix_save
  58997. + major=$major_save
  58998. + release=$release_save
  58999. + libname=$libname_save
  59000. + name=$name_save
  59001. +
  59002. + case $host in
  59003. + *-*-rhapsody* | *-*-darwin1.[012])
  59004. + # On Rhapsody replace the C library with the System framework
  59005. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  59006. + ;;
  59007. + esac
  59008. +
  59009. + if test "$droppeddeps" = yes; then
  59010. + if test "$module" = yes; then
  59011. + $ECHO
  59012. + $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  59013. + $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  59014. + $ECHO "*** a static module, that should work as long as the dlopening"
  59015. + $ECHO "*** application is linked with the -dlopen flag."
  59016. + if test -z "$global_symbol_pipe"; then
  59017. + $ECHO
  59018. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  59019. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  59020. + $ECHO "*** not find such a program. So, this module is probably useless."
  59021. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  59022. + fi
  59023. + if test "$build_old_libs" = no; then
  59024. + oldlibs="$output_objdir/$libname.$libext"
  59025. + build_libtool_libs=module
  59026. + build_old_libs=yes
  59027. + else
  59028. + build_libtool_libs=no
  59029. + fi
  59030. + else
  59031. + $ECHO "*** The inter-library dependencies that have been dropped here will be"
  59032. + $ECHO "*** automatically added whenever a program is linked with this library"
  59033. + $ECHO "*** or is declared to -dlopen it."
  59034. +
  59035. + if test "$allow_undefined" = no; then
  59036. + $ECHO
  59037. + $ECHO "*** Since this library must not contain undefined symbols,"
  59038. + $ECHO "*** because either the platform does not support them or"
  59039. + $ECHO "*** it was explicitly requested with -no-undefined,"
  59040. + $ECHO "*** libtool will only create a static version of it."
  59041. + if test "$build_old_libs" = no; then
  59042. + oldlibs="$output_objdir/$libname.$libext"
  59043. + build_libtool_libs=module
  59044. + build_old_libs=yes
  59045. + else
  59046. + build_libtool_libs=no
  59047. + fi
  59048. + fi
  59049. + fi
  59050. + fi
  59051. + # Done checking deplibs!
  59052. + deplibs=$newdeplibs
  59053. + fi
  59054. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  59055. + case $host in
  59056. + *-*-darwin*)
  59057. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  59058. + new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  59059. + deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  59060. + ;;
  59061. + esac
  59062. +
  59063. + # move library search paths that coincide with paths to not yet
  59064. + # installed libraries to the beginning of the library search list
  59065. + new_libs=
  59066. + for path in $notinst_path; do
  59067. + case " $new_libs " in
  59068. + *" -L$path/$objdir "*) ;;
  59069. + *)
  59070. + case " $deplibs " in
  59071. + *" -L$path/$objdir "*)
  59072. + new_libs="$new_libs -L$path/$objdir" ;;
  59073. + esac
  59074. + ;;
  59075. + esac
  59076. + done
  59077. + for deplib in $deplibs; do
  59078. + case $deplib in
  59079. + -L*)
  59080. + case " $new_libs " in
  59081. + *" $deplib "*) ;;
  59082. + *) new_libs="$new_libs $deplib" ;;
  59083. + esac
  59084. + ;;
  59085. + *) new_libs="$new_libs $deplib" ;;
  59086. + esac
  59087. + done
  59088. + deplibs="$new_libs"
  59089. +
  59090. + # All the library-specific variables (install_libdir is set above).
  59091. + library_names=
  59092. + old_library=
  59093. + dlname=
  59094. +
  59095. + # Test again, we may have decided not to build it any more
  59096. + if test "$build_libtool_libs" = yes; then
  59097. + if test "$hardcode_into_libs" = yes; then
  59098. + # Hardcode the library paths
  59099. + hardcode_libdirs=
  59100. + dep_rpath=
  59101. + rpath="$finalize_rpath"
  59102. + test "$mode" != relink && rpath="$compile_rpath$rpath"
  59103. + for libdir in $rpath; do
  59104. + if test -n "$hardcode_libdir_flag_spec"; then
  59105. + if test -n "$hardcode_libdir_separator"; then
  59106. + if test -z "$hardcode_libdirs"; then
  59107. + hardcode_libdirs="$libdir"
  59108. + else
  59109. + # Just accumulate the unique libdirs.
  59110. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  59111. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  59112. + ;;
  59113. + *)
  59114. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  59115. + ;;
  59116. + esac
  59117. + fi
  59118. + else
  59119. + eval flag=\"$hardcode_libdir_flag_spec\"
  59120. + dep_rpath="$dep_rpath $flag"
  59121. + fi
  59122. + elif test -n "$runpath_var"; then
  59123. + case "$perm_rpath " in
  59124. + *" $libdir "*) ;;
  59125. + *) perm_rpath="$perm_rpath $libdir" ;;
  59126. + esac
  59127. + fi
  59128. + done
  59129. + # Substitute the hardcoded libdirs into the rpath.
  59130. + if test -n "$hardcode_libdir_separator" &&
  59131. + test -n "$hardcode_libdirs"; then
  59132. + libdir="$hardcode_libdirs"
  59133. + if test -n "$hardcode_libdir_flag_spec_ld"; then
  59134. + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  59135. + else
  59136. + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  59137. + fi
  59138. + fi
  59139. + if test -n "$runpath_var" && test -n "$perm_rpath"; then
  59140. + # We should set the runpath_var.
  59141. + rpath=
  59142. + for dir in $perm_rpath; do
  59143. + rpath="$rpath$dir:"
  59144. + done
  59145. + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  59146. + fi
  59147. + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  59148. + fi
  59149. - # Try to get the absolute directory name.
  59150. - absdir=\`cd \"\$thisdir\" && pwd\`
  59151. - test -n \"\$absdir\" && thisdir=\"\$absdir\"
  59152. -"
  59153. + shlibpath="$finalize_shlibpath"
  59154. + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  59155. + if test -n "$shlibpath"; then
  59156. + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  59157. + fi
  59158. - if test "$fast_install" = yes; then
  59159. - $echo >> $output "\
  59160. - program=lt-'$outputname'$exeext
  59161. - progdir=\"\$thisdir/$objdir\"
  59162. + # Get the real and link names of the library.
  59163. + eval shared_ext=\"$shrext_cmds\"
  59164. + eval library_names=\"$library_names_spec\"
  59165. + set dummy $library_names
  59166. + shift
  59167. + realname="$1"
  59168. + shift
  59169. - if test ! -f \"\$progdir/\$program\" || \\
  59170. - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  59171. - test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  59172. + if test -n "$soname_spec"; then
  59173. + eval soname=\"$soname_spec\"
  59174. + else
  59175. + soname="$realname"
  59176. + fi
  59177. + if test -z "$dlname"; then
  59178. + dlname=$soname
  59179. + fi
  59180. - file=\"\$\$-\$program\"
  59181. + lib="$output_objdir/$realname"
  59182. + linknames=
  59183. + for link
  59184. + do
  59185. + linknames="$linknames $link"
  59186. + done
  59187. - if test ! -d \"\$progdir\"; then
  59188. - $mkdir \"\$progdir\"
  59189. - else
  59190. - $rm \"\$progdir/\$file\"
  59191. - fi"
  59192. + # Use standard objects if they are pic
  59193. + test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  59194. + test "X$libobjs" = "X " && libobjs=
  59195. - $echo >> $output "\
  59196. + delfiles=
  59197. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  59198. + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  59199. + export_symbols="$output_objdir/$libname.uexp"
  59200. + delfiles="$delfiles $export_symbols"
  59201. + fi
  59202. +
  59203. + orig_export_symbols=
  59204. + case $host_os in
  59205. + cygwin* | mingw* | cegcc*)
  59206. + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  59207. + # exporting using user supplied symfile
  59208. + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  59209. + # and it's NOT already a .def file. Must figure out
  59210. + # which of the given symbols are data symbols and tag
  59211. + # them as such. So, trigger use of export_symbols_cmds.
  59212. + # export_symbols gets reassigned inside the "prepare
  59213. + # the list of exported symbols" if statement, so the
  59214. + # include_expsyms logic still works.
  59215. + orig_export_symbols="$export_symbols"
  59216. + export_symbols=
  59217. + always_export_symbols=yes
  59218. + fi
  59219. + fi
  59220. + ;;
  59221. + esac
  59222. - # relink executable if necessary
  59223. - if test -n \"\$relink_command\"; then
  59224. - if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  59225. - else
  59226. - $echo \"\$relink_command_output\" >&2
  59227. - $rm \"\$progdir/\$file\"
  59228. - exit $EXIT_FAILURE
  59229. - fi
  59230. - fi
  59231. + # Prepare the list of exported symbols
  59232. + if test -z "$export_symbols"; then
  59233. + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  59234. + func_verbose "generating symbol list for \`$libname.la'"
  59235. + export_symbols="$output_objdir/$libname.exp"
  59236. + $opt_dry_run || $RM $export_symbols
  59237. + cmds=$export_symbols_cmds
  59238. + save_ifs="$IFS"; IFS='~'
  59239. + for cmd in $cmds; do
  59240. + IFS="$save_ifs"
  59241. + eval cmd=\"$cmd\"
  59242. + func_len " $cmd"
  59243. + len=$func_len_result
  59244. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  59245. + func_show_eval "$cmd" 'exit $?'
  59246. + skipped_export=false
  59247. + else
  59248. + # The command line is too long to execute in one step.
  59249. + func_verbose "using reloadable object file for export list..."
  59250. + skipped_export=:
  59251. + # Break out early, otherwise skipped_export may be
  59252. + # set to false by a later but shorter cmd.
  59253. + break
  59254. + fi
  59255. + done
  59256. + IFS="$save_ifs"
  59257. + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
  59258. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  59259. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  59260. + fi
  59261. + fi
  59262. + fi
  59263. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  59264. - { $rm \"\$progdir/\$program\";
  59265. - $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  59266. - $rm \"\$progdir/\$file\"
  59267. - fi"
  59268. - else
  59269. - $echo >> $output "\
  59270. - program='$outputname'
  59271. - progdir=\"\$thisdir/$objdir\"
  59272. -"
  59273. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  59274. + tmp_export_symbols="$export_symbols"
  59275. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  59276. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  59277. + fi
  59278. +
  59279. + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  59280. + # The given exports_symbols file has to be filtered, so filter it.
  59281. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  59282. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  59283. + # 's' commands which not all seds can handle. GNU sed should be fine
  59284. + # though. Also, the filter scales superlinearly with the number of
  59285. + # global variables. join(1) would be nice here, but unfortunately
  59286. + # isn't a blessed tool.
  59287. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  59288. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  59289. + export_symbols=$output_objdir/$libname.def
  59290. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  59291. fi
  59292. - $echo >> $output "\
  59293. + tmp_deplibs=
  59294. + for test_deplib in $deplibs; do
  59295. + case " $convenience " in
  59296. + *" $test_deplib "*) ;;
  59297. + *)
  59298. + tmp_deplibs="$tmp_deplibs $test_deplib"
  59299. + ;;
  59300. + esac
  59301. + done
  59302. + deplibs="$tmp_deplibs"
  59303. - if test -f \"\$progdir/\$program\"; then"
  59304. + if test -n "$convenience"; then
  59305. + if test -n "$whole_archive_flag_spec" &&
  59306. + test "$compiler_needs_object" = yes &&
  59307. + test -z "$libobjs"; then
  59308. + # extract the archives, so we have objects to list.
  59309. + # TODO: could optimize this to just extract one archive.
  59310. + whole_archive_flag_spec=
  59311. + fi
  59312. + if test -n "$whole_archive_flag_spec"; then
  59313. + save_libobjs=$libobjs
  59314. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  59315. + test "X$libobjs" = "X " && libobjs=
  59316. + else
  59317. + gentop="$output_objdir/${outputname}x"
  59318. + generated="$generated $gentop"
  59319. - # Export our shlibpath_var if we have one.
  59320. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  59321. - $echo >> $output "\
  59322. - # Add our own library path to $shlibpath_var
  59323. - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  59324. + func_extract_archives $gentop $convenience
  59325. + libobjs="$libobjs $func_extract_archives_result"
  59326. + test "X$libobjs" = "X " && libobjs=
  59327. + fi
  59328. + fi
  59329. - # Some systems cannot cope with colon-terminated $shlibpath_var
  59330. - # The second colon is a workaround for a bug in BeOS R4 sed
  59331. - $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  59332. + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  59333. + eval flag=\"$thread_safe_flag_spec\"
  59334. + linker_flags="$linker_flags $flag"
  59335. + fi
  59336. - export $shlibpath_var
  59337. -"
  59338. + # Make a backup of the uninstalled library when relinking
  59339. + if test "$mode" = relink; then
  59340. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  59341. fi
  59342. - # fixup the dll searchpath if we need to.
  59343. - if test -n "$dllsearchpath"; then
  59344. - $echo >> $output "\
  59345. - # Add the dll search path components to the executable PATH
  59346. - PATH=$dllsearchpath:\$PATH
  59347. -"
  59348. + # Do each of the archive commands.
  59349. + if test "$module" = yes && test -n "$module_cmds" ; then
  59350. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  59351. + eval test_cmds=\"$module_expsym_cmds\"
  59352. + cmds=$module_expsym_cmds
  59353. + else
  59354. + eval test_cmds=\"$module_cmds\"
  59355. + cmds=$module_cmds
  59356. + fi
  59357. + else
  59358. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  59359. + eval test_cmds=\"$archive_expsym_cmds\"
  59360. + cmds=$archive_expsym_cmds
  59361. + else
  59362. + eval test_cmds=\"$archive_cmds\"
  59363. + cmds=$archive_cmds
  59364. + fi
  59365. fi
  59366. - $echo >> $output "\
  59367. - if test \"\$libtool_execute_magic\" != \"$magic\"; then
  59368. - # Run the actual program with our arguments.
  59369. -"
  59370. - case $host in
  59371. - # Backslashes separate directories on plain windows
  59372. - *-*-mingw | *-*-os2*)
  59373. - $echo >> $output "\
  59374. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  59375. -"
  59376. - ;;
  59377. + if test "X$skipped_export" != "X:" &&
  59378. + func_len " $test_cmds" &&
  59379. + len=$func_len_result &&
  59380. + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  59381. + :
  59382. + else
  59383. + # The command line is too long to link in one step, link piecewise
  59384. + # or, if using GNU ld and skipped_export is not :, use a linker
  59385. + # script.
  59386. - *)
  59387. - $echo >> $output "\
  59388. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  59389. -"
  59390. - ;;
  59391. - esac
  59392. - $echo >> $output "\
  59393. - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
  59394. - exit $EXIT_FAILURE
  59395. - fi
  59396. - else
  59397. - # The program doesn't exist.
  59398. - \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  59399. - \$echo \"This script is just a wrapper for \$program.\" 1>&2
  59400. - $echo \"See the $PACKAGE documentation for more information.\" 1>&2
  59401. - exit $EXIT_FAILURE
  59402. - fi
  59403. -fi\
  59404. -"
  59405. - chmod +x $output
  59406. - fi
  59407. - exit $EXIT_SUCCESS
  59408. - ;;
  59409. - esac
  59410. + # Save the value of $output and $libobjs because we want to
  59411. + # use them later. If we have whole_archive_flag_spec, we
  59412. + # want to use save_libobjs as it was before
  59413. + # whole_archive_flag_spec was expanded, because we can't
  59414. + # assume the linker understands whole_archive_flag_spec.
  59415. + # This may have to be revisited, in case too many
  59416. + # convenience libraries get linked in and end up exceeding
  59417. + # the spec.
  59418. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  59419. + save_libobjs=$libobjs
  59420. + fi
  59421. + save_output=$output
  59422. + output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  59423. - # See if we need to build an old-fashioned archive.
  59424. - for oldlib in $oldlibs; do
  59425. + # Clear the reloadable object creation command queue and
  59426. + # initialize k to one.
  59427. + test_cmds=
  59428. + concat_cmds=
  59429. + objlist=
  59430. + last_robj=
  59431. + k=1
  59432. - if test "$build_libtool_libs" = convenience; then
  59433. - oldobjs="$libobjs_save"
  59434. - addlibs="$convenience"
  59435. - build_libtool_libs=no
  59436. - else
  59437. - if test "$build_libtool_libs" = module; then
  59438. - oldobjs="$libobjs_save"
  59439. - build_libtool_libs=no
  59440. - else
  59441. - oldobjs="$old_deplibs $non_pic_objects"
  59442. - fi
  59443. - addlibs="$old_convenience"
  59444. - fi
  59445. + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  59446. + output=${output_objdir}/${output_la}.lnkscript
  59447. + func_verbose "creating GNU ld script: $output"
  59448. + $ECHO 'INPUT (' > $output
  59449. + for obj in $save_libobjs
  59450. + do
  59451. + $ECHO "$obj" >> $output
  59452. + done
  59453. + $ECHO ')' >> $output
  59454. + delfiles="$delfiles $output"
  59455. + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  59456. + output=${output_objdir}/${output_la}.lnk
  59457. + func_verbose "creating linker input file list: $output"
  59458. + : > $output
  59459. + set x $save_libobjs
  59460. + shift
  59461. + firstobj=
  59462. + if test "$compiler_needs_object" = yes; then
  59463. + firstobj="$1 "
  59464. + shift
  59465. + fi
  59466. + for obj
  59467. + do
  59468. + $ECHO "$obj" >> $output
  59469. + done
  59470. + delfiles="$delfiles $output"
  59471. + output=$firstobj\"$file_list_spec$output\"
  59472. + else
  59473. + if test -n "$save_libobjs"; then
  59474. + func_verbose "creating reloadable object files..."
  59475. + output=$output_objdir/$output_la-${k}.$objext
  59476. + eval test_cmds=\"$reload_cmds\"
  59477. + func_len " $test_cmds"
  59478. + len0=$func_len_result
  59479. + len=$len0
  59480. +
  59481. + # Loop over the list of objects to be linked.
  59482. + for obj in $save_libobjs
  59483. + do
  59484. + func_len " $obj"
  59485. + func_arith $len + $func_len_result
  59486. + len=$func_arith_result
  59487. + if test "X$objlist" = X ||
  59488. + test "$len" -lt "$max_cmd_len"; then
  59489. + func_append objlist " $obj"
  59490. + else
  59491. + # The command $test_cmds is almost too long, add a
  59492. + # command to the queue.
  59493. + if test "$k" -eq 1 ; then
  59494. + # The first file doesn't have a previous command to add.
  59495. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  59496. + else
  59497. + # All subsequent reloadable object files will link in
  59498. + # the last one created.
  59499. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  59500. + fi
  59501. + last_robj=$output_objdir/$output_la-${k}.$objext
  59502. + func_arith $k + 1
  59503. + k=$func_arith_result
  59504. + output=$output_objdir/$output_la-${k}.$objext
  59505. + objlist=$obj
  59506. + func_len " $last_robj"
  59507. + func_arith $len0 + $func_len_result
  59508. + len=$func_arith_result
  59509. + fi
  59510. + done
  59511. + # Handle the remaining objects by creating one last
  59512. + # reloadable object file. All subsequent reloadable object
  59513. + # files will link in the last one created.
  59514. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  59515. + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  59516. + if test -n "$last_robj"; then
  59517. + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  59518. + fi
  59519. + delfiles="$delfiles $output"
  59520. +
  59521. + else
  59522. + output=
  59523. + fi
  59524. - if test -n "$addlibs"; then
  59525. - gentop="$output_objdir/${outputname}x"
  59526. - generated="$generated $gentop"
  59527. + if ${skipped_export-false}; then
  59528. + func_verbose "generating symbol list for \`$libname.la'"
  59529. + export_symbols="$output_objdir/$libname.exp"
  59530. + $opt_dry_run || $RM $export_symbols
  59531. + libobjs=$output
  59532. + # Append the command to create the export file.
  59533. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  59534. + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
  59535. + if test -n "$last_robj"; then
  59536. + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  59537. + fi
  59538. + fi
  59539. - func_extract_archives $gentop $addlibs
  59540. - oldobjs="$oldobjs $func_extract_archives_result"
  59541. - fi
  59542. + test -n "$save_libobjs" &&
  59543. + func_verbose "creating a temporary reloadable object file: $output"
  59544. - # Do each command in the archive commands.
  59545. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  59546. - cmds=$old_archive_from_new_cmds
  59547. - else
  59548. - # POSIX demands no paths to be encoded in archives. We have
  59549. - # to avoid creating archives with duplicate basenames if we
  59550. - # might have to extract them afterwards, e.g., when creating a
  59551. - # static archive out of a convenience library, or when linking
  59552. - # the entirety of a libtool archive into another (currently
  59553. - # not supported by libtool).
  59554. - if (for obj in $oldobjs
  59555. - do
  59556. - $echo "X$obj" | $Xsed -e 's%^.*/%%'
  59557. - done | sort | sort -uc >/dev/null 2>&1); then
  59558. - :
  59559. - else
  59560. - $echo "copying selected object files to avoid basename conflicts..."
  59561. + # Loop through the commands generated above and execute them.
  59562. + save_ifs="$IFS"; IFS='~'
  59563. + for cmd in $concat_cmds; do
  59564. + IFS="$save_ifs"
  59565. + $opt_silent || {
  59566. + func_quote_for_expand "$cmd"
  59567. + eval "func_echo $func_quote_for_expand_result"
  59568. + }
  59569. + $opt_dry_run || eval "$cmd" || {
  59570. + lt_exit=$?
  59571. +
  59572. + # Restore the uninstalled library and exit
  59573. + if test "$mode" = relink; then
  59574. + ( cd "$output_objdir" && \
  59575. + $RM "${realname}T" && \
  59576. + $MV "${realname}U" "$realname" )
  59577. + fi
  59578. - if test -z "$gentop"; then
  59579. - gentop="$output_objdir/${outputname}x"
  59580. - generated="$generated $gentop"
  59581. + exit $lt_exit
  59582. + }
  59583. + done
  59584. + IFS="$save_ifs"
  59585. - $show "${rm}r $gentop"
  59586. - $run ${rm}r "$gentop"
  59587. - $show "$mkdir $gentop"
  59588. - $run $mkdir "$gentop"
  59589. - exit_status=$?
  59590. - if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
  59591. - exit $exit_status
  59592. + if test -n "$export_symbols_regex" && ${skipped_export-false}; then
  59593. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  59594. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  59595. fi
  59596. fi
  59597. - save_oldobjs=$oldobjs
  59598. - oldobjs=
  59599. - counter=1
  59600. - for obj in $save_oldobjs
  59601. - do
  59602. - objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
  59603. - case " $oldobjs " in
  59604. - " ") oldobjs=$obj ;;
  59605. - *[\ /]"$objbase "*)
  59606. - while :; do
  59607. - # Make sure we don't pick an alternate name that also
  59608. - # overlaps.
  59609. - newobj=lt$counter-$objbase
  59610. - counter=`expr $counter + 1`
  59611. - case " $oldobjs " in
  59612. - *[\ /]"$newobj "*) ;;
  59613. - *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  59614. - esac
  59615. - done
  59616. - $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  59617. - $run ln "$obj" "$gentop/$newobj" ||
  59618. - $run cp "$obj" "$gentop/$newobj"
  59619. - oldobjs="$oldobjs $gentop/$newobj"
  59620. - ;;
  59621. - *) oldobjs="$oldobjs $obj" ;;
  59622. - esac
  59623. - done
  59624. - fi
  59625. + if ${skipped_export-false}; then
  59626. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  59627. + tmp_export_symbols="$export_symbols"
  59628. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  59629. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  59630. + fi
  59631. +
  59632. + if test -n "$orig_export_symbols"; then
  59633. + # The given exports_symbols file has to be filtered, so filter it.
  59634. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  59635. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  59636. + # 's' commands which not all seds can handle. GNU sed should be fine
  59637. + # though. Also, the filter scales superlinearly with the number of
  59638. + # global variables. join(1) would be nice here, but unfortunately
  59639. + # isn't a blessed tool.
  59640. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  59641. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  59642. + export_symbols=$output_objdir/$libname.def
  59643. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  59644. + fi
  59645. + fi
  59646. - eval cmds=\"$old_archive_cmds\"
  59647. + libobjs=$output
  59648. + # Restore the value of output.
  59649. + output=$save_output
  59650. - if len=`expr "X$cmds" : ".*"` &&
  59651. - test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  59652. - cmds=$old_archive_cmds
  59653. - else
  59654. - # the command line is too long to link in one step, link in parts
  59655. - $echo "using piecewise archive linking..."
  59656. - save_RANLIB=$RANLIB
  59657. - RANLIB=:
  59658. - objlist=
  59659. - concat_cmds=
  59660. - save_oldobjs=$oldobjs
  59661. + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  59662. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  59663. + test "X$libobjs" = "X " && libobjs=
  59664. + fi
  59665. + # Expand the library linking commands again to reset the
  59666. + # value of $libobjs for piecewise linking.
  59667. - # Is there a better way of finding the last object in the list?
  59668. - for obj in $save_oldobjs
  59669. - do
  59670. - last_oldobj=$obj
  59671. - done
  59672. - for obj in $save_oldobjs
  59673. - do
  59674. - oldobjs="$objlist $obj"
  59675. - objlist="$objlist $obj"
  59676. - eval test_cmds=\"$old_archive_cmds\"
  59677. - if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
  59678. - test "$len" -le "$max_cmd_len"; then
  59679. - :
  59680. + # Do each of the archive commands.
  59681. + if test "$module" = yes && test -n "$module_cmds" ; then
  59682. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  59683. + cmds=$module_expsym_cmds
  59684. else
  59685. - # the above command should be used before it gets too long
  59686. - oldobjs=$objlist
  59687. - if test "$obj" = "$last_oldobj" ; then
  59688. - RANLIB=$save_RANLIB
  59689. - fi
  59690. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  59691. - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  59692. - objlist=
  59693. + cmds=$module_cmds
  59694. fi
  59695. - done
  59696. - RANLIB=$save_RANLIB
  59697. - oldobjs=$objlist
  59698. - if test "X$oldobjs" = "X" ; then
  59699. - eval cmds=\"\$concat_cmds\"
  59700. else
  59701. - eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  59702. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  59703. + cmds=$archive_expsym_cmds
  59704. + else
  59705. + cmds=$archive_cmds
  59706. + fi
  59707. fi
  59708. fi
  59709. - fi
  59710. - save_ifs="$IFS"; IFS='~'
  59711. - for cmd in $cmds; do
  59712. - eval cmd=\"$cmd\"
  59713. - IFS="$save_ifs"
  59714. - $show "$cmd"
  59715. - $run eval "$cmd" || exit $?
  59716. - done
  59717. - IFS="$save_ifs"
  59718. - done
  59719. - if test -n "$generated"; then
  59720. - $show "${rm}r$generated"
  59721. - $run ${rm}r$generated
  59722. - fi
  59723. + if test -n "$delfiles"; then
  59724. + # Append the command to remove temporary files to $cmds.
  59725. + eval cmds=\"\$cmds~\$RM $delfiles\"
  59726. + fi
  59727. - # Now create the libtool archive.
  59728. - case $output in
  59729. - *.la)
  59730. - old_library=
  59731. - test "$build_old_libs" = yes && old_library="$libname.$libext"
  59732. - $show "creating $output"
  59733. + # Add any objects from preloaded convenience libraries
  59734. + if test -n "$dlprefiles"; then
  59735. + gentop="$output_objdir/${outputname}x"
  59736. + generated="$generated $gentop"
  59737. - # Preserve any variables that may affect compiler behavior
  59738. - for var in $variables_saved_for_relink; do
  59739. - if eval test -z \"\${$var+set}\"; then
  59740. - relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
  59741. - elif eval var_value=\$$var; test -z "$var_value"; then
  59742. - relink_command="$var=; export $var; $relink_command"
  59743. - else
  59744. - var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
  59745. - relink_command="$var=\"$var_value\"; export $var; $relink_command"
  59746. + func_extract_archives $gentop $dlprefiles
  59747. + libobjs="$libobjs $func_extract_archives_result"
  59748. + test "X$libobjs" = "X " && libobjs=
  59749. fi
  59750. - done
  59751. - # Quote the link command for shipping.
  59752. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  59753. - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  59754. - if test "$hardcode_automatic" = yes ; then
  59755. - relink_command=
  59756. - fi
  59757. + save_ifs="$IFS"; IFS='~'
  59758. + for cmd in $cmds; do
  59759. + IFS="$save_ifs"
  59760. + eval cmd=\"$cmd\"
  59761. + $opt_silent || {
  59762. + func_quote_for_expand "$cmd"
  59763. + eval "func_echo $func_quote_for_expand_result"
  59764. + }
  59765. + $opt_dry_run || eval "$cmd" || {
  59766. + lt_exit=$?
  59767. - # Only create the output if not a dry run.
  59768. - if test -z "$run"; then
  59769. - for installed in no yes; do
  59770. - if test "$installed" = yes; then
  59771. - if test -z "$install_libdir"; then
  59772. - break
  59773. + # Restore the uninstalled library and exit
  59774. + if test "$mode" = relink; then
  59775. + ( cd "$output_objdir" && \
  59776. + $RM "${realname}T" && \
  59777. + $MV "${realname}U" "$realname" )
  59778. fi
  59779. - output="$output_objdir/$outputname"i
  59780. - # Replace all uninstalled libtool libraries with the installed ones
  59781. - newdependency_libs=
  59782. - for deplib in $dependency_libs; do
  59783. - case $deplib in
  59784. - *.la)
  59785. - name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
  59786. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  59787. - if test -z "$libdir"; then
  59788. - $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
  59789. - exit $EXIT_FAILURE
  59790. - fi
  59791. - newdependency_libs="$newdependency_libs $libdir/$name"
  59792. - ;;
  59793. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  59794. - esac
  59795. - done
  59796. - dependency_libs="$newdependency_libs"
  59797. - newdlfiles=
  59798. - for lib in $dlfiles; do
  59799. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  59800. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  59801. - if test -z "$libdir"; then
  59802. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  59803. - exit $EXIT_FAILURE
  59804. - fi
  59805. - newdlfiles="$newdlfiles $libdir/$name"
  59806. - done
  59807. - dlfiles="$newdlfiles"
  59808. - newdlprefiles=
  59809. - for lib in $dlprefiles; do
  59810. - name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
  59811. - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  59812. - if test -z "$libdir"; then
  59813. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  59814. - exit $EXIT_FAILURE
  59815. - fi
  59816. - newdlprefiles="$newdlprefiles $libdir/$name"
  59817. - done
  59818. - dlprefiles="$newdlprefiles"
  59819. - else
  59820. - newdlfiles=
  59821. - for lib in $dlfiles; do
  59822. - case $lib in
  59823. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  59824. - *) abs=`pwd`"/$lib" ;;
  59825. - esac
  59826. - newdlfiles="$newdlfiles $abs"
  59827. - done
  59828. - dlfiles="$newdlfiles"
  59829. - newdlprefiles=
  59830. - for lib in $dlprefiles; do
  59831. - case $lib in
  59832. - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  59833. - *) abs=`pwd`"/$lib" ;;
  59834. - esac
  59835. - newdlprefiles="$newdlprefiles $abs"
  59836. - done
  59837. - dlprefiles="$newdlprefiles"
  59838. - fi
  59839. - $rm $output
  59840. - # place dlname in correct position for cygwin
  59841. - tdlname=$dlname
  59842. - case $host,$output,$installed,$module,$dlname in
  59843. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  59844. - esac
  59845. - $echo > $output "\
  59846. -# $outputname - a libtool library file
  59847. -# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
  59848. -#
  59849. -# Please DO NOT delete this file!
  59850. -# It is necessary for linking the library.
  59851. -
  59852. -# The name that we can dlopen(3).
  59853. -dlname='$tdlname'
  59854. -# Names of this library.
  59855. -library_names='$library_names'
  59856. -
  59857. -# The name of the static archive.
  59858. -old_library='$old_library'
  59859. -
  59860. -# Libraries that this one depends upon.
  59861. -dependency_libs='$dependency_libs'
  59862. -
  59863. -# Version information for $libname.
  59864. -current=$current
  59865. -age=$age
  59866. -revision=$revision
  59867. + exit $lt_exit
  59868. + }
  59869. + done
  59870. + IFS="$save_ifs"
  59871. -# Is this an already installed library?
  59872. -installed=$installed
  59873. + # Restore the uninstalled library and exit
  59874. + if test "$mode" = relink; then
  59875. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  59876. -# Should we warn about portability when linking against -modules?
  59877. -shouldnotlink=$module
  59878. + if test -n "$convenience"; then
  59879. + if test -z "$whole_archive_flag_spec"; then
  59880. + func_show_eval '${RM}r "$gentop"'
  59881. + fi
  59882. + fi
  59883. -# Files to dlopen/dlpreopen
  59884. -dlopen='$dlfiles'
  59885. -dlpreopen='$dlprefiles'
  59886. + exit $EXIT_SUCCESS
  59887. + fi
  59888. -# Directory that this library needs to be installed in:
  59889. -libdir='$install_libdir'"
  59890. - if test "$installed" = no && test "$need_relink" = yes; then
  59891. - $echo >> $output "\
  59892. -relink_command=\"$relink_command\""
  59893. + # Create links to the real library.
  59894. + for linkname in $linknames; do
  59895. + if test "$realname" != "$linkname"; then
  59896. + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
  59897. fi
  59898. done
  59899. - fi
  59900. -
  59901. - # Do a symbolic link so that the libtool archive can be found in
  59902. - # LD_LIBRARY_PATH before the program is installed.
  59903. - $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
  59904. - $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
  59905. - ;;
  59906. - esac
  59907. - exit $EXIT_SUCCESS
  59908. - ;;
  59909. -
  59910. - # libtool install mode
  59911. - install)
  59912. - modename="$modename: install"
  59913. -
  59914. - # There may be an optional sh(1) argument at the beginning of
  59915. - # install_prog (especially on Windows NT).
  59916. - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  59917. - # Allow the use of GNU shtool's install command.
  59918. - $echo "X$nonopt" | grep shtool > /dev/null; then
  59919. - # Aesthetically quote it.
  59920. - arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
  59921. - case $arg in
  59922. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  59923. - arg="\"$arg\""
  59924. - ;;
  59925. - esac
  59926. - install_prog="$arg "
  59927. - arg="$1"
  59928. - shift
  59929. - else
  59930. - install_prog=
  59931. - arg=$nonopt
  59932. - fi
  59933. - # The real first argument should be the name of the installation program.
  59934. - # Aesthetically quote it.
  59935. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  59936. - case $arg in
  59937. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  59938. - arg="\"$arg\""
  59939. + # If -module or -export-dynamic was specified, set the dlname.
  59940. + if test "$module" = yes || test "$export_dynamic" = yes; then
  59941. + # On all known operating systems, these are identical.
  59942. + dlname="$soname"
  59943. + fi
  59944. + fi
  59945. ;;
  59946. - esac
  59947. - install_prog="$install_prog$arg"
  59948. - # We need to accept at least all the BSD install flags.
  59949. - dest=
  59950. - files=
  59951. - opts=
  59952. - prev=
  59953. - install_type=
  59954. - isdir=no
  59955. - stripme=
  59956. - for arg
  59957. - do
  59958. - if test -n "$dest"; then
  59959. - files="$files $dest"
  59960. - dest=$arg
  59961. - continue
  59962. + obj)
  59963. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  59964. + func_warning "\`-dlopen' is ignored for objects"
  59965. fi
  59966. - case $arg in
  59967. - -d) isdir=yes ;;
  59968. - -f)
  59969. - case " $install_prog " in
  59970. - *[\\\ /]cp\ *) ;;
  59971. - *) prev=$arg ;;
  59972. - esac
  59973. - ;;
  59974. - -g | -m | -o) prev=$arg ;;
  59975. - -s)
  59976. - stripme=" -s"
  59977. - continue
  59978. - ;;
  59979. - -*)
  59980. + case " $deplibs" in
  59981. + *\ -l* | *\ -L*)
  59982. + func_warning "\`-l' and \`-L' are ignored for objects" ;;
  59983. + esac
  59984. +
  59985. + test -n "$rpath" && \
  59986. + func_warning "\`-rpath' is ignored for objects"
  59987. +
  59988. + test -n "$xrpath" && \
  59989. + func_warning "\`-R' is ignored for objects"
  59990. +
  59991. + test -n "$vinfo" && \
  59992. + func_warning "\`-version-info' is ignored for objects"
  59993. +
  59994. + test -n "$release" && \
  59995. + func_warning "\`-release' is ignored for objects"
  59996. +
  59997. + case $output in
  59998. + *.lo)
  59999. + test -n "$objs$old_deplibs" && \
  60000. + func_fatal_error "cannot build library object \`$output' from non-libtool objects"
  60001. +
  60002. + libobj=$output
  60003. + func_lo2o "$libobj"
  60004. + obj=$func_lo2o_result
  60005. ;;
  60006. *)
  60007. - # If the previous option needed an argument, then skip it.
  60008. - if test -n "$prev"; then
  60009. - prev=
  60010. - else
  60011. - dest=$arg
  60012. - continue
  60013. - fi
  60014. + libobj=
  60015. + obj="$output"
  60016. ;;
  60017. esac
  60018. - # Aesthetically quote the argument.
  60019. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  60020. - case $arg in
  60021. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  60022. - arg="\"$arg\""
  60023. - ;;
  60024. - esac
  60025. - install_prog="$install_prog $arg"
  60026. - done
  60027. + # Delete the old objects.
  60028. + $opt_dry_run || $RM $obj $libobj
  60029. - if test -z "$install_prog"; then
  60030. - $echo "$modename: you must specify an install program" 1>&2
  60031. - $echo "$help" 1>&2
  60032. - exit $EXIT_FAILURE
  60033. - fi
  60034. + # Objects from convenience libraries. This assumes
  60035. + # single-version convenience libraries. Whenever we create
  60036. + # different ones for PIC/non-PIC, this we'll have to duplicate
  60037. + # the extraction.
  60038. + reload_conv_objs=
  60039. + gentop=
  60040. + # reload_cmds runs $LD directly, so let us get rid of
  60041. + # -Wl from whole_archive_flag_spec and hope we can get by with
  60042. + # turning comma into space..
  60043. + wl=
  60044. - if test -n "$prev"; then
  60045. - $echo "$modename: the \`$prev' option requires an argument" 1>&2
  60046. - $echo "$help" 1>&2
  60047. - exit $EXIT_FAILURE
  60048. - fi
  60049. + if test -n "$convenience"; then
  60050. + if test -n "$whole_archive_flag_spec"; then
  60051. + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  60052. + reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  60053. + else
  60054. + gentop="$output_objdir/${obj}x"
  60055. + generated="$generated $gentop"
  60056. - if test -z "$files"; then
  60057. - if test -z "$dest"; then
  60058. - $echo "$modename: no file or destination specified" 1>&2
  60059. - else
  60060. - $echo "$modename: you must specify a destination" 1>&2
  60061. + func_extract_archives $gentop $convenience
  60062. + reload_conv_objs="$reload_objs $func_extract_archives_result"
  60063. + fi
  60064. fi
  60065. - $echo "$help" 1>&2
  60066. - exit $EXIT_FAILURE
  60067. - fi
  60068. - # Strip any trailing slash from the destination.
  60069. - dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
  60070. + # Create the old-style object.
  60071. + 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
  60072. - # Check to see that the destination is a directory.
  60073. - test -d "$dest" && isdir=yes
  60074. - if test "$isdir" = yes; then
  60075. - destdir="$dest"
  60076. - destname=
  60077. - else
  60078. - destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
  60079. - test "X$destdir" = "X$dest" && destdir=.
  60080. - destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
  60081. + output="$obj"
  60082. + func_execute_cmds "$reload_cmds" 'exit $?'
  60083. - # Not a directory, so check to see that there is only one file specified.
  60084. - set dummy $files
  60085. - if test "$#" -gt 2; then
  60086. - $echo "$modename: \`$dest' is not a directory" 1>&2
  60087. - $echo "$help" 1>&2
  60088. - exit $EXIT_FAILURE
  60089. + # Exit if we aren't doing a library object file.
  60090. + if test -z "$libobj"; then
  60091. + if test -n "$gentop"; then
  60092. + func_show_eval '${RM}r "$gentop"'
  60093. + fi
  60094. +
  60095. + exit $EXIT_SUCCESS
  60096. fi
  60097. - fi
  60098. - case $destdir in
  60099. - [\\/]* | [A-Za-z]:[\\/]*) ;;
  60100. - *)
  60101. - for file in $files; do
  60102. - case $file in
  60103. - *.lo) ;;
  60104. - *)
  60105. - $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
  60106. - $echo "$help" 1>&2
  60107. - exit $EXIT_FAILURE
  60108. - ;;
  60109. - esac
  60110. - done
  60111. +
  60112. + if test "$build_libtool_libs" != yes; then
  60113. + if test -n "$gentop"; then
  60114. + func_show_eval '${RM}r "$gentop"'
  60115. + fi
  60116. +
  60117. + # Create an invalid libtool object if no PIC, so that we don't
  60118. + # accidentally link it into a program.
  60119. + # $show "echo timestamp > $libobj"
  60120. + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
  60121. + exit $EXIT_SUCCESS
  60122. + fi
  60123. +
  60124. + if test -n "$pic_flag" || test "$pic_mode" != default; then
  60125. + # Only do commands if we really have different PIC objects.
  60126. + reload_objs="$libobjs $reload_conv_objs"
  60127. + output="$libobj"
  60128. + func_execute_cmds "$reload_cmds" 'exit $?'
  60129. + fi
  60130. +
  60131. + if test -n "$gentop"; then
  60132. + func_show_eval '${RM}r "$gentop"'
  60133. + fi
  60134. +
  60135. + exit $EXIT_SUCCESS
  60136. ;;
  60137. - esac
  60138. - # This variable tells wrapper scripts just to set variables rather
  60139. - # than running their programs.
  60140. - libtool_install_magic="$magic"
  60141. + prog)
  60142. + case $host in
  60143. + *cygwin*) func_stripname '' '.exe' "$output"
  60144. + output=$func_stripname_result.exe;;
  60145. + esac
  60146. + test -n "$vinfo" && \
  60147. + func_warning "\`-version-info' is ignored for programs"
  60148. - staticlibs=
  60149. - future_libdirs=
  60150. - current_libdirs=
  60151. - for file in $files; do
  60152. + test -n "$release" && \
  60153. + func_warning "\`-release' is ignored for programs"
  60154. - # Do each installation.
  60155. - case $file in
  60156. - *.$libext)
  60157. - # Do the static libraries later.
  60158. - staticlibs="$staticlibs $file"
  60159. + test "$preload" = yes \
  60160. + && test "$dlopen_support" = unknown \
  60161. + && test "$dlopen_self" = unknown \
  60162. + && test "$dlopen_self_static" = unknown && \
  60163. + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
  60164. +
  60165. + case $host in
  60166. + *-*-rhapsody* | *-*-darwin1.[012])
  60167. + # On Rhapsody replace the C library is the System framework
  60168. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  60169. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  60170. ;;
  60171. + esac
  60172. - *.la)
  60173. - # Check to see that this really is a libtool archive.
  60174. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  60175. - else
  60176. - $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
  60177. - $echo "$help" 1>&2
  60178. - exit $EXIT_FAILURE
  60179. + case $host in
  60180. + *-*-darwin*)
  60181. + # Don't allow lazy linking, it breaks C++ global constructors
  60182. + # But is supposedly fixed on 10.4 or later (yay!).
  60183. + if test "$tagname" = CXX ; then
  60184. + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  60185. + 10.[0123])
  60186. + compile_command="$compile_command ${wl}-bind_at_load"
  60187. + finalize_command="$finalize_command ${wl}-bind_at_load"
  60188. + ;;
  60189. + esac
  60190. fi
  60191. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  60192. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  60193. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  60194. + ;;
  60195. + esac
  60196. - library_names=
  60197. - old_library=
  60198. - relink_command=
  60199. - # If there is no directory component, then add one.
  60200. - case $file in
  60201. - */* | *\\*) . $file ;;
  60202. - *) . ./$file ;;
  60203. - esac
  60204. - # Add the libdir to current_libdirs if it is the destination.
  60205. - if test "X$destdir" = "X$libdir"; then
  60206. - case "$current_libdirs " in
  60207. - *" $libdir "*) ;;
  60208. - *) current_libdirs="$current_libdirs $libdir" ;;
  60209. + # move library search paths that coincide with paths to not yet
  60210. + # installed libraries to the beginning of the library search list
  60211. + new_libs=
  60212. + for path in $notinst_path; do
  60213. + case " $new_libs " in
  60214. + *" -L$path/$objdir "*) ;;
  60215. + *)
  60216. + case " $compile_deplibs " in
  60217. + *" -L$path/$objdir "*)
  60218. + new_libs="$new_libs -L$path/$objdir" ;;
  60219. esac
  60220. - else
  60221. - # Note the libdir as a future libdir.
  60222. - case "$future_libdirs " in
  60223. - *" $libdir "*) ;;
  60224. - *) future_libdirs="$future_libdirs $libdir" ;;
  60225. + ;;
  60226. + esac
  60227. + done
  60228. + for deplib in $compile_deplibs; do
  60229. + case $deplib in
  60230. + -L*)
  60231. + case " $new_libs " in
  60232. + *" $deplib "*) ;;
  60233. + *) new_libs="$new_libs $deplib" ;;
  60234. esac
  60235. - fi
  60236. + ;;
  60237. + *) new_libs="$new_libs $deplib" ;;
  60238. + esac
  60239. + done
  60240. + compile_deplibs="$new_libs"
  60241. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
  60242. - test "X$dir" = "X$file/" && dir=
  60243. - dir="$dir$objdir"
  60244. - if test -n "$relink_command"; then
  60245. - # Determine the prefix the user has applied to our future dir.
  60246. - inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
  60247. + compile_command="$compile_command $compile_deplibs"
  60248. + finalize_command="$finalize_command $finalize_deplibs"
  60249. - # Don't allow the user to place us outside of our expected
  60250. - # location b/c this prevents finding dependent libraries that
  60251. - # are installed to the same prefix.
  60252. - # At present, this check doesn't affect windows .dll's that
  60253. - # are installed into $libdir/../bin (currently, that works fine)
  60254. - # but it's something to keep an eye on.
  60255. - if test "$inst_prefix_dir" = "$destdir"; then
  60256. - $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
  60257. - exit $EXIT_FAILURE
  60258. - fi
  60259. + if test -n "$rpath$xrpath"; then
  60260. + # If the user specified any rpath flags, then add them.
  60261. + for libdir in $rpath $xrpath; do
  60262. + # This is the magic to use -rpath.
  60263. + case "$finalize_rpath " in
  60264. + *" $libdir "*) ;;
  60265. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  60266. + esac
  60267. + done
  60268. + fi
  60269. - if test -n "$inst_prefix_dir"; then
  60270. - # Stick the inst_prefix_dir data into the link command.
  60271. - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  60272. + # Now hardcode the library paths
  60273. + rpath=
  60274. + hardcode_libdirs=
  60275. + for libdir in $compile_rpath $finalize_rpath; do
  60276. + if test -n "$hardcode_libdir_flag_spec"; then
  60277. + if test -n "$hardcode_libdir_separator"; then
  60278. + if test -z "$hardcode_libdirs"; then
  60279. + hardcode_libdirs="$libdir"
  60280. + else
  60281. + # Just accumulate the unique libdirs.
  60282. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  60283. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  60284. + ;;
  60285. + *)
  60286. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  60287. + ;;
  60288. + esac
  60289. + fi
  60290. else
  60291. - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  60292. + eval flag=\"$hardcode_libdir_flag_spec\"
  60293. + rpath="$rpath $flag"
  60294. fi
  60295. + elif test -n "$runpath_var"; then
  60296. + case "$perm_rpath " in
  60297. + *" $libdir "*) ;;
  60298. + *) perm_rpath="$perm_rpath $libdir" ;;
  60299. + esac
  60300. + fi
  60301. + case $host in
  60302. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  60303. + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  60304. + case :$dllsearchpath: in
  60305. + *":$libdir:"*) ;;
  60306. + ::) dllsearchpath=$libdir;;
  60307. + *) dllsearchpath="$dllsearchpath:$libdir";;
  60308. + esac
  60309. + case :$dllsearchpath: in
  60310. + *":$testbindir:"*) ;;
  60311. + ::) dllsearchpath=$testbindir;;
  60312. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  60313. + esac
  60314. + ;;
  60315. + esac
  60316. + done
  60317. + # Substitute the hardcoded libdirs into the rpath.
  60318. + if test -n "$hardcode_libdir_separator" &&
  60319. + test -n "$hardcode_libdirs"; then
  60320. + libdir="$hardcode_libdirs"
  60321. + eval rpath=\" $hardcode_libdir_flag_spec\"
  60322. + fi
  60323. + compile_rpath="$rpath"
  60324. - $echo "$modename: warning: relinking \`$file'" 1>&2
  60325. - $show "$relink_command"
  60326. - if $run eval "$relink_command"; then :
  60327. + rpath=
  60328. + hardcode_libdirs=
  60329. + for libdir in $finalize_rpath; do
  60330. + if test -n "$hardcode_libdir_flag_spec"; then
  60331. + if test -n "$hardcode_libdir_separator"; then
  60332. + if test -z "$hardcode_libdirs"; then
  60333. + hardcode_libdirs="$libdir"
  60334. + else
  60335. + # Just accumulate the unique libdirs.
  60336. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  60337. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  60338. + ;;
  60339. + *)
  60340. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  60341. + ;;
  60342. + esac
  60343. + fi
  60344. else
  60345. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  60346. - exit $EXIT_FAILURE
  60347. + eval flag=\"$hardcode_libdir_flag_spec\"
  60348. + rpath="$rpath $flag"
  60349. fi
  60350. + elif test -n "$runpath_var"; then
  60351. + case "$finalize_perm_rpath " in
  60352. + *" $libdir "*) ;;
  60353. + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  60354. + esac
  60355. fi
  60356. + done
  60357. + # Substitute the hardcoded libdirs into the rpath.
  60358. + if test -n "$hardcode_libdir_separator" &&
  60359. + test -n "$hardcode_libdirs"; then
  60360. + libdir="$hardcode_libdirs"
  60361. + eval rpath=\" $hardcode_libdir_flag_spec\"
  60362. + fi
  60363. + finalize_rpath="$rpath"
  60364. - # See the names of the shared library.
  60365. - set dummy $library_names
  60366. - if test -n "$2"; then
  60367. - realname="$2"
  60368. - shift
  60369. - shift
  60370. + if test -n "$libobjs" && test "$build_old_libs" = yes; then
  60371. + # Transform all the library objects into standard objects.
  60372. + compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  60373. + finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  60374. + fi
  60375. - srcname="$realname"
  60376. - test -n "$relink_command" && srcname="$realname"T
  60377. + func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  60378. - # Install the shared library and build the symlinks.
  60379. - $show "$install_prog $dir/$srcname $destdir/$realname"
  60380. - $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
  60381. - if test -n "$stripme" && test -n "$striplib"; then
  60382. - $show "$striplib $destdir/$realname"
  60383. - $run eval "$striplib $destdir/$realname" || exit $?
  60384. - fi
  60385. + # template prelinking step
  60386. + if test -n "$prelink_cmds"; then
  60387. + func_execute_cmds "$prelink_cmds" 'exit $?'
  60388. + fi
  60389. - if test "$#" -gt 0; then
  60390. - # Delete the old symlinks, and create new ones.
  60391. - # Try `ln -sf' first, because the `ln' binary might depend on
  60392. - # the symlink we replace! Solaris /bin/ln does not understand -f,
  60393. - # so we also need to try rm && ln -s.
  60394. - for linkname
  60395. - do
  60396. - if test "$linkname" != "$realname"; then
  60397. - $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  60398. - $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
  60399. - fi
  60400. - done
  60401. - fi
  60402. + wrappers_required=yes
  60403. + case $host in
  60404. + *cygwin* | *mingw* )
  60405. + if test "$build_libtool_libs" != yes; then
  60406. + wrappers_required=no
  60407. + fi
  60408. + ;;
  60409. + *cegcc)
  60410. + # Disable wrappers for cegcc, we are cross compiling anyway.
  60411. + wrappers_required=no
  60412. + ;;
  60413. + *)
  60414. + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  60415. + wrappers_required=no
  60416. + fi
  60417. + ;;
  60418. + esac
  60419. + if test "$wrappers_required" = no; then
  60420. + # Replace the output file specification.
  60421. + compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  60422. + link_command="$compile_command$compile_rpath"
  60423. - # Do each command in the postinstall commands.
  60424. - lib="$destdir/$realname"
  60425. - cmds=$postinstall_cmds
  60426. - save_ifs="$IFS"; IFS='~'
  60427. - for cmd in $cmds; do
  60428. - IFS="$save_ifs"
  60429. - eval cmd=\"$cmd\"
  60430. - $show "$cmd"
  60431. - $run eval "$cmd" || {
  60432. - lt_exit=$?
  60433. -
  60434. - # Restore the uninstalled library and exit
  60435. - if test "$mode" = relink; then
  60436. - $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
  60437. - fi
  60438. + # We have no uninstalled library dependencies, so finalize right now.
  60439. + exit_status=0
  60440. + func_show_eval "$link_command" 'exit_status=$?'
  60441. - exit $lt_exit
  60442. - }
  60443. - done
  60444. - IFS="$save_ifs"
  60445. + # Delete the generated files.
  60446. + if test -f "$output_objdir/${outputname}S.${objext}"; then
  60447. + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  60448. fi
  60449. - # Install the pseudo-library for information purposes.
  60450. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  60451. - instname="$dir/$name"i
  60452. - $show "$install_prog $instname $destdir/$name"
  60453. - $run eval "$install_prog $instname $destdir/$name" || exit $?
  60454. -
  60455. - # Maybe install the static library, too.
  60456. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  60457. - ;;
  60458. + exit $exit_status
  60459. + fi
  60460. - *.lo)
  60461. - # Install (i.e. copy) a libtool object.
  60462. + if test -n "$compile_shlibpath$finalize_shlibpath"; then
  60463. + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  60464. + fi
  60465. + if test -n "$finalize_shlibpath"; then
  60466. + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  60467. + fi
  60468. - # Figure out destination file name, if it wasn't already specified.
  60469. - if test -n "$destname"; then
  60470. - destfile="$destdir/$destname"
  60471. - else
  60472. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  60473. - destfile="$destdir/$destfile"
  60474. + compile_var=
  60475. + finalize_var=
  60476. + if test -n "$runpath_var"; then
  60477. + if test -n "$perm_rpath"; then
  60478. + # We should set the runpath_var.
  60479. + rpath=
  60480. + for dir in $perm_rpath; do
  60481. + rpath="$rpath$dir:"
  60482. + done
  60483. + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  60484. fi
  60485. -
  60486. - # Deduce the name of the destination old-style object file.
  60487. - case $destfile in
  60488. - *.lo)
  60489. - staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
  60490. - ;;
  60491. - *.$objext)
  60492. - staticdest="$destfile"
  60493. - destfile=
  60494. - ;;
  60495. - *)
  60496. - $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
  60497. - $echo "$help" 1>&2
  60498. - exit $EXIT_FAILURE
  60499. - ;;
  60500. - esac
  60501. -
  60502. - # Install the libtool object if requested.
  60503. - if test -n "$destfile"; then
  60504. - $show "$install_prog $file $destfile"
  60505. - $run eval "$install_prog $file $destfile" || exit $?
  60506. + if test -n "$finalize_perm_rpath"; then
  60507. + # We should set the runpath_var.
  60508. + rpath=
  60509. + for dir in $finalize_perm_rpath; do
  60510. + rpath="$rpath$dir:"
  60511. + done
  60512. + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  60513. fi
  60514. + fi
  60515. - # Install the old object if enabled.
  60516. - if test "$build_old_libs" = yes; then
  60517. - # Deduce the name of the old-style object file.
  60518. - staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
  60519. -
  60520. - $show "$install_prog $staticobj $staticdest"
  60521. - $run eval "$install_prog \$staticobj \$staticdest" || exit $?
  60522. - fi
  60523. + if test "$no_install" = yes; then
  60524. + # We don't need to create a wrapper script.
  60525. + link_command="$compile_var$compile_command$compile_rpath"
  60526. + # Replace the output file specification.
  60527. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  60528. + # Delete the old output file.
  60529. + $opt_dry_run || $RM $output
  60530. + # Link the executable and exit
  60531. + func_show_eval "$link_command" 'exit $?'
  60532. exit $EXIT_SUCCESS
  60533. - ;;
  60534. + fi
  60535. - *)
  60536. - # Figure out destination file name, if it wasn't already specified.
  60537. - if test -n "$destname"; then
  60538. - destfile="$destdir/$destname"
  60539. + if test "$hardcode_action" = relink; then
  60540. + # Fast installation is not supported
  60541. + link_command="$compile_var$compile_command$compile_rpath"
  60542. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  60543. +
  60544. + func_warning "this platform does not like uninstalled shared libraries"
  60545. + func_warning "\`$output' will be relinked during installation"
  60546. + else
  60547. + if test "$fast_install" != no; then
  60548. + link_command="$finalize_var$compile_command$finalize_rpath"
  60549. + if test "$fast_install" = yes; then
  60550. + relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  60551. + else
  60552. + # fast_install is set to needless
  60553. + relink_command=
  60554. + fi
  60555. else
  60556. - destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  60557. - destfile="$destdir/$destfile"
  60558. + link_command="$compile_var$compile_command$compile_rpath"
  60559. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  60560. fi
  60561. + fi
  60562. - # If the file is missing, and there is a .exe on the end, strip it
  60563. - # because it is most likely a libtool script we actually want to
  60564. - # install
  60565. - stripped_ext=""
  60566. - case $file in
  60567. - *.exe)
  60568. - if test ! -f "$file"; then
  60569. - file=`$echo $file|${SED} 's,.exe$,,'`
  60570. - stripped_ext=".exe"
  60571. - fi
  60572. - ;;
  60573. - esac
  60574. -
  60575. - # Do a test to see if this is really a libtool program.
  60576. - case $host in
  60577. - *cygwin*|*mingw*)
  60578. - wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
  60579. - ;;
  60580. - *)
  60581. - wrapper=$file
  60582. - ;;
  60583. - esac
  60584. - if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
  60585. - notinst_deplibs=
  60586. - relink_command=
  60587. -
  60588. - # Note that it is not necessary on cygwin/mingw to append a dot to
  60589. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  60590. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  60591. - # `FILE.' does not work on cygwin managed mounts.
  60592. - #
  60593. - # If there is no directory component, then add one.
  60594. - case $wrapper in
  60595. - */* | *\\*) . ${wrapper} ;;
  60596. - *) . ./${wrapper} ;;
  60597. - esac
  60598. -
  60599. - # Check the variables that should have been set.
  60600. - if test -z "$notinst_deplibs"; then
  60601. - $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
  60602. - exit $EXIT_FAILURE
  60603. - fi
  60604. + # Replace the output file specification.
  60605. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  60606. - finalize=yes
  60607. - for lib in $notinst_deplibs; do
  60608. - # Check to see that each library is installed.
  60609. - libdir=
  60610. - if test -f "$lib"; then
  60611. - # If there is no directory component, then add one.
  60612. - case $lib in
  60613. - */* | *\\*) . $lib ;;
  60614. - *) . ./$lib ;;
  60615. - esac
  60616. - fi
  60617. - libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  60618. - if test -n "$libdir" && test ! -f "$libfile"; then
  60619. - $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
  60620. - finalize=no
  60621. - fi
  60622. - done
  60623. + # Delete the old output files.
  60624. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  60625. - relink_command=
  60626. - # Note that it is not necessary on cygwin/mingw to append a dot to
  60627. - # foo even if both foo and FILE.exe exist: automatic-append-.exe
  60628. - # behavior happens only for exec(3), not for open(2)! Also, sourcing
  60629. - # `FILE.' does not work on cygwin managed mounts.
  60630. - #
  60631. - # If there is no directory component, then add one.
  60632. - case $wrapper in
  60633. - */* | *\\*) . ${wrapper} ;;
  60634. - *) . ./${wrapper} ;;
  60635. - esac
  60636. + func_show_eval "$link_command" 'exit $?'
  60637. - outputname=
  60638. - if test "$fast_install" = no && test -n "$relink_command"; then
  60639. - if test "$finalize" = yes && test -z "$run"; then
  60640. - tmpdir=`func_mktempdir`
  60641. - file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
  60642. - outputname="$tmpdir/$file"
  60643. - # Replace the output file specification.
  60644. - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  60645. + # Now create the wrapper script.
  60646. + func_verbose "creating $output"
  60647. - $show "$relink_command"
  60648. - if $run eval "$relink_command"; then :
  60649. - else
  60650. - $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
  60651. - ${rm}r "$tmpdir"
  60652. - continue
  60653. - fi
  60654. - file="$outputname"
  60655. - else
  60656. - $echo "$modename: warning: cannot relink \`$file'" 1>&2
  60657. - fi
  60658. + # Quote the relink command for shipping.
  60659. + if test -n "$relink_command"; then
  60660. + # Preserve any variables that may affect compiler behavior
  60661. + for var in $variables_saved_for_relink; do
  60662. + if eval test -z \"\${$var+set}\"; then
  60663. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  60664. + elif eval var_value=\$$var; test -z "$var_value"; then
  60665. + relink_command="$var=; export $var; $relink_command"
  60666. else
  60667. - # Install the binary that we compiled earlier.
  60668. - file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  60669. + func_quote_for_eval "$var_value"
  60670. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  60671. fi
  60672. - fi
  60673. + done
  60674. + relink_command="(cd `pwd`; $relink_command)"
  60675. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  60676. + fi
  60677. - # remove .exe since cygwin /usr/bin/install will append another
  60678. - # one anyway
  60679. - case $install_prog,$host in
  60680. - */usr/bin/install*,*cygwin*)
  60681. - case $file:$destfile in
  60682. - *.exe:*.exe)
  60683. - # this is ok
  60684. - ;;
  60685. - *.exe:*)
  60686. - destfile=$destfile.exe
  60687. - ;;
  60688. - *:*.exe)
  60689. - destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
  60690. - ;;
  60691. - esac
  60692. - ;;
  60693. + # Quote $ECHO for shipping.
  60694. + if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  60695. + case $progpath in
  60696. + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  60697. + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  60698. + esac
  60699. + qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  60700. + else
  60701. + qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  60702. + fi
  60703. +
  60704. + # Only actually do things if not in dry run mode.
  60705. + $opt_dry_run || {
  60706. + # win32 will think the script is a binary if it has
  60707. + # a .exe suffix, so we strip it off here.
  60708. + case $output in
  60709. + *.exe) func_stripname '' '.exe' "$output"
  60710. + output=$func_stripname_result ;;
  60711. esac
  60712. - $show "$install_prog$stripme $file $destfile"
  60713. - $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
  60714. - test -n "$outputname" && ${rm}r "$tmpdir"
  60715. - ;;
  60716. - esac
  60717. - done
  60718. + # test for cygwin because mv fails w/o .exe extensions
  60719. + case $host in
  60720. + *cygwin*)
  60721. + exeext=.exe
  60722. + func_stripname '' '.exe' "$outputname"
  60723. + outputname=$func_stripname_result ;;
  60724. + *) exeext= ;;
  60725. + esac
  60726. + case $host in
  60727. + *cygwin* | *mingw* )
  60728. + func_dirname_and_basename "$output" "" "."
  60729. + output_name=$func_basename_result
  60730. + output_path=$func_dirname_result
  60731. + cwrappersource="$output_path/$objdir/lt-$output_name.c"
  60732. + cwrapper="$output_path/$output_name.exe"
  60733. + $RM $cwrappersource $cwrapper
  60734. + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  60735. +
  60736. + func_emit_cwrapperexe_src > $cwrappersource
  60737. +
  60738. + # The wrapper executable is built using the $host compiler,
  60739. + # because it contains $host paths and files. If cross-
  60740. + # compiling, it, like the target executable, must be
  60741. + # executed on the $host or under an emulation environment.
  60742. + $opt_dry_run || {
  60743. + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
  60744. + $STRIP $cwrapper
  60745. + }
  60746. - for file in $staticlibs; do
  60747. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  60748. + # Now, create the wrapper script for func_source use:
  60749. + func_ltwrapper_scriptname $cwrapper
  60750. + $RM $func_ltwrapper_scriptname_result
  60751. + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
  60752. + $opt_dry_run || {
  60753. + # note: this script will not be executed, so do not chmod.
  60754. + if test "x$build" = "x$host" ; then
  60755. + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
  60756. + else
  60757. + func_emit_wrapper no > $func_ltwrapper_scriptname_result
  60758. + fi
  60759. + }
  60760. + ;;
  60761. + * )
  60762. + $RM $output
  60763. + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
  60764. - # Set up the ranlib parameters.
  60765. - oldlib="$destdir/$name"
  60766. + func_emit_wrapper no > $output
  60767. + chmod +x $output
  60768. + ;;
  60769. + esac
  60770. + }
  60771. + exit $EXIT_SUCCESS
  60772. + ;;
  60773. + esac
  60774. - $show "$install_prog $file $oldlib"
  60775. - $run eval "$install_prog \$file \$oldlib" || exit $?
  60776. + # See if we need to build an old-fashioned archive.
  60777. + for oldlib in $oldlibs; do
  60778. - if test -n "$stripme" && test -n "$old_striplib"; then
  60779. - $show "$old_striplib $oldlib"
  60780. - $run eval "$old_striplib $oldlib" || exit $?
  60781. + if test "$build_libtool_libs" = convenience; then
  60782. + oldobjs="$libobjs_save $symfileobj"
  60783. + addlibs="$convenience"
  60784. + build_libtool_libs=no
  60785. + else
  60786. + if test "$build_libtool_libs" = module; then
  60787. + oldobjs="$libobjs_save"
  60788. + build_libtool_libs=no
  60789. + else
  60790. + oldobjs="$old_deplibs $non_pic_objects"
  60791. + if test "$preload" = yes && test -f "$symfileobj"; then
  60792. + oldobjs="$oldobjs $symfileobj"
  60793. + fi
  60794. + fi
  60795. + addlibs="$old_convenience"
  60796. fi
  60797. - # Do each command in the postinstall commands.
  60798. - cmds=$old_postinstall_cmds
  60799. - save_ifs="$IFS"; IFS='~'
  60800. - for cmd in $cmds; do
  60801. - IFS="$save_ifs"
  60802. - eval cmd=\"$cmd\"
  60803. - $show "$cmd"
  60804. - $run eval "$cmd" || exit $?
  60805. - done
  60806. - IFS="$save_ifs"
  60807. - done
  60808. + if test -n "$addlibs"; then
  60809. + gentop="$output_objdir/${outputname}x"
  60810. + generated="$generated $gentop"
  60811. - if test -n "$future_libdirs"; then
  60812. - $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
  60813. - fi
  60814. + func_extract_archives $gentop $addlibs
  60815. + oldobjs="$oldobjs $func_extract_archives_result"
  60816. + fi
  60817. - if test -n "$current_libdirs"; then
  60818. - # Maybe just do a dry run.
  60819. - test -n "$run" && current_libdirs=" -n$current_libdirs"
  60820. - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  60821. - else
  60822. - exit $EXIT_SUCCESS
  60823. - fi
  60824. - ;;
  60825. + # Do each command in the archive commands.
  60826. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  60827. + cmds=$old_archive_from_new_cmds
  60828. + else
  60829. - # libtool finish mode
  60830. - finish)
  60831. - modename="$modename: finish"
  60832. - libdirs="$nonopt"
  60833. - admincmds=
  60834. + # Add any objects from preloaded convenience libraries
  60835. + if test -n "$dlprefiles"; then
  60836. + gentop="$output_objdir/${outputname}x"
  60837. + generated="$generated $gentop"
  60838. - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  60839. - for dir
  60840. - do
  60841. - libdirs="$libdirs $dir"
  60842. - done
  60843. + func_extract_archives $gentop $dlprefiles
  60844. + oldobjs="$oldobjs $func_extract_archives_result"
  60845. + fi
  60846. - for libdir in $libdirs; do
  60847. - if test -n "$finish_cmds"; then
  60848. - # Do each command in the finish commands.
  60849. - cmds=$finish_cmds
  60850. - save_ifs="$IFS"; IFS='~'
  60851. - for cmd in $cmds; do
  60852. - IFS="$save_ifs"
  60853. - eval cmd=\"$cmd\"
  60854. - $show "$cmd"
  60855. - $run eval "$cmd" || admincmds="$admincmds
  60856. - $cmd"
  60857. + # POSIX demands no paths to be encoded in archives. We have
  60858. + # to avoid creating archives with duplicate basenames if we
  60859. + # might have to extract them afterwards, e.g., when creating a
  60860. + # static archive out of a convenience library, or when linking
  60861. + # the entirety of a libtool archive into another (currently
  60862. + # not supported by libtool).
  60863. + if (for obj in $oldobjs
  60864. + do
  60865. + func_basename "$obj"
  60866. + $ECHO "$func_basename_result"
  60867. + done | sort | sort -uc >/dev/null 2>&1); then
  60868. + :
  60869. + else
  60870. + $ECHO "copying selected object files to avoid basename conflicts..."
  60871. + gentop="$output_objdir/${outputname}x"
  60872. + generated="$generated $gentop"
  60873. + func_mkdir_p "$gentop"
  60874. + save_oldobjs=$oldobjs
  60875. + oldobjs=
  60876. + counter=1
  60877. + for obj in $save_oldobjs
  60878. + do
  60879. + func_basename "$obj"
  60880. + objbase="$func_basename_result"
  60881. + case " $oldobjs " in
  60882. + " ") oldobjs=$obj ;;
  60883. + *[\ /]"$objbase "*)
  60884. + while :; do
  60885. + # Make sure we don't pick an alternate name that also
  60886. + # overlaps.
  60887. + newobj=lt$counter-$objbase
  60888. + func_arith $counter + 1
  60889. + counter=$func_arith_result
  60890. + case " $oldobjs " in
  60891. + *[\ /]"$newobj "*) ;;
  60892. + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  60893. + esac
  60894. + done
  60895. + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  60896. + oldobjs="$oldobjs $gentop/$newobj"
  60897. + ;;
  60898. + *) oldobjs="$oldobjs $obj" ;;
  60899. + esac
  60900. done
  60901. - IFS="$save_ifs"
  60902. - fi
  60903. - if test -n "$finish_eval"; then
  60904. - # Do the single finish_eval.
  60905. - eval cmds=\"$finish_eval\"
  60906. - $run eval "$cmds" || admincmds="$admincmds
  60907. - $cmds"
  60908. fi
  60909. - done
  60910. - fi
  60911. -
  60912. - # Exit here if they wanted silent mode.
  60913. - test "$show" = : && exit $EXIT_SUCCESS
  60914. + eval cmds=\"$old_archive_cmds\"
  60915. - $echo "X----------------------------------------------------------------------" | $Xsed
  60916. - $echo "Libraries have been installed in:"
  60917. - for libdir in $libdirs; do
  60918. - $echo " $libdir"
  60919. + func_len " $cmds"
  60920. + len=$func_len_result
  60921. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  60922. + cmds=$old_archive_cmds
  60923. + else
  60924. + # the command line is too long to link in one step, link in parts
  60925. + func_verbose "using piecewise archive linking..."
  60926. + save_RANLIB=$RANLIB
  60927. + RANLIB=:
  60928. + objlist=
  60929. + concat_cmds=
  60930. + save_oldobjs=$oldobjs
  60931. + oldobjs=
  60932. + # Is there a better way of finding the last object in the list?
  60933. + for obj in $save_oldobjs
  60934. + do
  60935. + last_oldobj=$obj
  60936. + done
  60937. + eval test_cmds=\"$old_archive_cmds\"
  60938. + func_len " $test_cmds"
  60939. + len0=$func_len_result
  60940. + len=$len0
  60941. + for obj in $save_oldobjs
  60942. + do
  60943. + func_len " $obj"
  60944. + func_arith $len + $func_len_result
  60945. + len=$func_arith_result
  60946. + func_append objlist " $obj"
  60947. + if test "$len" -lt "$max_cmd_len"; then
  60948. + :
  60949. + else
  60950. + # the above command should be used before it gets too long
  60951. + oldobjs=$objlist
  60952. + if test "$obj" = "$last_oldobj" ; then
  60953. + RANLIB=$save_RANLIB
  60954. + fi
  60955. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  60956. + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  60957. + objlist=
  60958. + len=$len0
  60959. + fi
  60960. + done
  60961. + RANLIB=$save_RANLIB
  60962. + oldobjs=$objlist
  60963. + if test "X$oldobjs" = "X" ; then
  60964. + eval cmds=\"\$concat_cmds\"
  60965. + else
  60966. + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  60967. + fi
  60968. + fi
  60969. + fi
  60970. + func_execute_cmds "$cmds" 'exit $?'
  60971. done
  60972. - $echo
  60973. - $echo "If you ever happen to want to link against installed libraries"
  60974. - $echo "in a given directory, LIBDIR, you must either use libtool, and"
  60975. - $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
  60976. - $echo "flag during linking and do at least one of the following:"
  60977. - if test -n "$shlibpath_var"; then
  60978. - $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
  60979. - $echo " during execution"
  60980. - fi
  60981. - if test -n "$runpath_var"; then
  60982. - $echo " - add LIBDIR to the \`$runpath_var' environment variable"
  60983. - $echo " during linking"
  60984. - fi
  60985. - if test -n "$hardcode_libdir_flag_spec"; then
  60986. - libdir=LIBDIR
  60987. - eval flag=\"$hardcode_libdir_flag_spec\"
  60988. -
  60989. - $echo " - use the \`$flag' linker flag"
  60990. - fi
  60991. - if test -n "$admincmds"; then
  60992. - $echo " - have your system administrator run these commands:$admincmds"
  60993. - fi
  60994. - if test -f /etc/ld.so.conf; then
  60995. - $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  60996. - fi
  60997. - $echo
  60998. - $echo "See any operating system documentation about shared libraries for"
  60999. - $echo "more information, such as the ld(1) and ld.so(8) manual pages."
  61000. - $echo "X----------------------------------------------------------------------" | $Xsed
  61001. - exit $EXIT_SUCCESS
  61002. - ;;
  61003. - # libtool execute mode
  61004. - execute)
  61005. - modename="$modename: execute"
  61006. + test -n "$generated" && \
  61007. + func_show_eval "${RM}r$generated"
  61008. - # The first argument is the command name.
  61009. - cmd="$nonopt"
  61010. - if test -z "$cmd"; then
  61011. - $echo "$modename: you must specify a COMMAND" 1>&2
  61012. - $echo "$help"
  61013. - exit $EXIT_FAILURE
  61014. - fi
  61015. -
  61016. - # Handle -dlopen flags immediately.
  61017. - for file in $execute_dlfiles; do
  61018. - if test ! -f "$file"; then
  61019. - $echo "$modename: \`$file' is not a file" 1>&2
  61020. - $echo "$help" 1>&2
  61021. - exit $EXIT_FAILURE
  61022. - fi
  61023. + # Now create the libtool archive.
  61024. + case $output in
  61025. + *.la)
  61026. + old_library=
  61027. + test "$build_old_libs" = yes && old_library="$libname.$libext"
  61028. + func_verbose "creating $output"
  61029. - dir=
  61030. - case $file in
  61031. - *.la)
  61032. - # Check to see that this really is a libtool archive.
  61033. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
  61034. + # Preserve any variables that may affect compiler behavior
  61035. + for var in $variables_saved_for_relink; do
  61036. + if eval test -z \"\${$var+set}\"; then
  61037. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  61038. + elif eval var_value=\$$var; test -z "$var_value"; then
  61039. + relink_command="$var=; export $var; $relink_command"
  61040. else
  61041. - $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
  61042. - $echo "$help" 1>&2
  61043. - exit $EXIT_FAILURE
  61044. + func_quote_for_eval "$var_value"
  61045. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  61046. fi
  61047. + done
  61048. + # Quote the link command for shipping.
  61049. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  61050. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  61051. + if test "$hardcode_automatic" = yes ; then
  61052. + relink_command=
  61053. + fi
  61054. - # Read the libtool library.
  61055. - dlname=
  61056. - library_names=
  61057. + # Only create the output if not a dry run.
  61058. + $opt_dry_run || {
  61059. + for installed in no yes; do
  61060. + if test "$installed" = yes; then
  61061. + if test -z "$install_libdir"; then
  61062. + break
  61063. + fi
  61064. + output="$output_objdir/$outputname"i
  61065. + # Replace all uninstalled libtool libraries with the installed ones
  61066. + newdependency_libs=
  61067. + for deplib in $dependency_libs; do
  61068. + case $deplib in
  61069. + *.la)
  61070. + func_basename "$deplib"
  61071. + name="$func_basename_result"
  61072. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  61073. + test -z "$libdir" && \
  61074. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  61075. + newdependency_libs="$newdependency_libs $libdir/$name"
  61076. + ;;
  61077. + *) newdependency_libs="$newdependency_libs $deplib" ;;
  61078. + esac
  61079. + done
  61080. + dependency_libs="$newdependency_libs"
  61081. + newdlfiles=
  61082. +
  61083. + for lib in $dlfiles; do
  61084. + case $lib in
  61085. + *.la)
  61086. + func_basename "$lib"
  61087. + name="$func_basename_result"
  61088. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  61089. + test -z "$libdir" && \
  61090. + func_fatal_error "\`$lib' is not a valid libtool archive"
  61091. + newdlfiles="$newdlfiles $libdir/$name"
  61092. + ;;
  61093. + *) newdlfiles="$newdlfiles $lib" ;;
  61094. + esac
  61095. + done
  61096. + dlfiles="$newdlfiles"
  61097. + newdlprefiles=
  61098. + for lib in $dlprefiles; do
  61099. + case $lib in
  61100. + *.la)
  61101. + # Only pass preopened files to the pseudo-archive (for
  61102. + # eventual linking with the app. that links it) if we
  61103. + # didn't already link the preopened objects directly into
  61104. + # the library:
  61105. + func_basename "$lib"
  61106. + name="$func_basename_result"
  61107. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  61108. + test -z "$libdir" && \
  61109. + func_fatal_error "\`$lib' is not a valid libtool archive"
  61110. + newdlprefiles="$newdlprefiles $libdir/$name"
  61111. + ;;
  61112. + esac
  61113. + done
  61114. + dlprefiles="$newdlprefiles"
  61115. + else
  61116. + newdlfiles=
  61117. + for lib in $dlfiles; do
  61118. + case $lib in
  61119. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  61120. + *) abs=`pwd`"/$lib" ;;
  61121. + esac
  61122. + newdlfiles="$newdlfiles $abs"
  61123. + done
  61124. + dlfiles="$newdlfiles"
  61125. + newdlprefiles=
  61126. + for lib in $dlprefiles; do
  61127. + case $lib in
  61128. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  61129. + *) abs=`pwd`"/$lib" ;;
  61130. + esac
  61131. + newdlprefiles="$newdlprefiles $abs"
  61132. + done
  61133. + dlprefiles="$newdlprefiles"
  61134. + fi
  61135. + $RM $output
  61136. + # place dlname in correct position for cygwin
  61137. + tdlname=$dlname
  61138. + case $host,$output,$installed,$module,$dlname in
  61139. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  61140. + esac
  61141. + $ECHO > $output "\
  61142. +# $outputname - a libtool library file
  61143. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  61144. +#
  61145. +# Please DO NOT delete this file!
  61146. +# It is necessary for linking the library.
  61147. - # If there is no directory component, then add one.
  61148. - case $file in
  61149. - */* | *\\*) . $file ;;
  61150. - *) . ./$file ;;
  61151. - esac
  61152. +# The name that we can dlopen(3).
  61153. +dlname='$tdlname'
  61154. - # Skip this library if it cannot be dlopened.
  61155. - if test -z "$dlname"; then
  61156. - # Warn if it was a shared library.
  61157. - test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
  61158. - continue
  61159. - fi
  61160. +# Names of this library.
  61161. +library_names='$library_names'
  61162. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  61163. - test "X$dir" = "X$file" && dir=.
  61164. +# The name of the static archive.
  61165. +old_library='$old_library'
  61166. - if test -f "$dir/$objdir/$dlname"; then
  61167. - dir="$dir/$objdir"
  61168. - else
  61169. - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
  61170. - exit $EXIT_FAILURE
  61171. - fi
  61172. - ;;
  61173. +# Linker flags that can not go in dependency_libs.
  61174. +inherited_linker_flags='$new_inherited_linker_flags'
  61175. - *.lo)
  61176. - # Just add the directory containing the .lo file.
  61177. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  61178. - test "X$dir" = "X$file" && dir=.
  61179. - ;;
  61180. +# Libraries that this one depends upon.
  61181. +dependency_libs='$dependency_libs'
  61182. - *)
  61183. - $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
  61184. - continue
  61185. - ;;
  61186. - esac
  61187. +# Names of additional weak libraries provided by this library
  61188. +weak_library_names='$weak_libs'
  61189. - # Get the absolute pathname.
  61190. - absdir=`cd "$dir" && pwd`
  61191. - test -n "$absdir" && dir="$absdir"
  61192. +# Version information for $libname.
  61193. +current=$current
  61194. +age=$age
  61195. +revision=$revision
  61196. - # Now add the directory to shlibpath_var.
  61197. - if eval "test -z \"\$$shlibpath_var\""; then
  61198. - eval "$shlibpath_var=\"\$dir\""
  61199. - else
  61200. - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  61201. - fi
  61202. - done
  61203. +# Is this an already installed library?
  61204. +installed=$installed
  61205. - # This variable tells wrapper scripts just to set shlibpath_var
  61206. - # rather than running their programs.
  61207. - libtool_execute_magic="$magic"
  61208. +# Should we warn about portability when linking against -modules?
  61209. +shouldnotlink=$module
  61210. - # Check if any of the arguments is a wrapper script.
  61211. - args=
  61212. - for file
  61213. - do
  61214. - case $file in
  61215. - -*) ;;
  61216. - *)
  61217. - # Do a test to see if this is really a libtool program.
  61218. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  61219. - # If there is no directory component, then add one.
  61220. - case $file in
  61221. - */* | *\\*) . $file ;;
  61222. - *) . ./$file ;;
  61223. - esac
  61224. +# Files to dlopen/dlpreopen
  61225. +dlopen='$dlfiles'
  61226. +dlpreopen='$dlprefiles'
  61227. - # Transform arg to wrapped name.
  61228. - file="$progdir/$program"
  61229. - fi
  61230. - ;;
  61231. - esac
  61232. - # Quote arguments (to preserve shell metacharacters).
  61233. - file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
  61234. - args="$args \"$file\""
  61235. - done
  61236. +# Directory that this library needs to be installed in:
  61237. +libdir='$install_libdir'"
  61238. + if test "$installed" = no && test "$need_relink" = yes; then
  61239. + $ECHO >> $output "\
  61240. +relink_command=\"$relink_command\""
  61241. + fi
  61242. + done
  61243. + }
  61244. - if test -z "$run"; then
  61245. - if test -n "$shlibpath_var"; then
  61246. - # Export the shlibpath_var.
  61247. - eval "export $shlibpath_var"
  61248. - fi
  61249. + # Do a symbolic link so that the libtool archive can be found in
  61250. + # LD_LIBRARY_PATH before the program is installed.
  61251. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
  61252. + ;;
  61253. + esac
  61254. + exit $EXIT_SUCCESS
  61255. +}
  61256. - # Restore saved environment variables
  61257. - if test "${save_LC_ALL+set}" = set; then
  61258. - LC_ALL="$save_LC_ALL"; export LC_ALL
  61259. - fi
  61260. - if test "${save_LANG+set}" = set; then
  61261. - LANG="$save_LANG"; export LANG
  61262. - fi
  61263. +{ test "$mode" = link || test "$mode" = relink; } &&
  61264. + func_mode_link ${1+"$@"}
  61265. - # Now prepare to actually exec the command.
  61266. - exec_cmd="\$cmd$args"
  61267. - else
  61268. - # Display what would be done.
  61269. - if test -n "$shlibpath_var"; then
  61270. - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
  61271. - $echo "export $shlibpath_var"
  61272. - fi
  61273. - $echo "$cmd$args"
  61274. - exit $EXIT_SUCCESS
  61275. - fi
  61276. - ;;
  61277. - # libtool clean and uninstall mode
  61278. - clean | uninstall)
  61279. - modename="$modename: $mode"
  61280. - rm="$nonopt"
  61281. +# func_mode_uninstall arg...
  61282. +func_mode_uninstall ()
  61283. +{
  61284. + $opt_debug
  61285. + RM="$nonopt"
  61286. files=
  61287. rmforce=
  61288. exit_status=0
  61289. @@ -6456,30 +8209,28 @@
  61290. for arg
  61291. do
  61292. case $arg in
  61293. - -f) rm="$rm $arg"; rmforce=yes ;;
  61294. - -*) rm="$rm $arg" ;;
  61295. + -f) RM="$RM $arg"; rmforce=yes ;;
  61296. + -*) RM="$RM $arg" ;;
  61297. *) files="$files $arg" ;;
  61298. esac
  61299. done
  61300. - if test -z "$rm"; then
  61301. - $echo "$modename: you must specify an RM program" 1>&2
  61302. - $echo "$help" 1>&2
  61303. - exit $EXIT_FAILURE
  61304. - fi
  61305. + test -z "$RM" && \
  61306. + func_fatal_help "you must specify an RM program"
  61307. rmdirs=
  61308. origobjdir="$objdir"
  61309. for file in $files; do
  61310. - dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
  61311. - if test "X$dir" = "X$file"; then
  61312. - dir=.
  61313. + func_dirname "$file" "" "."
  61314. + dir="$func_dirname_result"
  61315. + if test "X$dir" = X.; then
  61316. objdir="$origobjdir"
  61317. else
  61318. objdir="$dir/$origobjdir"
  61319. fi
  61320. - name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
  61321. + func_basename "$file"
  61322. + name="$func_basename_result"
  61323. test "$mode" = uninstall && objdir="$dir"
  61324. # Remember objdir for removal later, being careful to avoid duplicates
  61325. @@ -6491,9 +8242,9 @@
  61326. fi
  61327. # Don't error if the file doesn't exist and rm -f was used.
  61328. - if (test -L "$file") >/dev/null 2>&1 \
  61329. - || (test -h "$file") >/dev/null 2>&1 \
  61330. - || test -f "$file"; then
  61331. + if { test -L "$file"; } >/dev/null 2>&1 ||
  61332. + { test -h "$file"; } >/dev/null 2>&1 ||
  61333. + test -f "$file"; then
  61334. :
  61335. elif test -d "$file"; then
  61336. exit_status=1
  61337. @@ -6507,8 +8258,8 @@
  61338. case $name in
  61339. *.la)
  61340. # Possibly a libtool archive, so verify it.
  61341. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  61342. - . $dir/$name
  61343. + if func_lalib_p "$file"; then
  61344. + func_source $dir/$name
  61345. # Delete the libtool libraries and symlinks.
  61346. for n in $library_names; do
  61347. @@ -6523,39 +8274,17 @@
  61348. *" $dlname "*) ;;
  61349. *) rmfiles="$rmfiles $objdir/$dlname" ;;
  61350. esac
  61351. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  61352. + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  61353. ;;
  61354. uninstall)
  61355. if test -n "$library_names"; then
  61356. # Do each command in the postuninstall commands.
  61357. - cmds=$postuninstall_cmds
  61358. - save_ifs="$IFS"; IFS='~'
  61359. - for cmd in $cmds; do
  61360. - IFS="$save_ifs"
  61361. - eval cmd=\"$cmd\"
  61362. - $show "$cmd"
  61363. - $run eval "$cmd"
  61364. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  61365. - exit_status=1
  61366. - fi
  61367. - done
  61368. - IFS="$save_ifs"
  61369. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  61370. fi
  61371. if test -n "$old_library"; then
  61372. # Do each command in the old_postuninstall commands.
  61373. - cmds=$old_postuninstall_cmds
  61374. - save_ifs="$IFS"; IFS='~'
  61375. - for cmd in $cmds; do
  61376. - IFS="$save_ifs"
  61377. - eval cmd=\"$cmd\"
  61378. - $show "$cmd"
  61379. - $run eval "$cmd"
  61380. - if test "$?" -ne 0 && test "$rmforce" != yes; then
  61381. - exit_status=1
  61382. - fi
  61383. - done
  61384. - IFS="$save_ifs"
  61385. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  61386. fi
  61387. # FIXME: should reinstall the best remaining shared library.
  61388. ;;
  61389. @@ -6565,20 +8294,20 @@
  61390. *.lo)
  61391. # Possibly a libtool object, so verify it.
  61392. - if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  61393. + if func_lalib_p "$file"; then
  61394. # Read the .lo file
  61395. - . $dir/$name
  61396. + func_source $dir/$name
  61397. # Add PIC object to the list of files to remove.
  61398. - if test -n "$pic_object" \
  61399. - && test "$pic_object" != none; then
  61400. + if test -n "$pic_object" &&
  61401. + test "$pic_object" != none; then
  61402. rmfiles="$rmfiles $dir/$pic_object"
  61403. fi
  61404. # Add non-PIC object to the list of files to remove.
  61405. - if test -n "$non_pic_object" \
  61406. - && test "$non_pic_object" != none; then
  61407. + if test -n "$non_pic_object" &&
  61408. + test "$non_pic_object" != none; then
  61409. rmfiles="$rmfiles $dir/$non_pic_object"
  61410. fi
  61411. fi
  61412. @@ -6589,17 +8318,26 @@
  61413. noexename=$name
  61414. case $file in
  61415. *.exe)
  61416. - file=`$echo $file|${SED} 's,.exe$,,'`
  61417. - noexename=`$echo $name|${SED} 's,.exe$,,'`
  61418. + func_stripname '' '.exe' "$file"
  61419. + file=$func_stripname_result
  61420. + func_stripname '' '.exe' "$name"
  61421. + noexename=$func_stripname_result
  61422. # $file with .exe has already been added to rmfiles,
  61423. # add $file without .exe
  61424. rmfiles="$rmfiles $file"
  61425. ;;
  61426. esac
  61427. # Do a test to see if this is a libtool program.
  61428. - if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
  61429. - relink_command=
  61430. - . $dir/$noexename
  61431. + if func_ltwrapper_p "$file"; then
  61432. + if func_ltwrapper_executable_p "$file"; then
  61433. + func_ltwrapper_scriptname "$file"
  61434. + relink_command=
  61435. + func_source $func_ltwrapper_scriptname_result
  61436. + rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  61437. + else
  61438. + relink_command=
  61439. + func_source $dir/$noexename
  61440. + fi
  61441. # note $name still contains .exe if it was in $file originally
  61442. # as does the version of $file that was added into $rmfiles
  61443. @@ -6614,237 +8352,38 @@
  61444. fi
  61445. ;;
  61446. esac
  61447. - $show "$rm $rmfiles"
  61448. - $run $rm $rmfiles || exit_status=1
  61449. + func_show_eval "$RM $rmfiles" 'exit_status=1'
  61450. done
  61451. objdir="$origobjdir"
  61452. # Try to remove the ${objdir}s in the directories where we deleted files
  61453. for dir in $rmdirs; do
  61454. if test -d "$dir"; then
  61455. - $show "rmdir $dir"
  61456. - $run rmdir $dir >/dev/null 2>&1
  61457. + func_show_eval "rmdir $dir >/dev/null 2>&1"
  61458. fi
  61459. done
  61460. exit $exit_status
  61461. - ;;
  61462. +}
  61463. - "")
  61464. - $echo "$modename: you must specify a MODE" 1>&2
  61465. - $echo "$generic_help" 1>&2
  61466. - exit $EXIT_FAILURE
  61467. - ;;
  61468. - esac
  61469. +{ test "$mode" = uninstall || test "$mode" = clean; } &&
  61470. + func_mode_uninstall ${1+"$@"}
  61471. - if test -z "$exec_cmd"; then
  61472. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  61473. - $echo "$generic_help" 1>&2
  61474. - exit $EXIT_FAILURE
  61475. - fi
  61476. -fi # test -z "$show_help"
  61477. +test -z "$mode" && {
  61478. + help="$generic_help"
  61479. + func_fatal_help "you must specify a MODE"
  61480. +}
  61481. +
  61482. +test -z "$exec_cmd" && \
  61483. + func_fatal_help "invalid operation mode \`$mode'"
  61484. if test -n "$exec_cmd"; then
  61485. - eval exec $exec_cmd
  61486. + eval exec "$exec_cmd"
  61487. exit $EXIT_FAILURE
  61488. fi
  61489. -# We need to display help for each of the modes.
  61490. -case $mode in
  61491. -"") $echo \
  61492. -"Usage: $modename [OPTION]... [MODE-ARG]...
  61493. -
  61494. -Provide generalized library-building support services.
  61495. -
  61496. - --config show all configuration variables
  61497. - --debug enable verbose shell tracing
  61498. --n, --dry-run display commands without modifying any files
  61499. - --features display basic configuration information and exit
  61500. - --finish same as \`--mode=finish'
  61501. - --help display this help message and exit
  61502. - --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
  61503. - --quiet same as \`--silent'
  61504. - --silent don't print informational messages
  61505. - --tag=TAG use configuration variables from tag TAG
  61506. - --version print version information
  61507. -
  61508. -MODE must be one of the following:
  61509. -
  61510. - clean remove files from the build directory
  61511. - compile compile a source file into a libtool object
  61512. - execute automatically set library path, then run a program
  61513. - finish complete the installation of libtool libraries
  61514. - install install libraries or executables
  61515. - link create a library or an executable
  61516. - uninstall remove libraries from an installed directory
  61517. -
  61518. -MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
  61519. -a more detailed description of MODE.
  61520. -
  61521. -Report bugs to <bug-libtool@gnu.org>."
  61522. - exit $EXIT_SUCCESS
  61523. - ;;
  61524. -
  61525. -clean)
  61526. - $echo \
  61527. -"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  61528. -
  61529. -Remove files from the build directory.
  61530. -
  61531. -RM is the name of the program to use to delete files associated with each FILE
  61532. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  61533. -to RM.
  61534. -
  61535. -If FILE is a libtool library, object or program, all the files associated
  61536. -with it are deleted. Otherwise, only FILE itself is deleted using RM."
  61537. - ;;
  61538. -
  61539. -compile)
  61540. - $echo \
  61541. -"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  61542. -
  61543. -Compile a source file into a libtool library object.
  61544. -
  61545. -This mode accepts the following additional options:
  61546. -
  61547. - -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  61548. - -prefer-pic try to building PIC objects only
  61549. - -prefer-non-pic try to building non-PIC objects only
  61550. - -static always build a \`.o' file suitable for static linking
  61551. -
  61552. -COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  61553. -from the given SOURCEFILE.
  61554. -
  61555. -The output file name is determined by removing the directory component from
  61556. -SOURCEFILE, then substituting the C source code suffix \`.c' with the
  61557. -library object suffix, \`.lo'."
  61558. - ;;
  61559. -
  61560. -execute)
  61561. - $echo \
  61562. -"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
  61563. -
  61564. -Automatically set library path, then run a program.
  61565. -
  61566. -This mode accepts the following additional options:
  61567. -
  61568. - -dlopen FILE add the directory containing FILE to the library path
  61569. -
  61570. -This mode sets the library path environment variable according to \`-dlopen'
  61571. -flags.
  61572. -
  61573. -If any of the ARGS are libtool executable wrappers, then they are translated
  61574. -into their corresponding uninstalled binary, and any of their required library
  61575. -directories are added to the library path.
  61576. -
  61577. -Then, COMMAND is executed, with ARGS as arguments."
  61578. - ;;
  61579. -
  61580. -finish)
  61581. - $echo \
  61582. -"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
  61583. -
  61584. -Complete the installation of libtool libraries.
  61585. -
  61586. -Each LIBDIR is a directory that contains libtool libraries.
  61587. -
  61588. -The commands that this mode executes may require superuser privileges. Use
  61589. -the \`--dry-run' option if you just want to see what would be executed."
  61590. - ;;
  61591. -
  61592. -install)
  61593. - $echo \
  61594. -"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
  61595. -
  61596. -Install executables or libraries.
  61597. -
  61598. -INSTALL-COMMAND is the installation command. The first component should be
  61599. -either the \`install' or \`cp' program.
  61600. -
  61601. -The rest of the components are interpreted as arguments to that command (only
  61602. -BSD-compatible install options are recognized)."
  61603. - ;;
  61604. -
  61605. -link)
  61606. - $echo \
  61607. -"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
  61608. -
  61609. -Link object files or libraries together to form another library, or to
  61610. -create an executable program.
  61611. -
  61612. -LINK-COMMAND is a command using the C compiler that you would use to create
  61613. -a program from several object files.
  61614. -
  61615. -The following components of LINK-COMMAND are treated specially:
  61616. -
  61617. - -all-static do not do any dynamic linking at all
  61618. - -avoid-version do not add a version suffix if possible
  61619. - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  61620. - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  61621. - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  61622. - -export-symbols SYMFILE
  61623. - try to export only the symbols listed in SYMFILE
  61624. - -export-symbols-regex REGEX
  61625. - try to export only the symbols matching REGEX
  61626. - -LLIBDIR search LIBDIR for required installed libraries
  61627. - -lNAME OUTPUT-FILE requires the installed library libNAME
  61628. - -module build a library that can dlopened
  61629. - -no-fast-install disable the fast-install mode
  61630. - -no-install link a not-installable executable
  61631. - -no-undefined declare that a library does not refer to external symbols
  61632. - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  61633. - -objectlist FILE Use a list of object files found in FILE to specify objects
  61634. - -precious-files-regex REGEX
  61635. - don't remove output files matching REGEX
  61636. - -release RELEASE specify package release information
  61637. - -rpath LIBDIR the created library will eventually be installed in LIBDIR
  61638. - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  61639. - -static do not do any dynamic linking of libtool libraries
  61640. - -version-info CURRENT[:REVISION[:AGE]]
  61641. - specify library version info [each variable defaults to 0]
  61642. -
  61643. -All other options (arguments beginning with \`-') are ignored.
  61644. -
  61645. -Every other argument is treated as a filename. Files ending in \`.la' are
  61646. -treated as uninstalled libtool libraries, other files are standard or library
  61647. -object files.
  61648. -
  61649. -If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  61650. -only library objects (\`.lo' files) may be specified, and \`-rpath' is
  61651. -required, except when creating a convenience library.
  61652. -
  61653. -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  61654. -using \`ar' and \`ranlib', or on Windows using \`lib'.
  61655. -
  61656. -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  61657. -is created, otherwise an executable program is created."
  61658. - ;;
  61659. -
  61660. -uninstall)
  61661. - $echo \
  61662. -"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  61663. -
  61664. -Remove libraries from an installation directory.
  61665. -
  61666. -RM is the name of the program to use to delete files associated with each FILE
  61667. -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  61668. -to RM.
  61669. +exit $exit_status
  61670. -If FILE is a libtool library, all the files associated with it are deleted.
  61671. -Otherwise, only FILE itself is deleted using RM."
  61672. - ;;
  61673. -
  61674. -*)
  61675. - $echo "$modename: invalid operation mode \`$mode'" 1>&2
  61676. - $echo "$help" 1>&2
  61677. - exit $EXIT_FAILURE
  61678. - ;;
  61679. -esac
  61680. -
  61681. -$echo
  61682. -$echo "Try \`$modename --help' for more information about other modes."
  61683. -
  61684. -exit $?
  61685. # The TAGs below are defined such that we never get into a situation
  61686. # in which we disable both kinds of libraries. Given conflicting
  61687. @@ -6858,14 +8397,17 @@
  61688. # configuration. But we'll never go from static-only to shared-only.
  61689. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
  61690. -disable_libs=shared
  61691. +build_libtool_libs=no
  61692. +build_old_libs=yes
  61693. # ### END LIBTOOL TAG CONFIG: disable-shared
  61694. # ### BEGIN LIBTOOL TAG CONFIG: disable-static
  61695. -disable_libs=static
  61696. +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  61697. # ### END LIBTOOL TAG CONFIG: disable-static
  61698. # Local Variables:
  61699. # mode:shell-script
  61700. # sh-indentation:2
  61701. # End:
  61702. +# vi:sw=2
  61703. +
  61704. diff -Nur speex-1.2rc1.orig/Makefile.in speex-1.2rc1/Makefile.in
  61705. --- speex-1.2rc1.orig/Makefile.in 2008-07-21 04:17:19.000000000 +0200
  61706. +++ speex-1.2rc1/Makefile.in 2011-02-20 22:00:58.814284301 +0100
  61707. @@ -1,8 +1,9 @@
  61708. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  61709. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  61710. # @configure_input@
  61711. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  61712. -# 2003, 2004 Free Software Foundation, Inc.
  61713. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  61714. +# Inc.
  61715. # This Makefile.in is free software; the Free Software Foundation
  61716. # gives unlimited permission to copy and/or distribute it,
  61717. # with or without modifications, as long as this notice is preserved.
  61718. @@ -14,15 +15,12 @@
  61719. @SET_MAKE@
  61720. -srcdir = @srcdir@
  61721. -top_srcdir = @top_srcdir@
  61722. VPATH = @srcdir@
  61723. pkgdatadir = $(datadir)/@PACKAGE@
  61724. -pkglibdir = $(libdir)/@PACKAGE@
  61725. pkgincludedir = $(includedir)/@PACKAGE@
  61726. -top_builddir = .
  61727. +pkglibdir = $(libdir)/@PACKAGE@
  61728. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  61729. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  61730. -INSTALL = @INSTALL@
  61731. install_sh_DATA = $(install_sh) -c -m 644
  61732. install_sh_PROGRAM = $(install_sh) -c
  61733. install_sh_SCRIPT = $(install_sh) -c
  61734. @@ -34,52 +32,102 @@
  61735. NORMAL_UNINSTALL = :
  61736. PRE_UNINSTALL = :
  61737. POST_UNINSTALL = :
  61738. +build_triplet = @build@
  61739. host_triplet = @host@
  61740. +subdir = .
  61741. DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
  61742. $(srcdir)/Makefile.in $(srcdir)/Speex.spec.in \
  61743. $(srcdir)/config.h.in $(srcdir)/speex.pc.in \
  61744. $(srcdir)/speexdsp.pc.in $(top_srcdir)/configure AUTHORS \
  61745. COPYING ChangeLog INSTALL NEWS TODO config.guess config.sub \
  61746. depcomp install-sh ltmain.sh missing
  61747. -subdir = .
  61748. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  61749. am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  61750. $(top_srcdir)/configure.ac
  61751. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  61752. $(ACLOCAL_M4)
  61753. am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  61754. - configure.lineno configure.status.lineno
  61755. -mkinstalldirs = $(mkdir_p)
  61756. + configure.lineno config.status.lineno
  61757. +mkinstalldirs = $(install_sh) -d
  61758. CONFIG_HEADER = config.h
  61759. CONFIG_CLEAN_FILES = Speex.spec speex.pc speexdsp.pc
  61760. +CONFIG_CLEAN_VPATH_FILES =
  61761. SOURCES =
  61762. DIST_SOURCES =
  61763. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  61764. html-recursive info-recursive install-data-recursive \
  61765. - install-exec-recursive install-info-recursive \
  61766. - install-recursive installcheck-recursive installdirs-recursive \
  61767. - pdf-recursive ps-recursive uninstall-info-recursive \
  61768. - uninstall-recursive
  61769. + install-dvi-recursive install-exec-recursive \
  61770. + install-html-recursive install-info-recursive \
  61771. + install-pdf-recursive install-ps-recursive install-recursive \
  61772. + installcheck-recursive installdirs-recursive pdf-recursive \
  61773. + ps-recursive uninstall-recursive
  61774. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  61775. +am__vpath_adj = case $$p in \
  61776. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  61777. + *) f=$$p;; \
  61778. + esac;
  61779. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  61780. +am__install_max = 40
  61781. +am__nobase_strip_setup = \
  61782. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  61783. +am__nobase_strip = \
  61784. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  61785. +am__nobase_list = $(am__nobase_strip_setup); \
  61786. + for p in $$list; do echo "$$p $$p"; done | \
  61787. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  61788. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  61789. + if (++n[$$2] == $(am__install_max)) \
  61790. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  61791. + END { for (dir in files) print dir, files[dir] }'
  61792. +am__base_list = \
  61793. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  61794. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  61795. am__installdirs = "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"
  61796. -m4dataDATA_INSTALL = $(INSTALL_DATA)
  61797. -pkgconfigDATA_INSTALL = $(INSTALL_DATA)
  61798. DATA = $(m4data_DATA) $(pkgconfig_DATA)
  61799. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  61800. + distclean-recursive maintainer-clean-recursive
  61801. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  61802. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  61803. + distdir dist dist-all distcheck
  61804. ETAGS = etags
  61805. CTAGS = ctags
  61806. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  61807. distdir = $(PACKAGE)-$(VERSION)
  61808. top_distdir = $(distdir)
  61809. am__remove_distdir = \
  61810. - { test ! -d $(distdir) \
  61811. - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  61812. - && rm -fr $(distdir); }; }
  61813. + { test ! -d "$(distdir)" \
  61814. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  61815. + && rm -fr "$(distdir)"; }; }
  61816. +am__relativize = \
  61817. + dir0=`pwd`; \
  61818. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  61819. + sed_rest='s,^[^/]*/*,,'; \
  61820. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  61821. + sed_butlast='s,/*[^/]*$$,,'; \
  61822. + while test -n "$$dir1"; do \
  61823. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  61824. + if test "$$first" != "."; then \
  61825. + if test "$$first" = ".."; then \
  61826. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  61827. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  61828. + else \
  61829. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  61830. + if test "$$first2" = "$$first"; then \
  61831. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  61832. + else \
  61833. + dir2="../$$dir2"; \
  61834. + fi; \
  61835. + dir0="$$dir0"/"$$first"; \
  61836. + fi; \
  61837. + fi; \
  61838. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  61839. + done; \
  61840. + reldir="$$dir2"
  61841. DIST_ARCHIVES = $(distdir).tar.gz
  61842. GZIP_ENV = --best
  61843. distuninstallcheck_listfiles = find . -type f -print
  61844. distcleancheck_listfiles = find . -type f -print
  61845. ACLOCAL = @ACLOCAL@
  61846. -AMDEP_FALSE = @AMDEP_FALSE@
  61847. -AMDEP_TRUE = @AMDEP_TRUE@
  61848. AMTAR = @AMTAR@
  61849. AR = @AR@
  61850. AS = @AS@
  61851. @@ -87,60 +135,57 @@
  61852. AUTOHEADER = @AUTOHEADER@
  61853. AUTOMAKE = @AUTOMAKE@
  61854. AWK = @AWK@
  61855. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  61856. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  61857. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  61858. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  61859. CC = @CC@
  61860. CCDEPMODE = @CCDEPMODE@
  61861. CFLAGS = @CFLAGS@
  61862. CPP = @CPP@
  61863. CPPFLAGS = @CPPFLAGS@
  61864. -CXX = @CXX@
  61865. -CXXCPP = @CXXCPP@
  61866. -CXXDEPMODE = @CXXDEPMODE@
  61867. -CXXFLAGS = @CXXFLAGS@
  61868. CYGPATH_W = @CYGPATH_W@
  61869. DEFS = @DEFS@
  61870. DEPDIR = @DEPDIR@
  61871. DLLTOOL = @DLLTOOL@
  61872. DSYMUTIL = @DSYMUTIL@
  61873. -ECHO = @ECHO@
  61874. +DUMPBIN = @DUMPBIN@
  61875. ECHO_C = @ECHO_C@
  61876. ECHO_N = @ECHO_N@
  61877. ECHO_T = @ECHO_T@
  61878. EGREP = @EGREP@
  61879. EXEEXT = @EXEEXT@
  61880. -F77 = @F77@
  61881. -FFLAGS = @FFLAGS@
  61882. FFT_CFLAGS = @FFT_CFLAGS@
  61883. FFT_LIBS = @FFT_LIBS@
  61884. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  61885. +FGREP = @FGREP@
  61886. GREP = @GREP@
  61887. +INSTALL = @INSTALL@
  61888. INSTALL_DATA = @INSTALL_DATA@
  61889. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  61890. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  61891. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  61892. +LD = @LD@
  61893. LDFLAGS = @LDFLAGS@
  61894. LIBOBJS = @LIBOBJS@
  61895. LIBS = @LIBS@
  61896. LIBTOOL = @LIBTOOL@
  61897. +LIPO = @LIPO@
  61898. LN_S = @LN_S@
  61899. LTLIBOBJS = @LTLIBOBJS@
  61900. MAINT = @MAINT@
  61901. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  61902. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  61903. MAKEINFO = @MAKEINFO@
  61904. +MKDIR_P = @MKDIR_P@
  61905. +NM = @NM@
  61906. NMEDIT = @NMEDIT@
  61907. OBJDUMP = @OBJDUMP@
  61908. OBJEXT = @OBJEXT@
  61909. OGG_CFLAGS = @OGG_CFLAGS@
  61910. OGG_LIBS = @OGG_LIBS@
  61911. +OTOOL = @OTOOL@
  61912. +OTOOL64 = @OTOOL64@
  61913. PACKAGE = @PACKAGE@
  61914. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  61915. PACKAGE_NAME = @PACKAGE_NAME@
  61916. PACKAGE_STRING = @PACKAGE_STRING@
  61917. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  61918. +PACKAGE_URL = @PACKAGE_URL@
  61919. PACKAGE_VERSION = @PACKAGE_VERSION@
  61920. PATH_SEPARATOR = @PATH_SEPARATOR@
  61921. PKG_CONFIG = @PKG_CONFIG@
  61922. @@ -156,22 +201,24 @@
  61923. SPEEX_VERSION = @SPEEX_VERSION@
  61924. STRIP = @STRIP@
  61925. VERSION = @VERSION@
  61926. +abs_builddir = @abs_builddir@
  61927. +abs_srcdir = @abs_srcdir@
  61928. +abs_top_builddir = @abs_top_builddir@
  61929. +abs_top_srcdir = @abs_top_srcdir@
  61930. ac_ct_CC = @ac_ct_CC@
  61931. -ac_ct_CXX = @ac_ct_CXX@
  61932. -ac_ct_F77 = @ac_ct_F77@
  61933. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  61934. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  61935. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  61936. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  61937. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  61938. am__include = @am__include@
  61939. am__leading_dot = @am__leading_dot@
  61940. am__quote = @am__quote@
  61941. +am__tar = @am__tar@
  61942. +am__untar = @am__untar@
  61943. bindir = @bindir@
  61944. build = @build@
  61945. build_alias = @build_alias@
  61946. build_cpu = @build_cpu@
  61947. build_os = @build_os@
  61948. build_vendor = @build_vendor@
  61949. +builddir = @builddir@
  61950. datadir = @datadir@
  61951. datarootdir = @datarootdir@
  61952. docdir = @docdir@
  61953. @@ -190,6 +237,7 @@
  61954. libexecdir = @libexecdir@
  61955. localedir = @localedir@
  61956. localstatedir = @localstatedir@
  61957. +lt_ECHO = @lt_ECHO@
  61958. mandir = @mandir@
  61959. mkdir_p = @mkdir_p@
  61960. oldincludedir = @oldincludedir@
  61961. @@ -200,8 +248,12 @@
  61962. sbindir = @sbindir@
  61963. sharedstatedir = @sharedstatedir@
  61964. src = @src@
  61965. +srcdir = @srcdir@
  61966. sysconfdir = @sysconfdir@
  61967. target_alias = @target_alias@
  61968. +top_build_prefix = @top_build_prefix@
  61969. +top_builddir = @top_builddir@
  61970. +top_srcdir = @top_srcdir@
  61971. # To disable automatic dependency tracking if using other tools than
  61972. # gcc and gmake, add the option 'no-dependencies'
  61973. @@ -225,15 +277,15 @@
  61974. @for dep in $?; do \
  61975. case '$(am__configure_deps)' in \
  61976. *$$dep*) \
  61977. - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
  61978. - cd $(srcdir) && $(AUTOMAKE) --gnu \
  61979. + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
  61980. + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
  61981. && exit 0; \
  61982. exit 1;; \
  61983. esac; \
  61984. done; \
  61985. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  61986. - cd $(top_srcdir) && \
  61987. - $(AUTOMAKE) --gnu Makefile
  61988. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  61989. + $(am__cd) $(top_srcdir) && \
  61990. + $(AUTOMAKE) --gnu Makefile
  61991. .PRECIOUS: Makefile
  61992. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  61993. @case '$?' in \
  61994. @@ -249,21 +301,22 @@
  61995. $(SHELL) ./config.status --recheck
  61996. $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  61997. - cd $(srcdir) && $(AUTOCONF)
  61998. + $(am__cd) $(srcdir) && $(AUTOCONF)
  61999. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  62000. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  62001. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  62002. +$(am__aclocal_m4_deps):
  62003. config.h: stamp-h1
  62004. @if test ! -f $@; then \
  62005. rm -f stamp-h1; \
  62006. - $(MAKE) stamp-h1; \
  62007. + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  62008. else :; fi
  62009. stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  62010. @rm -f stamp-h1
  62011. cd $(top_builddir) && $(SHELL) ./config.status config.h
  62012. $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  62013. - cd $(top_srcdir) && $(AUTOHEADER)
  62014. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  62015. rm -f stamp-h1
  62016. touch $@
  62017. @@ -283,42 +336,47 @@
  62018. -rm -rf .libs _libs
  62019. distclean-libtool:
  62020. - -rm -f libtool
  62021. -uninstall-info-am:
  62022. + -rm -f libtool config.lt
  62023. install-m4dataDATA: $(m4data_DATA)
  62024. @$(NORMAL_INSTALL)
  62025. - test -z "$(m4datadir)" || $(mkdir_p) "$(DESTDIR)$(m4datadir)"
  62026. - @list='$(m4data_DATA)'; for p in $$list; do \
  62027. + test -z "$(m4datadir)" || $(MKDIR_P) "$(DESTDIR)$(m4datadir)"
  62028. + @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
  62029. + for p in $$list; do \
  62030. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  62031. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  62032. - echo " $(m4dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(m4datadir)/$$f'"; \
  62033. - $(m4dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(m4datadir)/$$f"; \
  62034. + echo "$$d$$p"; \
  62035. + done | $(am__base_list) | \
  62036. + while read files; do \
  62037. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(m4datadir)'"; \
  62038. + $(INSTALL_DATA) $$files "$(DESTDIR)$(m4datadir)" || exit $$?; \
  62039. done
  62040. uninstall-m4dataDATA:
  62041. @$(NORMAL_UNINSTALL)
  62042. - @list='$(m4data_DATA)'; for p in $$list; do \
  62043. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  62044. - echo " rm -f '$(DESTDIR)$(m4datadir)/$$f'"; \
  62045. - rm -f "$(DESTDIR)$(m4datadir)/$$f"; \
  62046. - done
  62047. + @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \
  62048. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  62049. + test -n "$$files" || exit 0; \
  62050. + echo " ( cd '$(DESTDIR)$(m4datadir)' && rm -f" $$files ")"; \
  62051. + cd "$(DESTDIR)$(m4datadir)" && rm -f $$files
  62052. install-pkgconfigDATA: $(pkgconfig_DATA)
  62053. @$(NORMAL_INSTALL)
  62054. - test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
  62055. - @list='$(pkgconfig_DATA)'; for p in $$list; do \
  62056. + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
  62057. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  62058. + for p in $$list; do \
  62059. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  62060. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  62061. - echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  62062. - $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  62063. + echo "$$d$$p"; \
  62064. + done | $(am__base_list) | \
  62065. + while read files; do \
  62066. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  62067. + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  62068. done
  62069. uninstall-pkgconfigDATA:
  62070. @$(NORMAL_UNINSTALL)
  62071. - @list='$(pkgconfig_DATA)'; for p in $$list; do \
  62072. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  62073. - echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  62074. - rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  62075. - done
  62076. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  62077. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  62078. + test -n "$$files" || exit 0; \
  62079. + echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
  62080. + cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
  62081. # This directory's subdirectories are mostly independent; you can cd
  62082. # into them and run `make' without going through this Makefile.
  62083. @@ -327,7 +385,13 @@
  62084. # (which will cause the Makefiles to be regenerated when you run `make');
  62085. # (2) otherwise, pass the desired values on the `make' command line.
  62086. $(RECURSIVE_TARGETS):
  62087. - @set fnord $$MAKEFLAGS; amf=$$2; \
  62088. + @fail= failcom='exit 1'; \
  62089. + for f in x $$MAKEFLAGS; do \
  62090. + case $$f in \
  62091. + *=* | --[!k]*);; \
  62092. + *k*) failcom='fail=yes';; \
  62093. + esac; \
  62094. + done; \
  62095. dot_seen=no; \
  62096. target=`echo $@ | sed s/-recursive//`; \
  62097. list='$(SUBDIRS)'; for subdir in $$list; do \
  62098. @@ -338,16 +402,21 @@
  62099. else \
  62100. local_target="$$target"; \
  62101. fi; \
  62102. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  62103. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  62104. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  62105. + || eval $$failcom; \
  62106. done; \
  62107. if test "$$dot_seen" = "no"; then \
  62108. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  62109. fi; test -z "$$fail"
  62110. -mostlyclean-recursive clean-recursive distclean-recursive \
  62111. -maintainer-clean-recursive:
  62112. - @set fnord $$MAKEFLAGS; amf=$$2; \
  62113. +$(RECURSIVE_CLEAN_TARGETS):
  62114. + @fail= failcom='exit 1'; \
  62115. + for f in x $$MAKEFLAGS; do \
  62116. + case $$f in \
  62117. + *=* | --[!k]*);; \
  62118. + *k*) failcom='fail=yes';; \
  62119. + esac; \
  62120. + done; \
  62121. dot_seen=no; \
  62122. case "$@" in \
  62123. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  62124. @@ -367,16 +436,16 @@
  62125. else \
  62126. local_target="$$target"; \
  62127. fi; \
  62128. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  62129. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  62130. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  62131. + || eval $$failcom; \
  62132. done && test -z "$$fail"
  62133. tags-recursive:
  62134. list='$(SUBDIRS)'; for subdir in $$list; do \
  62135. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  62136. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  62137. done
  62138. ctags-recursive:
  62139. list='$(SUBDIRS)'; for subdir in $$list; do \
  62140. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  62141. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  62142. done
  62143. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  62144. @@ -384,14 +453,14 @@
  62145. unique=`for i in $$list; do \
  62146. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  62147. done | \
  62148. - $(AWK) ' { files[$$0] = 1; } \
  62149. - END { for (i in files) print i; }'`; \
  62150. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  62151. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  62152. mkid -fID $$unique
  62153. tags: TAGS
  62154. TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  62155. $(TAGS_FILES) $(LISP)
  62156. - tags=; \
  62157. + set x; \
  62158. here=`pwd`; \
  62159. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  62160. include_option=--etags-include; \
  62161. @@ -403,101 +472,132 @@
  62162. list='$(SUBDIRS)'; for subdir in $$list; do \
  62163. if test "$$subdir" = .; then :; else \
  62164. test ! -f $$subdir/TAGS || \
  62165. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  62166. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  62167. fi; \
  62168. done; \
  62169. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  62170. unique=`for i in $$list; do \
  62171. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  62172. done | \
  62173. - $(AWK) ' { files[$$0] = 1; } \
  62174. - END { for (i in files) print i; }'`; \
  62175. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  62176. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  62177. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  62178. + shift; \
  62179. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  62180. test -n "$$unique" || unique=$$empty_fix; \
  62181. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  62182. - $$tags $$unique; \
  62183. + if test $$# -gt 0; then \
  62184. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  62185. + "$$@" $$unique; \
  62186. + else \
  62187. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  62188. + $$unique; \
  62189. + fi; \
  62190. fi
  62191. ctags: CTAGS
  62192. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  62193. $(TAGS_FILES) $(LISP)
  62194. - tags=; \
  62195. - here=`pwd`; \
  62196. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  62197. unique=`for i in $$list; do \
  62198. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  62199. done | \
  62200. - $(AWK) ' { files[$$0] = 1; } \
  62201. - END { for (i in files) print i; }'`; \
  62202. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  62203. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  62204. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  62205. + test -z "$(CTAGS_ARGS)$$unique" \
  62206. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  62207. - $$tags $$unique
  62208. + $$unique
  62209. GTAGS:
  62210. here=`$(am__cd) $(top_builddir) && pwd` \
  62211. - && cd $(top_srcdir) \
  62212. - && gtags -i $(GTAGS_ARGS) $$here
  62213. + && $(am__cd) $(top_srcdir) \
  62214. + && gtags -i $(GTAGS_ARGS) "$$here"
  62215. distclean-tags:
  62216. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  62217. distdir: $(DISTFILES)
  62218. $(am__remove_distdir)
  62219. - mkdir $(distdir)
  62220. - $(mkdir_p) $(distdir)/. $(distdir)/include/speex
  62221. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  62222. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  62223. - list='$(DISTFILES)'; for file in $$list; do \
  62224. - case $$file in \
  62225. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  62226. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  62227. - esac; \
  62228. + test -d "$(distdir)" || mkdir "$(distdir)"
  62229. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  62230. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  62231. + list='$(DISTFILES)'; \
  62232. + dist_files=`for file in $$list; do echo $$file; done | \
  62233. + sed -e "s|^$$srcdirstrip/||;t" \
  62234. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  62235. + case $$dist_files in \
  62236. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  62237. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  62238. + sort -u` ;; \
  62239. + esac; \
  62240. + for file in $$dist_files; do \
  62241. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  62242. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  62243. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  62244. - dir="/$$dir"; \
  62245. - $(mkdir_p) "$(distdir)$$dir"; \
  62246. - else \
  62247. - dir=''; \
  62248. - fi; \
  62249. if test -d $$d/$$file; then \
  62250. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  62251. + if test -d "$(distdir)/$$file"; then \
  62252. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  62253. + fi; \
  62254. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  62255. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  62256. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  62257. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  62258. fi; \
  62259. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  62260. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  62261. else \
  62262. - test -f $(distdir)/$$file \
  62263. - || cp -p $$d/$$file $(distdir)/$$file \
  62264. + test -f "$(distdir)/$$file" \
  62265. + || cp -p $$d/$$file "$(distdir)/$$file" \
  62266. || exit 1; \
  62267. fi; \
  62268. done
  62269. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  62270. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  62271. if test "$$subdir" = .; then :; else \
  62272. test -d "$(distdir)/$$subdir" \
  62273. - || mkdir "$(distdir)/$$subdir" \
  62274. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  62275. || exit 1; \
  62276. - (cd $$subdir && \
  62277. + fi; \
  62278. + done
  62279. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  62280. + if test "$$subdir" = .; then :; else \
  62281. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  62282. + $(am__relativize); \
  62283. + new_distdir=$$reldir; \
  62284. + dir1=$$subdir; dir2="$(top_distdir)"; \
  62285. + $(am__relativize); \
  62286. + new_top_distdir=$$reldir; \
  62287. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  62288. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  62289. + ($(am__cd) $$subdir && \
  62290. $(MAKE) $(AM_MAKEFLAGS) \
  62291. - top_distdir="../$(top_distdir)" \
  62292. - distdir="../$(distdir)/$$subdir" \
  62293. + top_distdir="$$new_top_distdir" \
  62294. + distdir="$$new_distdir" \
  62295. + am__remove_distdir=: \
  62296. + am__skip_length_check=: \
  62297. + am__skip_mode_fix=: \
  62298. distdir) \
  62299. || exit 1; \
  62300. fi; \
  62301. done
  62302. - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  62303. + -test -n "$(am__skip_mode_fix)" \
  62304. + || find "$(distdir)" -type d ! -perm -755 \
  62305. + -exec chmod u+rwx,go+rx {} \; -o \
  62306. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  62307. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  62308. - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  62309. - || chmod -R a+r $(distdir)
  62310. + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  62311. + || chmod -R a+r "$(distdir)"
  62312. dist-gzip: distdir
  62313. - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  62314. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  62315. $(am__remove_distdir)
  62316. dist-bzip2: distdir
  62317. - $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
  62318. + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  62319. + $(am__remove_distdir)
  62320. +
  62321. +dist-lzma: distdir
  62322. + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  62323. + $(am__remove_distdir)
  62324. +
  62325. +dist-xz: distdir
  62326. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  62327. $(am__remove_distdir)
  62328. dist-tarZ: distdir
  62329. - $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
  62330. + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  62331. $(am__remove_distdir)
  62332. dist-shar: distdir
  62333. @@ -510,7 +610,7 @@
  62334. $(am__remove_distdir)
  62335. dist dist-all: distdir
  62336. - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  62337. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  62338. $(am__remove_distdir)
  62339. # This target untars the dist file and tries a VPATH configuration. Then
  62340. @@ -519,13 +619,17 @@
  62341. distcheck: dist
  62342. case '$(DIST_ARCHIVES)' in \
  62343. *.tar.gz*) \
  62344. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
  62345. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  62346. *.tar.bz2*) \
  62347. - bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
  62348. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  62349. + *.tar.lzma*) \
  62350. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  62351. + *.tar.xz*) \
  62352. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  62353. *.tar.Z*) \
  62354. - uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
  62355. + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  62356. *.shar.gz*) \
  62357. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  62358. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  62359. *.zip*) \
  62360. unzip $(distdir).zip ;;\
  62361. esac
  62362. @@ -533,9 +637,11 @@
  62363. mkdir $(distdir)/_build
  62364. mkdir $(distdir)/_inst
  62365. chmod a-w $(distdir)
  62366. + test -d $(distdir)/_build || exit 0; \
  62367. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  62368. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  62369. - && cd $(distdir)/_build \
  62370. + && am__cwd=`pwd` \
  62371. + && $(am__cd) $(distdir)/_build \
  62372. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  62373. $(DISTCHECK_CONFIGURE_FLAGS) \
  62374. && $(MAKE) $(AM_MAKEFLAGS) \
  62375. @@ -557,13 +663,15 @@
  62376. && rm -rf "$$dc_destdir" \
  62377. && $(MAKE) $(AM_MAKEFLAGS) dist \
  62378. && rm -rf $(DIST_ARCHIVES) \
  62379. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  62380. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  62381. + && cd "$$am__cwd" \
  62382. + || exit 1
  62383. $(am__remove_distdir)
  62384. @(echo "$(distdir) archives ready for distribution: "; \
  62385. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  62386. - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
  62387. + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  62388. distuninstallcheck:
  62389. - @cd $(distuninstallcheck_dir) \
  62390. + @$(am__cd) '$(distuninstallcheck_dir)' \
  62391. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  62392. || { echo "ERROR: files left after uninstall:" ; \
  62393. if test -n "$(DESTDIR)"; then \
  62394. @@ -586,7 +694,7 @@
  62395. installdirs: installdirs-recursive
  62396. installdirs-am:
  62397. for dir in "$(DESTDIR)$(m4datadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
  62398. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  62399. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  62400. done
  62401. install: install-recursive
  62402. install-exec: install-exec-recursive
  62403. @@ -607,7 +715,8 @@
  62404. clean-generic:
  62405. distclean-generic:
  62406. - -rm -f $(CONFIG_CLEAN_FILES)
  62407. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  62408. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  62409. maintainer-clean-generic:
  62410. @echo "This command is intended for maintainers to use"
  62411. @@ -628,18 +737,38 @@
  62412. html: html-recursive
  62413. +html-am:
  62414. +
  62415. info: info-recursive
  62416. info-am:
  62417. install-data-am: install-m4dataDATA install-pkgconfigDATA
  62418. +install-dvi: install-dvi-recursive
  62419. +
  62420. +install-dvi-am:
  62421. +
  62422. install-exec-am:
  62423. +install-html: install-html-recursive
  62424. +
  62425. +install-html-am:
  62426. +
  62427. install-info: install-info-recursive
  62428. +install-info-am:
  62429. +
  62430. install-man:
  62431. +install-pdf: install-pdf-recursive
  62432. +
  62433. +install-pdf-am:
  62434. +
  62435. +install-ps: install-ps-recursive
  62436. +
  62437. +install-ps-am:
  62438. +
  62439. installcheck-am:
  62440. maintainer-clean: maintainer-clean-recursive
  62441. @@ -660,31 +789,33 @@
  62442. ps-am:
  62443. -uninstall-am: uninstall-info-am uninstall-m4dataDATA \
  62444. - uninstall-pkgconfigDATA
  62445. +uninstall-am: uninstall-m4dataDATA uninstall-pkgconfigDATA
  62446. -uninstall-info: uninstall-info-recursive
  62447. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  62448. + ctags-recursive install-am install-strip tags-recursive
  62449. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
  62450. - check-am clean clean-generic clean-libtool clean-recursive \
  62451. - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
  62452. - dist-shar dist-tarZ dist-zip distcheck distclean \
  62453. - distclean-generic distclean-hdr distclean-libtool \
  62454. - distclean-recursive distclean-tags distcleancheck distdir \
  62455. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  62456. + all all-am am--refresh check check-am clean clean-generic \
  62457. + clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
  62458. + dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
  62459. + distcheck distclean distclean-generic distclean-hdr \
  62460. + distclean-libtool distclean-tags distcleancheck distdir \
  62461. distuninstallcheck dvi dvi-am html html-am info info-am \
  62462. - install install-am install-data install-data-am install-exec \
  62463. - install-exec-am install-info install-info-am \
  62464. - install-m4dataDATA install-man install-pkgconfigDATA \
  62465. - install-strip installcheck installcheck-am installdirs \
  62466. - installdirs-am maintainer-clean maintainer-clean-generic \
  62467. - maintainer-clean-recursive mostlyclean mostlyclean-generic \
  62468. - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
  62469. - tags tags-recursive uninstall uninstall-am uninstall-info-am \
  62470. + install install-am install-data install-data-am install-dvi \
  62471. + install-dvi-am install-exec install-exec-am install-html \
  62472. + install-html-am install-info install-info-am \
  62473. + install-m4dataDATA install-man install-pdf install-pdf-am \
  62474. + install-pkgconfigDATA install-ps install-ps-am install-strip \
  62475. + installcheck installcheck-am installdirs installdirs-am \
  62476. + maintainer-clean maintainer-clean-generic mostlyclean \
  62477. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  62478. + tags tags-recursive uninstall uninstall-am \
  62479. uninstall-m4dataDATA uninstall-pkgconfigDATA
  62480. rpm: dist
  62481. rpmbuild -ta ${PACKAGE}-${VERSION}.tar.gz
  62482. +
  62483. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  62484. # Otherwise a system limit (for SysV at least) may be exceeded.
  62485. .NOEXPORT:
  62486. diff -Nur speex-1.2rc1.orig/missing speex-1.2rc1/missing
  62487. --- speex-1.2rc1.orig/missing 2007-04-28 03:21:47.000000000 +0200
  62488. +++ speex-1.2rc1/missing 2011-02-20 22:00:57.503556221 +0100
  62489. @@ -1,10 +1,10 @@
  62490. #! /bin/sh
  62491. # Common stub for a few missing GNU programs while installing.
  62492. -scriptversion=2003-09-02.23
  62493. +scriptversion=2009-04-28.21; # UTC
  62494. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003
  62495. -# Free Software Foundation, Inc.
  62496. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  62497. +# 2008, 2009 Free Software Foundation, Inc.
  62498. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  62499. # This program is free software; you can redistribute it and/or modify
  62500. @@ -18,9 +18,7 @@
  62501. # GNU General Public License for more details.
  62502. # You should have received a copy of the GNU General Public License
  62503. -# along with this program; if not, write to the Free Software
  62504. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  62505. -# 02111-1307, USA.
  62506. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  62507. # As a special exception to the GNU General Public License, if you
  62508. # distribute this file as part of a program that contains a
  62509. @@ -33,6 +31,8 @@
  62510. fi
  62511. run=:
  62512. +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
  62513. +sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
  62514. # In the cases where this matters, `missing' is being run in the
  62515. # srcdir already.
  62516. @@ -44,7 +44,7 @@
  62517. msg="missing on your system"
  62518. -case "$1" in
  62519. +case $1 in
  62520. --run)
  62521. # Try to run requested program, and just exit if it succeeds.
  62522. run=
  62523. @@ -60,11 +60,6 @@
  62524. msg="probably too old"
  62525. fi
  62526. ;;
  62527. -esac
  62528. -
  62529. -# If it does not exist, or fails to run (possibly an outdated version),
  62530. -# try to emulate it.
  62531. -case "$1" in
  62532. -h|--h|--he|--hel|--help)
  62533. echo "\
  62534. @@ -82,6 +77,7 @@
  62535. aclocal touch file \`aclocal.m4'
  62536. autoconf touch file \`configure'
  62537. autoheader touch file \`config.h.in'
  62538. + autom4te touch the output file, or create a stub one
  62539. automake touch all \`Makefile.in' files
  62540. bison create \`y.tab.[ch]', if possible, from existing .[ch]
  62541. flex create \`lex.yy.c', if possible, from existing .c
  62542. @@ -91,11 +87,16 @@
  62543. tar try tar, gnutar, gtar, then tar without non-portable flags
  62544. yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  62545. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  62546. +\`g' are ignored when checking the name.
  62547. +
  62548. Send bug reports to <bug-automake@gnu.org>."
  62549. + exit $?
  62550. ;;
  62551. -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
  62552. echo "missing $scriptversion (GNU Automake)"
  62553. + exit $?
  62554. ;;
  62555. -*)
  62556. @@ -104,12 +105,49 @@
  62557. exit 1
  62558. ;;
  62559. - aclocal*)
  62560. +esac
  62561. +
  62562. +# normalize program name to check for.
  62563. +program=`echo "$1" | sed '
  62564. + s/^gnu-//; t
  62565. + s/^gnu//; t
  62566. + s/^g//; t'`
  62567. +
  62568. +# Now exit if we have it, but it failed. Also exit now if we
  62569. +# don't have it and --version was passed (most likely to detect
  62570. +# the program). This is about non-GNU programs, so use $1 not
  62571. +# $program.
  62572. +case $1 in
  62573. + lex*|yacc*)
  62574. + # Not GNU programs, they don't have --version.
  62575. + ;;
  62576. +
  62577. + tar*)
  62578. + if test -n "$run"; then
  62579. + echo 1>&2 "ERROR: \`tar' requires --run"
  62580. + exit 1
  62581. + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  62582. + exit 1
  62583. + fi
  62584. + ;;
  62585. +
  62586. + *)
  62587. if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  62588. # We have it, but it failed.
  62589. exit 1
  62590. + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  62591. + # Could not run --version or --help. This is probably someone
  62592. + # running `$TOOL --version' or `$TOOL --help' to check whether
  62593. + # $TOOL exists and not knowing $TOOL uses missing.
  62594. + exit 1
  62595. fi
  62596. + ;;
  62597. +esac
  62598. +# If it does not exist, or fails to run (possibly an outdated version),
  62599. +# try to emulate it.
  62600. +case $program in
  62601. + aclocal*)
  62602. echo 1>&2 "\
  62603. WARNING: \`$1' is $msg. You should only need it if
  62604. you modified \`acinclude.m4' or \`${configure_ac}'. You might want
  62605. @@ -118,12 +156,7 @@
  62606. touch aclocal.m4
  62607. ;;
  62608. - autoconf)
  62609. - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  62610. - # We have it, but it failed.
  62611. - exit 1
  62612. - fi
  62613. -
  62614. + autoconf*)
  62615. echo 1>&2 "\
  62616. WARNING: \`$1' is $msg. You should only need it if
  62617. you modified \`${configure_ac}'. You might want to install the
  62618. @@ -132,12 +165,7 @@
  62619. touch configure
  62620. ;;
  62621. - autoheader)
  62622. - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  62623. - # We have it, but it failed.
  62624. - exit 1
  62625. - fi
  62626. -
  62627. + autoheader*)
  62628. echo 1>&2 "\
  62629. WARNING: \`$1' is $msg. You should only need it if
  62630. you modified \`acconfig.h' or \`${configure_ac}'. You might want
  62631. @@ -147,7 +175,7 @@
  62632. test -z "$files" && files="config.h"
  62633. touch_files=
  62634. for f in $files; do
  62635. - case "$f" in
  62636. + case $f in
  62637. *:*) touch_files="$touch_files "`echo "$f" |
  62638. sed -e 's/^[^:]*://' -e 's/:.*//'`;;
  62639. *) touch_files="$touch_files $f.in";;
  62640. @@ -157,11 +185,6 @@
  62641. ;;
  62642. automake*)
  62643. - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  62644. - # We have it, but it failed.
  62645. - exit 1
  62646. - fi
  62647. -
  62648. echo 1>&2 "\
  62649. WARNING: \`$1' is $msg. You should only need it if
  62650. you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
  62651. @@ -172,12 +195,7 @@
  62652. while read f; do touch "$f"; done
  62653. ;;
  62654. - autom4te)
  62655. - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  62656. - # We have it, but it failed.
  62657. - exit 1
  62658. - fi
  62659. -
  62660. + autom4te*)
  62661. echo 1>&2 "\
  62662. WARNING: \`$1' is needed, but is $msg.
  62663. You might have modified some files without having the
  62664. @@ -185,8 +203,8 @@
  62665. You can get \`$1' as part of \`Autoconf' from any GNU
  62666. archive site."
  62667. - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
  62668. - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
  62669. + file=`echo "$*" | sed -n "$sed_output"`
  62670. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  62671. if test -f "$file"; then
  62672. touch $file
  62673. else
  62674. @@ -200,90 +218,78 @@
  62675. fi
  62676. ;;
  62677. - bison|yacc)
  62678. + bison*|yacc*)
  62679. echo 1>&2 "\
  62680. WARNING: \`$1' $msg. You should only need it if
  62681. you modified a \`.y' file. You may need the \`Bison' package
  62682. in order for those modifications to take effect. You can get
  62683. \`Bison' from any GNU archive site."
  62684. rm -f y.tab.c y.tab.h
  62685. - if [ $# -ne 1 ]; then
  62686. + if test $# -ne 1; then
  62687. eval LASTARG="\${$#}"
  62688. - case "$LASTARG" in
  62689. + case $LASTARG in
  62690. *.y)
  62691. SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
  62692. - if [ -f "$SRCFILE" ]; then
  62693. + if test -f "$SRCFILE"; then
  62694. cp "$SRCFILE" y.tab.c
  62695. fi
  62696. SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
  62697. - if [ -f "$SRCFILE" ]; then
  62698. + if test -f "$SRCFILE"; then
  62699. cp "$SRCFILE" y.tab.h
  62700. fi
  62701. ;;
  62702. esac
  62703. fi
  62704. - if [ ! -f y.tab.h ]; then
  62705. + if test ! -f y.tab.h; then
  62706. echo >y.tab.h
  62707. fi
  62708. - if [ ! -f y.tab.c ]; then
  62709. + if test ! -f y.tab.c; then
  62710. echo 'main() { return 0; }' >y.tab.c
  62711. fi
  62712. ;;
  62713. - lex|flex)
  62714. + lex*|flex*)
  62715. echo 1>&2 "\
  62716. WARNING: \`$1' is $msg. You should only need it if
  62717. you modified a \`.l' file. You may need the \`Flex' package
  62718. in order for those modifications to take effect. You can get
  62719. \`Flex' from any GNU archive site."
  62720. rm -f lex.yy.c
  62721. - if [ $# -ne 1 ]; then
  62722. + if test $# -ne 1; then
  62723. eval LASTARG="\${$#}"
  62724. - case "$LASTARG" in
  62725. + case $LASTARG in
  62726. *.l)
  62727. SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
  62728. - if [ -f "$SRCFILE" ]; then
  62729. + if test -f "$SRCFILE"; then
  62730. cp "$SRCFILE" lex.yy.c
  62731. fi
  62732. ;;
  62733. esac
  62734. fi
  62735. - if [ ! -f lex.yy.c ]; then
  62736. + if test ! -f lex.yy.c; then
  62737. echo 'main() { return 0; }' >lex.yy.c
  62738. fi
  62739. ;;
  62740. - help2man)
  62741. - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
  62742. - # We have it, but it failed.
  62743. - exit 1
  62744. - fi
  62745. -
  62746. + help2man*)
  62747. echo 1>&2 "\
  62748. WARNING: \`$1' is $msg. You should only need it if
  62749. you modified a dependency of a manual page. You may need the
  62750. \`Help2man' package in order for those modifications to take
  62751. effect. You can get \`Help2man' from any GNU archive site."
  62752. - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
  62753. - if test -z "$file"; then
  62754. - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
  62755. - fi
  62756. - if [ -f "$file" ]; then
  62757. + file=`echo "$*" | sed -n "$sed_output"`
  62758. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  62759. + if test -f "$file"; then
  62760. touch $file
  62761. else
  62762. test -z "$file" || exec >$file
  62763. echo ".ab help2man is required to generate this page"
  62764. - exit 1
  62765. + exit $?
  62766. fi
  62767. ;;
  62768. - makeinfo)
  62769. - if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
  62770. - # We have makeinfo, but it failed.
  62771. - exit 1
  62772. - fi
  62773. -
  62774. + makeinfo*)
  62775. echo 1>&2 "\
  62776. WARNING: \`$1' is $msg. You should only need it if
  62777. you modified a \`.texi' or \`.texinfo' file, or any other file
  62778. @@ -291,20 +297,29 @@
  62779. call might also be the consequence of using a buggy \`make' (AIX,
  62780. DU, IRIX). You might want to install the \`Texinfo' package or
  62781. the \`GNU make' package. Grab either from any GNU archive site."
  62782. - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
  62783. + # The file to touch is that specified with -o ...
  62784. + file=`echo "$*" | sed -n "$sed_output"`
  62785. + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  62786. if test -z "$file"; then
  62787. - file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
  62788. - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
  62789. - fi
  62790. + # ... or it is the one specified with @setfilename ...
  62791. + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
  62792. + file=`sed -n '
  62793. + /^@setfilename/{
  62794. + s/.* \([^ ]*\) *$/\1/
  62795. + p
  62796. + q
  62797. + }' $infile`
  62798. + # ... or it is derived from the source name (dir/f.texi becomes f.info)
  62799. + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
  62800. + fi
  62801. + # If the file does not exist, the user really needs makeinfo;
  62802. + # let's fail without touching anything.
  62803. + test -f $file || exit 1
  62804. touch $file
  62805. ;;
  62806. - tar)
  62807. + tar*)
  62808. shift
  62809. - if test -n "$run"; then
  62810. - echo 1>&2 "ERROR: \`tar' requires --run"
  62811. - exit 1
  62812. - fi
  62813. # We have already tried tar in the generic part.
  62814. # Look for gnutar/gtar before invocation to avoid ugly error
  62815. @@ -317,13 +332,13 @@
  62816. fi
  62817. firstarg="$1"
  62818. if shift; then
  62819. - case "$firstarg" in
  62820. + case $firstarg in
  62821. *o*)
  62822. firstarg=`echo "$firstarg" | sed s/o//`
  62823. tar "$firstarg" "$@" && exit 0
  62824. ;;
  62825. esac
  62826. - case "$firstarg" in
  62827. + case $firstarg in
  62828. *h*)
  62829. firstarg=`echo "$firstarg" | sed s/h//`
  62830. tar "$firstarg" "$@" && exit 0
  62831. @@ -356,5 +371,6 @@
  62832. # eval: (add-hook 'write-file-hooks 'time-stamp)
  62833. # time-stamp-start: "scriptversion="
  62834. # time-stamp-format: "%:y-%02m-%02d.%02H"
  62835. -# time-stamp-end: "$"
  62836. +# time-stamp-time-zone: "UTC"
  62837. +# time-stamp-end: "; # UTC"
  62838. # End:
  62839. diff -Nur speex-1.2rc1.orig/src/Makefile.in speex-1.2rc1/src/Makefile.in
  62840. --- speex-1.2rc1.orig/src/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  62841. +++ speex-1.2rc1/src/Makefile.in 2011-02-20 22:00:57.954802651 +0100
  62842. @@ -1,8 +1,9 @@
  62843. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  62844. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  62845. # @configure_input@
  62846. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  62847. -# 2003, 2004 Free Software Foundation, Inc.
  62848. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  62849. +# Inc.
  62850. # This Makefile.in is free software; the Free Software Foundation
  62851. # gives unlimited permission to copy and/or distribute it,
  62852. # with or without modifications, as long as this notice is preserved.
  62853. @@ -20,17 +21,12 @@
  62854. #AUTOMAKE_OPTIONS = no-dependencies
  62855. -SOURCES = $(speexdec_SOURCES) $(speexenc_SOURCES)
  62856. -
  62857. -srcdir = @srcdir@
  62858. -top_srcdir = @top_srcdir@
  62859. VPATH = @srcdir@
  62860. pkgdatadir = $(datadir)/@PACKAGE@
  62861. -pkglibdir = $(libdir)/@PACKAGE@
  62862. pkgincludedir = $(includedir)/@PACKAGE@
  62863. -top_builddir = ..
  62864. +pkglibdir = $(libdir)/@PACKAGE@
  62865. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  62866. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  62867. -INSTALL = @INSTALL@
  62868. install_sh_DATA = $(install_sh) -c -m 644
  62869. install_sh_PROGRAM = $(install_sh) -c
  62870. install_sh_SCRIPT = $(install_sh) -c
  62871. @@ -42,6 +38,7 @@
  62872. NORMAL_UNINSTALL = :
  62873. PRE_UNINSTALL = :
  62874. POST_UNINSTALL = :
  62875. +build_triplet = @build@
  62876. host_triplet = @host@
  62877. bin_PROGRAMS = speexenc$(EXEEXT) speexdec$(EXEEXT)
  62878. subdir = src
  62879. @@ -52,11 +49,12 @@
  62880. $(top_srcdir)/configure.ac
  62881. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  62882. $(ACLOCAL_M4)
  62883. -mkinstalldirs = $(mkdir_p)
  62884. +mkinstalldirs = $(install_sh) -d
  62885. CONFIG_HEADER = $(top_builddir)/config.h
  62886. CONFIG_CLEAN_FILES =
  62887. -am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(includedir)"
  62888. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  62889. +CONFIG_CLEAN_VPATH_FILES =
  62890. +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
  62891. + "$(DESTDIR)$(includedir)"
  62892. PROGRAMS = $(bin_PROGRAMS)
  62893. am_speexdec_OBJECTS = speexdec.$(OBJEXT) wav_io.$(OBJEXT)
  62894. speexdec_OBJECTS = $(am_speexdec_OBJECTS)
  62895. @@ -68,33 +66,50 @@
  62896. speexenc_OBJECTS = $(am_speexenc_OBJECTS)
  62897. speexenc_DEPENDENCIES = $(top_builddir)/libspeex/libspeex.la \
  62898. $(top_builddir)/libspeex/libspeexdsp.la $(am__DEPENDENCIES_1)
  62899. -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
  62900. +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  62901. depcomp = $(SHELL) $(top_srcdir)/depcomp
  62902. am__depfiles_maybe = depfiles
  62903. -@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/skeleton.Po \
  62904. -@AMDEP_TRUE@ ./$(DEPDIR)/speexdec.Po ./$(DEPDIR)/speexenc.Po \
  62905. -@AMDEP_TRUE@ ./$(DEPDIR)/wav_io.Po
  62906. +am__mv = mv -f
  62907. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  62908. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  62909. -LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
  62910. - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  62911. - $(AM_CFLAGS) $(CFLAGS)
  62912. +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62913. + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  62914. + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  62915. CCLD = $(CC)
  62916. -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  62917. - $(AM_LDFLAGS) $(LDFLAGS) -o $@
  62918. +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  62919. + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  62920. + $(LDFLAGS) -o $@
  62921. SOURCES = $(speexdec_SOURCES) $(speexenc_SOURCES)
  62922. DIST_SOURCES = $(speexdec_SOURCES) $(speexenc_SOURCES)
  62923. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  62924. +am__vpath_adj = case $$p in \
  62925. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  62926. + *) f=$$p;; \
  62927. + esac;
  62928. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  62929. +am__install_max = 40
  62930. +am__nobase_strip_setup = \
  62931. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  62932. +am__nobase_strip = \
  62933. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  62934. +am__nobase_list = $(am__nobase_strip_setup); \
  62935. + for p in $$list; do echo "$$p $$p"; done | \
  62936. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  62937. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  62938. + if (++n[$$2] == $(am__install_max)) \
  62939. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  62940. + END { for (dir in files) print dir, files[dir] }'
  62941. +am__base_list = \
  62942. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  62943. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  62944. man1dir = $(mandir)/man1
  62945. NROFF = nroff
  62946. MANS = $(man_MANS)
  62947. -includeHEADERS_INSTALL = $(INSTALL_HEADER)
  62948. HEADERS = $(include_HEADERS) $(noinst_HEADERS)
  62949. ETAGS = etags
  62950. CTAGS = ctags
  62951. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  62952. ACLOCAL = @ACLOCAL@
  62953. -AMDEP_FALSE = @AMDEP_FALSE@
  62954. -AMDEP_TRUE = @AMDEP_TRUE@
  62955. AMTAR = @AMTAR@
  62956. AR = @AR@
  62957. AS = @AS@
  62958. @@ -102,60 +117,57 @@
  62959. AUTOHEADER = @AUTOHEADER@
  62960. AUTOMAKE = @AUTOMAKE@
  62961. AWK = @AWK@
  62962. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  62963. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  62964. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  62965. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  62966. CC = @CC@
  62967. CCDEPMODE = @CCDEPMODE@
  62968. CFLAGS = @CFLAGS@
  62969. CPP = @CPP@
  62970. CPPFLAGS = @CPPFLAGS@
  62971. -CXX = @CXX@
  62972. -CXXCPP = @CXXCPP@
  62973. -CXXDEPMODE = @CXXDEPMODE@
  62974. -CXXFLAGS = @CXXFLAGS@
  62975. CYGPATH_W = @CYGPATH_W@
  62976. DEFS = @DEFS@
  62977. DEPDIR = @DEPDIR@
  62978. DLLTOOL = @DLLTOOL@
  62979. DSYMUTIL = @DSYMUTIL@
  62980. -ECHO = @ECHO@
  62981. +DUMPBIN = @DUMPBIN@
  62982. ECHO_C = @ECHO_C@
  62983. ECHO_N = @ECHO_N@
  62984. ECHO_T = @ECHO_T@
  62985. EGREP = @EGREP@
  62986. EXEEXT = @EXEEXT@
  62987. -F77 = @F77@
  62988. -FFLAGS = @FFLAGS@
  62989. FFT_CFLAGS = @FFT_CFLAGS@
  62990. FFT_LIBS = @FFT_LIBS@
  62991. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  62992. +FGREP = @FGREP@
  62993. GREP = @GREP@
  62994. +INSTALL = @INSTALL@
  62995. INSTALL_DATA = @INSTALL_DATA@
  62996. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  62997. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  62998. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  62999. +LD = @LD@
  63000. LDFLAGS = @LDFLAGS@
  63001. LIBOBJS = @LIBOBJS@
  63002. LIBS = @LIBS@
  63003. LIBTOOL = @LIBTOOL@
  63004. +LIPO = @LIPO@
  63005. LN_S = @LN_S@
  63006. LTLIBOBJS = @LTLIBOBJS@
  63007. MAINT = @MAINT@
  63008. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  63009. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  63010. MAKEINFO = @MAKEINFO@
  63011. +MKDIR_P = @MKDIR_P@
  63012. +NM = @NM@
  63013. NMEDIT = @NMEDIT@
  63014. OBJDUMP = @OBJDUMP@
  63015. OBJEXT = @OBJEXT@
  63016. OGG_CFLAGS = @OGG_CFLAGS@
  63017. OGG_LIBS = @OGG_LIBS@
  63018. +OTOOL = @OTOOL@
  63019. +OTOOL64 = @OTOOL64@
  63020. PACKAGE = @PACKAGE@
  63021. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  63022. PACKAGE_NAME = @PACKAGE_NAME@
  63023. PACKAGE_STRING = @PACKAGE_STRING@
  63024. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  63025. +PACKAGE_URL = @PACKAGE_URL@
  63026. PACKAGE_VERSION = @PACKAGE_VERSION@
  63027. PATH_SEPARATOR = @PATH_SEPARATOR@
  63028. PKG_CONFIG = @PKG_CONFIG@
  63029. @@ -171,22 +183,24 @@
  63030. SPEEX_VERSION = @SPEEX_VERSION@
  63031. STRIP = @STRIP@
  63032. VERSION = @VERSION@
  63033. +abs_builddir = @abs_builddir@
  63034. +abs_srcdir = @abs_srcdir@
  63035. +abs_top_builddir = @abs_top_builddir@
  63036. +abs_top_srcdir = @abs_top_srcdir@
  63037. ac_ct_CC = @ac_ct_CC@
  63038. -ac_ct_CXX = @ac_ct_CXX@
  63039. -ac_ct_F77 = @ac_ct_F77@
  63040. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  63041. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  63042. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  63043. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  63044. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  63045. am__include = @am__include@
  63046. am__leading_dot = @am__leading_dot@
  63047. am__quote = @am__quote@
  63048. +am__tar = @am__tar@
  63049. +am__untar = @am__untar@
  63050. bindir = @bindir@
  63051. build = @build@
  63052. build_alias = @build_alias@
  63053. build_cpu = @build_cpu@
  63054. build_os = @build_os@
  63055. build_vendor = @build_vendor@
  63056. +builddir = @builddir@
  63057. datadir = @datadir@
  63058. datarootdir = @datarootdir@
  63059. docdir = @docdir@
  63060. @@ -205,6 +219,7 @@
  63061. libexecdir = @libexecdir@
  63062. localedir = @localedir@
  63063. localstatedir = @localstatedir@
  63064. +lt_ECHO = @lt_ECHO@
  63065. mandir = @mandir@
  63066. mkdir_p = @mkdir_p@
  63067. oldincludedir = @oldincludedir@
  63068. @@ -215,8 +230,12 @@
  63069. sbindir = @sbindir@
  63070. sharedstatedir = @sharedstatedir@
  63071. src = @src@
  63072. +srcdir = @srcdir@
  63073. sysconfdir = @sysconfdir@
  63074. target_alias = @target_alias@
  63075. +top_build_prefix = @top_build_prefix@
  63076. +top_builddir = @top_builddir@
  63077. +top_srcdir = @top_srcdir@
  63078. INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) @OGG_CFLAGS@
  63079. man_MANS = speexenc.1 speexdec.1
  63080. EXTRA_DIST = $(man_MANS) getopt_win.h getopt.c getopt1.c wave_out.c wave_out.h skeleton.h
  63081. @@ -238,14 +257,14 @@
  63082. @for dep in $?; do \
  63083. case '$(am__configure_deps)' in \
  63084. *$$dep*) \
  63085. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  63086. - && exit 0; \
  63087. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  63088. + && { if test -f $@; then exit 0; else break; fi; }; \
  63089. exit 1;; \
  63090. esac; \
  63091. done; \
  63092. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
  63093. - cd $(top_srcdir) && \
  63094. - $(AUTOMAKE) --gnu src/Makefile
  63095. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
  63096. + $(am__cd) $(top_srcdir) && \
  63097. + $(AUTOMAKE) --gnu src/Makefile
  63098. .PRECIOUS: Makefile
  63099. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  63100. @case '$?' in \
  63101. @@ -263,40 +282,56 @@
  63102. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  63103. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  63104. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  63105. +$(am__aclocal_m4_deps):
  63106. install-binPROGRAMS: $(bin_PROGRAMS)
  63107. @$(NORMAL_INSTALL)
  63108. - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
  63109. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  63110. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  63111. - if test -f $$p \
  63112. - || test -f $$p1 \
  63113. - ; then \
  63114. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  63115. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  63116. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  63117. - else :; fi; \
  63118. - done
  63119. + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  63120. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  63121. + for p in $$list; do echo "$$p $$p"; done | \
  63122. + sed 's/$(EXEEXT)$$//' | \
  63123. + while read p p1; do if test -f $$p || test -f $$p1; \
  63124. + then echo "$$p"; echo "$$p"; else :; fi; \
  63125. + done | \
  63126. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  63127. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  63128. + sed 'N;N;N;s,\n, ,g' | \
  63129. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  63130. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  63131. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  63132. + else { print "f", $$3 "/" $$4, $$1; } } \
  63133. + END { for (d in files) print "f", d, files[d] }' | \
  63134. + while read type dir files; do \
  63135. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  63136. + test -z "$$files" || { \
  63137. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  63138. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  63139. + } \
  63140. + ; done
  63141. uninstall-binPROGRAMS:
  63142. @$(NORMAL_UNINSTALL)
  63143. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  63144. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  63145. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  63146. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  63147. - done
  63148. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  63149. + files=`for p in $$list; do echo "$$p"; done | \
  63150. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  63151. + -e 's/$$/$(EXEEXT)/' `; \
  63152. + test -n "$$list" || exit 0; \
  63153. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  63154. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  63155. clean-binPROGRAMS:
  63156. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  63157. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  63158. - echo " rm -f $$p $$f"; \
  63159. - rm -f $$p $$f ; \
  63160. - done
  63161. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  63162. + echo " rm -f" $$list; \
  63163. + rm -f $$list || exit $$?; \
  63164. + test -n "$(EXEEXT)" || exit 0; \
  63165. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  63166. + echo " rm -f" $$list; \
  63167. + rm -f $$list
  63168. speexdec$(EXEEXT): $(speexdec_OBJECTS) $(speexdec_DEPENDENCIES)
  63169. @rm -f speexdec$(EXEEXT)
  63170. - $(LINK) $(speexdec_LDFLAGS) $(speexdec_OBJECTS) $(speexdec_LDADD) $(LIBS)
  63171. + $(LINK) $(speexdec_OBJECTS) $(speexdec_LDADD) $(LIBS)
  63172. speexenc$(EXEEXT): $(speexenc_OBJECTS) $(speexenc_DEPENDENCIES)
  63173. @rm -f speexenc$(EXEEXT)
  63174. - $(LINK) $(speexenc_LDFLAGS) $(speexenc_OBJECTS) $(speexenc_LDADD) $(LIBS)
  63175. + $(LINK) $(speexenc_OBJECTS) $(speexenc_LDADD) $(LIBS)
  63176. mostlyclean-compile:
  63177. -rm -f *.$(OBJEXT)
  63178. @@ -310,27 +345,24 @@
  63179. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wav_io.Po@am__quote@
  63180. .c.o:
  63181. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  63182. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  63183. +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63184. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63185. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63186. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
  63187. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63188. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63189. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  63190. .c.obj:
  63191. -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  63192. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  63193. +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  63194. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  63195. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  63196. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
  63197. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63198. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63199. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  63200. .c.lo:
  63201. -@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  63202. -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  63203. +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  63204. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  63205. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  63206. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
  63207. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63208. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  63209. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  63210. mostlyclean-libtool:
  63211. @@ -338,145 +370,157 @@
  63212. clean-libtool:
  63213. -rm -rf .libs _libs
  63214. -
  63215. -distclean-libtool:
  63216. - -rm -f libtool
  63217. -uninstall-info-am:
  63218. -install-man1: $(man1_MANS) $(man_MANS)
  63219. +install-man1: $(man_MANS)
  63220. @$(NORMAL_INSTALL)
  63221. - test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
  63222. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  63223. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  63224. - for i in $$l2; do \
  63225. - case "$$i" in \
  63226. - *.1*) list="$$list $$i" ;; \
  63227. - esac; \
  63228. + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  63229. + @list=''; test -n "$(man1dir)" || exit 0; \
  63230. + { for i in $$list; do echo "$$i"; done; \
  63231. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  63232. + sed -n '/\.1[a-z]*$$/p'; \
  63233. + } | while read p; do \
  63234. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  63235. + echo "$$d$$p"; echo "$$p"; \
  63236. + done | \
  63237. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  63238. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  63239. + sed 'N;N;s,\n, ,g' | { \
  63240. + list=; while read file base inst; do \
  63241. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  63242. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  63243. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  63244. + fi; \
  63245. done; \
  63246. - for i in $$list; do \
  63247. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  63248. - else file=$$i; fi; \
  63249. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  63250. - case "$$ext" in \
  63251. - 1*) ;; \
  63252. - *) ext='1' ;; \
  63253. - esac; \
  63254. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  63255. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  63256. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  63257. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  63258. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
  63259. - done
  63260. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  63261. + while read files; do \
  63262. + test -z "$$files" || { \
  63263. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  63264. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  63265. + done; }
  63266. +
  63267. uninstall-man1:
  63268. @$(NORMAL_UNINSTALL)
  63269. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  63270. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  63271. - for i in $$l2; do \
  63272. - case "$$i" in \
  63273. - *.1*) list="$$list $$i" ;; \
  63274. - esac; \
  63275. - done; \
  63276. - for i in $$list; do \
  63277. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  63278. - case "$$ext" in \
  63279. - 1*) ;; \
  63280. - *) ext='1' ;; \
  63281. - esac; \
  63282. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  63283. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  63284. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  63285. - echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
  63286. - rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
  63287. - done
  63288. + @list=''; test -n "$(man1dir)" || exit 0; \
  63289. + files=`{ for i in $$list; do echo "$$i"; done; \
  63290. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  63291. + sed -n '/\.1[a-z]*$$/p'; \
  63292. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  63293. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  63294. + test -z "$$files" || { \
  63295. + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  63296. + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  63297. install-includeHEADERS: $(include_HEADERS)
  63298. @$(NORMAL_INSTALL)
  63299. - test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
  63300. - @list='$(include_HEADERS)'; for p in $$list; do \
  63301. + test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  63302. + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  63303. + for p in $$list; do \
  63304. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  63305. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  63306. - echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
  63307. - $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
  63308. + echo "$$d$$p"; \
  63309. + done | $(am__base_list) | \
  63310. + while read files; do \
  63311. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  63312. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  63313. done
  63314. uninstall-includeHEADERS:
  63315. @$(NORMAL_UNINSTALL)
  63316. - @list='$(include_HEADERS)'; for p in $$list; do \
  63317. - f="`echo $$p | sed -e 's|^.*/||'`"; \
  63318. - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
  63319. - rm -f "$(DESTDIR)$(includedir)/$$f"; \
  63320. - done
  63321. + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  63322. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  63323. + test -n "$$files" || exit 0; \
  63324. + echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  63325. + cd "$(DESTDIR)$(includedir)" && rm -f $$files
  63326. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  63327. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63328. unique=`for i in $$list; do \
  63329. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63330. done | \
  63331. - $(AWK) ' { files[$$0] = 1; } \
  63332. - END { for (i in files) print i; }'`; \
  63333. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63334. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  63335. mkid -fID $$unique
  63336. tags: TAGS
  63337. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  63338. $(TAGS_FILES) $(LISP)
  63339. - tags=; \
  63340. + set x; \
  63341. here=`pwd`; \
  63342. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63343. unique=`for i in $$list; do \
  63344. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63345. done | \
  63346. - $(AWK) ' { files[$$0] = 1; } \
  63347. - END { for (i in files) print i; }'`; \
  63348. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  63349. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63350. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  63351. + shift; \
  63352. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  63353. test -n "$$unique" || unique=$$empty_fix; \
  63354. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  63355. - $$tags $$unique; \
  63356. + if test $$# -gt 0; then \
  63357. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  63358. + "$$@" $$unique; \
  63359. + else \
  63360. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  63361. + $$unique; \
  63362. + fi; \
  63363. fi
  63364. ctags: CTAGS
  63365. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  63366. $(TAGS_FILES) $(LISP)
  63367. - tags=; \
  63368. - here=`pwd`; \
  63369. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  63370. unique=`for i in $$list; do \
  63371. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  63372. done | \
  63373. - $(AWK) ' { files[$$0] = 1; } \
  63374. - END { for (i in files) print i; }'`; \
  63375. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  63376. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  63377. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  63378. + test -z "$(CTAGS_ARGS)$$unique" \
  63379. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  63380. - $$tags $$unique
  63381. + $$unique
  63382. GTAGS:
  63383. here=`$(am__cd) $(top_builddir) && pwd` \
  63384. - && cd $(top_srcdir) \
  63385. - && gtags -i $(GTAGS_ARGS) $$here
  63386. + && $(am__cd) $(top_srcdir) \
  63387. + && gtags -i $(GTAGS_ARGS) "$$here"
  63388. distclean-tags:
  63389. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  63390. distdir: $(DISTFILES)
  63391. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  63392. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  63393. - list='$(DISTFILES)'; for file in $$list; do \
  63394. - case $$file in \
  63395. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  63396. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  63397. - esac; \
  63398. + @list='$(MANS)'; if test -n "$$list"; then \
  63399. + list=`for p in $$list; do \
  63400. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  63401. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  63402. + if test -n "$$list" && \
  63403. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  63404. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  63405. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  63406. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  63407. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  63408. + exit 1; \
  63409. + else :; fi; \
  63410. + else :; fi
  63411. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63412. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63413. + list='$(DISTFILES)'; \
  63414. + dist_files=`for file in $$list; do echo $$file; done | \
  63415. + sed -e "s|^$$srcdirstrip/||;t" \
  63416. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  63417. + case $$dist_files in \
  63418. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  63419. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  63420. + sort -u` ;; \
  63421. + esac; \
  63422. + for file in $$dist_files; do \
  63423. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  63424. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  63425. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  63426. - dir="/$$dir"; \
  63427. - $(mkdir_p) "$(distdir)$$dir"; \
  63428. - else \
  63429. - dir=''; \
  63430. - fi; \
  63431. if test -d $$d/$$file; then \
  63432. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  63433. + if test -d "$(distdir)/$$file"; then \
  63434. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  63435. + fi; \
  63436. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  63437. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  63438. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  63439. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  63440. fi; \
  63441. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  63442. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  63443. else \
  63444. - test -f $(distdir)/$$file \
  63445. - || cp -p $$d/$$file $(distdir)/$$file \
  63446. + test -f "$(distdir)/$$file" \
  63447. + || cp -p $$d/$$file "$(distdir)/$$file" \
  63448. || exit 1; \
  63449. fi; \
  63450. done
  63451. @@ -485,7 +529,7 @@
  63452. all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
  63453. installdirs:
  63454. for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(includedir)"; do \
  63455. - test -z "$$dir" || $(mkdir_p) "$$dir"; \
  63456. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  63457. done
  63458. install: install-am
  63459. install-exec: install-exec-am
  63460. @@ -506,7 +550,8 @@
  63461. clean-generic:
  63462. distclean-generic:
  63463. - -rm -f $(CONFIG_CLEAN_FILES)
  63464. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  63465. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  63466. maintainer-clean-generic:
  63467. @echo "This command is intended for maintainers to use"
  63468. @@ -519,7 +564,7 @@
  63469. -rm -rf ./$(DEPDIR)
  63470. -rm -f Makefile
  63471. distclean-am: clean-am distclean-compile distclean-generic \
  63472. - distclean-libtool distclean-tags
  63473. + distclean-tags
  63474. dvi: dvi-am
  63475. @@ -527,18 +572,38 @@
  63476. html: html-am
  63477. +html-am:
  63478. +
  63479. info: info-am
  63480. info-am:
  63481. install-data-am: install-includeHEADERS install-man
  63482. +install-dvi: install-dvi-am
  63483. +
  63484. +install-dvi-am:
  63485. +
  63486. install-exec-am: install-binPROGRAMS
  63487. +install-html: install-html-am
  63488. +
  63489. +install-html-am:
  63490. +
  63491. install-info: install-info-am
  63492. +install-info-am:
  63493. +
  63494. install-man: install-man1
  63495. +install-pdf: install-pdf-am
  63496. +
  63497. +install-pdf-am:
  63498. +
  63499. +install-ps: install-ps-am
  63500. +
  63501. +install-ps-am:
  63502. +
  63503. installcheck-am:
  63504. maintainer-clean: maintainer-clean-am
  63505. @@ -560,23 +625,27 @@
  63506. ps-am:
  63507. uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
  63508. - uninstall-info-am uninstall-man
  63509. + uninstall-man
  63510. uninstall-man: uninstall-man1
  63511. +.MAKE: install-am install-strip
  63512. +
  63513. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
  63514. clean-generic clean-libtool ctags distclean distclean-compile \
  63515. distclean-generic distclean-libtool distclean-tags distdir dvi \
  63516. dvi-am html html-am info info-am install install-am \
  63517. - install-binPROGRAMS install-data install-data-am install-exec \
  63518. - install-exec-am install-includeHEADERS install-info \
  63519. - install-info-am install-man install-man1 install-strip \
  63520. + install-binPROGRAMS install-data install-data-am install-dvi \
  63521. + install-dvi-am install-exec install-exec-am install-html \
  63522. + install-html-am install-includeHEADERS install-info \
  63523. + install-info-am install-man install-man1 install-pdf \
  63524. + install-pdf-am install-ps install-ps-am install-strip \
  63525. installcheck installcheck-am installdirs maintainer-clean \
  63526. maintainer-clean-generic mostlyclean mostlyclean-compile \
  63527. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  63528. tags uninstall uninstall-am uninstall-binPROGRAMS \
  63529. - uninstall-includeHEADERS uninstall-info-am uninstall-man \
  63530. - uninstall-man1
  63531. + uninstall-includeHEADERS uninstall-man uninstall-man1
  63532. +
  63533. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  63534. # Otherwise a system limit (for SysV at least) may be exceeded.
  63535. diff -Nur speex-1.2rc1.orig/symbian/Makefile.in speex-1.2rc1/symbian/Makefile.in
  63536. --- speex-1.2rc1.orig/symbian/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  63537. +++ speex-1.2rc1/symbian/Makefile.in 2011-02-20 22:00:57.984802496 +0100
  63538. @@ -1,8 +1,9 @@
  63539. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  63540. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  63541. # @configure_input@
  63542. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  63543. -# 2003, 2004 Free Software Foundation, Inc.
  63544. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  63545. +# Inc.
  63546. # This Makefile.in is free software; the Free Software Foundation
  63547. # gives unlimited permission to copy and/or distribute it,
  63548. # with or without modifications, as long as this notice is preserved.
  63549. @@ -16,15 +17,12 @@
  63550. # Disable automatic dependency tracking if using other tools than gcc and gmake
  63551. #AUTOMAKE_OPTIONS = no-dependencies
  63552. -srcdir = @srcdir@
  63553. -top_srcdir = @top_srcdir@
  63554. VPATH = @srcdir@
  63555. pkgdatadir = $(datadir)/@PACKAGE@
  63556. -pkglibdir = $(libdir)/@PACKAGE@
  63557. pkgincludedir = $(includedir)/@PACKAGE@
  63558. -top_builddir = ..
  63559. +pkglibdir = $(libdir)/@PACKAGE@
  63560. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  63561. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  63562. -INSTALL = @INSTALL@
  63563. install_sh_DATA = $(install_sh) -c -m 644
  63564. install_sh_PROGRAM = $(install_sh) -c
  63565. install_sh_SCRIPT = $(install_sh) -c
  63566. @@ -36,6 +34,7 @@
  63567. NORMAL_UNINSTALL = :
  63568. PRE_UNINSTALL = :
  63569. POST_UNINSTALL = :
  63570. +build_triplet = @build@
  63571. host_triplet = @host@
  63572. subdir = symbian
  63573. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  63574. @@ -44,15 +43,14 @@
  63575. $(top_srcdir)/configure.ac
  63576. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  63577. $(ACLOCAL_M4)
  63578. -mkinstalldirs = $(mkdir_p)
  63579. +mkinstalldirs = $(install_sh) -d
  63580. CONFIG_HEADER = $(top_builddir)/config.h
  63581. CONFIG_CLEAN_FILES =
  63582. +CONFIG_CLEAN_VPATH_FILES =
  63583. SOURCES =
  63584. DIST_SOURCES =
  63585. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  63586. ACLOCAL = @ACLOCAL@
  63587. -AMDEP_FALSE = @AMDEP_FALSE@
  63588. -AMDEP_TRUE = @AMDEP_TRUE@
  63589. AMTAR = @AMTAR@
  63590. AR = @AR@
  63591. AS = @AS@
  63592. @@ -60,60 +58,57 @@
  63593. AUTOHEADER = @AUTOHEADER@
  63594. AUTOMAKE = @AUTOMAKE@
  63595. AWK = @AWK@
  63596. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  63597. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  63598. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  63599. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  63600. CC = @CC@
  63601. CCDEPMODE = @CCDEPMODE@
  63602. CFLAGS = @CFLAGS@
  63603. CPP = @CPP@
  63604. CPPFLAGS = @CPPFLAGS@
  63605. -CXX = @CXX@
  63606. -CXXCPP = @CXXCPP@
  63607. -CXXDEPMODE = @CXXDEPMODE@
  63608. -CXXFLAGS = @CXXFLAGS@
  63609. CYGPATH_W = @CYGPATH_W@
  63610. DEFS = @DEFS@
  63611. DEPDIR = @DEPDIR@
  63612. DLLTOOL = @DLLTOOL@
  63613. DSYMUTIL = @DSYMUTIL@
  63614. -ECHO = @ECHO@
  63615. +DUMPBIN = @DUMPBIN@
  63616. ECHO_C = @ECHO_C@
  63617. ECHO_N = @ECHO_N@
  63618. ECHO_T = @ECHO_T@
  63619. EGREP = @EGREP@
  63620. EXEEXT = @EXEEXT@
  63621. -F77 = @F77@
  63622. -FFLAGS = @FFLAGS@
  63623. FFT_CFLAGS = @FFT_CFLAGS@
  63624. FFT_LIBS = @FFT_LIBS@
  63625. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  63626. +FGREP = @FGREP@
  63627. GREP = @GREP@
  63628. +INSTALL = @INSTALL@
  63629. INSTALL_DATA = @INSTALL_DATA@
  63630. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  63631. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  63632. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  63633. +LD = @LD@
  63634. LDFLAGS = @LDFLAGS@
  63635. LIBOBJS = @LIBOBJS@
  63636. LIBS = @LIBS@
  63637. LIBTOOL = @LIBTOOL@
  63638. +LIPO = @LIPO@
  63639. LN_S = @LN_S@
  63640. LTLIBOBJS = @LTLIBOBJS@
  63641. MAINT = @MAINT@
  63642. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  63643. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  63644. MAKEINFO = @MAKEINFO@
  63645. +MKDIR_P = @MKDIR_P@
  63646. +NM = @NM@
  63647. NMEDIT = @NMEDIT@
  63648. OBJDUMP = @OBJDUMP@
  63649. OBJEXT = @OBJEXT@
  63650. OGG_CFLAGS = @OGG_CFLAGS@
  63651. OGG_LIBS = @OGG_LIBS@
  63652. +OTOOL = @OTOOL@
  63653. +OTOOL64 = @OTOOL64@
  63654. PACKAGE = @PACKAGE@
  63655. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  63656. PACKAGE_NAME = @PACKAGE_NAME@
  63657. PACKAGE_STRING = @PACKAGE_STRING@
  63658. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  63659. +PACKAGE_URL = @PACKAGE_URL@
  63660. PACKAGE_VERSION = @PACKAGE_VERSION@
  63661. PATH_SEPARATOR = @PATH_SEPARATOR@
  63662. PKG_CONFIG = @PKG_CONFIG@
  63663. @@ -129,22 +124,24 @@
  63664. SPEEX_VERSION = @SPEEX_VERSION@
  63665. STRIP = @STRIP@
  63666. VERSION = @VERSION@
  63667. +abs_builddir = @abs_builddir@
  63668. +abs_srcdir = @abs_srcdir@
  63669. +abs_top_builddir = @abs_top_builddir@
  63670. +abs_top_srcdir = @abs_top_srcdir@
  63671. ac_ct_CC = @ac_ct_CC@
  63672. -ac_ct_CXX = @ac_ct_CXX@
  63673. -ac_ct_F77 = @ac_ct_F77@
  63674. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  63675. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  63676. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  63677. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  63678. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  63679. am__include = @am__include@
  63680. am__leading_dot = @am__leading_dot@
  63681. am__quote = @am__quote@
  63682. +am__tar = @am__tar@
  63683. +am__untar = @am__untar@
  63684. bindir = @bindir@
  63685. build = @build@
  63686. build_alias = @build_alias@
  63687. build_cpu = @build_cpu@
  63688. build_os = @build_os@
  63689. build_vendor = @build_vendor@
  63690. +builddir = @builddir@
  63691. datadir = @datadir@
  63692. datarootdir = @datarootdir@
  63693. docdir = @docdir@
  63694. @@ -163,6 +160,7 @@
  63695. libexecdir = @libexecdir@
  63696. localedir = @localedir@
  63697. localstatedir = @localstatedir@
  63698. +lt_ECHO = @lt_ECHO@
  63699. mandir = @mandir@
  63700. mkdir_p = @mkdir_p@
  63701. oldincludedir = @oldincludedir@
  63702. @@ -173,8 +171,12 @@
  63703. sbindir = @sbindir@
  63704. sharedstatedir = @sharedstatedir@
  63705. src = @src@
  63706. +srcdir = @srcdir@
  63707. sysconfdir = @sysconfdir@
  63708. target_alias = @target_alias@
  63709. +top_build_prefix = @top_build_prefix@
  63710. +top_builddir = @top_builddir@
  63711. +top_srcdir = @top_srcdir@
  63712. EXTRA_DIST = bld.inf config.h speex.mmp
  63713. all: all-am
  63714. @@ -183,14 +185,14 @@
  63715. @for dep in $?; do \
  63716. case '$(am__configure_deps)' in \
  63717. *$$dep*) \
  63718. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  63719. - && exit 0; \
  63720. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  63721. + && { if test -f $@; then exit 0; else break; fi; }; \
  63722. exit 1;; \
  63723. esac; \
  63724. done; \
  63725. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu symbian/Makefile'; \
  63726. - cd $(top_srcdir) && \
  63727. - $(AUTOMAKE) --gnu symbian/Makefile
  63728. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu symbian/Makefile'; \
  63729. + $(am__cd) $(top_srcdir) && \
  63730. + $(AUTOMAKE) --gnu symbian/Makefile
  63731. .PRECIOUS: Makefile
  63732. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  63733. @case '$?' in \
  63734. @@ -208,16 +210,13 @@
  63735. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  63736. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  63737. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  63738. +$(am__aclocal_m4_deps):
  63739. mostlyclean-libtool:
  63740. -rm -f *.lo
  63741. clean-libtool:
  63742. -rm -rf .libs _libs
  63743. -
  63744. -distclean-libtool:
  63745. - -rm -f libtool
  63746. -uninstall-info-am:
  63747. tags: TAGS
  63748. TAGS:
  63749. @@ -226,29 +225,32 @@
  63750. distdir: $(DISTFILES)
  63751. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  63752. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  63753. - list='$(DISTFILES)'; for file in $$list; do \
  63754. - case $$file in \
  63755. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  63756. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  63757. - esac; \
  63758. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63759. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  63760. + list='$(DISTFILES)'; \
  63761. + dist_files=`for file in $$list; do echo $$file; done | \
  63762. + sed -e "s|^$$srcdirstrip/||;t" \
  63763. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  63764. + case $$dist_files in \
  63765. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  63766. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  63767. + sort -u` ;; \
  63768. + esac; \
  63769. + for file in $$dist_files; do \
  63770. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  63771. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  63772. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  63773. - dir="/$$dir"; \
  63774. - $(mkdir_p) "$(distdir)$$dir"; \
  63775. - else \
  63776. - dir=''; \
  63777. - fi; \
  63778. if test -d $$d/$$file; then \
  63779. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  63780. + if test -d "$(distdir)/$$file"; then \
  63781. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  63782. + fi; \
  63783. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  63784. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  63785. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  63786. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  63787. fi; \
  63788. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  63789. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  63790. else \
  63791. - test -f $(distdir)/$$file \
  63792. - || cp -p $$d/$$file $(distdir)/$$file \
  63793. + test -f "$(distdir)/$$file" \
  63794. + || cp -p $$d/$$file "$(distdir)/$$file" \
  63795. || exit 1; \
  63796. fi; \
  63797. done
  63798. @@ -275,7 +277,8 @@
  63799. clean-generic:
  63800. distclean-generic:
  63801. - -rm -f $(CONFIG_CLEAN_FILES)
  63802. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  63803. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  63804. maintainer-clean-generic:
  63805. @echo "This command is intended for maintainers to use"
  63806. @@ -286,7 +289,7 @@
  63807. distclean: distclean-am
  63808. -rm -f Makefile
  63809. -distclean-am: clean-am distclean-generic distclean-libtool
  63810. +distclean-am: clean-am distclean-generic
  63811. dvi: dvi-am
  63812. @@ -294,18 +297,38 @@
  63813. html: html-am
  63814. +html-am:
  63815. +
  63816. info: info-am
  63817. info-am:
  63818. install-data-am:
  63819. +install-dvi: install-dvi-am
  63820. +
  63821. +install-dvi-am:
  63822. +
  63823. install-exec-am:
  63824. +install-html: install-html-am
  63825. +
  63826. +install-html-am:
  63827. +
  63828. install-info: install-info-am
  63829. +install-info-am:
  63830. +
  63831. install-man:
  63832. +install-pdf: install-pdf-am
  63833. +
  63834. +install-pdf-am:
  63835. +
  63836. +install-ps: install-ps-am
  63837. +
  63838. +install-ps-am:
  63839. +
  63840. installcheck-am:
  63841. maintainer-clean: maintainer-clean-am
  63842. @@ -324,17 +347,21 @@
  63843. ps-am:
  63844. -uninstall-am: uninstall-info-am
  63845. +uninstall-am:
  63846. +
  63847. +.MAKE: install-am install-strip
  63848. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  63849. distclean distclean-generic distclean-libtool distdir dvi \
  63850. dvi-am html html-am info info-am install install-am \
  63851. - install-data install-data-am install-exec install-exec-am \
  63852. - install-info install-info-am install-man install-strip \
  63853. + install-data install-data-am install-dvi install-dvi-am \
  63854. + install-exec install-exec-am install-html install-html-am \
  63855. + install-info install-info-am install-man install-pdf \
  63856. + install-pdf-am install-ps install-ps-am install-strip \
  63857. installcheck installcheck-am installdirs maintainer-clean \
  63858. maintainer-clean-generic mostlyclean mostlyclean-generic \
  63859. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  63860. - uninstall-info-am
  63861. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  63862. +
  63863. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  63864. # Otherwise a system limit (for SysV at least) may be exceeded.
  63865. diff -Nur speex-1.2rc1.orig/ti/Makefile.in speex-1.2rc1/ti/Makefile.in
  63866. --- speex-1.2rc1.orig/ti/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  63867. +++ speex-1.2rc1/ti/Makefile.in 2011-02-20 22:00:58.014802655 +0100
  63868. @@ -1,8 +1,9 @@
  63869. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  63870. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  63871. # @configure_input@
  63872. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  63873. -# 2003, 2004 Free Software Foundation, Inc.
  63874. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  63875. +# Inc.
  63876. # This Makefile.in is free software; the Free Software Foundation
  63877. # gives unlimited permission to copy and/or distribute it,
  63878. # with or without modifications, as long as this notice is preserved.
  63879. @@ -16,15 +17,12 @@
  63880. # Disable automatic dependency tracking if using other tools than gcc and gmake
  63881. #AUTOMAKE_OPTIONS = no-dependencies
  63882. -srcdir = @srcdir@
  63883. -top_srcdir = @top_srcdir@
  63884. VPATH = @srcdir@
  63885. pkgdatadir = $(datadir)/@PACKAGE@
  63886. -pkglibdir = $(libdir)/@PACKAGE@
  63887. pkgincludedir = $(includedir)/@PACKAGE@
  63888. -top_builddir = ..
  63889. +pkglibdir = $(libdir)/@PACKAGE@
  63890. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  63891. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  63892. -INSTALL = @INSTALL@
  63893. install_sh_DATA = $(install_sh) -c -m 644
  63894. install_sh_PROGRAM = $(install_sh) -c
  63895. install_sh_SCRIPT = $(install_sh) -c
  63896. @@ -36,6 +34,7 @@
  63897. NORMAL_UNINSTALL = :
  63898. PRE_UNINSTALL = :
  63899. POST_UNINSTALL = :
  63900. +build_triplet = @build@
  63901. host_triplet = @host@
  63902. subdir = ti
  63903. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  63904. @@ -44,24 +43,54 @@
  63905. $(top_srcdir)/configure.ac
  63906. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  63907. $(ACLOCAL_M4)
  63908. -mkinstalldirs = $(mkdir_p)
  63909. +mkinstalldirs = $(install_sh) -d
  63910. CONFIG_HEADER = $(top_builddir)/config.h
  63911. CONFIG_CLEAN_FILES =
  63912. +CONFIG_CLEAN_VPATH_FILES =
  63913. SOURCES =
  63914. DIST_SOURCES =
  63915. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  63916. html-recursive info-recursive install-data-recursive \
  63917. - install-exec-recursive install-info-recursive \
  63918. - install-recursive installcheck-recursive installdirs-recursive \
  63919. - pdf-recursive ps-recursive uninstall-info-recursive \
  63920. - uninstall-recursive
  63921. + install-dvi-recursive install-exec-recursive \
  63922. + install-html-recursive install-info-recursive \
  63923. + install-pdf-recursive install-ps-recursive install-recursive \
  63924. + installcheck-recursive installdirs-recursive pdf-recursive \
  63925. + ps-recursive uninstall-recursive
  63926. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  63927. + distclean-recursive maintainer-clean-recursive
  63928. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  63929. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  63930. + distdir
  63931. ETAGS = etags
  63932. CTAGS = ctags
  63933. DIST_SUBDIRS = $(SUBDIRS)
  63934. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  63935. +am__relativize = \
  63936. + dir0=`pwd`; \
  63937. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  63938. + sed_rest='s,^[^/]*/*,,'; \
  63939. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  63940. + sed_butlast='s,/*[^/]*$$,,'; \
  63941. + while test -n "$$dir1"; do \
  63942. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  63943. + if test "$$first" != "."; then \
  63944. + if test "$$first" = ".."; then \
  63945. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  63946. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  63947. + else \
  63948. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  63949. + if test "$$first2" = "$$first"; then \
  63950. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  63951. + else \
  63952. + dir2="../$$dir2"; \
  63953. + fi; \
  63954. + dir0="$$dir0"/"$$first"; \
  63955. + fi; \
  63956. + fi; \
  63957. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  63958. + done; \
  63959. + reldir="$$dir2"
  63960. ACLOCAL = @ACLOCAL@
  63961. -AMDEP_FALSE = @AMDEP_FALSE@
  63962. -AMDEP_TRUE = @AMDEP_TRUE@
  63963. AMTAR = @AMTAR@
  63964. AR = @AR@
  63965. AS = @AS@
  63966. @@ -69,60 +98,57 @@
  63967. AUTOHEADER = @AUTOHEADER@
  63968. AUTOMAKE = @AUTOMAKE@
  63969. AWK = @AWK@
  63970. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  63971. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  63972. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  63973. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  63974. CC = @CC@
  63975. CCDEPMODE = @CCDEPMODE@
  63976. CFLAGS = @CFLAGS@
  63977. CPP = @CPP@
  63978. CPPFLAGS = @CPPFLAGS@
  63979. -CXX = @CXX@
  63980. -CXXCPP = @CXXCPP@
  63981. -CXXDEPMODE = @CXXDEPMODE@
  63982. -CXXFLAGS = @CXXFLAGS@
  63983. CYGPATH_W = @CYGPATH_W@
  63984. DEFS = @DEFS@
  63985. DEPDIR = @DEPDIR@
  63986. DLLTOOL = @DLLTOOL@
  63987. DSYMUTIL = @DSYMUTIL@
  63988. -ECHO = @ECHO@
  63989. +DUMPBIN = @DUMPBIN@
  63990. ECHO_C = @ECHO_C@
  63991. ECHO_N = @ECHO_N@
  63992. ECHO_T = @ECHO_T@
  63993. EGREP = @EGREP@
  63994. EXEEXT = @EXEEXT@
  63995. -F77 = @F77@
  63996. -FFLAGS = @FFLAGS@
  63997. FFT_CFLAGS = @FFT_CFLAGS@
  63998. FFT_LIBS = @FFT_LIBS@
  63999. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  64000. +FGREP = @FGREP@
  64001. GREP = @GREP@
  64002. +INSTALL = @INSTALL@
  64003. INSTALL_DATA = @INSTALL_DATA@
  64004. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  64005. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  64006. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  64007. +LD = @LD@
  64008. LDFLAGS = @LDFLAGS@
  64009. LIBOBJS = @LIBOBJS@
  64010. LIBS = @LIBS@
  64011. LIBTOOL = @LIBTOOL@
  64012. +LIPO = @LIPO@
  64013. LN_S = @LN_S@
  64014. LTLIBOBJS = @LTLIBOBJS@
  64015. MAINT = @MAINT@
  64016. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  64017. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  64018. MAKEINFO = @MAKEINFO@
  64019. +MKDIR_P = @MKDIR_P@
  64020. +NM = @NM@
  64021. NMEDIT = @NMEDIT@
  64022. OBJDUMP = @OBJDUMP@
  64023. OBJEXT = @OBJEXT@
  64024. OGG_CFLAGS = @OGG_CFLAGS@
  64025. OGG_LIBS = @OGG_LIBS@
  64026. +OTOOL = @OTOOL@
  64027. +OTOOL64 = @OTOOL64@
  64028. PACKAGE = @PACKAGE@
  64029. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  64030. PACKAGE_NAME = @PACKAGE_NAME@
  64031. PACKAGE_STRING = @PACKAGE_STRING@
  64032. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  64033. +PACKAGE_URL = @PACKAGE_URL@
  64034. PACKAGE_VERSION = @PACKAGE_VERSION@
  64035. PATH_SEPARATOR = @PATH_SEPARATOR@
  64036. PKG_CONFIG = @PKG_CONFIG@
  64037. @@ -138,22 +164,24 @@
  64038. SPEEX_VERSION = @SPEEX_VERSION@
  64039. STRIP = @STRIP@
  64040. VERSION = @VERSION@
  64041. +abs_builddir = @abs_builddir@
  64042. +abs_srcdir = @abs_srcdir@
  64043. +abs_top_builddir = @abs_top_builddir@
  64044. +abs_top_srcdir = @abs_top_srcdir@
  64045. ac_ct_CC = @ac_ct_CC@
  64046. -ac_ct_CXX = @ac_ct_CXX@
  64047. -ac_ct_F77 = @ac_ct_F77@
  64048. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  64049. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  64050. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  64051. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  64052. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  64053. am__include = @am__include@
  64054. am__leading_dot = @am__leading_dot@
  64055. am__quote = @am__quote@
  64056. +am__tar = @am__tar@
  64057. +am__untar = @am__untar@
  64058. bindir = @bindir@
  64059. build = @build@
  64060. build_alias = @build_alias@
  64061. build_cpu = @build_cpu@
  64062. build_os = @build_os@
  64063. build_vendor = @build_vendor@
  64064. +builddir = @builddir@
  64065. datadir = @datadir@
  64066. datarootdir = @datarootdir@
  64067. docdir = @docdir@
  64068. @@ -172,6 +200,7 @@
  64069. libexecdir = @libexecdir@
  64070. localedir = @localedir@
  64071. localstatedir = @localstatedir@
  64072. +lt_ECHO = @lt_ECHO@
  64073. mandir = @mandir@
  64074. mkdir_p = @mkdir_p@
  64075. oldincludedir = @oldincludedir@
  64076. @@ -182,8 +211,12 @@
  64077. sbindir = @sbindir@
  64078. sharedstatedir = @sharedstatedir@
  64079. src = @src@
  64080. +srcdir = @srcdir@
  64081. sysconfdir = @sysconfdir@
  64082. target_alias = @target_alias@
  64083. +top_build_prefix = @top_build_prefix@
  64084. +top_builddir = @top_builddir@
  64085. +top_srcdir = @top_srcdir@
  64086. SUBDIRS = speex_C54_test speex_C55_test speex_C64_test
  64087. EXTRA_DIST = config.h testenc-TI-C5x.c os_support_custom.h testenc-TI-C64x.c
  64088. all: all-recursive
  64089. @@ -193,14 +226,14 @@
  64090. @for dep in $?; do \
  64091. case '$(am__configure_deps)' in \
  64092. *$$dep*) \
  64093. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  64094. - && exit 0; \
  64095. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  64096. + && { if test -f $@; then exit 0; else break; fi; }; \
  64097. exit 1;; \
  64098. esac; \
  64099. done; \
  64100. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/Makefile'; \
  64101. - cd $(top_srcdir) && \
  64102. - $(AUTOMAKE) --gnu ti/Makefile
  64103. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/Makefile'; \
  64104. + $(am__cd) $(top_srcdir) && \
  64105. + $(AUTOMAKE) --gnu ti/Makefile
  64106. .PRECIOUS: Makefile
  64107. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  64108. @case '$?' in \
  64109. @@ -218,6 +251,7 @@
  64110. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64111. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  64112. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64113. +$(am__aclocal_m4_deps):
  64114. mostlyclean-libtool:
  64115. -rm -f *.lo
  64116. @@ -225,10 +259,6 @@
  64117. clean-libtool:
  64118. -rm -rf .libs _libs
  64119. -distclean-libtool:
  64120. - -rm -f libtool
  64121. -uninstall-info-am:
  64122. -
  64123. # This directory's subdirectories are mostly independent; you can cd
  64124. # into them and run `make' without going through this Makefile.
  64125. # To change the values of `make' variables: instead of editing Makefiles,
  64126. @@ -236,7 +266,13 @@
  64127. # (which will cause the Makefiles to be regenerated when you run `make');
  64128. # (2) otherwise, pass the desired values on the `make' command line.
  64129. $(RECURSIVE_TARGETS):
  64130. - @set fnord $$MAKEFLAGS; amf=$$2; \
  64131. + @fail= failcom='exit 1'; \
  64132. + for f in x $$MAKEFLAGS; do \
  64133. + case $$f in \
  64134. + *=* | --[!k]*);; \
  64135. + *k*) failcom='fail=yes';; \
  64136. + esac; \
  64137. + done; \
  64138. dot_seen=no; \
  64139. target=`echo $@ | sed s/-recursive//`; \
  64140. list='$(SUBDIRS)'; for subdir in $$list; do \
  64141. @@ -247,16 +283,21 @@
  64142. else \
  64143. local_target="$$target"; \
  64144. fi; \
  64145. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  64146. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  64147. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  64148. + || eval $$failcom; \
  64149. done; \
  64150. if test "$$dot_seen" = "no"; then \
  64151. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  64152. fi; test -z "$$fail"
  64153. -mostlyclean-recursive clean-recursive distclean-recursive \
  64154. -maintainer-clean-recursive:
  64155. - @set fnord $$MAKEFLAGS; amf=$$2; \
  64156. +$(RECURSIVE_CLEAN_TARGETS):
  64157. + @fail= failcom='exit 1'; \
  64158. + for f in x $$MAKEFLAGS; do \
  64159. + case $$f in \
  64160. + *=* | --[!k]*);; \
  64161. + *k*) failcom='fail=yes';; \
  64162. + esac; \
  64163. + done; \
  64164. dot_seen=no; \
  64165. case "$@" in \
  64166. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  64167. @@ -276,16 +317,16 @@
  64168. else \
  64169. local_target="$$target"; \
  64170. fi; \
  64171. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  64172. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  64173. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  64174. + || eval $$failcom; \
  64175. done && test -z "$$fail"
  64176. tags-recursive:
  64177. list='$(SUBDIRS)'; for subdir in $$list; do \
  64178. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  64179. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  64180. done
  64181. ctags-recursive:
  64182. list='$(SUBDIRS)'; for subdir in $$list; do \
  64183. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  64184. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  64185. done
  64186. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  64187. @@ -293,14 +334,14 @@
  64188. unique=`for i in $$list; do \
  64189. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64190. done | \
  64191. - $(AWK) ' { files[$$0] = 1; } \
  64192. - END { for (i in files) print i; }'`; \
  64193. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64194. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  64195. mkid -fID $$unique
  64196. tags: TAGS
  64197. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  64198. $(TAGS_FILES) $(LISP)
  64199. - tags=; \
  64200. + set x; \
  64201. here=`pwd`; \
  64202. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  64203. include_option=--etags-include; \
  64204. @@ -312,79 +353,101 @@
  64205. list='$(SUBDIRS)'; for subdir in $$list; do \
  64206. if test "$$subdir" = .; then :; else \
  64207. test ! -f $$subdir/TAGS || \
  64208. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  64209. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  64210. fi; \
  64211. done; \
  64212. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64213. unique=`for i in $$list; do \
  64214. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64215. done | \
  64216. - $(AWK) ' { files[$$0] = 1; } \
  64217. - END { for (i in files) print i; }'`; \
  64218. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  64219. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64220. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  64221. + shift; \
  64222. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  64223. test -n "$$unique" || unique=$$empty_fix; \
  64224. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  64225. - $$tags $$unique; \
  64226. + if test $$# -gt 0; then \
  64227. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  64228. + "$$@" $$unique; \
  64229. + else \
  64230. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  64231. + $$unique; \
  64232. + fi; \
  64233. fi
  64234. ctags: CTAGS
  64235. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  64236. $(TAGS_FILES) $(LISP)
  64237. - tags=; \
  64238. - here=`pwd`; \
  64239. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  64240. unique=`for i in $$list; do \
  64241. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  64242. done | \
  64243. - $(AWK) ' { files[$$0] = 1; } \
  64244. - END { for (i in files) print i; }'`; \
  64245. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  64246. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  64247. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  64248. + test -z "$(CTAGS_ARGS)$$unique" \
  64249. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  64250. - $$tags $$unique
  64251. + $$unique
  64252. GTAGS:
  64253. here=`$(am__cd) $(top_builddir) && pwd` \
  64254. - && cd $(top_srcdir) \
  64255. - && gtags -i $(GTAGS_ARGS) $$here
  64256. + && $(am__cd) $(top_srcdir) \
  64257. + && gtags -i $(GTAGS_ARGS) "$$here"
  64258. distclean-tags:
  64259. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  64260. distdir: $(DISTFILES)
  64261. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  64262. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  64263. - list='$(DISTFILES)'; for file in $$list; do \
  64264. - case $$file in \
  64265. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  64266. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  64267. - esac; \
  64268. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64269. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64270. + list='$(DISTFILES)'; \
  64271. + dist_files=`for file in $$list; do echo $$file; done | \
  64272. + sed -e "s|^$$srcdirstrip/||;t" \
  64273. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  64274. + case $$dist_files in \
  64275. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  64276. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  64277. + sort -u` ;; \
  64278. + esac; \
  64279. + for file in $$dist_files; do \
  64280. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  64281. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  64282. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  64283. - dir="/$$dir"; \
  64284. - $(mkdir_p) "$(distdir)$$dir"; \
  64285. - else \
  64286. - dir=''; \
  64287. - fi; \
  64288. if test -d $$d/$$file; then \
  64289. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  64290. + if test -d "$(distdir)/$$file"; then \
  64291. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  64292. + fi; \
  64293. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  64294. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  64295. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  64296. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  64297. fi; \
  64298. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  64299. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  64300. else \
  64301. - test -f $(distdir)/$$file \
  64302. - || cp -p $$d/$$file $(distdir)/$$file \
  64303. + test -f "$(distdir)/$$file" \
  64304. + || cp -p $$d/$$file "$(distdir)/$$file" \
  64305. || exit 1; \
  64306. fi; \
  64307. done
  64308. - list='$(SUBDIRS)'; for subdir in $$list; do \
  64309. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  64310. if test "$$subdir" = .; then :; else \
  64311. test -d "$(distdir)/$$subdir" \
  64312. - || mkdir "$(distdir)/$$subdir" \
  64313. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  64314. || exit 1; \
  64315. - (cd $$subdir && \
  64316. + fi; \
  64317. + done
  64318. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  64319. + if test "$$subdir" = .; then :; else \
  64320. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  64321. + $(am__relativize); \
  64322. + new_distdir=$$reldir; \
  64323. + dir1=$$subdir; dir2="$(top_distdir)"; \
  64324. + $(am__relativize); \
  64325. + new_top_distdir=$$reldir; \
  64326. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  64327. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  64328. + ($(am__cd) $$subdir && \
  64329. $(MAKE) $(AM_MAKEFLAGS) \
  64330. - top_distdir="../$(top_distdir)" \
  64331. - distdir="../$(distdir)/$$subdir" \
  64332. + top_distdir="$$new_top_distdir" \
  64333. + distdir="$$new_distdir" \
  64334. + am__remove_distdir=: \
  64335. + am__skip_length_check=: \
  64336. + am__skip_mode_fix=: \
  64337. distdir) \
  64338. || exit 1; \
  64339. fi; \
  64340. @@ -413,7 +476,8 @@
  64341. clean-generic:
  64342. distclean-generic:
  64343. - -rm -f $(CONFIG_CLEAN_FILES)
  64344. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  64345. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  64346. maintainer-clean-generic:
  64347. @echo "This command is intended for maintainers to use"
  64348. @@ -424,8 +488,7 @@
  64349. distclean: distclean-recursive
  64350. -rm -f Makefile
  64351. -distclean-am: clean-am distclean-generic distclean-libtool \
  64352. - distclean-tags
  64353. +distclean-am: clean-am distclean-generic distclean-tags
  64354. dvi: dvi-recursive
  64355. @@ -433,18 +496,38 @@
  64356. html: html-recursive
  64357. +html-am:
  64358. +
  64359. info: info-recursive
  64360. info-am:
  64361. install-data-am:
  64362. +install-dvi: install-dvi-recursive
  64363. +
  64364. +install-dvi-am:
  64365. +
  64366. install-exec-am:
  64367. +install-html: install-html-recursive
  64368. +
  64369. +install-html-am:
  64370. +
  64371. install-info: install-info-recursive
  64372. +install-info-am:
  64373. +
  64374. install-man:
  64375. +install-pdf: install-pdf-recursive
  64376. +
  64377. +install-pdf-am:
  64378. +
  64379. +install-ps: install-ps-recursive
  64380. +
  64381. +install-ps-am:
  64382. +
  64383. installcheck-am:
  64384. maintainer-clean: maintainer-clean-recursive
  64385. @@ -463,22 +546,25 @@
  64386. ps-am:
  64387. -uninstall-am: uninstall-info-am
  64388. +uninstall-am:
  64389. -uninstall-info: uninstall-info-recursive
  64390. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  64391. + install-am install-strip tags-recursive
  64392. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  64393. - clean clean-generic clean-libtool clean-recursive ctags \
  64394. - ctags-recursive distclean distclean-generic distclean-libtool \
  64395. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  64396. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  64397. + all all-am check check-am clean clean-generic clean-libtool \
  64398. + ctags ctags-recursive distclean distclean-generic \
  64399. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  64400. html-am info info-am install install-am install-data \
  64401. - install-data-am install-exec install-exec-am install-info \
  64402. - install-info-am install-man install-strip installcheck \
  64403. + install-data-am install-dvi install-dvi-am install-exec \
  64404. + install-exec-am install-html install-html-am install-info \
  64405. + install-info-am install-man install-pdf install-pdf-am \
  64406. + install-ps install-ps-am install-strip installcheck \
  64407. installcheck-am installdirs installdirs-am maintainer-clean \
  64408. - maintainer-clean-generic maintainer-clean-recursive \
  64409. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  64410. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  64411. - uninstall uninstall-am uninstall-info-am
  64412. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  64413. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  64414. + uninstall uninstall-am
  64415. +
  64416. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  64417. # Otherwise a system limit (for SysV at least) may be exceeded.
  64418. diff -Nur speex-1.2rc1.orig/ti/speex_C54_test/Makefile.in speex-1.2rc1/ti/speex_C54_test/Makefile.in
  64419. --- speex-1.2rc1.orig/ti/speex_C54_test/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  64420. +++ speex-1.2rc1/ti/speex_C54_test/Makefile.in 2011-02-20 22:00:58.044804454 +0100
  64421. @@ -1,8 +1,9 @@
  64422. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  64423. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  64424. # @configure_input@
  64425. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  64426. -# 2003, 2004 Free Software Foundation, Inc.
  64427. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  64428. +# Inc.
  64429. # This Makefile.in is free software; the Free Software Foundation
  64430. # gives unlimited permission to copy and/or distribute it,
  64431. # with or without modifications, as long as this notice is preserved.
  64432. @@ -16,15 +17,12 @@
  64433. # Disable automatic dependency tracking if using other tools than gcc and gmake
  64434. #AUTOMAKE_OPTIONS = no-dependencies
  64435. -srcdir = @srcdir@
  64436. -top_srcdir = @top_srcdir@
  64437. VPATH = @srcdir@
  64438. pkgdatadir = $(datadir)/@PACKAGE@
  64439. -pkglibdir = $(libdir)/@PACKAGE@
  64440. pkgincludedir = $(includedir)/@PACKAGE@
  64441. -top_builddir = ../..
  64442. +pkglibdir = $(libdir)/@PACKAGE@
  64443. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  64444. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  64445. -INSTALL = @INSTALL@
  64446. install_sh_DATA = $(install_sh) -c -m 644
  64447. install_sh_PROGRAM = $(install_sh) -c
  64448. install_sh_SCRIPT = $(install_sh) -c
  64449. @@ -36,6 +34,7 @@
  64450. NORMAL_UNINSTALL = :
  64451. PRE_UNINSTALL = :
  64452. POST_UNINSTALL = :
  64453. +build_triplet = @build@
  64454. host_triplet = @host@
  64455. subdir = ti/speex_C54_test
  64456. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  64457. @@ -44,15 +43,14 @@
  64458. $(top_srcdir)/configure.ac
  64459. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  64460. $(ACLOCAL_M4)
  64461. -mkinstalldirs = $(mkdir_p)
  64462. +mkinstalldirs = $(install_sh) -d
  64463. CONFIG_HEADER = $(top_builddir)/config.h
  64464. CONFIG_CLEAN_FILES =
  64465. +CONFIG_CLEAN_VPATH_FILES =
  64466. SOURCES =
  64467. DIST_SOURCES =
  64468. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  64469. ACLOCAL = @ACLOCAL@
  64470. -AMDEP_FALSE = @AMDEP_FALSE@
  64471. -AMDEP_TRUE = @AMDEP_TRUE@
  64472. AMTAR = @AMTAR@
  64473. AR = @AR@
  64474. AS = @AS@
  64475. @@ -60,60 +58,57 @@
  64476. AUTOHEADER = @AUTOHEADER@
  64477. AUTOMAKE = @AUTOMAKE@
  64478. AWK = @AWK@
  64479. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  64480. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  64481. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  64482. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  64483. CC = @CC@
  64484. CCDEPMODE = @CCDEPMODE@
  64485. CFLAGS = @CFLAGS@
  64486. CPP = @CPP@
  64487. CPPFLAGS = @CPPFLAGS@
  64488. -CXX = @CXX@
  64489. -CXXCPP = @CXXCPP@
  64490. -CXXDEPMODE = @CXXDEPMODE@
  64491. -CXXFLAGS = @CXXFLAGS@
  64492. CYGPATH_W = @CYGPATH_W@
  64493. DEFS = @DEFS@
  64494. DEPDIR = @DEPDIR@
  64495. DLLTOOL = @DLLTOOL@
  64496. DSYMUTIL = @DSYMUTIL@
  64497. -ECHO = @ECHO@
  64498. +DUMPBIN = @DUMPBIN@
  64499. ECHO_C = @ECHO_C@
  64500. ECHO_N = @ECHO_N@
  64501. ECHO_T = @ECHO_T@
  64502. EGREP = @EGREP@
  64503. EXEEXT = @EXEEXT@
  64504. -F77 = @F77@
  64505. -FFLAGS = @FFLAGS@
  64506. FFT_CFLAGS = @FFT_CFLAGS@
  64507. FFT_LIBS = @FFT_LIBS@
  64508. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  64509. +FGREP = @FGREP@
  64510. GREP = @GREP@
  64511. +INSTALL = @INSTALL@
  64512. INSTALL_DATA = @INSTALL_DATA@
  64513. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  64514. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  64515. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  64516. +LD = @LD@
  64517. LDFLAGS = @LDFLAGS@
  64518. LIBOBJS = @LIBOBJS@
  64519. LIBS = @LIBS@
  64520. LIBTOOL = @LIBTOOL@
  64521. +LIPO = @LIPO@
  64522. LN_S = @LN_S@
  64523. LTLIBOBJS = @LTLIBOBJS@
  64524. MAINT = @MAINT@
  64525. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  64526. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  64527. MAKEINFO = @MAKEINFO@
  64528. +MKDIR_P = @MKDIR_P@
  64529. +NM = @NM@
  64530. NMEDIT = @NMEDIT@
  64531. OBJDUMP = @OBJDUMP@
  64532. OBJEXT = @OBJEXT@
  64533. OGG_CFLAGS = @OGG_CFLAGS@
  64534. OGG_LIBS = @OGG_LIBS@
  64535. +OTOOL = @OTOOL@
  64536. +OTOOL64 = @OTOOL64@
  64537. PACKAGE = @PACKAGE@
  64538. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  64539. PACKAGE_NAME = @PACKAGE_NAME@
  64540. PACKAGE_STRING = @PACKAGE_STRING@
  64541. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  64542. +PACKAGE_URL = @PACKAGE_URL@
  64543. PACKAGE_VERSION = @PACKAGE_VERSION@
  64544. PATH_SEPARATOR = @PATH_SEPARATOR@
  64545. PKG_CONFIG = @PKG_CONFIG@
  64546. @@ -129,22 +124,24 @@
  64547. SPEEX_VERSION = @SPEEX_VERSION@
  64548. STRIP = @STRIP@
  64549. VERSION = @VERSION@
  64550. +abs_builddir = @abs_builddir@
  64551. +abs_srcdir = @abs_srcdir@
  64552. +abs_top_builddir = @abs_top_builddir@
  64553. +abs_top_srcdir = @abs_top_srcdir@
  64554. ac_ct_CC = @ac_ct_CC@
  64555. -ac_ct_CXX = @ac_ct_CXX@
  64556. -ac_ct_F77 = @ac_ct_F77@
  64557. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  64558. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  64559. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  64560. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  64561. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  64562. am__include = @am__include@
  64563. am__leading_dot = @am__leading_dot@
  64564. am__quote = @am__quote@
  64565. +am__tar = @am__tar@
  64566. +am__untar = @am__untar@
  64567. bindir = @bindir@
  64568. build = @build@
  64569. build_alias = @build_alias@
  64570. build_cpu = @build_cpu@
  64571. build_os = @build_os@
  64572. build_vendor = @build_vendor@
  64573. +builddir = @builddir@
  64574. datadir = @datadir@
  64575. datarootdir = @datarootdir@
  64576. docdir = @docdir@
  64577. @@ -163,6 +160,7 @@
  64578. libexecdir = @libexecdir@
  64579. localedir = @localedir@
  64580. localstatedir = @localstatedir@
  64581. +lt_ECHO = @lt_ECHO@
  64582. mandir = @mandir@
  64583. mkdir_p = @mkdir_p@
  64584. oldincludedir = @oldincludedir@
  64585. @@ -173,8 +171,12 @@
  64586. sbindir = @sbindir@
  64587. sharedstatedir = @sharedstatedir@
  64588. src = @src@
  64589. +srcdir = @srcdir@
  64590. sysconfdir = @sysconfdir@
  64591. target_alias = @target_alias@
  64592. +top_build_prefix = @top_build_prefix@
  64593. +top_builddir = @top_builddir@
  64594. +top_srcdir = @top_srcdir@
  64595. EXTRA_DIST = speex_C54_test.cmd speex_C54_test.pjt
  64596. all: all-am
  64597. @@ -183,14 +185,14 @@
  64598. @for dep in $?; do \
  64599. case '$(am__configure_deps)' in \
  64600. *$$dep*) \
  64601. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  64602. - && exit 0; \
  64603. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  64604. + && { if test -f $@; then exit 0; else break; fi; }; \
  64605. exit 1;; \
  64606. esac; \
  64607. done; \
  64608. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/speex_C54_test/Makefile'; \
  64609. - cd $(top_srcdir) && \
  64610. - $(AUTOMAKE) --gnu ti/speex_C54_test/Makefile
  64611. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/speex_C54_test/Makefile'; \
  64612. + $(am__cd) $(top_srcdir) && \
  64613. + $(AUTOMAKE) --gnu ti/speex_C54_test/Makefile
  64614. .PRECIOUS: Makefile
  64615. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  64616. @case '$?' in \
  64617. @@ -208,16 +210,13 @@
  64618. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64619. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  64620. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64621. +$(am__aclocal_m4_deps):
  64622. mostlyclean-libtool:
  64623. -rm -f *.lo
  64624. clean-libtool:
  64625. -rm -rf .libs _libs
  64626. -
  64627. -distclean-libtool:
  64628. - -rm -f libtool
  64629. -uninstall-info-am:
  64630. tags: TAGS
  64631. TAGS:
  64632. @@ -226,29 +225,32 @@
  64633. distdir: $(DISTFILES)
  64634. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  64635. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  64636. - list='$(DISTFILES)'; for file in $$list; do \
  64637. - case $$file in \
  64638. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  64639. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  64640. - esac; \
  64641. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64642. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64643. + list='$(DISTFILES)'; \
  64644. + dist_files=`for file in $$list; do echo $$file; done | \
  64645. + sed -e "s|^$$srcdirstrip/||;t" \
  64646. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  64647. + case $$dist_files in \
  64648. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  64649. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  64650. + sort -u` ;; \
  64651. + esac; \
  64652. + for file in $$dist_files; do \
  64653. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  64654. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  64655. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  64656. - dir="/$$dir"; \
  64657. - $(mkdir_p) "$(distdir)$$dir"; \
  64658. - else \
  64659. - dir=''; \
  64660. - fi; \
  64661. if test -d $$d/$$file; then \
  64662. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  64663. + if test -d "$(distdir)/$$file"; then \
  64664. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  64665. + fi; \
  64666. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  64667. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  64668. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  64669. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  64670. fi; \
  64671. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  64672. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  64673. else \
  64674. - test -f $(distdir)/$$file \
  64675. - || cp -p $$d/$$file $(distdir)/$$file \
  64676. + test -f "$(distdir)/$$file" \
  64677. + || cp -p $$d/$$file "$(distdir)/$$file" \
  64678. || exit 1; \
  64679. fi; \
  64680. done
  64681. @@ -275,7 +277,8 @@
  64682. clean-generic:
  64683. distclean-generic:
  64684. - -rm -f $(CONFIG_CLEAN_FILES)
  64685. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  64686. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  64687. maintainer-clean-generic:
  64688. @echo "This command is intended for maintainers to use"
  64689. @@ -286,7 +289,7 @@
  64690. distclean: distclean-am
  64691. -rm -f Makefile
  64692. -distclean-am: clean-am distclean-generic distclean-libtool
  64693. +distclean-am: clean-am distclean-generic
  64694. dvi: dvi-am
  64695. @@ -294,18 +297,38 @@
  64696. html: html-am
  64697. +html-am:
  64698. +
  64699. info: info-am
  64700. info-am:
  64701. install-data-am:
  64702. +install-dvi: install-dvi-am
  64703. +
  64704. +install-dvi-am:
  64705. +
  64706. install-exec-am:
  64707. +install-html: install-html-am
  64708. +
  64709. +install-html-am:
  64710. +
  64711. install-info: install-info-am
  64712. +install-info-am:
  64713. +
  64714. install-man:
  64715. +install-pdf: install-pdf-am
  64716. +
  64717. +install-pdf-am:
  64718. +
  64719. +install-ps: install-ps-am
  64720. +
  64721. +install-ps-am:
  64722. +
  64723. installcheck-am:
  64724. maintainer-clean: maintainer-clean-am
  64725. @@ -324,17 +347,21 @@
  64726. ps-am:
  64727. -uninstall-am: uninstall-info-am
  64728. +uninstall-am:
  64729. +
  64730. +.MAKE: install-am install-strip
  64731. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  64732. distclean distclean-generic distclean-libtool distdir dvi \
  64733. dvi-am html html-am info info-am install install-am \
  64734. - install-data install-data-am install-exec install-exec-am \
  64735. - install-info install-info-am install-man install-strip \
  64736. + install-data install-data-am install-dvi install-dvi-am \
  64737. + install-exec install-exec-am install-html install-html-am \
  64738. + install-info install-info-am install-man install-pdf \
  64739. + install-pdf-am install-ps install-ps-am install-strip \
  64740. installcheck installcheck-am installdirs maintainer-clean \
  64741. maintainer-clean-generic mostlyclean mostlyclean-generic \
  64742. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  64743. - uninstall-info-am
  64744. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  64745. +
  64746. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  64747. # Otherwise a system limit (for SysV at least) may be exceeded.
  64748. diff -Nur speex-1.2rc1.orig/ti/speex_C55_test/Makefile.in speex-1.2rc1/ti/speex_C55_test/Makefile.in
  64749. --- speex-1.2rc1.orig/ti/speex_C55_test/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  64750. +++ speex-1.2rc1/ti/speex_C55_test/Makefile.in 2011-02-20 22:00:58.074704299 +0100
  64751. @@ -1,8 +1,9 @@
  64752. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  64753. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  64754. # @configure_input@
  64755. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  64756. -# 2003, 2004 Free Software Foundation, Inc.
  64757. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  64758. +# Inc.
  64759. # This Makefile.in is free software; the Free Software Foundation
  64760. # gives unlimited permission to copy and/or distribute it,
  64761. # with or without modifications, as long as this notice is preserved.
  64762. @@ -16,15 +17,12 @@
  64763. # Disable automatic dependency tracking if using other tools than gcc and gmake
  64764. #AUTOMAKE_OPTIONS = no-dependencies
  64765. -srcdir = @srcdir@
  64766. -top_srcdir = @top_srcdir@
  64767. VPATH = @srcdir@
  64768. pkgdatadir = $(datadir)/@PACKAGE@
  64769. -pkglibdir = $(libdir)/@PACKAGE@
  64770. pkgincludedir = $(includedir)/@PACKAGE@
  64771. -top_builddir = ../..
  64772. +pkglibdir = $(libdir)/@PACKAGE@
  64773. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  64774. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  64775. -INSTALL = @INSTALL@
  64776. install_sh_DATA = $(install_sh) -c -m 644
  64777. install_sh_PROGRAM = $(install_sh) -c
  64778. install_sh_SCRIPT = $(install_sh) -c
  64779. @@ -36,6 +34,7 @@
  64780. NORMAL_UNINSTALL = :
  64781. PRE_UNINSTALL = :
  64782. POST_UNINSTALL = :
  64783. +build_triplet = @build@
  64784. host_triplet = @host@
  64785. subdir = ti/speex_C55_test
  64786. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  64787. @@ -44,15 +43,14 @@
  64788. $(top_srcdir)/configure.ac
  64789. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  64790. $(ACLOCAL_M4)
  64791. -mkinstalldirs = $(mkdir_p)
  64792. +mkinstalldirs = $(install_sh) -d
  64793. CONFIG_HEADER = $(top_builddir)/config.h
  64794. CONFIG_CLEAN_FILES =
  64795. +CONFIG_CLEAN_VPATH_FILES =
  64796. SOURCES =
  64797. DIST_SOURCES =
  64798. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  64799. ACLOCAL = @ACLOCAL@
  64800. -AMDEP_FALSE = @AMDEP_FALSE@
  64801. -AMDEP_TRUE = @AMDEP_TRUE@
  64802. AMTAR = @AMTAR@
  64803. AR = @AR@
  64804. AS = @AS@
  64805. @@ -60,60 +58,57 @@
  64806. AUTOHEADER = @AUTOHEADER@
  64807. AUTOMAKE = @AUTOMAKE@
  64808. AWK = @AWK@
  64809. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  64810. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  64811. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  64812. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  64813. CC = @CC@
  64814. CCDEPMODE = @CCDEPMODE@
  64815. CFLAGS = @CFLAGS@
  64816. CPP = @CPP@
  64817. CPPFLAGS = @CPPFLAGS@
  64818. -CXX = @CXX@
  64819. -CXXCPP = @CXXCPP@
  64820. -CXXDEPMODE = @CXXDEPMODE@
  64821. -CXXFLAGS = @CXXFLAGS@
  64822. CYGPATH_W = @CYGPATH_W@
  64823. DEFS = @DEFS@
  64824. DEPDIR = @DEPDIR@
  64825. DLLTOOL = @DLLTOOL@
  64826. DSYMUTIL = @DSYMUTIL@
  64827. -ECHO = @ECHO@
  64828. +DUMPBIN = @DUMPBIN@
  64829. ECHO_C = @ECHO_C@
  64830. ECHO_N = @ECHO_N@
  64831. ECHO_T = @ECHO_T@
  64832. EGREP = @EGREP@
  64833. EXEEXT = @EXEEXT@
  64834. -F77 = @F77@
  64835. -FFLAGS = @FFLAGS@
  64836. FFT_CFLAGS = @FFT_CFLAGS@
  64837. FFT_LIBS = @FFT_LIBS@
  64838. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  64839. +FGREP = @FGREP@
  64840. GREP = @GREP@
  64841. +INSTALL = @INSTALL@
  64842. INSTALL_DATA = @INSTALL_DATA@
  64843. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  64844. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  64845. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  64846. +LD = @LD@
  64847. LDFLAGS = @LDFLAGS@
  64848. LIBOBJS = @LIBOBJS@
  64849. LIBS = @LIBS@
  64850. LIBTOOL = @LIBTOOL@
  64851. +LIPO = @LIPO@
  64852. LN_S = @LN_S@
  64853. LTLIBOBJS = @LTLIBOBJS@
  64854. MAINT = @MAINT@
  64855. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  64856. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  64857. MAKEINFO = @MAKEINFO@
  64858. +MKDIR_P = @MKDIR_P@
  64859. +NM = @NM@
  64860. NMEDIT = @NMEDIT@
  64861. OBJDUMP = @OBJDUMP@
  64862. OBJEXT = @OBJEXT@
  64863. OGG_CFLAGS = @OGG_CFLAGS@
  64864. OGG_LIBS = @OGG_LIBS@
  64865. +OTOOL = @OTOOL@
  64866. +OTOOL64 = @OTOOL64@
  64867. PACKAGE = @PACKAGE@
  64868. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  64869. PACKAGE_NAME = @PACKAGE_NAME@
  64870. PACKAGE_STRING = @PACKAGE_STRING@
  64871. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  64872. +PACKAGE_URL = @PACKAGE_URL@
  64873. PACKAGE_VERSION = @PACKAGE_VERSION@
  64874. PATH_SEPARATOR = @PATH_SEPARATOR@
  64875. PKG_CONFIG = @PKG_CONFIG@
  64876. @@ -129,22 +124,24 @@
  64877. SPEEX_VERSION = @SPEEX_VERSION@
  64878. STRIP = @STRIP@
  64879. VERSION = @VERSION@
  64880. +abs_builddir = @abs_builddir@
  64881. +abs_srcdir = @abs_srcdir@
  64882. +abs_top_builddir = @abs_top_builddir@
  64883. +abs_top_srcdir = @abs_top_srcdir@
  64884. ac_ct_CC = @ac_ct_CC@
  64885. -ac_ct_CXX = @ac_ct_CXX@
  64886. -ac_ct_F77 = @ac_ct_F77@
  64887. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  64888. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  64889. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  64890. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  64891. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  64892. am__include = @am__include@
  64893. am__leading_dot = @am__leading_dot@
  64894. am__quote = @am__quote@
  64895. +am__tar = @am__tar@
  64896. +am__untar = @am__untar@
  64897. bindir = @bindir@
  64898. build = @build@
  64899. build_alias = @build_alias@
  64900. build_cpu = @build_cpu@
  64901. build_os = @build_os@
  64902. build_vendor = @build_vendor@
  64903. +builddir = @builddir@
  64904. datadir = @datadir@
  64905. datarootdir = @datarootdir@
  64906. docdir = @docdir@
  64907. @@ -163,6 +160,7 @@
  64908. libexecdir = @libexecdir@
  64909. localedir = @localedir@
  64910. localstatedir = @localstatedir@
  64911. +lt_ECHO = @lt_ECHO@
  64912. mandir = @mandir@
  64913. mkdir_p = @mkdir_p@
  64914. oldincludedir = @oldincludedir@
  64915. @@ -173,8 +171,12 @@
  64916. sbindir = @sbindir@
  64917. sharedstatedir = @sharedstatedir@
  64918. src = @src@
  64919. +srcdir = @srcdir@
  64920. sysconfdir = @sysconfdir@
  64921. target_alias = @target_alias@
  64922. +top_build_prefix = @top_build_prefix@
  64923. +top_builddir = @top_builddir@
  64924. +top_srcdir = @top_srcdir@
  64925. EXTRA_DIST = speex_C55_test.cmd speex_C55_test.pjt
  64926. all: all-am
  64927. @@ -183,14 +185,14 @@
  64928. @for dep in $?; do \
  64929. case '$(am__configure_deps)' in \
  64930. *$$dep*) \
  64931. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  64932. - && exit 0; \
  64933. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  64934. + && { if test -f $@; then exit 0; else break; fi; }; \
  64935. exit 1;; \
  64936. esac; \
  64937. done; \
  64938. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/speex_C55_test/Makefile'; \
  64939. - cd $(top_srcdir) && \
  64940. - $(AUTOMAKE) --gnu ti/speex_C55_test/Makefile
  64941. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/speex_C55_test/Makefile'; \
  64942. + $(am__cd) $(top_srcdir) && \
  64943. + $(AUTOMAKE) --gnu ti/speex_C55_test/Makefile
  64944. .PRECIOUS: Makefile
  64945. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  64946. @case '$?' in \
  64947. @@ -208,16 +210,13 @@
  64948. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64949. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  64950. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  64951. +$(am__aclocal_m4_deps):
  64952. mostlyclean-libtool:
  64953. -rm -f *.lo
  64954. clean-libtool:
  64955. -rm -rf .libs _libs
  64956. -
  64957. -distclean-libtool:
  64958. - -rm -f libtool
  64959. -uninstall-info-am:
  64960. tags: TAGS
  64961. TAGS:
  64962. @@ -226,29 +225,32 @@
  64963. distdir: $(DISTFILES)
  64964. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  64965. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  64966. - list='$(DISTFILES)'; for file in $$list; do \
  64967. - case $$file in \
  64968. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  64969. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  64970. - esac; \
  64971. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64972. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  64973. + list='$(DISTFILES)'; \
  64974. + dist_files=`for file in $$list; do echo $$file; done | \
  64975. + sed -e "s|^$$srcdirstrip/||;t" \
  64976. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  64977. + case $$dist_files in \
  64978. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  64979. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  64980. + sort -u` ;; \
  64981. + esac; \
  64982. + for file in $$dist_files; do \
  64983. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  64984. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  64985. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  64986. - dir="/$$dir"; \
  64987. - $(mkdir_p) "$(distdir)$$dir"; \
  64988. - else \
  64989. - dir=''; \
  64990. - fi; \
  64991. if test -d $$d/$$file; then \
  64992. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  64993. + if test -d "$(distdir)/$$file"; then \
  64994. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  64995. + fi; \
  64996. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  64997. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  64998. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  64999. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  65000. fi; \
  65001. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  65002. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  65003. else \
  65004. - test -f $(distdir)/$$file \
  65005. - || cp -p $$d/$$file $(distdir)/$$file \
  65006. + test -f "$(distdir)/$$file" \
  65007. + || cp -p $$d/$$file "$(distdir)/$$file" \
  65008. || exit 1; \
  65009. fi; \
  65010. done
  65011. @@ -275,7 +277,8 @@
  65012. clean-generic:
  65013. distclean-generic:
  65014. - -rm -f $(CONFIG_CLEAN_FILES)
  65015. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  65016. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  65017. maintainer-clean-generic:
  65018. @echo "This command is intended for maintainers to use"
  65019. @@ -286,7 +289,7 @@
  65020. distclean: distclean-am
  65021. -rm -f Makefile
  65022. -distclean-am: clean-am distclean-generic distclean-libtool
  65023. +distclean-am: clean-am distclean-generic
  65024. dvi: dvi-am
  65025. @@ -294,18 +297,38 @@
  65026. html: html-am
  65027. +html-am:
  65028. +
  65029. info: info-am
  65030. info-am:
  65031. install-data-am:
  65032. +install-dvi: install-dvi-am
  65033. +
  65034. +install-dvi-am:
  65035. +
  65036. install-exec-am:
  65037. +install-html: install-html-am
  65038. +
  65039. +install-html-am:
  65040. +
  65041. install-info: install-info-am
  65042. +install-info-am:
  65043. +
  65044. install-man:
  65045. +install-pdf: install-pdf-am
  65046. +
  65047. +install-pdf-am:
  65048. +
  65049. +install-ps: install-ps-am
  65050. +
  65051. +install-ps-am:
  65052. +
  65053. installcheck-am:
  65054. maintainer-clean: maintainer-clean-am
  65055. @@ -324,17 +347,21 @@
  65056. ps-am:
  65057. -uninstall-am: uninstall-info-am
  65058. +uninstall-am:
  65059. +
  65060. +.MAKE: install-am install-strip
  65061. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  65062. distclean distclean-generic distclean-libtool distdir dvi \
  65063. dvi-am html html-am info info-am install install-am \
  65064. - install-data install-data-am install-exec install-exec-am \
  65065. - install-info install-info-am install-man install-strip \
  65066. + install-data install-data-am install-dvi install-dvi-am \
  65067. + install-exec install-exec-am install-html install-html-am \
  65068. + install-info install-info-am install-man install-pdf \
  65069. + install-pdf-am install-ps install-ps-am install-strip \
  65070. installcheck installcheck-am installdirs maintainer-clean \
  65071. maintainer-clean-generic mostlyclean mostlyclean-generic \
  65072. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  65073. - uninstall-info-am
  65074. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  65075. +
  65076. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  65077. # Otherwise a system limit (for SysV at least) may be exceeded.
  65078. diff -Nur speex-1.2rc1.orig/ti/speex_C64_test/Makefile.in speex-1.2rc1/ti/speex_C64_test/Makefile.in
  65079. --- speex-1.2rc1.orig/ti/speex_C64_test/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  65080. +++ speex-1.2rc1/ti/speex_C64_test/Makefile.in 2011-02-20 22:00:58.104802497 +0100
  65081. @@ -1,8 +1,9 @@
  65082. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  65083. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  65084. # @configure_input@
  65085. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  65086. -# 2003, 2004 Free Software Foundation, Inc.
  65087. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  65088. +# Inc.
  65089. # This Makefile.in is free software; the Free Software Foundation
  65090. # gives unlimited permission to copy and/or distribute it,
  65091. # with or without modifications, as long as this notice is preserved.
  65092. @@ -16,15 +17,12 @@
  65093. # Disable automatic dependency tracking if using other tools than gcc and gmake
  65094. #AUTOMAKE_OPTIONS = no-dependencies
  65095. -srcdir = @srcdir@
  65096. -top_srcdir = @top_srcdir@
  65097. VPATH = @srcdir@
  65098. pkgdatadir = $(datadir)/@PACKAGE@
  65099. -pkglibdir = $(libdir)/@PACKAGE@
  65100. pkgincludedir = $(includedir)/@PACKAGE@
  65101. -top_builddir = ../..
  65102. +pkglibdir = $(libdir)/@PACKAGE@
  65103. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  65104. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  65105. -INSTALL = @INSTALL@
  65106. install_sh_DATA = $(install_sh) -c -m 644
  65107. install_sh_PROGRAM = $(install_sh) -c
  65108. install_sh_SCRIPT = $(install_sh) -c
  65109. @@ -36,6 +34,7 @@
  65110. NORMAL_UNINSTALL = :
  65111. PRE_UNINSTALL = :
  65112. POST_UNINSTALL = :
  65113. +build_triplet = @build@
  65114. host_triplet = @host@
  65115. subdir = ti/speex_C64_test
  65116. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  65117. @@ -44,15 +43,14 @@
  65118. $(top_srcdir)/configure.ac
  65119. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  65120. $(ACLOCAL_M4)
  65121. -mkinstalldirs = $(mkdir_p)
  65122. +mkinstalldirs = $(install_sh) -d
  65123. CONFIG_HEADER = $(top_builddir)/config.h
  65124. CONFIG_CLEAN_FILES =
  65125. +CONFIG_CLEAN_VPATH_FILES =
  65126. SOURCES =
  65127. DIST_SOURCES =
  65128. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  65129. ACLOCAL = @ACLOCAL@
  65130. -AMDEP_FALSE = @AMDEP_FALSE@
  65131. -AMDEP_TRUE = @AMDEP_TRUE@
  65132. AMTAR = @AMTAR@
  65133. AR = @AR@
  65134. AS = @AS@
  65135. @@ -60,60 +58,57 @@
  65136. AUTOHEADER = @AUTOHEADER@
  65137. AUTOMAKE = @AUTOMAKE@
  65138. AWK = @AWK@
  65139. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  65140. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  65141. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  65142. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  65143. CC = @CC@
  65144. CCDEPMODE = @CCDEPMODE@
  65145. CFLAGS = @CFLAGS@
  65146. CPP = @CPP@
  65147. CPPFLAGS = @CPPFLAGS@
  65148. -CXX = @CXX@
  65149. -CXXCPP = @CXXCPP@
  65150. -CXXDEPMODE = @CXXDEPMODE@
  65151. -CXXFLAGS = @CXXFLAGS@
  65152. CYGPATH_W = @CYGPATH_W@
  65153. DEFS = @DEFS@
  65154. DEPDIR = @DEPDIR@
  65155. DLLTOOL = @DLLTOOL@
  65156. DSYMUTIL = @DSYMUTIL@
  65157. -ECHO = @ECHO@
  65158. +DUMPBIN = @DUMPBIN@
  65159. ECHO_C = @ECHO_C@
  65160. ECHO_N = @ECHO_N@
  65161. ECHO_T = @ECHO_T@
  65162. EGREP = @EGREP@
  65163. EXEEXT = @EXEEXT@
  65164. -F77 = @F77@
  65165. -FFLAGS = @FFLAGS@
  65166. FFT_CFLAGS = @FFT_CFLAGS@
  65167. FFT_LIBS = @FFT_LIBS@
  65168. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  65169. +FGREP = @FGREP@
  65170. GREP = @GREP@
  65171. +INSTALL = @INSTALL@
  65172. INSTALL_DATA = @INSTALL_DATA@
  65173. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  65174. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  65175. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  65176. +LD = @LD@
  65177. LDFLAGS = @LDFLAGS@
  65178. LIBOBJS = @LIBOBJS@
  65179. LIBS = @LIBS@
  65180. LIBTOOL = @LIBTOOL@
  65181. +LIPO = @LIPO@
  65182. LN_S = @LN_S@
  65183. LTLIBOBJS = @LTLIBOBJS@
  65184. MAINT = @MAINT@
  65185. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  65186. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  65187. MAKEINFO = @MAKEINFO@
  65188. +MKDIR_P = @MKDIR_P@
  65189. +NM = @NM@
  65190. NMEDIT = @NMEDIT@
  65191. OBJDUMP = @OBJDUMP@
  65192. OBJEXT = @OBJEXT@
  65193. OGG_CFLAGS = @OGG_CFLAGS@
  65194. OGG_LIBS = @OGG_LIBS@
  65195. +OTOOL = @OTOOL@
  65196. +OTOOL64 = @OTOOL64@
  65197. PACKAGE = @PACKAGE@
  65198. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  65199. PACKAGE_NAME = @PACKAGE_NAME@
  65200. PACKAGE_STRING = @PACKAGE_STRING@
  65201. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  65202. +PACKAGE_URL = @PACKAGE_URL@
  65203. PACKAGE_VERSION = @PACKAGE_VERSION@
  65204. PATH_SEPARATOR = @PATH_SEPARATOR@
  65205. PKG_CONFIG = @PKG_CONFIG@
  65206. @@ -129,22 +124,24 @@
  65207. SPEEX_VERSION = @SPEEX_VERSION@
  65208. STRIP = @STRIP@
  65209. VERSION = @VERSION@
  65210. +abs_builddir = @abs_builddir@
  65211. +abs_srcdir = @abs_srcdir@
  65212. +abs_top_builddir = @abs_top_builddir@
  65213. +abs_top_srcdir = @abs_top_srcdir@
  65214. ac_ct_CC = @ac_ct_CC@
  65215. -ac_ct_CXX = @ac_ct_CXX@
  65216. -ac_ct_F77 = @ac_ct_F77@
  65217. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  65218. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  65219. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  65220. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  65221. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  65222. am__include = @am__include@
  65223. am__leading_dot = @am__leading_dot@
  65224. am__quote = @am__quote@
  65225. +am__tar = @am__tar@
  65226. +am__untar = @am__untar@
  65227. bindir = @bindir@
  65228. build = @build@
  65229. build_alias = @build_alias@
  65230. build_cpu = @build_cpu@
  65231. build_os = @build_os@
  65232. build_vendor = @build_vendor@
  65233. +builddir = @builddir@
  65234. datadir = @datadir@
  65235. datarootdir = @datarootdir@
  65236. docdir = @docdir@
  65237. @@ -163,6 +160,7 @@
  65238. libexecdir = @libexecdir@
  65239. localedir = @localedir@
  65240. localstatedir = @localstatedir@
  65241. +lt_ECHO = @lt_ECHO@
  65242. mandir = @mandir@
  65243. mkdir_p = @mkdir_p@
  65244. oldincludedir = @oldincludedir@
  65245. @@ -173,8 +171,12 @@
  65246. sbindir = @sbindir@
  65247. sharedstatedir = @sharedstatedir@
  65248. src = @src@
  65249. +srcdir = @srcdir@
  65250. sysconfdir = @sysconfdir@
  65251. target_alias = @target_alias@
  65252. +top_build_prefix = @top_build_prefix@
  65253. +top_builddir = @top_builddir@
  65254. +top_srcdir = @top_srcdir@
  65255. EXTRA_DIST = speex_C64_test.cmd speex_C64_test.pjt
  65256. all: all-am
  65257. @@ -183,14 +185,14 @@
  65258. @for dep in $?; do \
  65259. case '$(am__configure_deps)' in \
  65260. *$$dep*) \
  65261. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  65262. - && exit 0; \
  65263. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  65264. + && { if test -f $@; then exit 0; else break; fi; }; \
  65265. exit 1;; \
  65266. esac; \
  65267. done; \
  65268. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/speex_C64_test/Makefile'; \
  65269. - cd $(top_srcdir) && \
  65270. - $(AUTOMAKE) --gnu ti/speex_C64_test/Makefile
  65271. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ti/speex_C64_test/Makefile'; \
  65272. + $(am__cd) $(top_srcdir) && \
  65273. + $(AUTOMAKE) --gnu ti/speex_C64_test/Makefile
  65274. .PRECIOUS: Makefile
  65275. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  65276. @case '$?' in \
  65277. @@ -208,16 +210,13 @@
  65278. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  65279. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  65280. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  65281. +$(am__aclocal_m4_deps):
  65282. mostlyclean-libtool:
  65283. -rm -f *.lo
  65284. clean-libtool:
  65285. -rm -rf .libs _libs
  65286. -
  65287. -distclean-libtool:
  65288. - -rm -f libtool
  65289. -uninstall-info-am:
  65290. tags: TAGS
  65291. TAGS:
  65292. @@ -226,29 +225,32 @@
  65293. distdir: $(DISTFILES)
  65294. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  65295. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  65296. - list='$(DISTFILES)'; for file in $$list; do \
  65297. - case $$file in \
  65298. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  65299. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  65300. - esac; \
  65301. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  65302. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  65303. + list='$(DISTFILES)'; \
  65304. + dist_files=`for file in $$list; do echo $$file; done | \
  65305. + sed -e "s|^$$srcdirstrip/||;t" \
  65306. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  65307. + case $$dist_files in \
  65308. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  65309. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  65310. + sort -u` ;; \
  65311. + esac; \
  65312. + for file in $$dist_files; do \
  65313. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  65314. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  65315. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  65316. - dir="/$$dir"; \
  65317. - $(mkdir_p) "$(distdir)$$dir"; \
  65318. - else \
  65319. - dir=''; \
  65320. - fi; \
  65321. if test -d $$d/$$file; then \
  65322. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  65323. + if test -d "$(distdir)/$$file"; then \
  65324. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  65325. + fi; \
  65326. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  65327. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  65328. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  65329. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  65330. fi; \
  65331. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  65332. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  65333. else \
  65334. - test -f $(distdir)/$$file \
  65335. - || cp -p $$d/$$file $(distdir)/$$file \
  65336. + test -f "$(distdir)/$$file" \
  65337. + || cp -p $$d/$$file "$(distdir)/$$file" \
  65338. || exit 1; \
  65339. fi; \
  65340. done
  65341. @@ -275,7 +277,8 @@
  65342. clean-generic:
  65343. distclean-generic:
  65344. - -rm -f $(CONFIG_CLEAN_FILES)
  65345. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  65346. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  65347. maintainer-clean-generic:
  65348. @echo "This command is intended for maintainers to use"
  65349. @@ -286,7 +289,7 @@
  65350. distclean: distclean-am
  65351. -rm -f Makefile
  65352. -distclean-am: clean-am distclean-generic distclean-libtool
  65353. +distclean-am: clean-am distclean-generic
  65354. dvi: dvi-am
  65355. @@ -294,18 +297,38 @@
  65356. html: html-am
  65357. +html-am:
  65358. +
  65359. info: info-am
  65360. info-am:
  65361. install-data-am:
  65362. +install-dvi: install-dvi-am
  65363. +
  65364. +install-dvi-am:
  65365. +
  65366. install-exec-am:
  65367. +install-html: install-html-am
  65368. +
  65369. +install-html-am:
  65370. +
  65371. install-info: install-info-am
  65372. +install-info-am:
  65373. +
  65374. install-man:
  65375. +install-pdf: install-pdf-am
  65376. +
  65377. +install-pdf-am:
  65378. +
  65379. +install-ps: install-ps-am
  65380. +
  65381. +install-ps-am:
  65382. +
  65383. installcheck-am:
  65384. maintainer-clean: maintainer-clean-am
  65385. @@ -324,17 +347,21 @@
  65386. ps-am:
  65387. -uninstall-am: uninstall-info-am
  65388. +uninstall-am:
  65389. +
  65390. +.MAKE: install-am install-strip
  65391. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  65392. distclean distclean-generic distclean-libtool distdir dvi \
  65393. dvi-am html html-am info info-am install install-am \
  65394. - install-data install-data-am install-exec install-exec-am \
  65395. - install-info install-info-am install-man install-strip \
  65396. + install-data install-data-am install-dvi install-dvi-am \
  65397. + install-exec install-exec-am install-html install-html-am \
  65398. + install-info install-info-am install-man install-pdf \
  65399. + install-pdf-am install-ps install-ps-am install-strip \
  65400. installcheck installcheck-am installdirs maintainer-clean \
  65401. maintainer-clean-generic mostlyclean mostlyclean-generic \
  65402. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  65403. - uninstall-info-am
  65404. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  65405. +
  65406. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  65407. # Otherwise a system limit (for SysV at least) may be exceeded.
  65408. diff -Nur speex-1.2rc1.orig/win32/libspeex/Makefile.in speex-1.2rc1/win32/libspeex/Makefile.in
  65409. --- speex-1.2rc1.orig/win32/libspeex/Makefile.in 2008-07-21 04:17:22.000000000 +0200
  65410. +++ speex-1.2rc1/win32/libspeex/Makefile.in 2011-02-20 22:00:58.663680034 +0100
  65411. @@ -1,8 +1,9 @@
  65412. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  65413. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  65414. # @configure_input@
  65415. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  65416. -# 2003, 2004 Free Software Foundation, Inc.
  65417. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  65418. +# Inc.
  65419. # This Makefile.in is free software; the Free Software Foundation
  65420. # gives unlimited permission to copy and/or distribute it,
  65421. # with or without modifications, as long as this notice is preserved.
  65422. @@ -16,15 +17,12 @@
  65423. # Disable automatic dependency tracking if using other tools than gcc and gmake
  65424. #AUTOMAKE_OPTIONS = no-dependencies
  65425. -srcdir = @srcdir@
  65426. -top_srcdir = @top_srcdir@
  65427. VPATH = @srcdir@
  65428. pkgdatadir = $(datadir)/@PACKAGE@
  65429. -pkglibdir = $(libdir)/@PACKAGE@
  65430. pkgincludedir = $(includedir)/@PACKAGE@
  65431. -top_builddir = ../..
  65432. +pkglibdir = $(libdir)/@PACKAGE@
  65433. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  65434. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  65435. -INSTALL = @INSTALL@
  65436. install_sh_DATA = $(install_sh) -c -m 644
  65437. install_sh_PROGRAM = $(install_sh) -c
  65438. install_sh_SCRIPT = $(install_sh) -c
  65439. @@ -36,6 +34,7 @@
  65440. NORMAL_UNINSTALL = :
  65441. PRE_UNINSTALL = :
  65442. POST_UNINSTALL = :
  65443. +build_triplet = @build@
  65444. host_triplet = @host@
  65445. subdir = win32/libspeex
  65446. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  65447. @@ -44,15 +43,14 @@
  65448. $(top_srcdir)/configure.ac
  65449. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  65450. $(ACLOCAL_M4)
  65451. -mkinstalldirs = $(mkdir_p)
  65452. +mkinstalldirs = $(install_sh) -d
  65453. CONFIG_HEADER = $(top_builddir)/config.h
  65454. CONFIG_CLEAN_FILES =
  65455. +CONFIG_CLEAN_VPATH_FILES =
  65456. SOURCES =
  65457. DIST_SOURCES =
  65458. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  65459. ACLOCAL = @ACLOCAL@
  65460. -AMDEP_FALSE = @AMDEP_FALSE@
  65461. -AMDEP_TRUE = @AMDEP_TRUE@
  65462. AMTAR = @AMTAR@
  65463. AR = @AR@
  65464. AS = @AS@
  65465. @@ -60,60 +58,57 @@
  65466. AUTOHEADER = @AUTOHEADER@
  65467. AUTOMAKE = @AUTOMAKE@
  65468. AWK = @AWK@
  65469. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  65470. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  65471. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  65472. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  65473. CC = @CC@
  65474. CCDEPMODE = @CCDEPMODE@
  65475. CFLAGS = @CFLAGS@
  65476. CPP = @CPP@
  65477. CPPFLAGS = @CPPFLAGS@
  65478. -CXX = @CXX@
  65479. -CXXCPP = @CXXCPP@
  65480. -CXXDEPMODE = @CXXDEPMODE@
  65481. -CXXFLAGS = @CXXFLAGS@
  65482. CYGPATH_W = @CYGPATH_W@
  65483. DEFS = @DEFS@
  65484. DEPDIR = @DEPDIR@
  65485. DLLTOOL = @DLLTOOL@
  65486. DSYMUTIL = @DSYMUTIL@
  65487. -ECHO = @ECHO@
  65488. +DUMPBIN = @DUMPBIN@
  65489. ECHO_C = @ECHO_C@
  65490. ECHO_N = @ECHO_N@
  65491. ECHO_T = @ECHO_T@
  65492. EGREP = @EGREP@
  65493. EXEEXT = @EXEEXT@
  65494. -F77 = @F77@
  65495. -FFLAGS = @FFLAGS@
  65496. FFT_CFLAGS = @FFT_CFLAGS@
  65497. FFT_LIBS = @FFT_LIBS@
  65498. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  65499. +FGREP = @FGREP@
  65500. GREP = @GREP@
  65501. +INSTALL = @INSTALL@
  65502. INSTALL_DATA = @INSTALL_DATA@
  65503. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  65504. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  65505. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  65506. +LD = @LD@
  65507. LDFLAGS = @LDFLAGS@
  65508. LIBOBJS = @LIBOBJS@
  65509. LIBS = @LIBS@
  65510. LIBTOOL = @LIBTOOL@
  65511. +LIPO = @LIPO@
  65512. LN_S = @LN_S@
  65513. LTLIBOBJS = @LTLIBOBJS@
  65514. MAINT = @MAINT@
  65515. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  65516. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  65517. MAKEINFO = @MAKEINFO@
  65518. +MKDIR_P = @MKDIR_P@
  65519. +NM = @NM@
  65520. NMEDIT = @NMEDIT@
  65521. OBJDUMP = @OBJDUMP@
  65522. OBJEXT = @OBJEXT@
  65523. OGG_CFLAGS = @OGG_CFLAGS@
  65524. OGG_LIBS = @OGG_LIBS@
  65525. +OTOOL = @OTOOL@
  65526. +OTOOL64 = @OTOOL64@
  65527. PACKAGE = @PACKAGE@
  65528. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  65529. PACKAGE_NAME = @PACKAGE_NAME@
  65530. PACKAGE_STRING = @PACKAGE_STRING@
  65531. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  65532. +PACKAGE_URL = @PACKAGE_URL@
  65533. PACKAGE_VERSION = @PACKAGE_VERSION@
  65534. PATH_SEPARATOR = @PATH_SEPARATOR@
  65535. PKG_CONFIG = @PKG_CONFIG@
  65536. @@ -129,22 +124,24 @@
  65537. SPEEX_VERSION = @SPEEX_VERSION@
  65538. STRIP = @STRIP@
  65539. VERSION = @VERSION@
  65540. +abs_builddir = @abs_builddir@
  65541. +abs_srcdir = @abs_srcdir@
  65542. +abs_top_builddir = @abs_top_builddir@
  65543. +abs_top_srcdir = @abs_top_srcdir@
  65544. ac_ct_CC = @ac_ct_CC@
  65545. -ac_ct_CXX = @ac_ct_CXX@
  65546. -ac_ct_F77 = @ac_ct_F77@
  65547. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  65548. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  65549. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  65550. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  65551. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  65552. am__include = @am__include@
  65553. am__leading_dot = @am__leading_dot@
  65554. am__quote = @am__quote@
  65555. +am__tar = @am__tar@
  65556. +am__untar = @am__untar@
  65557. bindir = @bindir@
  65558. build = @build@
  65559. build_alias = @build_alias@
  65560. build_cpu = @build_cpu@
  65561. build_os = @build_os@
  65562. build_vendor = @build_vendor@
  65563. +builddir = @builddir@
  65564. datadir = @datadir@
  65565. datarootdir = @datarootdir@
  65566. docdir = @docdir@
  65567. @@ -163,6 +160,7 @@
  65568. libexecdir = @libexecdir@
  65569. localedir = @localedir@
  65570. localstatedir = @localstatedir@
  65571. +lt_ECHO = @lt_ECHO@
  65572. mandir = @mandir@
  65573. mkdir_p = @mkdir_p@
  65574. oldincludedir = @oldincludedir@
  65575. @@ -173,8 +171,12 @@
  65576. sbindir = @sbindir@
  65577. sharedstatedir = @sharedstatedir@
  65578. src = @src@
  65579. +srcdir = @srcdir@
  65580. sysconfdir = @sysconfdir@
  65581. target_alias = @target_alias@
  65582. +top_build_prefix = @top_build_prefix@
  65583. +top_builddir = @top_builddir@
  65584. +top_srcdir = @top_srcdir@
  65585. EXTRA_DIST = libspeex.dsw libspeex.dsp libspeex_dynamic.dsp libspeexdsp.dsp libspeexdsp_dynamic.dsp
  65586. all: all-am
  65587. @@ -183,14 +185,14 @@
  65588. @for dep in $?; do \
  65589. case '$(am__configure_deps)' in \
  65590. *$$dep*) \
  65591. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  65592. - && exit 0; \
  65593. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  65594. + && { if test -f $@; then exit 0; else break; fi; }; \
  65595. exit 1;; \
  65596. esac; \
  65597. done; \
  65598. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/libspeex/Makefile'; \
  65599. - cd $(top_srcdir) && \
  65600. - $(AUTOMAKE) --gnu win32/libspeex/Makefile
  65601. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/libspeex/Makefile'; \
  65602. + $(am__cd) $(top_srcdir) && \
  65603. + $(AUTOMAKE) --gnu win32/libspeex/Makefile
  65604. .PRECIOUS: Makefile
  65605. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  65606. @case '$?' in \
  65607. @@ -208,16 +210,13 @@
  65608. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  65609. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  65610. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  65611. +$(am__aclocal_m4_deps):
  65612. mostlyclean-libtool:
  65613. -rm -f *.lo
  65614. clean-libtool:
  65615. -rm -rf .libs _libs
  65616. -
  65617. -distclean-libtool:
  65618. - -rm -f libtool
  65619. -uninstall-info-am:
  65620. tags: TAGS
  65621. TAGS:
  65622. @@ -226,29 +225,32 @@
  65623. distdir: $(DISTFILES)
  65624. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  65625. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  65626. - list='$(DISTFILES)'; for file in $$list; do \
  65627. - case $$file in \
  65628. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  65629. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  65630. - esac; \
  65631. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  65632. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  65633. + list='$(DISTFILES)'; \
  65634. + dist_files=`for file in $$list; do echo $$file; done | \
  65635. + sed -e "s|^$$srcdirstrip/||;t" \
  65636. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  65637. + case $$dist_files in \
  65638. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  65639. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  65640. + sort -u` ;; \
  65641. + esac; \
  65642. + for file in $$dist_files; do \
  65643. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  65644. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  65645. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  65646. - dir="/$$dir"; \
  65647. - $(mkdir_p) "$(distdir)$$dir"; \
  65648. - else \
  65649. - dir=''; \
  65650. - fi; \
  65651. if test -d $$d/$$file; then \
  65652. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  65653. + if test -d "$(distdir)/$$file"; then \
  65654. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  65655. + fi; \
  65656. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  65657. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  65658. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  65659. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  65660. fi; \
  65661. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  65662. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  65663. else \
  65664. - test -f $(distdir)/$$file \
  65665. - || cp -p $$d/$$file $(distdir)/$$file \
  65666. + test -f "$(distdir)/$$file" \
  65667. + || cp -p $$d/$$file "$(distdir)/$$file" \
  65668. || exit 1; \
  65669. fi; \
  65670. done
  65671. @@ -275,7 +277,8 @@
  65672. clean-generic:
  65673. distclean-generic:
  65674. - -rm -f $(CONFIG_CLEAN_FILES)
  65675. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  65676. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  65677. maintainer-clean-generic:
  65678. @echo "This command is intended for maintainers to use"
  65679. @@ -286,7 +289,7 @@
  65680. distclean: distclean-am
  65681. -rm -f Makefile
  65682. -distclean-am: clean-am distclean-generic distclean-libtool
  65683. +distclean-am: clean-am distclean-generic
  65684. dvi: dvi-am
  65685. @@ -294,18 +297,38 @@
  65686. html: html-am
  65687. +html-am:
  65688. +
  65689. info: info-am
  65690. info-am:
  65691. install-data-am:
  65692. +install-dvi: install-dvi-am
  65693. +
  65694. +install-dvi-am:
  65695. +
  65696. install-exec-am:
  65697. +install-html: install-html-am
  65698. +
  65699. +install-html-am:
  65700. +
  65701. install-info: install-info-am
  65702. +install-info-am:
  65703. +
  65704. install-man:
  65705. +install-pdf: install-pdf-am
  65706. +
  65707. +install-pdf-am:
  65708. +
  65709. +install-ps: install-ps-am
  65710. +
  65711. +install-ps-am:
  65712. +
  65713. installcheck-am:
  65714. maintainer-clean: maintainer-clean-am
  65715. @@ -324,17 +347,21 @@
  65716. ps-am:
  65717. -uninstall-am: uninstall-info-am
  65718. +uninstall-am:
  65719. +
  65720. +.MAKE: install-am install-strip
  65721. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  65722. distclean distclean-generic distclean-libtool distdir dvi \
  65723. dvi-am html html-am info info-am install install-am \
  65724. - install-data install-data-am install-exec install-exec-am \
  65725. - install-info install-info-am install-man install-strip \
  65726. + install-data install-data-am install-dvi install-dvi-am \
  65727. + install-exec install-exec-am install-html install-html-am \
  65728. + install-info install-info-am install-man install-pdf \
  65729. + install-pdf-am install-ps install-ps-am install-strip \
  65730. installcheck installcheck-am installdirs maintainer-clean \
  65731. maintainer-clean-generic mostlyclean mostlyclean-generic \
  65732. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  65733. - uninstall-info-am
  65734. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  65735. +
  65736. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  65737. # Otherwise a system limit (for SysV at least) may be exceeded.
  65738. diff -Nur speex-1.2rc1.orig/win32/Makefile.in speex-1.2rc1/win32/Makefile.in
  65739. --- speex-1.2rc1.orig/win32/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  65740. +++ speex-1.2rc1/win32/Makefile.in 2011-02-20 22:00:58.133561940 +0100
  65741. @@ -1,8 +1,9 @@
  65742. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  65743. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  65744. # @configure_input@
  65745. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  65746. -# 2003, 2004 Free Software Foundation, Inc.
  65747. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  65748. +# Inc.
  65749. # This Makefile.in is free software; the Free Software Foundation
  65750. # gives unlimited permission to copy and/or distribute it,
  65751. # with or without modifications, as long as this notice is preserved.
  65752. @@ -16,15 +17,12 @@
  65753. # Disable automatic dependency tracking if using other tools than gcc and gmake
  65754. #AUTOMAKE_OPTIONS = no-dependencies
  65755. -srcdir = @srcdir@
  65756. -top_srcdir = @top_srcdir@
  65757. VPATH = @srcdir@
  65758. pkgdatadir = $(datadir)/@PACKAGE@
  65759. -pkglibdir = $(libdir)/@PACKAGE@
  65760. pkgincludedir = $(includedir)/@PACKAGE@
  65761. -top_builddir = ..
  65762. +pkglibdir = $(libdir)/@PACKAGE@
  65763. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  65764. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  65765. -INSTALL = @INSTALL@
  65766. install_sh_DATA = $(install_sh) -c -m 644
  65767. install_sh_PROGRAM = $(install_sh) -c
  65768. install_sh_SCRIPT = $(install_sh) -c
  65769. @@ -36,6 +34,7 @@
  65770. NORMAL_UNINSTALL = :
  65771. PRE_UNINSTALL = :
  65772. POST_UNINSTALL = :
  65773. +build_triplet = @build@
  65774. host_triplet = @host@
  65775. subdir = win32
  65776. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  65777. @@ -44,24 +43,54 @@
  65778. $(top_srcdir)/configure.ac
  65779. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  65780. $(ACLOCAL_M4)
  65781. -mkinstalldirs = $(mkdir_p)
  65782. +mkinstalldirs = $(install_sh) -d
  65783. CONFIG_HEADER = $(top_builddir)/config.h
  65784. CONFIG_CLEAN_FILES =
  65785. +CONFIG_CLEAN_VPATH_FILES =
  65786. SOURCES =
  65787. DIST_SOURCES =
  65788. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  65789. html-recursive info-recursive install-data-recursive \
  65790. - install-exec-recursive install-info-recursive \
  65791. - install-recursive installcheck-recursive installdirs-recursive \
  65792. - pdf-recursive ps-recursive uninstall-info-recursive \
  65793. - uninstall-recursive
  65794. + install-dvi-recursive install-exec-recursive \
  65795. + install-html-recursive install-info-recursive \
  65796. + install-pdf-recursive install-ps-recursive install-recursive \
  65797. + installcheck-recursive installdirs-recursive pdf-recursive \
  65798. + ps-recursive uninstall-recursive
  65799. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  65800. + distclean-recursive maintainer-clean-recursive
  65801. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  65802. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  65803. + distdir
  65804. ETAGS = etags
  65805. CTAGS = ctags
  65806. DIST_SUBDIRS = $(SUBDIRS)
  65807. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  65808. +am__relativize = \
  65809. + dir0=`pwd`; \
  65810. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  65811. + sed_rest='s,^[^/]*/*,,'; \
  65812. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  65813. + sed_butlast='s,/*[^/]*$$,,'; \
  65814. + while test -n "$$dir1"; do \
  65815. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  65816. + if test "$$first" != "."; then \
  65817. + if test "$$first" = ".."; then \
  65818. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  65819. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  65820. + else \
  65821. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  65822. + if test "$$first2" = "$$first"; then \
  65823. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  65824. + else \
  65825. + dir2="../$$dir2"; \
  65826. + fi; \
  65827. + dir0="$$dir0"/"$$first"; \
  65828. + fi; \
  65829. + fi; \
  65830. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  65831. + done; \
  65832. + reldir="$$dir2"
  65833. ACLOCAL = @ACLOCAL@
  65834. -AMDEP_FALSE = @AMDEP_FALSE@
  65835. -AMDEP_TRUE = @AMDEP_TRUE@
  65836. AMTAR = @AMTAR@
  65837. AR = @AR@
  65838. AS = @AS@
  65839. @@ -69,60 +98,57 @@
  65840. AUTOHEADER = @AUTOHEADER@
  65841. AUTOMAKE = @AUTOMAKE@
  65842. AWK = @AWK@
  65843. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  65844. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  65845. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  65846. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  65847. CC = @CC@
  65848. CCDEPMODE = @CCDEPMODE@
  65849. CFLAGS = @CFLAGS@
  65850. CPP = @CPP@
  65851. CPPFLAGS = @CPPFLAGS@
  65852. -CXX = @CXX@
  65853. -CXXCPP = @CXXCPP@
  65854. -CXXDEPMODE = @CXXDEPMODE@
  65855. -CXXFLAGS = @CXXFLAGS@
  65856. CYGPATH_W = @CYGPATH_W@
  65857. DEFS = @DEFS@
  65858. DEPDIR = @DEPDIR@
  65859. DLLTOOL = @DLLTOOL@
  65860. DSYMUTIL = @DSYMUTIL@
  65861. -ECHO = @ECHO@
  65862. +DUMPBIN = @DUMPBIN@
  65863. ECHO_C = @ECHO_C@
  65864. ECHO_N = @ECHO_N@
  65865. ECHO_T = @ECHO_T@
  65866. EGREP = @EGREP@
  65867. EXEEXT = @EXEEXT@
  65868. -F77 = @F77@
  65869. -FFLAGS = @FFLAGS@
  65870. FFT_CFLAGS = @FFT_CFLAGS@
  65871. FFT_LIBS = @FFT_LIBS@
  65872. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  65873. +FGREP = @FGREP@
  65874. GREP = @GREP@
  65875. +INSTALL = @INSTALL@
  65876. INSTALL_DATA = @INSTALL_DATA@
  65877. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  65878. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  65879. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  65880. +LD = @LD@
  65881. LDFLAGS = @LDFLAGS@
  65882. LIBOBJS = @LIBOBJS@
  65883. LIBS = @LIBS@
  65884. LIBTOOL = @LIBTOOL@
  65885. +LIPO = @LIPO@
  65886. LN_S = @LN_S@
  65887. LTLIBOBJS = @LTLIBOBJS@
  65888. MAINT = @MAINT@
  65889. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  65890. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  65891. MAKEINFO = @MAKEINFO@
  65892. +MKDIR_P = @MKDIR_P@
  65893. +NM = @NM@
  65894. NMEDIT = @NMEDIT@
  65895. OBJDUMP = @OBJDUMP@
  65896. OBJEXT = @OBJEXT@
  65897. OGG_CFLAGS = @OGG_CFLAGS@
  65898. OGG_LIBS = @OGG_LIBS@
  65899. +OTOOL = @OTOOL@
  65900. +OTOOL64 = @OTOOL64@
  65901. PACKAGE = @PACKAGE@
  65902. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  65903. PACKAGE_NAME = @PACKAGE_NAME@
  65904. PACKAGE_STRING = @PACKAGE_STRING@
  65905. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  65906. +PACKAGE_URL = @PACKAGE_URL@
  65907. PACKAGE_VERSION = @PACKAGE_VERSION@
  65908. PATH_SEPARATOR = @PATH_SEPARATOR@
  65909. PKG_CONFIG = @PKG_CONFIG@
  65910. @@ -138,22 +164,24 @@
  65911. SPEEX_VERSION = @SPEEX_VERSION@
  65912. STRIP = @STRIP@
  65913. VERSION = @VERSION@
  65914. +abs_builddir = @abs_builddir@
  65915. +abs_srcdir = @abs_srcdir@
  65916. +abs_top_builddir = @abs_top_builddir@
  65917. +abs_top_srcdir = @abs_top_srcdir@
  65918. ac_ct_CC = @ac_ct_CC@
  65919. -ac_ct_CXX = @ac_ct_CXX@
  65920. -ac_ct_F77 = @ac_ct_F77@
  65921. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  65922. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  65923. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  65924. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  65925. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  65926. am__include = @am__include@
  65927. am__leading_dot = @am__leading_dot@
  65928. am__quote = @am__quote@
  65929. +am__tar = @am__tar@
  65930. +am__untar = @am__untar@
  65931. bindir = @bindir@
  65932. build = @build@
  65933. build_alias = @build_alias@
  65934. build_cpu = @build_cpu@
  65935. build_os = @build_os@
  65936. build_vendor = @build_vendor@
  65937. +builddir = @builddir@
  65938. datadir = @datadir@
  65939. datarootdir = @datarootdir@
  65940. docdir = @docdir@
  65941. @@ -172,6 +200,7 @@
  65942. libexecdir = @libexecdir@
  65943. localedir = @localedir@
  65944. localstatedir = @localstatedir@
  65945. +lt_ECHO = @lt_ECHO@
  65946. mandir = @mandir@
  65947. mkdir_p = @mkdir_p@
  65948. oldincludedir = @oldincludedir@
  65949. @@ -182,8 +211,12 @@
  65950. sbindir = @sbindir@
  65951. sharedstatedir = @sharedstatedir@
  65952. src = @src@
  65953. +srcdir = @srcdir@
  65954. sysconfdir = @sysconfdir@
  65955. target_alias = @target_alias@
  65956. +top_build_prefix = @top_build_prefix@
  65957. +top_builddir = @top_builddir@
  65958. +top_srcdir = @top_srcdir@
  65959. SUBDIRS = libspeex speexenc speexdec VS2003 VS2005 VS2008
  65960. EXTRA_DIST = speex.iss config.h libspeex.def libspeexdsp.def
  65961. all: all-recursive
  65962. @@ -193,14 +226,14 @@
  65963. @for dep in $?; do \
  65964. case '$(am__configure_deps)' in \
  65965. *$$dep*) \
  65966. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  65967. - && exit 0; \
  65968. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  65969. + && { if test -f $@; then exit 0; else break; fi; }; \
  65970. exit 1;; \
  65971. esac; \
  65972. done; \
  65973. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/Makefile'; \
  65974. - cd $(top_srcdir) && \
  65975. - $(AUTOMAKE) --gnu win32/Makefile
  65976. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/Makefile'; \
  65977. + $(am__cd) $(top_srcdir) && \
  65978. + $(AUTOMAKE) --gnu win32/Makefile
  65979. .PRECIOUS: Makefile
  65980. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  65981. @case '$?' in \
  65982. @@ -218,6 +251,7 @@
  65983. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  65984. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  65985. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  65986. +$(am__aclocal_m4_deps):
  65987. mostlyclean-libtool:
  65988. -rm -f *.lo
  65989. @@ -225,10 +259,6 @@
  65990. clean-libtool:
  65991. -rm -rf .libs _libs
  65992. -distclean-libtool:
  65993. - -rm -f libtool
  65994. -uninstall-info-am:
  65995. -
  65996. # This directory's subdirectories are mostly independent; you can cd
  65997. # into them and run `make' without going through this Makefile.
  65998. # To change the values of `make' variables: instead of editing Makefiles,
  65999. @@ -236,7 +266,13 @@
  66000. # (which will cause the Makefiles to be regenerated when you run `make');
  66001. # (2) otherwise, pass the desired values on the `make' command line.
  66002. $(RECURSIVE_TARGETS):
  66003. - @set fnord $$MAKEFLAGS; amf=$$2; \
  66004. + @fail= failcom='exit 1'; \
  66005. + for f in x $$MAKEFLAGS; do \
  66006. + case $$f in \
  66007. + *=* | --[!k]*);; \
  66008. + *k*) failcom='fail=yes';; \
  66009. + esac; \
  66010. + done; \
  66011. dot_seen=no; \
  66012. target=`echo $@ | sed s/-recursive//`; \
  66013. list='$(SUBDIRS)'; for subdir in $$list; do \
  66014. @@ -247,16 +283,21 @@
  66015. else \
  66016. local_target="$$target"; \
  66017. fi; \
  66018. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66019. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  66020. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66021. + || eval $$failcom; \
  66022. done; \
  66023. if test "$$dot_seen" = "no"; then \
  66024. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  66025. fi; test -z "$$fail"
  66026. -mostlyclean-recursive clean-recursive distclean-recursive \
  66027. -maintainer-clean-recursive:
  66028. - @set fnord $$MAKEFLAGS; amf=$$2; \
  66029. +$(RECURSIVE_CLEAN_TARGETS):
  66030. + @fail= failcom='exit 1'; \
  66031. + for f in x $$MAKEFLAGS; do \
  66032. + case $$f in \
  66033. + *=* | --[!k]*);; \
  66034. + *k*) failcom='fail=yes';; \
  66035. + esac; \
  66036. + done; \
  66037. dot_seen=no; \
  66038. case "$@" in \
  66039. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  66040. @@ -276,16 +317,16 @@
  66041. else \
  66042. local_target="$$target"; \
  66043. fi; \
  66044. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66045. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  66046. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  66047. + || eval $$failcom; \
  66048. done && test -z "$$fail"
  66049. tags-recursive:
  66050. list='$(SUBDIRS)'; for subdir in $$list; do \
  66051. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  66052. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  66053. done
  66054. ctags-recursive:
  66055. list='$(SUBDIRS)'; for subdir in $$list; do \
  66056. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  66057. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  66058. done
  66059. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  66060. @@ -293,14 +334,14 @@
  66061. unique=`for i in $$list; do \
  66062. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66063. done | \
  66064. - $(AWK) ' { files[$$0] = 1; } \
  66065. - END { for (i in files) print i; }'`; \
  66066. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66067. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66068. mkid -fID $$unique
  66069. tags: TAGS
  66070. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  66071. $(TAGS_FILES) $(LISP)
  66072. - tags=; \
  66073. + set x; \
  66074. here=`pwd`; \
  66075. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  66076. include_option=--etags-include; \
  66077. @@ -312,79 +353,101 @@
  66078. list='$(SUBDIRS)'; for subdir in $$list; do \
  66079. if test "$$subdir" = .; then :; else \
  66080. test ! -f $$subdir/TAGS || \
  66081. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  66082. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  66083. fi; \
  66084. done; \
  66085. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  66086. unique=`for i in $$list; do \
  66087. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66088. done | \
  66089. - $(AWK) ' { files[$$0] = 1; } \
  66090. - END { for (i in files) print i; }'`; \
  66091. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  66092. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66093. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66094. + shift; \
  66095. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  66096. test -n "$$unique" || unique=$$empty_fix; \
  66097. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66098. - $$tags $$unique; \
  66099. + if test $$# -gt 0; then \
  66100. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66101. + "$$@" $$unique; \
  66102. + else \
  66103. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  66104. + $$unique; \
  66105. + fi; \
  66106. fi
  66107. ctags: CTAGS
  66108. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  66109. $(TAGS_FILES) $(LISP)
  66110. - tags=; \
  66111. - here=`pwd`; \
  66112. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  66113. unique=`for i in $$list; do \
  66114. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  66115. done | \
  66116. - $(AWK) ' { files[$$0] = 1; } \
  66117. - END { for (i in files) print i; }'`; \
  66118. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  66119. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  66120. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  66121. + test -z "$(CTAGS_ARGS)$$unique" \
  66122. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  66123. - $$tags $$unique
  66124. + $$unique
  66125. GTAGS:
  66126. here=`$(am__cd) $(top_builddir) && pwd` \
  66127. - && cd $(top_srcdir) \
  66128. - && gtags -i $(GTAGS_ARGS) $$here
  66129. + && $(am__cd) $(top_srcdir) \
  66130. + && gtags -i $(GTAGS_ARGS) "$$here"
  66131. distclean-tags:
  66132. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  66133. distdir: $(DISTFILES)
  66134. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  66135. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  66136. - list='$(DISTFILES)'; for file in $$list; do \
  66137. - case $$file in \
  66138. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  66139. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  66140. - esac; \
  66141. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66142. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66143. + list='$(DISTFILES)'; \
  66144. + dist_files=`for file in $$list; do echo $$file; done | \
  66145. + sed -e "s|^$$srcdirstrip/||;t" \
  66146. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  66147. + case $$dist_files in \
  66148. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  66149. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  66150. + sort -u` ;; \
  66151. + esac; \
  66152. + for file in $$dist_files; do \
  66153. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  66154. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  66155. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  66156. - dir="/$$dir"; \
  66157. - $(mkdir_p) "$(distdir)$$dir"; \
  66158. - else \
  66159. - dir=''; \
  66160. - fi; \
  66161. if test -d $$d/$$file; then \
  66162. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  66163. + if test -d "$(distdir)/$$file"; then \
  66164. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66165. + fi; \
  66166. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  66167. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  66168. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  66169. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66170. fi; \
  66171. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  66172. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  66173. else \
  66174. - test -f $(distdir)/$$file \
  66175. - || cp -p $$d/$$file $(distdir)/$$file \
  66176. + test -f "$(distdir)/$$file" \
  66177. + || cp -p $$d/$$file "$(distdir)/$$file" \
  66178. || exit 1; \
  66179. fi; \
  66180. done
  66181. - list='$(SUBDIRS)'; for subdir in $$list; do \
  66182. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  66183. if test "$$subdir" = .; then :; else \
  66184. test -d "$(distdir)/$$subdir" \
  66185. - || mkdir "$(distdir)/$$subdir" \
  66186. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  66187. || exit 1; \
  66188. - (cd $$subdir && \
  66189. + fi; \
  66190. + done
  66191. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  66192. + if test "$$subdir" = .; then :; else \
  66193. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  66194. + $(am__relativize); \
  66195. + new_distdir=$$reldir; \
  66196. + dir1=$$subdir; dir2="$(top_distdir)"; \
  66197. + $(am__relativize); \
  66198. + new_top_distdir=$$reldir; \
  66199. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  66200. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  66201. + ($(am__cd) $$subdir && \
  66202. $(MAKE) $(AM_MAKEFLAGS) \
  66203. - top_distdir="../$(top_distdir)" \
  66204. - distdir="../$(distdir)/$$subdir" \
  66205. + top_distdir="$$new_top_distdir" \
  66206. + distdir="$$new_distdir" \
  66207. + am__remove_distdir=: \
  66208. + am__skip_length_check=: \
  66209. + am__skip_mode_fix=: \
  66210. distdir) \
  66211. || exit 1; \
  66212. fi; \
  66213. @@ -413,7 +476,8 @@
  66214. clean-generic:
  66215. distclean-generic:
  66216. - -rm -f $(CONFIG_CLEAN_FILES)
  66217. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  66218. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  66219. maintainer-clean-generic:
  66220. @echo "This command is intended for maintainers to use"
  66221. @@ -424,8 +488,7 @@
  66222. distclean: distclean-recursive
  66223. -rm -f Makefile
  66224. -distclean-am: clean-am distclean-generic distclean-libtool \
  66225. - distclean-tags
  66226. +distclean-am: clean-am distclean-generic distclean-tags
  66227. dvi: dvi-recursive
  66228. @@ -433,18 +496,38 @@
  66229. html: html-recursive
  66230. +html-am:
  66231. +
  66232. info: info-recursive
  66233. info-am:
  66234. install-data-am:
  66235. +install-dvi: install-dvi-recursive
  66236. +
  66237. +install-dvi-am:
  66238. +
  66239. install-exec-am:
  66240. +install-html: install-html-recursive
  66241. +
  66242. +install-html-am:
  66243. +
  66244. install-info: install-info-recursive
  66245. +install-info-am:
  66246. +
  66247. install-man:
  66248. +install-pdf: install-pdf-recursive
  66249. +
  66250. +install-pdf-am:
  66251. +
  66252. +install-ps: install-ps-recursive
  66253. +
  66254. +install-ps-am:
  66255. +
  66256. installcheck-am:
  66257. maintainer-clean: maintainer-clean-recursive
  66258. @@ -463,22 +546,25 @@
  66259. ps-am:
  66260. -uninstall-am: uninstall-info-am
  66261. +uninstall-am:
  66262. -uninstall-info: uninstall-info-recursive
  66263. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  66264. + install-am install-strip tags-recursive
  66265. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  66266. - clean clean-generic clean-libtool clean-recursive ctags \
  66267. - ctags-recursive distclean distclean-generic distclean-libtool \
  66268. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  66269. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  66270. + all all-am check check-am clean clean-generic clean-libtool \
  66271. + ctags ctags-recursive distclean distclean-generic \
  66272. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  66273. html-am info info-am install install-am install-data \
  66274. - install-data-am install-exec install-exec-am install-info \
  66275. - install-info-am install-man install-strip installcheck \
  66276. + install-data-am install-dvi install-dvi-am install-exec \
  66277. + install-exec-am install-html install-html-am install-info \
  66278. + install-info-am install-man install-pdf install-pdf-am \
  66279. + install-ps install-ps-am install-strip installcheck \
  66280. installcheck-am installdirs installdirs-am maintainer-clean \
  66281. - maintainer-clean-generic maintainer-clean-recursive \
  66282. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  66283. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  66284. - uninstall uninstall-am uninstall-info-am
  66285. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  66286. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  66287. + uninstall uninstall-am
  66288. +
  66289. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  66290. # Otherwise a system limit (for SysV at least) may be exceeded.
  66291. diff -Nur speex-1.2rc1.orig/win32/speexdec/Makefile.in speex-1.2rc1/win32/speexdec/Makefile.in
  66292. --- speex-1.2rc1.orig/win32/speexdec/Makefile.in 2008-07-21 04:17:22.000000000 +0200
  66293. +++ speex-1.2rc1/win32/speexdec/Makefile.in 2011-02-20 22:00:58.713591112 +0100
  66294. @@ -1,8 +1,9 @@
  66295. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  66296. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  66297. # @configure_input@
  66298. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  66299. -# 2003, 2004 Free Software Foundation, Inc.
  66300. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  66301. +# Inc.
  66302. # This Makefile.in is free software; the Free Software Foundation
  66303. # gives unlimited permission to copy and/or distribute it,
  66304. # with or without modifications, as long as this notice is preserved.
  66305. @@ -16,15 +17,12 @@
  66306. # Disable automatic dependency tracking if using other tools than gcc and gmake
  66307. #AUTOMAKE_OPTIONS = no-dependencies
  66308. -srcdir = @srcdir@
  66309. -top_srcdir = @top_srcdir@
  66310. VPATH = @srcdir@
  66311. pkgdatadir = $(datadir)/@PACKAGE@
  66312. -pkglibdir = $(libdir)/@PACKAGE@
  66313. pkgincludedir = $(includedir)/@PACKAGE@
  66314. -top_builddir = ../..
  66315. +pkglibdir = $(libdir)/@PACKAGE@
  66316. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  66317. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  66318. -INSTALL = @INSTALL@
  66319. install_sh_DATA = $(install_sh) -c -m 644
  66320. install_sh_PROGRAM = $(install_sh) -c
  66321. install_sh_SCRIPT = $(install_sh) -c
  66322. @@ -36,6 +34,7 @@
  66323. NORMAL_UNINSTALL = :
  66324. PRE_UNINSTALL = :
  66325. POST_UNINSTALL = :
  66326. +build_triplet = @build@
  66327. host_triplet = @host@
  66328. subdir = win32/speexdec
  66329. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  66330. @@ -44,15 +43,14 @@
  66331. $(top_srcdir)/configure.ac
  66332. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  66333. $(ACLOCAL_M4)
  66334. -mkinstalldirs = $(mkdir_p)
  66335. +mkinstalldirs = $(install_sh) -d
  66336. CONFIG_HEADER = $(top_builddir)/config.h
  66337. CONFIG_CLEAN_FILES =
  66338. +CONFIG_CLEAN_VPATH_FILES =
  66339. SOURCES =
  66340. DIST_SOURCES =
  66341. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  66342. ACLOCAL = @ACLOCAL@
  66343. -AMDEP_FALSE = @AMDEP_FALSE@
  66344. -AMDEP_TRUE = @AMDEP_TRUE@
  66345. AMTAR = @AMTAR@
  66346. AR = @AR@
  66347. AS = @AS@
  66348. @@ -60,60 +58,57 @@
  66349. AUTOHEADER = @AUTOHEADER@
  66350. AUTOMAKE = @AUTOMAKE@
  66351. AWK = @AWK@
  66352. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  66353. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  66354. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  66355. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  66356. CC = @CC@
  66357. CCDEPMODE = @CCDEPMODE@
  66358. CFLAGS = @CFLAGS@
  66359. CPP = @CPP@
  66360. CPPFLAGS = @CPPFLAGS@
  66361. -CXX = @CXX@
  66362. -CXXCPP = @CXXCPP@
  66363. -CXXDEPMODE = @CXXDEPMODE@
  66364. -CXXFLAGS = @CXXFLAGS@
  66365. CYGPATH_W = @CYGPATH_W@
  66366. DEFS = @DEFS@
  66367. DEPDIR = @DEPDIR@
  66368. DLLTOOL = @DLLTOOL@
  66369. DSYMUTIL = @DSYMUTIL@
  66370. -ECHO = @ECHO@
  66371. +DUMPBIN = @DUMPBIN@
  66372. ECHO_C = @ECHO_C@
  66373. ECHO_N = @ECHO_N@
  66374. ECHO_T = @ECHO_T@
  66375. EGREP = @EGREP@
  66376. EXEEXT = @EXEEXT@
  66377. -F77 = @F77@
  66378. -FFLAGS = @FFLAGS@
  66379. FFT_CFLAGS = @FFT_CFLAGS@
  66380. FFT_LIBS = @FFT_LIBS@
  66381. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  66382. +FGREP = @FGREP@
  66383. GREP = @GREP@
  66384. +INSTALL = @INSTALL@
  66385. INSTALL_DATA = @INSTALL_DATA@
  66386. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  66387. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  66388. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  66389. +LD = @LD@
  66390. LDFLAGS = @LDFLAGS@
  66391. LIBOBJS = @LIBOBJS@
  66392. LIBS = @LIBS@
  66393. LIBTOOL = @LIBTOOL@
  66394. +LIPO = @LIPO@
  66395. LN_S = @LN_S@
  66396. LTLIBOBJS = @LTLIBOBJS@
  66397. MAINT = @MAINT@
  66398. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  66399. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  66400. MAKEINFO = @MAKEINFO@
  66401. +MKDIR_P = @MKDIR_P@
  66402. +NM = @NM@
  66403. NMEDIT = @NMEDIT@
  66404. OBJDUMP = @OBJDUMP@
  66405. OBJEXT = @OBJEXT@
  66406. OGG_CFLAGS = @OGG_CFLAGS@
  66407. OGG_LIBS = @OGG_LIBS@
  66408. +OTOOL = @OTOOL@
  66409. +OTOOL64 = @OTOOL64@
  66410. PACKAGE = @PACKAGE@
  66411. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  66412. PACKAGE_NAME = @PACKAGE_NAME@
  66413. PACKAGE_STRING = @PACKAGE_STRING@
  66414. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  66415. +PACKAGE_URL = @PACKAGE_URL@
  66416. PACKAGE_VERSION = @PACKAGE_VERSION@
  66417. PATH_SEPARATOR = @PATH_SEPARATOR@
  66418. PKG_CONFIG = @PKG_CONFIG@
  66419. @@ -129,22 +124,24 @@
  66420. SPEEX_VERSION = @SPEEX_VERSION@
  66421. STRIP = @STRIP@
  66422. VERSION = @VERSION@
  66423. +abs_builddir = @abs_builddir@
  66424. +abs_srcdir = @abs_srcdir@
  66425. +abs_top_builddir = @abs_top_builddir@
  66426. +abs_top_srcdir = @abs_top_srcdir@
  66427. ac_ct_CC = @ac_ct_CC@
  66428. -ac_ct_CXX = @ac_ct_CXX@
  66429. -ac_ct_F77 = @ac_ct_F77@
  66430. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  66431. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  66432. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  66433. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  66434. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  66435. am__include = @am__include@
  66436. am__leading_dot = @am__leading_dot@
  66437. am__quote = @am__quote@
  66438. +am__tar = @am__tar@
  66439. +am__untar = @am__untar@
  66440. bindir = @bindir@
  66441. build = @build@
  66442. build_alias = @build_alias@
  66443. build_cpu = @build_cpu@
  66444. build_os = @build_os@
  66445. build_vendor = @build_vendor@
  66446. +builddir = @builddir@
  66447. datadir = @datadir@
  66448. datarootdir = @datarootdir@
  66449. docdir = @docdir@
  66450. @@ -163,6 +160,7 @@
  66451. libexecdir = @libexecdir@
  66452. localedir = @localedir@
  66453. localstatedir = @localstatedir@
  66454. +lt_ECHO = @lt_ECHO@
  66455. mandir = @mandir@
  66456. mkdir_p = @mkdir_p@
  66457. oldincludedir = @oldincludedir@
  66458. @@ -173,8 +171,12 @@
  66459. sbindir = @sbindir@
  66460. sharedstatedir = @sharedstatedir@
  66461. src = @src@
  66462. +srcdir = @srcdir@
  66463. sysconfdir = @sysconfdir@
  66464. target_alias = @target_alias@
  66465. +top_build_prefix = @top_build_prefix@
  66466. +top_builddir = @top_builddir@
  66467. +top_srcdir = @top_srcdir@
  66468. EXTRA_DIST = speexdec.dsp speexdec.dsw
  66469. all: all-am
  66470. @@ -183,14 +185,14 @@
  66471. @for dep in $?; do \
  66472. case '$(am__configure_deps)' in \
  66473. *$$dep*) \
  66474. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  66475. - && exit 0; \
  66476. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  66477. + && { if test -f $@; then exit 0; else break; fi; }; \
  66478. exit 1;; \
  66479. esac; \
  66480. done; \
  66481. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/speexdec/Makefile'; \
  66482. - cd $(top_srcdir) && \
  66483. - $(AUTOMAKE) --gnu win32/speexdec/Makefile
  66484. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/speexdec/Makefile'; \
  66485. + $(am__cd) $(top_srcdir) && \
  66486. + $(AUTOMAKE) --gnu win32/speexdec/Makefile
  66487. .PRECIOUS: Makefile
  66488. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  66489. @case '$?' in \
  66490. @@ -208,16 +210,13 @@
  66491. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66492. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  66493. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66494. +$(am__aclocal_m4_deps):
  66495. mostlyclean-libtool:
  66496. -rm -f *.lo
  66497. clean-libtool:
  66498. -rm -rf .libs _libs
  66499. -
  66500. -distclean-libtool:
  66501. - -rm -f libtool
  66502. -uninstall-info-am:
  66503. tags: TAGS
  66504. TAGS:
  66505. @@ -226,29 +225,32 @@
  66506. distdir: $(DISTFILES)
  66507. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  66508. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  66509. - list='$(DISTFILES)'; for file in $$list; do \
  66510. - case $$file in \
  66511. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  66512. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  66513. - esac; \
  66514. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66515. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66516. + list='$(DISTFILES)'; \
  66517. + dist_files=`for file in $$list; do echo $$file; done | \
  66518. + sed -e "s|^$$srcdirstrip/||;t" \
  66519. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  66520. + case $$dist_files in \
  66521. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  66522. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  66523. + sort -u` ;; \
  66524. + esac; \
  66525. + for file in $$dist_files; do \
  66526. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  66527. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  66528. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  66529. - dir="/$$dir"; \
  66530. - $(mkdir_p) "$(distdir)$$dir"; \
  66531. - else \
  66532. - dir=''; \
  66533. - fi; \
  66534. if test -d $$d/$$file; then \
  66535. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  66536. + if test -d "$(distdir)/$$file"; then \
  66537. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66538. + fi; \
  66539. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  66540. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  66541. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  66542. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66543. fi; \
  66544. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  66545. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  66546. else \
  66547. - test -f $(distdir)/$$file \
  66548. - || cp -p $$d/$$file $(distdir)/$$file \
  66549. + test -f "$(distdir)/$$file" \
  66550. + || cp -p $$d/$$file "$(distdir)/$$file" \
  66551. || exit 1; \
  66552. fi; \
  66553. done
  66554. @@ -275,7 +277,8 @@
  66555. clean-generic:
  66556. distclean-generic:
  66557. - -rm -f $(CONFIG_CLEAN_FILES)
  66558. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  66559. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  66560. maintainer-clean-generic:
  66561. @echo "This command is intended for maintainers to use"
  66562. @@ -286,7 +289,7 @@
  66563. distclean: distclean-am
  66564. -rm -f Makefile
  66565. -distclean-am: clean-am distclean-generic distclean-libtool
  66566. +distclean-am: clean-am distclean-generic
  66567. dvi: dvi-am
  66568. @@ -294,18 +297,38 @@
  66569. html: html-am
  66570. +html-am:
  66571. +
  66572. info: info-am
  66573. info-am:
  66574. install-data-am:
  66575. +install-dvi: install-dvi-am
  66576. +
  66577. +install-dvi-am:
  66578. +
  66579. install-exec-am:
  66580. +install-html: install-html-am
  66581. +
  66582. +install-html-am:
  66583. +
  66584. install-info: install-info-am
  66585. +install-info-am:
  66586. +
  66587. install-man:
  66588. +install-pdf: install-pdf-am
  66589. +
  66590. +install-pdf-am:
  66591. +
  66592. +install-ps: install-ps-am
  66593. +
  66594. +install-ps-am:
  66595. +
  66596. installcheck-am:
  66597. maintainer-clean: maintainer-clean-am
  66598. @@ -324,17 +347,21 @@
  66599. ps-am:
  66600. -uninstall-am: uninstall-info-am
  66601. +uninstall-am:
  66602. +
  66603. +.MAKE: install-am install-strip
  66604. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  66605. distclean distclean-generic distclean-libtool distdir dvi \
  66606. dvi-am html html-am info info-am install install-am \
  66607. - install-data install-data-am install-exec install-exec-am \
  66608. - install-info install-info-am install-man install-strip \
  66609. + install-data install-data-am install-dvi install-dvi-am \
  66610. + install-exec install-exec-am install-html install-html-am \
  66611. + install-info install-info-am install-man install-pdf \
  66612. + install-pdf-am install-ps install-ps-am install-strip \
  66613. installcheck installcheck-am installdirs maintainer-clean \
  66614. maintainer-clean-generic mostlyclean mostlyclean-generic \
  66615. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  66616. - uninstall-info-am
  66617. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  66618. +
  66619. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  66620. # Otherwise a system limit (for SysV at least) may be exceeded.
  66621. diff -Nur speex-1.2rc1.orig/win32/speexenc/Makefile.in speex-1.2rc1/win32/speexenc/Makefile.in
  66622. --- speex-1.2rc1.orig/win32/speexenc/Makefile.in 2008-07-21 04:17:22.000000000 +0200
  66623. +++ speex-1.2rc1/win32/speexenc/Makefile.in 2011-02-20 22:00:58.733658361 +0100
  66624. @@ -1,8 +1,9 @@
  66625. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  66626. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  66627. # @configure_input@
  66628. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  66629. -# 2003, 2004 Free Software Foundation, Inc.
  66630. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  66631. +# Inc.
  66632. # This Makefile.in is free software; the Free Software Foundation
  66633. # gives unlimited permission to copy and/or distribute it,
  66634. # with or without modifications, as long as this notice is preserved.
  66635. @@ -16,15 +17,12 @@
  66636. # Disable automatic dependency tracking if using other tools than gcc and gmake
  66637. #AUTOMAKE_OPTIONS = no-dependencies
  66638. -srcdir = @srcdir@
  66639. -top_srcdir = @top_srcdir@
  66640. VPATH = @srcdir@
  66641. pkgdatadir = $(datadir)/@PACKAGE@
  66642. -pkglibdir = $(libdir)/@PACKAGE@
  66643. pkgincludedir = $(includedir)/@PACKAGE@
  66644. -top_builddir = ../..
  66645. +pkglibdir = $(libdir)/@PACKAGE@
  66646. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  66647. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  66648. -INSTALL = @INSTALL@
  66649. install_sh_DATA = $(install_sh) -c -m 644
  66650. install_sh_PROGRAM = $(install_sh) -c
  66651. install_sh_SCRIPT = $(install_sh) -c
  66652. @@ -36,6 +34,7 @@
  66653. NORMAL_UNINSTALL = :
  66654. PRE_UNINSTALL = :
  66655. POST_UNINSTALL = :
  66656. +build_triplet = @build@
  66657. host_triplet = @host@
  66658. subdir = win32/speexenc
  66659. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  66660. @@ -44,15 +43,14 @@
  66661. $(top_srcdir)/configure.ac
  66662. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  66663. $(ACLOCAL_M4)
  66664. -mkinstalldirs = $(mkdir_p)
  66665. +mkinstalldirs = $(install_sh) -d
  66666. CONFIG_HEADER = $(top_builddir)/config.h
  66667. CONFIG_CLEAN_FILES =
  66668. +CONFIG_CLEAN_VPATH_FILES =
  66669. SOURCES =
  66670. DIST_SOURCES =
  66671. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  66672. ACLOCAL = @ACLOCAL@
  66673. -AMDEP_FALSE = @AMDEP_FALSE@
  66674. -AMDEP_TRUE = @AMDEP_TRUE@
  66675. AMTAR = @AMTAR@
  66676. AR = @AR@
  66677. AS = @AS@
  66678. @@ -60,60 +58,57 @@
  66679. AUTOHEADER = @AUTOHEADER@
  66680. AUTOMAKE = @AUTOMAKE@
  66681. AWK = @AWK@
  66682. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  66683. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  66684. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  66685. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  66686. CC = @CC@
  66687. CCDEPMODE = @CCDEPMODE@
  66688. CFLAGS = @CFLAGS@
  66689. CPP = @CPP@
  66690. CPPFLAGS = @CPPFLAGS@
  66691. -CXX = @CXX@
  66692. -CXXCPP = @CXXCPP@
  66693. -CXXDEPMODE = @CXXDEPMODE@
  66694. -CXXFLAGS = @CXXFLAGS@
  66695. CYGPATH_W = @CYGPATH_W@
  66696. DEFS = @DEFS@
  66697. DEPDIR = @DEPDIR@
  66698. DLLTOOL = @DLLTOOL@
  66699. DSYMUTIL = @DSYMUTIL@
  66700. -ECHO = @ECHO@
  66701. +DUMPBIN = @DUMPBIN@
  66702. ECHO_C = @ECHO_C@
  66703. ECHO_N = @ECHO_N@
  66704. ECHO_T = @ECHO_T@
  66705. EGREP = @EGREP@
  66706. EXEEXT = @EXEEXT@
  66707. -F77 = @F77@
  66708. -FFLAGS = @FFLAGS@
  66709. FFT_CFLAGS = @FFT_CFLAGS@
  66710. FFT_LIBS = @FFT_LIBS@
  66711. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  66712. +FGREP = @FGREP@
  66713. GREP = @GREP@
  66714. +INSTALL = @INSTALL@
  66715. INSTALL_DATA = @INSTALL_DATA@
  66716. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  66717. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  66718. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  66719. +LD = @LD@
  66720. LDFLAGS = @LDFLAGS@
  66721. LIBOBJS = @LIBOBJS@
  66722. LIBS = @LIBS@
  66723. LIBTOOL = @LIBTOOL@
  66724. +LIPO = @LIPO@
  66725. LN_S = @LN_S@
  66726. LTLIBOBJS = @LTLIBOBJS@
  66727. MAINT = @MAINT@
  66728. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  66729. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  66730. MAKEINFO = @MAKEINFO@
  66731. +MKDIR_P = @MKDIR_P@
  66732. +NM = @NM@
  66733. NMEDIT = @NMEDIT@
  66734. OBJDUMP = @OBJDUMP@
  66735. OBJEXT = @OBJEXT@
  66736. OGG_CFLAGS = @OGG_CFLAGS@
  66737. OGG_LIBS = @OGG_LIBS@
  66738. +OTOOL = @OTOOL@
  66739. +OTOOL64 = @OTOOL64@
  66740. PACKAGE = @PACKAGE@
  66741. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  66742. PACKAGE_NAME = @PACKAGE_NAME@
  66743. PACKAGE_STRING = @PACKAGE_STRING@
  66744. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  66745. +PACKAGE_URL = @PACKAGE_URL@
  66746. PACKAGE_VERSION = @PACKAGE_VERSION@
  66747. PATH_SEPARATOR = @PATH_SEPARATOR@
  66748. PKG_CONFIG = @PKG_CONFIG@
  66749. @@ -129,22 +124,24 @@
  66750. SPEEX_VERSION = @SPEEX_VERSION@
  66751. STRIP = @STRIP@
  66752. VERSION = @VERSION@
  66753. +abs_builddir = @abs_builddir@
  66754. +abs_srcdir = @abs_srcdir@
  66755. +abs_top_builddir = @abs_top_builddir@
  66756. +abs_top_srcdir = @abs_top_srcdir@
  66757. ac_ct_CC = @ac_ct_CC@
  66758. -ac_ct_CXX = @ac_ct_CXX@
  66759. -ac_ct_F77 = @ac_ct_F77@
  66760. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  66761. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  66762. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  66763. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  66764. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  66765. am__include = @am__include@
  66766. am__leading_dot = @am__leading_dot@
  66767. am__quote = @am__quote@
  66768. +am__tar = @am__tar@
  66769. +am__untar = @am__untar@
  66770. bindir = @bindir@
  66771. build = @build@
  66772. build_alias = @build_alias@
  66773. build_cpu = @build_cpu@
  66774. build_os = @build_os@
  66775. build_vendor = @build_vendor@
  66776. +builddir = @builddir@
  66777. datadir = @datadir@
  66778. datarootdir = @datarootdir@
  66779. docdir = @docdir@
  66780. @@ -163,6 +160,7 @@
  66781. libexecdir = @libexecdir@
  66782. localedir = @localedir@
  66783. localstatedir = @localstatedir@
  66784. +lt_ECHO = @lt_ECHO@
  66785. mandir = @mandir@
  66786. mkdir_p = @mkdir_p@
  66787. oldincludedir = @oldincludedir@
  66788. @@ -173,8 +171,12 @@
  66789. sbindir = @sbindir@
  66790. sharedstatedir = @sharedstatedir@
  66791. src = @src@
  66792. +srcdir = @srcdir@
  66793. sysconfdir = @sysconfdir@
  66794. target_alias = @target_alias@
  66795. +top_build_prefix = @top_build_prefix@
  66796. +top_builddir = @top_builddir@
  66797. +top_srcdir = @top_srcdir@
  66798. EXTRA_DIST = speexenc.dsp speexenc.dsw
  66799. all: all-am
  66800. @@ -183,14 +185,14 @@
  66801. @for dep in $?; do \
  66802. case '$(am__configure_deps)' in \
  66803. *$$dep*) \
  66804. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  66805. - && exit 0; \
  66806. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  66807. + && { if test -f $@; then exit 0; else break; fi; }; \
  66808. exit 1;; \
  66809. esac; \
  66810. done; \
  66811. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/speexenc/Makefile'; \
  66812. - cd $(top_srcdir) && \
  66813. - $(AUTOMAKE) --gnu win32/speexenc/Makefile
  66814. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/speexenc/Makefile'; \
  66815. + $(am__cd) $(top_srcdir) && \
  66816. + $(AUTOMAKE) --gnu win32/speexenc/Makefile
  66817. .PRECIOUS: Makefile
  66818. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  66819. @case '$?' in \
  66820. @@ -208,16 +210,13 @@
  66821. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66822. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  66823. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  66824. +$(am__aclocal_m4_deps):
  66825. mostlyclean-libtool:
  66826. -rm -f *.lo
  66827. clean-libtool:
  66828. -rm -rf .libs _libs
  66829. -
  66830. -distclean-libtool:
  66831. - -rm -f libtool
  66832. -uninstall-info-am:
  66833. tags: TAGS
  66834. TAGS:
  66835. @@ -226,29 +225,32 @@
  66836. distdir: $(DISTFILES)
  66837. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  66838. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  66839. - list='$(DISTFILES)'; for file in $$list; do \
  66840. - case $$file in \
  66841. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  66842. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  66843. - esac; \
  66844. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66845. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  66846. + list='$(DISTFILES)'; \
  66847. + dist_files=`for file in $$list; do echo $$file; done | \
  66848. + sed -e "s|^$$srcdirstrip/||;t" \
  66849. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  66850. + case $$dist_files in \
  66851. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  66852. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  66853. + sort -u` ;; \
  66854. + esac; \
  66855. + for file in $$dist_files; do \
  66856. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  66857. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  66858. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  66859. - dir="/$$dir"; \
  66860. - $(mkdir_p) "$(distdir)$$dir"; \
  66861. - else \
  66862. - dir=''; \
  66863. - fi; \
  66864. if test -d $$d/$$file; then \
  66865. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  66866. + if test -d "$(distdir)/$$file"; then \
  66867. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66868. + fi; \
  66869. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  66870. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  66871. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  66872. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  66873. fi; \
  66874. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  66875. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  66876. else \
  66877. - test -f $(distdir)/$$file \
  66878. - || cp -p $$d/$$file $(distdir)/$$file \
  66879. + test -f "$(distdir)/$$file" \
  66880. + || cp -p $$d/$$file "$(distdir)/$$file" \
  66881. || exit 1; \
  66882. fi; \
  66883. done
  66884. @@ -275,7 +277,8 @@
  66885. clean-generic:
  66886. distclean-generic:
  66887. - -rm -f $(CONFIG_CLEAN_FILES)
  66888. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  66889. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  66890. maintainer-clean-generic:
  66891. @echo "This command is intended for maintainers to use"
  66892. @@ -286,7 +289,7 @@
  66893. distclean: distclean-am
  66894. -rm -f Makefile
  66895. -distclean-am: clean-am distclean-generic distclean-libtool
  66896. +distclean-am: clean-am distclean-generic
  66897. dvi: dvi-am
  66898. @@ -294,18 +297,38 @@
  66899. html: html-am
  66900. +html-am:
  66901. +
  66902. info: info-am
  66903. info-am:
  66904. install-data-am:
  66905. +install-dvi: install-dvi-am
  66906. +
  66907. +install-dvi-am:
  66908. +
  66909. install-exec-am:
  66910. +install-html: install-html-am
  66911. +
  66912. +install-html-am:
  66913. +
  66914. install-info: install-info-am
  66915. +install-info-am:
  66916. +
  66917. install-man:
  66918. +install-pdf: install-pdf-am
  66919. +
  66920. +install-pdf-am:
  66921. +
  66922. +install-ps: install-ps-am
  66923. +
  66924. +install-ps-am:
  66925. +
  66926. installcheck-am:
  66927. maintainer-clean: maintainer-clean-am
  66928. @@ -324,17 +347,21 @@
  66929. ps-am:
  66930. -uninstall-am: uninstall-info-am
  66931. +uninstall-am:
  66932. +
  66933. +.MAKE: install-am install-strip
  66934. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  66935. distclean distclean-generic distclean-libtool distdir dvi \
  66936. dvi-am html html-am info info-am install install-am \
  66937. - install-data install-data-am install-exec install-exec-am \
  66938. - install-info install-info-am install-man install-strip \
  66939. + install-data install-data-am install-dvi install-dvi-am \
  66940. + install-exec install-exec-am install-html install-html-am \
  66941. + install-info install-info-am install-man install-pdf \
  66942. + install-pdf-am install-ps install-ps-am install-strip \
  66943. installcheck installcheck-am installdirs maintainer-clean \
  66944. maintainer-clean-generic mostlyclean mostlyclean-generic \
  66945. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  66946. - uninstall-info-am
  66947. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  66948. +
  66949. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  66950. # Otherwise a system limit (for SysV at least) may be exceeded.
  66951. diff -Nur speex-1.2rc1.orig/win32/VS2003/libspeex/Makefile.in speex-1.2rc1/win32/VS2003/libspeex/Makefile.in
  66952. --- speex-1.2rc1.orig/win32/VS2003/libspeex/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  66953. +++ speex-1.2rc1/win32/VS2003/libspeex/Makefile.in 2011-02-20 22:00:58.193561737 +0100
  66954. @@ -1,8 +1,9 @@
  66955. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  66956. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  66957. # @configure_input@
  66958. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  66959. -# 2003, 2004 Free Software Foundation, Inc.
  66960. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  66961. +# Inc.
  66962. # This Makefile.in is free software; the Free Software Foundation
  66963. # gives unlimited permission to copy and/or distribute it,
  66964. # with or without modifications, as long as this notice is preserved.
  66965. @@ -16,15 +17,12 @@
  66966. # Disable automatic dependency tracking if using other tools than gcc and gmake
  66967. #AUTOMAKE_OPTIONS = no-dependencies
  66968. -srcdir = @srcdir@
  66969. -top_srcdir = @top_srcdir@
  66970. VPATH = @srcdir@
  66971. pkgdatadir = $(datadir)/@PACKAGE@
  66972. -pkglibdir = $(libdir)/@PACKAGE@
  66973. pkgincludedir = $(includedir)/@PACKAGE@
  66974. -top_builddir = ../../..
  66975. +pkglibdir = $(libdir)/@PACKAGE@
  66976. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  66977. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  66978. -INSTALL = @INSTALL@
  66979. install_sh_DATA = $(install_sh) -c -m 644
  66980. install_sh_PROGRAM = $(install_sh) -c
  66981. install_sh_SCRIPT = $(install_sh) -c
  66982. @@ -36,6 +34,7 @@
  66983. NORMAL_UNINSTALL = :
  66984. PRE_UNINSTALL = :
  66985. POST_UNINSTALL = :
  66986. +build_triplet = @build@
  66987. host_triplet = @host@
  66988. subdir = win32/VS2003/libspeex
  66989. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  66990. @@ -44,15 +43,14 @@
  66991. $(top_srcdir)/configure.ac
  66992. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  66993. $(ACLOCAL_M4)
  66994. -mkinstalldirs = $(mkdir_p)
  66995. +mkinstalldirs = $(install_sh) -d
  66996. CONFIG_HEADER = $(top_builddir)/config.h
  66997. CONFIG_CLEAN_FILES =
  66998. +CONFIG_CLEAN_VPATH_FILES =
  66999. SOURCES =
  67000. DIST_SOURCES =
  67001. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  67002. ACLOCAL = @ACLOCAL@
  67003. -AMDEP_FALSE = @AMDEP_FALSE@
  67004. -AMDEP_TRUE = @AMDEP_TRUE@
  67005. AMTAR = @AMTAR@
  67006. AR = @AR@
  67007. AS = @AS@
  67008. @@ -60,60 +58,57 @@
  67009. AUTOHEADER = @AUTOHEADER@
  67010. AUTOMAKE = @AUTOMAKE@
  67011. AWK = @AWK@
  67012. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  67013. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  67014. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  67015. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  67016. CC = @CC@
  67017. CCDEPMODE = @CCDEPMODE@
  67018. CFLAGS = @CFLAGS@
  67019. CPP = @CPP@
  67020. CPPFLAGS = @CPPFLAGS@
  67021. -CXX = @CXX@
  67022. -CXXCPP = @CXXCPP@
  67023. -CXXDEPMODE = @CXXDEPMODE@
  67024. -CXXFLAGS = @CXXFLAGS@
  67025. CYGPATH_W = @CYGPATH_W@
  67026. DEFS = @DEFS@
  67027. DEPDIR = @DEPDIR@
  67028. DLLTOOL = @DLLTOOL@
  67029. DSYMUTIL = @DSYMUTIL@
  67030. -ECHO = @ECHO@
  67031. +DUMPBIN = @DUMPBIN@
  67032. ECHO_C = @ECHO_C@
  67033. ECHO_N = @ECHO_N@
  67034. ECHO_T = @ECHO_T@
  67035. EGREP = @EGREP@
  67036. EXEEXT = @EXEEXT@
  67037. -F77 = @F77@
  67038. -FFLAGS = @FFLAGS@
  67039. FFT_CFLAGS = @FFT_CFLAGS@
  67040. FFT_LIBS = @FFT_LIBS@
  67041. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  67042. +FGREP = @FGREP@
  67043. GREP = @GREP@
  67044. +INSTALL = @INSTALL@
  67045. INSTALL_DATA = @INSTALL_DATA@
  67046. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  67047. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  67048. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  67049. +LD = @LD@
  67050. LDFLAGS = @LDFLAGS@
  67051. LIBOBJS = @LIBOBJS@
  67052. LIBS = @LIBS@
  67053. LIBTOOL = @LIBTOOL@
  67054. +LIPO = @LIPO@
  67055. LN_S = @LN_S@
  67056. LTLIBOBJS = @LTLIBOBJS@
  67057. MAINT = @MAINT@
  67058. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  67059. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  67060. MAKEINFO = @MAKEINFO@
  67061. +MKDIR_P = @MKDIR_P@
  67062. +NM = @NM@
  67063. NMEDIT = @NMEDIT@
  67064. OBJDUMP = @OBJDUMP@
  67065. OBJEXT = @OBJEXT@
  67066. OGG_CFLAGS = @OGG_CFLAGS@
  67067. OGG_LIBS = @OGG_LIBS@
  67068. +OTOOL = @OTOOL@
  67069. +OTOOL64 = @OTOOL64@
  67070. PACKAGE = @PACKAGE@
  67071. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  67072. PACKAGE_NAME = @PACKAGE_NAME@
  67073. PACKAGE_STRING = @PACKAGE_STRING@
  67074. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  67075. +PACKAGE_URL = @PACKAGE_URL@
  67076. PACKAGE_VERSION = @PACKAGE_VERSION@
  67077. PATH_SEPARATOR = @PATH_SEPARATOR@
  67078. PKG_CONFIG = @PKG_CONFIG@
  67079. @@ -129,22 +124,24 @@
  67080. SPEEX_VERSION = @SPEEX_VERSION@
  67081. STRIP = @STRIP@
  67082. VERSION = @VERSION@
  67083. +abs_builddir = @abs_builddir@
  67084. +abs_srcdir = @abs_srcdir@
  67085. +abs_top_builddir = @abs_top_builddir@
  67086. +abs_top_srcdir = @abs_top_srcdir@
  67087. ac_ct_CC = @ac_ct_CC@
  67088. -ac_ct_CXX = @ac_ct_CXX@
  67089. -ac_ct_F77 = @ac_ct_F77@
  67090. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  67091. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  67092. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  67093. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  67094. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  67095. am__include = @am__include@
  67096. am__leading_dot = @am__leading_dot@
  67097. am__quote = @am__quote@
  67098. +am__tar = @am__tar@
  67099. +am__untar = @am__untar@
  67100. bindir = @bindir@
  67101. build = @build@
  67102. build_alias = @build_alias@
  67103. build_cpu = @build_cpu@
  67104. build_os = @build_os@
  67105. build_vendor = @build_vendor@
  67106. +builddir = @builddir@
  67107. datadir = @datadir@
  67108. datarootdir = @datarootdir@
  67109. docdir = @docdir@
  67110. @@ -163,6 +160,7 @@
  67111. libexecdir = @libexecdir@
  67112. localedir = @localedir@
  67113. localstatedir = @localstatedir@
  67114. +lt_ECHO = @lt_ECHO@
  67115. mandir = @mandir@
  67116. mkdir_p = @mkdir_p@
  67117. oldincludedir = @oldincludedir@
  67118. @@ -173,8 +171,12 @@
  67119. sbindir = @sbindir@
  67120. sharedstatedir = @sharedstatedir@
  67121. src = @src@
  67122. +srcdir = @srcdir@
  67123. sysconfdir = @sysconfdir@
  67124. target_alias = @target_alias@
  67125. +top_build_prefix = @top_build_prefix@
  67126. +top_builddir = @top_builddir@
  67127. +top_srcdir = @top_srcdir@
  67128. EXTRA_DIST = libspeex.vcproj
  67129. all: all-am
  67130. @@ -183,14 +185,14 @@
  67131. @for dep in $?; do \
  67132. case '$(am__configure_deps)' in \
  67133. *$$dep*) \
  67134. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  67135. - && exit 0; \
  67136. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  67137. + && { if test -f $@; then exit 0; else break; fi; }; \
  67138. exit 1;; \
  67139. esac; \
  67140. done; \
  67141. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/libspeex/Makefile'; \
  67142. - cd $(top_srcdir) && \
  67143. - $(AUTOMAKE) --gnu win32/VS2003/libspeex/Makefile
  67144. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/libspeex/Makefile'; \
  67145. + $(am__cd) $(top_srcdir) && \
  67146. + $(AUTOMAKE) --gnu win32/VS2003/libspeex/Makefile
  67147. .PRECIOUS: Makefile
  67148. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  67149. @case '$?' in \
  67150. @@ -208,16 +210,13 @@
  67151. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67152. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  67153. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67154. +$(am__aclocal_m4_deps):
  67155. mostlyclean-libtool:
  67156. -rm -f *.lo
  67157. clean-libtool:
  67158. -rm -rf .libs _libs
  67159. -
  67160. -distclean-libtool:
  67161. - -rm -f libtool
  67162. -uninstall-info-am:
  67163. tags: TAGS
  67164. TAGS:
  67165. @@ -226,29 +225,32 @@
  67166. distdir: $(DISTFILES)
  67167. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  67168. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  67169. - list='$(DISTFILES)'; for file in $$list; do \
  67170. - case $$file in \
  67171. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  67172. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  67173. - esac; \
  67174. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  67175. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  67176. + list='$(DISTFILES)'; \
  67177. + dist_files=`for file in $$list; do echo $$file; done | \
  67178. + sed -e "s|^$$srcdirstrip/||;t" \
  67179. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  67180. + case $$dist_files in \
  67181. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  67182. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  67183. + sort -u` ;; \
  67184. + esac; \
  67185. + for file in $$dist_files; do \
  67186. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  67187. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  67188. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  67189. - dir="/$$dir"; \
  67190. - $(mkdir_p) "$(distdir)$$dir"; \
  67191. - else \
  67192. - dir=''; \
  67193. - fi; \
  67194. if test -d $$d/$$file; then \
  67195. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  67196. + if test -d "$(distdir)/$$file"; then \
  67197. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67198. + fi; \
  67199. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  67200. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  67201. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  67202. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67203. fi; \
  67204. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  67205. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  67206. else \
  67207. - test -f $(distdir)/$$file \
  67208. - || cp -p $$d/$$file $(distdir)/$$file \
  67209. + test -f "$(distdir)/$$file" \
  67210. + || cp -p $$d/$$file "$(distdir)/$$file" \
  67211. || exit 1; \
  67212. fi; \
  67213. done
  67214. @@ -275,7 +277,8 @@
  67215. clean-generic:
  67216. distclean-generic:
  67217. - -rm -f $(CONFIG_CLEAN_FILES)
  67218. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  67219. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  67220. maintainer-clean-generic:
  67221. @echo "This command is intended for maintainers to use"
  67222. @@ -286,7 +289,7 @@
  67223. distclean: distclean-am
  67224. -rm -f Makefile
  67225. -distclean-am: clean-am distclean-generic distclean-libtool
  67226. +distclean-am: clean-am distclean-generic
  67227. dvi: dvi-am
  67228. @@ -294,18 +297,38 @@
  67229. html: html-am
  67230. +html-am:
  67231. +
  67232. info: info-am
  67233. info-am:
  67234. install-data-am:
  67235. +install-dvi: install-dvi-am
  67236. +
  67237. +install-dvi-am:
  67238. +
  67239. install-exec-am:
  67240. +install-html: install-html-am
  67241. +
  67242. +install-html-am:
  67243. +
  67244. install-info: install-info-am
  67245. +install-info-am:
  67246. +
  67247. install-man:
  67248. +install-pdf: install-pdf-am
  67249. +
  67250. +install-pdf-am:
  67251. +
  67252. +install-ps: install-ps-am
  67253. +
  67254. +install-ps-am:
  67255. +
  67256. installcheck-am:
  67257. maintainer-clean: maintainer-clean-am
  67258. @@ -324,17 +347,21 @@
  67259. ps-am:
  67260. -uninstall-am: uninstall-info-am
  67261. +uninstall-am:
  67262. +
  67263. +.MAKE: install-am install-strip
  67264. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  67265. distclean distclean-generic distclean-libtool distdir dvi \
  67266. dvi-am html html-am info info-am install install-am \
  67267. - install-data install-data-am install-exec install-exec-am \
  67268. - install-info install-info-am install-man install-strip \
  67269. + install-data install-data-am install-dvi install-dvi-am \
  67270. + install-exec install-exec-am install-html install-html-am \
  67271. + install-info install-info-am install-man install-pdf \
  67272. + install-pdf-am install-ps install-ps-am install-strip \
  67273. installcheck installcheck-am installdirs maintainer-clean \
  67274. maintainer-clean-generic mostlyclean mostlyclean-generic \
  67275. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  67276. - uninstall-info-am
  67277. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  67278. +
  67279. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  67280. # Otherwise a system limit (for SysV at least) may be exceeded.
  67281. diff -Nur speex-1.2rc1.orig/win32/VS2003/libspeexdsp/Makefile.in speex-1.2rc1/win32/VS2003/libspeexdsp/Makefile.in
  67282. --- speex-1.2rc1.orig/win32/VS2003/libspeexdsp/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  67283. +++ speex-1.2rc1/win32/VS2003/libspeexdsp/Makefile.in 2011-02-20 22:00:58.213804386 +0100
  67284. @@ -1,8 +1,9 @@
  67285. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  67286. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  67287. # @configure_input@
  67288. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  67289. -# 2003, 2004 Free Software Foundation, Inc.
  67290. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  67291. +# Inc.
  67292. # This Makefile.in is free software; the Free Software Foundation
  67293. # gives unlimited permission to copy and/or distribute it,
  67294. # with or without modifications, as long as this notice is preserved.
  67295. @@ -16,15 +17,12 @@
  67296. # Disable automatic dependency tracking if using other tools than gcc and gmake
  67297. #AUTOMAKE_OPTIONS = no-dependencies
  67298. -srcdir = @srcdir@
  67299. -top_srcdir = @top_srcdir@
  67300. VPATH = @srcdir@
  67301. pkgdatadir = $(datadir)/@PACKAGE@
  67302. -pkglibdir = $(libdir)/@PACKAGE@
  67303. pkgincludedir = $(includedir)/@PACKAGE@
  67304. -top_builddir = ../../..
  67305. +pkglibdir = $(libdir)/@PACKAGE@
  67306. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  67307. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  67308. -INSTALL = @INSTALL@
  67309. install_sh_DATA = $(install_sh) -c -m 644
  67310. install_sh_PROGRAM = $(install_sh) -c
  67311. install_sh_SCRIPT = $(install_sh) -c
  67312. @@ -36,6 +34,7 @@
  67313. NORMAL_UNINSTALL = :
  67314. PRE_UNINSTALL = :
  67315. POST_UNINSTALL = :
  67316. +build_triplet = @build@
  67317. host_triplet = @host@
  67318. subdir = win32/VS2003/libspeexdsp
  67319. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  67320. @@ -44,15 +43,14 @@
  67321. $(top_srcdir)/configure.ac
  67322. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  67323. $(ACLOCAL_M4)
  67324. -mkinstalldirs = $(mkdir_p)
  67325. +mkinstalldirs = $(install_sh) -d
  67326. CONFIG_HEADER = $(top_builddir)/config.h
  67327. CONFIG_CLEAN_FILES =
  67328. +CONFIG_CLEAN_VPATH_FILES =
  67329. SOURCES =
  67330. DIST_SOURCES =
  67331. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  67332. ACLOCAL = @ACLOCAL@
  67333. -AMDEP_FALSE = @AMDEP_FALSE@
  67334. -AMDEP_TRUE = @AMDEP_TRUE@
  67335. AMTAR = @AMTAR@
  67336. AR = @AR@
  67337. AS = @AS@
  67338. @@ -60,60 +58,57 @@
  67339. AUTOHEADER = @AUTOHEADER@
  67340. AUTOMAKE = @AUTOMAKE@
  67341. AWK = @AWK@
  67342. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  67343. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  67344. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  67345. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  67346. CC = @CC@
  67347. CCDEPMODE = @CCDEPMODE@
  67348. CFLAGS = @CFLAGS@
  67349. CPP = @CPP@
  67350. CPPFLAGS = @CPPFLAGS@
  67351. -CXX = @CXX@
  67352. -CXXCPP = @CXXCPP@
  67353. -CXXDEPMODE = @CXXDEPMODE@
  67354. -CXXFLAGS = @CXXFLAGS@
  67355. CYGPATH_W = @CYGPATH_W@
  67356. DEFS = @DEFS@
  67357. DEPDIR = @DEPDIR@
  67358. DLLTOOL = @DLLTOOL@
  67359. DSYMUTIL = @DSYMUTIL@
  67360. -ECHO = @ECHO@
  67361. +DUMPBIN = @DUMPBIN@
  67362. ECHO_C = @ECHO_C@
  67363. ECHO_N = @ECHO_N@
  67364. ECHO_T = @ECHO_T@
  67365. EGREP = @EGREP@
  67366. EXEEXT = @EXEEXT@
  67367. -F77 = @F77@
  67368. -FFLAGS = @FFLAGS@
  67369. FFT_CFLAGS = @FFT_CFLAGS@
  67370. FFT_LIBS = @FFT_LIBS@
  67371. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  67372. +FGREP = @FGREP@
  67373. GREP = @GREP@
  67374. +INSTALL = @INSTALL@
  67375. INSTALL_DATA = @INSTALL_DATA@
  67376. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  67377. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  67378. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  67379. +LD = @LD@
  67380. LDFLAGS = @LDFLAGS@
  67381. LIBOBJS = @LIBOBJS@
  67382. LIBS = @LIBS@
  67383. LIBTOOL = @LIBTOOL@
  67384. +LIPO = @LIPO@
  67385. LN_S = @LN_S@
  67386. LTLIBOBJS = @LTLIBOBJS@
  67387. MAINT = @MAINT@
  67388. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  67389. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  67390. MAKEINFO = @MAKEINFO@
  67391. +MKDIR_P = @MKDIR_P@
  67392. +NM = @NM@
  67393. NMEDIT = @NMEDIT@
  67394. OBJDUMP = @OBJDUMP@
  67395. OBJEXT = @OBJEXT@
  67396. OGG_CFLAGS = @OGG_CFLAGS@
  67397. OGG_LIBS = @OGG_LIBS@
  67398. +OTOOL = @OTOOL@
  67399. +OTOOL64 = @OTOOL64@
  67400. PACKAGE = @PACKAGE@
  67401. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  67402. PACKAGE_NAME = @PACKAGE_NAME@
  67403. PACKAGE_STRING = @PACKAGE_STRING@
  67404. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  67405. +PACKAGE_URL = @PACKAGE_URL@
  67406. PACKAGE_VERSION = @PACKAGE_VERSION@
  67407. PATH_SEPARATOR = @PATH_SEPARATOR@
  67408. PKG_CONFIG = @PKG_CONFIG@
  67409. @@ -129,22 +124,24 @@
  67410. SPEEX_VERSION = @SPEEX_VERSION@
  67411. STRIP = @STRIP@
  67412. VERSION = @VERSION@
  67413. +abs_builddir = @abs_builddir@
  67414. +abs_srcdir = @abs_srcdir@
  67415. +abs_top_builddir = @abs_top_builddir@
  67416. +abs_top_srcdir = @abs_top_srcdir@
  67417. ac_ct_CC = @ac_ct_CC@
  67418. -ac_ct_CXX = @ac_ct_CXX@
  67419. -ac_ct_F77 = @ac_ct_F77@
  67420. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  67421. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  67422. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  67423. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  67424. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  67425. am__include = @am__include@
  67426. am__leading_dot = @am__leading_dot@
  67427. am__quote = @am__quote@
  67428. +am__tar = @am__tar@
  67429. +am__untar = @am__untar@
  67430. bindir = @bindir@
  67431. build = @build@
  67432. build_alias = @build_alias@
  67433. build_cpu = @build_cpu@
  67434. build_os = @build_os@
  67435. build_vendor = @build_vendor@
  67436. +builddir = @builddir@
  67437. datadir = @datadir@
  67438. datarootdir = @datarootdir@
  67439. docdir = @docdir@
  67440. @@ -163,6 +160,7 @@
  67441. libexecdir = @libexecdir@
  67442. localedir = @localedir@
  67443. localstatedir = @localstatedir@
  67444. +lt_ECHO = @lt_ECHO@
  67445. mandir = @mandir@
  67446. mkdir_p = @mkdir_p@
  67447. oldincludedir = @oldincludedir@
  67448. @@ -173,8 +171,12 @@
  67449. sbindir = @sbindir@
  67450. sharedstatedir = @sharedstatedir@
  67451. src = @src@
  67452. +srcdir = @srcdir@
  67453. sysconfdir = @sysconfdir@
  67454. target_alias = @target_alias@
  67455. +top_build_prefix = @top_build_prefix@
  67456. +top_builddir = @top_builddir@
  67457. +top_srcdir = @top_srcdir@
  67458. EXTRA_DIST = libspeexdsp.vcproj
  67459. all: all-am
  67460. @@ -183,14 +185,14 @@
  67461. @for dep in $?; do \
  67462. case '$(am__configure_deps)' in \
  67463. *$$dep*) \
  67464. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  67465. - && exit 0; \
  67466. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  67467. + && { if test -f $@; then exit 0; else break; fi; }; \
  67468. exit 1;; \
  67469. esac; \
  67470. done; \
  67471. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/libspeexdsp/Makefile'; \
  67472. - cd $(top_srcdir) && \
  67473. - $(AUTOMAKE) --gnu win32/VS2003/libspeexdsp/Makefile
  67474. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/libspeexdsp/Makefile'; \
  67475. + $(am__cd) $(top_srcdir) && \
  67476. + $(AUTOMAKE) --gnu win32/VS2003/libspeexdsp/Makefile
  67477. .PRECIOUS: Makefile
  67478. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  67479. @case '$?' in \
  67480. @@ -208,16 +210,13 @@
  67481. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67482. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  67483. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67484. +$(am__aclocal_m4_deps):
  67485. mostlyclean-libtool:
  67486. -rm -f *.lo
  67487. clean-libtool:
  67488. -rm -rf .libs _libs
  67489. -
  67490. -distclean-libtool:
  67491. - -rm -f libtool
  67492. -uninstall-info-am:
  67493. tags: TAGS
  67494. TAGS:
  67495. @@ -226,29 +225,32 @@
  67496. distdir: $(DISTFILES)
  67497. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  67498. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  67499. - list='$(DISTFILES)'; for file in $$list; do \
  67500. - case $$file in \
  67501. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  67502. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  67503. - esac; \
  67504. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  67505. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  67506. + list='$(DISTFILES)'; \
  67507. + dist_files=`for file in $$list; do echo $$file; done | \
  67508. + sed -e "s|^$$srcdirstrip/||;t" \
  67509. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  67510. + case $$dist_files in \
  67511. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  67512. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  67513. + sort -u` ;; \
  67514. + esac; \
  67515. + for file in $$dist_files; do \
  67516. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  67517. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  67518. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  67519. - dir="/$$dir"; \
  67520. - $(mkdir_p) "$(distdir)$$dir"; \
  67521. - else \
  67522. - dir=''; \
  67523. - fi; \
  67524. if test -d $$d/$$file; then \
  67525. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  67526. + if test -d "$(distdir)/$$file"; then \
  67527. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67528. + fi; \
  67529. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  67530. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  67531. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  67532. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  67533. fi; \
  67534. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  67535. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  67536. else \
  67537. - test -f $(distdir)/$$file \
  67538. - || cp -p $$d/$$file $(distdir)/$$file \
  67539. + test -f "$(distdir)/$$file" \
  67540. + || cp -p $$d/$$file "$(distdir)/$$file" \
  67541. || exit 1; \
  67542. fi; \
  67543. done
  67544. @@ -275,7 +277,8 @@
  67545. clean-generic:
  67546. distclean-generic:
  67547. - -rm -f $(CONFIG_CLEAN_FILES)
  67548. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  67549. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  67550. maintainer-clean-generic:
  67551. @echo "This command is intended for maintainers to use"
  67552. @@ -286,7 +289,7 @@
  67553. distclean: distclean-am
  67554. -rm -f Makefile
  67555. -distclean-am: clean-am distclean-generic distclean-libtool
  67556. +distclean-am: clean-am distclean-generic
  67557. dvi: dvi-am
  67558. @@ -294,18 +297,38 @@
  67559. html: html-am
  67560. +html-am:
  67561. +
  67562. info: info-am
  67563. info-am:
  67564. install-data-am:
  67565. +install-dvi: install-dvi-am
  67566. +
  67567. +install-dvi-am:
  67568. +
  67569. install-exec-am:
  67570. +install-html: install-html-am
  67571. +
  67572. +install-html-am:
  67573. +
  67574. install-info: install-info-am
  67575. +install-info-am:
  67576. +
  67577. install-man:
  67578. +install-pdf: install-pdf-am
  67579. +
  67580. +install-pdf-am:
  67581. +
  67582. +install-ps: install-ps-am
  67583. +
  67584. +install-ps-am:
  67585. +
  67586. installcheck-am:
  67587. maintainer-clean: maintainer-clean-am
  67588. @@ -324,17 +347,21 @@
  67589. ps-am:
  67590. -uninstall-am: uninstall-info-am
  67591. +uninstall-am:
  67592. +
  67593. +.MAKE: install-am install-strip
  67594. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  67595. distclean distclean-generic distclean-libtool distdir dvi \
  67596. dvi-am html html-am info info-am install install-am \
  67597. - install-data install-data-am install-exec install-exec-am \
  67598. - install-info install-info-am install-man install-strip \
  67599. + install-data install-data-am install-dvi install-dvi-am \
  67600. + install-exec install-exec-am install-html install-html-am \
  67601. + install-info install-info-am install-man install-pdf \
  67602. + install-pdf-am install-ps install-ps-am install-strip \
  67603. installcheck installcheck-am installdirs maintainer-clean \
  67604. maintainer-clean-generic mostlyclean mostlyclean-generic \
  67605. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  67606. - uninstall-info-am
  67607. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  67608. +
  67609. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  67610. # Otherwise a system limit (for SysV at least) may be exceeded.
  67611. diff -Nur speex-1.2rc1.orig/win32/VS2003/Makefile.in speex-1.2rc1/win32/VS2003/Makefile.in
  67612. --- speex-1.2rc1.orig/win32/VS2003/Makefile.in 2008-07-21 04:17:20.000000000 +0200
  67613. +++ speex-1.2rc1/win32/VS2003/Makefile.in 2011-02-20 22:00:58.163569541 +0100
  67614. @@ -1,8 +1,9 @@
  67615. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  67616. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  67617. # @configure_input@
  67618. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  67619. -# 2003, 2004 Free Software Foundation, Inc.
  67620. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  67621. +# Inc.
  67622. # This Makefile.in is free software; the Free Software Foundation
  67623. # gives unlimited permission to copy and/or distribute it,
  67624. # with or without modifications, as long as this notice is preserved.
  67625. @@ -16,15 +17,12 @@
  67626. # Disable automatic dependency tracking if using other tools than gcc and gmake
  67627. #AUTOMAKE_OPTIONS = no-dependencies
  67628. -srcdir = @srcdir@
  67629. -top_srcdir = @top_srcdir@
  67630. VPATH = @srcdir@
  67631. pkgdatadir = $(datadir)/@PACKAGE@
  67632. -pkglibdir = $(libdir)/@PACKAGE@
  67633. pkgincludedir = $(includedir)/@PACKAGE@
  67634. -top_builddir = ../..
  67635. +pkglibdir = $(libdir)/@PACKAGE@
  67636. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  67637. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  67638. -INSTALL = @INSTALL@
  67639. install_sh_DATA = $(install_sh) -c -m 644
  67640. install_sh_PROGRAM = $(install_sh) -c
  67641. install_sh_SCRIPT = $(install_sh) -c
  67642. @@ -36,6 +34,7 @@
  67643. NORMAL_UNINSTALL = :
  67644. PRE_UNINSTALL = :
  67645. POST_UNINSTALL = :
  67646. +build_triplet = @build@
  67647. host_triplet = @host@
  67648. subdir = win32/VS2003
  67649. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  67650. @@ -44,24 +43,54 @@
  67651. $(top_srcdir)/configure.ac
  67652. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  67653. $(ACLOCAL_M4)
  67654. -mkinstalldirs = $(mkdir_p)
  67655. +mkinstalldirs = $(install_sh) -d
  67656. CONFIG_HEADER = $(top_builddir)/config.h
  67657. CONFIG_CLEAN_FILES =
  67658. +CONFIG_CLEAN_VPATH_FILES =
  67659. SOURCES =
  67660. DIST_SOURCES =
  67661. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  67662. html-recursive info-recursive install-data-recursive \
  67663. - install-exec-recursive install-info-recursive \
  67664. - install-recursive installcheck-recursive installdirs-recursive \
  67665. - pdf-recursive ps-recursive uninstall-info-recursive \
  67666. - uninstall-recursive
  67667. + install-dvi-recursive install-exec-recursive \
  67668. + install-html-recursive install-info-recursive \
  67669. + install-pdf-recursive install-ps-recursive install-recursive \
  67670. + installcheck-recursive installdirs-recursive pdf-recursive \
  67671. + ps-recursive uninstall-recursive
  67672. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  67673. + distclean-recursive maintainer-clean-recursive
  67674. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  67675. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  67676. + distdir
  67677. ETAGS = etags
  67678. CTAGS = ctags
  67679. DIST_SUBDIRS = $(SUBDIRS)
  67680. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  67681. +am__relativize = \
  67682. + dir0=`pwd`; \
  67683. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  67684. + sed_rest='s,^[^/]*/*,,'; \
  67685. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  67686. + sed_butlast='s,/*[^/]*$$,,'; \
  67687. + while test -n "$$dir1"; do \
  67688. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  67689. + if test "$$first" != "."; then \
  67690. + if test "$$first" = ".."; then \
  67691. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  67692. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  67693. + else \
  67694. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  67695. + if test "$$first2" = "$$first"; then \
  67696. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  67697. + else \
  67698. + dir2="../$$dir2"; \
  67699. + fi; \
  67700. + dir0="$$dir0"/"$$first"; \
  67701. + fi; \
  67702. + fi; \
  67703. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  67704. + done; \
  67705. + reldir="$$dir2"
  67706. ACLOCAL = @ACLOCAL@
  67707. -AMDEP_FALSE = @AMDEP_FALSE@
  67708. -AMDEP_TRUE = @AMDEP_TRUE@
  67709. AMTAR = @AMTAR@
  67710. AR = @AR@
  67711. AS = @AS@
  67712. @@ -69,60 +98,57 @@
  67713. AUTOHEADER = @AUTOHEADER@
  67714. AUTOMAKE = @AUTOMAKE@
  67715. AWK = @AWK@
  67716. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  67717. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  67718. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  67719. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  67720. CC = @CC@
  67721. CCDEPMODE = @CCDEPMODE@
  67722. CFLAGS = @CFLAGS@
  67723. CPP = @CPP@
  67724. CPPFLAGS = @CPPFLAGS@
  67725. -CXX = @CXX@
  67726. -CXXCPP = @CXXCPP@
  67727. -CXXDEPMODE = @CXXDEPMODE@
  67728. -CXXFLAGS = @CXXFLAGS@
  67729. CYGPATH_W = @CYGPATH_W@
  67730. DEFS = @DEFS@
  67731. DEPDIR = @DEPDIR@
  67732. DLLTOOL = @DLLTOOL@
  67733. DSYMUTIL = @DSYMUTIL@
  67734. -ECHO = @ECHO@
  67735. +DUMPBIN = @DUMPBIN@
  67736. ECHO_C = @ECHO_C@
  67737. ECHO_N = @ECHO_N@
  67738. ECHO_T = @ECHO_T@
  67739. EGREP = @EGREP@
  67740. EXEEXT = @EXEEXT@
  67741. -F77 = @F77@
  67742. -FFLAGS = @FFLAGS@
  67743. FFT_CFLAGS = @FFT_CFLAGS@
  67744. FFT_LIBS = @FFT_LIBS@
  67745. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  67746. +FGREP = @FGREP@
  67747. GREP = @GREP@
  67748. +INSTALL = @INSTALL@
  67749. INSTALL_DATA = @INSTALL_DATA@
  67750. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  67751. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  67752. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  67753. +LD = @LD@
  67754. LDFLAGS = @LDFLAGS@
  67755. LIBOBJS = @LIBOBJS@
  67756. LIBS = @LIBS@
  67757. LIBTOOL = @LIBTOOL@
  67758. +LIPO = @LIPO@
  67759. LN_S = @LN_S@
  67760. LTLIBOBJS = @LTLIBOBJS@
  67761. MAINT = @MAINT@
  67762. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  67763. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  67764. MAKEINFO = @MAKEINFO@
  67765. +MKDIR_P = @MKDIR_P@
  67766. +NM = @NM@
  67767. NMEDIT = @NMEDIT@
  67768. OBJDUMP = @OBJDUMP@
  67769. OBJEXT = @OBJEXT@
  67770. OGG_CFLAGS = @OGG_CFLAGS@
  67771. OGG_LIBS = @OGG_LIBS@
  67772. +OTOOL = @OTOOL@
  67773. +OTOOL64 = @OTOOL64@
  67774. PACKAGE = @PACKAGE@
  67775. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  67776. PACKAGE_NAME = @PACKAGE_NAME@
  67777. PACKAGE_STRING = @PACKAGE_STRING@
  67778. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  67779. +PACKAGE_URL = @PACKAGE_URL@
  67780. PACKAGE_VERSION = @PACKAGE_VERSION@
  67781. PATH_SEPARATOR = @PATH_SEPARATOR@
  67782. PKG_CONFIG = @PKG_CONFIG@
  67783. @@ -138,22 +164,24 @@
  67784. SPEEX_VERSION = @SPEEX_VERSION@
  67785. STRIP = @STRIP@
  67786. VERSION = @VERSION@
  67787. +abs_builddir = @abs_builddir@
  67788. +abs_srcdir = @abs_srcdir@
  67789. +abs_top_builddir = @abs_top_builddir@
  67790. +abs_top_srcdir = @abs_top_srcdir@
  67791. ac_ct_CC = @ac_ct_CC@
  67792. -ac_ct_CXX = @ac_ct_CXX@
  67793. -ac_ct_F77 = @ac_ct_F77@
  67794. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  67795. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  67796. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  67797. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  67798. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  67799. am__include = @am__include@
  67800. am__leading_dot = @am__leading_dot@
  67801. am__quote = @am__quote@
  67802. +am__tar = @am__tar@
  67803. +am__untar = @am__untar@
  67804. bindir = @bindir@
  67805. build = @build@
  67806. build_alias = @build_alias@
  67807. build_cpu = @build_cpu@
  67808. build_os = @build_os@
  67809. build_vendor = @build_vendor@
  67810. +builddir = @builddir@
  67811. datadir = @datadir@
  67812. datarootdir = @datarootdir@
  67813. docdir = @docdir@
  67814. @@ -172,6 +200,7 @@
  67815. libexecdir = @libexecdir@
  67816. localedir = @localedir@
  67817. localstatedir = @localstatedir@
  67818. +lt_ECHO = @lt_ECHO@
  67819. mandir = @mandir@
  67820. mkdir_p = @mkdir_p@
  67821. oldincludedir = @oldincludedir@
  67822. @@ -182,8 +211,12 @@
  67823. sbindir = @sbindir@
  67824. sharedstatedir = @sharedstatedir@
  67825. src = @src@
  67826. +srcdir = @srcdir@
  67827. sysconfdir = @sysconfdir@
  67828. target_alias = @target_alias@
  67829. +top_build_prefix = @top_build_prefix@
  67830. +top_builddir = @top_builddir@
  67831. +top_srcdir = @top_srcdir@
  67832. SUBDIRS = libspeex libspeexdsp speexenc speexdec tests
  67833. EXTRA_DIST = libspeex.sln
  67834. all: all-recursive
  67835. @@ -193,14 +226,14 @@
  67836. @for dep in $?; do \
  67837. case '$(am__configure_deps)' in \
  67838. *$$dep*) \
  67839. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  67840. - && exit 0; \
  67841. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  67842. + && { if test -f $@; then exit 0; else break; fi; }; \
  67843. exit 1;; \
  67844. esac; \
  67845. done; \
  67846. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/Makefile'; \
  67847. - cd $(top_srcdir) && \
  67848. - $(AUTOMAKE) --gnu win32/VS2003/Makefile
  67849. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/Makefile'; \
  67850. + $(am__cd) $(top_srcdir) && \
  67851. + $(AUTOMAKE) --gnu win32/VS2003/Makefile
  67852. .PRECIOUS: Makefile
  67853. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  67854. @case '$?' in \
  67855. @@ -218,6 +251,7 @@
  67856. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67857. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  67858. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  67859. +$(am__aclocal_m4_deps):
  67860. mostlyclean-libtool:
  67861. -rm -f *.lo
  67862. @@ -225,10 +259,6 @@
  67863. clean-libtool:
  67864. -rm -rf .libs _libs
  67865. -distclean-libtool:
  67866. - -rm -f libtool
  67867. -uninstall-info-am:
  67868. -
  67869. # This directory's subdirectories are mostly independent; you can cd
  67870. # into them and run `make' without going through this Makefile.
  67871. # To change the values of `make' variables: instead of editing Makefiles,
  67872. @@ -236,7 +266,13 @@
  67873. # (which will cause the Makefiles to be regenerated when you run `make');
  67874. # (2) otherwise, pass the desired values on the `make' command line.
  67875. $(RECURSIVE_TARGETS):
  67876. - @set fnord $$MAKEFLAGS; amf=$$2; \
  67877. + @fail= failcom='exit 1'; \
  67878. + for f in x $$MAKEFLAGS; do \
  67879. + case $$f in \
  67880. + *=* | --[!k]*);; \
  67881. + *k*) failcom='fail=yes';; \
  67882. + esac; \
  67883. + done; \
  67884. dot_seen=no; \
  67885. target=`echo $@ | sed s/-recursive//`; \
  67886. list='$(SUBDIRS)'; for subdir in $$list; do \
  67887. @@ -247,16 +283,21 @@
  67888. else \
  67889. local_target="$$target"; \
  67890. fi; \
  67891. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  67892. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  67893. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  67894. + || eval $$failcom; \
  67895. done; \
  67896. if test "$$dot_seen" = "no"; then \
  67897. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  67898. fi; test -z "$$fail"
  67899. -mostlyclean-recursive clean-recursive distclean-recursive \
  67900. -maintainer-clean-recursive:
  67901. - @set fnord $$MAKEFLAGS; amf=$$2; \
  67902. +$(RECURSIVE_CLEAN_TARGETS):
  67903. + @fail= failcom='exit 1'; \
  67904. + for f in x $$MAKEFLAGS; do \
  67905. + case $$f in \
  67906. + *=* | --[!k]*);; \
  67907. + *k*) failcom='fail=yes';; \
  67908. + esac; \
  67909. + done; \
  67910. dot_seen=no; \
  67911. case "$@" in \
  67912. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  67913. @@ -276,16 +317,16 @@
  67914. else \
  67915. local_target="$$target"; \
  67916. fi; \
  67917. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  67918. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  67919. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  67920. + || eval $$failcom; \
  67921. done && test -z "$$fail"
  67922. tags-recursive:
  67923. list='$(SUBDIRS)'; for subdir in $$list; do \
  67924. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  67925. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  67926. done
  67927. ctags-recursive:
  67928. list='$(SUBDIRS)'; for subdir in $$list; do \
  67929. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  67930. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  67931. done
  67932. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  67933. @@ -293,14 +334,14 @@
  67934. unique=`for i in $$list; do \
  67935. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  67936. done | \
  67937. - $(AWK) ' { files[$$0] = 1; } \
  67938. - END { for (i in files) print i; }'`; \
  67939. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  67940. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  67941. mkid -fID $$unique
  67942. tags: TAGS
  67943. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  67944. $(TAGS_FILES) $(LISP)
  67945. - tags=; \
  67946. + set x; \
  67947. here=`pwd`; \
  67948. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  67949. include_option=--etags-include; \
  67950. @@ -312,79 +353,101 @@
  67951. list='$(SUBDIRS)'; for subdir in $$list; do \
  67952. if test "$$subdir" = .; then :; else \
  67953. test ! -f $$subdir/TAGS || \
  67954. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  67955. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  67956. fi; \
  67957. done; \
  67958. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  67959. unique=`for i in $$list; do \
  67960. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  67961. done | \
  67962. - $(AWK) ' { files[$$0] = 1; } \
  67963. - END { for (i in files) print i; }'`; \
  67964. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  67965. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  67966. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  67967. + shift; \
  67968. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  67969. test -n "$$unique" || unique=$$empty_fix; \
  67970. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  67971. - $$tags $$unique; \
  67972. + if test $$# -gt 0; then \
  67973. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  67974. + "$$@" $$unique; \
  67975. + else \
  67976. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  67977. + $$unique; \
  67978. + fi; \
  67979. fi
  67980. ctags: CTAGS
  67981. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  67982. $(TAGS_FILES) $(LISP)
  67983. - tags=; \
  67984. - here=`pwd`; \
  67985. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  67986. unique=`for i in $$list; do \
  67987. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  67988. done | \
  67989. - $(AWK) ' { files[$$0] = 1; } \
  67990. - END { for (i in files) print i; }'`; \
  67991. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  67992. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  67993. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  67994. + test -z "$(CTAGS_ARGS)$$unique" \
  67995. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  67996. - $$tags $$unique
  67997. + $$unique
  67998. GTAGS:
  67999. here=`$(am__cd) $(top_builddir) && pwd` \
  68000. - && cd $(top_srcdir) \
  68001. - && gtags -i $(GTAGS_ARGS) $$here
  68002. + && $(am__cd) $(top_srcdir) \
  68003. + && gtags -i $(GTAGS_ARGS) "$$here"
  68004. distclean-tags:
  68005. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  68006. distdir: $(DISTFILES)
  68007. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  68008. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  68009. - list='$(DISTFILES)'; for file in $$list; do \
  68010. - case $$file in \
  68011. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  68012. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  68013. - esac; \
  68014. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68015. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68016. + list='$(DISTFILES)'; \
  68017. + dist_files=`for file in $$list; do echo $$file; done | \
  68018. + sed -e "s|^$$srcdirstrip/||;t" \
  68019. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  68020. + case $$dist_files in \
  68021. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  68022. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  68023. + sort -u` ;; \
  68024. + esac; \
  68025. + for file in $$dist_files; do \
  68026. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  68027. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  68028. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  68029. - dir="/$$dir"; \
  68030. - $(mkdir_p) "$(distdir)$$dir"; \
  68031. - else \
  68032. - dir=''; \
  68033. - fi; \
  68034. if test -d $$d/$$file; then \
  68035. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  68036. + if test -d "$(distdir)/$$file"; then \
  68037. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68038. + fi; \
  68039. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  68040. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  68041. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  68042. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68043. fi; \
  68044. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  68045. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  68046. else \
  68047. - test -f $(distdir)/$$file \
  68048. - || cp -p $$d/$$file $(distdir)/$$file \
  68049. + test -f "$(distdir)/$$file" \
  68050. + || cp -p $$d/$$file "$(distdir)/$$file" \
  68051. || exit 1; \
  68052. fi; \
  68053. done
  68054. - list='$(SUBDIRS)'; for subdir in $$list; do \
  68055. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  68056. if test "$$subdir" = .; then :; else \
  68057. test -d "$(distdir)/$$subdir" \
  68058. - || mkdir "$(distdir)/$$subdir" \
  68059. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  68060. || exit 1; \
  68061. - (cd $$subdir && \
  68062. + fi; \
  68063. + done
  68064. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  68065. + if test "$$subdir" = .; then :; else \
  68066. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  68067. + $(am__relativize); \
  68068. + new_distdir=$$reldir; \
  68069. + dir1=$$subdir; dir2="$(top_distdir)"; \
  68070. + $(am__relativize); \
  68071. + new_top_distdir=$$reldir; \
  68072. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  68073. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  68074. + ($(am__cd) $$subdir && \
  68075. $(MAKE) $(AM_MAKEFLAGS) \
  68076. - top_distdir="../$(top_distdir)" \
  68077. - distdir="../$(distdir)/$$subdir" \
  68078. + top_distdir="$$new_top_distdir" \
  68079. + distdir="$$new_distdir" \
  68080. + am__remove_distdir=: \
  68081. + am__skip_length_check=: \
  68082. + am__skip_mode_fix=: \
  68083. distdir) \
  68084. || exit 1; \
  68085. fi; \
  68086. @@ -413,7 +476,8 @@
  68087. clean-generic:
  68088. distclean-generic:
  68089. - -rm -f $(CONFIG_CLEAN_FILES)
  68090. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  68091. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  68092. maintainer-clean-generic:
  68093. @echo "This command is intended for maintainers to use"
  68094. @@ -424,8 +488,7 @@
  68095. distclean: distclean-recursive
  68096. -rm -f Makefile
  68097. -distclean-am: clean-am distclean-generic distclean-libtool \
  68098. - distclean-tags
  68099. +distclean-am: clean-am distclean-generic distclean-tags
  68100. dvi: dvi-recursive
  68101. @@ -433,18 +496,38 @@
  68102. html: html-recursive
  68103. +html-am:
  68104. +
  68105. info: info-recursive
  68106. info-am:
  68107. install-data-am:
  68108. +install-dvi: install-dvi-recursive
  68109. +
  68110. +install-dvi-am:
  68111. +
  68112. install-exec-am:
  68113. +install-html: install-html-recursive
  68114. +
  68115. +install-html-am:
  68116. +
  68117. install-info: install-info-recursive
  68118. +install-info-am:
  68119. +
  68120. install-man:
  68121. +install-pdf: install-pdf-recursive
  68122. +
  68123. +install-pdf-am:
  68124. +
  68125. +install-ps: install-ps-recursive
  68126. +
  68127. +install-ps-am:
  68128. +
  68129. installcheck-am:
  68130. maintainer-clean: maintainer-clean-recursive
  68131. @@ -463,22 +546,25 @@
  68132. ps-am:
  68133. -uninstall-am: uninstall-info-am
  68134. +uninstall-am:
  68135. -uninstall-info: uninstall-info-recursive
  68136. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  68137. + install-am install-strip tags-recursive
  68138. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  68139. - clean clean-generic clean-libtool clean-recursive ctags \
  68140. - ctags-recursive distclean distclean-generic distclean-libtool \
  68141. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  68142. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  68143. + all all-am check check-am clean clean-generic clean-libtool \
  68144. + ctags ctags-recursive distclean distclean-generic \
  68145. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  68146. html-am info info-am install install-am install-data \
  68147. - install-data-am install-exec install-exec-am install-info \
  68148. - install-info-am install-man install-strip installcheck \
  68149. + install-data-am install-dvi install-dvi-am install-exec \
  68150. + install-exec-am install-html install-html-am install-info \
  68151. + install-info-am install-man install-pdf install-pdf-am \
  68152. + install-ps install-ps-am install-strip installcheck \
  68153. installcheck-am installdirs installdirs-am maintainer-clean \
  68154. - maintainer-clean-generic maintainer-clean-recursive \
  68155. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  68156. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  68157. - uninstall uninstall-am uninstall-info-am
  68158. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  68159. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  68160. + uninstall uninstall-am
  68161. +
  68162. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  68163. # Otherwise a system limit (for SysV at least) may be exceeded.
  68164. diff -Nur speex-1.2rc1.orig/win32/VS2003/speexdec/Makefile.in speex-1.2rc1/win32/VS2003/speexdec/Makefile.in
  68165. --- speex-1.2rc1.orig/win32/VS2003/speexdec/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  68166. +++ speex-1.2rc1/win32/VS2003/speexdec/Makefile.in 2011-02-20 22:00:58.243787659 +0100
  68167. @@ -1,8 +1,9 @@
  68168. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  68169. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  68170. # @configure_input@
  68171. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  68172. -# 2003, 2004 Free Software Foundation, Inc.
  68173. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  68174. +# Inc.
  68175. # This Makefile.in is free software; the Free Software Foundation
  68176. # gives unlimited permission to copy and/or distribute it,
  68177. # with or without modifications, as long as this notice is preserved.
  68178. @@ -16,15 +17,12 @@
  68179. # Disable automatic dependency tracking if using other tools than gcc and gmake
  68180. #AUTOMAKE_OPTIONS = no-dependencies
  68181. -srcdir = @srcdir@
  68182. -top_srcdir = @top_srcdir@
  68183. VPATH = @srcdir@
  68184. pkgdatadir = $(datadir)/@PACKAGE@
  68185. -pkglibdir = $(libdir)/@PACKAGE@
  68186. pkgincludedir = $(includedir)/@PACKAGE@
  68187. -top_builddir = ../../..
  68188. +pkglibdir = $(libdir)/@PACKAGE@
  68189. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  68190. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  68191. -INSTALL = @INSTALL@
  68192. install_sh_DATA = $(install_sh) -c -m 644
  68193. install_sh_PROGRAM = $(install_sh) -c
  68194. install_sh_SCRIPT = $(install_sh) -c
  68195. @@ -36,6 +34,7 @@
  68196. NORMAL_UNINSTALL = :
  68197. PRE_UNINSTALL = :
  68198. POST_UNINSTALL = :
  68199. +build_triplet = @build@
  68200. host_triplet = @host@
  68201. subdir = win32/VS2003/speexdec
  68202. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  68203. @@ -44,15 +43,14 @@
  68204. $(top_srcdir)/configure.ac
  68205. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  68206. $(ACLOCAL_M4)
  68207. -mkinstalldirs = $(mkdir_p)
  68208. +mkinstalldirs = $(install_sh) -d
  68209. CONFIG_HEADER = $(top_builddir)/config.h
  68210. CONFIG_CLEAN_FILES =
  68211. +CONFIG_CLEAN_VPATH_FILES =
  68212. SOURCES =
  68213. DIST_SOURCES =
  68214. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  68215. ACLOCAL = @ACLOCAL@
  68216. -AMDEP_FALSE = @AMDEP_FALSE@
  68217. -AMDEP_TRUE = @AMDEP_TRUE@
  68218. AMTAR = @AMTAR@
  68219. AR = @AR@
  68220. AS = @AS@
  68221. @@ -60,60 +58,57 @@
  68222. AUTOHEADER = @AUTOHEADER@
  68223. AUTOMAKE = @AUTOMAKE@
  68224. AWK = @AWK@
  68225. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  68226. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  68227. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  68228. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  68229. CC = @CC@
  68230. CCDEPMODE = @CCDEPMODE@
  68231. CFLAGS = @CFLAGS@
  68232. CPP = @CPP@
  68233. CPPFLAGS = @CPPFLAGS@
  68234. -CXX = @CXX@
  68235. -CXXCPP = @CXXCPP@
  68236. -CXXDEPMODE = @CXXDEPMODE@
  68237. -CXXFLAGS = @CXXFLAGS@
  68238. CYGPATH_W = @CYGPATH_W@
  68239. DEFS = @DEFS@
  68240. DEPDIR = @DEPDIR@
  68241. DLLTOOL = @DLLTOOL@
  68242. DSYMUTIL = @DSYMUTIL@
  68243. -ECHO = @ECHO@
  68244. +DUMPBIN = @DUMPBIN@
  68245. ECHO_C = @ECHO_C@
  68246. ECHO_N = @ECHO_N@
  68247. ECHO_T = @ECHO_T@
  68248. EGREP = @EGREP@
  68249. EXEEXT = @EXEEXT@
  68250. -F77 = @F77@
  68251. -FFLAGS = @FFLAGS@
  68252. FFT_CFLAGS = @FFT_CFLAGS@
  68253. FFT_LIBS = @FFT_LIBS@
  68254. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  68255. +FGREP = @FGREP@
  68256. GREP = @GREP@
  68257. +INSTALL = @INSTALL@
  68258. INSTALL_DATA = @INSTALL_DATA@
  68259. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  68260. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  68261. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  68262. +LD = @LD@
  68263. LDFLAGS = @LDFLAGS@
  68264. LIBOBJS = @LIBOBJS@
  68265. LIBS = @LIBS@
  68266. LIBTOOL = @LIBTOOL@
  68267. +LIPO = @LIPO@
  68268. LN_S = @LN_S@
  68269. LTLIBOBJS = @LTLIBOBJS@
  68270. MAINT = @MAINT@
  68271. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  68272. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  68273. MAKEINFO = @MAKEINFO@
  68274. +MKDIR_P = @MKDIR_P@
  68275. +NM = @NM@
  68276. NMEDIT = @NMEDIT@
  68277. OBJDUMP = @OBJDUMP@
  68278. OBJEXT = @OBJEXT@
  68279. OGG_CFLAGS = @OGG_CFLAGS@
  68280. OGG_LIBS = @OGG_LIBS@
  68281. +OTOOL = @OTOOL@
  68282. +OTOOL64 = @OTOOL64@
  68283. PACKAGE = @PACKAGE@
  68284. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  68285. PACKAGE_NAME = @PACKAGE_NAME@
  68286. PACKAGE_STRING = @PACKAGE_STRING@
  68287. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  68288. +PACKAGE_URL = @PACKAGE_URL@
  68289. PACKAGE_VERSION = @PACKAGE_VERSION@
  68290. PATH_SEPARATOR = @PATH_SEPARATOR@
  68291. PKG_CONFIG = @PKG_CONFIG@
  68292. @@ -129,22 +124,24 @@
  68293. SPEEX_VERSION = @SPEEX_VERSION@
  68294. STRIP = @STRIP@
  68295. VERSION = @VERSION@
  68296. +abs_builddir = @abs_builddir@
  68297. +abs_srcdir = @abs_srcdir@
  68298. +abs_top_builddir = @abs_top_builddir@
  68299. +abs_top_srcdir = @abs_top_srcdir@
  68300. ac_ct_CC = @ac_ct_CC@
  68301. -ac_ct_CXX = @ac_ct_CXX@
  68302. -ac_ct_F77 = @ac_ct_F77@
  68303. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  68304. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  68305. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  68306. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  68307. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  68308. am__include = @am__include@
  68309. am__leading_dot = @am__leading_dot@
  68310. am__quote = @am__quote@
  68311. +am__tar = @am__tar@
  68312. +am__untar = @am__untar@
  68313. bindir = @bindir@
  68314. build = @build@
  68315. build_alias = @build_alias@
  68316. build_cpu = @build_cpu@
  68317. build_os = @build_os@
  68318. build_vendor = @build_vendor@
  68319. +builddir = @builddir@
  68320. datadir = @datadir@
  68321. datarootdir = @datarootdir@
  68322. docdir = @docdir@
  68323. @@ -163,6 +160,7 @@
  68324. libexecdir = @libexecdir@
  68325. localedir = @localedir@
  68326. localstatedir = @localstatedir@
  68327. +lt_ECHO = @lt_ECHO@
  68328. mandir = @mandir@
  68329. mkdir_p = @mkdir_p@
  68330. oldincludedir = @oldincludedir@
  68331. @@ -173,8 +171,12 @@
  68332. sbindir = @sbindir@
  68333. sharedstatedir = @sharedstatedir@
  68334. src = @src@
  68335. +srcdir = @srcdir@
  68336. sysconfdir = @sysconfdir@
  68337. target_alias = @target_alias@
  68338. +top_build_prefix = @top_build_prefix@
  68339. +top_builddir = @top_builddir@
  68340. +top_srcdir = @top_srcdir@
  68341. EXTRA_DIST = speexdec.vcproj
  68342. all: all-am
  68343. @@ -183,14 +185,14 @@
  68344. @for dep in $?; do \
  68345. case '$(am__configure_deps)' in \
  68346. *$$dep*) \
  68347. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  68348. - && exit 0; \
  68349. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  68350. + && { if test -f $@; then exit 0; else break; fi; }; \
  68351. exit 1;; \
  68352. esac; \
  68353. done; \
  68354. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/speexdec/Makefile'; \
  68355. - cd $(top_srcdir) && \
  68356. - $(AUTOMAKE) --gnu win32/VS2003/speexdec/Makefile
  68357. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/speexdec/Makefile'; \
  68358. + $(am__cd) $(top_srcdir) && \
  68359. + $(AUTOMAKE) --gnu win32/VS2003/speexdec/Makefile
  68360. .PRECIOUS: Makefile
  68361. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  68362. @case '$?' in \
  68363. @@ -208,16 +210,13 @@
  68364. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68365. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  68366. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68367. +$(am__aclocal_m4_deps):
  68368. mostlyclean-libtool:
  68369. -rm -f *.lo
  68370. clean-libtool:
  68371. -rm -rf .libs _libs
  68372. -
  68373. -distclean-libtool:
  68374. - -rm -f libtool
  68375. -uninstall-info-am:
  68376. tags: TAGS
  68377. TAGS:
  68378. @@ -226,29 +225,32 @@
  68379. distdir: $(DISTFILES)
  68380. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  68381. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  68382. - list='$(DISTFILES)'; for file in $$list; do \
  68383. - case $$file in \
  68384. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  68385. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  68386. - esac; \
  68387. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68388. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68389. + list='$(DISTFILES)'; \
  68390. + dist_files=`for file in $$list; do echo $$file; done | \
  68391. + sed -e "s|^$$srcdirstrip/||;t" \
  68392. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  68393. + case $$dist_files in \
  68394. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  68395. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  68396. + sort -u` ;; \
  68397. + esac; \
  68398. + for file in $$dist_files; do \
  68399. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  68400. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  68401. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  68402. - dir="/$$dir"; \
  68403. - $(mkdir_p) "$(distdir)$$dir"; \
  68404. - else \
  68405. - dir=''; \
  68406. - fi; \
  68407. if test -d $$d/$$file; then \
  68408. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  68409. + if test -d "$(distdir)/$$file"; then \
  68410. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68411. + fi; \
  68412. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  68413. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  68414. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  68415. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68416. fi; \
  68417. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  68418. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  68419. else \
  68420. - test -f $(distdir)/$$file \
  68421. - || cp -p $$d/$$file $(distdir)/$$file \
  68422. + test -f "$(distdir)/$$file" \
  68423. + || cp -p $$d/$$file "$(distdir)/$$file" \
  68424. || exit 1; \
  68425. fi; \
  68426. done
  68427. @@ -275,7 +277,8 @@
  68428. clean-generic:
  68429. distclean-generic:
  68430. - -rm -f $(CONFIG_CLEAN_FILES)
  68431. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  68432. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  68433. maintainer-clean-generic:
  68434. @echo "This command is intended for maintainers to use"
  68435. @@ -286,7 +289,7 @@
  68436. distclean: distclean-am
  68437. -rm -f Makefile
  68438. -distclean-am: clean-am distclean-generic distclean-libtool
  68439. +distclean-am: clean-am distclean-generic
  68440. dvi: dvi-am
  68441. @@ -294,18 +297,38 @@
  68442. html: html-am
  68443. +html-am:
  68444. +
  68445. info: info-am
  68446. info-am:
  68447. install-data-am:
  68448. +install-dvi: install-dvi-am
  68449. +
  68450. +install-dvi-am:
  68451. +
  68452. install-exec-am:
  68453. +install-html: install-html-am
  68454. +
  68455. +install-html-am:
  68456. +
  68457. install-info: install-info-am
  68458. +install-info-am:
  68459. +
  68460. install-man:
  68461. +install-pdf: install-pdf-am
  68462. +
  68463. +install-pdf-am:
  68464. +
  68465. +install-ps: install-ps-am
  68466. +
  68467. +install-ps-am:
  68468. +
  68469. installcheck-am:
  68470. maintainer-clean: maintainer-clean-am
  68471. @@ -324,17 +347,21 @@
  68472. ps-am:
  68473. -uninstall-am: uninstall-info-am
  68474. +uninstall-am:
  68475. +
  68476. +.MAKE: install-am install-strip
  68477. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  68478. distclean distclean-generic distclean-libtool distdir dvi \
  68479. dvi-am html html-am info info-am install install-am \
  68480. - install-data install-data-am install-exec install-exec-am \
  68481. - install-info install-info-am install-man install-strip \
  68482. + install-data install-data-am install-dvi install-dvi-am \
  68483. + install-exec install-exec-am install-html install-html-am \
  68484. + install-info install-info-am install-man install-pdf \
  68485. + install-pdf-am install-ps install-ps-am install-strip \
  68486. installcheck installcheck-am installdirs maintainer-clean \
  68487. maintainer-clean-generic mostlyclean mostlyclean-generic \
  68488. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  68489. - uninstall-info-am
  68490. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  68491. +
  68492. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  68493. # Otherwise a system limit (for SysV at least) may be exceeded.
  68494. diff -Nur speex-1.2rc1.orig/win32/VS2003/speexenc/Makefile.in speex-1.2rc1/win32/VS2003/speexenc/Makefile.in
  68495. --- speex-1.2rc1.orig/win32/VS2003/speexenc/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  68496. +++ speex-1.2rc1/win32/VS2003/speexenc/Makefile.in 2011-02-20 22:00:58.273810087 +0100
  68497. @@ -1,8 +1,9 @@
  68498. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  68499. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  68500. # @configure_input@
  68501. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  68502. -# 2003, 2004 Free Software Foundation, Inc.
  68503. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  68504. +# Inc.
  68505. # This Makefile.in is free software; the Free Software Foundation
  68506. # gives unlimited permission to copy and/or distribute it,
  68507. # with or without modifications, as long as this notice is preserved.
  68508. @@ -16,15 +17,12 @@
  68509. # Disable automatic dependency tracking if using other tools than gcc and gmake
  68510. #AUTOMAKE_OPTIONS = no-dependencies
  68511. -srcdir = @srcdir@
  68512. -top_srcdir = @top_srcdir@
  68513. VPATH = @srcdir@
  68514. pkgdatadir = $(datadir)/@PACKAGE@
  68515. -pkglibdir = $(libdir)/@PACKAGE@
  68516. pkgincludedir = $(includedir)/@PACKAGE@
  68517. -top_builddir = ../../..
  68518. +pkglibdir = $(libdir)/@PACKAGE@
  68519. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  68520. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  68521. -INSTALL = @INSTALL@
  68522. install_sh_DATA = $(install_sh) -c -m 644
  68523. install_sh_PROGRAM = $(install_sh) -c
  68524. install_sh_SCRIPT = $(install_sh) -c
  68525. @@ -36,6 +34,7 @@
  68526. NORMAL_UNINSTALL = :
  68527. PRE_UNINSTALL = :
  68528. POST_UNINSTALL = :
  68529. +build_triplet = @build@
  68530. host_triplet = @host@
  68531. subdir = win32/VS2003/speexenc
  68532. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  68533. @@ -44,15 +43,14 @@
  68534. $(top_srcdir)/configure.ac
  68535. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  68536. $(ACLOCAL_M4)
  68537. -mkinstalldirs = $(mkdir_p)
  68538. +mkinstalldirs = $(install_sh) -d
  68539. CONFIG_HEADER = $(top_builddir)/config.h
  68540. CONFIG_CLEAN_FILES =
  68541. +CONFIG_CLEAN_VPATH_FILES =
  68542. SOURCES =
  68543. DIST_SOURCES =
  68544. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  68545. ACLOCAL = @ACLOCAL@
  68546. -AMDEP_FALSE = @AMDEP_FALSE@
  68547. -AMDEP_TRUE = @AMDEP_TRUE@
  68548. AMTAR = @AMTAR@
  68549. AR = @AR@
  68550. AS = @AS@
  68551. @@ -60,60 +58,57 @@
  68552. AUTOHEADER = @AUTOHEADER@
  68553. AUTOMAKE = @AUTOMAKE@
  68554. AWK = @AWK@
  68555. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  68556. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  68557. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  68558. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  68559. CC = @CC@
  68560. CCDEPMODE = @CCDEPMODE@
  68561. CFLAGS = @CFLAGS@
  68562. CPP = @CPP@
  68563. CPPFLAGS = @CPPFLAGS@
  68564. -CXX = @CXX@
  68565. -CXXCPP = @CXXCPP@
  68566. -CXXDEPMODE = @CXXDEPMODE@
  68567. -CXXFLAGS = @CXXFLAGS@
  68568. CYGPATH_W = @CYGPATH_W@
  68569. DEFS = @DEFS@
  68570. DEPDIR = @DEPDIR@
  68571. DLLTOOL = @DLLTOOL@
  68572. DSYMUTIL = @DSYMUTIL@
  68573. -ECHO = @ECHO@
  68574. +DUMPBIN = @DUMPBIN@
  68575. ECHO_C = @ECHO_C@
  68576. ECHO_N = @ECHO_N@
  68577. ECHO_T = @ECHO_T@
  68578. EGREP = @EGREP@
  68579. EXEEXT = @EXEEXT@
  68580. -F77 = @F77@
  68581. -FFLAGS = @FFLAGS@
  68582. FFT_CFLAGS = @FFT_CFLAGS@
  68583. FFT_LIBS = @FFT_LIBS@
  68584. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  68585. +FGREP = @FGREP@
  68586. GREP = @GREP@
  68587. +INSTALL = @INSTALL@
  68588. INSTALL_DATA = @INSTALL_DATA@
  68589. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  68590. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  68591. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  68592. +LD = @LD@
  68593. LDFLAGS = @LDFLAGS@
  68594. LIBOBJS = @LIBOBJS@
  68595. LIBS = @LIBS@
  68596. LIBTOOL = @LIBTOOL@
  68597. +LIPO = @LIPO@
  68598. LN_S = @LN_S@
  68599. LTLIBOBJS = @LTLIBOBJS@
  68600. MAINT = @MAINT@
  68601. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  68602. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  68603. MAKEINFO = @MAKEINFO@
  68604. +MKDIR_P = @MKDIR_P@
  68605. +NM = @NM@
  68606. NMEDIT = @NMEDIT@
  68607. OBJDUMP = @OBJDUMP@
  68608. OBJEXT = @OBJEXT@
  68609. OGG_CFLAGS = @OGG_CFLAGS@
  68610. OGG_LIBS = @OGG_LIBS@
  68611. +OTOOL = @OTOOL@
  68612. +OTOOL64 = @OTOOL64@
  68613. PACKAGE = @PACKAGE@
  68614. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  68615. PACKAGE_NAME = @PACKAGE_NAME@
  68616. PACKAGE_STRING = @PACKAGE_STRING@
  68617. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  68618. +PACKAGE_URL = @PACKAGE_URL@
  68619. PACKAGE_VERSION = @PACKAGE_VERSION@
  68620. PATH_SEPARATOR = @PATH_SEPARATOR@
  68621. PKG_CONFIG = @PKG_CONFIG@
  68622. @@ -129,22 +124,24 @@
  68623. SPEEX_VERSION = @SPEEX_VERSION@
  68624. STRIP = @STRIP@
  68625. VERSION = @VERSION@
  68626. +abs_builddir = @abs_builddir@
  68627. +abs_srcdir = @abs_srcdir@
  68628. +abs_top_builddir = @abs_top_builddir@
  68629. +abs_top_srcdir = @abs_top_srcdir@
  68630. ac_ct_CC = @ac_ct_CC@
  68631. -ac_ct_CXX = @ac_ct_CXX@
  68632. -ac_ct_F77 = @ac_ct_F77@
  68633. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  68634. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  68635. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  68636. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  68637. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  68638. am__include = @am__include@
  68639. am__leading_dot = @am__leading_dot@
  68640. am__quote = @am__quote@
  68641. +am__tar = @am__tar@
  68642. +am__untar = @am__untar@
  68643. bindir = @bindir@
  68644. build = @build@
  68645. build_alias = @build_alias@
  68646. build_cpu = @build_cpu@
  68647. build_os = @build_os@
  68648. build_vendor = @build_vendor@
  68649. +builddir = @builddir@
  68650. datadir = @datadir@
  68651. datarootdir = @datarootdir@
  68652. docdir = @docdir@
  68653. @@ -163,6 +160,7 @@
  68654. libexecdir = @libexecdir@
  68655. localedir = @localedir@
  68656. localstatedir = @localstatedir@
  68657. +lt_ECHO = @lt_ECHO@
  68658. mandir = @mandir@
  68659. mkdir_p = @mkdir_p@
  68660. oldincludedir = @oldincludedir@
  68661. @@ -173,8 +171,12 @@
  68662. sbindir = @sbindir@
  68663. sharedstatedir = @sharedstatedir@
  68664. src = @src@
  68665. +srcdir = @srcdir@
  68666. sysconfdir = @sysconfdir@
  68667. target_alias = @target_alias@
  68668. +top_build_prefix = @top_build_prefix@
  68669. +top_builddir = @top_builddir@
  68670. +top_srcdir = @top_srcdir@
  68671. EXTRA_DIST = speexenc.vcproj
  68672. all: all-am
  68673. @@ -183,14 +185,14 @@
  68674. @for dep in $?; do \
  68675. case '$(am__configure_deps)' in \
  68676. *$$dep*) \
  68677. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  68678. - && exit 0; \
  68679. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  68680. + && { if test -f $@; then exit 0; else break; fi; }; \
  68681. exit 1;; \
  68682. esac; \
  68683. done; \
  68684. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/speexenc/Makefile'; \
  68685. - cd $(top_srcdir) && \
  68686. - $(AUTOMAKE) --gnu win32/VS2003/speexenc/Makefile
  68687. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/speexenc/Makefile'; \
  68688. + $(am__cd) $(top_srcdir) && \
  68689. + $(AUTOMAKE) --gnu win32/VS2003/speexenc/Makefile
  68690. .PRECIOUS: Makefile
  68691. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  68692. @case '$?' in \
  68693. @@ -208,16 +210,13 @@
  68694. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68695. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  68696. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  68697. +$(am__aclocal_m4_deps):
  68698. mostlyclean-libtool:
  68699. -rm -f *.lo
  68700. clean-libtool:
  68701. -rm -rf .libs _libs
  68702. -
  68703. -distclean-libtool:
  68704. - -rm -f libtool
  68705. -uninstall-info-am:
  68706. tags: TAGS
  68707. TAGS:
  68708. @@ -226,29 +225,32 @@
  68709. distdir: $(DISTFILES)
  68710. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  68711. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  68712. - list='$(DISTFILES)'; for file in $$list; do \
  68713. - case $$file in \
  68714. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  68715. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  68716. - esac; \
  68717. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68718. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  68719. + list='$(DISTFILES)'; \
  68720. + dist_files=`for file in $$list; do echo $$file; done | \
  68721. + sed -e "s|^$$srcdirstrip/||;t" \
  68722. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  68723. + case $$dist_files in \
  68724. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  68725. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  68726. + sort -u` ;; \
  68727. + esac; \
  68728. + for file in $$dist_files; do \
  68729. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  68730. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  68731. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  68732. - dir="/$$dir"; \
  68733. - $(mkdir_p) "$(distdir)$$dir"; \
  68734. - else \
  68735. - dir=''; \
  68736. - fi; \
  68737. if test -d $$d/$$file; then \
  68738. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  68739. + if test -d "$(distdir)/$$file"; then \
  68740. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68741. + fi; \
  68742. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  68743. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  68744. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  68745. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  68746. fi; \
  68747. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  68748. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  68749. else \
  68750. - test -f $(distdir)/$$file \
  68751. - || cp -p $$d/$$file $(distdir)/$$file \
  68752. + test -f "$(distdir)/$$file" \
  68753. + || cp -p $$d/$$file "$(distdir)/$$file" \
  68754. || exit 1; \
  68755. fi; \
  68756. done
  68757. @@ -275,7 +277,8 @@
  68758. clean-generic:
  68759. distclean-generic:
  68760. - -rm -f $(CONFIG_CLEAN_FILES)
  68761. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  68762. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  68763. maintainer-clean-generic:
  68764. @echo "This command is intended for maintainers to use"
  68765. @@ -286,7 +289,7 @@
  68766. distclean: distclean-am
  68767. -rm -f Makefile
  68768. -distclean-am: clean-am distclean-generic distclean-libtool
  68769. +distclean-am: clean-am distclean-generic
  68770. dvi: dvi-am
  68771. @@ -294,18 +297,38 @@
  68772. html: html-am
  68773. +html-am:
  68774. +
  68775. info: info-am
  68776. info-am:
  68777. install-data-am:
  68778. +install-dvi: install-dvi-am
  68779. +
  68780. +install-dvi-am:
  68781. +
  68782. install-exec-am:
  68783. +install-html: install-html-am
  68784. +
  68785. +install-html-am:
  68786. +
  68787. install-info: install-info-am
  68788. +install-info-am:
  68789. +
  68790. install-man:
  68791. +install-pdf: install-pdf-am
  68792. +
  68793. +install-pdf-am:
  68794. +
  68795. +install-ps: install-ps-am
  68796. +
  68797. +install-ps-am:
  68798. +
  68799. installcheck-am:
  68800. maintainer-clean: maintainer-clean-am
  68801. @@ -324,17 +347,21 @@
  68802. ps-am:
  68803. -uninstall-am: uninstall-info-am
  68804. +uninstall-am:
  68805. +
  68806. +.MAKE: install-am install-strip
  68807. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  68808. distclean distclean-generic distclean-libtool distdir dvi \
  68809. dvi-am html html-am info info-am install install-am \
  68810. - install-data install-data-am install-exec install-exec-am \
  68811. - install-info install-info-am install-man install-strip \
  68812. + install-data install-data-am install-dvi install-dvi-am \
  68813. + install-exec install-exec-am install-html install-html-am \
  68814. + install-info install-info-am install-man install-pdf \
  68815. + install-pdf-am install-ps install-ps-am install-strip \
  68816. installcheck installcheck-am installdirs maintainer-clean \
  68817. maintainer-clean-generic mostlyclean mostlyclean-generic \
  68818. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  68819. - uninstall-info-am
  68820. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  68821. +
  68822. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  68823. # Otherwise a system limit (for SysV at least) may be exceeded.
  68824. diff -Nur speex-1.2rc1.orig/win32/VS2003/tests/Makefile.in speex-1.2rc1/win32/VS2003/tests/Makefile.in
  68825. --- speex-1.2rc1.orig/win32/VS2003/tests/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  68826. +++ speex-1.2rc1/win32/VS2003/tests/Makefile.in 2011-02-20 22:00:58.303739070 +0100
  68827. @@ -1,8 +1,9 @@
  68828. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  68829. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  68830. # @configure_input@
  68831. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  68832. -# 2003, 2004 Free Software Foundation, Inc.
  68833. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  68834. +# Inc.
  68835. # This Makefile.in is free software; the Free Software Foundation
  68836. # gives unlimited permission to copy and/or distribute it,
  68837. # with or without modifications, as long as this notice is preserved.
  68838. @@ -16,15 +17,12 @@
  68839. # Disable automatic dependency tracking if using other tools than gcc and gmake
  68840. #AUTOMAKE_OPTIONS = no-dependencies
  68841. -srcdir = @srcdir@
  68842. -top_srcdir = @top_srcdir@
  68843. VPATH = @srcdir@
  68844. pkgdatadir = $(datadir)/@PACKAGE@
  68845. -pkglibdir = $(libdir)/@PACKAGE@
  68846. pkgincludedir = $(includedir)/@PACKAGE@
  68847. -top_builddir = ../../..
  68848. +pkglibdir = $(libdir)/@PACKAGE@
  68849. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  68850. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  68851. -INSTALL = @INSTALL@
  68852. install_sh_DATA = $(install_sh) -c -m 644
  68853. install_sh_PROGRAM = $(install_sh) -c
  68854. install_sh_SCRIPT = $(install_sh) -c
  68855. @@ -36,6 +34,7 @@
  68856. NORMAL_UNINSTALL = :
  68857. PRE_UNINSTALL = :
  68858. POST_UNINSTALL = :
  68859. +build_triplet = @build@
  68860. host_triplet = @host@
  68861. subdir = win32/VS2003/tests
  68862. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  68863. @@ -44,15 +43,14 @@
  68864. $(top_srcdir)/configure.ac
  68865. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  68866. $(ACLOCAL_M4)
  68867. -mkinstalldirs = $(mkdir_p)
  68868. +mkinstalldirs = $(install_sh) -d
  68869. CONFIG_HEADER = $(top_builddir)/config.h
  68870. CONFIG_CLEAN_FILES =
  68871. +CONFIG_CLEAN_VPATH_FILES =
  68872. SOURCES =
  68873. DIST_SOURCES =
  68874. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  68875. ACLOCAL = @ACLOCAL@
  68876. -AMDEP_FALSE = @AMDEP_FALSE@
  68877. -AMDEP_TRUE = @AMDEP_TRUE@
  68878. AMTAR = @AMTAR@
  68879. AR = @AR@
  68880. AS = @AS@
  68881. @@ -60,60 +58,57 @@
  68882. AUTOHEADER = @AUTOHEADER@
  68883. AUTOMAKE = @AUTOMAKE@
  68884. AWK = @AWK@
  68885. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  68886. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  68887. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  68888. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  68889. CC = @CC@
  68890. CCDEPMODE = @CCDEPMODE@
  68891. CFLAGS = @CFLAGS@
  68892. CPP = @CPP@
  68893. CPPFLAGS = @CPPFLAGS@
  68894. -CXX = @CXX@
  68895. -CXXCPP = @CXXCPP@
  68896. -CXXDEPMODE = @CXXDEPMODE@
  68897. -CXXFLAGS = @CXXFLAGS@
  68898. CYGPATH_W = @CYGPATH_W@
  68899. DEFS = @DEFS@
  68900. DEPDIR = @DEPDIR@
  68901. DLLTOOL = @DLLTOOL@
  68902. DSYMUTIL = @DSYMUTIL@
  68903. -ECHO = @ECHO@
  68904. +DUMPBIN = @DUMPBIN@
  68905. ECHO_C = @ECHO_C@
  68906. ECHO_N = @ECHO_N@
  68907. ECHO_T = @ECHO_T@
  68908. EGREP = @EGREP@
  68909. EXEEXT = @EXEEXT@
  68910. -F77 = @F77@
  68911. -FFLAGS = @FFLAGS@
  68912. FFT_CFLAGS = @FFT_CFLAGS@
  68913. FFT_LIBS = @FFT_LIBS@
  68914. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  68915. +FGREP = @FGREP@
  68916. GREP = @GREP@
  68917. +INSTALL = @INSTALL@
  68918. INSTALL_DATA = @INSTALL_DATA@
  68919. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  68920. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  68921. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  68922. +LD = @LD@
  68923. LDFLAGS = @LDFLAGS@
  68924. LIBOBJS = @LIBOBJS@
  68925. LIBS = @LIBS@
  68926. LIBTOOL = @LIBTOOL@
  68927. +LIPO = @LIPO@
  68928. LN_S = @LN_S@
  68929. LTLIBOBJS = @LTLIBOBJS@
  68930. MAINT = @MAINT@
  68931. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  68932. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  68933. MAKEINFO = @MAKEINFO@
  68934. +MKDIR_P = @MKDIR_P@
  68935. +NM = @NM@
  68936. NMEDIT = @NMEDIT@
  68937. OBJDUMP = @OBJDUMP@
  68938. OBJEXT = @OBJEXT@
  68939. OGG_CFLAGS = @OGG_CFLAGS@
  68940. OGG_LIBS = @OGG_LIBS@
  68941. +OTOOL = @OTOOL@
  68942. +OTOOL64 = @OTOOL64@
  68943. PACKAGE = @PACKAGE@
  68944. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  68945. PACKAGE_NAME = @PACKAGE_NAME@
  68946. PACKAGE_STRING = @PACKAGE_STRING@
  68947. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  68948. +PACKAGE_URL = @PACKAGE_URL@
  68949. PACKAGE_VERSION = @PACKAGE_VERSION@
  68950. PATH_SEPARATOR = @PATH_SEPARATOR@
  68951. PKG_CONFIG = @PKG_CONFIG@
  68952. @@ -129,22 +124,24 @@
  68953. SPEEX_VERSION = @SPEEX_VERSION@
  68954. STRIP = @STRIP@
  68955. VERSION = @VERSION@
  68956. +abs_builddir = @abs_builddir@
  68957. +abs_srcdir = @abs_srcdir@
  68958. +abs_top_builddir = @abs_top_builddir@
  68959. +abs_top_srcdir = @abs_top_srcdir@
  68960. ac_ct_CC = @ac_ct_CC@
  68961. -ac_ct_CXX = @ac_ct_CXX@
  68962. -ac_ct_F77 = @ac_ct_F77@
  68963. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  68964. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  68965. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  68966. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  68967. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  68968. am__include = @am__include@
  68969. am__leading_dot = @am__leading_dot@
  68970. am__quote = @am__quote@
  68971. +am__tar = @am__tar@
  68972. +am__untar = @am__untar@
  68973. bindir = @bindir@
  68974. build = @build@
  68975. build_alias = @build_alias@
  68976. build_cpu = @build_cpu@
  68977. build_os = @build_os@
  68978. build_vendor = @build_vendor@
  68979. +builddir = @builddir@
  68980. datadir = @datadir@
  68981. datarootdir = @datarootdir@
  68982. docdir = @docdir@
  68983. @@ -163,6 +160,7 @@
  68984. libexecdir = @libexecdir@
  68985. localedir = @localedir@
  68986. localstatedir = @localstatedir@
  68987. +lt_ECHO = @lt_ECHO@
  68988. mandir = @mandir@
  68989. mkdir_p = @mkdir_p@
  68990. oldincludedir = @oldincludedir@
  68991. @@ -173,8 +171,12 @@
  68992. sbindir = @sbindir@
  68993. sharedstatedir = @sharedstatedir@
  68994. src = @src@
  68995. +srcdir = @srcdir@
  68996. sysconfdir = @sysconfdir@
  68997. target_alias = @target_alias@
  68998. +top_build_prefix = @top_build_prefix@
  68999. +top_builddir = @top_builddir@
  69000. +top_srcdir = @top_srcdir@
  69001. EXTRA_DIST = testdenoise.vcproj testecho.vcproj testenc.vcproj testenc_uwb.vcproj \
  69002. testenc_wb.vcproj testresample.vcproj
  69003. @@ -185,14 +187,14 @@
  69004. @for dep in $?; do \
  69005. case '$(am__configure_deps)' in \
  69006. *$$dep*) \
  69007. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  69008. - && exit 0; \
  69009. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  69010. + && { if test -f $@; then exit 0; else break; fi; }; \
  69011. exit 1;; \
  69012. esac; \
  69013. done; \
  69014. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/tests/Makefile'; \
  69015. - cd $(top_srcdir) && \
  69016. - $(AUTOMAKE) --gnu win32/VS2003/tests/Makefile
  69017. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2003/tests/Makefile'; \
  69018. + $(am__cd) $(top_srcdir) && \
  69019. + $(AUTOMAKE) --gnu win32/VS2003/tests/Makefile
  69020. .PRECIOUS: Makefile
  69021. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  69022. @case '$?' in \
  69023. @@ -210,16 +212,13 @@
  69024. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69025. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  69026. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69027. +$(am__aclocal_m4_deps):
  69028. mostlyclean-libtool:
  69029. -rm -f *.lo
  69030. clean-libtool:
  69031. -rm -rf .libs _libs
  69032. -
  69033. -distclean-libtool:
  69034. - -rm -f libtool
  69035. -uninstall-info-am:
  69036. tags: TAGS
  69037. TAGS:
  69038. @@ -228,29 +227,32 @@
  69039. distdir: $(DISTFILES)
  69040. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  69041. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  69042. - list='$(DISTFILES)'; for file in $$list; do \
  69043. - case $$file in \
  69044. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  69045. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  69046. - esac; \
  69047. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69048. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69049. + list='$(DISTFILES)'; \
  69050. + dist_files=`for file in $$list; do echo $$file; done | \
  69051. + sed -e "s|^$$srcdirstrip/||;t" \
  69052. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  69053. + case $$dist_files in \
  69054. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  69055. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  69056. + sort -u` ;; \
  69057. + esac; \
  69058. + for file in $$dist_files; do \
  69059. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  69060. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  69061. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  69062. - dir="/$$dir"; \
  69063. - $(mkdir_p) "$(distdir)$$dir"; \
  69064. - else \
  69065. - dir=''; \
  69066. - fi; \
  69067. if test -d $$d/$$file; then \
  69068. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  69069. + if test -d "$(distdir)/$$file"; then \
  69070. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69071. + fi; \
  69072. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  69073. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  69074. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  69075. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69076. fi; \
  69077. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  69078. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  69079. else \
  69080. - test -f $(distdir)/$$file \
  69081. - || cp -p $$d/$$file $(distdir)/$$file \
  69082. + test -f "$(distdir)/$$file" \
  69083. + || cp -p $$d/$$file "$(distdir)/$$file" \
  69084. || exit 1; \
  69085. fi; \
  69086. done
  69087. @@ -277,7 +279,8 @@
  69088. clean-generic:
  69089. distclean-generic:
  69090. - -rm -f $(CONFIG_CLEAN_FILES)
  69091. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  69092. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  69093. maintainer-clean-generic:
  69094. @echo "This command is intended for maintainers to use"
  69095. @@ -288,7 +291,7 @@
  69096. distclean: distclean-am
  69097. -rm -f Makefile
  69098. -distclean-am: clean-am distclean-generic distclean-libtool
  69099. +distclean-am: clean-am distclean-generic
  69100. dvi: dvi-am
  69101. @@ -296,18 +299,38 @@
  69102. html: html-am
  69103. +html-am:
  69104. +
  69105. info: info-am
  69106. info-am:
  69107. install-data-am:
  69108. +install-dvi: install-dvi-am
  69109. +
  69110. +install-dvi-am:
  69111. +
  69112. install-exec-am:
  69113. +install-html: install-html-am
  69114. +
  69115. +install-html-am:
  69116. +
  69117. install-info: install-info-am
  69118. +install-info-am:
  69119. +
  69120. install-man:
  69121. +install-pdf: install-pdf-am
  69122. +
  69123. +install-pdf-am:
  69124. +
  69125. +install-ps: install-ps-am
  69126. +
  69127. +install-ps-am:
  69128. +
  69129. installcheck-am:
  69130. maintainer-clean: maintainer-clean-am
  69131. @@ -326,17 +349,21 @@
  69132. ps-am:
  69133. -uninstall-am: uninstall-info-am
  69134. +uninstall-am:
  69135. +
  69136. +.MAKE: install-am install-strip
  69137. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  69138. distclean distclean-generic distclean-libtool distdir dvi \
  69139. dvi-am html html-am info info-am install install-am \
  69140. - install-data install-data-am install-exec install-exec-am \
  69141. - install-info install-info-am install-man install-strip \
  69142. + install-data install-data-am install-dvi install-dvi-am \
  69143. + install-exec install-exec-am install-html install-html-am \
  69144. + install-info install-info-am install-man install-pdf \
  69145. + install-pdf-am install-ps install-ps-am install-strip \
  69146. installcheck installcheck-am installdirs maintainer-clean \
  69147. maintainer-clean-generic mostlyclean mostlyclean-generic \
  69148. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  69149. - uninstall-info-am
  69150. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  69151. +
  69152. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  69153. # Otherwise a system limit (for SysV at least) may be exceeded.
  69154. diff -Nur speex-1.2rc1.orig/win32/VS2005/libspeex/Makefile.in speex-1.2rc1/win32/VS2005/libspeex/Makefile.in
  69155. --- speex-1.2rc1.orig/win32/VS2005/libspeex/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  69156. +++ speex-1.2rc1/win32/VS2005/libspeex/Makefile.in 2011-02-20 22:00:58.354802481 +0100
  69157. @@ -1,8 +1,9 @@
  69158. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  69159. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  69160. # @configure_input@
  69161. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  69162. -# 2003, 2004 Free Software Foundation, Inc.
  69163. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  69164. +# Inc.
  69165. # This Makefile.in is free software; the Free Software Foundation
  69166. # gives unlimited permission to copy and/or distribute it,
  69167. # with or without modifications, as long as this notice is preserved.
  69168. @@ -16,15 +17,12 @@
  69169. # Disable automatic dependency tracking if using other tools than gcc and gmake
  69170. #AUTOMAKE_OPTIONS = no-dependencies
  69171. -srcdir = @srcdir@
  69172. -top_srcdir = @top_srcdir@
  69173. VPATH = @srcdir@
  69174. pkgdatadir = $(datadir)/@PACKAGE@
  69175. -pkglibdir = $(libdir)/@PACKAGE@
  69176. pkgincludedir = $(includedir)/@PACKAGE@
  69177. -top_builddir = ../../..
  69178. +pkglibdir = $(libdir)/@PACKAGE@
  69179. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  69180. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  69181. -INSTALL = @INSTALL@
  69182. install_sh_DATA = $(install_sh) -c -m 644
  69183. install_sh_PROGRAM = $(install_sh) -c
  69184. install_sh_SCRIPT = $(install_sh) -c
  69185. @@ -36,6 +34,7 @@
  69186. NORMAL_UNINSTALL = :
  69187. PRE_UNINSTALL = :
  69188. POST_UNINSTALL = :
  69189. +build_triplet = @build@
  69190. host_triplet = @host@
  69191. subdir = win32/VS2005/libspeex
  69192. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  69193. @@ -44,15 +43,14 @@
  69194. $(top_srcdir)/configure.ac
  69195. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  69196. $(ACLOCAL_M4)
  69197. -mkinstalldirs = $(mkdir_p)
  69198. +mkinstalldirs = $(install_sh) -d
  69199. CONFIG_HEADER = $(top_builddir)/config.h
  69200. CONFIG_CLEAN_FILES =
  69201. +CONFIG_CLEAN_VPATH_FILES =
  69202. SOURCES =
  69203. DIST_SOURCES =
  69204. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  69205. ACLOCAL = @ACLOCAL@
  69206. -AMDEP_FALSE = @AMDEP_FALSE@
  69207. -AMDEP_TRUE = @AMDEP_TRUE@
  69208. AMTAR = @AMTAR@
  69209. AR = @AR@
  69210. AS = @AS@
  69211. @@ -60,60 +58,57 @@
  69212. AUTOHEADER = @AUTOHEADER@
  69213. AUTOMAKE = @AUTOMAKE@
  69214. AWK = @AWK@
  69215. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  69216. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  69217. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  69218. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  69219. CC = @CC@
  69220. CCDEPMODE = @CCDEPMODE@
  69221. CFLAGS = @CFLAGS@
  69222. CPP = @CPP@
  69223. CPPFLAGS = @CPPFLAGS@
  69224. -CXX = @CXX@
  69225. -CXXCPP = @CXXCPP@
  69226. -CXXDEPMODE = @CXXDEPMODE@
  69227. -CXXFLAGS = @CXXFLAGS@
  69228. CYGPATH_W = @CYGPATH_W@
  69229. DEFS = @DEFS@
  69230. DEPDIR = @DEPDIR@
  69231. DLLTOOL = @DLLTOOL@
  69232. DSYMUTIL = @DSYMUTIL@
  69233. -ECHO = @ECHO@
  69234. +DUMPBIN = @DUMPBIN@
  69235. ECHO_C = @ECHO_C@
  69236. ECHO_N = @ECHO_N@
  69237. ECHO_T = @ECHO_T@
  69238. EGREP = @EGREP@
  69239. EXEEXT = @EXEEXT@
  69240. -F77 = @F77@
  69241. -FFLAGS = @FFLAGS@
  69242. FFT_CFLAGS = @FFT_CFLAGS@
  69243. FFT_LIBS = @FFT_LIBS@
  69244. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  69245. +FGREP = @FGREP@
  69246. GREP = @GREP@
  69247. +INSTALL = @INSTALL@
  69248. INSTALL_DATA = @INSTALL_DATA@
  69249. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  69250. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  69251. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  69252. +LD = @LD@
  69253. LDFLAGS = @LDFLAGS@
  69254. LIBOBJS = @LIBOBJS@
  69255. LIBS = @LIBS@
  69256. LIBTOOL = @LIBTOOL@
  69257. +LIPO = @LIPO@
  69258. LN_S = @LN_S@
  69259. LTLIBOBJS = @LTLIBOBJS@
  69260. MAINT = @MAINT@
  69261. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  69262. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  69263. MAKEINFO = @MAKEINFO@
  69264. +MKDIR_P = @MKDIR_P@
  69265. +NM = @NM@
  69266. NMEDIT = @NMEDIT@
  69267. OBJDUMP = @OBJDUMP@
  69268. OBJEXT = @OBJEXT@
  69269. OGG_CFLAGS = @OGG_CFLAGS@
  69270. OGG_LIBS = @OGG_LIBS@
  69271. +OTOOL = @OTOOL@
  69272. +OTOOL64 = @OTOOL64@
  69273. PACKAGE = @PACKAGE@
  69274. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  69275. PACKAGE_NAME = @PACKAGE_NAME@
  69276. PACKAGE_STRING = @PACKAGE_STRING@
  69277. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  69278. +PACKAGE_URL = @PACKAGE_URL@
  69279. PACKAGE_VERSION = @PACKAGE_VERSION@
  69280. PATH_SEPARATOR = @PATH_SEPARATOR@
  69281. PKG_CONFIG = @PKG_CONFIG@
  69282. @@ -129,22 +124,24 @@
  69283. SPEEX_VERSION = @SPEEX_VERSION@
  69284. STRIP = @STRIP@
  69285. VERSION = @VERSION@
  69286. +abs_builddir = @abs_builddir@
  69287. +abs_srcdir = @abs_srcdir@
  69288. +abs_top_builddir = @abs_top_builddir@
  69289. +abs_top_srcdir = @abs_top_srcdir@
  69290. ac_ct_CC = @ac_ct_CC@
  69291. -ac_ct_CXX = @ac_ct_CXX@
  69292. -ac_ct_F77 = @ac_ct_F77@
  69293. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  69294. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  69295. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  69296. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  69297. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  69298. am__include = @am__include@
  69299. am__leading_dot = @am__leading_dot@
  69300. am__quote = @am__quote@
  69301. +am__tar = @am__tar@
  69302. +am__untar = @am__untar@
  69303. bindir = @bindir@
  69304. build = @build@
  69305. build_alias = @build_alias@
  69306. build_cpu = @build_cpu@
  69307. build_os = @build_os@
  69308. build_vendor = @build_vendor@
  69309. +builddir = @builddir@
  69310. datadir = @datadir@
  69311. datarootdir = @datarootdir@
  69312. docdir = @docdir@
  69313. @@ -163,6 +160,7 @@
  69314. libexecdir = @libexecdir@
  69315. localedir = @localedir@
  69316. localstatedir = @localstatedir@
  69317. +lt_ECHO = @lt_ECHO@
  69318. mandir = @mandir@
  69319. mkdir_p = @mkdir_p@
  69320. oldincludedir = @oldincludedir@
  69321. @@ -173,8 +171,12 @@
  69322. sbindir = @sbindir@
  69323. sharedstatedir = @sharedstatedir@
  69324. src = @src@
  69325. +srcdir = @srcdir@
  69326. sysconfdir = @sysconfdir@
  69327. target_alias = @target_alias@
  69328. +top_build_prefix = @top_build_prefix@
  69329. +top_builddir = @top_builddir@
  69330. +top_srcdir = @top_srcdir@
  69331. EXTRA_DIST = libspeex.vcproj
  69332. all: all-am
  69333. @@ -183,14 +185,14 @@
  69334. @for dep in $?; do \
  69335. case '$(am__configure_deps)' in \
  69336. *$$dep*) \
  69337. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  69338. - && exit 0; \
  69339. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  69340. + && { if test -f $@; then exit 0; else break; fi; }; \
  69341. exit 1;; \
  69342. esac; \
  69343. done; \
  69344. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/libspeex/Makefile'; \
  69345. - cd $(top_srcdir) && \
  69346. - $(AUTOMAKE) --gnu win32/VS2005/libspeex/Makefile
  69347. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/libspeex/Makefile'; \
  69348. + $(am__cd) $(top_srcdir) && \
  69349. + $(AUTOMAKE) --gnu win32/VS2005/libspeex/Makefile
  69350. .PRECIOUS: Makefile
  69351. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  69352. @case '$?' in \
  69353. @@ -208,16 +210,13 @@
  69354. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69355. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  69356. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69357. +$(am__aclocal_m4_deps):
  69358. mostlyclean-libtool:
  69359. -rm -f *.lo
  69360. clean-libtool:
  69361. -rm -rf .libs _libs
  69362. -
  69363. -distclean-libtool:
  69364. - -rm -f libtool
  69365. -uninstall-info-am:
  69366. tags: TAGS
  69367. TAGS:
  69368. @@ -226,29 +225,32 @@
  69369. distdir: $(DISTFILES)
  69370. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  69371. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  69372. - list='$(DISTFILES)'; for file in $$list; do \
  69373. - case $$file in \
  69374. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  69375. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  69376. - esac; \
  69377. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69378. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69379. + list='$(DISTFILES)'; \
  69380. + dist_files=`for file in $$list; do echo $$file; done | \
  69381. + sed -e "s|^$$srcdirstrip/||;t" \
  69382. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  69383. + case $$dist_files in \
  69384. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  69385. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  69386. + sort -u` ;; \
  69387. + esac; \
  69388. + for file in $$dist_files; do \
  69389. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  69390. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  69391. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  69392. - dir="/$$dir"; \
  69393. - $(mkdir_p) "$(distdir)$$dir"; \
  69394. - else \
  69395. - dir=''; \
  69396. - fi; \
  69397. if test -d $$d/$$file; then \
  69398. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  69399. + if test -d "$(distdir)/$$file"; then \
  69400. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69401. + fi; \
  69402. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  69403. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  69404. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  69405. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69406. fi; \
  69407. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  69408. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  69409. else \
  69410. - test -f $(distdir)/$$file \
  69411. - || cp -p $$d/$$file $(distdir)/$$file \
  69412. + test -f "$(distdir)/$$file" \
  69413. + || cp -p $$d/$$file "$(distdir)/$$file" \
  69414. || exit 1; \
  69415. fi; \
  69416. done
  69417. @@ -275,7 +277,8 @@
  69418. clean-generic:
  69419. distclean-generic:
  69420. - -rm -f $(CONFIG_CLEAN_FILES)
  69421. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  69422. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  69423. maintainer-clean-generic:
  69424. @echo "This command is intended for maintainers to use"
  69425. @@ -286,7 +289,7 @@
  69426. distclean: distclean-am
  69427. -rm -f Makefile
  69428. -distclean-am: clean-am distclean-generic distclean-libtool
  69429. +distclean-am: clean-am distclean-generic
  69430. dvi: dvi-am
  69431. @@ -294,18 +297,38 @@
  69432. html: html-am
  69433. +html-am:
  69434. +
  69435. info: info-am
  69436. info-am:
  69437. install-data-am:
  69438. +install-dvi: install-dvi-am
  69439. +
  69440. +install-dvi-am:
  69441. +
  69442. install-exec-am:
  69443. +install-html: install-html-am
  69444. +
  69445. +install-html-am:
  69446. +
  69447. install-info: install-info-am
  69448. +install-info-am:
  69449. +
  69450. install-man:
  69451. +install-pdf: install-pdf-am
  69452. +
  69453. +install-pdf-am:
  69454. +
  69455. +install-ps: install-ps-am
  69456. +
  69457. +install-ps-am:
  69458. +
  69459. installcheck-am:
  69460. maintainer-clean: maintainer-clean-am
  69461. @@ -324,17 +347,21 @@
  69462. ps-am:
  69463. -uninstall-am: uninstall-info-am
  69464. +uninstall-am:
  69465. +
  69466. +.MAKE: install-am install-strip
  69467. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  69468. distclean distclean-generic distclean-libtool distdir dvi \
  69469. dvi-am html html-am info info-am install install-am \
  69470. - install-data install-data-am install-exec install-exec-am \
  69471. - install-info install-info-am install-man install-strip \
  69472. + install-data install-data-am install-dvi install-dvi-am \
  69473. + install-exec install-exec-am install-html install-html-am \
  69474. + install-info install-info-am install-man install-pdf \
  69475. + install-pdf-am install-ps install-ps-am install-strip \
  69476. installcheck installcheck-am installdirs maintainer-clean \
  69477. maintainer-clean-generic mostlyclean mostlyclean-generic \
  69478. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  69479. - uninstall-info-am
  69480. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  69481. +
  69482. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  69483. # Otherwise a system limit (for SysV at least) may be exceeded.
  69484. diff -Nur speex-1.2rc1.orig/win32/VS2005/libspeexdsp/Makefile.in speex-1.2rc1/win32/VS2005/libspeexdsp/Makefile.in
  69485. --- speex-1.2rc1.orig/win32/VS2005/libspeexdsp/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  69486. +++ speex-1.2rc1/win32/VS2005/libspeexdsp/Makefile.in 2011-02-20 22:00:58.384802481 +0100
  69487. @@ -1,8 +1,9 @@
  69488. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  69489. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  69490. # @configure_input@
  69491. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  69492. -# 2003, 2004 Free Software Foundation, Inc.
  69493. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  69494. +# Inc.
  69495. # This Makefile.in is free software; the Free Software Foundation
  69496. # gives unlimited permission to copy and/or distribute it,
  69497. # with or without modifications, as long as this notice is preserved.
  69498. @@ -16,15 +17,12 @@
  69499. # Disable automatic dependency tracking if using other tools than gcc and gmake
  69500. #AUTOMAKE_OPTIONS = no-dependencies
  69501. -srcdir = @srcdir@
  69502. -top_srcdir = @top_srcdir@
  69503. VPATH = @srcdir@
  69504. pkgdatadir = $(datadir)/@PACKAGE@
  69505. -pkglibdir = $(libdir)/@PACKAGE@
  69506. pkgincludedir = $(includedir)/@PACKAGE@
  69507. -top_builddir = ../../..
  69508. +pkglibdir = $(libdir)/@PACKAGE@
  69509. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  69510. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  69511. -INSTALL = @INSTALL@
  69512. install_sh_DATA = $(install_sh) -c -m 644
  69513. install_sh_PROGRAM = $(install_sh) -c
  69514. install_sh_SCRIPT = $(install_sh) -c
  69515. @@ -36,6 +34,7 @@
  69516. NORMAL_UNINSTALL = :
  69517. PRE_UNINSTALL = :
  69518. POST_UNINSTALL = :
  69519. +build_triplet = @build@
  69520. host_triplet = @host@
  69521. subdir = win32/VS2005/libspeexdsp
  69522. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  69523. @@ -44,15 +43,14 @@
  69524. $(top_srcdir)/configure.ac
  69525. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  69526. $(ACLOCAL_M4)
  69527. -mkinstalldirs = $(mkdir_p)
  69528. +mkinstalldirs = $(install_sh) -d
  69529. CONFIG_HEADER = $(top_builddir)/config.h
  69530. CONFIG_CLEAN_FILES =
  69531. +CONFIG_CLEAN_VPATH_FILES =
  69532. SOURCES =
  69533. DIST_SOURCES =
  69534. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  69535. ACLOCAL = @ACLOCAL@
  69536. -AMDEP_FALSE = @AMDEP_FALSE@
  69537. -AMDEP_TRUE = @AMDEP_TRUE@
  69538. AMTAR = @AMTAR@
  69539. AR = @AR@
  69540. AS = @AS@
  69541. @@ -60,60 +58,57 @@
  69542. AUTOHEADER = @AUTOHEADER@
  69543. AUTOMAKE = @AUTOMAKE@
  69544. AWK = @AWK@
  69545. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  69546. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  69547. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  69548. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  69549. CC = @CC@
  69550. CCDEPMODE = @CCDEPMODE@
  69551. CFLAGS = @CFLAGS@
  69552. CPP = @CPP@
  69553. CPPFLAGS = @CPPFLAGS@
  69554. -CXX = @CXX@
  69555. -CXXCPP = @CXXCPP@
  69556. -CXXDEPMODE = @CXXDEPMODE@
  69557. -CXXFLAGS = @CXXFLAGS@
  69558. CYGPATH_W = @CYGPATH_W@
  69559. DEFS = @DEFS@
  69560. DEPDIR = @DEPDIR@
  69561. DLLTOOL = @DLLTOOL@
  69562. DSYMUTIL = @DSYMUTIL@
  69563. -ECHO = @ECHO@
  69564. +DUMPBIN = @DUMPBIN@
  69565. ECHO_C = @ECHO_C@
  69566. ECHO_N = @ECHO_N@
  69567. ECHO_T = @ECHO_T@
  69568. EGREP = @EGREP@
  69569. EXEEXT = @EXEEXT@
  69570. -F77 = @F77@
  69571. -FFLAGS = @FFLAGS@
  69572. FFT_CFLAGS = @FFT_CFLAGS@
  69573. FFT_LIBS = @FFT_LIBS@
  69574. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  69575. +FGREP = @FGREP@
  69576. GREP = @GREP@
  69577. +INSTALL = @INSTALL@
  69578. INSTALL_DATA = @INSTALL_DATA@
  69579. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  69580. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  69581. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  69582. +LD = @LD@
  69583. LDFLAGS = @LDFLAGS@
  69584. LIBOBJS = @LIBOBJS@
  69585. LIBS = @LIBS@
  69586. LIBTOOL = @LIBTOOL@
  69587. +LIPO = @LIPO@
  69588. LN_S = @LN_S@
  69589. LTLIBOBJS = @LTLIBOBJS@
  69590. MAINT = @MAINT@
  69591. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  69592. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  69593. MAKEINFO = @MAKEINFO@
  69594. +MKDIR_P = @MKDIR_P@
  69595. +NM = @NM@
  69596. NMEDIT = @NMEDIT@
  69597. OBJDUMP = @OBJDUMP@
  69598. OBJEXT = @OBJEXT@
  69599. OGG_CFLAGS = @OGG_CFLAGS@
  69600. OGG_LIBS = @OGG_LIBS@
  69601. +OTOOL = @OTOOL@
  69602. +OTOOL64 = @OTOOL64@
  69603. PACKAGE = @PACKAGE@
  69604. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  69605. PACKAGE_NAME = @PACKAGE_NAME@
  69606. PACKAGE_STRING = @PACKAGE_STRING@
  69607. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  69608. +PACKAGE_URL = @PACKAGE_URL@
  69609. PACKAGE_VERSION = @PACKAGE_VERSION@
  69610. PATH_SEPARATOR = @PATH_SEPARATOR@
  69611. PKG_CONFIG = @PKG_CONFIG@
  69612. @@ -129,22 +124,24 @@
  69613. SPEEX_VERSION = @SPEEX_VERSION@
  69614. STRIP = @STRIP@
  69615. VERSION = @VERSION@
  69616. +abs_builddir = @abs_builddir@
  69617. +abs_srcdir = @abs_srcdir@
  69618. +abs_top_builddir = @abs_top_builddir@
  69619. +abs_top_srcdir = @abs_top_srcdir@
  69620. ac_ct_CC = @ac_ct_CC@
  69621. -ac_ct_CXX = @ac_ct_CXX@
  69622. -ac_ct_F77 = @ac_ct_F77@
  69623. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  69624. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  69625. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  69626. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  69627. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  69628. am__include = @am__include@
  69629. am__leading_dot = @am__leading_dot@
  69630. am__quote = @am__quote@
  69631. +am__tar = @am__tar@
  69632. +am__untar = @am__untar@
  69633. bindir = @bindir@
  69634. build = @build@
  69635. build_alias = @build_alias@
  69636. build_cpu = @build_cpu@
  69637. build_os = @build_os@
  69638. build_vendor = @build_vendor@
  69639. +builddir = @builddir@
  69640. datadir = @datadir@
  69641. datarootdir = @datarootdir@
  69642. docdir = @docdir@
  69643. @@ -163,6 +160,7 @@
  69644. libexecdir = @libexecdir@
  69645. localedir = @localedir@
  69646. localstatedir = @localstatedir@
  69647. +lt_ECHO = @lt_ECHO@
  69648. mandir = @mandir@
  69649. mkdir_p = @mkdir_p@
  69650. oldincludedir = @oldincludedir@
  69651. @@ -173,8 +171,12 @@
  69652. sbindir = @sbindir@
  69653. sharedstatedir = @sharedstatedir@
  69654. src = @src@
  69655. +srcdir = @srcdir@
  69656. sysconfdir = @sysconfdir@
  69657. target_alias = @target_alias@
  69658. +top_build_prefix = @top_build_prefix@
  69659. +top_builddir = @top_builddir@
  69660. +top_srcdir = @top_srcdir@
  69661. EXTRA_DIST = libspeexdsp.vcproj
  69662. all: all-am
  69663. @@ -183,14 +185,14 @@
  69664. @for dep in $?; do \
  69665. case '$(am__configure_deps)' in \
  69666. *$$dep*) \
  69667. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  69668. - && exit 0; \
  69669. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  69670. + && { if test -f $@; then exit 0; else break; fi; }; \
  69671. exit 1;; \
  69672. esac; \
  69673. done; \
  69674. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/libspeexdsp/Makefile'; \
  69675. - cd $(top_srcdir) && \
  69676. - $(AUTOMAKE) --gnu win32/VS2005/libspeexdsp/Makefile
  69677. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/libspeexdsp/Makefile'; \
  69678. + $(am__cd) $(top_srcdir) && \
  69679. + $(AUTOMAKE) --gnu win32/VS2005/libspeexdsp/Makefile
  69680. .PRECIOUS: Makefile
  69681. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  69682. @case '$?' in \
  69683. @@ -208,16 +210,13 @@
  69684. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69685. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  69686. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  69687. +$(am__aclocal_m4_deps):
  69688. mostlyclean-libtool:
  69689. -rm -f *.lo
  69690. clean-libtool:
  69691. -rm -rf .libs _libs
  69692. -
  69693. -distclean-libtool:
  69694. - -rm -f libtool
  69695. -uninstall-info-am:
  69696. tags: TAGS
  69697. TAGS:
  69698. @@ -226,29 +225,32 @@
  69699. distdir: $(DISTFILES)
  69700. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  69701. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  69702. - list='$(DISTFILES)'; for file in $$list; do \
  69703. - case $$file in \
  69704. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  69705. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  69706. - esac; \
  69707. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69708. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  69709. + list='$(DISTFILES)'; \
  69710. + dist_files=`for file in $$list; do echo $$file; done | \
  69711. + sed -e "s|^$$srcdirstrip/||;t" \
  69712. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  69713. + case $$dist_files in \
  69714. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  69715. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  69716. + sort -u` ;; \
  69717. + esac; \
  69718. + for file in $$dist_files; do \
  69719. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  69720. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  69721. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  69722. - dir="/$$dir"; \
  69723. - $(mkdir_p) "$(distdir)$$dir"; \
  69724. - else \
  69725. - dir=''; \
  69726. - fi; \
  69727. if test -d $$d/$$file; then \
  69728. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  69729. + if test -d "$(distdir)/$$file"; then \
  69730. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69731. + fi; \
  69732. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  69733. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  69734. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  69735. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  69736. fi; \
  69737. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  69738. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  69739. else \
  69740. - test -f $(distdir)/$$file \
  69741. - || cp -p $$d/$$file $(distdir)/$$file \
  69742. + test -f "$(distdir)/$$file" \
  69743. + || cp -p $$d/$$file "$(distdir)/$$file" \
  69744. || exit 1; \
  69745. fi; \
  69746. done
  69747. @@ -275,7 +277,8 @@
  69748. clean-generic:
  69749. distclean-generic:
  69750. - -rm -f $(CONFIG_CLEAN_FILES)
  69751. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  69752. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  69753. maintainer-clean-generic:
  69754. @echo "This command is intended for maintainers to use"
  69755. @@ -286,7 +289,7 @@
  69756. distclean: distclean-am
  69757. -rm -f Makefile
  69758. -distclean-am: clean-am distclean-generic distclean-libtool
  69759. +distclean-am: clean-am distclean-generic
  69760. dvi: dvi-am
  69761. @@ -294,18 +297,38 @@
  69762. html: html-am
  69763. +html-am:
  69764. +
  69765. info: info-am
  69766. info-am:
  69767. install-data-am:
  69768. +install-dvi: install-dvi-am
  69769. +
  69770. +install-dvi-am:
  69771. +
  69772. install-exec-am:
  69773. +install-html: install-html-am
  69774. +
  69775. +install-html-am:
  69776. +
  69777. install-info: install-info-am
  69778. +install-info-am:
  69779. +
  69780. install-man:
  69781. +install-pdf: install-pdf-am
  69782. +
  69783. +install-pdf-am:
  69784. +
  69785. +install-ps: install-ps-am
  69786. +
  69787. +install-ps-am:
  69788. +
  69789. installcheck-am:
  69790. maintainer-clean: maintainer-clean-am
  69791. @@ -324,17 +347,21 @@
  69792. ps-am:
  69793. -uninstall-am: uninstall-info-am
  69794. +uninstall-am:
  69795. +
  69796. +.MAKE: install-am install-strip
  69797. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  69798. distclean distclean-generic distclean-libtool distdir dvi \
  69799. dvi-am html html-am info info-am install install-am \
  69800. - install-data install-data-am install-exec install-exec-am \
  69801. - install-info install-info-am install-man install-strip \
  69802. + install-data install-data-am install-dvi install-dvi-am \
  69803. + install-exec install-exec-am install-html install-html-am \
  69804. + install-info install-info-am install-man install-pdf \
  69805. + install-pdf-am install-ps install-ps-am install-strip \
  69806. installcheck installcheck-am installdirs maintainer-clean \
  69807. maintainer-clean-generic mostlyclean mostlyclean-generic \
  69808. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  69809. - uninstall-info-am
  69810. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  69811. +
  69812. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  69813. # Otherwise a system limit (for SysV at least) may be exceeded.
  69814. diff -Nur speex-1.2rc1.orig/win32/VS2005/Makefile.in speex-1.2rc1/win32/VS2005/Makefile.in
  69815. --- speex-1.2rc1.orig/win32/VS2005/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  69816. +++ speex-1.2rc1/win32/VS2005/Makefile.in 2011-02-20 22:00:58.333863330 +0100
  69817. @@ -1,8 +1,9 @@
  69818. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  69819. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  69820. # @configure_input@
  69821. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  69822. -# 2003, 2004 Free Software Foundation, Inc.
  69823. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  69824. +# Inc.
  69825. # This Makefile.in is free software; the Free Software Foundation
  69826. # gives unlimited permission to copy and/or distribute it,
  69827. # with or without modifications, as long as this notice is preserved.
  69828. @@ -16,15 +17,12 @@
  69829. # Disable automatic dependency tracking if using other tools than gcc and gmake
  69830. #AUTOMAKE_OPTIONS = no-dependencies
  69831. -srcdir = @srcdir@
  69832. -top_srcdir = @top_srcdir@
  69833. VPATH = @srcdir@
  69834. pkgdatadir = $(datadir)/@PACKAGE@
  69835. -pkglibdir = $(libdir)/@PACKAGE@
  69836. pkgincludedir = $(includedir)/@PACKAGE@
  69837. -top_builddir = ../..
  69838. +pkglibdir = $(libdir)/@PACKAGE@
  69839. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  69840. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  69841. -INSTALL = @INSTALL@
  69842. install_sh_DATA = $(install_sh) -c -m 644
  69843. install_sh_PROGRAM = $(install_sh) -c
  69844. install_sh_SCRIPT = $(install_sh) -c
  69845. @@ -36,6 +34,7 @@
  69846. NORMAL_UNINSTALL = :
  69847. PRE_UNINSTALL = :
  69848. POST_UNINSTALL = :
  69849. +build_triplet = @build@
  69850. host_triplet = @host@
  69851. subdir = win32/VS2005
  69852. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  69853. @@ -44,24 +43,54 @@
  69854. $(top_srcdir)/configure.ac
  69855. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  69856. $(ACLOCAL_M4)
  69857. -mkinstalldirs = $(mkdir_p)
  69858. +mkinstalldirs = $(install_sh) -d
  69859. CONFIG_HEADER = $(top_builddir)/config.h
  69860. CONFIG_CLEAN_FILES =
  69861. +CONFIG_CLEAN_VPATH_FILES =
  69862. SOURCES =
  69863. DIST_SOURCES =
  69864. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  69865. html-recursive info-recursive install-data-recursive \
  69866. - install-exec-recursive install-info-recursive \
  69867. - install-recursive installcheck-recursive installdirs-recursive \
  69868. - pdf-recursive ps-recursive uninstall-info-recursive \
  69869. - uninstall-recursive
  69870. + install-dvi-recursive install-exec-recursive \
  69871. + install-html-recursive install-info-recursive \
  69872. + install-pdf-recursive install-ps-recursive install-recursive \
  69873. + installcheck-recursive installdirs-recursive pdf-recursive \
  69874. + ps-recursive uninstall-recursive
  69875. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  69876. + distclean-recursive maintainer-clean-recursive
  69877. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  69878. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  69879. + distdir
  69880. ETAGS = etags
  69881. CTAGS = ctags
  69882. DIST_SUBDIRS = $(SUBDIRS)
  69883. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  69884. +am__relativize = \
  69885. + dir0=`pwd`; \
  69886. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  69887. + sed_rest='s,^[^/]*/*,,'; \
  69888. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  69889. + sed_butlast='s,/*[^/]*$$,,'; \
  69890. + while test -n "$$dir1"; do \
  69891. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  69892. + if test "$$first" != "."; then \
  69893. + if test "$$first" = ".."; then \
  69894. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  69895. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  69896. + else \
  69897. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  69898. + if test "$$first2" = "$$first"; then \
  69899. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  69900. + else \
  69901. + dir2="../$$dir2"; \
  69902. + fi; \
  69903. + dir0="$$dir0"/"$$first"; \
  69904. + fi; \
  69905. + fi; \
  69906. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  69907. + done; \
  69908. + reldir="$$dir2"
  69909. ACLOCAL = @ACLOCAL@
  69910. -AMDEP_FALSE = @AMDEP_FALSE@
  69911. -AMDEP_TRUE = @AMDEP_TRUE@
  69912. AMTAR = @AMTAR@
  69913. AR = @AR@
  69914. AS = @AS@
  69915. @@ -69,60 +98,57 @@
  69916. AUTOHEADER = @AUTOHEADER@
  69917. AUTOMAKE = @AUTOMAKE@
  69918. AWK = @AWK@
  69919. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  69920. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  69921. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  69922. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  69923. CC = @CC@
  69924. CCDEPMODE = @CCDEPMODE@
  69925. CFLAGS = @CFLAGS@
  69926. CPP = @CPP@
  69927. CPPFLAGS = @CPPFLAGS@
  69928. -CXX = @CXX@
  69929. -CXXCPP = @CXXCPP@
  69930. -CXXDEPMODE = @CXXDEPMODE@
  69931. -CXXFLAGS = @CXXFLAGS@
  69932. CYGPATH_W = @CYGPATH_W@
  69933. DEFS = @DEFS@
  69934. DEPDIR = @DEPDIR@
  69935. DLLTOOL = @DLLTOOL@
  69936. DSYMUTIL = @DSYMUTIL@
  69937. -ECHO = @ECHO@
  69938. +DUMPBIN = @DUMPBIN@
  69939. ECHO_C = @ECHO_C@
  69940. ECHO_N = @ECHO_N@
  69941. ECHO_T = @ECHO_T@
  69942. EGREP = @EGREP@
  69943. EXEEXT = @EXEEXT@
  69944. -F77 = @F77@
  69945. -FFLAGS = @FFLAGS@
  69946. FFT_CFLAGS = @FFT_CFLAGS@
  69947. FFT_LIBS = @FFT_LIBS@
  69948. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  69949. +FGREP = @FGREP@
  69950. GREP = @GREP@
  69951. +INSTALL = @INSTALL@
  69952. INSTALL_DATA = @INSTALL_DATA@
  69953. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  69954. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  69955. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  69956. +LD = @LD@
  69957. LDFLAGS = @LDFLAGS@
  69958. LIBOBJS = @LIBOBJS@
  69959. LIBS = @LIBS@
  69960. LIBTOOL = @LIBTOOL@
  69961. +LIPO = @LIPO@
  69962. LN_S = @LN_S@
  69963. LTLIBOBJS = @LTLIBOBJS@
  69964. MAINT = @MAINT@
  69965. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  69966. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  69967. MAKEINFO = @MAKEINFO@
  69968. +MKDIR_P = @MKDIR_P@
  69969. +NM = @NM@
  69970. NMEDIT = @NMEDIT@
  69971. OBJDUMP = @OBJDUMP@
  69972. OBJEXT = @OBJEXT@
  69973. OGG_CFLAGS = @OGG_CFLAGS@
  69974. OGG_LIBS = @OGG_LIBS@
  69975. +OTOOL = @OTOOL@
  69976. +OTOOL64 = @OTOOL64@
  69977. PACKAGE = @PACKAGE@
  69978. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  69979. PACKAGE_NAME = @PACKAGE_NAME@
  69980. PACKAGE_STRING = @PACKAGE_STRING@
  69981. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  69982. +PACKAGE_URL = @PACKAGE_URL@
  69983. PACKAGE_VERSION = @PACKAGE_VERSION@
  69984. PATH_SEPARATOR = @PATH_SEPARATOR@
  69985. PKG_CONFIG = @PKG_CONFIG@
  69986. @@ -138,22 +164,24 @@
  69987. SPEEX_VERSION = @SPEEX_VERSION@
  69988. STRIP = @STRIP@
  69989. VERSION = @VERSION@
  69990. +abs_builddir = @abs_builddir@
  69991. +abs_srcdir = @abs_srcdir@
  69992. +abs_top_builddir = @abs_top_builddir@
  69993. +abs_top_srcdir = @abs_top_srcdir@
  69994. ac_ct_CC = @ac_ct_CC@
  69995. -ac_ct_CXX = @ac_ct_CXX@
  69996. -ac_ct_F77 = @ac_ct_F77@
  69997. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  69998. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  69999. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  70000. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  70001. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  70002. am__include = @am__include@
  70003. am__leading_dot = @am__leading_dot@
  70004. am__quote = @am__quote@
  70005. +am__tar = @am__tar@
  70006. +am__untar = @am__untar@
  70007. bindir = @bindir@
  70008. build = @build@
  70009. build_alias = @build_alias@
  70010. build_cpu = @build_cpu@
  70011. build_os = @build_os@
  70012. build_vendor = @build_vendor@
  70013. +builddir = @builddir@
  70014. datadir = @datadir@
  70015. datarootdir = @datarootdir@
  70016. docdir = @docdir@
  70017. @@ -172,6 +200,7 @@
  70018. libexecdir = @libexecdir@
  70019. localedir = @localedir@
  70020. localstatedir = @localstatedir@
  70021. +lt_ECHO = @lt_ECHO@
  70022. mandir = @mandir@
  70023. mkdir_p = @mkdir_p@
  70024. oldincludedir = @oldincludedir@
  70025. @@ -182,8 +211,12 @@
  70026. sbindir = @sbindir@
  70027. sharedstatedir = @sharedstatedir@
  70028. src = @src@
  70029. +srcdir = @srcdir@
  70030. sysconfdir = @sysconfdir@
  70031. target_alias = @target_alias@
  70032. +top_build_prefix = @top_build_prefix@
  70033. +top_builddir = @top_builddir@
  70034. +top_srcdir = @top_srcdir@
  70035. SUBDIRS = libspeex libspeexdsp speexenc speexdec tests
  70036. EXTRA_DIST = libspeex.sln
  70037. all: all-recursive
  70038. @@ -193,14 +226,14 @@
  70039. @for dep in $?; do \
  70040. case '$(am__configure_deps)' in \
  70041. *$$dep*) \
  70042. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  70043. - && exit 0; \
  70044. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  70045. + && { if test -f $@; then exit 0; else break; fi; }; \
  70046. exit 1;; \
  70047. esac; \
  70048. done; \
  70049. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/Makefile'; \
  70050. - cd $(top_srcdir) && \
  70051. - $(AUTOMAKE) --gnu win32/VS2005/Makefile
  70052. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/Makefile'; \
  70053. + $(am__cd) $(top_srcdir) && \
  70054. + $(AUTOMAKE) --gnu win32/VS2005/Makefile
  70055. .PRECIOUS: Makefile
  70056. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  70057. @case '$?' in \
  70058. @@ -218,6 +251,7 @@
  70059. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70060. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  70061. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70062. +$(am__aclocal_m4_deps):
  70063. mostlyclean-libtool:
  70064. -rm -f *.lo
  70065. @@ -225,10 +259,6 @@
  70066. clean-libtool:
  70067. -rm -rf .libs _libs
  70068. -distclean-libtool:
  70069. - -rm -f libtool
  70070. -uninstall-info-am:
  70071. -
  70072. # This directory's subdirectories are mostly independent; you can cd
  70073. # into them and run `make' without going through this Makefile.
  70074. # To change the values of `make' variables: instead of editing Makefiles,
  70075. @@ -236,7 +266,13 @@
  70076. # (which will cause the Makefiles to be regenerated when you run `make');
  70077. # (2) otherwise, pass the desired values on the `make' command line.
  70078. $(RECURSIVE_TARGETS):
  70079. - @set fnord $$MAKEFLAGS; amf=$$2; \
  70080. + @fail= failcom='exit 1'; \
  70081. + for f in x $$MAKEFLAGS; do \
  70082. + case $$f in \
  70083. + *=* | --[!k]*);; \
  70084. + *k*) failcom='fail=yes';; \
  70085. + esac; \
  70086. + done; \
  70087. dot_seen=no; \
  70088. target=`echo $@ | sed s/-recursive//`; \
  70089. list='$(SUBDIRS)'; for subdir in $$list; do \
  70090. @@ -247,16 +283,21 @@
  70091. else \
  70092. local_target="$$target"; \
  70093. fi; \
  70094. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  70095. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  70096. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  70097. + || eval $$failcom; \
  70098. done; \
  70099. if test "$$dot_seen" = "no"; then \
  70100. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  70101. fi; test -z "$$fail"
  70102. -mostlyclean-recursive clean-recursive distclean-recursive \
  70103. -maintainer-clean-recursive:
  70104. - @set fnord $$MAKEFLAGS; amf=$$2; \
  70105. +$(RECURSIVE_CLEAN_TARGETS):
  70106. + @fail= failcom='exit 1'; \
  70107. + for f in x $$MAKEFLAGS; do \
  70108. + case $$f in \
  70109. + *=* | --[!k]*);; \
  70110. + *k*) failcom='fail=yes';; \
  70111. + esac; \
  70112. + done; \
  70113. dot_seen=no; \
  70114. case "$@" in \
  70115. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  70116. @@ -276,16 +317,16 @@
  70117. else \
  70118. local_target="$$target"; \
  70119. fi; \
  70120. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  70121. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  70122. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  70123. + || eval $$failcom; \
  70124. done && test -z "$$fail"
  70125. tags-recursive:
  70126. list='$(SUBDIRS)'; for subdir in $$list; do \
  70127. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  70128. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  70129. done
  70130. ctags-recursive:
  70131. list='$(SUBDIRS)'; for subdir in $$list; do \
  70132. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  70133. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  70134. done
  70135. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  70136. @@ -293,14 +334,14 @@
  70137. unique=`for i in $$list; do \
  70138. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  70139. done | \
  70140. - $(AWK) ' { files[$$0] = 1; } \
  70141. - END { for (i in files) print i; }'`; \
  70142. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  70143. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  70144. mkid -fID $$unique
  70145. tags: TAGS
  70146. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  70147. $(TAGS_FILES) $(LISP)
  70148. - tags=; \
  70149. + set x; \
  70150. here=`pwd`; \
  70151. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  70152. include_option=--etags-include; \
  70153. @@ -312,79 +353,101 @@
  70154. list='$(SUBDIRS)'; for subdir in $$list; do \
  70155. if test "$$subdir" = .; then :; else \
  70156. test ! -f $$subdir/TAGS || \
  70157. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  70158. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  70159. fi; \
  70160. done; \
  70161. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  70162. unique=`for i in $$list; do \
  70163. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  70164. done | \
  70165. - $(AWK) ' { files[$$0] = 1; } \
  70166. - END { for (i in files) print i; }'`; \
  70167. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  70168. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  70169. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  70170. + shift; \
  70171. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  70172. test -n "$$unique" || unique=$$empty_fix; \
  70173. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  70174. - $$tags $$unique; \
  70175. + if test $$# -gt 0; then \
  70176. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  70177. + "$$@" $$unique; \
  70178. + else \
  70179. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  70180. + $$unique; \
  70181. + fi; \
  70182. fi
  70183. ctags: CTAGS
  70184. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  70185. $(TAGS_FILES) $(LISP)
  70186. - tags=; \
  70187. - here=`pwd`; \
  70188. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  70189. unique=`for i in $$list; do \
  70190. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  70191. done | \
  70192. - $(AWK) ' { files[$$0] = 1; } \
  70193. - END { for (i in files) print i; }'`; \
  70194. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  70195. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  70196. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  70197. + test -z "$(CTAGS_ARGS)$$unique" \
  70198. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  70199. - $$tags $$unique
  70200. + $$unique
  70201. GTAGS:
  70202. here=`$(am__cd) $(top_builddir) && pwd` \
  70203. - && cd $(top_srcdir) \
  70204. - && gtags -i $(GTAGS_ARGS) $$here
  70205. + && $(am__cd) $(top_srcdir) \
  70206. + && gtags -i $(GTAGS_ARGS) "$$here"
  70207. distclean-tags:
  70208. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  70209. distdir: $(DISTFILES)
  70210. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  70211. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  70212. - list='$(DISTFILES)'; for file in $$list; do \
  70213. - case $$file in \
  70214. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  70215. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  70216. - esac; \
  70217. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70218. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70219. + list='$(DISTFILES)'; \
  70220. + dist_files=`for file in $$list; do echo $$file; done | \
  70221. + sed -e "s|^$$srcdirstrip/||;t" \
  70222. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  70223. + case $$dist_files in \
  70224. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  70225. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  70226. + sort -u` ;; \
  70227. + esac; \
  70228. + for file in $$dist_files; do \
  70229. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  70230. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  70231. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  70232. - dir="/$$dir"; \
  70233. - $(mkdir_p) "$(distdir)$$dir"; \
  70234. - else \
  70235. - dir=''; \
  70236. - fi; \
  70237. if test -d $$d/$$file; then \
  70238. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  70239. + if test -d "$(distdir)/$$file"; then \
  70240. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70241. + fi; \
  70242. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  70243. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  70244. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  70245. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70246. fi; \
  70247. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  70248. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  70249. else \
  70250. - test -f $(distdir)/$$file \
  70251. - || cp -p $$d/$$file $(distdir)/$$file \
  70252. + test -f "$(distdir)/$$file" \
  70253. + || cp -p $$d/$$file "$(distdir)/$$file" \
  70254. || exit 1; \
  70255. fi; \
  70256. done
  70257. - list='$(SUBDIRS)'; for subdir in $$list; do \
  70258. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  70259. if test "$$subdir" = .; then :; else \
  70260. test -d "$(distdir)/$$subdir" \
  70261. - || mkdir "$(distdir)/$$subdir" \
  70262. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  70263. || exit 1; \
  70264. - (cd $$subdir && \
  70265. + fi; \
  70266. + done
  70267. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  70268. + if test "$$subdir" = .; then :; else \
  70269. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  70270. + $(am__relativize); \
  70271. + new_distdir=$$reldir; \
  70272. + dir1=$$subdir; dir2="$(top_distdir)"; \
  70273. + $(am__relativize); \
  70274. + new_top_distdir=$$reldir; \
  70275. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  70276. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  70277. + ($(am__cd) $$subdir && \
  70278. $(MAKE) $(AM_MAKEFLAGS) \
  70279. - top_distdir="../$(top_distdir)" \
  70280. - distdir="../$(distdir)/$$subdir" \
  70281. + top_distdir="$$new_top_distdir" \
  70282. + distdir="$$new_distdir" \
  70283. + am__remove_distdir=: \
  70284. + am__skip_length_check=: \
  70285. + am__skip_mode_fix=: \
  70286. distdir) \
  70287. || exit 1; \
  70288. fi; \
  70289. @@ -413,7 +476,8 @@
  70290. clean-generic:
  70291. distclean-generic:
  70292. - -rm -f $(CONFIG_CLEAN_FILES)
  70293. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  70294. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  70295. maintainer-clean-generic:
  70296. @echo "This command is intended for maintainers to use"
  70297. @@ -424,8 +488,7 @@
  70298. distclean: distclean-recursive
  70299. -rm -f Makefile
  70300. -distclean-am: clean-am distclean-generic distclean-libtool \
  70301. - distclean-tags
  70302. +distclean-am: clean-am distclean-generic distclean-tags
  70303. dvi: dvi-recursive
  70304. @@ -433,18 +496,38 @@
  70305. html: html-recursive
  70306. +html-am:
  70307. +
  70308. info: info-recursive
  70309. info-am:
  70310. install-data-am:
  70311. +install-dvi: install-dvi-recursive
  70312. +
  70313. +install-dvi-am:
  70314. +
  70315. install-exec-am:
  70316. +install-html: install-html-recursive
  70317. +
  70318. +install-html-am:
  70319. +
  70320. install-info: install-info-recursive
  70321. +install-info-am:
  70322. +
  70323. install-man:
  70324. +install-pdf: install-pdf-recursive
  70325. +
  70326. +install-pdf-am:
  70327. +
  70328. +install-ps: install-ps-recursive
  70329. +
  70330. +install-ps-am:
  70331. +
  70332. installcheck-am:
  70333. maintainer-clean: maintainer-clean-recursive
  70334. @@ -463,22 +546,25 @@
  70335. ps-am:
  70336. -uninstall-am: uninstall-info-am
  70337. +uninstall-am:
  70338. -uninstall-info: uninstall-info-recursive
  70339. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  70340. + install-am install-strip tags-recursive
  70341. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  70342. - clean clean-generic clean-libtool clean-recursive ctags \
  70343. - ctags-recursive distclean distclean-generic distclean-libtool \
  70344. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  70345. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  70346. + all all-am check check-am clean clean-generic clean-libtool \
  70347. + ctags ctags-recursive distclean distclean-generic \
  70348. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  70349. html-am info info-am install install-am install-data \
  70350. - install-data-am install-exec install-exec-am install-info \
  70351. - install-info-am install-man install-strip installcheck \
  70352. + install-data-am install-dvi install-dvi-am install-exec \
  70353. + install-exec-am install-html install-html-am install-info \
  70354. + install-info-am install-man install-pdf install-pdf-am \
  70355. + install-ps install-ps-am install-strip installcheck \
  70356. installcheck-am installdirs installdirs-am maintainer-clean \
  70357. - maintainer-clean-generic maintainer-clean-recursive \
  70358. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  70359. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  70360. - uninstall uninstall-am uninstall-info-am
  70361. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  70362. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  70363. + uninstall uninstall-am
  70364. +
  70365. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  70366. # Otherwise a system limit (for SysV at least) may be exceeded.
  70367. diff -Nur speex-1.2rc1.orig/win32/VS2005/speexdec/Makefile.in speex-1.2rc1/win32/VS2005/speexdec/Makefile.in
  70368. --- speex-1.2rc1.orig/win32/VS2005/speexdec/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  70369. +++ speex-1.2rc1/win32/VS2005/speexdec/Makefile.in 2011-02-20 22:00:58.414802600 +0100
  70370. @@ -1,8 +1,9 @@
  70371. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  70372. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  70373. # @configure_input@
  70374. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  70375. -# 2003, 2004 Free Software Foundation, Inc.
  70376. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  70377. +# Inc.
  70378. # This Makefile.in is free software; the Free Software Foundation
  70379. # gives unlimited permission to copy and/or distribute it,
  70380. # with or without modifications, as long as this notice is preserved.
  70381. @@ -16,15 +17,12 @@
  70382. # Disable automatic dependency tracking if using other tools than gcc and gmake
  70383. #AUTOMAKE_OPTIONS = no-dependencies
  70384. -srcdir = @srcdir@
  70385. -top_srcdir = @top_srcdir@
  70386. VPATH = @srcdir@
  70387. pkgdatadir = $(datadir)/@PACKAGE@
  70388. -pkglibdir = $(libdir)/@PACKAGE@
  70389. pkgincludedir = $(includedir)/@PACKAGE@
  70390. -top_builddir = ../../..
  70391. +pkglibdir = $(libdir)/@PACKAGE@
  70392. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  70393. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  70394. -INSTALL = @INSTALL@
  70395. install_sh_DATA = $(install_sh) -c -m 644
  70396. install_sh_PROGRAM = $(install_sh) -c
  70397. install_sh_SCRIPT = $(install_sh) -c
  70398. @@ -36,6 +34,7 @@
  70399. NORMAL_UNINSTALL = :
  70400. PRE_UNINSTALL = :
  70401. POST_UNINSTALL = :
  70402. +build_triplet = @build@
  70403. host_triplet = @host@
  70404. subdir = win32/VS2005/speexdec
  70405. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  70406. @@ -44,15 +43,14 @@
  70407. $(top_srcdir)/configure.ac
  70408. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  70409. $(ACLOCAL_M4)
  70410. -mkinstalldirs = $(mkdir_p)
  70411. +mkinstalldirs = $(install_sh) -d
  70412. CONFIG_HEADER = $(top_builddir)/config.h
  70413. CONFIG_CLEAN_FILES =
  70414. +CONFIG_CLEAN_VPATH_FILES =
  70415. SOURCES =
  70416. DIST_SOURCES =
  70417. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  70418. ACLOCAL = @ACLOCAL@
  70419. -AMDEP_FALSE = @AMDEP_FALSE@
  70420. -AMDEP_TRUE = @AMDEP_TRUE@
  70421. AMTAR = @AMTAR@
  70422. AR = @AR@
  70423. AS = @AS@
  70424. @@ -60,60 +58,57 @@
  70425. AUTOHEADER = @AUTOHEADER@
  70426. AUTOMAKE = @AUTOMAKE@
  70427. AWK = @AWK@
  70428. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  70429. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  70430. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  70431. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  70432. CC = @CC@
  70433. CCDEPMODE = @CCDEPMODE@
  70434. CFLAGS = @CFLAGS@
  70435. CPP = @CPP@
  70436. CPPFLAGS = @CPPFLAGS@
  70437. -CXX = @CXX@
  70438. -CXXCPP = @CXXCPP@
  70439. -CXXDEPMODE = @CXXDEPMODE@
  70440. -CXXFLAGS = @CXXFLAGS@
  70441. CYGPATH_W = @CYGPATH_W@
  70442. DEFS = @DEFS@
  70443. DEPDIR = @DEPDIR@
  70444. DLLTOOL = @DLLTOOL@
  70445. DSYMUTIL = @DSYMUTIL@
  70446. -ECHO = @ECHO@
  70447. +DUMPBIN = @DUMPBIN@
  70448. ECHO_C = @ECHO_C@
  70449. ECHO_N = @ECHO_N@
  70450. ECHO_T = @ECHO_T@
  70451. EGREP = @EGREP@
  70452. EXEEXT = @EXEEXT@
  70453. -F77 = @F77@
  70454. -FFLAGS = @FFLAGS@
  70455. FFT_CFLAGS = @FFT_CFLAGS@
  70456. FFT_LIBS = @FFT_LIBS@
  70457. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  70458. +FGREP = @FGREP@
  70459. GREP = @GREP@
  70460. +INSTALL = @INSTALL@
  70461. INSTALL_DATA = @INSTALL_DATA@
  70462. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  70463. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  70464. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  70465. +LD = @LD@
  70466. LDFLAGS = @LDFLAGS@
  70467. LIBOBJS = @LIBOBJS@
  70468. LIBS = @LIBS@
  70469. LIBTOOL = @LIBTOOL@
  70470. +LIPO = @LIPO@
  70471. LN_S = @LN_S@
  70472. LTLIBOBJS = @LTLIBOBJS@
  70473. MAINT = @MAINT@
  70474. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  70475. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  70476. MAKEINFO = @MAKEINFO@
  70477. +MKDIR_P = @MKDIR_P@
  70478. +NM = @NM@
  70479. NMEDIT = @NMEDIT@
  70480. OBJDUMP = @OBJDUMP@
  70481. OBJEXT = @OBJEXT@
  70482. OGG_CFLAGS = @OGG_CFLAGS@
  70483. OGG_LIBS = @OGG_LIBS@
  70484. +OTOOL = @OTOOL@
  70485. +OTOOL64 = @OTOOL64@
  70486. PACKAGE = @PACKAGE@
  70487. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  70488. PACKAGE_NAME = @PACKAGE_NAME@
  70489. PACKAGE_STRING = @PACKAGE_STRING@
  70490. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  70491. +PACKAGE_URL = @PACKAGE_URL@
  70492. PACKAGE_VERSION = @PACKAGE_VERSION@
  70493. PATH_SEPARATOR = @PATH_SEPARATOR@
  70494. PKG_CONFIG = @PKG_CONFIG@
  70495. @@ -129,22 +124,24 @@
  70496. SPEEX_VERSION = @SPEEX_VERSION@
  70497. STRIP = @STRIP@
  70498. VERSION = @VERSION@
  70499. +abs_builddir = @abs_builddir@
  70500. +abs_srcdir = @abs_srcdir@
  70501. +abs_top_builddir = @abs_top_builddir@
  70502. +abs_top_srcdir = @abs_top_srcdir@
  70503. ac_ct_CC = @ac_ct_CC@
  70504. -ac_ct_CXX = @ac_ct_CXX@
  70505. -ac_ct_F77 = @ac_ct_F77@
  70506. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  70507. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  70508. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  70509. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  70510. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  70511. am__include = @am__include@
  70512. am__leading_dot = @am__leading_dot@
  70513. am__quote = @am__quote@
  70514. +am__tar = @am__tar@
  70515. +am__untar = @am__untar@
  70516. bindir = @bindir@
  70517. build = @build@
  70518. build_alias = @build_alias@
  70519. build_cpu = @build_cpu@
  70520. build_os = @build_os@
  70521. build_vendor = @build_vendor@
  70522. +builddir = @builddir@
  70523. datadir = @datadir@
  70524. datarootdir = @datarootdir@
  70525. docdir = @docdir@
  70526. @@ -163,6 +160,7 @@
  70527. libexecdir = @libexecdir@
  70528. localedir = @localedir@
  70529. localstatedir = @localstatedir@
  70530. +lt_ECHO = @lt_ECHO@
  70531. mandir = @mandir@
  70532. mkdir_p = @mkdir_p@
  70533. oldincludedir = @oldincludedir@
  70534. @@ -173,8 +171,12 @@
  70535. sbindir = @sbindir@
  70536. sharedstatedir = @sharedstatedir@
  70537. src = @src@
  70538. +srcdir = @srcdir@
  70539. sysconfdir = @sysconfdir@
  70540. target_alias = @target_alias@
  70541. +top_build_prefix = @top_build_prefix@
  70542. +top_builddir = @top_builddir@
  70543. +top_srcdir = @top_srcdir@
  70544. EXTRA_DIST = speexdec.vcproj
  70545. all: all-am
  70546. @@ -183,14 +185,14 @@
  70547. @for dep in $?; do \
  70548. case '$(am__configure_deps)' in \
  70549. *$$dep*) \
  70550. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  70551. - && exit 0; \
  70552. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  70553. + && { if test -f $@; then exit 0; else break; fi; }; \
  70554. exit 1;; \
  70555. esac; \
  70556. done; \
  70557. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/speexdec/Makefile'; \
  70558. - cd $(top_srcdir) && \
  70559. - $(AUTOMAKE) --gnu win32/VS2005/speexdec/Makefile
  70560. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/speexdec/Makefile'; \
  70561. + $(am__cd) $(top_srcdir) && \
  70562. + $(AUTOMAKE) --gnu win32/VS2005/speexdec/Makefile
  70563. .PRECIOUS: Makefile
  70564. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  70565. @case '$?' in \
  70566. @@ -208,16 +210,13 @@
  70567. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70568. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  70569. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70570. +$(am__aclocal_m4_deps):
  70571. mostlyclean-libtool:
  70572. -rm -f *.lo
  70573. clean-libtool:
  70574. -rm -rf .libs _libs
  70575. -
  70576. -distclean-libtool:
  70577. - -rm -f libtool
  70578. -uninstall-info-am:
  70579. tags: TAGS
  70580. TAGS:
  70581. @@ -226,29 +225,32 @@
  70582. distdir: $(DISTFILES)
  70583. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  70584. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  70585. - list='$(DISTFILES)'; for file in $$list; do \
  70586. - case $$file in \
  70587. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  70588. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  70589. - esac; \
  70590. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70591. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70592. + list='$(DISTFILES)'; \
  70593. + dist_files=`for file in $$list; do echo $$file; done | \
  70594. + sed -e "s|^$$srcdirstrip/||;t" \
  70595. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  70596. + case $$dist_files in \
  70597. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  70598. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  70599. + sort -u` ;; \
  70600. + esac; \
  70601. + for file in $$dist_files; do \
  70602. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  70603. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  70604. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  70605. - dir="/$$dir"; \
  70606. - $(mkdir_p) "$(distdir)$$dir"; \
  70607. - else \
  70608. - dir=''; \
  70609. - fi; \
  70610. if test -d $$d/$$file; then \
  70611. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  70612. + if test -d "$(distdir)/$$file"; then \
  70613. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70614. + fi; \
  70615. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  70616. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  70617. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  70618. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70619. fi; \
  70620. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  70621. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  70622. else \
  70623. - test -f $(distdir)/$$file \
  70624. - || cp -p $$d/$$file $(distdir)/$$file \
  70625. + test -f "$(distdir)/$$file" \
  70626. + || cp -p $$d/$$file "$(distdir)/$$file" \
  70627. || exit 1; \
  70628. fi; \
  70629. done
  70630. @@ -275,7 +277,8 @@
  70631. clean-generic:
  70632. distclean-generic:
  70633. - -rm -f $(CONFIG_CLEAN_FILES)
  70634. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  70635. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  70636. maintainer-clean-generic:
  70637. @echo "This command is intended for maintainers to use"
  70638. @@ -286,7 +289,7 @@
  70639. distclean: distclean-am
  70640. -rm -f Makefile
  70641. -distclean-am: clean-am distclean-generic distclean-libtool
  70642. +distclean-am: clean-am distclean-generic
  70643. dvi: dvi-am
  70644. @@ -294,18 +297,38 @@
  70645. html: html-am
  70646. +html-am:
  70647. +
  70648. info: info-am
  70649. info-am:
  70650. install-data-am:
  70651. +install-dvi: install-dvi-am
  70652. +
  70653. +install-dvi-am:
  70654. +
  70655. install-exec-am:
  70656. +install-html: install-html-am
  70657. +
  70658. +install-html-am:
  70659. +
  70660. install-info: install-info-am
  70661. +install-info-am:
  70662. +
  70663. install-man:
  70664. +install-pdf: install-pdf-am
  70665. +
  70666. +install-pdf-am:
  70667. +
  70668. +install-ps: install-ps-am
  70669. +
  70670. +install-ps-am:
  70671. +
  70672. installcheck-am:
  70673. maintainer-clean: maintainer-clean-am
  70674. @@ -324,17 +347,21 @@
  70675. ps-am:
  70676. -uninstall-am: uninstall-info-am
  70677. +uninstall-am:
  70678. +
  70679. +.MAKE: install-am install-strip
  70680. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  70681. distclean distclean-generic distclean-libtool distdir dvi \
  70682. dvi-am html html-am info info-am install install-am \
  70683. - install-data install-data-am install-exec install-exec-am \
  70684. - install-info install-info-am install-man install-strip \
  70685. + install-data install-data-am install-dvi install-dvi-am \
  70686. + install-exec install-exec-am install-html install-html-am \
  70687. + install-info install-info-am install-man install-pdf \
  70688. + install-pdf-am install-ps install-ps-am install-strip \
  70689. installcheck installcheck-am installdirs maintainer-clean \
  70690. maintainer-clean-generic mostlyclean mostlyclean-generic \
  70691. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  70692. - uninstall-info-am
  70693. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  70694. +
  70695. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  70696. # Otherwise a system limit (for SysV at least) may be exceeded.
  70697. diff -Nur speex-1.2rc1.orig/win32/VS2005/speexenc/Makefile.in speex-1.2rc1/win32/VS2005/speexenc/Makefile.in
  70698. --- speex-1.2rc1.orig/win32/VS2005/speexenc/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  70699. +++ speex-1.2rc1/win32/VS2005/speexenc/Makefile.in 2011-02-20 22:00:58.444093916 +0100
  70700. @@ -1,8 +1,9 @@
  70701. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  70702. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  70703. # @configure_input@
  70704. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  70705. -# 2003, 2004 Free Software Foundation, Inc.
  70706. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  70707. +# Inc.
  70708. # This Makefile.in is free software; the Free Software Foundation
  70709. # gives unlimited permission to copy and/or distribute it,
  70710. # with or without modifications, as long as this notice is preserved.
  70711. @@ -16,15 +17,12 @@
  70712. # Disable automatic dependency tracking if using other tools than gcc and gmake
  70713. #AUTOMAKE_OPTIONS = no-dependencies
  70714. -srcdir = @srcdir@
  70715. -top_srcdir = @top_srcdir@
  70716. VPATH = @srcdir@
  70717. pkgdatadir = $(datadir)/@PACKAGE@
  70718. -pkglibdir = $(libdir)/@PACKAGE@
  70719. pkgincludedir = $(includedir)/@PACKAGE@
  70720. -top_builddir = ../../..
  70721. +pkglibdir = $(libdir)/@PACKAGE@
  70722. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  70723. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  70724. -INSTALL = @INSTALL@
  70725. install_sh_DATA = $(install_sh) -c -m 644
  70726. install_sh_PROGRAM = $(install_sh) -c
  70727. install_sh_SCRIPT = $(install_sh) -c
  70728. @@ -36,6 +34,7 @@
  70729. NORMAL_UNINSTALL = :
  70730. PRE_UNINSTALL = :
  70731. POST_UNINSTALL = :
  70732. +build_triplet = @build@
  70733. host_triplet = @host@
  70734. subdir = win32/VS2005/speexenc
  70735. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  70736. @@ -44,15 +43,14 @@
  70737. $(top_srcdir)/configure.ac
  70738. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  70739. $(ACLOCAL_M4)
  70740. -mkinstalldirs = $(mkdir_p)
  70741. +mkinstalldirs = $(install_sh) -d
  70742. CONFIG_HEADER = $(top_builddir)/config.h
  70743. CONFIG_CLEAN_FILES =
  70744. +CONFIG_CLEAN_VPATH_FILES =
  70745. SOURCES =
  70746. DIST_SOURCES =
  70747. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  70748. ACLOCAL = @ACLOCAL@
  70749. -AMDEP_FALSE = @AMDEP_FALSE@
  70750. -AMDEP_TRUE = @AMDEP_TRUE@
  70751. AMTAR = @AMTAR@
  70752. AR = @AR@
  70753. AS = @AS@
  70754. @@ -60,60 +58,57 @@
  70755. AUTOHEADER = @AUTOHEADER@
  70756. AUTOMAKE = @AUTOMAKE@
  70757. AWK = @AWK@
  70758. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  70759. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  70760. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  70761. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  70762. CC = @CC@
  70763. CCDEPMODE = @CCDEPMODE@
  70764. CFLAGS = @CFLAGS@
  70765. CPP = @CPP@
  70766. CPPFLAGS = @CPPFLAGS@
  70767. -CXX = @CXX@
  70768. -CXXCPP = @CXXCPP@
  70769. -CXXDEPMODE = @CXXDEPMODE@
  70770. -CXXFLAGS = @CXXFLAGS@
  70771. CYGPATH_W = @CYGPATH_W@
  70772. DEFS = @DEFS@
  70773. DEPDIR = @DEPDIR@
  70774. DLLTOOL = @DLLTOOL@
  70775. DSYMUTIL = @DSYMUTIL@
  70776. -ECHO = @ECHO@
  70777. +DUMPBIN = @DUMPBIN@
  70778. ECHO_C = @ECHO_C@
  70779. ECHO_N = @ECHO_N@
  70780. ECHO_T = @ECHO_T@
  70781. EGREP = @EGREP@
  70782. EXEEXT = @EXEEXT@
  70783. -F77 = @F77@
  70784. -FFLAGS = @FFLAGS@
  70785. FFT_CFLAGS = @FFT_CFLAGS@
  70786. FFT_LIBS = @FFT_LIBS@
  70787. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  70788. +FGREP = @FGREP@
  70789. GREP = @GREP@
  70790. +INSTALL = @INSTALL@
  70791. INSTALL_DATA = @INSTALL_DATA@
  70792. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  70793. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  70794. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  70795. +LD = @LD@
  70796. LDFLAGS = @LDFLAGS@
  70797. LIBOBJS = @LIBOBJS@
  70798. LIBS = @LIBS@
  70799. LIBTOOL = @LIBTOOL@
  70800. +LIPO = @LIPO@
  70801. LN_S = @LN_S@
  70802. LTLIBOBJS = @LTLIBOBJS@
  70803. MAINT = @MAINT@
  70804. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  70805. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  70806. MAKEINFO = @MAKEINFO@
  70807. +MKDIR_P = @MKDIR_P@
  70808. +NM = @NM@
  70809. NMEDIT = @NMEDIT@
  70810. OBJDUMP = @OBJDUMP@
  70811. OBJEXT = @OBJEXT@
  70812. OGG_CFLAGS = @OGG_CFLAGS@
  70813. OGG_LIBS = @OGG_LIBS@
  70814. +OTOOL = @OTOOL@
  70815. +OTOOL64 = @OTOOL64@
  70816. PACKAGE = @PACKAGE@
  70817. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  70818. PACKAGE_NAME = @PACKAGE_NAME@
  70819. PACKAGE_STRING = @PACKAGE_STRING@
  70820. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  70821. +PACKAGE_URL = @PACKAGE_URL@
  70822. PACKAGE_VERSION = @PACKAGE_VERSION@
  70823. PATH_SEPARATOR = @PATH_SEPARATOR@
  70824. PKG_CONFIG = @PKG_CONFIG@
  70825. @@ -129,22 +124,24 @@
  70826. SPEEX_VERSION = @SPEEX_VERSION@
  70827. STRIP = @STRIP@
  70828. VERSION = @VERSION@
  70829. +abs_builddir = @abs_builddir@
  70830. +abs_srcdir = @abs_srcdir@
  70831. +abs_top_builddir = @abs_top_builddir@
  70832. +abs_top_srcdir = @abs_top_srcdir@
  70833. ac_ct_CC = @ac_ct_CC@
  70834. -ac_ct_CXX = @ac_ct_CXX@
  70835. -ac_ct_F77 = @ac_ct_F77@
  70836. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  70837. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  70838. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  70839. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  70840. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  70841. am__include = @am__include@
  70842. am__leading_dot = @am__leading_dot@
  70843. am__quote = @am__quote@
  70844. +am__tar = @am__tar@
  70845. +am__untar = @am__untar@
  70846. bindir = @bindir@
  70847. build = @build@
  70848. build_alias = @build_alias@
  70849. build_cpu = @build_cpu@
  70850. build_os = @build_os@
  70851. build_vendor = @build_vendor@
  70852. +builddir = @builddir@
  70853. datadir = @datadir@
  70854. datarootdir = @datarootdir@
  70855. docdir = @docdir@
  70856. @@ -163,6 +160,7 @@
  70857. libexecdir = @libexecdir@
  70858. localedir = @localedir@
  70859. localstatedir = @localstatedir@
  70860. +lt_ECHO = @lt_ECHO@
  70861. mandir = @mandir@
  70862. mkdir_p = @mkdir_p@
  70863. oldincludedir = @oldincludedir@
  70864. @@ -173,8 +171,12 @@
  70865. sbindir = @sbindir@
  70866. sharedstatedir = @sharedstatedir@
  70867. src = @src@
  70868. +srcdir = @srcdir@
  70869. sysconfdir = @sysconfdir@
  70870. target_alias = @target_alias@
  70871. +top_build_prefix = @top_build_prefix@
  70872. +top_builddir = @top_builddir@
  70873. +top_srcdir = @top_srcdir@
  70874. EXTRA_DIST = speexenc.vcproj
  70875. all: all-am
  70876. @@ -183,14 +185,14 @@
  70877. @for dep in $?; do \
  70878. case '$(am__configure_deps)' in \
  70879. *$$dep*) \
  70880. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  70881. - && exit 0; \
  70882. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  70883. + && { if test -f $@; then exit 0; else break; fi; }; \
  70884. exit 1;; \
  70885. esac; \
  70886. done; \
  70887. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/speexenc/Makefile'; \
  70888. - cd $(top_srcdir) && \
  70889. - $(AUTOMAKE) --gnu win32/VS2005/speexenc/Makefile
  70890. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/speexenc/Makefile'; \
  70891. + $(am__cd) $(top_srcdir) && \
  70892. + $(AUTOMAKE) --gnu win32/VS2005/speexenc/Makefile
  70893. .PRECIOUS: Makefile
  70894. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  70895. @case '$?' in \
  70896. @@ -208,16 +210,13 @@
  70897. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70898. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  70899. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  70900. +$(am__aclocal_m4_deps):
  70901. mostlyclean-libtool:
  70902. -rm -f *.lo
  70903. clean-libtool:
  70904. -rm -rf .libs _libs
  70905. -
  70906. -distclean-libtool:
  70907. - -rm -f libtool
  70908. -uninstall-info-am:
  70909. tags: TAGS
  70910. TAGS:
  70911. @@ -226,29 +225,32 @@
  70912. distdir: $(DISTFILES)
  70913. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  70914. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  70915. - list='$(DISTFILES)'; for file in $$list; do \
  70916. - case $$file in \
  70917. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  70918. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  70919. - esac; \
  70920. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70921. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  70922. + list='$(DISTFILES)'; \
  70923. + dist_files=`for file in $$list; do echo $$file; done | \
  70924. + sed -e "s|^$$srcdirstrip/||;t" \
  70925. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  70926. + case $$dist_files in \
  70927. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  70928. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  70929. + sort -u` ;; \
  70930. + esac; \
  70931. + for file in $$dist_files; do \
  70932. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  70933. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  70934. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  70935. - dir="/$$dir"; \
  70936. - $(mkdir_p) "$(distdir)$$dir"; \
  70937. - else \
  70938. - dir=''; \
  70939. - fi; \
  70940. if test -d $$d/$$file; then \
  70941. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  70942. + if test -d "$(distdir)/$$file"; then \
  70943. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70944. + fi; \
  70945. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  70946. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  70947. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  70948. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  70949. fi; \
  70950. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  70951. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  70952. else \
  70953. - test -f $(distdir)/$$file \
  70954. - || cp -p $$d/$$file $(distdir)/$$file \
  70955. + test -f "$(distdir)/$$file" \
  70956. + || cp -p $$d/$$file "$(distdir)/$$file" \
  70957. || exit 1; \
  70958. fi; \
  70959. done
  70960. @@ -275,7 +277,8 @@
  70961. clean-generic:
  70962. distclean-generic:
  70963. - -rm -f $(CONFIG_CLEAN_FILES)
  70964. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  70965. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  70966. maintainer-clean-generic:
  70967. @echo "This command is intended for maintainers to use"
  70968. @@ -286,7 +289,7 @@
  70969. distclean: distclean-am
  70970. -rm -f Makefile
  70971. -distclean-am: clean-am distclean-generic distclean-libtool
  70972. +distclean-am: clean-am distclean-generic
  70973. dvi: dvi-am
  70974. @@ -294,18 +297,38 @@
  70975. html: html-am
  70976. +html-am:
  70977. +
  70978. info: info-am
  70979. info-am:
  70980. install-data-am:
  70981. +install-dvi: install-dvi-am
  70982. +
  70983. +install-dvi-am:
  70984. +
  70985. install-exec-am:
  70986. +install-html: install-html-am
  70987. +
  70988. +install-html-am:
  70989. +
  70990. install-info: install-info-am
  70991. +install-info-am:
  70992. +
  70993. install-man:
  70994. +install-pdf: install-pdf-am
  70995. +
  70996. +install-pdf-am:
  70997. +
  70998. +install-ps: install-ps-am
  70999. +
  71000. +install-ps-am:
  71001. +
  71002. installcheck-am:
  71003. maintainer-clean: maintainer-clean-am
  71004. @@ -324,17 +347,21 @@
  71005. ps-am:
  71006. -uninstall-am: uninstall-info-am
  71007. +uninstall-am:
  71008. +
  71009. +.MAKE: install-am install-strip
  71010. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  71011. distclean distclean-generic distclean-libtool distdir dvi \
  71012. dvi-am html html-am info info-am install install-am \
  71013. - install-data install-data-am install-exec install-exec-am \
  71014. - install-info install-info-am install-man install-strip \
  71015. + install-data install-data-am install-dvi install-dvi-am \
  71016. + install-exec install-exec-am install-html install-html-am \
  71017. + install-info install-info-am install-man install-pdf \
  71018. + install-pdf-am install-ps install-ps-am install-strip \
  71019. installcheck installcheck-am installdirs maintainer-clean \
  71020. maintainer-clean-generic mostlyclean mostlyclean-generic \
  71021. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  71022. - uninstall-info-am
  71023. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  71024. +
  71025. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  71026. # Otherwise a system limit (for SysV at least) may be exceeded.
  71027. diff -Nur speex-1.2rc1.orig/win32/VS2005/tests/Makefile.in speex-1.2rc1/win32/VS2005/tests/Makefile.in
  71028. --- speex-1.2rc1.orig/win32/VS2005/tests/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  71029. +++ speex-1.2rc1/win32/VS2005/tests/Makefile.in 2011-02-20 22:00:58.463639667 +0100
  71030. @@ -1,8 +1,9 @@
  71031. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  71032. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  71033. # @configure_input@
  71034. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  71035. -# 2003, 2004 Free Software Foundation, Inc.
  71036. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  71037. +# Inc.
  71038. # This Makefile.in is free software; the Free Software Foundation
  71039. # gives unlimited permission to copy and/or distribute it,
  71040. # with or without modifications, as long as this notice is preserved.
  71041. @@ -16,15 +17,12 @@
  71042. # Disable automatic dependency tracking if using other tools than gcc and gmake
  71043. #AUTOMAKE_OPTIONS = no-dependencies
  71044. -srcdir = @srcdir@
  71045. -top_srcdir = @top_srcdir@
  71046. VPATH = @srcdir@
  71047. pkgdatadir = $(datadir)/@PACKAGE@
  71048. -pkglibdir = $(libdir)/@PACKAGE@
  71049. pkgincludedir = $(includedir)/@PACKAGE@
  71050. -top_builddir = ../../..
  71051. +pkglibdir = $(libdir)/@PACKAGE@
  71052. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  71053. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  71054. -INSTALL = @INSTALL@
  71055. install_sh_DATA = $(install_sh) -c -m 644
  71056. install_sh_PROGRAM = $(install_sh) -c
  71057. install_sh_SCRIPT = $(install_sh) -c
  71058. @@ -36,6 +34,7 @@
  71059. NORMAL_UNINSTALL = :
  71060. PRE_UNINSTALL = :
  71061. POST_UNINSTALL = :
  71062. +build_triplet = @build@
  71063. host_triplet = @host@
  71064. subdir = win32/VS2005/tests
  71065. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  71066. @@ -44,15 +43,14 @@
  71067. $(top_srcdir)/configure.ac
  71068. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  71069. $(ACLOCAL_M4)
  71070. -mkinstalldirs = $(mkdir_p)
  71071. +mkinstalldirs = $(install_sh) -d
  71072. CONFIG_HEADER = $(top_builddir)/config.h
  71073. CONFIG_CLEAN_FILES =
  71074. +CONFIG_CLEAN_VPATH_FILES =
  71075. SOURCES =
  71076. DIST_SOURCES =
  71077. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  71078. ACLOCAL = @ACLOCAL@
  71079. -AMDEP_FALSE = @AMDEP_FALSE@
  71080. -AMDEP_TRUE = @AMDEP_TRUE@
  71081. AMTAR = @AMTAR@
  71082. AR = @AR@
  71083. AS = @AS@
  71084. @@ -60,60 +58,57 @@
  71085. AUTOHEADER = @AUTOHEADER@
  71086. AUTOMAKE = @AUTOMAKE@
  71087. AWK = @AWK@
  71088. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  71089. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  71090. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  71091. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  71092. CC = @CC@
  71093. CCDEPMODE = @CCDEPMODE@
  71094. CFLAGS = @CFLAGS@
  71095. CPP = @CPP@
  71096. CPPFLAGS = @CPPFLAGS@
  71097. -CXX = @CXX@
  71098. -CXXCPP = @CXXCPP@
  71099. -CXXDEPMODE = @CXXDEPMODE@
  71100. -CXXFLAGS = @CXXFLAGS@
  71101. CYGPATH_W = @CYGPATH_W@
  71102. DEFS = @DEFS@
  71103. DEPDIR = @DEPDIR@
  71104. DLLTOOL = @DLLTOOL@
  71105. DSYMUTIL = @DSYMUTIL@
  71106. -ECHO = @ECHO@
  71107. +DUMPBIN = @DUMPBIN@
  71108. ECHO_C = @ECHO_C@
  71109. ECHO_N = @ECHO_N@
  71110. ECHO_T = @ECHO_T@
  71111. EGREP = @EGREP@
  71112. EXEEXT = @EXEEXT@
  71113. -F77 = @F77@
  71114. -FFLAGS = @FFLAGS@
  71115. FFT_CFLAGS = @FFT_CFLAGS@
  71116. FFT_LIBS = @FFT_LIBS@
  71117. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  71118. +FGREP = @FGREP@
  71119. GREP = @GREP@
  71120. +INSTALL = @INSTALL@
  71121. INSTALL_DATA = @INSTALL_DATA@
  71122. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  71123. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  71124. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  71125. +LD = @LD@
  71126. LDFLAGS = @LDFLAGS@
  71127. LIBOBJS = @LIBOBJS@
  71128. LIBS = @LIBS@
  71129. LIBTOOL = @LIBTOOL@
  71130. +LIPO = @LIPO@
  71131. LN_S = @LN_S@
  71132. LTLIBOBJS = @LTLIBOBJS@
  71133. MAINT = @MAINT@
  71134. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  71135. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  71136. MAKEINFO = @MAKEINFO@
  71137. +MKDIR_P = @MKDIR_P@
  71138. +NM = @NM@
  71139. NMEDIT = @NMEDIT@
  71140. OBJDUMP = @OBJDUMP@
  71141. OBJEXT = @OBJEXT@
  71142. OGG_CFLAGS = @OGG_CFLAGS@
  71143. OGG_LIBS = @OGG_LIBS@
  71144. +OTOOL = @OTOOL@
  71145. +OTOOL64 = @OTOOL64@
  71146. PACKAGE = @PACKAGE@
  71147. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  71148. PACKAGE_NAME = @PACKAGE_NAME@
  71149. PACKAGE_STRING = @PACKAGE_STRING@
  71150. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  71151. +PACKAGE_URL = @PACKAGE_URL@
  71152. PACKAGE_VERSION = @PACKAGE_VERSION@
  71153. PATH_SEPARATOR = @PATH_SEPARATOR@
  71154. PKG_CONFIG = @PKG_CONFIG@
  71155. @@ -129,22 +124,24 @@
  71156. SPEEX_VERSION = @SPEEX_VERSION@
  71157. STRIP = @STRIP@
  71158. VERSION = @VERSION@
  71159. +abs_builddir = @abs_builddir@
  71160. +abs_srcdir = @abs_srcdir@
  71161. +abs_top_builddir = @abs_top_builddir@
  71162. +abs_top_srcdir = @abs_top_srcdir@
  71163. ac_ct_CC = @ac_ct_CC@
  71164. -ac_ct_CXX = @ac_ct_CXX@
  71165. -ac_ct_F77 = @ac_ct_F77@
  71166. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  71167. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  71168. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  71169. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  71170. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  71171. am__include = @am__include@
  71172. am__leading_dot = @am__leading_dot@
  71173. am__quote = @am__quote@
  71174. +am__tar = @am__tar@
  71175. +am__untar = @am__untar@
  71176. bindir = @bindir@
  71177. build = @build@
  71178. build_alias = @build_alias@
  71179. build_cpu = @build_cpu@
  71180. build_os = @build_os@
  71181. build_vendor = @build_vendor@
  71182. +builddir = @builddir@
  71183. datadir = @datadir@
  71184. datarootdir = @datarootdir@
  71185. docdir = @docdir@
  71186. @@ -163,6 +160,7 @@
  71187. libexecdir = @libexecdir@
  71188. localedir = @localedir@
  71189. localstatedir = @localstatedir@
  71190. +lt_ECHO = @lt_ECHO@
  71191. mandir = @mandir@
  71192. mkdir_p = @mkdir_p@
  71193. oldincludedir = @oldincludedir@
  71194. @@ -173,8 +171,12 @@
  71195. sbindir = @sbindir@
  71196. sharedstatedir = @sharedstatedir@
  71197. src = @src@
  71198. +srcdir = @srcdir@
  71199. sysconfdir = @sysconfdir@
  71200. target_alias = @target_alias@
  71201. +top_build_prefix = @top_build_prefix@
  71202. +top_builddir = @top_builddir@
  71203. +top_srcdir = @top_srcdir@
  71204. EXTRA_DIST = testdenoise.vcproj testecho.vcproj testenc.vcproj testenc_uwb.vcproj \
  71205. testenc_wb.vcproj testresample.vcproj
  71206. @@ -185,14 +187,14 @@
  71207. @for dep in $?; do \
  71208. case '$(am__configure_deps)' in \
  71209. *$$dep*) \
  71210. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  71211. - && exit 0; \
  71212. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  71213. + && { if test -f $@; then exit 0; else break; fi; }; \
  71214. exit 1;; \
  71215. esac; \
  71216. done; \
  71217. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/tests/Makefile'; \
  71218. - cd $(top_srcdir) && \
  71219. - $(AUTOMAKE) --gnu win32/VS2005/tests/Makefile
  71220. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2005/tests/Makefile'; \
  71221. + $(am__cd) $(top_srcdir) && \
  71222. + $(AUTOMAKE) --gnu win32/VS2005/tests/Makefile
  71223. .PRECIOUS: Makefile
  71224. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  71225. @case '$?' in \
  71226. @@ -210,16 +212,13 @@
  71227. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71228. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  71229. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71230. +$(am__aclocal_m4_deps):
  71231. mostlyclean-libtool:
  71232. -rm -f *.lo
  71233. clean-libtool:
  71234. -rm -rf .libs _libs
  71235. -
  71236. -distclean-libtool:
  71237. - -rm -f libtool
  71238. -uninstall-info-am:
  71239. tags: TAGS
  71240. TAGS:
  71241. @@ -228,29 +227,32 @@
  71242. distdir: $(DISTFILES)
  71243. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  71244. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  71245. - list='$(DISTFILES)'; for file in $$list; do \
  71246. - case $$file in \
  71247. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  71248. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  71249. - esac; \
  71250. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71251. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71252. + list='$(DISTFILES)'; \
  71253. + dist_files=`for file in $$list; do echo $$file; done | \
  71254. + sed -e "s|^$$srcdirstrip/||;t" \
  71255. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  71256. + case $$dist_files in \
  71257. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  71258. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  71259. + sort -u` ;; \
  71260. + esac; \
  71261. + for file in $$dist_files; do \
  71262. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  71263. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  71264. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  71265. - dir="/$$dir"; \
  71266. - $(mkdir_p) "$(distdir)$$dir"; \
  71267. - else \
  71268. - dir=''; \
  71269. - fi; \
  71270. if test -d $$d/$$file; then \
  71271. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  71272. + if test -d "$(distdir)/$$file"; then \
  71273. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71274. + fi; \
  71275. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  71276. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  71277. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  71278. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71279. fi; \
  71280. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  71281. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  71282. else \
  71283. - test -f $(distdir)/$$file \
  71284. - || cp -p $$d/$$file $(distdir)/$$file \
  71285. + test -f "$(distdir)/$$file" \
  71286. + || cp -p $$d/$$file "$(distdir)/$$file" \
  71287. || exit 1; \
  71288. fi; \
  71289. done
  71290. @@ -277,7 +279,8 @@
  71291. clean-generic:
  71292. distclean-generic:
  71293. - -rm -f $(CONFIG_CLEAN_FILES)
  71294. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  71295. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  71296. maintainer-clean-generic:
  71297. @echo "This command is intended for maintainers to use"
  71298. @@ -288,7 +291,7 @@
  71299. distclean: distclean-am
  71300. -rm -f Makefile
  71301. -distclean-am: clean-am distclean-generic distclean-libtool
  71302. +distclean-am: clean-am distclean-generic
  71303. dvi: dvi-am
  71304. @@ -296,18 +299,38 @@
  71305. html: html-am
  71306. +html-am:
  71307. +
  71308. info: info-am
  71309. info-am:
  71310. install-data-am:
  71311. +install-dvi: install-dvi-am
  71312. +
  71313. +install-dvi-am:
  71314. +
  71315. install-exec-am:
  71316. +install-html: install-html-am
  71317. +
  71318. +install-html-am:
  71319. +
  71320. install-info: install-info-am
  71321. +install-info-am:
  71322. +
  71323. install-man:
  71324. +install-pdf: install-pdf-am
  71325. +
  71326. +install-pdf-am:
  71327. +
  71328. +install-ps: install-ps-am
  71329. +
  71330. +install-ps-am:
  71331. +
  71332. installcheck-am:
  71333. maintainer-clean: maintainer-clean-am
  71334. @@ -326,17 +349,21 @@
  71335. ps-am:
  71336. -uninstall-am: uninstall-info-am
  71337. +uninstall-am:
  71338. +
  71339. +.MAKE: install-am install-strip
  71340. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  71341. distclean distclean-generic distclean-libtool distdir dvi \
  71342. dvi-am html html-am info info-am install install-am \
  71343. - install-data install-data-am install-exec install-exec-am \
  71344. - install-info install-info-am install-man install-strip \
  71345. + install-data install-data-am install-dvi install-dvi-am \
  71346. + install-exec install-exec-am install-html install-html-am \
  71347. + install-info install-info-am install-man install-pdf \
  71348. + install-pdf-am install-ps install-ps-am install-strip \
  71349. installcheck installcheck-am installdirs maintainer-clean \
  71350. maintainer-clean-generic mostlyclean mostlyclean-generic \
  71351. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  71352. - uninstall-info-am
  71353. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  71354. +
  71355. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  71356. # Otherwise a system limit (for SysV at least) may be exceeded.
  71357. diff -Nur speex-1.2rc1.orig/win32/VS2008/libspeex/Makefile.in speex-1.2rc1/win32/VS2008/libspeex/Makefile.in
  71358. --- speex-1.2rc1.orig/win32/VS2008/libspeex/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  71359. +++ speex-1.2rc1/win32/VS2008/libspeex/Makefile.in 2011-02-20 22:00:58.523725692 +0100
  71360. @@ -1,8 +1,9 @@
  71361. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  71362. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  71363. # @configure_input@
  71364. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  71365. -# 2003, 2004 Free Software Foundation, Inc.
  71366. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  71367. +# Inc.
  71368. # This Makefile.in is free software; the Free Software Foundation
  71369. # gives unlimited permission to copy and/or distribute it,
  71370. # with or without modifications, as long as this notice is preserved.
  71371. @@ -16,15 +17,12 @@
  71372. # Disable automatic dependency tracking if using other tools than gcc and gmake
  71373. #AUTOMAKE_OPTIONS = no-dependencies
  71374. -srcdir = @srcdir@
  71375. -top_srcdir = @top_srcdir@
  71376. VPATH = @srcdir@
  71377. pkgdatadir = $(datadir)/@PACKAGE@
  71378. -pkglibdir = $(libdir)/@PACKAGE@
  71379. pkgincludedir = $(includedir)/@PACKAGE@
  71380. -top_builddir = ../../..
  71381. +pkglibdir = $(libdir)/@PACKAGE@
  71382. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  71383. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  71384. -INSTALL = @INSTALL@
  71385. install_sh_DATA = $(install_sh) -c -m 644
  71386. install_sh_PROGRAM = $(install_sh) -c
  71387. install_sh_SCRIPT = $(install_sh) -c
  71388. @@ -36,6 +34,7 @@
  71389. NORMAL_UNINSTALL = :
  71390. PRE_UNINSTALL = :
  71391. POST_UNINSTALL = :
  71392. +build_triplet = @build@
  71393. host_triplet = @host@
  71394. subdir = win32/VS2008/libspeex
  71395. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  71396. @@ -44,15 +43,14 @@
  71397. $(top_srcdir)/configure.ac
  71398. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  71399. $(ACLOCAL_M4)
  71400. -mkinstalldirs = $(mkdir_p)
  71401. +mkinstalldirs = $(install_sh) -d
  71402. CONFIG_HEADER = $(top_builddir)/config.h
  71403. CONFIG_CLEAN_FILES =
  71404. +CONFIG_CLEAN_VPATH_FILES =
  71405. SOURCES =
  71406. DIST_SOURCES =
  71407. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  71408. ACLOCAL = @ACLOCAL@
  71409. -AMDEP_FALSE = @AMDEP_FALSE@
  71410. -AMDEP_TRUE = @AMDEP_TRUE@
  71411. AMTAR = @AMTAR@
  71412. AR = @AR@
  71413. AS = @AS@
  71414. @@ -60,60 +58,57 @@
  71415. AUTOHEADER = @AUTOHEADER@
  71416. AUTOMAKE = @AUTOMAKE@
  71417. AWK = @AWK@
  71418. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  71419. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  71420. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  71421. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  71422. CC = @CC@
  71423. CCDEPMODE = @CCDEPMODE@
  71424. CFLAGS = @CFLAGS@
  71425. CPP = @CPP@
  71426. CPPFLAGS = @CPPFLAGS@
  71427. -CXX = @CXX@
  71428. -CXXCPP = @CXXCPP@
  71429. -CXXDEPMODE = @CXXDEPMODE@
  71430. -CXXFLAGS = @CXXFLAGS@
  71431. CYGPATH_W = @CYGPATH_W@
  71432. DEFS = @DEFS@
  71433. DEPDIR = @DEPDIR@
  71434. DLLTOOL = @DLLTOOL@
  71435. DSYMUTIL = @DSYMUTIL@
  71436. -ECHO = @ECHO@
  71437. +DUMPBIN = @DUMPBIN@
  71438. ECHO_C = @ECHO_C@
  71439. ECHO_N = @ECHO_N@
  71440. ECHO_T = @ECHO_T@
  71441. EGREP = @EGREP@
  71442. EXEEXT = @EXEEXT@
  71443. -F77 = @F77@
  71444. -FFLAGS = @FFLAGS@
  71445. FFT_CFLAGS = @FFT_CFLAGS@
  71446. FFT_LIBS = @FFT_LIBS@
  71447. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  71448. +FGREP = @FGREP@
  71449. GREP = @GREP@
  71450. +INSTALL = @INSTALL@
  71451. INSTALL_DATA = @INSTALL_DATA@
  71452. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  71453. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  71454. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  71455. +LD = @LD@
  71456. LDFLAGS = @LDFLAGS@
  71457. LIBOBJS = @LIBOBJS@
  71458. LIBS = @LIBS@
  71459. LIBTOOL = @LIBTOOL@
  71460. +LIPO = @LIPO@
  71461. LN_S = @LN_S@
  71462. LTLIBOBJS = @LTLIBOBJS@
  71463. MAINT = @MAINT@
  71464. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  71465. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  71466. MAKEINFO = @MAKEINFO@
  71467. +MKDIR_P = @MKDIR_P@
  71468. +NM = @NM@
  71469. NMEDIT = @NMEDIT@
  71470. OBJDUMP = @OBJDUMP@
  71471. OBJEXT = @OBJEXT@
  71472. OGG_CFLAGS = @OGG_CFLAGS@
  71473. OGG_LIBS = @OGG_LIBS@
  71474. +OTOOL = @OTOOL@
  71475. +OTOOL64 = @OTOOL64@
  71476. PACKAGE = @PACKAGE@
  71477. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  71478. PACKAGE_NAME = @PACKAGE_NAME@
  71479. PACKAGE_STRING = @PACKAGE_STRING@
  71480. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  71481. +PACKAGE_URL = @PACKAGE_URL@
  71482. PACKAGE_VERSION = @PACKAGE_VERSION@
  71483. PATH_SEPARATOR = @PATH_SEPARATOR@
  71484. PKG_CONFIG = @PKG_CONFIG@
  71485. @@ -129,22 +124,24 @@
  71486. SPEEX_VERSION = @SPEEX_VERSION@
  71487. STRIP = @STRIP@
  71488. VERSION = @VERSION@
  71489. +abs_builddir = @abs_builddir@
  71490. +abs_srcdir = @abs_srcdir@
  71491. +abs_top_builddir = @abs_top_builddir@
  71492. +abs_top_srcdir = @abs_top_srcdir@
  71493. ac_ct_CC = @ac_ct_CC@
  71494. -ac_ct_CXX = @ac_ct_CXX@
  71495. -ac_ct_F77 = @ac_ct_F77@
  71496. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  71497. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  71498. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  71499. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  71500. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  71501. am__include = @am__include@
  71502. am__leading_dot = @am__leading_dot@
  71503. am__quote = @am__quote@
  71504. +am__tar = @am__tar@
  71505. +am__untar = @am__untar@
  71506. bindir = @bindir@
  71507. build = @build@
  71508. build_alias = @build_alias@
  71509. build_cpu = @build_cpu@
  71510. build_os = @build_os@
  71511. build_vendor = @build_vendor@
  71512. +builddir = @builddir@
  71513. datadir = @datadir@
  71514. datarootdir = @datarootdir@
  71515. docdir = @docdir@
  71516. @@ -163,6 +160,7 @@
  71517. libexecdir = @libexecdir@
  71518. localedir = @localedir@
  71519. localstatedir = @localstatedir@
  71520. +lt_ECHO = @lt_ECHO@
  71521. mandir = @mandir@
  71522. mkdir_p = @mkdir_p@
  71523. oldincludedir = @oldincludedir@
  71524. @@ -173,8 +171,12 @@
  71525. sbindir = @sbindir@
  71526. sharedstatedir = @sharedstatedir@
  71527. src = @src@
  71528. +srcdir = @srcdir@
  71529. sysconfdir = @sysconfdir@
  71530. target_alias = @target_alias@
  71531. +top_build_prefix = @top_build_prefix@
  71532. +top_builddir = @top_builddir@
  71533. +top_srcdir = @top_srcdir@
  71534. EXTRA_DIST = libspeex.vcproj
  71535. all: all-am
  71536. @@ -183,14 +185,14 @@
  71537. @for dep in $?; do \
  71538. case '$(am__configure_deps)' in \
  71539. *$$dep*) \
  71540. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  71541. - && exit 0; \
  71542. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  71543. + && { if test -f $@; then exit 0; else break; fi; }; \
  71544. exit 1;; \
  71545. esac; \
  71546. done; \
  71547. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/libspeex/Makefile'; \
  71548. - cd $(top_srcdir) && \
  71549. - $(AUTOMAKE) --gnu win32/VS2008/libspeex/Makefile
  71550. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/libspeex/Makefile'; \
  71551. + $(am__cd) $(top_srcdir) && \
  71552. + $(AUTOMAKE) --gnu win32/VS2008/libspeex/Makefile
  71553. .PRECIOUS: Makefile
  71554. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  71555. @case '$?' in \
  71556. @@ -208,16 +210,13 @@
  71557. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71558. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  71559. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71560. +$(am__aclocal_m4_deps):
  71561. mostlyclean-libtool:
  71562. -rm -f *.lo
  71563. clean-libtool:
  71564. -rm -rf .libs _libs
  71565. -
  71566. -distclean-libtool:
  71567. - -rm -f libtool
  71568. -uninstall-info-am:
  71569. tags: TAGS
  71570. TAGS:
  71571. @@ -226,29 +225,32 @@
  71572. distdir: $(DISTFILES)
  71573. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  71574. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  71575. - list='$(DISTFILES)'; for file in $$list; do \
  71576. - case $$file in \
  71577. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  71578. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  71579. - esac; \
  71580. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71581. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71582. + list='$(DISTFILES)'; \
  71583. + dist_files=`for file in $$list; do echo $$file; done | \
  71584. + sed -e "s|^$$srcdirstrip/||;t" \
  71585. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  71586. + case $$dist_files in \
  71587. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  71588. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  71589. + sort -u` ;; \
  71590. + esac; \
  71591. + for file in $$dist_files; do \
  71592. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  71593. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  71594. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  71595. - dir="/$$dir"; \
  71596. - $(mkdir_p) "$(distdir)$$dir"; \
  71597. - else \
  71598. - dir=''; \
  71599. - fi; \
  71600. if test -d $$d/$$file; then \
  71601. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  71602. + if test -d "$(distdir)/$$file"; then \
  71603. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71604. + fi; \
  71605. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  71606. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  71607. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  71608. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71609. fi; \
  71610. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  71611. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  71612. else \
  71613. - test -f $(distdir)/$$file \
  71614. - || cp -p $$d/$$file $(distdir)/$$file \
  71615. + test -f "$(distdir)/$$file" \
  71616. + || cp -p $$d/$$file "$(distdir)/$$file" \
  71617. || exit 1; \
  71618. fi; \
  71619. done
  71620. @@ -275,7 +277,8 @@
  71621. clean-generic:
  71622. distclean-generic:
  71623. - -rm -f $(CONFIG_CLEAN_FILES)
  71624. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  71625. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  71626. maintainer-clean-generic:
  71627. @echo "This command is intended for maintainers to use"
  71628. @@ -286,7 +289,7 @@
  71629. distclean: distclean-am
  71630. -rm -f Makefile
  71631. -distclean-am: clean-am distclean-generic distclean-libtool
  71632. +distclean-am: clean-am distclean-generic
  71633. dvi: dvi-am
  71634. @@ -294,18 +297,38 @@
  71635. html: html-am
  71636. +html-am:
  71637. +
  71638. info: info-am
  71639. info-am:
  71640. install-data-am:
  71641. +install-dvi: install-dvi-am
  71642. +
  71643. +install-dvi-am:
  71644. +
  71645. install-exec-am:
  71646. +install-html: install-html-am
  71647. +
  71648. +install-html-am:
  71649. +
  71650. install-info: install-info-am
  71651. +install-info-am:
  71652. +
  71653. install-man:
  71654. +install-pdf: install-pdf-am
  71655. +
  71656. +install-pdf-am:
  71657. +
  71658. +install-ps: install-ps-am
  71659. +
  71660. +install-ps-am:
  71661. +
  71662. installcheck-am:
  71663. maintainer-clean: maintainer-clean-am
  71664. @@ -324,17 +347,21 @@
  71665. ps-am:
  71666. -uninstall-am: uninstall-info-am
  71667. +uninstall-am:
  71668. +
  71669. +.MAKE: install-am install-strip
  71670. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  71671. distclean distclean-generic distclean-libtool distdir dvi \
  71672. dvi-am html html-am info info-am install install-am \
  71673. - install-data install-data-am install-exec install-exec-am \
  71674. - install-info install-info-am install-man install-strip \
  71675. + install-data install-data-am install-dvi install-dvi-am \
  71676. + install-exec install-exec-am install-html install-html-am \
  71677. + install-info install-info-am install-man install-pdf \
  71678. + install-pdf-am install-ps install-ps-am install-strip \
  71679. installcheck installcheck-am installdirs maintainer-clean \
  71680. maintainer-clean-generic mostlyclean mostlyclean-generic \
  71681. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  71682. - uninstall-info-am
  71683. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  71684. +
  71685. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  71686. # Otherwise a system limit (for SysV at least) may be exceeded.
  71687. diff -Nur speex-1.2rc1.orig/win32/VS2008/libspeexdsp/Makefile.in speex-1.2rc1/win32/VS2008/libspeexdsp/Makefile.in
  71688. --- speex-1.2rc1.orig/win32/VS2008/libspeexdsp/Makefile.in 2008-07-21 04:17:22.000000000 +0200
  71689. +++ speex-1.2rc1/win32/VS2008/libspeexdsp/Makefile.in 2011-02-20 22:00:58.553600232 +0100
  71690. @@ -1,8 +1,9 @@
  71691. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  71692. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  71693. # @configure_input@
  71694. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  71695. -# 2003, 2004 Free Software Foundation, Inc.
  71696. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  71697. +# Inc.
  71698. # This Makefile.in is free software; the Free Software Foundation
  71699. # gives unlimited permission to copy and/or distribute it,
  71700. # with or without modifications, as long as this notice is preserved.
  71701. @@ -16,15 +17,12 @@
  71702. # Disable automatic dependency tracking if using other tools than gcc and gmake
  71703. #AUTOMAKE_OPTIONS = no-dependencies
  71704. -srcdir = @srcdir@
  71705. -top_srcdir = @top_srcdir@
  71706. VPATH = @srcdir@
  71707. pkgdatadir = $(datadir)/@PACKAGE@
  71708. -pkglibdir = $(libdir)/@PACKAGE@
  71709. pkgincludedir = $(includedir)/@PACKAGE@
  71710. -top_builddir = ../../..
  71711. +pkglibdir = $(libdir)/@PACKAGE@
  71712. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  71713. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  71714. -INSTALL = @INSTALL@
  71715. install_sh_DATA = $(install_sh) -c -m 644
  71716. install_sh_PROGRAM = $(install_sh) -c
  71717. install_sh_SCRIPT = $(install_sh) -c
  71718. @@ -36,6 +34,7 @@
  71719. NORMAL_UNINSTALL = :
  71720. PRE_UNINSTALL = :
  71721. POST_UNINSTALL = :
  71722. +build_triplet = @build@
  71723. host_triplet = @host@
  71724. subdir = win32/VS2008/libspeexdsp
  71725. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  71726. @@ -44,15 +43,14 @@
  71727. $(top_srcdir)/configure.ac
  71728. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  71729. $(ACLOCAL_M4)
  71730. -mkinstalldirs = $(mkdir_p)
  71731. +mkinstalldirs = $(install_sh) -d
  71732. CONFIG_HEADER = $(top_builddir)/config.h
  71733. CONFIG_CLEAN_FILES =
  71734. +CONFIG_CLEAN_VPATH_FILES =
  71735. SOURCES =
  71736. DIST_SOURCES =
  71737. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  71738. ACLOCAL = @ACLOCAL@
  71739. -AMDEP_FALSE = @AMDEP_FALSE@
  71740. -AMDEP_TRUE = @AMDEP_TRUE@
  71741. AMTAR = @AMTAR@
  71742. AR = @AR@
  71743. AS = @AS@
  71744. @@ -60,60 +58,57 @@
  71745. AUTOHEADER = @AUTOHEADER@
  71746. AUTOMAKE = @AUTOMAKE@
  71747. AWK = @AWK@
  71748. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  71749. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  71750. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  71751. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  71752. CC = @CC@
  71753. CCDEPMODE = @CCDEPMODE@
  71754. CFLAGS = @CFLAGS@
  71755. CPP = @CPP@
  71756. CPPFLAGS = @CPPFLAGS@
  71757. -CXX = @CXX@
  71758. -CXXCPP = @CXXCPP@
  71759. -CXXDEPMODE = @CXXDEPMODE@
  71760. -CXXFLAGS = @CXXFLAGS@
  71761. CYGPATH_W = @CYGPATH_W@
  71762. DEFS = @DEFS@
  71763. DEPDIR = @DEPDIR@
  71764. DLLTOOL = @DLLTOOL@
  71765. DSYMUTIL = @DSYMUTIL@
  71766. -ECHO = @ECHO@
  71767. +DUMPBIN = @DUMPBIN@
  71768. ECHO_C = @ECHO_C@
  71769. ECHO_N = @ECHO_N@
  71770. ECHO_T = @ECHO_T@
  71771. EGREP = @EGREP@
  71772. EXEEXT = @EXEEXT@
  71773. -F77 = @F77@
  71774. -FFLAGS = @FFLAGS@
  71775. FFT_CFLAGS = @FFT_CFLAGS@
  71776. FFT_LIBS = @FFT_LIBS@
  71777. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  71778. +FGREP = @FGREP@
  71779. GREP = @GREP@
  71780. +INSTALL = @INSTALL@
  71781. INSTALL_DATA = @INSTALL_DATA@
  71782. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  71783. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  71784. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  71785. +LD = @LD@
  71786. LDFLAGS = @LDFLAGS@
  71787. LIBOBJS = @LIBOBJS@
  71788. LIBS = @LIBS@
  71789. LIBTOOL = @LIBTOOL@
  71790. +LIPO = @LIPO@
  71791. LN_S = @LN_S@
  71792. LTLIBOBJS = @LTLIBOBJS@
  71793. MAINT = @MAINT@
  71794. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  71795. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  71796. MAKEINFO = @MAKEINFO@
  71797. +MKDIR_P = @MKDIR_P@
  71798. +NM = @NM@
  71799. NMEDIT = @NMEDIT@
  71800. OBJDUMP = @OBJDUMP@
  71801. OBJEXT = @OBJEXT@
  71802. OGG_CFLAGS = @OGG_CFLAGS@
  71803. OGG_LIBS = @OGG_LIBS@
  71804. +OTOOL = @OTOOL@
  71805. +OTOOL64 = @OTOOL64@
  71806. PACKAGE = @PACKAGE@
  71807. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  71808. PACKAGE_NAME = @PACKAGE_NAME@
  71809. PACKAGE_STRING = @PACKAGE_STRING@
  71810. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  71811. +PACKAGE_URL = @PACKAGE_URL@
  71812. PACKAGE_VERSION = @PACKAGE_VERSION@
  71813. PATH_SEPARATOR = @PATH_SEPARATOR@
  71814. PKG_CONFIG = @PKG_CONFIG@
  71815. @@ -129,22 +124,24 @@
  71816. SPEEX_VERSION = @SPEEX_VERSION@
  71817. STRIP = @STRIP@
  71818. VERSION = @VERSION@
  71819. +abs_builddir = @abs_builddir@
  71820. +abs_srcdir = @abs_srcdir@
  71821. +abs_top_builddir = @abs_top_builddir@
  71822. +abs_top_srcdir = @abs_top_srcdir@
  71823. ac_ct_CC = @ac_ct_CC@
  71824. -ac_ct_CXX = @ac_ct_CXX@
  71825. -ac_ct_F77 = @ac_ct_F77@
  71826. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  71827. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  71828. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  71829. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  71830. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  71831. am__include = @am__include@
  71832. am__leading_dot = @am__leading_dot@
  71833. am__quote = @am__quote@
  71834. +am__tar = @am__tar@
  71835. +am__untar = @am__untar@
  71836. bindir = @bindir@
  71837. build = @build@
  71838. build_alias = @build_alias@
  71839. build_cpu = @build_cpu@
  71840. build_os = @build_os@
  71841. build_vendor = @build_vendor@
  71842. +builddir = @builddir@
  71843. datadir = @datadir@
  71844. datarootdir = @datarootdir@
  71845. docdir = @docdir@
  71846. @@ -163,6 +160,7 @@
  71847. libexecdir = @libexecdir@
  71848. localedir = @localedir@
  71849. localstatedir = @localstatedir@
  71850. +lt_ECHO = @lt_ECHO@
  71851. mandir = @mandir@
  71852. mkdir_p = @mkdir_p@
  71853. oldincludedir = @oldincludedir@
  71854. @@ -173,8 +171,12 @@
  71855. sbindir = @sbindir@
  71856. sharedstatedir = @sharedstatedir@
  71857. src = @src@
  71858. +srcdir = @srcdir@
  71859. sysconfdir = @sysconfdir@
  71860. target_alias = @target_alias@
  71861. +top_build_prefix = @top_build_prefix@
  71862. +top_builddir = @top_builddir@
  71863. +top_srcdir = @top_srcdir@
  71864. EXTRA_DIST = libspeexdsp.vcproj
  71865. all: all-am
  71866. @@ -183,14 +185,14 @@
  71867. @for dep in $?; do \
  71868. case '$(am__configure_deps)' in \
  71869. *$$dep*) \
  71870. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  71871. - && exit 0; \
  71872. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  71873. + && { if test -f $@; then exit 0; else break; fi; }; \
  71874. exit 1;; \
  71875. esac; \
  71876. done; \
  71877. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/libspeexdsp/Makefile'; \
  71878. - cd $(top_srcdir) && \
  71879. - $(AUTOMAKE) --gnu win32/VS2008/libspeexdsp/Makefile
  71880. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/libspeexdsp/Makefile'; \
  71881. + $(am__cd) $(top_srcdir) && \
  71882. + $(AUTOMAKE) --gnu win32/VS2008/libspeexdsp/Makefile
  71883. .PRECIOUS: Makefile
  71884. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  71885. @case '$?' in \
  71886. @@ -208,16 +210,13 @@
  71887. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71888. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  71889. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  71890. +$(am__aclocal_m4_deps):
  71891. mostlyclean-libtool:
  71892. -rm -f *.lo
  71893. clean-libtool:
  71894. -rm -rf .libs _libs
  71895. -
  71896. -distclean-libtool:
  71897. - -rm -f libtool
  71898. -uninstall-info-am:
  71899. tags: TAGS
  71900. TAGS:
  71901. @@ -226,29 +225,32 @@
  71902. distdir: $(DISTFILES)
  71903. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  71904. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  71905. - list='$(DISTFILES)'; for file in $$list; do \
  71906. - case $$file in \
  71907. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  71908. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  71909. - esac; \
  71910. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71911. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  71912. + list='$(DISTFILES)'; \
  71913. + dist_files=`for file in $$list; do echo $$file; done | \
  71914. + sed -e "s|^$$srcdirstrip/||;t" \
  71915. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  71916. + case $$dist_files in \
  71917. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  71918. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  71919. + sort -u` ;; \
  71920. + esac; \
  71921. + for file in $$dist_files; do \
  71922. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  71923. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  71924. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  71925. - dir="/$$dir"; \
  71926. - $(mkdir_p) "$(distdir)$$dir"; \
  71927. - else \
  71928. - dir=''; \
  71929. - fi; \
  71930. if test -d $$d/$$file; then \
  71931. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  71932. + if test -d "$(distdir)/$$file"; then \
  71933. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71934. + fi; \
  71935. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  71936. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  71937. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  71938. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  71939. fi; \
  71940. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  71941. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  71942. else \
  71943. - test -f $(distdir)/$$file \
  71944. - || cp -p $$d/$$file $(distdir)/$$file \
  71945. + test -f "$(distdir)/$$file" \
  71946. + || cp -p $$d/$$file "$(distdir)/$$file" \
  71947. || exit 1; \
  71948. fi; \
  71949. done
  71950. @@ -275,7 +277,8 @@
  71951. clean-generic:
  71952. distclean-generic:
  71953. - -rm -f $(CONFIG_CLEAN_FILES)
  71954. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  71955. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  71956. maintainer-clean-generic:
  71957. @echo "This command is intended for maintainers to use"
  71958. @@ -286,7 +289,7 @@
  71959. distclean: distclean-am
  71960. -rm -f Makefile
  71961. -distclean-am: clean-am distclean-generic distclean-libtool
  71962. +distclean-am: clean-am distclean-generic
  71963. dvi: dvi-am
  71964. @@ -294,18 +297,38 @@
  71965. html: html-am
  71966. +html-am:
  71967. +
  71968. info: info-am
  71969. info-am:
  71970. install-data-am:
  71971. +install-dvi: install-dvi-am
  71972. +
  71973. +install-dvi-am:
  71974. +
  71975. install-exec-am:
  71976. +install-html: install-html-am
  71977. +
  71978. +install-html-am:
  71979. +
  71980. install-info: install-info-am
  71981. +install-info-am:
  71982. +
  71983. install-man:
  71984. +install-pdf: install-pdf-am
  71985. +
  71986. +install-pdf-am:
  71987. +
  71988. +install-ps: install-ps-am
  71989. +
  71990. +install-ps-am:
  71991. +
  71992. installcheck-am:
  71993. maintainer-clean: maintainer-clean-am
  71994. @@ -324,17 +347,21 @@
  71995. ps-am:
  71996. -uninstall-am: uninstall-info-am
  71997. +uninstall-am:
  71998. +
  71999. +.MAKE: install-am install-strip
  72000. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  72001. distclean distclean-generic distclean-libtool distdir dvi \
  72002. dvi-am html html-am info info-am install install-am \
  72003. - install-data install-data-am install-exec install-exec-am \
  72004. - install-info install-info-am install-man install-strip \
  72005. + install-data install-data-am install-dvi install-dvi-am \
  72006. + install-exec install-exec-am install-html install-html-am \
  72007. + install-info install-info-am install-man install-pdf \
  72008. + install-pdf-am install-ps install-ps-am install-strip \
  72009. installcheck installcheck-am installdirs maintainer-clean \
  72010. maintainer-clean-generic mostlyclean mostlyclean-generic \
  72011. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  72012. - uninstall-info-am
  72013. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  72014. +
  72015. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  72016. # Otherwise a system limit (for SysV at least) may be exceeded.
  72017. diff -Nur speex-1.2rc1.orig/win32/VS2008/Makefile.in speex-1.2rc1/win32/VS2008/Makefile.in
  72018. --- speex-1.2rc1.orig/win32/VS2008/Makefile.in 2008-07-21 04:17:21.000000000 +0200
  72019. +++ speex-1.2rc1/win32/VS2008/Makefile.in 2011-02-20 22:00:58.493601429 +0100
  72020. @@ -1,8 +1,9 @@
  72021. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  72022. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  72023. # @configure_input@
  72024. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  72025. -# 2003, 2004 Free Software Foundation, Inc.
  72026. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  72027. +# Inc.
  72028. # This Makefile.in is free software; the Free Software Foundation
  72029. # gives unlimited permission to copy and/or distribute it,
  72030. # with or without modifications, as long as this notice is preserved.
  72031. @@ -16,15 +17,12 @@
  72032. # Disable automatic dependency tracking if using other tools than gcc and gmake
  72033. #AUTOMAKE_OPTIONS = no-dependencies
  72034. -srcdir = @srcdir@
  72035. -top_srcdir = @top_srcdir@
  72036. VPATH = @srcdir@
  72037. pkgdatadir = $(datadir)/@PACKAGE@
  72038. -pkglibdir = $(libdir)/@PACKAGE@
  72039. pkgincludedir = $(includedir)/@PACKAGE@
  72040. -top_builddir = ../..
  72041. +pkglibdir = $(libdir)/@PACKAGE@
  72042. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  72043. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  72044. -INSTALL = @INSTALL@
  72045. install_sh_DATA = $(install_sh) -c -m 644
  72046. install_sh_PROGRAM = $(install_sh) -c
  72047. install_sh_SCRIPT = $(install_sh) -c
  72048. @@ -36,6 +34,7 @@
  72049. NORMAL_UNINSTALL = :
  72050. PRE_UNINSTALL = :
  72051. POST_UNINSTALL = :
  72052. +build_triplet = @build@
  72053. host_triplet = @host@
  72054. subdir = win32/VS2008
  72055. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  72056. @@ -44,24 +43,54 @@
  72057. $(top_srcdir)/configure.ac
  72058. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  72059. $(ACLOCAL_M4)
  72060. -mkinstalldirs = $(mkdir_p)
  72061. +mkinstalldirs = $(install_sh) -d
  72062. CONFIG_HEADER = $(top_builddir)/config.h
  72063. CONFIG_CLEAN_FILES =
  72064. +CONFIG_CLEAN_VPATH_FILES =
  72065. SOURCES =
  72066. DIST_SOURCES =
  72067. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  72068. html-recursive info-recursive install-data-recursive \
  72069. - install-exec-recursive install-info-recursive \
  72070. - install-recursive installcheck-recursive installdirs-recursive \
  72071. - pdf-recursive ps-recursive uninstall-info-recursive \
  72072. - uninstall-recursive
  72073. + install-dvi-recursive install-exec-recursive \
  72074. + install-html-recursive install-info-recursive \
  72075. + install-pdf-recursive install-ps-recursive install-recursive \
  72076. + installcheck-recursive installdirs-recursive pdf-recursive \
  72077. + ps-recursive uninstall-recursive
  72078. +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  72079. + distclean-recursive maintainer-clean-recursive
  72080. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  72081. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  72082. + distdir
  72083. ETAGS = etags
  72084. CTAGS = ctags
  72085. DIST_SUBDIRS = $(SUBDIRS)
  72086. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  72087. +am__relativize = \
  72088. + dir0=`pwd`; \
  72089. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  72090. + sed_rest='s,^[^/]*/*,,'; \
  72091. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  72092. + sed_butlast='s,/*[^/]*$$,,'; \
  72093. + while test -n "$$dir1"; do \
  72094. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  72095. + if test "$$first" != "."; then \
  72096. + if test "$$first" = ".."; then \
  72097. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  72098. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  72099. + else \
  72100. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  72101. + if test "$$first2" = "$$first"; then \
  72102. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  72103. + else \
  72104. + dir2="../$$dir2"; \
  72105. + fi; \
  72106. + dir0="$$dir0"/"$$first"; \
  72107. + fi; \
  72108. + fi; \
  72109. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  72110. + done; \
  72111. + reldir="$$dir2"
  72112. ACLOCAL = @ACLOCAL@
  72113. -AMDEP_FALSE = @AMDEP_FALSE@
  72114. -AMDEP_TRUE = @AMDEP_TRUE@
  72115. AMTAR = @AMTAR@
  72116. AR = @AR@
  72117. AS = @AS@
  72118. @@ -69,60 +98,57 @@
  72119. AUTOHEADER = @AUTOHEADER@
  72120. AUTOMAKE = @AUTOMAKE@
  72121. AWK = @AWK@
  72122. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  72123. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  72124. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  72125. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  72126. CC = @CC@
  72127. CCDEPMODE = @CCDEPMODE@
  72128. CFLAGS = @CFLAGS@
  72129. CPP = @CPP@
  72130. CPPFLAGS = @CPPFLAGS@
  72131. -CXX = @CXX@
  72132. -CXXCPP = @CXXCPP@
  72133. -CXXDEPMODE = @CXXDEPMODE@
  72134. -CXXFLAGS = @CXXFLAGS@
  72135. CYGPATH_W = @CYGPATH_W@
  72136. DEFS = @DEFS@
  72137. DEPDIR = @DEPDIR@
  72138. DLLTOOL = @DLLTOOL@
  72139. DSYMUTIL = @DSYMUTIL@
  72140. -ECHO = @ECHO@
  72141. +DUMPBIN = @DUMPBIN@
  72142. ECHO_C = @ECHO_C@
  72143. ECHO_N = @ECHO_N@
  72144. ECHO_T = @ECHO_T@
  72145. EGREP = @EGREP@
  72146. EXEEXT = @EXEEXT@
  72147. -F77 = @F77@
  72148. -FFLAGS = @FFLAGS@
  72149. FFT_CFLAGS = @FFT_CFLAGS@
  72150. FFT_LIBS = @FFT_LIBS@
  72151. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  72152. +FGREP = @FGREP@
  72153. GREP = @GREP@
  72154. +INSTALL = @INSTALL@
  72155. INSTALL_DATA = @INSTALL_DATA@
  72156. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  72157. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  72158. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  72159. +LD = @LD@
  72160. LDFLAGS = @LDFLAGS@
  72161. LIBOBJS = @LIBOBJS@
  72162. LIBS = @LIBS@
  72163. LIBTOOL = @LIBTOOL@
  72164. +LIPO = @LIPO@
  72165. LN_S = @LN_S@
  72166. LTLIBOBJS = @LTLIBOBJS@
  72167. MAINT = @MAINT@
  72168. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  72169. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  72170. MAKEINFO = @MAKEINFO@
  72171. +MKDIR_P = @MKDIR_P@
  72172. +NM = @NM@
  72173. NMEDIT = @NMEDIT@
  72174. OBJDUMP = @OBJDUMP@
  72175. OBJEXT = @OBJEXT@
  72176. OGG_CFLAGS = @OGG_CFLAGS@
  72177. OGG_LIBS = @OGG_LIBS@
  72178. +OTOOL = @OTOOL@
  72179. +OTOOL64 = @OTOOL64@
  72180. PACKAGE = @PACKAGE@
  72181. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  72182. PACKAGE_NAME = @PACKAGE_NAME@
  72183. PACKAGE_STRING = @PACKAGE_STRING@
  72184. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  72185. +PACKAGE_URL = @PACKAGE_URL@
  72186. PACKAGE_VERSION = @PACKAGE_VERSION@
  72187. PATH_SEPARATOR = @PATH_SEPARATOR@
  72188. PKG_CONFIG = @PKG_CONFIG@
  72189. @@ -138,22 +164,24 @@
  72190. SPEEX_VERSION = @SPEEX_VERSION@
  72191. STRIP = @STRIP@
  72192. VERSION = @VERSION@
  72193. +abs_builddir = @abs_builddir@
  72194. +abs_srcdir = @abs_srcdir@
  72195. +abs_top_builddir = @abs_top_builddir@
  72196. +abs_top_srcdir = @abs_top_srcdir@
  72197. ac_ct_CC = @ac_ct_CC@
  72198. -ac_ct_CXX = @ac_ct_CXX@
  72199. -ac_ct_F77 = @ac_ct_F77@
  72200. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  72201. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  72202. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  72203. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  72204. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  72205. am__include = @am__include@
  72206. am__leading_dot = @am__leading_dot@
  72207. am__quote = @am__quote@
  72208. +am__tar = @am__tar@
  72209. +am__untar = @am__untar@
  72210. bindir = @bindir@
  72211. build = @build@
  72212. build_alias = @build_alias@
  72213. build_cpu = @build_cpu@
  72214. build_os = @build_os@
  72215. build_vendor = @build_vendor@
  72216. +builddir = @builddir@
  72217. datadir = @datadir@
  72218. datarootdir = @datarootdir@
  72219. docdir = @docdir@
  72220. @@ -172,6 +200,7 @@
  72221. libexecdir = @libexecdir@
  72222. localedir = @localedir@
  72223. localstatedir = @localstatedir@
  72224. +lt_ECHO = @lt_ECHO@
  72225. mandir = @mandir@
  72226. mkdir_p = @mkdir_p@
  72227. oldincludedir = @oldincludedir@
  72228. @@ -182,8 +211,12 @@
  72229. sbindir = @sbindir@
  72230. sharedstatedir = @sharedstatedir@
  72231. src = @src@
  72232. +srcdir = @srcdir@
  72233. sysconfdir = @sysconfdir@
  72234. target_alias = @target_alias@
  72235. +top_build_prefix = @top_build_prefix@
  72236. +top_builddir = @top_builddir@
  72237. +top_srcdir = @top_srcdir@
  72238. SUBDIRS = libspeex libspeexdsp speexenc speexdec tests
  72239. EXTRA_DIST = libspeex.sln
  72240. all: all-recursive
  72241. @@ -193,14 +226,14 @@
  72242. @for dep in $?; do \
  72243. case '$(am__configure_deps)' in \
  72244. *$$dep*) \
  72245. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  72246. - && exit 0; \
  72247. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  72248. + && { if test -f $@; then exit 0; else break; fi; }; \
  72249. exit 1;; \
  72250. esac; \
  72251. done; \
  72252. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/Makefile'; \
  72253. - cd $(top_srcdir) && \
  72254. - $(AUTOMAKE) --gnu win32/VS2008/Makefile
  72255. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/Makefile'; \
  72256. + $(am__cd) $(top_srcdir) && \
  72257. + $(AUTOMAKE) --gnu win32/VS2008/Makefile
  72258. .PRECIOUS: Makefile
  72259. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  72260. @case '$?' in \
  72261. @@ -218,6 +251,7 @@
  72262. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72263. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  72264. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72265. +$(am__aclocal_m4_deps):
  72266. mostlyclean-libtool:
  72267. -rm -f *.lo
  72268. @@ -225,10 +259,6 @@
  72269. clean-libtool:
  72270. -rm -rf .libs _libs
  72271. -distclean-libtool:
  72272. - -rm -f libtool
  72273. -uninstall-info-am:
  72274. -
  72275. # This directory's subdirectories are mostly independent; you can cd
  72276. # into them and run `make' without going through this Makefile.
  72277. # To change the values of `make' variables: instead of editing Makefiles,
  72278. @@ -236,7 +266,13 @@
  72279. # (which will cause the Makefiles to be regenerated when you run `make');
  72280. # (2) otherwise, pass the desired values on the `make' command line.
  72281. $(RECURSIVE_TARGETS):
  72282. - @set fnord $$MAKEFLAGS; amf=$$2; \
  72283. + @fail= failcom='exit 1'; \
  72284. + for f in x $$MAKEFLAGS; do \
  72285. + case $$f in \
  72286. + *=* | --[!k]*);; \
  72287. + *k*) failcom='fail=yes';; \
  72288. + esac; \
  72289. + done; \
  72290. dot_seen=no; \
  72291. target=`echo $@ | sed s/-recursive//`; \
  72292. list='$(SUBDIRS)'; for subdir in $$list; do \
  72293. @@ -247,16 +283,21 @@
  72294. else \
  72295. local_target="$$target"; \
  72296. fi; \
  72297. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72298. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  72299. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72300. + || eval $$failcom; \
  72301. done; \
  72302. if test "$$dot_seen" = "no"; then \
  72303. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  72304. fi; test -z "$$fail"
  72305. -mostlyclean-recursive clean-recursive distclean-recursive \
  72306. -maintainer-clean-recursive:
  72307. - @set fnord $$MAKEFLAGS; amf=$$2; \
  72308. +$(RECURSIVE_CLEAN_TARGETS):
  72309. + @fail= failcom='exit 1'; \
  72310. + for f in x $$MAKEFLAGS; do \
  72311. + case $$f in \
  72312. + *=* | --[!k]*);; \
  72313. + *k*) failcom='fail=yes';; \
  72314. + esac; \
  72315. + done; \
  72316. dot_seen=no; \
  72317. case "$@" in \
  72318. distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  72319. @@ -276,16 +317,16 @@
  72320. else \
  72321. local_target="$$target"; \
  72322. fi; \
  72323. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72324. - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  72325. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  72326. + || eval $$failcom; \
  72327. done && test -z "$$fail"
  72328. tags-recursive:
  72329. list='$(SUBDIRS)'; for subdir in $$list; do \
  72330. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  72331. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  72332. done
  72333. ctags-recursive:
  72334. list='$(SUBDIRS)'; for subdir in $$list; do \
  72335. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  72336. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  72337. done
  72338. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  72339. @@ -293,14 +334,14 @@
  72340. unique=`for i in $$list; do \
  72341. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72342. done | \
  72343. - $(AWK) ' { files[$$0] = 1; } \
  72344. - END { for (i in files) print i; }'`; \
  72345. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72346. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72347. mkid -fID $$unique
  72348. tags: TAGS
  72349. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  72350. $(TAGS_FILES) $(LISP)
  72351. - tags=; \
  72352. + set x; \
  72353. here=`pwd`; \
  72354. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  72355. include_option=--etags-include; \
  72356. @@ -312,79 +353,101 @@
  72357. list='$(SUBDIRS)'; for subdir in $$list; do \
  72358. if test "$$subdir" = .; then :; else \
  72359. test ! -f $$subdir/TAGS || \
  72360. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  72361. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  72362. fi; \
  72363. done; \
  72364. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  72365. unique=`for i in $$list; do \
  72366. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72367. done | \
  72368. - $(AWK) ' { files[$$0] = 1; } \
  72369. - END { for (i in files) print i; }'`; \
  72370. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  72371. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72372. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72373. + shift; \
  72374. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  72375. test -n "$$unique" || unique=$$empty_fix; \
  72376. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72377. - $$tags $$unique; \
  72378. + if test $$# -gt 0; then \
  72379. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72380. + "$$@" $$unique; \
  72381. + else \
  72382. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  72383. + $$unique; \
  72384. + fi; \
  72385. fi
  72386. ctags: CTAGS
  72387. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  72388. $(TAGS_FILES) $(LISP)
  72389. - tags=; \
  72390. - here=`pwd`; \
  72391. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  72392. unique=`for i in $$list; do \
  72393. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  72394. done | \
  72395. - $(AWK) ' { files[$$0] = 1; } \
  72396. - END { for (i in files) print i; }'`; \
  72397. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  72398. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  72399. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  72400. + test -z "$(CTAGS_ARGS)$$unique" \
  72401. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  72402. - $$tags $$unique
  72403. + $$unique
  72404. GTAGS:
  72405. here=`$(am__cd) $(top_builddir) && pwd` \
  72406. - && cd $(top_srcdir) \
  72407. - && gtags -i $(GTAGS_ARGS) $$here
  72408. + && $(am__cd) $(top_srcdir) \
  72409. + && gtags -i $(GTAGS_ARGS) "$$here"
  72410. distclean-tags:
  72411. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  72412. distdir: $(DISTFILES)
  72413. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  72414. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  72415. - list='$(DISTFILES)'; for file in $$list; do \
  72416. - case $$file in \
  72417. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  72418. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  72419. - esac; \
  72420. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72421. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72422. + list='$(DISTFILES)'; \
  72423. + dist_files=`for file in $$list; do echo $$file; done | \
  72424. + sed -e "s|^$$srcdirstrip/||;t" \
  72425. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  72426. + case $$dist_files in \
  72427. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  72428. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  72429. + sort -u` ;; \
  72430. + esac; \
  72431. + for file in $$dist_files; do \
  72432. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  72433. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  72434. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  72435. - dir="/$$dir"; \
  72436. - $(mkdir_p) "$(distdir)$$dir"; \
  72437. - else \
  72438. - dir=''; \
  72439. - fi; \
  72440. if test -d $$d/$$file; then \
  72441. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  72442. + if test -d "$(distdir)/$$file"; then \
  72443. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72444. + fi; \
  72445. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  72446. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  72447. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  72448. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72449. fi; \
  72450. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  72451. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  72452. else \
  72453. - test -f $(distdir)/$$file \
  72454. - || cp -p $$d/$$file $(distdir)/$$file \
  72455. + test -f "$(distdir)/$$file" \
  72456. + || cp -p $$d/$$file "$(distdir)/$$file" \
  72457. || exit 1; \
  72458. fi; \
  72459. done
  72460. - list='$(SUBDIRS)'; for subdir in $$list; do \
  72461. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  72462. if test "$$subdir" = .; then :; else \
  72463. test -d "$(distdir)/$$subdir" \
  72464. - || mkdir "$(distdir)/$$subdir" \
  72465. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  72466. || exit 1; \
  72467. - (cd $$subdir && \
  72468. + fi; \
  72469. + done
  72470. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  72471. + if test "$$subdir" = .; then :; else \
  72472. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  72473. + $(am__relativize); \
  72474. + new_distdir=$$reldir; \
  72475. + dir1=$$subdir; dir2="$(top_distdir)"; \
  72476. + $(am__relativize); \
  72477. + new_top_distdir=$$reldir; \
  72478. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  72479. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  72480. + ($(am__cd) $$subdir && \
  72481. $(MAKE) $(AM_MAKEFLAGS) \
  72482. - top_distdir="../$(top_distdir)" \
  72483. - distdir="../$(distdir)/$$subdir" \
  72484. + top_distdir="$$new_top_distdir" \
  72485. + distdir="$$new_distdir" \
  72486. + am__remove_distdir=: \
  72487. + am__skip_length_check=: \
  72488. + am__skip_mode_fix=: \
  72489. distdir) \
  72490. || exit 1; \
  72491. fi; \
  72492. @@ -413,7 +476,8 @@
  72493. clean-generic:
  72494. distclean-generic:
  72495. - -rm -f $(CONFIG_CLEAN_FILES)
  72496. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  72497. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  72498. maintainer-clean-generic:
  72499. @echo "This command is intended for maintainers to use"
  72500. @@ -424,8 +488,7 @@
  72501. distclean: distclean-recursive
  72502. -rm -f Makefile
  72503. -distclean-am: clean-am distclean-generic distclean-libtool \
  72504. - distclean-tags
  72505. +distclean-am: clean-am distclean-generic distclean-tags
  72506. dvi: dvi-recursive
  72507. @@ -433,18 +496,38 @@
  72508. html: html-recursive
  72509. +html-am:
  72510. +
  72511. info: info-recursive
  72512. info-am:
  72513. install-data-am:
  72514. +install-dvi: install-dvi-recursive
  72515. +
  72516. +install-dvi-am:
  72517. +
  72518. install-exec-am:
  72519. +install-html: install-html-recursive
  72520. +
  72521. +install-html-am:
  72522. +
  72523. install-info: install-info-recursive
  72524. +install-info-am:
  72525. +
  72526. install-man:
  72527. +install-pdf: install-pdf-recursive
  72528. +
  72529. +install-pdf-am:
  72530. +
  72531. +install-ps: install-ps-recursive
  72532. +
  72533. +install-ps-am:
  72534. +
  72535. installcheck-am:
  72536. maintainer-clean: maintainer-clean-recursive
  72537. @@ -463,22 +546,25 @@
  72538. ps-am:
  72539. -uninstall-am: uninstall-info-am
  72540. +uninstall-am:
  72541. -uninstall-info: uninstall-info-recursive
  72542. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  72543. + install-am install-strip tags-recursive
  72544. -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
  72545. - clean clean-generic clean-libtool clean-recursive ctags \
  72546. - ctags-recursive distclean distclean-generic distclean-libtool \
  72547. - distclean-recursive distclean-tags distdir dvi dvi-am html \
  72548. +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  72549. + all all-am check check-am clean clean-generic clean-libtool \
  72550. + ctags ctags-recursive distclean distclean-generic \
  72551. + distclean-libtool distclean-tags distdir dvi dvi-am html \
  72552. html-am info info-am install install-am install-data \
  72553. - install-data-am install-exec install-exec-am install-info \
  72554. - install-info-am install-man install-strip installcheck \
  72555. + install-data-am install-dvi install-dvi-am install-exec \
  72556. + install-exec-am install-html install-html-am install-info \
  72557. + install-info-am install-man install-pdf install-pdf-am \
  72558. + install-ps install-ps-am install-strip installcheck \
  72559. installcheck-am installdirs installdirs-am maintainer-clean \
  72560. - maintainer-clean-generic maintainer-clean-recursive \
  72561. - mostlyclean mostlyclean-generic mostlyclean-libtool \
  72562. - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  72563. - uninstall uninstall-am uninstall-info-am
  72564. + maintainer-clean-generic mostlyclean mostlyclean-generic \
  72565. + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  72566. + uninstall uninstall-am
  72567. +
  72568. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  72569. # Otherwise a system limit (for SysV at least) may be exceeded.
  72570. diff -Nur speex-1.2rc1.orig/win32/VS2008/speexdec/Makefile.in speex-1.2rc1/win32/VS2008/speexdec/Makefile.in
  72571. --- speex-1.2rc1.orig/win32/VS2008/speexdec/Makefile.in 2008-07-21 04:17:22.000000000 +0200
  72572. +++ speex-1.2rc1/win32/VS2008/speexdec/Makefile.in 2011-02-20 22:00:58.583550838 +0100
  72573. @@ -1,8 +1,9 @@
  72574. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  72575. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  72576. # @configure_input@
  72577. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  72578. -# 2003, 2004 Free Software Foundation, Inc.
  72579. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  72580. +# Inc.
  72581. # This Makefile.in is free software; the Free Software Foundation
  72582. # gives unlimited permission to copy and/or distribute it,
  72583. # with or without modifications, as long as this notice is preserved.
  72584. @@ -16,15 +17,12 @@
  72585. # Disable automatic dependency tracking if using other tools than gcc and gmake
  72586. #AUTOMAKE_OPTIONS = no-dependencies
  72587. -srcdir = @srcdir@
  72588. -top_srcdir = @top_srcdir@
  72589. VPATH = @srcdir@
  72590. pkgdatadir = $(datadir)/@PACKAGE@
  72591. -pkglibdir = $(libdir)/@PACKAGE@
  72592. pkgincludedir = $(includedir)/@PACKAGE@
  72593. -top_builddir = ../../..
  72594. +pkglibdir = $(libdir)/@PACKAGE@
  72595. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  72596. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  72597. -INSTALL = @INSTALL@
  72598. install_sh_DATA = $(install_sh) -c -m 644
  72599. install_sh_PROGRAM = $(install_sh) -c
  72600. install_sh_SCRIPT = $(install_sh) -c
  72601. @@ -36,6 +34,7 @@
  72602. NORMAL_UNINSTALL = :
  72603. PRE_UNINSTALL = :
  72604. POST_UNINSTALL = :
  72605. +build_triplet = @build@
  72606. host_triplet = @host@
  72607. subdir = win32/VS2008/speexdec
  72608. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  72609. @@ -44,15 +43,14 @@
  72610. $(top_srcdir)/configure.ac
  72611. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  72612. $(ACLOCAL_M4)
  72613. -mkinstalldirs = $(mkdir_p)
  72614. +mkinstalldirs = $(install_sh) -d
  72615. CONFIG_HEADER = $(top_builddir)/config.h
  72616. CONFIG_CLEAN_FILES =
  72617. +CONFIG_CLEAN_VPATH_FILES =
  72618. SOURCES =
  72619. DIST_SOURCES =
  72620. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  72621. ACLOCAL = @ACLOCAL@
  72622. -AMDEP_FALSE = @AMDEP_FALSE@
  72623. -AMDEP_TRUE = @AMDEP_TRUE@
  72624. AMTAR = @AMTAR@
  72625. AR = @AR@
  72626. AS = @AS@
  72627. @@ -60,60 +58,57 @@
  72628. AUTOHEADER = @AUTOHEADER@
  72629. AUTOMAKE = @AUTOMAKE@
  72630. AWK = @AWK@
  72631. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  72632. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  72633. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  72634. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  72635. CC = @CC@
  72636. CCDEPMODE = @CCDEPMODE@
  72637. CFLAGS = @CFLAGS@
  72638. CPP = @CPP@
  72639. CPPFLAGS = @CPPFLAGS@
  72640. -CXX = @CXX@
  72641. -CXXCPP = @CXXCPP@
  72642. -CXXDEPMODE = @CXXDEPMODE@
  72643. -CXXFLAGS = @CXXFLAGS@
  72644. CYGPATH_W = @CYGPATH_W@
  72645. DEFS = @DEFS@
  72646. DEPDIR = @DEPDIR@
  72647. DLLTOOL = @DLLTOOL@
  72648. DSYMUTIL = @DSYMUTIL@
  72649. -ECHO = @ECHO@
  72650. +DUMPBIN = @DUMPBIN@
  72651. ECHO_C = @ECHO_C@
  72652. ECHO_N = @ECHO_N@
  72653. ECHO_T = @ECHO_T@
  72654. EGREP = @EGREP@
  72655. EXEEXT = @EXEEXT@
  72656. -F77 = @F77@
  72657. -FFLAGS = @FFLAGS@
  72658. FFT_CFLAGS = @FFT_CFLAGS@
  72659. FFT_LIBS = @FFT_LIBS@
  72660. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  72661. +FGREP = @FGREP@
  72662. GREP = @GREP@
  72663. +INSTALL = @INSTALL@
  72664. INSTALL_DATA = @INSTALL_DATA@
  72665. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  72666. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  72667. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  72668. +LD = @LD@
  72669. LDFLAGS = @LDFLAGS@
  72670. LIBOBJS = @LIBOBJS@
  72671. LIBS = @LIBS@
  72672. LIBTOOL = @LIBTOOL@
  72673. +LIPO = @LIPO@
  72674. LN_S = @LN_S@
  72675. LTLIBOBJS = @LTLIBOBJS@
  72676. MAINT = @MAINT@
  72677. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  72678. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  72679. MAKEINFO = @MAKEINFO@
  72680. +MKDIR_P = @MKDIR_P@
  72681. +NM = @NM@
  72682. NMEDIT = @NMEDIT@
  72683. OBJDUMP = @OBJDUMP@
  72684. OBJEXT = @OBJEXT@
  72685. OGG_CFLAGS = @OGG_CFLAGS@
  72686. OGG_LIBS = @OGG_LIBS@
  72687. +OTOOL = @OTOOL@
  72688. +OTOOL64 = @OTOOL64@
  72689. PACKAGE = @PACKAGE@
  72690. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  72691. PACKAGE_NAME = @PACKAGE_NAME@
  72692. PACKAGE_STRING = @PACKAGE_STRING@
  72693. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  72694. +PACKAGE_URL = @PACKAGE_URL@
  72695. PACKAGE_VERSION = @PACKAGE_VERSION@
  72696. PATH_SEPARATOR = @PATH_SEPARATOR@
  72697. PKG_CONFIG = @PKG_CONFIG@
  72698. @@ -129,22 +124,24 @@
  72699. SPEEX_VERSION = @SPEEX_VERSION@
  72700. STRIP = @STRIP@
  72701. VERSION = @VERSION@
  72702. +abs_builddir = @abs_builddir@
  72703. +abs_srcdir = @abs_srcdir@
  72704. +abs_top_builddir = @abs_top_builddir@
  72705. +abs_top_srcdir = @abs_top_srcdir@
  72706. ac_ct_CC = @ac_ct_CC@
  72707. -ac_ct_CXX = @ac_ct_CXX@
  72708. -ac_ct_F77 = @ac_ct_F77@
  72709. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  72710. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  72711. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  72712. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  72713. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  72714. am__include = @am__include@
  72715. am__leading_dot = @am__leading_dot@
  72716. am__quote = @am__quote@
  72717. +am__tar = @am__tar@
  72718. +am__untar = @am__untar@
  72719. bindir = @bindir@
  72720. build = @build@
  72721. build_alias = @build_alias@
  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. @@ -163,6 +160,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. @@ -173,8 +171,12 @@
  72738. sbindir = @sbindir@
  72739. sharedstatedir = @sharedstatedir@
  72740. src = @src@
  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_DIST = speexdec.vcproj
  72748. all: all-am
  72749. @@ -183,14 +185,14 @@
  72750. @for dep in $?; do \
  72751. case '$(am__configure_deps)' in \
  72752. *$$dep*) \
  72753. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  72754. - && exit 0; \
  72755. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  72756. + && { if test -f $@; then exit 0; else break; fi; }; \
  72757. exit 1;; \
  72758. esac; \
  72759. done; \
  72760. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/speexdec/Makefile'; \
  72761. - cd $(top_srcdir) && \
  72762. - $(AUTOMAKE) --gnu win32/VS2008/speexdec/Makefile
  72763. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/speexdec/Makefile'; \
  72764. + $(am__cd) $(top_srcdir) && \
  72765. + $(AUTOMAKE) --gnu win32/VS2008/speexdec/Makefile
  72766. .PRECIOUS: Makefile
  72767. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  72768. @case '$?' in \
  72769. @@ -208,16 +210,13 @@
  72770. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72771. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  72772. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  72773. +$(am__aclocal_m4_deps):
  72774. mostlyclean-libtool:
  72775. -rm -f *.lo
  72776. clean-libtool:
  72777. -rm -rf .libs _libs
  72778. -
  72779. -distclean-libtool:
  72780. - -rm -f libtool
  72781. -uninstall-info-am:
  72782. tags: TAGS
  72783. TAGS:
  72784. @@ -226,29 +225,32 @@
  72785. distdir: $(DISTFILES)
  72786. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  72787. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  72788. - list='$(DISTFILES)'; for file in $$list; do \
  72789. - case $$file in \
  72790. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  72791. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  72792. - esac; \
  72793. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72794. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  72795. + list='$(DISTFILES)'; \
  72796. + dist_files=`for file in $$list; do echo $$file; done | \
  72797. + sed -e "s|^$$srcdirstrip/||;t" \
  72798. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  72799. + case $$dist_files in \
  72800. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  72801. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  72802. + sort -u` ;; \
  72803. + esac; \
  72804. + for file in $$dist_files; do \
  72805. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  72806. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  72807. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  72808. - dir="/$$dir"; \
  72809. - $(mkdir_p) "$(distdir)$$dir"; \
  72810. - else \
  72811. - dir=''; \
  72812. - fi; \
  72813. if test -d $$d/$$file; then \
  72814. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  72815. + if test -d "$(distdir)/$$file"; then \
  72816. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72817. + fi; \
  72818. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  72819. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  72820. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  72821. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  72822. fi; \
  72823. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  72824. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  72825. else \
  72826. - test -f $(distdir)/$$file \
  72827. - || cp -p $$d/$$file $(distdir)/$$file \
  72828. + test -f "$(distdir)/$$file" \
  72829. + || cp -p $$d/$$file "$(distdir)/$$file" \
  72830. || exit 1; \
  72831. fi; \
  72832. done
  72833. @@ -275,7 +277,8 @@
  72834. clean-generic:
  72835. distclean-generic:
  72836. - -rm -f $(CONFIG_CLEAN_FILES)
  72837. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  72838. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  72839. maintainer-clean-generic:
  72840. @echo "This command is intended for maintainers to use"
  72841. @@ -286,7 +289,7 @@
  72842. distclean: distclean-am
  72843. -rm -f Makefile
  72844. -distclean-am: clean-am distclean-generic distclean-libtool
  72845. +distclean-am: clean-am distclean-generic
  72846. dvi: dvi-am
  72847. @@ -294,18 +297,38 @@
  72848. html: html-am
  72849. +html-am:
  72850. +
  72851. info: info-am
  72852. info-am:
  72853. install-data-am:
  72854. +install-dvi: install-dvi-am
  72855. +
  72856. +install-dvi-am:
  72857. +
  72858. install-exec-am:
  72859. +install-html: install-html-am
  72860. +
  72861. +install-html-am:
  72862. +
  72863. install-info: install-info-am
  72864. +install-info-am:
  72865. +
  72866. install-man:
  72867. +install-pdf: install-pdf-am
  72868. +
  72869. +install-pdf-am:
  72870. +
  72871. +install-ps: install-ps-am
  72872. +
  72873. +install-ps-am:
  72874. +
  72875. installcheck-am:
  72876. maintainer-clean: maintainer-clean-am
  72877. @@ -324,17 +347,21 @@
  72878. ps-am:
  72879. -uninstall-am: uninstall-info-am
  72880. +uninstall-am:
  72881. +
  72882. +.MAKE: install-am install-strip
  72883. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  72884. distclean distclean-generic distclean-libtool distdir dvi \
  72885. dvi-am html html-am info info-am install install-am \
  72886. - install-data install-data-am install-exec install-exec-am \
  72887. - install-info install-info-am install-man install-strip \
  72888. + install-data install-data-am install-dvi install-dvi-am \
  72889. + install-exec install-exec-am install-html install-html-am \
  72890. + install-info install-info-am install-man install-pdf \
  72891. + install-pdf-am install-ps install-ps-am install-strip \
  72892. installcheck installcheck-am installdirs maintainer-clean \
  72893. maintainer-clean-generic mostlyclean mostlyclean-generic \
  72894. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  72895. - uninstall-info-am
  72896. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  72897. +
  72898. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  72899. # Otherwise a system limit (for SysV at least) may be exceeded.
  72900. diff -Nur speex-1.2rc1.orig/win32/VS2008/speexenc/Makefile.in speex-1.2rc1/win32/VS2008/speexenc/Makefile.in
  72901. --- speex-1.2rc1.orig/win32/VS2008/speexenc/Makefile.in 2008-07-21 04:17:22.000000000 +0200
  72902. +++ speex-1.2rc1/win32/VS2008/speexenc/Makefile.in 2011-02-20 22:00:58.603559371 +0100
  72903. @@ -1,8 +1,9 @@
  72904. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  72905. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  72906. # @configure_input@
  72907. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  72908. -# 2003, 2004 Free Software Foundation, Inc.
  72909. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  72910. +# Inc.
  72911. # This Makefile.in is free software; the Free Software Foundation
  72912. # gives unlimited permission to copy and/or distribute it,
  72913. # with or without modifications, as long as this notice is preserved.
  72914. @@ -16,15 +17,12 @@
  72915. # Disable automatic dependency tracking if using other tools than gcc and gmake
  72916. #AUTOMAKE_OPTIONS = no-dependencies
  72917. -srcdir = @srcdir@
  72918. -top_srcdir = @top_srcdir@
  72919. VPATH = @srcdir@
  72920. pkgdatadir = $(datadir)/@PACKAGE@
  72921. -pkglibdir = $(libdir)/@PACKAGE@
  72922. pkgincludedir = $(includedir)/@PACKAGE@
  72923. -top_builddir = ../../..
  72924. +pkglibdir = $(libdir)/@PACKAGE@
  72925. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  72926. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  72927. -INSTALL = @INSTALL@
  72928. install_sh_DATA = $(install_sh) -c -m 644
  72929. install_sh_PROGRAM = $(install_sh) -c
  72930. install_sh_SCRIPT = $(install_sh) -c
  72931. @@ -36,6 +34,7 @@
  72932. NORMAL_UNINSTALL = :
  72933. PRE_UNINSTALL = :
  72934. POST_UNINSTALL = :
  72935. +build_triplet = @build@
  72936. host_triplet = @host@
  72937. subdir = win32/VS2008/speexenc
  72938. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  72939. @@ -44,15 +43,14 @@
  72940. $(top_srcdir)/configure.ac
  72941. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  72942. $(ACLOCAL_M4)
  72943. -mkinstalldirs = $(mkdir_p)
  72944. +mkinstalldirs = $(install_sh) -d
  72945. CONFIG_HEADER = $(top_builddir)/config.h
  72946. CONFIG_CLEAN_FILES =
  72947. +CONFIG_CLEAN_VPATH_FILES =
  72948. SOURCES =
  72949. DIST_SOURCES =
  72950. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  72951. ACLOCAL = @ACLOCAL@
  72952. -AMDEP_FALSE = @AMDEP_FALSE@
  72953. -AMDEP_TRUE = @AMDEP_TRUE@
  72954. AMTAR = @AMTAR@
  72955. AR = @AR@
  72956. AS = @AS@
  72957. @@ -60,60 +58,57 @@
  72958. AUTOHEADER = @AUTOHEADER@
  72959. AUTOMAKE = @AUTOMAKE@
  72960. AWK = @AWK@
  72961. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  72962. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  72963. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  72964. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  72965. CC = @CC@
  72966. CCDEPMODE = @CCDEPMODE@
  72967. CFLAGS = @CFLAGS@
  72968. CPP = @CPP@
  72969. CPPFLAGS = @CPPFLAGS@
  72970. -CXX = @CXX@
  72971. -CXXCPP = @CXXCPP@
  72972. -CXXDEPMODE = @CXXDEPMODE@
  72973. -CXXFLAGS = @CXXFLAGS@
  72974. CYGPATH_W = @CYGPATH_W@
  72975. DEFS = @DEFS@
  72976. DEPDIR = @DEPDIR@
  72977. DLLTOOL = @DLLTOOL@
  72978. DSYMUTIL = @DSYMUTIL@
  72979. -ECHO = @ECHO@
  72980. +DUMPBIN = @DUMPBIN@
  72981. ECHO_C = @ECHO_C@
  72982. ECHO_N = @ECHO_N@
  72983. ECHO_T = @ECHO_T@
  72984. EGREP = @EGREP@
  72985. EXEEXT = @EXEEXT@
  72986. -F77 = @F77@
  72987. -FFLAGS = @FFLAGS@
  72988. FFT_CFLAGS = @FFT_CFLAGS@
  72989. FFT_LIBS = @FFT_LIBS@
  72990. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  72991. +FGREP = @FGREP@
  72992. GREP = @GREP@
  72993. +INSTALL = @INSTALL@
  72994. INSTALL_DATA = @INSTALL_DATA@
  72995. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  72996. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  72997. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  72998. +LD = @LD@
  72999. LDFLAGS = @LDFLAGS@
  73000. LIBOBJS = @LIBOBJS@
  73001. LIBS = @LIBS@
  73002. LIBTOOL = @LIBTOOL@
  73003. +LIPO = @LIPO@
  73004. LN_S = @LN_S@
  73005. LTLIBOBJS = @LTLIBOBJS@
  73006. MAINT = @MAINT@
  73007. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  73008. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  73009. MAKEINFO = @MAKEINFO@
  73010. +MKDIR_P = @MKDIR_P@
  73011. +NM = @NM@
  73012. NMEDIT = @NMEDIT@
  73013. OBJDUMP = @OBJDUMP@
  73014. OBJEXT = @OBJEXT@
  73015. OGG_CFLAGS = @OGG_CFLAGS@
  73016. OGG_LIBS = @OGG_LIBS@
  73017. +OTOOL = @OTOOL@
  73018. +OTOOL64 = @OTOOL64@
  73019. PACKAGE = @PACKAGE@
  73020. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  73021. PACKAGE_NAME = @PACKAGE_NAME@
  73022. PACKAGE_STRING = @PACKAGE_STRING@
  73023. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  73024. +PACKAGE_URL = @PACKAGE_URL@
  73025. PACKAGE_VERSION = @PACKAGE_VERSION@
  73026. PATH_SEPARATOR = @PATH_SEPARATOR@
  73027. PKG_CONFIG = @PKG_CONFIG@
  73028. @@ -129,22 +124,24 @@
  73029. SPEEX_VERSION = @SPEEX_VERSION@
  73030. STRIP = @STRIP@
  73031. VERSION = @VERSION@
  73032. +abs_builddir = @abs_builddir@
  73033. +abs_srcdir = @abs_srcdir@
  73034. +abs_top_builddir = @abs_top_builddir@
  73035. +abs_top_srcdir = @abs_top_srcdir@
  73036. ac_ct_CC = @ac_ct_CC@
  73037. -ac_ct_CXX = @ac_ct_CXX@
  73038. -ac_ct_F77 = @ac_ct_F77@
  73039. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  73040. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  73041. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  73042. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  73043. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73044. am__include = @am__include@
  73045. am__leading_dot = @am__leading_dot@
  73046. am__quote = @am__quote@
  73047. +am__tar = @am__tar@
  73048. +am__untar = @am__untar@
  73049. bindir = @bindir@
  73050. build = @build@
  73051. build_alias = @build_alias@
  73052. build_cpu = @build_cpu@
  73053. build_os = @build_os@
  73054. build_vendor = @build_vendor@
  73055. +builddir = @builddir@
  73056. datadir = @datadir@
  73057. datarootdir = @datarootdir@
  73058. docdir = @docdir@
  73059. @@ -163,6 +160,7 @@
  73060. libexecdir = @libexecdir@
  73061. localedir = @localedir@
  73062. localstatedir = @localstatedir@
  73063. +lt_ECHO = @lt_ECHO@
  73064. mandir = @mandir@
  73065. mkdir_p = @mkdir_p@
  73066. oldincludedir = @oldincludedir@
  73067. @@ -173,8 +171,12 @@
  73068. sbindir = @sbindir@
  73069. sharedstatedir = @sharedstatedir@
  73070. src = @src@
  73071. +srcdir = @srcdir@
  73072. sysconfdir = @sysconfdir@
  73073. target_alias = @target_alias@
  73074. +top_build_prefix = @top_build_prefix@
  73075. +top_builddir = @top_builddir@
  73076. +top_srcdir = @top_srcdir@
  73077. EXTRA_DIST = speexenc.vcproj
  73078. all: all-am
  73079. @@ -183,14 +185,14 @@
  73080. @for dep in $?; do \
  73081. case '$(am__configure_deps)' in \
  73082. *$$dep*) \
  73083. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  73084. - && exit 0; \
  73085. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  73086. + && { if test -f $@; then exit 0; else break; fi; }; \
  73087. exit 1;; \
  73088. esac; \
  73089. done; \
  73090. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/speexenc/Makefile'; \
  73091. - cd $(top_srcdir) && \
  73092. - $(AUTOMAKE) --gnu win32/VS2008/speexenc/Makefile
  73093. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/speexenc/Makefile'; \
  73094. + $(am__cd) $(top_srcdir) && \
  73095. + $(AUTOMAKE) --gnu win32/VS2008/speexenc/Makefile
  73096. .PRECIOUS: Makefile
  73097. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  73098. @case '$?' in \
  73099. @@ -208,16 +210,13 @@
  73100. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  73101. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  73102. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  73103. +$(am__aclocal_m4_deps):
  73104. mostlyclean-libtool:
  73105. -rm -f *.lo
  73106. clean-libtool:
  73107. -rm -rf .libs _libs
  73108. -
  73109. -distclean-libtool:
  73110. - -rm -f libtool
  73111. -uninstall-info-am:
  73112. tags: TAGS
  73113. TAGS:
  73114. @@ -226,29 +225,32 @@
  73115. distdir: $(DISTFILES)
  73116. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  73117. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  73118. - list='$(DISTFILES)'; for file in $$list; do \
  73119. - case $$file in \
  73120. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  73121. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  73122. - esac; \
  73123. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73124. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73125. + list='$(DISTFILES)'; \
  73126. + dist_files=`for file in $$list; do echo $$file; done | \
  73127. + sed -e "s|^$$srcdirstrip/||;t" \
  73128. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  73129. + case $$dist_files in \
  73130. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  73131. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  73132. + sort -u` ;; \
  73133. + esac; \
  73134. + for file in $$dist_files; do \
  73135. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  73136. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  73137. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  73138. - dir="/$$dir"; \
  73139. - $(mkdir_p) "$(distdir)$$dir"; \
  73140. - else \
  73141. - dir=''; \
  73142. - fi; \
  73143. if test -d $$d/$$file; then \
  73144. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  73145. + if test -d "$(distdir)/$$file"; then \
  73146. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  73147. + fi; \
  73148. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  73149. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  73150. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  73151. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  73152. fi; \
  73153. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  73154. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  73155. else \
  73156. - test -f $(distdir)/$$file \
  73157. - || cp -p $$d/$$file $(distdir)/$$file \
  73158. + test -f "$(distdir)/$$file" \
  73159. + || cp -p $$d/$$file "$(distdir)/$$file" \
  73160. || exit 1; \
  73161. fi; \
  73162. done
  73163. @@ -275,7 +277,8 @@
  73164. clean-generic:
  73165. distclean-generic:
  73166. - -rm -f $(CONFIG_CLEAN_FILES)
  73167. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  73168. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  73169. maintainer-clean-generic:
  73170. @echo "This command is intended for maintainers to use"
  73171. @@ -286,7 +289,7 @@
  73172. distclean: distclean-am
  73173. -rm -f Makefile
  73174. -distclean-am: clean-am distclean-generic distclean-libtool
  73175. +distclean-am: clean-am distclean-generic
  73176. dvi: dvi-am
  73177. @@ -294,18 +297,38 @@
  73178. html: html-am
  73179. +html-am:
  73180. +
  73181. info: info-am
  73182. info-am:
  73183. install-data-am:
  73184. +install-dvi: install-dvi-am
  73185. +
  73186. +install-dvi-am:
  73187. +
  73188. install-exec-am:
  73189. +install-html: install-html-am
  73190. +
  73191. +install-html-am:
  73192. +
  73193. install-info: install-info-am
  73194. +install-info-am:
  73195. +
  73196. install-man:
  73197. +install-pdf: install-pdf-am
  73198. +
  73199. +install-pdf-am:
  73200. +
  73201. +install-ps: install-ps-am
  73202. +
  73203. +install-ps-am:
  73204. +
  73205. installcheck-am:
  73206. maintainer-clean: maintainer-clean-am
  73207. @@ -324,17 +347,21 @@
  73208. ps-am:
  73209. -uninstall-am: uninstall-info-am
  73210. +uninstall-am:
  73211. +
  73212. +.MAKE: install-am install-strip
  73213. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  73214. distclean distclean-generic distclean-libtool distdir dvi \
  73215. dvi-am html html-am info info-am install install-am \
  73216. - install-data install-data-am install-exec install-exec-am \
  73217. - install-info install-info-am install-man install-strip \
  73218. + install-data install-data-am install-dvi install-dvi-am \
  73219. + install-exec install-exec-am install-html install-html-am \
  73220. + install-info install-info-am install-man install-pdf \
  73221. + install-pdf-am install-ps install-ps-am install-strip \
  73222. installcheck installcheck-am installdirs maintainer-clean \
  73223. maintainer-clean-generic mostlyclean mostlyclean-generic \
  73224. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  73225. - uninstall-info-am
  73226. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  73227. +
  73228. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  73229. # Otherwise a system limit (for SysV at least) may be exceeded.
  73230. diff -Nur speex-1.2rc1.orig/win32/VS2008/tests/Makefile.in speex-1.2rc1/win32/VS2008/tests/Makefile.in
  73231. --- speex-1.2rc1.orig/win32/VS2008/tests/Makefile.in 2008-07-21 04:17:22.000000000 +0200
  73232. +++ speex-1.2rc1/win32/VS2008/tests/Makefile.in 2011-02-20 22:00:58.633733740 +0100
  73233. @@ -1,8 +1,9 @@
  73234. -# Makefile.in generated by automake 1.8.5 from Makefile.am.
  73235. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  73236. # @configure_input@
  73237. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  73238. -# 2003, 2004 Free Software Foundation, Inc.
  73239. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  73240. +# Inc.
  73241. # This Makefile.in is free software; the Free Software Foundation
  73242. # gives unlimited permission to copy and/or distribute it,
  73243. # with or without modifications, as long as this notice is preserved.
  73244. @@ -16,15 +17,12 @@
  73245. # Disable automatic dependency tracking if using other tools than gcc and gmake
  73246. #AUTOMAKE_OPTIONS = no-dependencies
  73247. -srcdir = @srcdir@
  73248. -top_srcdir = @top_srcdir@
  73249. VPATH = @srcdir@
  73250. pkgdatadir = $(datadir)/@PACKAGE@
  73251. -pkglibdir = $(libdir)/@PACKAGE@
  73252. pkgincludedir = $(includedir)/@PACKAGE@
  73253. -top_builddir = ../../..
  73254. +pkglibdir = $(libdir)/@PACKAGE@
  73255. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  73256. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  73257. -INSTALL = @INSTALL@
  73258. install_sh_DATA = $(install_sh) -c -m 644
  73259. install_sh_PROGRAM = $(install_sh) -c
  73260. install_sh_SCRIPT = $(install_sh) -c
  73261. @@ -36,6 +34,7 @@
  73262. NORMAL_UNINSTALL = :
  73263. PRE_UNINSTALL = :
  73264. POST_UNINSTALL = :
  73265. +build_triplet = @build@
  73266. host_triplet = @host@
  73267. subdir = win32/VS2008/tests
  73268. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  73269. @@ -44,15 +43,14 @@
  73270. $(top_srcdir)/configure.ac
  73271. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  73272. $(ACLOCAL_M4)
  73273. -mkinstalldirs = $(mkdir_p)
  73274. +mkinstalldirs = $(install_sh) -d
  73275. CONFIG_HEADER = $(top_builddir)/config.h
  73276. CONFIG_CLEAN_FILES =
  73277. +CONFIG_CLEAN_VPATH_FILES =
  73278. SOURCES =
  73279. DIST_SOURCES =
  73280. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  73281. ACLOCAL = @ACLOCAL@
  73282. -AMDEP_FALSE = @AMDEP_FALSE@
  73283. -AMDEP_TRUE = @AMDEP_TRUE@
  73284. AMTAR = @AMTAR@
  73285. AR = @AR@
  73286. AS = @AS@
  73287. @@ -60,60 +58,57 @@
  73288. AUTOHEADER = @AUTOHEADER@
  73289. AUTOMAKE = @AUTOMAKE@
  73290. AWK = @AWK@
  73291. -BUILD_KISS_FFT_FALSE = @BUILD_KISS_FFT_FALSE@
  73292. -BUILD_KISS_FFT_TRUE = @BUILD_KISS_FFT_TRUE@
  73293. -BUILD_SMALLFT_FALSE = @BUILD_SMALLFT_FALSE@
  73294. -BUILD_SMALLFT_TRUE = @BUILD_SMALLFT_TRUE@
  73295. CC = @CC@
  73296. CCDEPMODE = @CCDEPMODE@
  73297. CFLAGS = @CFLAGS@
  73298. CPP = @CPP@
  73299. CPPFLAGS = @CPPFLAGS@
  73300. -CXX = @CXX@
  73301. -CXXCPP = @CXXCPP@
  73302. -CXXDEPMODE = @CXXDEPMODE@
  73303. -CXXFLAGS = @CXXFLAGS@
  73304. CYGPATH_W = @CYGPATH_W@
  73305. DEFS = @DEFS@
  73306. DEPDIR = @DEPDIR@
  73307. DLLTOOL = @DLLTOOL@
  73308. DSYMUTIL = @DSYMUTIL@
  73309. -ECHO = @ECHO@
  73310. +DUMPBIN = @DUMPBIN@
  73311. ECHO_C = @ECHO_C@
  73312. ECHO_N = @ECHO_N@
  73313. ECHO_T = @ECHO_T@
  73314. EGREP = @EGREP@
  73315. EXEEXT = @EXEEXT@
  73316. -F77 = @F77@
  73317. -FFLAGS = @FFLAGS@
  73318. FFT_CFLAGS = @FFT_CFLAGS@
  73319. FFT_LIBS = @FFT_LIBS@
  73320. FFT_PKGCONFIG = @FFT_PKGCONFIG@
  73321. +FGREP = @FGREP@
  73322. GREP = @GREP@
  73323. +INSTALL = @INSTALL@
  73324. INSTALL_DATA = @INSTALL_DATA@
  73325. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  73326. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  73327. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  73328. +LD = @LD@
  73329. LDFLAGS = @LDFLAGS@
  73330. LIBOBJS = @LIBOBJS@
  73331. LIBS = @LIBS@
  73332. LIBTOOL = @LIBTOOL@
  73333. +LIPO = @LIPO@
  73334. LN_S = @LN_S@
  73335. LTLIBOBJS = @LTLIBOBJS@
  73336. MAINT = @MAINT@
  73337. -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  73338. -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  73339. MAKEINFO = @MAKEINFO@
  73340. +MKDIR_P = @MKDIR_P@
  73341. +NM = @NM@
  73342. NMEDIT = @NMEDIT@
  73343. OBJDUMP = @OBJDUMP@
  73344. OBJEXT = @OBJEXT@
  73345. OGG_CFLAGS = @OGG_CFLAGS@
  73346. OGG_LIBS = @OGG_LIBS@
  73347. +OTOOL = @OTOOL@
  73348. +OTOOL64 = @OTOOL64@
  73349. PACKAGE = @PACKAGE@
  73350. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  73351. PACKAGE_NAME = @PACKAGE_NAME@
  73352. PACKAGE_STRING = @PACKAGE_STRING@
  73353. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  73354. +PACKAGE_URL = @PACKAGE_URL@
  73355. PACKAGE_VERSION = @PACKAGE_VERSION@
  73356. PATH_SEPARATOR = @PATH_SEPARATOR@
  73357. PKG_CONFIG = @PKG_CONFIG@
  73358. @@ -129,22 +124,24 @@
  73359. SPEEX_VERSION = @SPEEX_VERSION@
  73360. STRIP = @STRIP@
  73361. VERSION = @VERSION@
  73362. +abs_builddir = @abs_builddir@
  73363. +abs_srcdir = @abs_srcdir@
  73364. +abs_top_builddir = @abs_top_builddir@
  73365. +abs_top_srcdir = @abs_top_srcdir@
  73366. ac_ct_CC = @ac_ct_CC@
  73367. -ac_ct_CXX = @ac_ct_CXX@
  73368. -ac_ct_F77 = @ac_ct_F77@
  73369. -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
  73370. -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  73371. -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
  73372. -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
  73373. +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  73374. am__include = @am__include@
  73375. am__leading_dot = @am__leading_dot@
  73376. am__quote = @am__quote@
  73377. +am__tar = @am__tar@
  73378. +am__untar = @am__untar@
  73379. bindir = @bindir@
  73380. build = @build@
  73381. build_alias = @build_alias@
  73382. build_cpu = @build_cpu@
  73383. build_os = @build_os@
  73384. build_vendor = @build_vendor@
  73385. +builddir = @builddir@
  73386. datadir = @datadir@
  73387. datarootdir = @datarootdir@
  73388. docdir = @docdir@
  73389. @@ -163,6 +160,7 @@
  73390. libexecdir = @libexecdir@
  73391. localedir = @localedir@
  73392. localstatedir = @localstatedir@
  73393. +lt_ECHO = @lt_ECHO@
  73394. mandir = @mandir@
  73395. mkdir_p = @mkdir_p@
  73396. oldincludedir = @oldincludedir@
  73397. @@ -173,8 +171,12 @@
  73398. sbindir = @sbindir@
  73399. sharedstatedir = @sharedstatedir@
  73400. src = @src@
  73401. +srcdir = @srcdir@
  73402. sysconfdir = @sysconfdir@
  73403. target_alias = @target_alias@
  73404. +top_build_prefix = @top_build_prefix@
  73405. +top_builddir = @top_builddir@
  73406. +top_srcdir = @top_srcdir@
  73407. EXTRA_DIST = testdenoise.vcproj testecho.vcproj testenc.vcproj testenc_uwb.vcproj \
  73408. testenc_wb.vcproj testresample.vcproj
  73409. @@ -185,14 +187,14 @@
  73410. @for dep in $?; do \
  73411. case '$(am__configure_deps)' in \
  73412. *$$dep*) \
  73413. - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
  73414. - && exit 0; \
  73415. + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  73416. + && { if test -f $@; then exit 0; else break; fi; }; \
  73417. exit 1;; \
  73418. esac; \
  73419. done; \
  73420. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/tests/Makefile'; \
  73421. - cd $(top_srcdir) && \
  73422. - $(AUTOMAKE) --gnu win32/VS2008/tests/Makefile
  73423. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/VS2008/tests/Makefile'; \
  73424. + $(am__cd) $(top_srcdir) && \
  73425. + $(AUTOMAKE) --gnu win32/VS2008/tests/Makefile
  73426. .PRECIOUS: Makefile
  73427. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  73428. @case '$?' in \
  73429. @@ -210,16 +212,13 @@
  73430. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  73431. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  73432. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  73433. +$(am__aclocal_m4_deps):
  73434. mostlyclean-libtool:
  73435. -rm -f *.lo
  73436. clean-libtool:
  73437. -rm -rf .libs _libs
  73438. -
  73439. -distclean-libtool:
  73440. - -rm -f libtool
  73441. -uninstall-info-am:
  73442. tags: TAGS
  73443. TAGS:
  73444. @@ -228,29 +227,32 @@
  73445. distdir: $(DISTFILES)
  73446. - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  73447. - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  73448. - list='$(DISTFILES)'; for file in $$list; do \
  73449. - case $$file in \
  73450. - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  73451. - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  73452. - esac; \
  73453. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73454. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  73455. + list='$(DISTFILES)'; \
  73456. + dist_files=`for file in $$list; do echo $$file; done | \
  73457. + sed -e "s|^$$srcdirstrip/||;t" \
  73458. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  73459. + case $$dist_files in \
  73460. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  73461. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  73462. + sort -u` ;; \
  73463. + esac; \
  73464. + for file in $$dist_files; do \
  73465. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  73466. - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  73467. - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  73468. - dir="/$$dir"; \
  73469. - $(mkdir_p) "$(distdir)$$dir"; \
  73470. - else \
  73471. - dir=''; \
  73472. - fi; \
  73473. if test -d $$d/$$file; then \
  73474. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  73475. + if test -d "$(distdir)/$$file"; then \
  73476. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  73477. + fi; \
  73478. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  73479. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  73480. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  73481. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  73482. fi; \
  73483. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  73484. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  73485. else \
  73486. - test -f $(distdir)/$$file \
  73487. - || cp -p $$d/$$file $(distdir)/$$file \
  73488. + test -f "$(distdir)/$$file" \
  73489. + || cp -p $$d/$$file "$(distdir)/$$file" \
  73490. || exit 1; \
  73491. fi; \
  73492. done
  73493. @@ -277,7 +279,8 @@
  73494. clean-generic:
  73495. distclean-generic:
  73496. - -rm -f $(CONFIG_CLEAN_FILES)
  73497. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  73498. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  73499. maintainer-clean-generic:
  73500. @echo "This command is intended for maintainers to use"
  73501. @@ -288,7 +291,7 @@
  73502. distclean: distclean-am
  73503. -rm -f Makefile
  73504. -distclean-am: clean-am distclean-generic distclean-libtool
  73505. +distclean-am: clean-am distclean-generic
  73506. dvi: dvi-am
  73507. @@ -296,18 +299,38 @@
  73508. html: html-am
  73509. +html-am:
  73510. +
  73511. info: info-am
  73512. info-am:
  73513. install-data-am:
  73514. +install-dvi: install-dvi-am
  73515. +
  73516. +install-dvi-am:
  73517. +
  73518. install-exec-am:
  73519. +install-html: install-html-am
  73520. +
  73521. +install-html-am:
  73522. +
  73523. install-info: install-info-am
  73524. +install-info-am:
  73525. +
  73526. install-man:
  73527. +install-pdf: install-pdf-am
  73528. +
  73529. +install-pdf-am:
  73530. +
  73531. +install-ps: install-ps-am
  73532. +
  73533. +install-ps-am:
  73534. +
  73535. installcheck-am:
  73536. maintainer-clean: maintainer-clean-am
  73537. @@ -326,17 +349,21 @@
  73538. ps-am:
  73539. -uninstall-am: uninstall-info-am
  73540. +uninstall-am:
  73541. +
  73542. +.MAKE: install-am install-strip
  73543. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  73544. distclean distclean-generic distclean-libtool distdir dvi \
  73545. dvi-am html html-am info info-am install install-am \
  73546. - install-data install-data-am install-exec install-exec-am \
  73547. - install-info install-info-am install-man install-strip \
  73548. + install-data install-data-am install-dvi install-dvi-am \
  73549. + install-exec install-exec-am install-html install-html-am \
  73550. + install-info install-info-am install-man install-pdf \
  73551. + install-pdf-am install-ps install-ps-am install-strip \
  73552. installcheck installcheck-am installdirs maintainer-clean \
  73553. maintainer-clean-generic mostlyclean mostlyclean-generic \
  73554. - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
  73555. - uninstall-info-am
  73556. + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  73557. +
  73558. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  73559. # Otherwise a system limit (for SysV at least) may be exceeded.